/* === CSS Reset & Base === */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-deep: #020a05;
  --surface-dark: rgba(5, 20, 10, 0.7);
  --surface-glass: rgba(255, 255, 255, 0.03);
  --border-glass: rgba(255, 255, 255, 0.08);
  --text-primary: #e6ffe6;
  --text-secondary: #b0d5b0;
  --accent-green: #22c55e;
  --accent-emerald: #10b981;
  --accent-lime: #84cc16;
  --accent-teal: #14b8a6;
  --accent-glow: rgba(34, 197, 94, 0.4);
  --accent-glow-strong: rgba(34, 197, 94, 0.6);
  --gradient-hero: linear-gradient(135deg, #22c55e 0%, #10b981 50%, #14b8a6 100%);
  --gradient-green: linear-gradient(135deg, #22c55e 0%, #84cc16 100%);
  --gradient-dark: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.3);
  --shadow-glow-strong: 0 0 60px rgba(34, 197, 94, 0.5);
  --radius-xl: 24px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1.2);
  --transition-bounce: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --font-display: 'Orbitron', sans-serif;
  --font-heading: 'Rajdhani', sans-serif;
  --font-body: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

img {
  max-width: 100%;
  display: block;
}

/* === Canvas Background === */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* === Fluid Gradient Orbs === */
.fluid-orbs {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: orbFloat 20s infinite alternate ease-in-out;
}

.orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.6), transparent);
  top: -200px;
  left: -150px;
  animation-duration: 23s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.5), transparent);
  bottom: -200px;
  right: -100px;
  animation-duration: 18s;
  animation-delay: -5s;
}

.orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(132, 204, 22, 0.4), transparent);
  top: 60%;
  left: 30%;
  animation-duration: 25s;
  animation-delay: -10s;
}

.orb-4 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(20, 184, 166, 0.45), transparent);
  bottom: 20%;
  left: 10%;
  animation-duration: 21s;
  animation-delay: -7s;
}

@keyframes orbFloat {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  33% {
    transform: translate(30px, -30px) scale(1.05) rotate(5deg);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.95) rotate(-3deg);
  }
  100% {
    transform: translate(40px, -30px) scale(1.05) rotate(0deg);
  }
}

/* === Navigation === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 2rem;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  background: rgba(2, 10, 5, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(34, 197, 94, 0.1);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  position: relative;
}

.nav-logo::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-hero);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.nav-logo:hover::after {
  transform: scaleX(1);
}

.logo-image {
  max-height: 42px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.5));
  transition: filter 0.3s ease;
}

.nav-logo:hover .logo-image {
  filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.8));
}

.logo-icon-fallback {
  font-size: 1.5rem;
  color: var(--accent-green);
  filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.5));
  animation: pulse 2s infinite;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--text-secondary);
  position: relative;
  padding: 0.5rem 0.2rem;
  transition: color 0.3s ease;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-hero);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--accent-glow);
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  text-shadow: 0 0 20px var(--accent-glow);
}

.nav-link.active::after,
.nav-link:hover::after {
  width: 100%;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  border-radius: 8px;
  transition: background 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(34, 197, 94, 0.1);
}

.mobile-menu-btn span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--accent-green);
  border-radius: 3px;
  transition: var(--transition-smooth);
  box-shadow: 0 0 5px var(--accent-glow);
}

.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* === Main Content === */
.main-content {
  position: relative;
  z-index: 1;
}

.section {
  padding: 6rem 2rem;
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

/* === Section Headers === */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
  position: relative;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent-green);
  margin-bottom: 1rem;
  background: rgba(34, 197, 94, 0.1);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.1);
  animation: glowPulse 3s infinite;
}

@keyframes glowPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.1); }
  50% { box-shadow: 0 0 30px rgba(34, 197, 94, 0.3); }
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: 2px;
}

.section-title .accent {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  display: inline-block;
  animation: shimmer 3s infinite;
}

