/* ==================================================================
   Parrilla y Poker – Base Styles
   File: assets/css/base.css
   Purpose: Global design system + resets for parrillaypoker.com
   ================================================================== */

/* ==================================================================
   1) CSS Variables (Design Tokens)
   ================================================================== */
:root {
  /* Color Palette - warm, energetic, Argentine, restaurant + poker vibes */
  --color-bg: #fffaf3; /* warm cream background */
  --color-bg-alt: #fff4e1; /* subtle section contrast */
  --color-surface: #ffffff; /* cards, content surfaces */

  --color-text: #2b2520; /* main text */
  --color-text-muted: #7a6c61;
  --color-heading: #231712;

  --color-primary: #d62828; /* parrilla red – main CTA */
  --color-primary-hover: #b71f20;
  --color-primary-soft: rgba(214, 40, 40, 0.12);

  --color-accent: #ffb703; /* warm yellow accents */
  --color-accent-soft: rgba(255, 183, 3, 0.16);

  --color-success: #2f855a;
  --color-warning: #ed8936;
  --color-danger: #c53030;

  /* Neutral grays */
  --gray-50: #faf7f4;
  --gray-100: #f1ebe6;
  --gray-200: #e2d8cf;
  --gray-300: #d1c2b3;
  --gray-400: #b79f8a;
  --gray-500: #8a7560;
  --gray-600: #6b5847;
  --gray-700: #544335;
  --gray-800: #3b2e24;
  --gray-900: #241b15;

  /* Overlay & borders */
  --color-border-subtle: rgba(0, 0, 0, 0.06);
  --color-border-strong: rgba(0, 0, 0, 0.14);
  --color-overlay: rgba(12, 10, 9, 0.75);

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  --font-display: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --font-size-xs: 0.75rem;  /* 12px */
  --font-size-sm: 0.875rem; /* 14px */
  --font-size-base: 1rem;   /* 16px */
  --font-size-md: 1.0625rem;/* 17px */
  --font-size-lg: 1.25rem;  /* 20px */
  --font-size-xl: 1.5rem;   /* 24px */
  --font-size-2xl: 1.875rem;/* 30px */
  --font-size-3xl: 2.25rem; /* 36px */
  --font-size-4xl: 3rem;    /* 48px */

  --line-height-tight: 1.15;
  --line-height-snug: 1.3;
  --line-height-normal: 1.6;
  --line-height-relaxed: 1.8;

  /* Spacing Scale (px) */
  --space-0: 0;
  --space-4: 0.25rem;  /* 4px */
  --space-8: 0.5rem;   /* 8px */
  --space-12: 0.75rem; /* 12px */
  --space-16: 1rem;    /* 16px */
  --space-20: 1.25rem; /* 20px */
  --space-24: 1.5rem;  /* 24px */
  --space-32: 2rem;    /* 32px */
  --space-40: 2.5rem;  /* 40px */
  --space-48: 3rem;    /* 48px */
  --space-56: 3.5rem;  /* 56px */
  --space-64: 4rem;    /* 64px */
  --space-80: 5rem;    /* 80px */
  --space-96: 6rem;    /* 96px */

  /* Radii */
  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --radius-chip: 999px; /* poker chip-like */

  /* Shadows */
  --shadow-soft: 0 8px 20px rgba(0, 0, 0, 0.06);
  --shadow-medium: 0 14px 35px rgba(15, 8, 2, 0.16);
  --shadow-strong: 0 24px 60px rgba(15, 8, 2, 0.24);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-base: 200ms ease-out;
  --transition-slow: 280ms ease;

  /* Layout */
  --container-max-width: 1120px;
  --header-height: 72px;
}

/* Reduced motion adjustments */
@media (prefers-reduced-motion: reduce) {
  :root {
    --transition-fast: 0ms;
    --transition-base: 0ms;
    --transition-slow: 0ms;
  }
}

