/* ================================================================
   RIIVSTER DESIGN SYSTEM — styles.css
   Version: 1.0.0
   Brand: Riivster — "Beautiful collecting, made simple."
   Style: Apple-inspired, clean, modern, premium but playful
   Target: Kids 7-12 (not babyish)
   Font: Plus Jakarta Sans (300, 400, 700, 800)
   ================================================================ */

/* ── GOOGLE FONTS IMPORT ── */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;700;800&display=swap');

/* ================================================================
   1. DESIGN TOKENS (CSS Custom Properties)
   ================================================================ */
:root {
  /* ── Brand Colors ── */
  --color-blue:          #0071E3;  /* Crystal Blue — primary */
  --color-blue-hover:    #005BBB;
  --color-blue-active:   #004A99;
  --color-blue-light:    rgba(0, 113, 227, 0.08);
  --color-blue-ghost:    rgba(0, 113, 227, 0.12);

  --color-dark:          #1A1A2A;  /* Deep Space — headings, dark bg */
  --color-dark-hover:    #12121E;
  --color-dark-active:   #0A0A14;
  --color-dark-muted:    #2A2A3E;

  --color-white:         #F8FAFF;  /* Arctic White — page bg */
  --color-pure-white:    #FFFFFF;

  --color-coral:         #FF6058;  /* Coral — destructive, alerts */
  --color-coral-hover:   #E54E47;
  --color-coral-light:   rgba(255, 96, 88, 0.10);

  --color-violet:        #6E6AFF;  /* Violet — accent, badges */
  --color-violet-hover:  #5B57E6;
  --color-violet-light:  rgba(110, 106, 255, 0.10);

  --color-gold:          #FF9900;  /* Gold — premium, highlights */
  --color-gold-hover:    #E68A00;
  --color-gold-light:    rgba(255, 153, 0, 0.10);

  --color-green:         #22C55E;  /* Green — success, positive */
  --color-green-hover:   #1DAF54;
  --color-green-light:   rgba(34, 197, 94, 0.10);

  --color-platinum:      #E8EAF0;  /* Platinum — borders, dividers */
  --color-muted:         #6B7280;  /* Muted — secondary text */
  --color-muted-light:   #9CA3AF;

  /* ── Surfaces ── */
  --surface-page:        var(--color-white);
  --surface-card:        var(--color-pure-white);
  --surface-raised:      var(--color-pure-white);
  --surface-inset:       #F1F3F8;
  --surface-dark:        var(--color-dark);
  --surface-dark-card:   rgba(255, 255, 255, 0.06);

  /* ── Typography ── */
  --font-family:         'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-weight-light:   300;
  --font-weight-regular: 400;
  --font-weight-bold:    700;
  --font-weight-extra:   800;

  --heading-tracking:    -0.04em;
  --body-tracking:       -0.01em;

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

  /* ── Type Scale (mobile-first) ── */
  --text-xs:             0.75rem;    /* 12px */
  --text-sm:             0.8125rem;  /* 13px */
  --text-base:           1rem;       /* 16px */
  --text-md:             1.0625rem;  /* 17px */
  --text-lg:             1.125rem;   /* 18px */
  --text-xl:             1.25rem;    /* 20px */
  --text-2xl:            1.5rem;     /* 24px */
  --text-3xl:            2rem;       /* 32px */
  --text-4xl:            2.5rem;     /* 40px */
  --text-5xl:            3.25rem;    /* 52px */
  --text-6xl:            4rem;       /* 64px */

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

  /* ── Borders & Radii ── */
  --radius-sm:     8px;
  --radius-md:     12px;
  --radius-lg:     16px;
  --radius-xl:     20px;
  --radius-2xl:    24px;
  --radius-full:   9999px;
  --border-color:  var(--color-platinum);
  --border:        1px solid var(--color-platinum);

  /* ── Shadows ── */
  --shadow-xs:     0 1px 2px rgba(26, 26, 42, 0.04);
  --shadow-sm:     0 2px 8px rgba(26, 26, 42, 0.06);
  --shadow-md:     0 4px 16px rgba(26, 26, 42, 0.08);
  --shadow-lg:     0 8px 32px rgba(26, 26, 42, 0.10);
  --shadow-xl:     0 16px 48px rgba(26, 26, 42, 0.14);
  --shadow-card:   0 2px 12px rgba(26, 26, 42, 0.06);
  --shadow-card-hover: 0 8px 28px rgba(26, 26, 42, 0.12);
  --shadow-blue:   0 4px 20px rgba(0, 113, 227, 0.25);
  --shadow-inset:  inset 0 1px 2px rgba(26, 26, 42, 0.06);

  /* ── Transitions ── */
  --transition-fast:    150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base:    250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:    400ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring:  500ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ── Z-Index Scale ── */
  --z-base:      1;
  --z-dropdown:  10;
  --z-sticky:    20;
  --z-overlay:   30;
  --z-modal:     40;
  --z-toast:     50;

  /* ── Layout ── */
  --container-sm:   640px;
  --container-md:   768px;
  --container-lg:   1024px;
  --container-xl:   1200px;
  --container-2xl:  1440px;
  --gutter:         var(--space-6);
}


