/* ============================================
   AEROARVIL — CANDY LUXE CINEMA DESIGN SYSTEM
   ============================================ */

/* --- VARIABLES --- */
:root {
  /* Base */
  --bg-primary: #05060b;
  --bg-secondary: #0b1220;
  --bg-card: rgba(11, 18, 32, 0.7);
  --bg-glass: rgba(11, 18, 32, 0.5);

  /* Accents */
  --pink: #ff4d8d;
  --pink-end: #ec4899;
  --purple: #7c3aed;
  --purple-end: #a78bfa;
  --gold: #facc15;
  --gold-end: #fb923c;

  /* Gradients */
  --grad-pink: linear-gradient(135deg, #ff4d8d, #ec4899);
  --grad-purple: linear-gradient(135deg, #7c3aed, #a78bfa);
  --grad-gold: linear-gradient(135deg, #facc15, #fb923c);

  /* Text */
  --text-primary: #f9fafb;
  --text-secondary: #cbd5f5;
  --text-muted: #64748b;

  /* Glow */
  --glow-pink: 0 0 40px rgba(255, 77, 141, 0.15);
  --glow-purple: 0 0 40px rgba(124, 58, 237, 0.15);
  --glow-gold: 0 0 40px rgba(250, 204, 21, 0.1);

  /* Layout */
  --container-max: 1200px;
  --container-width: 90%;
  --gap: 24px;
  --radius: 24px;
  --radius-sm: 12px;
  --radius-btn: 18px;

  /* Spacing */
  --section-pad: 100px;

  /* Transitions */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.3s var(--ease);

  /* Header */
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font: inherit;
  color: inherit;
}

input, textarea {
  font: inherit;
  color: inherit;
}

/* --- LAYOUT --- */
.container {
  max-width: var(--container-max);
  width: var(--container-width);
  margin: 0 auto;
}

/* --- TYPOGRAPHY UTILITIES --- */
.gradient-text-pink {
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

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

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--grad-pink);
  color: #fff;
  box-shadow: 0 4px 20px rgba(255, 77, 141, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 77, 141, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 12px rgba(255, 77, 141, 0.3);
}

.btn-glass {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.btn-glass:active {
  transform: translateY(0);
}

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

.btn-sm {
  padding: 10px 20px;
  font-size: 0.85rem;
}

.btn-full {
  width: 100%;
}

/* --- HEADER --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(5, 6, 11, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(5, 6, 11, 0.92);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  z-index: 1001;
}

.logo-icon {
  background: var(--grad-pink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.4rem;
}

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

.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--grad-pink);
  border-radius: 1px;
  transition: width 0.3s var(--ease);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-cta {
  padding: 10px 24px;
  font-size: 0.85rem;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
  padding: 4px;
}

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

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

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

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

/* --- HERO --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}

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

.hero-gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: rgba(255, 77, 141, 0.08);
  top: -100px;
  right: -100px;
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: rgba(124, 58, 237, 0.06);
  bottom: -50px;
  left: -100px;
  animation: orbFloat 15s ease-in-out infinite reverse;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: rgba(250, 204, 21, 0.04);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbFloat 18s ease-in-out infinite;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  33% { transform: translate(30px, -20px); }
  66% { transform: translate(-20px, 30px); }
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-content {
  padding: 40px 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 50px;
  background: rgba(255, 77, 141, 0.08);
  border: 1px solid rgba(255, 77, 141, 0.15);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--pink);
  margin-bottom: 28px;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--pink);
  animation: pulse 2s ease-in-out infinite;
}

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

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 36px;
  max-width: 500px;
}

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

.hero-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  max-width: 400px;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 520px;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-image-glow {
  position: absolute;
  inset: -2px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 77, 141, 0.3), rgba(124, 58, 237, 0.3), rgba(250, 204, 21, 0.2));
  z-index: 0;
  filter: blur(20px);
  opacity: 0.5;
  animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

.hero-image {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.hero-image-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: var(--radius);
  background: linear-gradient(180deg, transparent 50%, rgba(5, 6, 11, 0.4) 100%);
  pointer-events: none;
}

/* --- SECTION HEADER --- */
.section-header {
  margin-bottom: 64px;
}

.section-header.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--pink);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.section-header.center .section-subtitle {
  margin: 0 auto;
}

/* --- GAME SECTION --- */
.game-section {
  padding: var(--section-pad) 0;
  position: relative;
}

.game-showcase {
  max-width: 1000px;
  margin: 0 auto;
}

.game-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition);
}

.game-card:hover {
  border-color: rgba(255, 77, 141, 0.15);
  transform: translateY(-4px);
  box-shadow: var(--glow-pink);
}

.game-card-glow {
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgba(255, 77, 141, 0.1), transparent 50%, rgba(124, 58, 237, 0.1));
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}

.game-card:hover .game-card-glow {
  opacity: 1;
}

.game-iframe-wrapper {
  position: relative;
  z-index: 1;
  aspect-ratio: 16/9;
  background: #000;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}

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

.game-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  background: rgba(5, 6, 11, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: opacity 0.5s var(--ease), visibility 0.5s;
}

.game-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.game-overlay-content {
  text-align: center;
  padding: 40px;
}

.game-overlay-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--grad-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 0 40px rgba(255, 77, 141, 0.4);
  animation: glowPulse 3s ease-in-out infinite;
}

.game-overlay-icon svg {
  color: #fff;
  margin-left: 4px;
}

