/* FiveM Projects Page Styles */

.fivem-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px 60px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e1e2f 0%, #2a2a47 50%, #1e1e2f 100%);
}

.fivem-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(97, 218, 251, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(0, 123, 255, 0.1) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.hero-content-fivem {
  text-align: center;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #61dafb;
  text-decoration: none;
  font-size: 16px;
  margin-bottom: 30px;
  transition: all 0.3s ease;
  font-family: 'Orbitron', sans-serif;
}

.back-link:hover {
  color: #00e0ff;
  transform: translateX(-5px);
}

.hero-content-fivem h1 {
  font-size: 56px;
  color: #61dafb;
  margin-bottom: 20px;
  font-family: 'Press Start 2P', cursive;
  line-height: 1.3;
  text-shadow: 0 0 30px rgba(97, 218, 251, 0.5);
}

.hero-subtitle {
  font-size: 22px;
  color: #dcdde1;
  margin-bottom: 50px;
  font-family: 'Orbitron', sans-serif;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  max-width: 700px;
  margin: 0 auto;
}

.stat-box {
  background: rgba(30, 30, 47, 0.8);
  border: 2px solid rgba(97, 218, 251, 0.3);
  border-radius: 16px;
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  transition: all 0.4s ease;
  backdrop-filter: blur(10px);
}

.stat-box:hover {
  border-color: #61dafb;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(97, 218, 251, 0.3);
}

.stat-box i {
  font-size: 36px;
  color: #61dafb;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: #61dafb;
  font-family: 'Press Start 2P', cursive;
}

.stat-label {
  font-size: 14px;
  color: #a0a0bb;
  font-family: 'Orbitron', sans-serif;
}

/* Filter Section */
.filter-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}

.filter-section h2 {
  font-size: 36px;
  color: #61dafb;
  margin-bottom: 30px;
  font-family: 'Press Start 2P', cursive;
  letter-spacing: 2px;
}

.filter-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(30, 30, 47, 0.8);
  border: 2px solid rgba(97, 218, 251, 0.3);
  color: #dcdde1;
  padding: 12px 28px;
  border-radius: 25px;
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.filter-btn:hover {
  background: rgba(97, 218, 251, 0.1);
  border-color: #61dafb;
  color: #61dafb;
  transform: translateY(-2px);
}

.filter-btn.active {
  background: linear-gradient(45deg, #007bff, #00e0ff);
  border-color: transparent;
  color: white;
  box-shadow: 0 5px 20px rgba(97, 218, 251, 0.4);
}

/* Scripts Section */
.scripts-section {
  max-width: 1200px;
  margin: 60px auto;
  padding: 0 20px;
}

.scripts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.script-card {
  background: linear-gradient(145deg, #1e1e2f, #252540);
  border: 2px solid rgba(97, 218, 251, 0.2);
  border-radius: 20px;
  padding: 30px;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
}

.script-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(97, 218, 251, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.script-card:hover::before {
  opacity: 1;
}

.script-card:hover {
  border-color: #61dafb;
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(97, 218, 251, 0.3);
}

.script-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.script-icon-wrapper {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #007bff, #00e0ff);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px rgba(97, 218, 251, 0.4);
  transition: transform 0.3s ease;
}

.script-card:hover .script-icon-wrapper {
  transform: rotate(5deg) scale(1.1);
}

.script-icon-wrapper i {
  font-size: 28px;
  color: white;
}

.script-badge {
  background: rgba(97, 218, 251, 0.2);
  color: #61dafb;
  padding: 6px 14px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid rgba(97, 218, 251, 0.4);
  font-family: 'Orbitron', sans-serif;
}

.script-card h3 {
  font-size: 22px;
  color: #61dafb;
  margin-bottom: 15px;
  font-family: 'Press Start 2P', cursive;
  line-height: 1.4;
}

.script-card > p {
  font-size: 15px;
  line-height: 1.7;
  color: #dcdde1;
  margin-bottom: 20px;
  font-family: 'Orbitron', sans-serif;
}

.script-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 25px;
}

.script-features span {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #a0a0bb;
  font-family: 'Orbitron', sans-serif;
}

.script-features i {
  color: #61dafb;
  font-size: 12px;
}

.script-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(97, 218, 251, 0.2);
  flex-wrap: wrap;
  gap: 15px;
}

.script-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #61dafb;
  font-weight: 600;
  font-family: 'Orbitron', sans-serif;
}