/* ================================================================
   2. RESET & BASE
   ================================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-regular);
  font-size: var(--text-base);
  line-height: var(--line-height-normal);
  letter-spacing: var(--body-tracking);
  color: var(--color-dark);
  background-color: var(--surface-page);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--color-blue);
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

ul, ol {
  list-style: none;
}

::selection {
  background: rgba(0, 113, 227, 0.15);
  color: var(--color-dark);
}


/* ================================================================
   3. TYPOGRAPHY
   ================================================================ */

/* ── Headings ── */
h1, h2, h3, h4,
.h1, .h2, .h3, .h4 {
  font-weight: var(--font-weight-extra);
  letter-spacing: var(--heading-tracking);
  line-height: var(--line-height-tight);
  color: var(--color-dark);
}

h1, .h1 {
  font-size: var(--text-4xl);
  line-height: 1.1;
}

h2, .h2 {
  font-size: var(--text-3xl);
}

h3, .h3 {
  font-size: var(--text-2xl);
}

h4, .h4 {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-bold);
}

/* ── Body Text ── */
.text-body {
  font-size: var(--text-md);
  line-height: var(--line-height-normal);
  color: var(--color-muted);
}

.text-small {
  font-size: var(--text-sm);
  line-height: var(--line-height-normal);
  color: var(--color-muted);
}

.text-xs {
  font-size: var(--text-xs);
  line-height: var(--line-height-normal);
  color: var(--color-muted-light);
}

.text-lead {
  font-size: var(--text-lg);
  line-height: var(--line-height-relaxed);
  color: var(--color-muted);
  font-weight: var(--font-weight-light);
}

/* ── Nav Text ── */
.text-nav {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0;
  line-height: 1;
}

/* ── Button Text ── */
.text-btn {
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.01em;
  line-height: 1;
}

/* ── Tagline ── */
.text-tagline {
  font-size: var(--text-base);
  font-weight: var(--font-weight-light);
  color: var(--color-muted);
  letter-spacing: 0.01em;
}

/* ── Overline / Label ── */
.text-overline {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-blue);
}

/* ── Desktop Scale Bumps ── */
@media (min-width: 768px) {
  h1, .h1 { font-size: var(--text-5xl); }
  h2, .h2 { font-size: var(--text-4xl); }
  h3, .h3 { font-size: var(--text-3xl); }
  .text-lead { font-size: var(--text-xl); }
}

@media (min-width: 1024px) {
  h1, .h1 { font-size: var(--text-6xl); }
  h2, .h2 { font-size: var(--text-5xl); }
}


/* ================================================================
   4. WORDMARK
   ================================================================ */
.wordmark {
  font-family: var(--font-family);
  font-weight: var(--font-weight-extra);
  letter-spacing: var(--heading-tracking);
  line-height: 1;
  white-space: nowrap;
  font-size: 28px;
}

.wordmark-ri {
  color: var(--color-blue);
}

/* Light background: "ivster" in Deep Space */
.wordmark-rest {
  color: var(--color-dark);
}

/* Dark background variant */
.wordmark--dark .wordmark-rest {
  color: var(--color-pure-white);
}

/* On blue background */
.wordmark--on-blue .wordmark-ri {
  color: var(--color-pure-white);
}
.wordmark--on-blue .wordmark-rest {
  color: rgba(255, 255, 255, 0.42);
}

/* Single color */
.wordmark--mono {
  color: var(--color-blue);
}


/* ================================================================
   5. LAYOUT & GRID
   ================================================================ */

/* ── Container ── */
.container {
  width: 100%;
  max-width: var(--container-xl);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.container--sm  { max-width: var(--container-sm); }
.container--md  { max-width: var(--container-md); }
.container--lg  { max-width: var(--container-lg); }
.container--xl  { max-width: var(--container-xl); }
.container--2xl { max-width: var(--container-2xl); }
.container--full { max-width: 100%; }

/* ── Grid ── */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  :root { --gutter: var(--space-8); }
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
  :root { --gutter: var(--space-10); }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1440px) {
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
}

