:root {
  --bg: #f4f6ff;
  --bg-soft: #fff3f3;
  --surface: #ffffff;
  --surface-alt: #eff3ff;
  --primary: #ff2d55;
  --primary-dark: #e0143f;
  --secondary: #1d4ed8;
  --secondary-dark: #1e3a8a;
  --accent: #0ea5e9;
  --text-primary: #0f172a;
  --text-muted: #475569;
  --border-soft: rgba(29, 78, 216, 0.16);
  --border-strong: rgba(224, 20, 63, 0.24);
  --shadow-soft: 0 12px 28px rgba(29, 78, 216, 0.18);
  --shadow-strong: 0 22px 42px rgba(224, 20, 63, 0.25);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text-primary);
  background: linear-gradient(180deg, #fff8f8 0%, #f4f6ff 55%, #eff3ff 100%);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */
.site-header,
header.bg-dark {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(29, 78, 216, 0.12);
  color: var(--text-primary);
}

.header-inner,
header .max-w-7xl,
header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 0;
  position: relative;
}

.header-logo {
  text-decoration: none;
}

.header-logo-text {
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.header-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-tags {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.header-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(29, 78, 216, 0.28);
  background: rgba(29, 78, 216, 0.12);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary-dark);
  font-weight: 600;
  white-space: nowrap;
}

.header-tags-desktop {
  display: flex;
}

.header-tags-mobile {
  display: none;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-left: auto;
  position: relative;
}

.primary-nav a {
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.75rem;
  transition: color 0.2s ease;
}

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

.nav-toggle,
#navToggle {
  display: none;
  background: none;
  border: none;
  color: var(--primary);
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.2rem 0.4rem;
}

#navToggle:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  #navToggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    font-size: 1.5rem;
  }

  .header-tags-desktop {
    display: none;
  }

  .primary-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    background: rgba(255, 255, 255, 0.96);
    width: 220px;
    border: 1px solid rgba(99, 110, 175, 0.18);
    border-radius: 1rem;
    padding: 0.85rem;
    box-shadow: var(--shadow-soft);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.6rem;
  }

  .primary-nav.primary-nav--open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.4rem 0.35rem;
    border-radius: 0.75rem;
    width: 100%;
  }

  .primary-nav a:hover {
    background: rgba(29, 78, 216, 0.12);
  }

  .header-tags-mobile {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.8rem;
  }

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

  .hero-actions {
    width: 100%;
  }

  .hero-primary-btn,
  .hero-secondary-btn {
    flex: 1 1 auto;
  }

  .hero-metrics--inline {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  .section-overlap {
    margin-top: 0;
  }

  .games-highlight {
    justify-content: flex-start;
  }

  .games-highlight-card {
    width: 100%;
  }
}

/* Hero */
.hero {
  position: relative;
  padding: clamp(4rem, 8vw, 7rem) 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(15, 23, 42, 0.82) 0%, rgba(15, 23, 42, 0.63) 40%, rgba(15, 23, 42, 0.46) 68%, rgba(255, 45, 85, 0.24) 100%),
    linear-gradient(135deg, rgba(29, 78, 216, 0.3), rgba(255, 45, 85, 0.22));
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  display: grid;
  gap: 3.5rem;
  align-items: center;
}

.hero-grid {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 6vw, 4rem);
  align-items: stretch;
}

.hero-copy {
  max-width: 560px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  background: rgba(29, 78, 216, 0.12);
  border-radius: 999px;
  border: 1px solid rgba(29, 78, 216, 0.28);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
}

.hero h1 {
  font-size: clamp(2.6rem, 6vw, 3.8rem);
  line-height: 1.1;
  margin: 1.1rem 0 0.75rem;
}

.hero .lead {
  font-size: 1.15rem;
  /* color: var(--text-muted); */
}

.hero-actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
}

.hero-primary-btn {
  min-width: 180px;
}

.hero-secondary-btn {
  border-color: rgba(29, 78, 216, 0.45);
  color: var(--secondary);
}

.hero-metrics--inline {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
}

.metric-card {
  background: rgba(15, 23, 42, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1rem;
  padding: 1rem 1.2rem;
  color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 45, 85, 0.12);
}

.metric-card strong {
  display: block;
  font-size: 1.6rem;
  margin-top: 0.35rem;
}

