/* Header */
.site-header {
  position: relative;
  z-index: 1002;
  height: var(--header-height);
  flex-shrink: 0;
  background: var(--color-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-glass-border);
  transition: box-shadow var(--transition);
}

.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: var(--container);
  margin-inline: auto;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-navy);
}

.logo-link:hover { color: var(--color-primary); }

.site-logo {
  height: 44px;
  width: 220px;
  max-width: 100%;
  display: block;
  object-fit: contain;
}

.site-logo--footer {
  height: 48px;
  margin-bottom: 1rem;
}

.footer-logo-link {
  display: inline-block;
}

.badge-18 {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

/* Game iframe heading */
.game-frame-title {
  text-align: center;
  margin: 0 0 1.25rem;
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--color-navy);
}

.game-page-frame .container {
  padding: 1.5rem 1rem 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.game-preview-caption {
  text-align: center;
  margin-bottom: 1.25rem;
}

.game-preview-caption h2 {
  margin-bottom: 0.35rem;
}

.game-preview-caption p {
  color: var(--color-text-muted);
  margin: 0;
}

.game-card-single {
  max-width: 420px;
  margin: 0 auto;
}

.main-nav { display: none; }

.main-nav ul {
  display: flex;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--color-text);
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

.main-nav a:hover,
.main-nav a[aria-current="page"] {
  background: rgba(124, 58, 237, 0.1);
  color: var(--color-primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

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

.menu-toggle {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  flex-shrink: 0;
  z-index: 1;
}

.menu-toggle span {
  position: absolute;
  left: 50%;
  width: 22px;
  height: 3px;
  margin-left: -11px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.menu-toggle span:nth-child(1) { top: 13px; }
.menu-toggle span:nth-child(2) { top: 20px; }
.menu-toggle span:nth-child(3) { top: 27px; }

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  top: 20px;
  transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  top: 20px;
  transform: rotate(-45deg);
}

body.menu-open .site-header {
  box-shadow: var(--shadow-md);
}

.mobile-nav {
  position: fixed;
  top: var(--chrome-top-height);
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: 100%;
  background: var(--color-white);
  padding: 1.25rem 1.5rem 2rem;
  transform: translateX(100%);
  transition: transform var(--transition), visibility var(--transition);
  z-index: 1001;
  overflow-y: auto;
  visibility: hidden;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: -4px 0 24px rgba(30, 27, 75, 0.08);
}

.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
}

body.menu-open {
  overflow: hidden;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0 0;
}

.mobile-nav li:first-child a {
  border-top: none;
}

.mobile-nav a:not(.btn) {
  display: block;
  padding: 1rem 0.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-navy);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.mobile-nav a:not(.btn)[aria-current="page"] {
  color: var(--color-primary);
}

.mobile-nav .btn {
  display: flex;
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.9rem 1.75rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  border-bottom: none;
}

.mobile-nav-label {
  margin: 0 0 0.5rem;
  padding: 0 0.25rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

@media (min-width: 600px) and (max-width: 899px) {
  .mobile-nav {
    left: auto;
    width: min(380px, 88vw);
    padding: 1.5rem 2rem 2rem;
  }
}

@media (min-width: 900px) {
  .main-nav { display: block; }
  .header-actions .btn { display: inline-flex; }
  .menu-toggle { display: none; }
  .mobile-nav { display: none; }
}

/* Hero */
.hero {
  min-height: 85vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--color-bg);
  clip-path: ellipse(55% 100% at 50% 100%);
}

.hero-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  padding: 3rem 0 5rem;
}

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

.hero-content h1 {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.hero-content p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.15rem;
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}

.hero-badge {
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: var(--color-white);
  font-size: 0.85rem;
  font-weight: 600;
}

.hero-cta { display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-visual {
  position: relative;
  z-index: 2;
}

.hero-visual img {
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@media (min-width: 900px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
}

/* Game preview iframe */
.game-preview {
  padding: 0;
}

.game-preview-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: -3rem auto 0;
  padding: 0 1rem;
  z-index: 10;
}

.game-frame-wrapper {
  position: relative;
  width: 100%;
  min-height: 225px;
  background: #0c0a1e;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 4px solid rgba(255, 255, 255, 0.2);
}

.game-frame-viewport {
  transform-origin: top left;
  will-change: transform;
}

.game-frame-wrapper iframe {
  border: none;
  display: block;
  vertical-align: top;
}

/* Feature cards */
.feature-card {
  padding: 1.75rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  text-align: center;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.feature-card img {
  width: 100%;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  aspect-ratio: 3/2;
  object-fit: cover;
}

.feature-card h3 { margin-bottom: 0.5rem; }

.feature-card p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.95rem;
}

/* Split section */
.split-section {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

.split-section img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
  .split-section { grid-template-columns: 1fr 1fr; }
}

/* Game cards */
.game-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

.game-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.game-card img {
  width: 100%;
  aspect-ratio: 10/7;
  object-fit: cover;
}

.game-card-body {
  padding: 1.25rem;
  background: var(--color-white);
}

.game-card-body h3 { margin-bottom: 0.35rem; }

.game-card-body p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.game-card .tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  padding: 0.3rem 0.75rem;
  background: var(--color-secondary);
  color: var(--color-white);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 999px;
  text-transform: uppercase;
}

/* Benefit cards */
.benefit-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(124, 58, 237, 0.1);
  transition: transform var(--transition);
}