/* ── Flex Utilities ── */
.flex       { display: flex; }
.flex-col   { flex-direction: column; }
.flex-wrap  { flex-wrap: wrap; }
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2  { gap: var(--space-2); }
.gap-3  { gap: var(--space-3); }
.gap-4  { gap: var(--space-4); }
.gap-6  { gap: var(--space-6); }
.gap-8  { gap: var(--space-8); }

/* ── Sections ── */
.section {
  padding: var(--space-16) 0;
}

.section--sm {
  padding: var(--space-10) 0;
}

.section--lg {
  padding: var(--space-20) 0;
}

@media (min-width: 768px) {
  .section    { padding: var(--space-20) 0; }
  .section--sm { padding: var(--space-12) 0; }
  .section--lg { padding: var(--space-24) 0; }
}


/* ================================================================
   6. BUTTONS
   ================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 14px 28px;
  font-family: var(--font-family);
  font-size: var(--text-base);
  font-weight: var(--font-weight-bold);
  letter-spacing: -0.01em;
  line-height: 1;
  border: 2px solid transparent;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition:
    background var(--transition-base),
    color var(--transition-base),
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-fast);
  white-space: nowrap;
  text-decoration: none;
  outline: none;
  -webkit-user-select: none;
  user-select: none;
}

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

.btn:active {
  transform: scale(0.97);
}

/* ── Primary (Crystal Blue) ── */
.btn--primary {
  background: var(--color-blue);
  color: var(--color-pure-white);
  border-color: var(--color-blue);
}

.btn--primary:hover {
  background: var(--color-blue-hover);
  border-color: var(--color-blue-hover);
  box-shadow: var(--shadow-blue);
  color: var(--color-pure-white);
}

.btn--primary:active {
  background: var(--color-blue-active);
  border-color: var(--color-blue-active);
}

/* ── Secondary (Deep Space) ── */
.btn--secondary {
  background: var(--color-dark);
  color: var(--color-pure-white);
  border-color: var(--color-dark);
}

.btn--secondary:hover {
  background: var(--color-dark-hover);
  border-color: var(--color-dark-hover);
  box-shadow: var(--shadow-lg);
  color: var(--color-pure-white);
}

.btn--secondary:active {
  background: var(--color-dark-active);
}

/* ── Outline ── */
.btn--outline {
  background: transparent;
  color: var(--color-dark);
  border-color: var(--color-platinum);
}

.btn--outline:hover {
  background: var(--surface-inset);
  border-color: var(--color-muted-light);
  color: var(--color-dark);
}

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

.btn--outline-blue:hover {
  background: var(--color-blue);
  color: var(--color-pure-white);
  box-shadow: var(--shadow-blue);
}

/* ── Ghost ── */
.btn--ghost {
  background: transparent;
  color: var(--color-blue);
  border-color: transparent;
  padding: 14px 16px;
}

.btn--ghost:hover {
  background: var(--color-blue-light);
  color: var(--color-blue-hover);
}

/* ── Coral (destructive / alert) ── */
.btn--coral {
  background: var(--color-coral);
  color: var(--color-pure-white);
  border-color: var(--color-coral);
}

.btn--coral:hover {
  background: var(--color-coral-hover);
  border-color: var(--color-coral-hover);
}

/* ── Sizes ── */
.btn--sm {
  padding: 10px 20px;
  font-size: var(--text-sm);
  border-radius: var(--radius-full);
}

.btn--lg {
  padding: 18px 36px;
  font-size: var(--text-lg);
}

.btn--xl {
  padding: 22px 44px;
  font-size: var(--text-xl);
}

/* ── Icon Button (square) ── */
.btn--icon {
  padding: 12px;
  border-radius: var(--radius-md);
}

.btn--icon.btn--sm { padding: 8px; }
.btn--icon.btn--lg { padding: 16px; }

/* ── Full Width ── */
.btn--full {
  width: 100%;
}

/* ── Disabled ── */
.btn:disabled,
.btn--disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: not-allowed;
}


/* ================================================================
   7. CARDS
   ================================================================ */
.card {
  background: var(--surface-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-platinum);
  overflow: hidden;
  transition:
    box-shadow var(--transition-base),
    transform var(--transition-base),
    border-color var(--transition-base);
}

.card:hover {
  box-shadow: var(--shadow-card-hover);
  border-color: transparent;
}

/* ── Interactive Card (link/clickable) ── */
.card--interactive {
  cursor: pointer;
}

.card--interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.card--interactive:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

/* ── Card Image ── */
.card__image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.card__image--square {
  aspect-ratio: 1 / 1;
}

.card__image--card-ratio {
  aspect-ratio: 63 / 88;  /* Standard trading card ratio */
}