.metric-label {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.hero-panel {
  display: grid;
  gap: 1.25rem;
  align-content: start;
}

.hero-score-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 1.5rem;
  border: 1px solid rgba(29, 78, 216, 0.18);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.18);
  padding: 1.75rem;
  color: var(--text-primary);
}

.hero-score-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.score-title {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--secondary-dark);
}

.score-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.7rem;
  font-size: 0.75rem;
  border-radius: 999px;
  background: rgba(29, 78, 216, 0.12);
  color: var(--secondary-dark);
}

.score-body {
  display: grid;
  gap: 0.75rem;
}

.score-team {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 0.95rem;
  font-weight: 600;
}

.score-team--red .team-name {
  color: var(--primary-dark);
}

.score-team--blue .team-name {
  color: var(--secondary);
}

.team-score {
  font-size: 1.1rem;
}

.score-progress {
  position: relative;
  height: 10px;
  border-radius: 999px;
  background: rgba(241, 245, 255, 0.9);
  overflow: hidden;
}

.score-progress-bar {
  position: absolute;
  top: 0;
  bottom: 0;
}

.score-progress-bar--red {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 45, 85, 0.88), rgba(255, 116, 140, 0.88));
}

.score-progress-bar--blue {
  right: 0;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.9), rgba(29, 78, 216, 0.9));
}

.score-feed {
  list-style: none;
  margin: 1.2rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.score-feed li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.feed-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.feed-dot--red {
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(255, 45, 85, 0.15);
}

.feed-dot--blue {
  background: var(--secondary);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.15);
}

.hero-cta-card {
  background: rgba(15, 23, 42, 0.82);
  color: #f8fafc;
  border-radius: 1.35rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.6rem;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.35);
}

.hero-cta-card h3 {
  margin-top: 0;
  margin-bottom: 0.4rem;
}

.hero-cta-card p {
  margin-top: 0.25rem;
  margin-bottom: 1rem;
  font-size: 0.95rem;
  color: rgba(248, 250, 252, 0.8);
}

.hero-cta-card .btn-secondary {
  width: 100%;
  justify-content: center;
  border-color: rgba(14, 165, 233, 0.45);
  color: var(--accent);
}

.quick-steps {
  margin-top: 2.5rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.section-overlap {
  margin-top: -2.5rem;
  position: relative;
  z-index: 2;
}

.quick-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.quick-card {
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.1), rgba(255, 45, 85, 0.1));
  border: 1px solid rgba(29, 78, 216, 0.14);
  border-radius: 1.35rem;
  padding: 1.5rem;
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  box-shadow: 0 15px 32px rgba(15, 23, 42, 0.1);
}

.quick-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 12px;
  font-weight: 700;
  color: var(--surface);
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 20px rgba(255, 45, 85, 0.25);
}

.quick-card h3 {
  margin: 0 0 0.25rem;
  font-size: 1.1rem;
}

.quick-card p {
  margin: 0;
  color: var(--text-muted);
}

.hero-inner.hero-simple {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  align-items: center;
}

.hero-points {
  margin-top: 1.8rem;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.hero-points li {
  position: relative;
  padding-left: 1.8rem;
}

.hero-points li::before {
  content: "";
  position: absolute;
  left: 0.6rem;
  top: 0.5rem;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--secondary));
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.18);
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  width: min(100%, 420px);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(29, 78, 216, 0.2);
  border-radius: 1.75rem;
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-card__header,
.hero-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
}

