/* ========================================
   CELOFUNTERRITRY — GLOSSY MINERAL CORE
   Design System & Full Stylesheet
   ======================================== */

/* --- CSS VARIABLES --- */
:root {
  /* Base */
  --bg-primary: #0a0a0a;
  --bg-secondary: #141414;
  --bg-tertiary: #1a1a1a;
  --bg-card: rgba(255,255,255,0.06);
  --bg-card-hover: rgba(255,255,255,0.1);

  /* Accents */
  --crystal-violet: #a855f7;
  --molten-orange: #f97316;
  --ruby-red: #dc2626;
  --mineral-gold: #facc15;

  /* Gradients */
  --gradient-crystal: linear-gradient(135deg, #a855f7, #f97316);
  --gradient-molten: linear-gradient(135deg, #dc2626, #f97316);
  --gradient-premium: linear-gradient(135deg, #a855f7, #facc15);

  /* Glows */
  --glow-violet: rgba(168,85,247,0.45);
  --glow-orange: rgba(249,115,22,0.45);
  --glow-gold: rgba(250,204,21,0.35);

  /* Typography */
  --text-primary: #f8fafc;
  --text-secondary: #d4d4d8;
  --text-muted: #71717a;

  /* Glass */
  --glass-bg: rgba(255,255,255,0.06);
  --glass-border: rgba(255,255,255,0.1);
  --glass-highlight: rgba(255,255,255,0.12);
  --glass-blur: 20px;

  /* Spacing */
  --container-max: 1280px;
  --container-narrow: 860px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  /* Font */
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Orbitron', monospace;
}

/* --- RESET --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* --- UTILITIES --- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.gradient-text {
  background: var(--gradient-crystal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(var(--glass-blur));
  -webkit-backdrop-filter: blur(var(--glass-blur));
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
}

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  position: relative;
  overflow: hidden;
  transition: all 0.35s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-crystal);
  color: #fff;
  box-shadow: 0 4px 20px rgba(168,85,247,0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(168,85,247,0.5);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(168,85,247,0.3);
}

.btn-glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  backdrop-filter: blur(10px);
}

.btn-glass:hover {
  background: var(--bg-card-hover);
  border-color: var(--crystal-violet);
  transform: translateY(-2px);
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.btn-full {
  width: 100%;
}

.btn-glow::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}

.btn-glow:hover::after {
  left: 125%;
}

.btn-icon {
  font-size: 1.1em;
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  width: calc(100% - 32px);
  max-width: var(--container-max);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  background: rgba(10,10,10,0.8);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}

.header-inner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow-violet), var(--glow-orange), transparent);
}

.header-inner::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: skewX(-20deg);
  animation: headerShine 6s ease-in-out infinite;
}

@keyframes headerShine {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2;
}

.logo-icon {
  font-size: 1.6rem;
  filter: drop-shadow(0 0 8px var(--glow-violet));
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  background: var(--gradient-crystal);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.5px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 2;
}

.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-crystal);
  border-radius: 2px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgba(10,10,10,0.95);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
}

.mobile-menu.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  gap: 20px;
  padding: 24px;
}

.mobile-link {
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.mobile-link:hover,
.mobile-link.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.mobile-cta {
  margin-top: 20px;
}

/* --- HERO --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(168,85,247,0.12) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(249,115,22,0.08) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 80%, rgba(250,204,21,0.06) 0%, transparent 50%);
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: glowPulse 4s ease-in-out infinite alternate;
}

.hero-glow-1 {
  width: 500px;
  height: 500px;
  background: rgba(168,85,247,0.15);
  top: 10%;
  left: 5%;
}

.hero-glow-2 {
  width: 400px;
  height: 400px;
  background: rgba(249,115,22,0.12);
  bottom: 10%;
  right: 10%;
  animation-delay: 1.5s;
}

.hero-glow-3 {
  width: 300px;
  height: 300px;
  background: rgba(250,204,21,0.1);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: 3s;
}

@keyframes glowPulse {
  0% { opacity: 0.4; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.15); }
}

.hero-fog {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 300px;
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 100%);
  z-index: 1;
}

.hero-reflection {
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,0.02) 45%, rgba(255,255,255,0.04) 50%, rgba(255,255,255,0.02) 55%, transparent 70%);
  animation: heroReflection 8s ease-in-out infinite;
}

@keyframes heroReflection {
  0%, 100% { transform: translateX(-20%); }
  50% { transform: translateX(20%); }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: particleFloat linear infinite;
}

@keyframes particleFloat {
  0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  flex-shrink: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--crystal-violet);
  box-shadow: 0 0 8px var(--glow-violet);
  animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 8px var(--glow-violet); }
  50% { box-shadow: 0 0 20px var(--glow-violet), 0 0 40px rgba(168,85,247,0.2); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 540px;
}

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

.hero-legal {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 12px 16px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--molten-orange);
}

.hero-visual {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 60px;
}

.hero-crystal-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(168,85,247,0.15);
  border: 1px solid var(--glass-border);
  max-width: 480px;
  width: 100%;
}

.hero-crystal-image {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.crystal-card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
  transform: skewX(-20deg);
  animation: crystalShine 5s ease-in-out infinite;
}

@keyframes crystalShine {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  font-size: 0.75rem;
}

.scroll-mouse {
  width: 24px;
  height: 38px;
  border: 2px solid var(--text-muted);
  border-radius: 14px;
  position: relative;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: var(--crystal-violet);
  border-radius: 4px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scrollDot 2s ease-in-out infinite;
}

@keyframes scrollDot {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 20px; opacity: 0.3; }
}

/* Hero responsive layout */
@media (min-width: 900px) {
  .hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
  }
  .hero-content {
    flex: 0 0 auto;
  }
}

@media (max-width: 899px) {
  .hero {
    flex-direction: column;
    justify-content: center;
    text-align: center;
    padding-top: 140px;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-subtitle {
    max-width: 100%;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    margin-left: 0;
    margin-top: 40px;
  }
  .hero-legal {
    border-left: none;
    border-top: 3px solid var(--molten-orange);
  }
}

/* --- SECTIONS COMMON --- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-block;
  padding: 6px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.3px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* --- GAME SECTION --- */
.game-section {
  padding: 100px 0 80px;
  position: relative;
}

.game-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.game-wrapper {
  max-width: 1100px;
  margin: 0 auto;
}

.game-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  box-shadow: 0 20px 80px rgba(0,0,0,0.4), 0 0 60px rgba(168,85,247,0.08);
}

.game-card-glow {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius-xl);
  background: var(--gradient-crystal);
  opacity: 0.15;
  filter: blur(20px);
  z-index: 0;
}

.game-card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transform: skewX(-20deg);
  z-index: 3;
  animation: gameShine 7s ease-in-out infinite;
  pointer-events: none;
}