/* ── Card Body ── */
.card__body {
  padding: var(--space-6);
}

.card__body--compact {
  padding: var(--space-4);
}

/* ── Card Title ── */
.card__title {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-bold);
  letter-spacing: var(--heading-tracking);
  color: var(--color-dark);
  margin-bottom: var(--space-2);
}

/* ── Card Description ── */
.card__desc {
  font-size: var(--text-sm);
  color: var(--color-muted);
  line-height: var(--line-height-relaxed);
}

/* ── Card Footer ── */
.card__footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--color-platinum);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ── Card Variants ── */
.card--flat {
  border: none;
  box-shadow: var(--shadow-xs);
}

.card--flat:hover {
  box-shadow: var(--shadow-md);
}

.card--outline {
  background: transparent;
  border: 2px solid var(--color-platinum);
}

.card--blue {
  background: var(--color-blue);
  border-color: var(--color-blue);
  color: var(--color-pure-white);
}

.card--blue .card__title { color: var(--color-pure-white); }
.card--blue .card__desc  { color: rgba(255, 255, 255, 0.7); }
.card--blue .card__footer { border-color: rgba(255, 255, 255, 0.15); }

.card--dark {
  background: var(--color-dark);
  border-color: var(--color-dark-muted);
  color: var(--color-pure-white);
}

.card--dark .card__title { color: var(--color-pure-white); }
.card--dark .card__desc  { color: rgba(255, 255, 255, 0.6); }
.card--dark .card__footer { border-color: rgba(255, 255, 255, 0.08); }

/* ── Card Glow on Hover (premium feel) ── */
.card--glow:hover {
  box-shadow:
    var(--shadow-card-hover),
    0 0 0 1px rgba(0, 113, 227, 0.08),
    0 4px 24px rgba(0, 113, 227, 0.06);
}


/* ================================================================
   8. FORM INPUTS
   ================================================================ */
.input {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-family);
  font-size: var(--text-md);
  font-weight: var(--font-weight-regular);
  color: var(--color-dark);
  background: var(--surface-card);
  border: 2px solid var(--color-platinum);
  border-radius: var(--radius-lg);
  outline: none;
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base);
  -webkit-appearance: none;
  appearance: none;
}

.input::placeholder {
  color: var(--color-muted-light);
  font-weight: var(--font-weight-regular);
}

.input:hover {
  border-color: var(--color-muted-light);
}

.input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.10);
}

/* ── Input Sizes ── */
.input--sm {
  padding: 12px 16px;
  font-size: var(--text-sm);
  border-radius: var(--radius-md);
}

.input--lg {
  padding: 20px 24px;
  font-size: var(--text-lg);
  border-radius: var(--radius-xl);
}

/* ── Input States ── */
.input--error {
  border-color: var(--color-coral);
}

.input--error:focus {
  border-color: var(--color-coral);
  box-shadow: 0 0 0 4px var(--color-coral-light);
}

.input--success {
  border-color: var(--color-green);
}

.input--success:focus {
  border-color: var(--color-green);
  box-shadow: 0 0 0 4px var(--color-green-light);
}

/* ── Textarea ── */
textarea.input {
  min-height: 120px;
  resize: vertical;
  line-height: var(--line-height-normal);
}

/* ── Select ── */
select.input {
  padding-right: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  cursor: pointer;
}

/* ── Label ── */
.label {
  display: block;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-dark);
  margin-bottom: var(--space-2);
}

/* ── Helper / Error Text ── */
.input-helper {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-muted);
  margin-top: var(--space-1);
}

.input-error {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-coral);
  margin-top: var(--space-1);
  font-weight: var(--font-weight-bold);
}

/* ── Checkbox / Radio (custom) ── */
.checkbox,
.radio {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  font-size: var(--text-base);
}

.checkbox input,
.radio input {
  width: 22px;
  height: 22px;
  border: 2px solid var(--color-platinum);
  background: var(--surface-card);
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.checkbox input {
  border-radius: var(--radius-sm);
}

.radio input {
  border-radius: 50%;
}

.checkbox input:checked,
.radio input:checked {
  background: var(--color-blue);
  border-color: var(--color-blue);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='M3 7l3 3 5-5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.radio input:checked {
  background-image: none;
  box-shadow: inset 0 0 0 4px var(--color-pure-white);
}

/* ── Search Input ── */
.input-search {
  padding-left: 48px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: 16px center;
}


/* ================================================================
   9. NAVIGATION
   ================================================================ */

/* ── Top Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-sticky);
  background: rgba(248, 250, 255, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid rgba(232, 234, 240, 0.6);
  padding: 0 var(--gutter);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container-xl);
  margin: 0 auto;
  height: 64px;
}

.nav__logo {
  flex-shrink: 0;
}

.nav__links {
  display: none;
  gap: var(--space-1);
  align-items: center;
}

.nav__link {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-muted);
  padding: 8px 16px;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.nav__link:hover {
  color: var(--color-dark);
  background: var(--surface-inset);
}

.nav__link--active {
  color: var(--color-blue);
  background: var(--color-blue-light);
}

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

/* ── Hamburger ── */
.nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: var(--radius-md);
  transition: background var(--transition-fast);
}

