/* ============================================================
   Playticaa — Social Casino Platform
   Main Stylesheet
   ============================================================ */

/* ---------- Google Fonts ---------- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600;700;800;900&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --bg-primary: #0a0a1a;
  --bg-secondary: #0e0e24;
  --bg-card: #13132e;
  --bg-card-hover: #1a1a3a;
  --bg-glass: rgba(18, 18, 42, 0.85);
  --bg-glass-light: rgba(255, 255, 255, 0.04);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glass-hover: rgba(255, 255, 255, 0.15);

  --accent-red: #e63946;
  --accent-orange: #ff6b35;
  --accent-light: #ff8c5a;
  --gradient-main: linear-gradient(135deg, #e63946 0%, #ff6b35 100%);
  --gradient-main-hover: linear-gradient(135deg, #ff6b35 0%, #e63946 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(230, 57, 70, 0.15), rgba(255, 107, 53, 0.15));
  --gradient-hero: linear-gradient(180deg, #0a0a1a 0%, #12082a 40%, #1a0a28 70%, #0a0a1a 100%);
  --glow-red: 0 0 30px rgba(230, 57, 70, 0.3);
  --glow-orange: 0 0 30px rgba(255, 107, 53, 0.3);

  --text-white: #ffffff;
  --text-light: #e0e0f0;
  --text-muted: #8888a8;
  --text-dark: #555570;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.4);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 40px rgba(230, 57, 70, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 50px;

  --font-heading: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --header-height: 80px;
  --max-width: 1200px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-light);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

a:hover { color: var(--accent-orange); }

ul, ol { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
  color: inherit;
}

button { cursor: pointer; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-white);
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

::selection {
  background: var(--accent-red);
  color: var(--text-white);
}

/* ---------- Utility Classes ---------- */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-orange);
  margin-bottom: 16px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--gradient-main);
  border-radius: 2px;
}

.section-title {
  margin-bottom: 20px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 600px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }

.gradient-text {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-main);
  color: var(--text-white);
  box-shadow: 0 4px 20px rgba(230, 57, 70, 0.4);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(230, 57, 70, 0.6);
  color: var(--text-white);
}

.btn-primary:active { transform: translateY(-1px); }

.btn-secondary {
  background: var(--bg-glass-light);
  color: var(--text-white);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-glass-hover);
  transform: translateY(-3px);
  color: var(--text-white);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ---------- Cards (glass) ---------- */
.glass-card {
  background: var(--bg-glass-light);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--border-glass-hover);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

/* ---------- Animations (scroll reveal) ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ============================================================
   HEADER & NAVIGATION
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: var(--transition);
}

.header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  box-shadow: var(--shadow-sm);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  z-index: 1001;
}

.logo:hover { color: var(--text-white); }

.logo-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
}

.logo-text span {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Desktop Nav */
.nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-link {
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-white);
  background: rgba(255, 255, 255, 0.06);
}

.nav .btn-primary {
  margin-left: 8px;
  padding: 10px 28px;
  font-size: 0.9rem;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
  cursor: pointer;
  background: none;
  border: none;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}

.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 Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(6, 6, 18, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-light);
  padding: 12px 24px;
  transition: var(--transition);
}

.mobile-nav a:hover {
  color: var(--accent-orange);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-hero);
  overflow: hidden;
  padding: calc(var(--header-height) + 40px) 0 80px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 600px 400px at 20% 50%, rgba(230, 57, 70, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 500px 400px at 80% 30%, rgba(255, 107, 53, 0.06) 0%, transparent 70%);
  z-index: 1;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 800px;
  padding: 0 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(230, 57, 70, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-light);
  margin-bottom: 28px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero-title .highlight {
  display: block;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-age-badge {
  position: absolute;
  top: calc(var(--header-height) + 20px);
  right: 30px;
  z-index: 4;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--text-white);
  box-shadow: var(--glow-red);
  animation: pulse 2s ease-in-out infinite;
}

/* Particles */
.particle {
  position: absolute;
  color: rgba(255, 107, 53, 0.25);
  pointer-events: none;
  z-index: 1;
  animation: floatUp linear infinite;
  user-select: none;
}