.script-status i {
  font-size: 10px;
  color: #4ade80;
  animation: blink 2s ease-in-out infinite;
}

.script-status.in-progress i {
  color: #fbbf24;
}

@keyframes blink {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.script-links {
  display: flex;
  gap: 10px;
}

.script-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-family: 'Orbitron', sans-serif;
}

.script-btn.primary {
  background: linear-gradient(45deg, #007bff, #00e0ff);
  color: white;
  box-shadow: 0 3px 10px rgba(97, 218, 251, 0.3);
}

.script-btn.primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(97, 218, 251, 0.5);
}

.script-btn.secondary {
  background: rgba(97, 218, 251, 0.1);
  color: #61dafb;
  border: 1px solid rgba(97, 218, 251, 0.3);
}

.script-btn.secondary:hover {
  background: rgba(97, 218, 251, 0.2);
  border-color: #61dafb;
}

/* Tech Stack Section */
.tech-stack-section {
  max-width: 1200px;
  margin: 100px auto;
  padding: 60px 20px;
  text-align: center;
  background: linear-gradient(145deg, rgba(30, 30, 47, 0.5), rgba(37, 37, 64, 0.5));
  border-radius: 20px;
  border: 2px solid rgba(97, 218, 251, 0.2);
}

.tech-stack-section h2 {
  font-size: 36px;
  color: #61dafb;
  margin-bottom: 50px;
  font-family: 'Press Start 2P', cursive;
  letter-spacing: 2px;
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.tech-item {
  background: rgba(30, 30, 47, 0.6);
  border: 2px solid rgba(97, 218, 251, 0.2);
  border-radius: 16px;
  padding: 30px 20px;
  transition: all 0.4s ease;
}

.tech-item:hover {
  border-color: #61dafb;
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(97, 218, 251, 0.3);
}

.tech-item i {
  font-size: 48px;
  color: #61dafb;
  margin-bottom: 15px;
}

.tech-item h3 {
  font-size: 20px;
  color: #61dafb;
  margin-bottom: 10px;
  font-family: 'Press Start 2P', cursive;
}

.tech-item p {
  font-size: 14px;
  color: #a0a0bb;
  line-height: 1.6;
  font-family: 'Orbitron', sans-serif;
}

/* CTA Section */
.cta-section {
  max-width: 900px;
  margin: 100px auto;
  padding: 60px 40px;
  text-align: center;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 123, 255, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 36px;
  color: white;
  margin-bottom: 20px;
  font-family: 'Press Start 2P', cursive;
  line-height: 1.4;
}

.cta-content p {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
  font-family: 'Orbitron', sans-serif;
  line-height: 1.6;
}

.cta-btn-large {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: #007bff;
  padding: 16px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.cta-btn-large:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  color: #0056b3;
}

.cta-btn-large i {
  transition: transform 0.3s ease;
}

.cta-btn-large:hover i {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content-fivem h1 {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .filter-section h2,
  .tech-stack-section h2,
  .cta-content h2 {
    font-size: 24px;
  }

  .scripts-grid {
    grid-template-columns: 1fr;
  }

  .script-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .tech-grid {
    grid-template-columns: 1fr;
  }

  .cta-section {
    padding: 40px 20px;
    margin: 60px 20px;
  }

  .filter-buttons {
    gap: 10px;
  }

  .filter-btn {
    padding: 10px 20px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .hero-content-fivem h1 {
    font-size: 28px;
  }

  .script-card h3 {
    font-size: 18px;
  }

  .script-links {
    width: 100%;
    flex-direction: column;
  }

  .script-btn {
    width: 100%;
    justify-content: center;
  }
}
