/* ============================================================
   ISLANDER GAMES — main.css
   Mediterranean Warm Palette (v2 — retrofitted from ig-warm experiment)
     --red:    #C0542A  Terracotta      (primary accent)
     --gold:   #C8A96A  Warm Sand       (highlights / CTA pop)
     --green:  #3D8B80  Mediterranean Teal (secondary accent)
     --dark:   #1E2B4A  Deep Navy       (foundation dark)
     --light:  #F5EDE2  Warm Cream      (foundation bg)
     --sage:   #6B7A4E  Sage Olive      (fifth tone)
============================================================ */

/* ── RESET & TOKENS ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --red:     #C0542A;
  --red-dk:  #9E3F1A;
  --gold:    #C8A96A;
  --green:   #3D8B80;
  --dark:    #1E2B4A;
  --light:   #F5EDE2;
  --border:  #DDD0BE;
  --muted:   #7A6A56;
  --purple:  #6B7A4E;
  --orange:  #C8A96A;
  --blue:    #3D8B80;
  --parchment: #FAF5EE;
  --ff-display: 'Playfair Display', Georgia, serif;
  --ff-body:    'Inter', 'Nunito', sans-serif;
}
html { scroll-behavior: smooth; }
body { font-family: var(--ff-body); background: var(--light); color: var(--dark); overflow-x: hidden; }

/* ── LOGO ── */
.logo {
  display: flex; align-items: center;
  margin-right: 40px; flex-shrink: 0; text-decoration: none;
}
.logo-img {
  height: 54px; width: auto; display: block;
  mix-blend-mode: multiply;
}
.logo-img--footer {
  height: 48px; width: auto; display: block;
  filter: invert(1); mix-blend-mode: screen;
}