@keyframes floatUp {
  0% {
    transform: translateY(100vh) rotate(0deg) scale(0.5);
    opacity: 0;
  }
  5% { opacity: var(--p-opacity, 0.2); }
  90% { opacity: var(--p-opacity, 0.2); }
  100% {
    transform: translateY(-120px) rotate(720deg) scale(1);
    opacity: 0;
  }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 20px rgba(230, 57, 70, 0.4); }
  50% { box-shadow: 0 0 40px rgba(230, 57, 70, 0.7); }
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--text-dark);
  font-size: 0.75rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  animation: bobDown 2s ease-in-out infinite;
}

.hero-scroll-indicator .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--text-dark);
  border-bottom: 2px solid var(--text-dark);
  transform: rotate(45deg);
}

@keyframes bobDown {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(10px); }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about {
  background: var(--bg-primary);
  position: relative;
}

.about::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(230, 57, 70, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text .section-label { margin-bottom: 12px; }

.about-text .section-title {
  margin-bottom: 24px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.about-illustration {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.about-illustration svg {
  width: 100%;
  max-width: 420px;
  height: auto;
  filter: drop-shadow(0 0 40px rgba(230, 57, 70, 0.1));
}

/* Advantages Grid */
.advantages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 60px;
}

.advantage-card {
  text-align: center;
  padding: 28px 16px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
}

.advantage-card:hover {
  border-color: rgba(230, 57, 70, 0.3);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.advantage-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  border-radius: 16px;
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.advantage-icon svg {
  width: 28px;
  height: 28px;
}

.advantage-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.advantage-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   GAME SHOWCASE
   ============================================================ */
.game-showcase {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.game-showcase::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.game-showcase-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.game-image-wrapper {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-glass);
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #1a0a2e 0%, #2a1040 50%, #1a0a2e 100%);
}

.game-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.game-image-wrapper:hover img {
  transform: scale(1.03);
}

.game-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.game-image-placeholder svg {
  width: 64px;
  height: 64px;
  opacity: 0.5;
}

.game-info .section-label { margin-bottom: 12px; }

.game-info .section-title { margin-bottom: 16px; }

.game-info .game-description {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 32px;
}

.game-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.game-feature-tag {
  padding: 8px 18px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(230, 57, 70, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent-light);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq {
  background: var(--bg-primary);
}

.faq-header {
  text-align: center;
  margin-bottom: 52px;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--border-glass-hover);
}

.faq-item.active {
  border-color: rgba(230, 57, 70, 0.3);
  box-shadow: 0 0 20px rgba(230, 57, 70, 0.05);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-white);
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
}

.faq-question:hover {
  color: var(--accent-orange);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  stroke: var(--accent-orange);
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--gradient-main);
}

.faq-item.active .faq-icon svg {
  stroke: var(--text-white);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              padding 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer-inner {
  padding: 0 24px 20px;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 0.95rem;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials {
  background: var(--bg-secondary);
  position: relative;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 52px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: var(--font-heading);
  font-size: 4rem;
  line-height: 1;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
}

.testimonial-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-stars svg {
  width: 18px;
  height: 18px;
  fill: var(--accent-orange);
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--text-light);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-white);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-white);
}

.testimonial-location {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
.newsletter {
  background: var(--bg-primary);
  position: relative;
}

.newsletter-box {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
  padding: 52px 40px;
  border-radius: var(--radius-xl);
  background: var(--gradient-subtle);
  border: 1px solid rgba(230, 57, 70, 0.15);
  position: relative;
  overflow: hidden;
}

.newsletter-box::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.1), transparent 70%);
  pointer-events: none;
}

.newsletter-box h2 {
  margin-bottom: 12px;
  position: relative;
}

.newsletter-box .section-subtitle {
  margin: 0 auto 32px;
  position: relative;
}

.newsletter-form {
  position: relative;
  z-index: 1;
}

.newsletter-input-group {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-input-group input {
  flex: 1;
  padding: 14px 20px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  color: var(--text-white);
  font-size: 0.9rem;
  transition: var(--transition);
}

.newsletter-input-group input::placeholder {
  color: var(--text-dark);
}

.newsletter-input-group input:focus {
  border-color: var(--accent-red);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.15);
}

.newsletter-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}

.newsletter-consent input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-glass-hover);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: var(--transition);
}

.newsletter-consent input[type="checkbox"]:checked {
  background: var(--gradient-main);
  border-color: var(--accent-red);
}