/* ==================================================================
   2) Reset / Normalize
   ================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

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

body {
  min-height: 100vh;
}

img,
video,
canvas,
svg,
picture {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

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

button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

/* Per requirement */
ul {
  list-style: none !important;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
figure {
  margin: 0;
}

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

/* Remove default focus outlines; we will re-add with :focus-visible */
:focus {
  outline: none;
}

/* ==================================================================
   3) Base Typography & Elements
   ================================================================== */

body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-normal);
  background-color: var(--color-bg);
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--color-heading);
  line-height: var(--line-height-snug);
  font-weight: 700;
}

h1 {
  font-size: var(--font-size-4xl);
  letter-spacing: -0.03em;
  margin-bottom: var(--space-16);
}

h2 {
  font-size: var(--font-size-3xl);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-12);
}

h3 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-8);
}

h4 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-8);
}

h5 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-4);
}

h6 {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
}

p {
  margin-bottom: var(--space-12);
  /* color: var(--color-text); */
}

small {
  font-size: var(--font-size-sm);
}

strong {
  font-weight: 600;
}

/* Links */
a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-base);
}

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

a:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Lists inside content blocks */
.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose ul {
  list-style: disc !important;
}

.prose ol {
  list-style: decimal;
}

/* Blockquotes (for testimonials / highlights) */
blockquote {
  margin: var(--space-24) 0;
  padding: var(--space-16) var(--space-20);
  border-left: 4px solid var(--color-primary);
  background-color: var(--color-primary-soft);
  border-radius: var(--radius-md);
}

/* ==================================================================
   4) Accessibility & Focus Styles
   ================================================================== */

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Screen-reader only text */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only-focusable:focus {
  position: static;
  width: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==================================================================
   5) Layout Utilities
   ================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-inline: auto;
  padding-inline: var(--space-16);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-24);
  }
}

.section {
  padding-top: var(--space-48);
  padding-bottom: var(--space-48);
}

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

.section-divider {
  border-top: 2px solid var(--color-border-strong);
  margin-block: var(--space-32);
}

/* Flex Helpers */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

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

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-8 {
  gap: var(--space-8);
}

.gap-12 {
  gap: var(--space-12);
}

.gap-16 {
  gap: var(--space-16);
}

.gap-24 {
  gap: var(--space-24);
}

.gap-32 {
  gap: var(--space-32);
}

/* Grid Helpers */
.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-24);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-24);
}

@media (max-width: 768px) {
  .grid-2,
  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Alignment */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mx-auto {
  margin-inline: auto;
}

.mt-16 {
  margin-top: var(--space-16);
}

.mt-24 {
  margin-top: var(--space-24);
}

.mt-32 {
  margin-top: var(--space-32);
}

.mb-0 {
  margin-bottom: 0;
}

.mb-16 {
  margin-bottom: var(--space-16);
}

.mb-24 {
  margin-bottom: var(--space-24);
}

.mb-32 {
  margin-bottom: var(--space-32);
}

.pt-24 {
  padding-top: var(--space-24);
}

.pb-24 {
  padding-bottom: var(--space-24);
}

/* Badges & poker-chip inspired UI */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge--primary {
  background: radial-gradient(circle at 30% 30%, #ffede1 0, #fbd3c6 40%, #d62828 100%);
  color: #fffaf3;
  box-shadow: 0 0 0 2px #ffffff, 0 0 0 4px rgba(214, 40, 40, 0.45);
}

.badge--accent {
  background-color: var(--color-accent);
  color: #3a2500;
}

.badge--outline {
  background-color: transparent;
  border: 1px dashed var(--color-primary);
  color: var(--color-primary);
}

/* Chip-like circular labels */
.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-chip);
  border: 2px solid var(--color-primary);
  background: conic-gradient(from 90deg, #fffaf3, #ffe1cc, #fffaf3);
  font-size: var(--font-size-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-heading);
}

.chip--soft {
  border-color: var(--color-accent);
  background: conic-gradient(from 60deg, #fffaf3, #fff1c8, #fffaf3);
}

/* ==================================================================
   6) Components – Buttons, Forms, Cards
   ================================================================== */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast),
    border-color var(--transition-base);
  will-change: transform;
}