.benefit-card:hover { transform: translateY(-4px); }

.benefit-card img {
  width: 120px;
  height: auto;
  margin: 0 auto 1rem;
  border-radius: var(--radius-md);
}

/* Testimonials */
.testimonial-card {
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 4rem;
  font-family: Georgia, serif;
  color: var(--color-primary);
  opacity: 0.2;
  line-height: 1;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.testimonial-header img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-primary);
}

.testimonial-stars {
  color: var(--color-yellow);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

/* FAQ accordion */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  margin-bottom: 0.75rem;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
}

.faq-item summary {
  padding: 1.15rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--color-navy);
  transition: background var(--transition);
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-primary);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item summary:hover { background: rgba(124, 58, 237, 0.05); }

.faq-answer {
  padding: 0 1.5rem 1.15rem;
  color: var(--color-text-muted);
  animation: faqOpen 0.3s ease;
}

@keyframes faqOpen {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* CTA section */
.cta-section {
  background: var(--gradient-hero);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
  text-align: center;
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}

.cta-section h2,
.cta-section p { color: var(--color-white); }

.cta-section img {
  max-width: 200px;
  margin: 0 auto 1.5rem;
  border-radius: var(--radius-md);
}

/* Contact form */
.contact-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-grid { grid-template-columns: 1fr 1.2fr; }
}

.contact-info-card {
  padding: 1.75rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1rem;
}

.contact-info-card h3 {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.contact-info-card p {
  color: var(--color-text-muted);
  margin: 0;
  font-size: 0.95rem;
}

.contact-form {
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-navy);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 2px solid #e2e8f0;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--color-primary);
  outline: none;
}

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

.form-success {
  display: none;
  padding: 1rem;
  background: rgba(52, 211, 153, 0.15);
  border: 1px solid var(--color-success);
  border-radius: var(--radius-sm);
  color: #065f46;
  margin-top: 1rem;
}

.form-success.show { display: block; }

/* Team cards */
.team-card {
  text-align: center;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition);
}

.team-card:hover { transform: translateY(-4px); }

.team-card img {
  width: 100%;
  aspect-ratio: 8/9;
  object-fit: cover;
}

.team-card-body { padding: 1.25rem; }

.team-card-body p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin: 0;
}

/* Values */
.value-card {
  padding: 1.75rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
}

.value-card h3 { margin-bottom: 0.5rem; }

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

/* Responsible notice */
.responsible-notice {
  padding: 1.5rem;
  background: rgba(59, 130, 246, 0.08);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: var(--radius-md);
  margin: 2rem 0;
}

.responsible-notice h3 {
  color: #1d4ed8;
  margin-bottom: 0.5rem;
}

/* Game page full iframe */
.game-page-frame {
  padding-top: 0;
  background: var(--color-bg);
  min-height: auto;
}

.game-page-frame .container {
  max-width: 960px;
}

.game-page-frame .game-frame-wrapper {
  max-width: 100%;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  border: 4px solid rgba(124, 58, 237, 0.15);
}

/* Legal content */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.35rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  color: var(--color-text-muted);
}

.legal-content li { margin-bottom: 0.5rem; }

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
}

.legal-content th,
.legal-content td {
  padding: 0.75rem 1rem;
  text-align: left;
  border: 1px solid #e2e8f0;
  vertical-align: top;
}

.legal-content th {
  background: rgba(124, 58, 237, 0.08);
  color: var(--color-navy);
  font-weight: 700;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.legal-toc {
  padding: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid #e2e8f0;
  margin-bottom: 2rem;
}

.legal-toc ol {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

.legal-toc a { font-weight: 600; }

.legal-content code {
  padding: 0.15rem 0.4rem;
  background: rgba(124, 58, 237, 0.08);
  border-radius: 4px;
  font-size: 0.9em;
}

/* Footer */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.85);
  padding: 0;
}