@keyframes shimmer {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.3); }
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* === Hero Section === */
.home-section {
  min-height: 100vh;
  padding-top: 8rem;
  align-items: center;
}

.home-section .section-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 500px;
  animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  color: var(--accent-lime);
  margin-bottom: 2rem;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.pulse-dot {
  width: 10px;
  height: 10px;
  background: var(--accent-lime);
  border-radius: 50%;
  display: inline-block;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(132, 204, 22, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(132, 204, 22, 0); }
  100% { box-shadow: 0 0 0 0 rgba(132, 204, 22, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
  font-weight: 900;
}

.title-line {
  display: block;
}

.title-line.accent {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  text-shadow: 0 0 40px rgba(34, 197, 94, 0.5);
  animation: titleGlow 3s infinite alternate;
}

@keyframes titleGlow {
  from { filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.5)); }
  to { filter: drop-shadow(0 0 40px rgba(34, 197, 94, 0.8)); }
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition-bounce);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary {
  background: var(--gradient-hero);
  color: #fff;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.5), 0 0 40px rgba(34, 197, 94, 0.2);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(34, 197, 94, 0.7), 0 0 60px rgba(34, 197, 94, 0.4);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(34, 197, 94, 0.4);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: var(--accent-green);
  background: rgba(34, 197, 94, 0.1);
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.stat-item {
  display: flex;
  flex-direction: column;
  position: relative;
  padding-left: 1rem;
  border-left: 2px solid rgba(34, 197, 94, 0.3);
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Hero Visual */
.hero-visual {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  animation: fadeInUp 1s ease 0.3s backwards;
}

.game-card-glass {
  background: rgba(34, 197, 94, 0.05);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-xl);
  padding: 2px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(34, 197, 94, 0.2);
  width: 100%;
  max-width: 450px;
  transition: var(--transition-smooth);
  position: relative;
}

.game-card-glass::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  background: var(--gradient-hero);
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.game-card-glass:hover::before {
  opacity: 1;
}

.game-card-glass:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(34, 197, 94, 0.4);
}

.game-card-inner {
  background: rgba(5, 20, 10, 0.8);
  border-radius: calc(var(--radius-xl) - 2px);
  overflow: hidden;
}

.game-card-image {
  aspect-ratio: 16 / 12;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #064e3b, #022c22);
  overflow: hidden;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  color: #fff;
  font-family: var(--font-display);
  background-size: cover;
  background-position: center;
}

.ghost-icon {
  font-size: 6rem;
  color: rgba(34, 197, 94, 0.3);
  margin-bottom: 0.5rem;
  filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.5));
  animation: ghostFloat 3s ease-in-out infinite;
}

@keyframes ghostFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.image-overlay-text {
  font-weight: 900;
  font-size: 2rem;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.8);
  text-shadow: 0 0 20px rgba(34, 197, 94, 0.5);
}

.image-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gradient-hero);
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.3), transparent 70%);
  pointer-events: none;
}

/* Floating Elements */
.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
}

.float-element {
  position: absolute;
  font-size: 2rem;
  color: rgba(34, 197, 94, 0.2);
  animation: floatAround 8s infinite ease-in-out;
  filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.3));
}

.el-1 { top: 10%; left: -5%; animation-delay: 0s; }
.el-2 { top: 70%; right: -10%; animation-delay: -2s; font-size: 1.8rem; }
.el-3 { bottom: 20%; left: 15%; animation-delay: -4s; font-size: 1.5rem; }
.el-4 { top: 30%; right: 0%; animation-delay: -6s; font-size: 2.5rem; }

@keyframes floatAround {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(15px, -15px) rotate(5deg); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* === Projects Section === */
.projects-single-feature {
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.feature-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.feature-visual {
  position: relative;
}

.feature-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(34, 197, 94, 0.2);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(34, 197, 94, 0.2);
  transition: var(--transition-smooth);
}

.feature-image-wrapper:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 50px rgba(34, 197, 94, 0.4);
}