.game-overlay-content h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.game-overlay-content p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.game-controls {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 20px;
  background: rgba(5, 6, 11, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* --- HOW IT WORKS --- */
.how-it-works {
  padding: var(--section-pad) 0;
  position: relative;
}

.steps-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.step-card {
  flex: 1;
  max-width: 320px;
  text-align: center;
  padding: 40px 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition);
  position: relative;
}

.step-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.step-number {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.step-connector {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* --- FEATURES --- */
.features {
  padding: var(--section-pad) 0;
  position: relative;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap);
}

.feature-card {
  padding: 40px 32px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition);
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.feature-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- CTA SECTION --- */
.cta-section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}

.cta-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 77, 141, 0.06) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-content {
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 640px;
  margin: 0 auto;
  padding: 80px 40px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 32px;
  line-height: 1.7;
}

.cta-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 24px;
}

/* --- PAGE HERO --- */
.page-hero {
  padding: 160px 0 80px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero-sm {
  padding: 140px 0 60px;
}

.page-hero-content {
  position: relative;
  z-index: 1;
}

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.page-hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7;
}

/* --- ABOUT PAGE --- */
.about-content {
  padding: var(--section-pad) 0;
}

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

.about-text h2 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 24px;
}

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

.about-image-wrap {
  position: relative;
}

.about-image {
  width: 100%;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap);
}

.value-card {
  padding: 36px 28px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.04);
  transition: var(--transition);
}

.value-card:hover {
  border-color: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.value-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* --- CONTACT PAGE --- */
.contact-section {
  padding: 0 0 var(--section-pad);
}

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

.contact-form-wrap h2 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 32px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
  transition: var(--transition);
  outline: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 3px rgba(255, 77, 141, 0.1);
}

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

.form-success {
  text-align: center;
  padding: 60px 20px;
}

.form-success svg {
  margin: 0 auto 16px;
}

.form-success h3 {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-secondary);
}

.contact-info-card {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.contact-image {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-detail p,
.contact-detail a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.contact-detail a:hover {
  color: var(--pink);
}

/* --- LEGAL PAGES --- */
.legal-content {
  padding: 0 0 var(--section-pad);
}

.legal-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.legal-notice {
  padding: 20px 24px;
  border-radius: var(--radius-sm);
  background: rgba(255, 77, 141, 0.06);
  border: 1px solid rgba(255, 77, 141, 0.12);
  margin-bottom: 48px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.legal-notice strong {
  color: var(--pink);
}

.legal-wrap h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 40px 0 16px;
  color: var(--text-primary);
}

.legal-wrap h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 28px 0 12px;
  color: var(--text-primary);
}

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

.legal-wrap ul,
.legal-wrap ol {
  margin: 12px 0 20px 24px;
  list-style: disc;
}

.legal-wrap li {
  color: var(--text-secondary);
  margin-bottom: 8px;
  line-height: 1.7;
}

.legal-wrap a {
  color: var(--pink);
  transition: var(--transition);
}

.legal-wrap a:hover {
  text-decoration: underline;
}

/* --- MODAL --- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s var(--ease), visibility 0.3s;
}

.modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 6, 11, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.modal-content {
  position: relative;
  z-index: 1;
  max-width: 540px;
  width: 90%;
  background: var(--bg-secondary);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 48px 40px;
  transform: translateY(20px);
  transition: transform 0.3s var(--ease);
}

.modal.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  transition: var(--transition);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 28px;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.modal-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.modal-step-num {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--grad-pink);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal-step h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.modal-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-legal {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

/* --- FOOTER --- */
.footer {
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  background: var(--bg-secondary);
}

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

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 12px;
}

.footer-age {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--pink);
}

.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--pink);
}

.footer-text-muted {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-disclaimer {
  font-size: 0.75rem !important;
  color: var(--text-muted);
}

/* --- ANIMATIONS --- */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Particle styles */
.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(720deg);
    opacity: 0;
  }
}

/* --- FULLSCREEN --- */
.game-iframe-wrapper.fullscreen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  aspect-ratio: auto;
  border-radius: 0;
}

/* --- RESPONSIVE --- */
@media (max-width: 1280px) {
  :root {
    --section-pad: 80px;
  }
}

@media (max-width: 1024px) {
  :root {
    --section-pad: 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content {
    order: 1;
    padding: 20px 0;
  }

  .hero-visual {
    order: 2;
  }

  .hero-subtitle {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

  .hero-legal {
    max-width: 100%;
    margin: 0 auto;
  }

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

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

  .about-values {
    grid-template-columns: 1fr;
    gap: 16px;
  }

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

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

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

@media (max-width: 768px) {
  :root {
    --section-pad: 50px;
    --header-h: 64px;
  }

  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(5, 6, 11, 0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 32px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s var(--ease), visibility 0.3s;
    z-index: 999;
  }

  .nav-links.active {
    opacity: 1;
    visibility: visible;
  }

  .nav-link {
    font-size: 1.3rem;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: calc(var(--header-h) + 40px);
    padding-bottom: 40px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 8vw, 2.6rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

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

  .steps-grid {
    flex-direction: column;
    gap: 16px;
  }

  .step-connector {
    display: none;
  }

  .step-card {
    max-width: 100%;
  }

  .game-controls {
    flex-direction: column;
    gap: 8px;
    padding: 16px;
  }

  .game-controls .btn {
    width: 100%;
  }

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

  .modal-content {
    padding: 36px 24px;
    width: 95%;
  }

  .cta-content {
    padding: 48px 24px;
  }

  .page-hero {
    padding: 120px 0 60px;
  }

  .page-hero-sm {
    padding: 110px 0 40px;
  }
}

@media (max-width: 480px) {
  .hero-image-wrapper {
    max-width: 100%;
  }

  .btn-lg {
    padding: 14px 28px;
    font-size: 0.95rem;
  }
}