.btn--primary {
  background: linear-gradient(135deg, #d62828, #b71f20);
  color: #fffaf3;
  box-shadow: 0 10px 18px rgba(214, 40, 40, 0.35);
}

.btn--primary:hover {
  background: linear-gradient(135deg, #b71f20, #8f1518);
  transform: translateY(-1px);
  box-shadow: 0 14px 25px rgba(152, 14, 14, 0.38);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 10px rgba(152, 14, 14, 0.45);
}

.btn--outline {
  background-color: transparent;
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn--outline:hover {
  background-color: var(--color-primary-soft);
}

.btn--ghost {
  background-color: transparent;
  color: var(--color-heading);
}

.btn--ghost:hover {
  background-color: var(--color-accent-soft);
}

.btn--sm {
  padding: 0.45rem 1rem;
  font-size: var(--font-size-xs);
}

.btn--lg {
  padding: 0.9rem 1.8rem;
  font-size: var(--font-size-md);
}

.btn[disabled],
.btn--disabled {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}

.btn:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* Icon-only buttons (for close, etc.) */
.icon-btn {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border-subtle);
  box-shadow: var(--shadow-soft);
}

.icon-btn:hover {
  background-color: var(--color-bg-alt);
}

/* Forms / Inputs */
.form-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  margin-bottom: var(--space-16);
}

label {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-heading);
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="date"],
input[type="time"],
select,
textarea {
  width: 100%;
  padding: 0.65rem 0.8rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border-subtle);
  background-color: #ffffff;
  font-size: var(--font-size-sm);
  line-height: 1.4;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

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

input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 1px var(--color-primary-soft);
  outline: 2px solid var(--color-accent);
  outline-offset: 1px;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

input[disabled],
select[disabled],
textarea[disabled] {
  background-color: var(--gray-100);
  cursor: not-allowed;
}

.form-hint {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.form-error {
  font-size: var(--font-size-xs);
  color: var(--color-danger);
}

/* Cards */
.card {
  background-color: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: var(--space-24);
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(0, 0, 0, 0.02);
}

.card--outlined {
  box-shadow: none;
  border: 1px solid var(--color-border-subtle);
}

.card--accent {
  border-top: 4px solid var(--color-primary);
}

.card-header {
  margin-bottom: var(--space-12);
}

.card-media {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--space-16);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Collapsible (for FAQ) */
.faq-item {
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-subtle);
  background-color: #fff;
  padding: var(--space-16) var(--space-20);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-12);
  cursor: pointer;
}

.faq-question h3,
.faq-question h4 {
  margin-bottom: 0;
}

.faq-answer {
  margin-top: var(--space-8);
  color: var(--color-text-muted);
}

/* Yellow highlight blocks (for info / warnings about offline nature) */
.highlight-box {
  border-radius: var(--radius-md);
  padding: var(--space-16) var(--space-20);
  background-color: var(--color-accent-soft);
  border-left: 4px solid var(--color-accent);
}

/* ==================================================================
   7) Header, Navigation & Footer Base
   ================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background-color: rgba(255, 250, 243, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.site-header__inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-heading);
  font-size: var(--font-size-sm);
}

.site-logo__mark {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #d62828, #ffb703, #d62828);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fffaf3;
  font-size: 0.8rem;
  box-shadow: 0 0 0 2px #fffaf3, 0 4px 12px rgba(0, 0, 0, 0.25);
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.nav__list {
  display: flex;
  align-items: center;
  gap: var(--space-16);
}

.nav__link {
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-heading);
  padding: 0.3rem 0.4rem;
  border-radius: var(--radius-xs);
  position: relative;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffb703, #d62828);
  border-radius: 999px;
  transition: width var(--transition-base);
}

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

.nav__link--cta {
  padding-inline: 0.8rem;
}

/* Mobile nav toggle - requirement: flex-direction: column */
.nav-toggle {
  display: none;
  width: 2.25rem;
  height: 2.25rem;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--color-border-subtle);
  background-color: #ffffff;
  box-shadow: var(--shadow-soft);
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  border-radius: 999px;
  background-color: var(--color-heading);
}