/* ── NAV ── */
header {
  position: sticky; top: 0; z-index: 200;
  background: var(--parchment);
  box-shadow: 0 1px 0 var(--border);
  transition: box-shadow .25s;
}
header.scrolled { box-shadow: 0 2px 20px rgba(30,43,74,.09); }
nav {
  max-width: 1200px; margin: 0 auto;
  height: 70px; padding: 0 32px;
  display: flex; align-items: center; gap: 0;
}
.nav-links { display: flex; gap: 2px; flex: 1; }
.nav-links a {
  color: var(--dark); font-weight: 700; font-size: 15px;
  padding: 7px 15px; border-radius: 999px;
  text-decoration: none; transition: background .18s, color .18s;
}
.nav-links a:hover,
.nav-links a.active { background: var(--red); color: #fff; }
.nav-right { display: flex; gap: 12px; align-items: center; }
.nav-search { background: none; border: none; font-size: 20px; cursor: pointer; padding: 4px 8px; }

/* ── BUTTONS ── */
.btn { display: inline-block; font-family: var(--ff-body); font-weight: 900; border: none; cursor: pointer; text-decoration: none; transition: transform .18s, box-shadow .18s, background .18s, color .18s; }
.btn-primary { background: var(--red); color: #fff; border-radius: 999px; padding: 11px 26px; font-size: 15px; box-shadow: 0 4px 18px rgba(192,84,42,.30); }
.btn-primary:hover { transform: translateY(-2px) scale(1.03); box-shadow: 0 10px 30px rgba(192,84,42,.40); }
.btn-ghost { background: transparent; color: var(--red); border: 2.5px solid var(--red); border-radius: 999px; padding: 14px 40px; font-size: 17px; }
.btn-ghost:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.btn-hero { padding: 16px 42px; font-size: 18px; }

/* ── SECTION DIVIDER ── */
.section-divider {
  display: flex; align-items: center; gap: 0;
  max-width: 1200px; margin: 0 auto; padding: 0 32px;
}
.divider-line { flex: 1; height: 1px; background: var(--border); }
.divider-ornament {
  display: flex; align-items: center; gap: 10px;
  padding: 18px 28px; color: var(--gold);
  font-size: 10px; font-weight: 700; letter-spacing: .2em;
  text-transform: uppercase; white-space: nowrap;
  font-family: var(--ff-display);
}
.divider-diamond { width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }

/* ── HERO ── */
.hero {
  background: linear-gradient(155deg, #F5EDE2 0%, #EDE0D0 45%, #E8D6C4 100%);
  min-height: 580px; position: relative; overflow: hidden;
  display: flex; align-items: center; padding: 60px 32px;
}
/* Arch atmosphere silhouettes */
.hero::before {
  content: ''; position: absolute; top: -20px; right: 3%;
  width: 320px; height: 420px; border-radius: 160px 160px 0 0;
  background: rgba(192,84,42,.055); pointer-events: none; z-index: 0;
}
.hero::after {
  content: ''; position: absolute; top: 30px; right: 6%;
  width: 240px; height: 320px; border-radius: 120px 120px 0 0;
  background: rgba(61,139,128,.05); pointer-events: none; z-index: 0;
}
.hero-bg-circle-1 { position: absolute; top: 30px; left: 18%; width: 220px; height: 220px; border-radius: 50%; background: rgba(192,84,42,.08); pointer-events: none; }
.hero-bg-circle-2 { position: absolute; bottom: 0; right: 10%; width: 300px; height: 300px; border-radius: 50%; background: rgba(200,169,106,.09); pointer-events: none; }
.hero-deco { position: absolute; pointer-events: none; opacity: .11; filter: blur(1px); }
.hero-inner { max-width: 1200px; margin: 0 auto; width: 100%; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(200,169,106,.18); color: #8B5E1A;
  font-weight: 700; font-size: 13px; padding: 6px 16px;
  border-radius: 999px; margin-bottom: 24px;
  border: 1.5px solid rgba(200,169,106,.45);
}
.hero-title { font-family: var(--ff-display); font-size: clamp(42px,5vw,68px); color: var(--dark); line-height: 1.08; margin-bottom: 22px; }
.hero-title .accent-red    { color: var(--red); }
.hero-title .accent-italic { color: var(--red); font-style: italic; }
.hero-sub { font-size: 18px; color: #5A4A38; line-height: 1.7; margin-bottom: 36px; max-width: 420px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

/* ── HERO VISUAL CONTAINER (shared by both image options) ── */
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative; z-index: 1;
}

/* ─────────────────────────────────────────────────────────
   HERO IMAGE — OPTION 1: Plain image (rounded rectangle)
   Usage in index.php:
     <div class="hero-visual hero-visual--plain">
       <img class="hero-img-plain" src="../assets/images/hero-home.webp" alt="..."/>
     </div>
───────────────────────────────────────────────────────── */
.hero-visual--plain { height: auto; }
.hero-img-plain {
  width: 100%; max-width: 540px; height: 440px;
  object-fit: cover; object-position: center top;
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(30,43,74,.16), 0 8px 24px rgba(192,84,42,.10);
  display: block;
}

/* ─────────────────────────────────────────────────────────
   HERO IMAGE — OPTION 2: Mediterranean arch container
   Usage in index.php:
     <div class="hero-visual hero-visual--arch">
       <div class="hero-arch-wrap">
         <img src="../assets/images/hero-home.webp" alt="..."/>
       </div>
     </div>
───────────────────────────────────────────────────────── */
.hero-visual--arch { height: auto; align-items: flex-end; padding-top: 20px; }
.hero-arch-wrap {
  position: relative; width: 400px; height: 500px;
  border-radius: 200px 200px 0 0;
  overflow: hidden; flex-shrink: 0;
  box-shadow: 0 28px 72px rgba(30,43,74,.18), 0 8px 24px rgba(192,84,42,.10);
}
/* Warm sand ring around the arch */
.hero-arch-wrap::before {
  content: ''; position: absolute; inset: -12px;
  border-radius: 210px 210px 0 0;
  border: 3px solid rgba(200,169,106,.35);
  pointer-events: none; z-index: 2;
}
.hero-arch-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top; display: block;
}

/* ─────────────────────────────────────────────────────────
   HERO IMAGE — OPTION 3: Rectangle, feathered into background (active by default)
   No border/shadow — the edges fade via a CSS mask so the image
   blends straight into the .hero gradient. Nothing to edit on the
   source image itself; adjust the fade width via --feather below.
   Usage in index.php:
     <div class="hero-visual hero-visual--rect">
       <img class="hero-img-rect" src="../assets/images/hero-home.webp" alt="..."/>
     </div>
───────────────────────────────────────────────────────── */
.hero-visual--rect { height: auto; }
.hero-img-rect {
  --feather: 15px;
  width: 100%; max-width: 725px; height: 450px;
  object-fit: cover; object-position: center;
  display: block;
  -webkit-mask-image:
    linear-gradient(to right,  transparent, #000 var(--feather), #000 calc(100% - var(--feather)), transparent),
    linear-gradient(to bottom, transparent, #000 var(--feather), #000 calc(100% - var(--feather)), transparent);
  -webkit-mask-composite: source-over, source-in;
  mask-image:
    linear-gradient(to right,  transparent, #000 var(--feather), #000 calc(100% - var(--feather)), transparent),
    linear-gradient(to bottom, transparent, #000 var(--feather), #000 calc(100% - var(--feather)), transparent);
  mask-composite: intersect;
}

/* ── GLOBAL IMAGE UTILITY SYSTEM ── */
.ig-img { display: block; object-fit: contain; flex-shrink: 0; pointer-events: none; user-select: none; }
.ig-img--xs  { width: 28px;  height: 28px;  }
.ig-img--sm  { width: 48px;  height: 48px;  }
.ig-img--md  { width: 72px;  height: 72px;  }
.ig-img--lg  { width: 96px;  height: 96px;  }
.ig-img--xl  { width: 140px; height: 140px; }
.ig-img--full { width: 100%; height: 100%; object-fit: cover; }

/* ── SECTION LABELS ── */
.section-label { font-weight: 700; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 10px; }
.section-title { font-family: var(--ff-display); font-size: clamp(28px,3.5vw,40px); color: var(--dark); }

/* ── CATEGORIES ── */
.categories { padding: 70px 32px; background: var(--light); }
.categories-inner { max-width: 1200px; margin: 0 auto; }
.categories-header { text-align: center; margin-bottom: 48px; }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.cat-card {
  aspect-ratio: 4 / 3; border-radius: 20px; padding: 36px 30px;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  cursor: pointer; color: #fff; transition: transform .2s, box-shadow .2s;
  position: relative; overflow: hidden;
}
.cat-card:hover { transform: translateY(-6px) scale(1.03); box-shadow: 0 16px 40px rgba(0,0,0,.18); }
/* Full-bleed background image support */
.cat-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; border-radius: inherit; }
.cat-card::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.65) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
  z-index: 1; border-radius: inherit; pointer-events: none;
}
.cat-card .cat-name,
.cat-card .cat-cta,
.cat-card .ig-img { position: relative; z-index: 2; }
.cat-name { font-family: var(--ff-display); font-size: 24px; margin-top: auto; }
.cat-cta  { font-size: 14px; color: rgba(255,255,255,.8); font-weight: 700; }

/* Warm palette category card variants */
.cat-card--terra    { background: linear-gradient(135deg, #C0542A, #9E3F1A); }
.cat-card--teal     { background: linear-gradient(135deg, #3D8B80, #2A6B62); }
.cat-card--sand     { background: linear-gradient(135deg, #C8A96A, #9E7E3A); }
.cat-card--sage     { background: linear-gradient(135deg, #6B7A4E, #4A5534); }
.cat-card--navy     { background: linear-gradient(135deg, #1E2B4A, #2E4070); }
.cat-card--terra-dk { background: linear-gradient(135deg, #7A3520, #9E3F1A); }

/* ── PRODUCTS ── */
.products { padding: 70px 32px; background: var(--parchment); }
.products-inner { max-width: 1200px; margin: 0 auto; }
.products-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; flex-wrap: wrap; gap: 16px; }
.prod-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 22px; }
.prod-card { background: var(--parchment); border-radius: 24px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: transform .2s, box-shadow .2s; box-shadow: 0 2px 12px rgba(30,43,74,.06); }
.prod-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(30,43,74,.13); }
.prod-img { height: 180px; display: flex; align-items: center; justify-content: center; position: relative; }
.prod-emoji { font-size: 72px; line-height: 1; }
.prod-badge { position: absolute; top: 14px; left: 14px; border-radius: 999px; padding: 4px 12px; font-size: 12px; font-weight: 700; color: #fff; }
.prod-body  { padding: 18px 18px 20px; }
.prod-brand { font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }
.prod-name  { font-weight: 700; font-size: 14px; color: var(--dark); line-height: 1.4; margin-bottom: 8px; }
.prod-age   { color: var(--muted); font-size: 12px; margin-bottom: 14px; }
.prod-footer { display: flex; align-items: center; justify-content: space-between; }
.prod-price  { font-family: var(--ff-display); font-size: 20px; }
.add-btn { background: var(--dark); color: #fff; border: none; border-radius: 999px; padding: 9px 20px; font-family: var(--ff-body); font-weight: 700; font-size: 13px; cursor: pointer; transition: background .18s, transform .15s; }
.add-btn:hover { background: var(--red); color: #fff; transform: scale(1.05); }

/* Product image background warm tones */
.prod-img--terra { background: #F2E0D4; }
.prod-img--teal  { background: #D8EDEA; }
.prod-img--sand  { background: #F2EBD8; }
.prod-img--navy  { background: #D8DFF0; }

/* ── ENTERTAINMENT ── */
.ent { background: linear-gradient(135deg, #1E2B4A 0%, #2A4A42 55%, #1E2B4A 100%); padding: 80px 32px; position: relative; overflow: hidden; }
.ent-circle-1 { position: absolute; top: -60px; right: -60px; width: 400px; height: 400px; border-radius: 50%; background: rgba(192,84,42,.14); pointer-events: none; }
.ent-circle-2 { position: absolute; bottom: -80px; left: -40px; width: 300px; height: 300px; border-radius: 50%; background: rgba(200,169,106,.09); pointer-events: none; }
.ent-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.ent-label { color: var(--gold) !important; }
.ent-title { font-family: var(--ff-display); font-size: clamp(32px,4vw,44px); color: #fff; line-height: 1.12; margin-bottom: 20px; }
.ent-sub   { color: rgba(255,255,255,.7); font-size: 17px; line-height: 1.7; margin-bottom: 34px; }
.show-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.show-card { background: rgba(255,255,255,.06); border-radius: 16px; padding: 22px 18px; border: 1px solid rgba(255,255,255,.10); cursor: pointer; transition: background .2s; }
.show-card:hover { background: rgba(200,169,106,.12); }
.show-icon { font-size: 32px; margin-bottom: 10px; }
.show-name { color: #fff; font-weight: 700; font-size: 14px; line-height: 1.35; margin-bottom: 6px; }
.show-cta  { color: rgba(255,255,255,.45); font-size: 12px; }

/* ── CTA STRIP ── */
.cta-strip { background: var(--red); padding: 64px 32px; text-align: center; }
.cta-strip h2 { font-family: var(--ff-display); font-size: clamp(32px,4vw,44px); color: #FAF5EE; margin-bottom: 16px; }
.cta-strip p  { color: rgba(250,245,238,.85); font-size: 18px; margin-bottom: 36px; line-height: 1.6; max-width: 600px; margin-left: auto; margin-right: auto; }
.cta-strip-btns { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn-outline-white { background: transparent; color: #fff; border: 2.5px solid rgba(255,255,255,.7); border-radius: 999px; padding: 14px 40px; font-family: var(--ff-body); font-weight: 900; font-size: 17px; cursor: pointer; transition: background .18s; text-decoration: none; display: inline-block; }
.btn-outline-white:hover { background: rgba(255,255,255,.14); }

/* ── ABOUT PAGE ── */
.about-section { padding: 70px 32px; background: var(--light); }
.about-section--alt { background: var(--parchment); }
.about-section-inner { max-width: 900px; margin: 0 auto; }
.about-section-inner--wide { max-width: 1200px; }
.about-header { text-align: center; margin-bottom: 48px; }

.history-grid { display: flex; flex-direction: column; gap: 40px; }
.history-block { border-left: 3px solid var(--gold); padding-left: 28px; }
.history-block-title { font-family: var(--ff-display); font-size: 22px; color: var(--dark); margin-bottom: 10px; }
.history-block p { color: var(--muted); line-height: 1.75; font-size: 16px; }

.mission-card {
  background: var(--parchment); border: 1px solid var(--border); border-radius: 24px;
  padding: 52px 60px; text-align: center; position: relative;
  box-shadow: 0 12px 32px rgba(30,43,74,.06);
}
.about-section--alt .mission-card { background: #fff; }
.mission-quote { font-family: var(--ff-display); font-size: 64px; color: var(--gold); line-height: 1; margin-bottom: 4px; }
.mission-text { font-family: var(--ff-display); font-size: clamp(19px,2.2vw,25px); color: var(--dark); line-height: 1.6; font-style: italic; }

.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px,1fr)); gap: 24px; }
.value-card { background: #fff; border-radius: 18px; padding: 32px 26px; box-shadow: 0 6px 20px rgba(30,43,74,.06); border-top: 4px solid var(--red); transition: transform .2s, box-shadow .2s; }
.value-card:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(30,43,74,.12); }
.value-card:nth-child(2) { border-top-color: var(--green); }
.value-card:nth-child(3) { border-top-color: var(--gold); }
.value-card:nth-child(4) { border-top-color: var(--purple); }
.value-card:nth-child(5) { border-top-color: var(--dark); }
.value-icon { font-size: 32px; margin-bottom: 14px; }
.value-title { font-family: var(--ff-display); font-size: 18px; color: var(--dark); margin-bottom: 10px; }
.value-desc { color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* ── FOOTER ── */
footer { background: var(--dark); padding: 60px 32px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.footer-desc  { color: #888; font-size: 14px; line-height: 1.7; max-width: 260px; }
.footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.social-btn { width: 36px; height: 36px; background: rgba(255,255,255,.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 16px; transition: background .18s; }
.social-btn:hover { background: var(--red); }
.footer-col-head { color: #fff; font-weight: 700; font-size: 15px; margin-bottom: 18px; font-family: var(--ff-display); }
.footer-link { color: #888; font-size: 14px; text-decoration: none; display: block; margin-bottom: 9px; transition: color .15s; }
.footer-link:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy  { color: #555; font-size: 13px; }
.footer-legal { display: flex; gap: 24px; }
.footer-legal a { color: #555; font-size: 13px; text-decoration: none; transition: color .15s; }
.footer-legal a:hover { color: var(--gold); }

/* ── LANGUAGE SWITCHER ── */
.lang-switcher { display: flex; align-items: center; gap: 4px; margin-left: 16px; }
.lang-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--ff-body); font-weight: 700;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); padding: 5px 12px; border-radius: 999px;
  transition: background .18s, color .18s;
}
.lang-btn.active { background: var(--gold); color: var(--dark); }
.lang-btn:not(.active):hover { color: var(--red); }
.lang-dot { color: var(--border); font-size: 14px; user-select: none; pointer-events: none; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .hero-inner  { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .prod-grid   { grid-template-columns: repeat(2,1fr); }
  .ent-inner   { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .hero-img-plain { max-width: 100%; height: 280px; }
  .hero-arch-wrap { width: 280px; height: 360px; border-radius: 140px 140px 0 0; }
  .cat-grid   { grid-template-columns: repeat(2,1fr); }
  .cat-card   { aspect-ratio: 3 / 2; }
}
@media (max-width: 600px) {
  nav { padding: 0 16px; height: 60px; }
  .nav-links  { display: none; }
  .logo       { margin-right: 0; flex: 1; }
  .logo-img   { height: 40px; }
  .hero       { padding: 40px 16px; }
  .hero-title { font-size: 38px; }
  .hero-sub   { font-size: 16px; }
  .hero-ctas  { flex-direction: column; gap: 12px; }
  .btn-hero   { padding: 14px 28px; font-size: 16px; text-align: center; }
  .section-divider { padding: 0 16px; }
  .categories { padding: 48px 16px; }
  .cat-grid   { grid-template-columns: 1fr; }
  .cat-card   { aspect-ratio: 16 / 10; padding: 24px 20px; }
  .cat-name   { font-size: 19px; }
  .products   { padding: 48px 16px; }
  .products-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .prod-grid  { grid-template-columns: 1fr 1fr; gap: 12px; }
  .prod-img   { height: 130px; }
  .prod-emoji { font-size: 52px; }
  .prod-body  { padding: 12px 12px 14px; }
  .prod-name  { font-size: 13px; }
  .prod-price { font-size: 17px; }
  .add-btn    { padding: 7px 13px; font-size: 12px; }
  .ent        { padding: 48px 16px; }
  .show-grid  { grid-template-columns: 1fr 1fr; }
  .cta-strip  { padding: 48px 16px; }
  .cta-strip h2 { font-size: 30px; }
  .cta-strip p  { font-size: 16px; }
  .cta-strip-btns { flex-direction: column; align-items: center; }
  .about-section { padding: 48px 16px; }
  .history-block { padding-left: 18px; }
  .mission-card { padding: 32px 22px; }
  .mission-quote { font-size: 48px; }
  footer      { padding: 40px 16px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-desc { max-width: 100%; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 10px; }
  .footer-legal { gap: 16px; flex-wrap: wrap; }
}

/* ── REDUCED MOTION ── */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition-duration: .01ms !important; }
}

/* ── CUSTOM SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #EDE0D0; }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--red); }

/* ── AUTH LINK (NAV) ── */
.auth-link {
  display: flex; align-items: center; gap: 4px;
  font-family: var(--ff-body); font-weight: 700;
  font-size: 12px; letter-spacing: .04em;
  color: var(--muted); text-decoration: none;
  padding: 5px 14px; border-radius: 999px;
  border: 1px solid var(--border);
  transition: background .18s, color .18s, border-color .18s;
  margin-left: 8px; white-space: nowrap;
}
.auth-link:hover { color: var(--red); border-color: var(--red); }
.auth-link--active { color: var(--dark); background: var(--gold); border-color: var(--gold); }
.auth-link--active:hover { color: var(--red-dk); }

/* ── LOGIN PAGE ── */
.login-page .login-section {
  min-height: 60vh; display: flex; align-items: center; justify-content: center;
  padding: 60px 24px;
}
.login-page .login-card {
  background: var(--parchment); border: 1px solid var(--border);
  border-radius: 18px; padding: 44px 40px; max-width: 400px; width: 100%;
  box-shadow: 0 10px 40px rgba(30,43,74,.08);
}
.login-page .login-title {
  font-family: var(--ff-display); font-size: 28px; font-weight: 900;
  color: var(--dark); margin-bottom: 8px;
}
.login-page .login-subtitle {
  font-size: 14px; color: var(--muted); margin-bottom: 28px; line-height: 1.5;
}
.login-page .login-error {
  background: rgba(192,84,42,.1); color: var(--red-dk);
  border: 1px solid rgba(192,84,42,.3); border-radius: 10px;
  padding: 12px 16px; font-size: 13px; font-weight: 700; margin-bottom: 20px;
}
.login-page .login-form { display: flex; flex-direction: column; }
.login-page .login-label {
  font-size: 13px; font-weight: 700; color: var(--dark);
  margin-bottom: 6px; margin-top: 16px;
}
.login-page .login-label:first-of-type { margin-top: 0; }
.login-page .login-input {
  font-family: var(--ff-body); font-size: 15px;
  padding: 11px 14px; border: 1px solid var(--border); border-radius: 10px;
  background: #fff; color: var(--dark); outline: none;
  transition: border-color .18s, box-shadow .18s;
}
.login-page .login-input:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(192,84,42,.12); }
.login-page .login-submit { margin-top: 26px; width: 100%; text-align: center; }

/* ── LOCKED ACCORDION (MEMBERS-ONLY) ── */
.accordion-item--locked {
  display: flex; align-items: center; gap: 10px;
  padding: 16px 0; color: var(--muted); font-size: 14px; font-weight: 600;
}
.accordion-item--locked a { color: var(--red); text-decoration: underline; }