.nav__hamburger:hover {
  background: var(--surface-inset);
}

.nav__hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
  transition: all var(--transition-base);
  transform-origin: center;
}

/* Hamburger open state */
.nav__hamburger--open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__hamburger--open span:nth-child(2) {
  opacity: 0;
}

.nav__hamburger--open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Menu ── */
.nav__mobile {
  display: none;
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--surface-page);
  z-index: var(--z-overlay);
  padding: var(--space-8) var(--gutter);
  overflow-y: auto;
}

.nav__mobile--open {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  animation: fadeSlideDown 250ms ease-out;
}

.nav__mobile .nav__link {
  font-size: var(--text-xl);
  padding: var(--space-4) var(--space-4);
  border-radius: var(--radius-lg);
  display: block;
}

/* ── Desktop: show links, hide hamburger ── */
@media (min-width: 768px) {
  .nav__links {
    display: flex;
  }

  .nav__hamburger {
    display: none;
  }

  .nav__mobile {
    display: none !important;
  }
}


/* ================================================================
   10. FOOTER
   ================================================================ */
.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-16) 0 var(--space-8);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-10);
  margin-bottom: var(--space-12);
}

.footer__brand {
  max-width: 280px;
}

.footer__tagline {
  font-size: var(--text-sm);
  font-weight: var(--font-weight-light);
  color: rgba(255, 255, 255, 0.42);
  margin-top: var(--space-4);
  line-height: var(--line-height-relaxed);
}

.footer__heading {
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: var(--space-5);
}

.footer__link {
  display: block;
  font-size: var(--text-sm);
  color: rgba(255, 255, 255, 0.6);
  padding: var(--space-1) 0;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.footer__link:hover {
  color: var(--color-pure-white);
}

.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  font-size: var(--text-xs);
  color: rgba(255, 255, 255, 0.28);
}

.footer__bottom a {
  color: rgba(255, 255, 255, 0.42);
}

.footer__bottom a:hover {
  color: var(--color-pure-white);
}

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

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}


/* ================================================================
   11. HERO SECTION
   ================================================================ */
.hero {
  position: relative;
  padding: var(--space-20) 0;
  overflow: hidden;
  text-align: center;
}

.hero--tall {
  padding: var(--space-24) 0;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
}

.hero__title {
  margin-bottom: var(--space-6);
}

.hero__subtitle {
  font-size: var(--text-lg);
  font-weight: var(--font-weight-light);
  color: var(--color-muted);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--space-8);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero__actions {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ── Hero on Dark ── */
.hero--dark {
  background: var(--color-dark);
  color: var(--color-pure-white);
}

.hero--dark .hero__title {
  color: var(--color-pure-white);
}

.hero--dark .hero__subtitle {
  color: rgba(255, 255, 255, 0.6);
}

/* ── Hero on Blue ── */
.hero--blue {
  background: var(--color-blue);
  color: var(--color-pure-white);
}

.hero--blue .hero__title {
  color: var(--color-pure-white);
}

.hero--blue .hero__subtitle {
  color: rgba(255, 255, 255, 0.75);
}

/* ── Hero Gradient Mesh (subtle background pattern) ── */
.hero--mesh::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 140%;
  height: 200%;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 113, 227, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(110, 106, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(255, 153, 0, 0.03) 0%, transparent 50%);
  z-index: 1;
  pointer-events: none;
}

/* ── Hero Dot Grid (subtle pattern) ── */
.hero--dots::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, var(--color-platinum) 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.5;
  z-index: 1;
  pointer-events: none;
}

@media (min-width: 768px) {
  .hero { padding: var(--space-24) 0; }
  .hero--tall { padding: 0; min-height: 90vh; }
  .hero__subtitle { font-size: var(--text-xl); }
}


/* ================================================================
   12. DARK SECTIONS
   ================================================================ */
.dark-section {
  background: var(--color-dark);
  color: var(--color-pure-white);
}

.dark-section h1,
.dark-section h2,
.dark-section h3,
.dark-section h4,
.dark-section .h1,
.dark-section .h2,
.dark-section .h3,
.dark-section .h4 {
  color: var(--color-pure-white);
}