.feature-main-img {
  background: linear-gradient(135deg, #064e3b, #022c22);
  aspect-ratio: 16/12;
  position: relative;
}

.feature-ghost {
  font-size: 5rem;
  color: rgba(34, 197, 94, 0.3);
  filter: drop-shadow(0 0 20px rgba(34, 197, 94, 0.5));
  animation: ghostFloat 3s ease-in-out infinite;
}

.feature-img-tag {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--gradient-hero);
  padding: 0.3rem 1rem;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(34, 197, 94, 0.4);
}

.feature-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 30%, rgba(34, 197, 94, 0.2), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.feature-image-wrapper:hover .feature-card-glow {
  opacity: 1;
}

.feature-details {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.feature-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--accent-lime);
  background: rgba(34, 197, 94, 0.1);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  border: 1px solid rgba(34, 197, 94, 0.3);
  width: fit-content;
}

.feature-details h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.7;
  font-size: 1.05rem;
}

.feature-description strong {
  color: var(--accent-green);
}

.feature-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 0.5rem;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 1rem;
  background: rgba(34, 197, 94, 0.05);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
}

.highlight-item:hover {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.highlight-item i {
  color: var(--accent-green);
  font-size: 1.2rem;
}

.highlight-item strong {
  font-size: 0.95rem;
  color: #fff;
}

.highlight-item span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.feature-platforms {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.feature-platforms span {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
  padding: 0.4rem 1rem;
  background: rgba(34, 197, 94, 0.05);
  border-radius: 50px;
  border: 1px solid rgba(34, 197, 94, 0.2);
  transition: var(--transition-smooth);
}

.feature-platforms span:hover {
  background: rgba(34, 197, 94, 0.15);
  color: #fff;
  border-color: var(--accent-green);
}

.feature-platforms i {
  color: var(--accent-green);
}

/* DLC Gallery */
.dlc-gallery {
  margin-top: 2rem;
}

.gallery-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

.gallery-title .accent {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(34, 197, 94, 0.2);
  transition: var(--transition-smooth);
  cursor: pointer;
}

.gallery-item:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(34, 197, 94, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(34, 197, 94, 0.3);
}

.gallery-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #064e3b, #022c22);
  font-size: 2.5rem;
  color: rgba(34, 197, 94, 0.3);
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-img {
  color: rgba(34, 197, 94, 0.6);
  transform: scale(1.05);
}

.gallery-img span {
  font-family: var(--font-display);
  font-size: 0.9rem;
  margin-top: 0.5rem;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
}

/* === Team Section === */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.team-card {
  background: rgba(34, 197, 94, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.team-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-hero);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.team-card:hover::before {
  transform: scaleX(1);
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(34, 197, 94, 0.2);
  border-color: rgba(34, 197, 94, 0.4);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto 1.5rem;
  position: relative;
}

.avatar-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: #fff;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.4);
}

.avatar-placeholder.alt-1 { 
  background: linear-gradient(135deg, #14b8a6, #10b981); 
}

.team-avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--gradient-hero);
  z-index: 0;
  filter: blur(15px);
  opacity: 0;
  transition: opacity 0.3s ease;
  animation: rotateGlow 4s linear infinite;
}

@keyframes rotateGlow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.team-card:hover .team-avatar-glow {
  opacity: 0.8;
}

.team-info h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.team-role {
  display: block;
  color: var(--accent-green);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.8rem;
}

.team-info p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

.team-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-socials a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  font-size: 0.9rem;
  border: 1px solid transparent;
}

.team-socials a:hover {
  background: var(--accent-green);
  color: #fff;
  transform: translateY(-3px);
  border-color: var(--accent-green);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

/* === Contact Section === */
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-card {
  background: rgba(34, 197, 94, 0.03);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.contact-info-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-hero);
  transform: scaleY(0);
  transition: transform 0.4s ease;
}

