/* ============================================
   PLAY Design Tokens — tokens.css
   Variables for colors, spacing, typography.
   Only :root custom properties belong here.
   ============================================ */

:root {
  /* --- Colors --- */
  --dark-blue: #1a2744;
  --medium-blue: #2a3f6b;
  --light-blue: #d6e6f5;
  --accent-green: #28a745;
  --accent-green-dark: #1e7e34;
  --accent-red: #dc3545;
  --accent-yellow: #ffc107;
  --accent-orange: #e8833a;
  --white: #ffffff;
  --off-white: #f4f6f9;
  --gray-100: #edf0f5;
  --gray-200: #d9dee8;
  --gray-500: #8895a7;
  --gray-700: #4a5568;
  --gray-900: #1a202c;

  /* --- Brand Gradients (Shared Backgrounds) --- */
  --gradient-dark-brand: radial-gradient(circle at 15% 15%, rgba(40, 167, 69, 0.22) 0%, transparent 55%),
                         radial-gradient(circle at 85% 85%, rgba(232, 131, 58, 0.18) 0%, transparent 55%),
                         radial-gradient(circle at 50% 50%, rgba(42, 63, 107, 0.3) 0%, transparent 70%),
                         linear-gradient(135deg, #091220 0%, #0c1c13 50%, #07160c 100%);

  /* --- Typography --- */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;

  /* --- Spacing scale --- */
  /* Shared rhythm so section padding stays proportional across the site. */
  --space-xs: 0.5rem;
  /* 8px  */
  --space-md: 1.5rem;
  /* 24px */
  --space-lg: 2.5rem;
  /* 40px */
  --space-xl: 4rem;
  /* 64px */
  --space-2xl: 6rem;
  /* 96px */

  /* --- Footer --- */
  /* Generous vertical weight on desktop; scaled down on mobile in layout.css. */
  --footer-padding-block: var(--space-2xl);
  --footer-padding-inline: var(--space-lg);
  --footer-min-height: 320px;
  --footer-font-size: 0.95rem;
  /* link / info text, readable on 4K */
  --footer-copyright-size: 0.85rem;

  /* --- Shadows --- */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.12);

  /* --- Border Radius --- */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  /* --- Transitions --- */
  --transition: 0.25s ease;

  /* --- Hero Typography --- */
  /* Base values are mobile-first; min-width breakpoints scale them up. */
  --fs-hero-title: 2.0rem;
  --fs-hero-body: 1.0rem;
  --lh-hero-title: 1.15;
  --ls-hero-title: -0.015em;
  --lh-hero-body: 1.6;
  --ls-hero-body: 0;

  --fs-page-hero-title: 1.9rem;
  --fs-page-hero-body: 1.0rem;
  --lh-page-hero-title: 1.15;
  --ls-page-hero-title: -0.015em;
  --lh-page-hero-body: 1.6;
  --ls-page-hero-body: 0;

  /* --- Hero Layout --- */
  --mw-hero-text: 540px;
  --mw-hero-content: 640px;

  /* --- Semantic surface/text tokens (light mode defaults) --- */
  --surface-bg: var(--off-white);
  --surface-card: var(--white);
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-700);
  --border-subtle: var(--gray-200);
}

@media (min-width: 769px) {
  :root {
    --fs-hero-title: 2.6rem;
    --fs-hero-body: 1.05rem;
    --lh-hero-title: 1.12;
    --ls-hero-title: -0.02em;
    --lh-hero-body: 1.65;

    --fs-page-hero-title: 2.6rem;
    --fs-page-hero-body: 1.05rem;
    --lh-page-hero-title: 1.12;
    --ls-page-hero-title: -0.02em;
    --lh-page-hero-body: 1.65;

    --mw-hero-text: 600px;
    --mw-hero-content: 700px;
  }
}

@media (min-width: 1100px) {
  :root {
    --fs-hero-title: 3.3rem;
    --fs-hero-body: 1.1rem;
    --lh-hero-title: 1.1;
    --ls-hero-title: -0.025em;
    --lh-hero-body: 1.7;

    --fs-page-hero-title: 3.3rem;
    --fs-page-hero-body: 1.1rem;
    --lh-page-hero-title: 1.1;
    --ls-page-hero-title: -0.025em;
    --lh-page-hero-body: 1.7;

    --mw-hero-text: 680px;
    --mw-hero-content: 780px;
  }
}

@media (min-width: 1440px) {
  :root {
    --fs-hero-title: 3.8rem;
    --fs-hero-body: 1.15rem;
    --lh-hero-title: 1.08;
    --ls-hero-title: -0.03em;
    --lh-hero-body: 1.7;

    --fs-page-hero-title: 3.8rem;
    --fs-page-hero-body: 1.15rem;
    --lh-page-hero-title: 1.08;
    --ls-page-hero-title: -0.03em;
    --lh-page-hero-body: 1.7;

    --mw-hero-text: 740px;
    --mw-hero-content: 840px;
  }
}

@media (min-width: 1920px) {
  :root {
    --fs-hero-title: 4.4rem;
    --fs-hero-body: 1.2rem;
    --lh-hero-title: 1.05;
    --ls-hero-title: -0.035em;
    --lh-hero-body: 1.75;

    --fs-page-hero-title: 4.4rem;
    --fs-page-hero-body: 1.2rem;
    --lh-page-hero-title: 1.05;
    --ls-page-hero-title: -0.035em;
    --lh-page-hero-body: 1.75;

    --mw-hero-text: 820px;
    --mw-hero-content: 950px;
  }
}

@media (min-width: 2560px) {
  :root {
    --fs-hero-title: 5.2rem;
    --fs-hero-body: 1.25rem;
    --lh-hero-title: 1.05;
    --ls-hero-title: -0.04em;
    --lh-hero-body: 1.8;

    --fs-page-hero-title: 5.2rem;
    --fs-page-hero-body: 1.25rem;
    --lh-page-hero-title: 1.05;
    --ls-page-hero-title: -0.04em;
    --lh-page-hero-body: 1.8;

    --mw-hero-text: 960px;
    --mw-hero-content: 1100px;
  }
}

@media (min-width: 3840px) {
  :root {
    --fs-hero-title: 6.2rem;
    --fs-hero-body: 1.35rem;
    --lh-hero-title: 1.05;
    --ls-hero-title: -0.04em;
    --lh-hero-body: 1.8;

    --fs-page-hero-title: 6.2rem;
    --fs-page-hero-body: 1.35rem;
    --lh-page-hero-title: 1.05;
    --ls-page-hero-title: -0.04em;
    --lh-page-hero-body: 1.8;

    --mw-hero-text: 1100px;
    --mw-hero-content: 1250px;
  }
}