.newsletter-consent input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 11px;
  font-weight: bold;
}

.newsletter-consent label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.newsletter-consent label a {
  color: var(--accent-orange);
  text-decoration: underline;
}

.newsletter-links {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--text-dark);
  position: relative;
}

.newsletter-links a {
  color: var(--text-muted);
  text-decoration: underline;
}

.newsletter-links a:hover {
  color: var(--accent-orange);
}

.newsletter-success {
  display: none;
  padding: 16px;
  background: rgba(40, 167, 69, 0.15);
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: var(--radius-md);
  color: #6ddf8b;
  font-weight: 500;
  text-align: center;
  margin-top: 16px;
}

.newsletter-success.show { display: block; }

/* ============================================================
   DISCLAIMER
   ============================================================ */
.disclaimer-section {
  padding: 40px 0;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-glass);
}

.disclaimer-box {
  padding: 28px 32px;
  background: rgba(230, 57, 70, 0.05);
  border: 1px solid rgba(230, 57, 70, 0.15);
  border-radius: var(--radius-lg);
  position: relative;
}

.disclaimer-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.disclaimer-warning {
  font-size: 1.5rem;
  line-height: 1;
}

.disclaimer-header h3 {
  font-size: 1rem;
  color: var(--accent-red);
  font-weight: 700;
}

.disclaimer-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient-main);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--text-white);
  flex-shrink: 0;
}

.disclaimer-box ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.disclaimer-box ul li {
  padding-left: 20px;
  position: relative;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.disclaimer-box ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-red);
  font-weight: bold;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border-glass);
}

.footer-brand .logo { margin-bottom: 16px; }

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--gradient-main);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.9rem;
  color: var(--text-white);
}

.footer-heading {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-white);
  margin-bottom: 24px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-orange);
  padding-left: 6px;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  stroke: var(--accent-orange);
  fill: none;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.8rem;
  color: var(--text-dark);
}

.footer-disclaimer-short {
  font-size: 0.8rem;
  color: var(--text-dark);
  text-align: right;
  max-width: 500px;
}

/* ============================================================
   GAME PAGE
   ============================================================ */
.page-hero {
  padding: calc(var(--header-height) + 60px) 0 60px;
  background: var(--gradient-hero);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to top, var(--bg-primary), transparent);
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin-bottom: 12px;
}

.page-hero p {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

.game-page-section {
  padding: 60px 0;
  background: var(--bg-primary);
}

.game-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}

.game-step {
  text-align: center;
  padding: 24px 16px;
  border-radius: var(--radius-md);
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
}

.game-step-number {
  width: 40px;
  height: 40px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-white);
}

.game-step h4 {
  margin-bottom: 6px;
  font-size: 0.9rem;
}

.game-step p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.game-iframe-wrapper {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto 32px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-glow);
  border: 1px solid var(--border-glass);
  background: #000;
}

.game-iframe-wrapper iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.game-iframe-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  background: var(--bg-card);
  color: var(--text-muted);
  text-align: center;
  padding: 40px;
}

.game-notice {
  text-align: center;
  padding: 20px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(230, 57, 70, 0.15);
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-section {
  padding: 60px 0 100px;
  background: var(--bg-primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}

.contact-info-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
}

.contact-info-card h3 {
  margin-bottom: 8px;
}

.contact-info-card > p {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 28px;
  line-height: 1.7;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--accent-orange);
  fill: none;
}

.contact-info-item h4 {
  font-size: 0.85rem;
  margin-bottom: 2px;
}

.contact-info-item p,
.contact-info-item a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.contact-info-item a:hover {
  color: var(--accent-orange);
}

/* Contact Form */
.contact-form-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--bg-glass-light);
  border: 1px solid var(--border-glass);
}

.contact-form-card h3 { margin-bottom: 28px; }

.form-group {
  margin-bottom: 20px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 8px;
}

.form-group label .required {
  color: var(--accent-red);
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-white);
  font-size: 0.9rem;
  transition: var(--transition);
}

.form-control::placeholder { color: var(--text-dark); }

.form-control:focus {
  border-color: var(--accent-red);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.12);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

select.form-control {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%238888a8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
  cursor: pointer;
}

