:root {
  --bg: #0D0221;
  --card-bg: #1A0B36;
  --primary: #39FF14;
  --secondary: #9D00FF;
  --accent: #00F0FF;
  --warning: #FFF000;
  --text: #FFFFFF;
  --text-muted: #A99DC1;
  --border: rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Glow Elements */
.glow-bg {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(140px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.25;
}

.glow-green {
  top: -100px;
  right: -100px;
  background: var(--primary);
}

.glow-purple {
  top: 300px;
  left: -150px;
  background: var(--secondary);
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(13, 2, 33, 0.75);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #FFF;
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 1px;
}

.brand-text .highlight {
  color: var(--primary);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.btn-nav {
  background: var(--primary);
  color: #000 !important;
  padding: 10px 22px;
  border-radius: 24px;
  font-weight: 700 !important;
  box-shadow: 0 0 20px rgba(57, 255, 20, 0.3);
  transition: transform 0.2s, box-shadow 0.2s !important;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(57, 255, 20, 0.5);
}

/* Hero Section */
.hero {
  padding: 160px 0 100px;
  position: relative;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(57, 255, 20, 0.08);
  border: 1px solid rgba(57, 255, 20, 0.2);
  color: var(--primary);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--primary);
  box-shadow: 0 0 10px var(--primary);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.5; }
  100% { transform: scale(0.95); opacity: 1; }
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 36px;
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  padding: 14px 28px;
  border-radius: 16px;
  color: #FFF;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.store-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.store-btn-text .sub {
  display: block;
  font-size: 10px;
  text-transform: uppercase;
  opacity: 0.7;
  letter-spacing: 0.5px;
}

.store-btn-text .main {
  font-size: 18px;
  font-weight: 700;
  font-family: 'Orbitron', sans-serif;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 20px 28px;
  border-radius: 20px;
  width: fit-content;
}

.stat-num {
  display: block;
  font-family: 'Orbitron', sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: var(--primary);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
}

/* Phone Mockup */
.hero-mockup {
  display: flex;
  justify-content: center;
}

.phone-frame {
  width: 300px;
  height: 600px;
  background: #15092B;
  border-radius: 44px;
  border: 4px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 80px rgba(157, 0, 255, 0.3), 0 0 40px rgba(57, 255, 20, 0.15);
  padding: 12px;
  position: relative;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--bg);
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  position: relative;
}

.game-hud {
  display: flex;
  justify-content: space-between;
}

.hud-box {
  background: rgba(255, 255, 255, 0.05);
  padding: 8px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
}

.hud-title {
  display: block;
  font-size: 9px;
  color: var(--text-muted);
  font-weight: 700;
}

.hud-val {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--primary);
}

.game-grid-preview {
  flex: 1;
  margin: 16px 0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  position: relative;
}

.snake-node {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 10px var(--primary);
}

.snake-node.head {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 4px;
  z-index: 10;
}

.eye {
  width: 4px;
  height: 4px;
  background: #000;
  border-radius: 50%;
}

.neon-food {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--warning);
  box-shadow: 0 0 15px var(--warning);
}

.obstacle-node {
  position: absolute;
  font-size: 12px;
  color: var(--secondary);
}

.game-bottom-bar {
  display: flex;
  justify-content: space-around;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
  border-radius: 16px;
  font-size: 11px;
}

.nav-pill.active {
  color: var(--primary);
  font-weight: 700;
}

/* Features */
.features {
  padding: 100px 0;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  color: var(--primary);
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 36px;
  font-weight: 900;
  margin-top: 8px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 32px;
  border-radius: 24px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(57, 255, 20, 0.3);
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 32px;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 15px;
}

/* Skins Section */
.skins-section {
  padding: 100px 0;
}

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

.skin-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 24px;
  border-radius: 20px;
  text-align: center;
  transition: transform 0.3s;
}

.skin-card:hover {
  transform: translateY(-5px);
}

.skin-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 16px;
  border: 2px solid;
}

.skin-emoji {
  font-size: 32px;
}

.skin-card h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.rarity {
  font-size: 10px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 1px;
}

.rarity.common { background: rgba(57, 255, 20, 0.2); color: #39FF14; }
.rarity.rare { background: rgba(255, 69, 58, 0.2); color: #FF453A; }
.rarity.epic { background: rgba(0, 240, 255, 0.2); color: #00F0FF; }
.rarity.legendary { background: rgba(191, 90, 242, 0.2); color: #BF5AF2; }
.rarity.mythic { background: rgba(255, 0, 255, 0.2); color: #FF00FF; }

/* Footer */
.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.copyright {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions, .hero-stats {
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-title {
    font-size: 38px;
  }
}