.dark-section .text-body,
.dark-section .text-lead {
  color: rgba(255, 255, 255, 0.6);
}

.dark-section .text-small,
.dark-section .text-tagline {
  color: rgba(255, 255, 255, 0.42);
}

.dark-section .text-overline {
  color: rgba(0, 113, 227, 0.8);
}

.dark-section .card {
  background: var(--surface-dark-card);
  border-color: rgba(255, 255, 255, 0.06);
}

.dark-section .input {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  color: var(--color-pure-white);
}

.dark-section .input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}

.dark-section .input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.15);
}

.dark-section .btn--outline {
  color: var(--color-pure-white);
  border-color: rgba(255, 255, 255, 0.2);
}

.dark-section .btn--outline:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.4);
}

.dark-section .btn--ghost {
  color: rgba(255, 255, 255, 0.7);
}

.dark-section .btn--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--color-pure-white);
}

.dark-section a {
  color: var(--color-blue);
}


/* ================================================================
   13. BADGES & CHIPS
   ================================================================ */

/* ── Badge (small inline label) ── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 4px 12px;
  font-size: var(--text-xs);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-full);
  line-height: 1.4;
  white-space: nowrap;
}

.badge--blue {
  background: var(--color-blue-light);
  color: var(--color-blue);
}

.badge--dark {
  background: var(--color-dark);
  color: var(--color-pure-white);
}

.badge--coral {
  background: var(--color-coral-light);
  color: var(--color-coral);
}

.badge--violet {
  background: var(--color-violet-light);
  color: var(--color-violet);
}

.badge--gold {
  background: var(--color-gold-light);
  color: var(--color-gold);
}

.badge--green {
  background: var(--color-green-light);
  color: var(--color-green);
}

.badge--platinum {
  background: var(--color-platinum);
  color: var(--color-muted);
}

/* ── Chip (selectable / removable tag) ── */
.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-dark);
  background: var(--surface-inset);
  border: 1px solid var(--color-platinum);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.chip:hover {
  background: var(--color-platinum);
  border-color: var(--color-muted-light);
}

.chip--active {
  background: var(--color-blue);
  color: var(--color-pure-white);
  border-color: var(--color-blue);
}

.chip--active:hover {
  background: var(--color-blue-hover);
  border-color: var(--color-blue-hover);
}

.chip__remove {
  width: 16px;
  height: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.1);
  font-size: 10px;
  line-height: 1;
  transition: background var(--transition-fast);
}

.chip__remove:hover {
  background: rgba(0, 0, 0, 0.2);
}

.chip--active .chip__remove {
  background: rgba(255, 255, 255, 0.2);
}

/* ── Chip Group ── */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
}


/* ================================================================
   14. TAB NAVIGATION
   ================================================================ */

/* ── Standard Tabs (top) ── */
.tabs {
  display: flex;
  gap: var(--space-1);
  border-bottom: 1px solid var(--color-platinum);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
  display: none;
}

.tab {
  flex-shrink: 0;
  padding: var(--space-4) var(--space-5);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  color: var(--color-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  margin-bottom: -1px;
}

.tab:hover {
  color: var(--color-dark);
}

.tab--active {
  color: var(--color-blue);
  border-bottom-color: var(--color-blue);
}

/* ── Pill Tabs (rounded, no border) ── */
.tabs--pill {
  border-bottom: none;
  background: var(--surface-inset);
  border-radius: var(--radius-full);
  padding: 4px;
  gap: 0;
}

.tabs--pill .tab {
  border-bottom: none;
  border-radius: var(--radius-full);
  padding: 10px 20px;
  margin-bottom: 0;
}

.tabs--pill .tab--active {
  background: var(--surface-card);
  color: var(--color-dark);
  box-shadow: var(--shadow-xs);
}

/* ── Bottom Tabs (mobile app feel) ── */
.bottom-tabs {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  display: flex;
  background: rgba(248, 250, 255, 0.92);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-top: 1px solid rgba(232, 234, 240, 0.6);
  padding: var(--space-2) 0;
  padding-bottom: calc(var(--space-2) + env(safe-area-inset-bottom, 0px));
}

.bottom-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: var(--space-2) var(--space-1);
  font-size: 10px;
  font-weight: var(--font-weight-bold);
  color: var(--color-muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.bottom-tab:hover {
  color: var(--color-dark);
}

.bottom-tab--active {
  color: var(--color-blue);
}

.bottom-tab__icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-tab__icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}

.bottom-tab--active .bottom-tab__icon svg {
  stroke-width: 2.5;
}

/* ── Hide bottom tabs on desktop ── */
@media (min-width: 768px) {
  .bottom-tabs {
    display: none;
  }
}

/* ── Add padding to body when bottom tabs are present ── */
.has-bottom-tabs {
  padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  .has-bottom-tabs {
    padding-bottom: 0;
  }
}


/* ================================================================
   15. ANIMATIONS
   ================================================================ */

/* ── Fade In ── */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 400ms ease-out both;
}