@media (max-width: 960px) {
  .nav__list {
    position: fixed;
    inset-inline: 0;
    top: var(--header-height);
    background-color: rgba(255, 250, 243, 0.98);
    flex-direction: column;
    padding: var(--space-16) var(--space-16) var(--space-24);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition:
      transform var(--transition-base),
      opacity var(--transition-base);
  }

  .nav__list.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-toggle {
    display: inline-flex;
  }
}

.site-footer {
  background-color: #201716;
  color: #fdf2e9;
  padding-top: var(--space-32);
  padding-bottom: var(--space-24);
  margin-top: var(--space-48);
}

.site-footer a {
  color: #fbd38d;
}

.site-footer a:hover {
  color: #ffe29b;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: var(--space-24);
  padding-top: var(--space-16);
  font-size: var(--font-size-xs);
  color: rgba(255, 244, 230, 0.76);
}

/* ==================================================================
   8) Page-Specific Helpers (Restaurant + Offline Poker)
   ================================================================== */

.hero {
  padding-top: calc(var(--space-48) + var(--header-height));
  padding-bottom: var(--space-56);
}

.hero__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: var(--space-32);
  align-items: center;
}

.hero__eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
}

.hero__title {
  font-size: clamp(2.4rem, 4vw, 3.3rem);
  line-height: var(--line-height-tight);
  margin-bottom: var(--space-16);
}

.hero__subtitle {
  font-size: var(--font-size-md);
  color: var(--color-text-muted);
  margin-bottom: var(--space-24);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  margin-top: var(--space-16);
}

.hero__image-wrapper {
  position: relative;
}

.hero__image-main {
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-medium);
}

.hero__badge-card {
  position: absolute;
  bottom: 10%;
  left: -6%;
  background-color: #201716;
  color: #fffaf3;
  padding: 0.9rem 1.1rem;
  border-radius: 18px;
  box-shadow: var(--shadow-strong);
  max-width: 220px;
  font-size: var(--font-size-xs);
}

.hero__badge-card strong {
  display: block;
  font-size: var(--font-size-sm);
  margin-bottom: 0.25rem;
}

@media (max-width: 960px) {
  .hero {
    padding-top: calc(var(--space-32) + var(--header-height));
    padding-bottom: var(--space-40);
  }

  .hero__layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero__badge-card {
    position: static;
    margin-top: var(--space-16);
  }
}

/* Poker nights highlight banners */
.poker-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-16);
  padding: var(--space-16) var(--space-20);
  border-radius: var(--radius-lg);
  background: linear-gradient(90deg, rgba(214, 40, 40, 0.94), #8b1b15);
  color: #fffaf3;
  box-shadow: var(--shadow-medium);
}

.poker-banner__title {
  font-family: var(--font-display);
  font-size: var(--font-size-lg);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.poker-banner__meta {
  font-size: var(--font-size-sm);
  opacity: 0.9;
}

/* FAQ page utilities */
.faq-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-12);
}

/* No horizontal overflow */
body {
  overflow-x: hidden;
}

/* ==================================================================
   9) Media Helpers
   ================================================================== */

.responsive-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 */
}

.responsive-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* Age restriction modal for Parrilla y Poker */

.age-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
}

.age-modal.is-active {
  display: block;
}

.age-modal__backdrop {
  position: absolute;
  inset: 0;
  background-color: var(--color-overlay);
}

.age-modal__content {
  position: absolute;
  inset: 0;
  margin: auto;
  max-width: 480px;
  max-height: max-content;
  background-color: var(--color-surface);
  border-radius: 24px;
  padding: var(--space-24);
  box-shadow: var(--shadow-strong);
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.age-modal__header {
  display: flex;
  justify-content: flex-end;
}

.age-modal__title {
  font-size: var(--font-size-2xl);
}

.age-modal__text {
  font-size: var(--font-size-sm);
  color: var(--color-text);
}

.age-modal__text--small {
  color: var(--color-text-muted);
}

.age-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-12);
  margin-top: var(--space-8);
}

.age-modal__btn {
  flex: 1 1 180px;
}

@media (max-width: 600px) {
  .age-modal__content {
    margin-inline: var(--space-16);
    border-radius: 18px;
    padding: var(--space-20);
  }
}