.contact-info-card:hover::before {
  transform: scaleY(1);
}

.contact-info-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
}

.contact-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent-green);
  margin-bottom: 1rem;
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.contact-info-card h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  margin-bottom: 0.3rem;
}

.contact-info-card p {
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.contact-info-card span {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.contact-form {
  background: rgba(34, 197, 94, 0.03);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: rgba(34, 197, 94, 0.03);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #fff;
  outline: none;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-green);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.2);
}

.form-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-hero);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--accent-glow);
}

.form-group input:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
  width: 100%;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  margin-top: 0.5rem;
}

.form-success {
  display: none;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.8rem;
  border-radius: var(--radius-md);
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--accent-green);
  font-weight: 500;
}

.form-success.show {
  display: flex;
  animation: fadeInUp 0.4s ease;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-8px); }
  40% { transform: translateX(8px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
}

/* === Footer === */
.footer {
  background: rgba(2, 10, 5, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(34, 197, 94, 0.2);
  padding: 4rem 2rem 1.5rem;
  position: relative;
  z-index: 1;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  margin-bottom: 1rem;
  text-decoration: none;
}

.footer-logo-image {
  max-height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(34, 197, 94, 0.4));
}

.footer-logo-fallback {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
}

.footer-logo-fallback .logo-x {
  color: var(--accent-green);
}

.footer-brand p {
  color: var(--text-secondary);
  max-width: 350px;
  line-height: 1.7;
}

.footer-links h4,
.footer-social h4 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  color: #fff;
}

.footer-links a {
  display: block;
  color: var(--text-secondary);
  margin-bottom: 0.7rem;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-links a:hover {
  color: var(--accent-green);
  transform: translateX(5px);
}

.social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-icons a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}

.social-icons a:hover {
  background: var(--accent-green);
  color: #fff;
  transform: translateY(-3px);
  border-color: var(--accent-green);
  box-shadow: 0 0 20px rgba(34, 197, 94, 0.4);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(34, 197, 94, 0.1);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* === Scroll Reveal (Initial State) === */
.reveal-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-element.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* === Responsive Design === */
@media (max-width: 1024px) {
  .home-section .section-container {
    flex-direction: column;
    text-align: center;
  }
  .hero-content {
    align-items: center;
    display: flex;
    flex-direction: column;
  }
  .hero-stats {
    justify-content: center;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .feature-showcase {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 70%;
    max-width: 320px;
    height: 100vh;
    background: rgba(2, 10, 5, 0.98);
    backdrop-filter: blur(30px);
    flex-direction: column;
    padding: 6rem 2rem 2rem;
    transition: right 0.4s ease;
    box-shadow: -10px 0 40px rgba(0, 0, 0, 0.8), -2px 0 20px rgba(34, 197, 94, 0.1);
    gap: 2.5rem;
  }
  .nav-links.active {
    right: 0;
  }
  .mobile-menu-btn {
    display: flex;
  }
  .section {
    padding: 4rem 1.5rem;
  }
  .hero-stats {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
  }
  .contact-wrapper {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand p {
    margin: 0 auto;
  }
  .social-icons {
    justify-content: center;
  }
  .feature-highlights {
    grid-template-columns: 1fr;
  }
  .feature-platforms {
    justify-content: center;
  }
  .team-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .hero-stats {
    gap: 1rem;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .btn {
    padding: 0.7rem 1.5rem;
    font-size: 0.9rem;
    width: 100%;
    justify-content: center;
  }
  .hero-subtitle {
    font-size: 1rem;
  }
  .section-title {
    font-size: 2rem;
  }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* === Accessibility & Selection === */
::selection {
  background: rgba(34, 197, 94, 0.6);
  color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-deep);
}
::-webkit-scrollbar-thumb {
  background: var(--accent-green);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-emerald);
}