/* ── Fade Slide Up ── */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-up {
  animation: fadeSlideUp 500ms ease-out both;
}

/* ── Fade Slide Down ── */
@keyframes fadeSlideDown {
  from {
    opacity: 0;
    transform: translateY(-12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-slide-down {
  animation: fadeSlideDown 300ms ease-out both;
}

/* ── Scale In ── */
@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-scale-in {
  animation: scaleIn 300ms ease-out both;
}

/* ── Subtle Float (for hero elements) ── */
@keyframes subtleFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

.animate-float {
  animation: subtleFloat 4s ease-in-out infinite;
}

/* ── Pulse Glow (for CTAs) ── */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0, 113, 227, 0.3); }
  50%      { box-shadow: 0 0 0 8px rgba(0, 113, 227, 0); }
}

.animate-pulse-glow {
  animation: pulseGlow 2.5s ease-in-out infinite;
}

/* ── Sparkle (for premium elements) ── */
@keyframes sparkle {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.15); }
}

.animate-sparkle {
  animation: sparkle 2s ease-in-out infinite;
}

/* ── Stagger children (use with JS or nth-child) ── */
.stagger > * {
  animation: fadeSlideUp 500ms ease-out both;
}

.stagger > *:nth-child(1) { animation-delay: 0ms; }
.stagger > *:nth-child(2) { animation-delay: 80ms; }
.stagger > *:nth-child(3) { animation-delay: 160ms; }
.stagger > *:nth-child(4) { animation-delay: 240ms; }
.stagger > *:nth-child(5) { animation-delay: 320ms; }
.stagger > *:nth-child(6) { animation-delay: 400ms; }
.stagger > *:nth-child(7) { animation-delay: 480ms; }
.stagger > *:nth-child(8) { animation-delay: 560ms; }

/* ── Intersection Observer trigger class ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease-out, transform 600ms ease-out;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}


/* ================================================================
   16. UTILITY CLASSES
   ================================================================ */

/* ── Text Alignment ── */
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ── Text Colors ── */
.text-blue    { color: var(--color-blue); }
.text-dark    { color: var(--color-dark); }
.text-white   { color: var(--color-pure-white); }
.text-coral   { color: var(--color-coral); }
.text-violet  { color: var(--color-violet); }
.text-gold    { color: var(--color-gold); }
.text-green   { color: var(--color-green); }
.text-muted   { color: var(--color-muted); }

/* ── Background Colors ── */
.bg-white    { background-color: var(--color-white); }
.bg-dark     { background-color: var(--color-dark); }
.bg-blue     { background-color: var(--color-blue); }
.bg-inset    { background-color: var(--surface-inset); }
.bg-platinum { background-color: var(--color-platinum); }

/* ── Spacing (margin/padding) ── */
.mt-0  { margin-top: 0; }
.mt-2  { margin-top: var(--space-2); }
.mt-4  { margin-top: var(--space-4); }
.mt-6  { margin-top: var(--space-6); }
.mt-8  { margin-top: var(--space-8); }
.mt-10 { margin-top: var(--space-10); }
.mt-12 { margin-top: var(--space-12); }
.mt-16 { margin-top: var(--space-16); }

.mb-0  { margin-bottom: 0; }
.mb-2  { margin-bottom: var(--space-2); }
.mb-4  { margin-bottom: var(--space-4); }
.mb-6  { margin-bottom: var(--space-6); }
.mb-8  { margin-bottom: var(--space-8); }
.mb-10 { margin-bottom: var(--space-10); }
.mb-12 { margin-bottom: var(--space-12); }

.mx-auto { margin-left: auto; margin-right: auto; }

.p-4  { padding: var(--space-4); }
.p-6  { padding: var(--space-6); }
.p-8  { padding: var(--space-8); }

.px-4 { padding-left: var(--space-4); padding-right: var(--space-4); }
.px-6 { padding-left: var(--space-6); padding-right: var(--space-6); }

.py-4 { padding-top: var(--space-4); padding-bottom: var(--space-4); }
.py-8 { padding-top: var(--space-8); padding-bottom: var(--space-8); }

/* ── Display ── */
.hidden        { display: none; }
.block         { display: block; }
.inline-block  { display: inline-block; }

.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;
}