@keyframes gameShine {
  0%, 100% { left: -100%; }
  50% { left: 150%; }
}

.game-iframe-container {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
}

.game-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.game-info-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
}

.info-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.info-chip:hover {
  border-color: var(--crystal-violet);
  background: rgba(168,85,247,0.08);
  color: var(--text-primary);
}

.chip-icon {
  font-size: 1.1em;
}

/* --- FEATURES --- */
.features {
  padding: 100px 0;
  background: var(--bg-secondary);
  position: relative;
}

.features::before,
.features::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
}

.features::before { top: 0; }
.features::after { bottom: 0; }

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

.feature-card {
  position: relative;
}

.feature-card-inner {
  position: relative;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.4s ease;
  height: 100%;
}

.feature-card-inner:hover {
  border-color: rgba(168,85,247,0.3);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.3), 0 0 30px rgba(168,85,247,0.08);
}

.feature-image-wrap {
  position: relative;
  overflow: hidden;
  height: 200px;
}

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.feature-card-inner:hover .feature-image {
  transform: scale(1.08);
}

.feature-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-primary) 0%, transparent 60%);
}

.feature-content {
  padding: 24px;
  position: relative;
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 12px;
  filter: drop-shadow(0 0 8px var(--glow-violet));
}

.feature-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.feature-card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.06), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}

.feature-card-inner:hover .feature-card-shine {
  left: 150%;
}

