/* ========================================
   GenerRated-X — Modern One-Pager
   ======================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #0a0a0a;
  --color-surface: #141414;
  --color-surface-2: #1e1e1e;
  --color-border: #2a2a2a;
  --color-text: #f0f0f0;
  --color-text-muted: #888;
  --color-accent: #e63946;
  --color-accent-glow: rgba(230, 57, 70, 0.3);
  --color-accent-light: #ff6b7a;
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  background-color: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

.hidden {
  display: none !important;
}

/* ========================================
   Age Gate
   ======================================== */

.age-gate {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

.age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(20px);
}

.age-gate__modal {
  position: relative;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  max-width: 480px;
  width: 90%;
  text-align: center;
  animation: modalIn 0.5s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.age-gate__icon {
  font-size: 3rem;
  font-weight: 800;
  color: var(--color-accent);
  margin-bottom: 16px;
  text-shadow: 0 0 30px var(--color-accent-glow);
}

.age-gate__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.age-gate__text {
  color: var(--color-text-muted);
  margin-bottom: 12px;
  line-height: 1.7;
}

.age-gate__text strong {
  color: var(--color-text);
}

.age-gate__disclaimer {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-bottom: 32px;
  font-style: italic;
}

.age-gate__buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

/* Age Gate — Mini Language Switcher */

.age-gate__lang-switch {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-bottom: 24px;
}

.age-gate__lang-switch .lang-switcher__btn {
  padding: 3px 7px;
  font-size: 0.65rem;
}

/* Age Gate — Step Indicator */

.age-gate__step-indicator {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
}

/* Age Gate — DOB Form */

.age-gate__dob {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 24px;
}

.age-gate__dob-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.age-gate__dob-field label {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.age-gate__dob-field select {
  background: var(--color-surface-2);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: 8px;
  padding: 10px 12px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  cursor: pointer;
  transition: border-color var(--transition);
  -webkit-appearance: none;
  appearance: none;
  min-width: 80px;
}

.age-gate__dob-field select:focus {
  outline: none;
  border-color: var(--color-accent);
}

/* Age Gate — Error Message */

.age-gate__error {
  color: var(--color-accent);
  font-size: 0.85rem;
  margin-bottom: 16px;
  animation: shakeIn 0.3s ease;
}

@keyframes shakeIn {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* Age Gate — Quiz */

.age-gate__quiz-question {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 20px;
  line-height: 1.5;
}

.age-gate__quiz-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.age-gate__quiz-btn {
  background: var(--color-surface-2);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 12px 20px;
  font-family: var(--font-main);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
  text-align: left;
}

.age-gate__quiz-btn:hover {
  border-color: var(--color-accent);
  background: rgba(230, 57, 70, 0.08);
}

/* Age Gate — Step Transition */

.age-gate__step {
  animation: stepFadeIn 0.4s ease;
}

@keyframes stepFadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ========================================
   Buttons
   ======================================== */

.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

.btn--deny {
  background: var(--color-accent);
  color: #fff;
}

.btn--deny:hover {
  background: var(--color-accent-light);
  box-shadow: 0 0 25px var(--color-accent-glow);
  transform: translateY(-2px);
}

.btn--confirm-outline {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
}

.btn--confirm-outline:hover {
  border-color: var(--color-text-muted);
  color: var(--color-text);
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  padding: 16px 36px;
  font-size: 1rem;
}

.btn--primary:hover {
  background: var(--color-accent-light);
  box-shadow: 0 0 30px var(--color-accent-glow);
  transform: translateY(-2px);
}

/* ========================================
   Header
   ======================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.header__nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
  gap: 16px;
}

.header__logo {
  flex-shrink: 0;
}

.header__logo-img {
  height: 36px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-x {
  color: var(--color-accent);
}

.header__tag {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.header__menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.header__menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--transition);
}

.header__links {
  display: flex;
  list-style: none;
  gap: 32px;
}

.header__links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition);
}

.header__links a:hover {
  color: var(--color-text);
}

/* ========================================
   Hero
   ======================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 10, 10, 0.6) 0%, rgba(10, 10, 10, 0.3) 50%, rgba(10, 10, 10, 0.8) 100%),
    url('img/25-GenerRated-X-bg2.jpg') no-repeat center center;
  background-size: cover;
}

.hero__content {
  position: relative;
  text-align: center;
  padding: 120px 24px 80px;
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.hero__highlight {
  background: linear-gradient(135deg, var(--color-accent), var(--color-accent-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__logo-img {
  max-width: 400px;
  width: 80%;
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--color-text);
  max-width: 500px;
  margin: 0 auto 40px;
  text-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

.hero__scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
}

.hero__scroll-indicator span {
  display: block;
  width: 24px;
  height: 40px;
  border: 2px solid var(--color-border);
  border-radius: 12px;
  position: relative;
}

.hero__scroll-indicator span::after {
  content: '';
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: var(--color-accent);
  border-radius: 2px;
  animation: scrollBounce 1.5s infinite;
}

@keyframes scrollBounce {
  0%, 100% { top: 6px; opacity: 1; }
  50% { top: 20px; opacity: 0.3; }
}

/* ========================================
   About
   ======================================== */

.about {
  padding: 120px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 60px;
  letter-spacing: -0.5px;
}

.about__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.about__card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  transition: all var(--transition);
}

.about__card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about__card-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.about__card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.about__card p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

.about__coming-soon {
  text-align: center;
  padding: 32px;
  background: linear-gradient(135deg, var(--color-surface), var(--color-surface-2));
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

.about__coming-soon p {
  color: var(--color-text-muted);
  font-size: 1rem;
}

/* ========================================
   Platforms
   ======================================== */

.platforms {
  padding: 120px 0;
  background: var(--color-surface);
}

.platforms__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.platform-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 40px 24px;
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--color-text);
  transition: all var(--transition);
}

.platform-card:hover {
  border-color: var(--color-accent);
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
}

.platform-card__icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.platform-card__logo {
  max-width: 80px;
  max-height: 40px;
  width: auto;
  height: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

.platform-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.platform-card p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ========================================
   Language Switcher
   ======================================== */

.lang-switcher {
  display: flex;
  gap: 4px;
  flex-shrink: 0;
}

.lang-switcher__btn {
  background: transparent;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  border-radius: 6px;
  padding: 4px 8px;
  font-family: var(--font-main);
  font-size: 0.7rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.5px;
}

.lang-switcher__btn:hover {
  color: var(--color-text);
  border-color: var(--color-text-muted);
}

.lang-switcher__btn.active {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

/* ========================================
   Footer
   ======================================== */

.footer {
  padding: 60px 0 30px;
  border-top: 1px solid var(--color-border);
}

.footer__content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
}

.footer__logo-img {
  max-width: 180px;
  height: auto;
}

.footer__brand p {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  margin-top: 8px;
}

.footer__links a {
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__links a:hover {
  color: var(--color-text);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding-top: 24px;
  text-align: center;
}

.footer__bottom p {
  color: var(--color-text-muted);
  font-size: 0.8rem;
}

/* ========================================
   Responsive
   ======================================== */

@media (max-width: 900px) {
  .about__grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .platforms__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .header__nav {
    height: 60px;
  }

  .header__tag {
    display: none;
  }

  .header__logo-img {
    height: 28px;
  }

  .header__menu-toggle {
    display: flex;
  }

  .lang-switcher {
    order: 10;
    margin-left: auto;
    margin-right: 8px;
  }

  .header__links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(10, 10, 10, 0.97);
    backdrop-filter: blur(12px);
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--color-border);
    transform: translateY(-110%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition), opacity var(--transition), visibility var(--transition);
    z-index: 105;
  }

  .header__links.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .header__links a {
    font-size: 1.1rem;
  }

  .hero__content {
    padding: 100px 20px 60px;
  }

  .hero__logo-img {
    max-width: 280px;
    width: 70%;
  }

  .about,
  .platforms {
    padding: 80px 0;
  }

  .section-title {
    margin-bottom: 40px;
  }

  .about__card {
    padding: 32px 24px;
  }

  .footer__content {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }

  .footer__logo-img {
    max-width: 140px;
  }
}

/* ========================================
   Scroll Animations
   ======================================== */

.animate-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.about__card.animate-in:nth-child(2) { transition-delay: 0.1s; }
.about__card.animate-in:nth-child(3) { transition-delay: 0.2s; }

.platform-card.animate-in:nth-child(2) { transition-delay: 0.1s; }
.platform-card.animate-in:nth-child(3) { transition-delay: 0.2s; }
.platform-card.animate-in:nth-child(4) { transition-delay: 0.3s; }

@media (max-width: 480px) {
  .platforms__grid {
    grid-template-columns: 1fr;
  }

  .age-gate__modal {
    padding: 36px 24px;
  }

  .age-gate__buttons {
    flex-direction: column;
  }

  .age-gate__buttons .btn {
    width: 100%;
  }

  .age-gate__dob {
    flex-direction: column;
    align-items: center;
  }

  .age-gate__dob-field select {
    min-width: 160px;
  }
}