/* ── Width ── */
.w-full { width: 100%; }
.max-w-sm  { max-width: var(--container-sm); }
.max-w-md  { max-width: var(--container-md); }
.max-w-lg  { max-width: var(--container-lg); }

/* ── Borders ── */
.rounded-sm   { border-radius: var(--radius-sm); }
.rounded-md   { border-radius: var(--radius-md); }
.rounded-lg   { border-radius: var(--radius-lg); }
.rounded-xl   { border-radius: var(--radius-xl); }
.rounded-2xl  { border-radius: var(--radius-2xl); }
.rounded-full { border-radius: var(--radius-full); }

/* ── Divider ── */
.divider {
  width: 100%;
  height: 1px;
  background: var(--color-platinum);
  border: none;
}

.dark-section .divider {
  background: rgba(255, 255, 255, 0.06);
}

/* ── Truncate ── */
.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/* ================================================================
   17. MODAL / OVERLAY
   ================================================================ */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 42, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: var(--z-overlay);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gutter);
  animation: fadeIn 200ms ease-out;
}

.modal {
  background: var(--surface-card);
  border-radius: var(--radius-2xl);
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  animation: scaleIn 250ms ease-out;
}

.modal__header {
  padding: var(--space-6) var(--space-6) 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal__title {
  font-size: var(--text-xl);
  font-weight: var(--font-weight-extra);
  letter-spacing: var(--heading-tracking);
}

.modal__close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: var(--surface-inset);
  border: none;
  cursor: pointer;
  color: var(--color-muted);
  transition: all var(--transition-fast);
}

.modal__close:hover {
  background: var(--color-platinum);
  color: var(--color-dark);
}

.modal__body {
  padding: var(--space-6);
}

.modal__footer {
  padding: 0 var(--space-6) var(--space-6);
  display: flex;
  gap: var(--space-3);
  justify-content: flex-end;
}


/* ================================================================
   18. TOAST / NOTIFICATION
   ================================================================ */
.toast {
  position: fixed;
  bottom: var(--space-6);
  left: 50%;
  transform: translateX(-50%);
  z-index: var(--z-toast);
  padding: 14px 24px;
  background: var(--color-dark);
  color: var(--color-pure-white);
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: var(--font-weight-bold);
  box-shadow: var(--shadow-lg);
  animation: fadeSlideUp 300ms ease-out;
  display: flex;
  align-items: center;
  gap: var(--space-3);
  white-space: nowrap;
  max-width: calc(100vw - var(--space-12));
}

.toast--success {
  background: var(--color-green);
}

.toast--error {
  background: var(--color-coral);
}

/* ── Move toast above bottom tabs on mobile ── */
.has-bottom-tabs .toast {
  bottom: calc(80px + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 768px) {
  .has-bottom-tabs .toast {
    bottom: var(--space-6);
  }
}


/* ================================================================
   19. LOADING / SKELETON
   ================================================================ */
@keyframes shimmer {
  0%   { background-position: -200px 0; }
  100% { background-position: calc(200px + 100%) 0; }
}

.skeleton {
  background: linear-gradient(
    90deg,
    var(--surface-inset) 0px,
    var(--color-platinum) 40px,
    var(--surface-inset) 80px
  );
  background-size: 200px 100%;
  animation: shimmer 1.5s ease-in-out infinite;
  border-radius: var(--radius-md);
}

.skeleton--text {
  height: 16px;
  width: 100%;
  margin-bottom: var(--space-2);
}

.skeleton--title {
  height: 28px;
  width: 60%;
  margin-bottom: var(--space-3);
}

.skeleton--avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.skeleton--card {
  height: 200px;
  border-radius: var(--radius-xl);
}

/* ── Spinner ── */
@keyframes spin {
  to { transform: rotate(360deg); }
}

.spinner {
  width: 24px;
  height: 24px;
  border: 3px solid var(--color-platinum);
  border-top-color: var(--color-blue);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner--sm { width: 16px; height: 16px; border-width: 2px; }
.spinner--lg { width: 40px; height: 40px; border-width: 4px; }


/* ================================================================
   20. RESPONSIVE VISIBILITY
   ================================================================ */
.show-mobile  { display: block; }
.show-tablet  { display: none; }
.show-desktop { display: none; }
.hide-mobile  { display: none; }

@media (min-width: 768px) {
  .show-mobile  { display: none; }
  .show-tablet  { display: block; }
  .hide-mobile  { display: block; }
  .hide-tablet  { display: none; }
}

@media (min-width: 1024px) {
  .show-tablet  { display: none; }
  .show-desktop { display: block; }
  .hide-desktop { display: none; }
}