/* --- STATS --- */
.stats-section {
  padding: 80px 0;
  position: relative;
}

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

.stat-card {
  text-align: center;
  padding: 32px 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(168,85,247,0.3);
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* --- CTA --- */
.cta-section {
  padding: 80px 0;
}

.cta-card {
  position: relative;
  text-align: center;
  padding: 80px 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--glow-violet), var(--glow-orange), transparent);
}

.cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(168,85,247,0.12) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(60px);
  animation: glowPulse 4s ease-in-out infinite alternate;
}

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

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-card-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.04), transparent);
  transform: skewX(-20deg);
  animation: crystalShine 8s ease-in-out infinite;
  pointer-events: none;
}

/* --- FOOTER --- */
.footer {
  padding: 80px 0 30px;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-brand-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: all 0.3s ease;
}

.footer-link:hover {
  color: var(--text-primary);
  padding-left: 4px;
}

.footer-legal-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 30px;
  border-top: 1px solid var(--glass-border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-badges {
  display: flex;
  gap: 12px;
}

.footer-badge {
  padding: 6px 14px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 500;
}

/* --- PAGE HERO (INNER PAGES) --- */
.page-hero {
  padding: 160px 0 60px;
  text-align: center;
  position: relative;
  background: radial-gradient(ellipse at 50% 80%, rgba(168,85,247,0.08) 0%, transparent 60%);
}

.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  margin-bottom: 16px;
}

.page-hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* --- ABOUT --- */
.about-content {
  padding: 60px 0 100px;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}

.about-heading {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.about-text-block p {
  color: var(--text-secondary);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-image-card {
  padding: 0;
  overflow: hidden;
}

.about-main-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.about-image-shine {
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: skewX(-20deg);
  animation: crystalShine 6s ease-in-out infinite;
  pointer-events: none;
}

.mission-card {
  padding: 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}

.mission-item {
  padding: 40px 32px;
  border-right: 1px solid var(--glass-border);
  text-align: center;
}

.mission-item:last-child {
  border-right: none;
}

.mission-icon {
  font-size: 2.4rem;
  margin-bottom: 16px;
}

.mission-item h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.mission-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* --- CONTACT --- */
.contact-section {
  padding: 60px 0 100px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 14px 18px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  transition: all 0.3s ease;
  outline: none;
}

.form-input:focus {
  border-color: var(--crystal-violet);
  box-shadow: 0 0 0 3px rgba(168,85,247,0.15);
  background: rgba(255,255,255,0.06);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2371717a' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

.form-select option {
  background: var(--bg-secondary);
  color: var(--text-primary);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-info-card {
  padding: 0;
  overflow: hidden;
}

.contact-hero-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.contact-info-list {
  padding: 28px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--glass-border);
}

.contact-info-item:last-child {
  border-bottom: none;
}

.contact-info-icon {
  font-size: 1.6rem;
  flex-shrink: 0;
}

.contact-info-item h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* --- LEGAL PAGES --- */
.legal-content {
  padding: 40px 0 100px;
}

.legal-card {
  line-height: 1.85;
}

.legal-card h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.legal-card strong {
  color: var(--text-primary);
}

.responsible-banner {
  padding: 20px 24px;
  background: linear-gradient(135deg, rgba(220,38,38,0.1), rgba(249,115,22,0.1));
  border: 1px solid rgba(249,115,22,0.2);
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.responsible-highlight {
  color: var(--molten-orange) !important;
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 0 !important;
}

.responsible-list {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.responsible-list li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  padding-left: 4px;
}

/* --- ANIMATIONS --- */
.animate-fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 0.8s ease forwards;
}

.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- RESPONSIVE --- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

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

  .mission-item {
    border-right: none;
    border-bottom: 1px solid var(--glass-border);
  }

  .mission-item:last-child {
    border-bottom: none;
  }

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

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }

  .nav {
    display: none;
  }

  .header-right .btn {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .header {
    top: 8px;
    width: calc(100% - 16px);
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-card {
    padding: 50px 24px;
  }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

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

  .game-info-grid {
    flex-direction: column;
    align-items: center;
  }

  .info-chip {
    width: 100%;
    justify-content: center;
  }
}