select.form-control option {
  background: var(--bg-card);
  color: var(--text-white);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}

.form-checkbox input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--border-glass-hover);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  position: relative;
  transition: var(--transition);
}

.form-checkbox input[type="checkbox"]:checked {
  background: var(--gradient-main);
  border-color: var(--accent-red);
}

.form-checkbox input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 11px;
  font-weight: bold;
}

.form-checkbox label {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  cursor: pointer;
}

.form-checkbox label a {
  color: var(--accent-orange);
  text-decoration: underline;
}

.form-actions {
  margin-top: 24px;
}

.form-success {
  display: none;
  padding: 16px;
  background: rgba(40, 167, 69, 0.15);
  border: 1px solid rgba(40, 167, 69, 0.3);
  border-radius: var(--radius-md);
  color: #6ddf8b;
  font-weight: 500;
  text-align: center;
  margin-top: 16px;
}

.form-success.show { display: block; }

/* Loader */
.btn-loading {
  position: relative;
  pointer-events: none;
  color: transparent !important;
}

.btn-loading::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ============================================================
   POLICY / LEGAL PAGES
   ============================================================ */
.policy-section {
  padding: 60px 0 100px;
  background: var(--bg-primary);
}

.policy-content {
  max-width: 800px;
  margin: 0 auto;
}

.policy-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-glass);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.policy-content h2 {
  font-size: 1.5rem;
  margin-top: 48px;
  margin-bottom: 16px;
  padding-top: 32px;
  border-top: 1px solid var(--border-glass);
}

.policy-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.policy-content h3 {
  font-size: 1.15rem;
  margin-top: 28px;
  margin-bottom: 12px;
}

.policy-content p {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.policy-content ul,
.policy-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
  list-style: none;
}

.policy-content ul li,
.policy-content ol li {
  position: relative;
  padding-left: 16px;
  margin-bottom: 8px;
  color: var(--text-muted);
  line-height: 1.7;
}

.policy-content ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: bold;
}

.policy-content ol {
  counter-reset: policy-counter;
}

.policy-content ol li {
  counter-increment: policy-counter;
}

.policy-content ol li::before {
  content: counter(policy-counter) '.';
  position: absolute;
  left: 0;
  color: var(--accent-orange);
  font-weight: 600;
}

.policy-content a {
  color: var(--accent-orange);
  text-decoration: underline;
}

.policy-content strong {
  color: var(--text-white);
}

.policy-highlight {
  padding: 20px 24px;
  background: var(--gradient-subtle);
  border: 1px solid rgba(230, 57, 70, 0.15);
  border-radius: var(--radius-md);
  margin: 20px 0;
}

.policy-highlight p {
  color: var(--text-light);
  margin: 0;
}

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 20px 24px;
  background: var(--bg-glass);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-glass);
  box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.3);
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-banner-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-banner p {
  flex: 1;
  min-width: 280px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

.cookie-banner p a {
  color: var(--accent-orange);
  text-decoration: underline;
}

.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-banner .btn {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-illustration { order: -1; }
  .about-illustration svg { max-width: 320px; }

  .game-showcase-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --header-height: 68px; }

  .section { padding: 70px 0; }

  .nav { display: none; }

  .menu-toggle {
    display: flex;
  }

  .mobile-nav { display: flex; }

  .hero-age-badge {
    width: 44px;
    height: 44px;
    font-size: 0.8rem;
    right: 16px;
    top: calc(var(--header-height) + 12px);
  }

  .advantages {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .game-steps {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .newsletter-box { padding: 36px 24px; }

  .newsletter-input-group {
    flex-direction: column;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-disclaimer-short { text-align: center; }

  .cookie-banner-inner {
    flex-direction: column;
    text-align: center;
  }

  .hero-scroll-indicator { display: none; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }

  .section { padding: 56px 0; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }

  .hero {
    padding-bottom: 60px;
  }

  .hero-title { font-size: 2.2rem; }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }
  .hero-buttons .btn { width: 100%; }

  .advantages { grid-template-columns: 1fr; }

  .game-steps { grid-template-columns: 1fr; }

  .btn-lg { padding: 16px 32px; }

  .glass-card { padding: 24px; }

  .disclaimer-box { padding: 20px; }
}

@media (min-width: 1200px) {
  .container { padding: 0 32px; }
}