.hero-card__header {
  background: rgba(29, 78, 216, 0.1);
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  background: rgba(255, 45, 85, 0.16);
  color: var(--secondary-dark);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-card__status {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-card__image {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.hero-card__game {
  margin: 0;
  font-weight: 600;
  color: var(--text-primary);
}

.hero-card__meta {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.quick-card span {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
}

.quick-card:nth-child(1) span {
  background: var(--secondary);
}

.quick-card:nth-child(2) span {
  background: var(--primary);
}

.quick-card:nth-child(3) span {
  background: var(--accent);
}

.cta-row {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.7rem;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  box-shadow: 0 18px 35px rgba(255, 45, 85, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  border: 2px solid rgba(29, 78, 216, 0.55);
  color: var(--secondary);
}

.btn-outline:hover {
  background: rgba(29, 78, 216, 0.12);
}

.btn-outline-light {
  border: 1px solid rgba(255, 45, 85, 0.35);
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  background: transparent;
  color: var(--secondary-dark);
}

.btn-outline-light:hover {
  background: rgba(255, 45, 85, 0.12);
}

.btn-secondary {
  border-radius: 999px;
  padding: 0.75rem 1.6rem;
  border: 1px solid rgba(14, 165, 233, 0.45);
  background: rgba(14, 165, 233, 0.18);
  color: var(--accent);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-secondary:hover {
  background: rgba(14, 165, 233, 0.28);
  transform: translateY(-1px);
}

.hero-metrics {
  margin-top: 3rem;
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.metric {
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(29, 78, 216, 0.12);
  border-radius: 1.1rem;
  padding: 1.6rem 1.2rem;
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.metric strong {
  display: block;
  font-size: 2rem;
  color: var(--primary);
}

section {
  padding: 4rem 0;
}

.section-light {
  background: var(--surface);
}

.section-soft {
  background: var(--bg-soft);
}

.card-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.feature-card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-soft);
  border-radius: 1.5rem;
  padding: 1.8rem;
  box-shadow: var(--shadow-soft);
}

.section-heading {
  display: grid;
  gap: 0.75rem;
  text-align: left;
  margin-bottom: 2.5rem;
}

.games-header {
  display: grid;
  gap: 1.8rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-items: stretch;
}

.games-copy h2 {
  margin-bottom: 0.75rem;
}

.games-tags {
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.games-tags li {
  padding: 0.45rem 0.9rem;
  background: rgba(29, 78, 216, 0.12);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--secondary);
}

.games-highlight {
  display: flex;
  justify-content: flex-end;
}

.games-highlight-card {
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(29, 78, 216, 0.16);
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 18px 34px rgba(29, 78, 216, 0.15);
  display: grid;
  gap: 1rem;
}

.games-highlight-card h3 {
  margin: 0;
  font-size: 1.1rem;
}

.games-highlight-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.6rem;
}

.games-highlight-card li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.games-highlight-card strong {
  color: var(--secondary);
  font-weight: 600;
}

.games-highlight-link {
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.games-highlight-link:hover {
  text-decoration: underline;
}

.arena-journey {
  position: relative;
}

.journey-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.journey-step {
  background: var(--surface);
  border-radius: 1.5rem;
  border: 1px solid rgba(29, 78, 216, 0.14);
  padding: 1.8rem;
  box-shadow: 0 16px 30px rgba(15, 23, 42, 0.08);
  position: relative;
  overflow: hidden;
}

.journey-step::after {
  content: "";
  position: absolute;
  inset: auto auto 0 0;
  width: 70%;
  height: 4px;
  background: linear-gradient(90deg, rgba(255, 45, 85, 0.95), rgba(29, 78, 216, 0.95));
  border-radius: 999px;
}

.journey-step h3 {
  margin-top: 1.2rem;
  margin-bottom: 0.5rem;
}

.journey-step p {
  margin: 0 0 1.2rem;
  color: var(--text-muted);
}

.step-count {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(15, 23, 42, 0.6);
}

.step-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.step-tag--red {
  background: rgba(255, 45, 85, 0.12);
  color: var(--primary-dark);
}

.step-tag--blue {
  background: rgba(29, 78, 216, 0.12);
  color: var(--secondary);
}

.step-tag--accent {
  background: rgba(14, 165, 233, 0.14);
  color: var(--accent);
}

.game-embed-frame {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin: 2rem auto 0;
  aspect-ratio: 16 / 9;
  border-radius: 1.5rem;
  overflow: hidden;
  border: 1px solid rgba(29, 78, 216, 0.24);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.2);
  background: #000;
}

.game-embed-frame iframe {
  border: 0;
}

.modal-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary-dark);
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(29, 78, 216, 0.2);
  border-radius: 0.9rem;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.modal-back-btn:hover {
  background: rgba(29, 78, 216, 0.08);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.12);
}

.modal-back-btn:focus-visible {
  outline: 2px solid rgba(29, 78, 216, 0.45);
  outline-offset: 2px;
}
/* Games */
.game-card {
  position: relative;
  background: #fff;
  border-radius: 1.25rem;
  border: 1px solid rgba(29, 78, 216, 0.16);
  box-shadow: var(--shadow-strong);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.game-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.game-card .content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  flex-grow: 1;
}

.game-card button {
  margin-top: auto;
  padding: 0.75rem;
  border-radius: 999px;
  border: none;
  background: rgba(29, 78, 216, 0.14);
  color: var(--primary-dark);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.game-card button:hover {
  background: rgba(29, 78, 216, 0.22);
  transform: translateY(-1px);
}

.chips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.chips-card {
  border-radius: 1.2rem;
  border: 1px solid rgba(29, 78, 216, 0.2);
  background: linear-gradient(135deg, rgba(29, 78, 216, 0.12), rgba(255, 45, 85, 0.12));
  padding: 1.6rem;
  box-shadow: var(--shadow-soft);
}

/* FAQ */
.faq button.accordion {
  width: 100%;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid var(--border-soft);
  border-radius: 1.1rem;
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 600;
  position: relative;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.faq button.accordion::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: var(--secondary);
}

.faq button.accordion.active::after {
  content: "−";
}

.faq button.accordion:hover,
.faq button.accordion.active {
  border-color: rgba(29, 78, 216, 0.35);
  background: rgba(255, 255, 255, 0.95);
}

.faq .panel {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.3s ease;
  background: rgba(255, 255, 255, 0.94);
  border-radius: 0 0 1.1rem 1.1rem;
}

.faq .panel p {
  padding: 1rem 1.25rem;
  margin: 0;
  color: var(--text-muted);
}

/* Contact page */
.contact-section p {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  /* text-align: center; */
  color: var(--text-muted);
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-top: 2.5rem;
}

.contact-info,
.contact-form-wrapper {
  flex: 1 1 320px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-soft);
  border-radius: 1.5rem;
  padding: 2rem;
  box-shadow: var(--shadow-soft);
}

.contact-info address,
.contact-info p {
  color: var(--text-muted);
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(29, 78, 216, 0.2);
  border-radius: 0.9rem;
  margin-bottom: 1rem;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

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

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(29, 78, 216, 0.45);
  box-shadow: 0 0 0 4px rgba(29, 78, 216, 0.12);
}

.contact-form button {
  align-self: start;
}

@media (max-width: 768px) {
  .contact-grid {
    flex-direction: column;
  }
}

/* Footer */
.site-footer,
footer {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text-muted);
  padding: 2.75rem 0;
  margin-top: auto;
  border-top: 1px solid rgba(99, 110, 175, 0.12);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-bottom: 1.25rem;
}

.footer-links a {
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

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

.footer-note {
  font-size: 0.75rem;
  text-align: center;
  color: rgba(75, 77, 115, 0.8);
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(25, 26, 45, 0.52);
  display: flex;
  align-items: center;
  justify-content: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2000;
}

.modal-content {
  background: #fff;
  color: var(--text-primary);
  border: 1px solid rgba(29, 78, 216, 0.18);
  padding: 2.25rem;
  border-radius: 1.5rem;
  max-width: 480px;
  width: 90%;
  text-align: center;
  box-shadow: 0 24px 60px rgba(29, 78, 216, 0.22);
}

.modal-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-outline,
.btn-secondary,
.btn-primary,
.btn-outline-light {
  font-family: "Inter", sans-serif;
}

/* Cookie Banner */
#cookieBanner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text-primary);
  border-top: 1px solid rgba(29, 78, 216, 0.12);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1500;
}

#cookieBanner p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

#cookieBanner .flex {
  display: flex;
  gap: 0.75rem;
}

#cookieBanner button {
  border-radius: 999px;
}

@media (min-width: 768px) {
  #cookieBanner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

/* Utility */
.hidden {
  display: none !important;
}

.translate-y-full {
  transform: translateY(100%) !important;
  opacity: 0 !important;
  visibility: hidden !important;
}

.pointer-events-none {
  pointer-events: none !important;
}

.card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border-soft);
  border-radius: 1.25rem;
  padding: 1.4rem;
  box-shadow: var(--shadow-soft);
}

.panel {
  padding: 0 1rem !important;
}

.link {
  color: var(--secondary);
}

.link:hover {
  text-decoration: underline;
}

.age-modal strong {
  color: var(--primary);
}

.age-modal a {
  color: var(--secondary);
}

/* Responsive tweaks */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-copy,
  .chips-grid,
  .hero-metrics {
    margin-left: auto;
    margin-right: auto;
  }

  .quick-card {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .cta-row {
    flex-direction: column;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }
}

main {
  flex: 1;
}