.footer-accent-strip {
  padding: 0.85rem 0;
  background: linear-gradient(90deg, rgba(124, 58, 237, 0.35) 0%, rgba(236, 72, 153, 0.25) 50%, rgba(34, 211, 238, 0.2) 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-accent-inner {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-accent-strip p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.footer-accent-badge {
  flex-shrink: 0;
}

.footer-body {
  padding: 2.75rem 0 0;
}

.footer-main {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr 1.4fr;
    align-items: start;
  }
}

@media (min-width: 1024px) {
  .footer-main {
    grid-template-columns: minmax(220px, 1.1fr) minmax(280px, 1.6fr) minmax(200px, 0.9fr);
    gap: 2.5rem;
  }
}

.footer-identity .site-logo--footer {
  height: 44px;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9rem;
  line-height: 1.7;
  opacity: 0.8;
  margin: 0 0 1.25rem;
  max-width: 28ch;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 0.65rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  color: var(--color-white);
  font-weight: 700;
  font-size: 0.8rem;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.footer-social-btn:hover {
  background: var(--color-primary);
  border-color: transparent;
  color: var(--color-white);
  transform: translateY(-2px);
}

.footer-nav-panel {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

@media (min-width: 480px) and (max-width: 1023px) {
  .footer-nav-panel {
    flex-direction: row;
    gap: 2rem;
  }

  .footer-nav-block {
    flex: 1;
  }
}

.footer-nav-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 0.75rem;
}

.footer-nav-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.35rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-nav-row li {
  display: flex;
  align-items: center;
}

.footer-nav-row li:not(:last-child)::after {
  content: "·";
  margin-left: 0.35rem;
  opacity: 0.35;
  pointer-events: none;
}

.footer-nav-row a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  padding: 0.2rem 0;
  transition: color var(--transition);
}

.footer-nav-row a:hover {
  color: var(--color-accent);
}

.footer-contact-card {
  padding: 1.35rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  align-self: start;
}

.footer-email {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  word-break: break-all;
  margin-bottom: 0.35rem;
}

.footer-email:hover {
  color: var(--color-accent);
}

.footer-hours {
  margin: 0 0 1.15rem;
  font-size: 0.82rem;
  opacity: 0.65;
}

.footer-play-btn {
  width: 100%;
  justify-content: center;
  font-size: 0.9rem;
}

.footer-legal-note {
  padding: 1.25rem 1.5rem;
  margin-bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--color-secondary);
}

.footer-legal-note p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.65;
  opacity: 0.72;
}

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1.35rem 0;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  opacity: 0.65;
}

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

.footer-copy {
  font-weight: 600;
  opacity: 0.85;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 1rem;
  background: var(--color-navy);
  color: var(--color-white);
  box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.2);
}

.cookie-banner-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner p {
  margin: 0;
  font-size: 0.9rem;
  flex: 1;
  min-width: 200px;
}

.cookie-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.9rem;
}

.cookie-banner a { color: var(--color-accent); }

/* Age verification gate */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(30, 27, 75, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.age-gate[hidden] { display: none; }

body.age-locked,
body.age-denied {
  overflow: hidden;
}

body.age-denied #site-chrome-top,
body.age-denied main,
body.age-denied #site-chrome-bottom > :not(#age-gate) {
  visibility: hidden;
}

.age-gate-box {
  width: min(100%, 480px);
  padding: 2.25rem 2rem;
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: modalIn 0.4s ease;
}

.age-gate-badge {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.25rem;
  display: block;
}

.age-gate-box h2 {
  margin-bottom: 0.75rem;
  font-size: 1.65rem;
}

.age-gate-lead {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
}

.age-gate-box p {
  color: var(--color-text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.age-gate-question {
  font-weight: 700;
  color: var(--color-navy) !important;
  margin-top: 1.25rem !important;
  margin-bottom: 1.25rem !important;
}

.age-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 480px) {
  .age-gate-actions {
    flex-direction: row;
    justify-content: center;
  }
}

.age-gate-denied {
  color: #dc2626 !important;
  font-weight: 600;
  margin-top: 1rem !important;
}

/* Contact form success modal */
.modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal[hidden] { display: none; }

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30, 27, 75, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.modal-box {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 2rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  text-align: center;
  animation: modalIn 0.35s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(124, 58, 237, 0.1);
  color: var(--color-navy);
  font-size: 1.5rem;
  line-height: 1;
  border-radius: 50%;
  cursor: pointer;
  transition: background var(--transition);
}

.modal-close:hover { background: rgba(124, 58, 237, 0.2); }

.modal-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-cta);
  color: var(--color-white);
  font-size: 2rem;
  font-weight: 700;
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
}

.modal-box h2 {
  margin-bottom: 0.5rem;
  font-size: 1.5rem;
}

.modal-box p {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}
