/* ============================================================
   POWDER HOUSE BEND — Buttons & Interactive Components
   Matches navbar.css + weathertoggle.css design system.
   Typeface: Syne. Accent: glacier #62c1db. Retro: cyan/magenta.
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   SHARED TOKENS (local, mirrors navbar.css)
──────────────────────────────────────────────────────────── */
:root {
  --btn-font:     'Syne', system-ui, -apple-system, sans-serif;
  --btn-mono:     'Courier New', Courier, monospace;
  --btn-accent:   #62c1db;
  --btn-accent-d: #3a9ab8;
  --btn-r:        8px;
  --btn-ease:     cubic-bezier(0.22, 1, 0.36, 1);
}


/* ════════════════════════════════════════════════════════════
   PRIMARY BUTTON
════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: var(--btn-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.3;

  color: #fff;
  background: linear-gradient(135deg, #1a6fa8 0%, #0d4f80 100%);
  border: none;
  border-radius: var(--btn-r);

  padding: 0.75rem 1.5rem;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;

  box-shadow:
    0 2px 8px rgba(13, 79, 128, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  cursor: pointer;
  transition:
    background   0.2s ease,
    box-shadow   0.2s ease,
    transform    0.15s var(--btn-ease);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1580c0 0%, #0a3d66 100%);
  box-shadow:
    0 4px 16px rgba(13, 79, 128, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(13, 79, 128, 0.3);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--btn-accent);
  outline-offset: 3px;
}

/* ── Button stack layout ── */
.demo-button-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

button.btn-primary {
  width: 100%;
  max-width: 320px;
}


/* ════════════════════════════════════════════════════════════
   VARIANT BUTTONS  (skis / snowboards / nordic / export)
   Light surface style — same shape, same feel, lighter fill
════════════════════════════════════════════════════════════ */
.btn-primary.btn-skis,
.btn-primary.btn-snowboards,
.btn-primary.btn-nordic,
.btn-primary.btn-export {
  background: rgba(255, 255, 255, 0.06);
  color: var(--btn-accent);
  border: 1px solid rgba(98, 193, 219, 0.28);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
}

.btn-primary.btn-skis:hover,
.btn-primary.btn-snowboards:hover,
.btn-primary.btn-nordic:hover,
.btn-primary.btn-export:hover {
  background: rgba(98, 193, 219, 0.10);
  border-color: rgba(98, 193, 219, 0.50);
  color: #8dd8ea;
  box-shadow: 0 0 14px rgba(98, 193, 219, 0.18);
  transform: translateY(-1px);
}


/* ════════════════════════════════════════════════════════════
   GLOW BUTTON
════════════════════════════════════════════════════════════ */
.btn-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: var(--btn-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0b1c2c;

  padding: 0.85rem 2rem;
  background: var(--btn-accent);
  border: none;
  border-radius: var(--btn-r);

  box-shadow:
    0 0 12px rgba(98, 193, 219, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.2);

  cursor: pointer;
  transition:
    background   0.2s ease,
    box-shadow   0.2s ease,
    transform    0.15s var(--btn-ease);
}

.btn-glow:hover {
  background: #4db5d0;
  box-shadow:
    0 0 22px rgba(98, 193, 219, 0.7),
    0 4px 14px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.btn-glow:focus-visible {
  outline: 2px solid var(--btn-accent);
  outline-offset: 3px;
}


/* ============================================================
   POWDER HOUSE BEND — Buttons & Interactive Components
   Matches navbar.css + weathertoggle.css design system.
   Typeface: Syne. Accent: glacier #62c1db. Retro: phosphor system.

   Retro palette:
     Phosphor green  #c8f135  — primary actions, confirmation
     Amber           #ffb347  — secondary / back / cancel
     Tron blue       #00e5ff  — borders, focus rings, dropdowns
     Terminal black  #050a03  — all retro backgrounds
   ============================================================ */

/* ────────────────────────────────────────────────────────────
   SHARED TOKENS
──────────────────────────────────────────────────────────── */
:root {
  --btn-font:     'Syne', system-ui, -apple-system, sans-serif;
  --btn-mono:     'Courier New', Courier, monospace;
  --btn-accent:   #62c1db;
  --btn-accent-d: #3a9ab8;
  --btn-r:        8px;
  --btn-ease:     cubic-bezier(0.22, 1, 0.36, 1);

  /* Retro tokens — referenced throughout */
  --r-green:      #c8f135;
  --r-amber:      #ffb347;
  --r-blue:       #00e5ff;
  --r-bg:         #050a03;
  --r-green-rgb:  200, 241, 53;
  --r-amber-rgb:  255, 179, 71;
  --r-blue-rgb:   0, 229, 255;
}


/* ════════════════════════════════════════════════════════════
   PRIMARY BUTTON  (unchanged)
════════════════════════════════════════════════════════════ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: var(--btn-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  line-height: 1.3;

  color: #fff;
  background: linear-gradient(135deg, #1a6fa8 0%, #0d4f80 100%);
  border: none;
  border-radius: var(--btn-r);

  padding: 0.75rem 1.5rem;
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;

  box-shadow:
    0 2px 8px rgba(13, 79, 128, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);

  cursor: pointer;
  transition:
    background   0.2s ease,
    box-shadow   0.2s ease,
    transform    0.15s var(--btn-ease);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1580c0 0%, #0a3d66 100%);
  box-shadow:
    0 4px 16px rgba(13, 79, 128, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(13, 79, 128, 0.3);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--btn-accent);
  outline-offset: 3px;
}

.demo-button-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
}

button.btn-primary {
  width: 100%;
  max-width: 320px;
}


/* ════════════════════════════════════════════════════════════
   VARIANT BUTTONS  (unchanged)
════════════════════════════════════════════════════════════ */
.btn-primary.btn-skis,
.btn-primary.btn-snowboards,
.btn-primary.btn-nordic,
.btn-primary.btn-export {
  background: rgba(255, 255, 255, 0.06);
  color: var(--btn-accent);
  border: 1px solid rgba(98, 193, 219, 0.28);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.75rem 1.5rem;
}

.btn-primary.btn-skis:hover,
.btn-primary.btn-snowboards:hover,
.btn-primary.btn-nordic:hover,
.btn-primary.btn-export:hover {
  background: rgba(98, 193, 219, 0.10);
  border-color: rgba(98, 193, 219, 0.50);
  color: #8dd8ea;
  box-shadow: 0 0 14px rgba(98, 193, 219, 0.18);
  transform: translateY(-1px);
}


/* ════════════════════════════════════════════════════════════
   GLOW BUTTON  (unchanged)
════════════════════════════════════════════════════════════ */
.btn-glow {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-family: var(--btn-font);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0b1c2c;

  padding: 0.85rem 2rem;
  background: var(--btn-accent);
  border: none;
  border-radius: var(--btn-r);

  box-shadow:
    0 0 12px rgba(98, 193, 219, 0.55),
    0 2px 8px rgba(0, 0, 0, 0.2);

  cursor: pointer;
  transition:
    background   0.2s ease,
    box-shadow   0.2s ease,
    transform    0.15s var(--btn-ease);
}

.btn-glow:hover {
  background: #4db5d0;
  box-shadow:
    0 0 22px rgba(98, 193, 219, 0.7),
    0 4px 14px rgba(0, 0, 0, 0.25);
  transform: translateY(-1px);
}

.btn-glow:focus-visible {
  outline: 2px solid var(--btn-accent);
  outline-offset: 3px;
}


/* ════════════════════════════════════════════════════════════
   RETRO TOGGLE BUTTON  (unchanged normal state)
════════════════════════════════════════════════════════════ */
.retro-toggle-btn {
  position: absolute;
  top: 2.5rem;
  right: 10rem;
  z-index: 100;

  font-family: var(--btn-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  text-align: center;

  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  cursor: pointer;

  color: rgba(220, 229, 240, 0.70);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);

  backdrop-filter: blur(12px) saturate(160%);
  -webkit-backdrop-filter: blur(12px) saturate(160%);

  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  transition:
    background   0.18s ease,
    color        0.18s ease,
    border-color 0.18s ease,
    box-shadow   0.18s ease;
}

.retro-toggle-btn:hover {
  background: rgba(98, 193, 219, 0.10);
  color: var(--btn-accent);
  border-color: rgba(98, 193, 219, 0.35);
  box-shadow: 0 0 12px rgba(98, 193, 219, 0.18);
}

.retro-toggle-btn:focus-visible {
  outline: 2px solid var(--btn-accent);
  outline-offset: 3px;
}

/* Retro state — phosphor green, square corners, no blur */
body.retro-mode .retro-toggle-btn {
  font-family: var(--btn-mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  background: transparent;
  color: rgba(var(--r-green-rgb), 0.75);
  border: 1px solid rgba(var(--r-green-rgb), 0.40);
  border-radius: 2px;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  text-shadow: 0 0 6px rgba(var(--r-green-rgb), 0.50);
  box-shadow: 0 0 8px rgba(var(--r-green-rgb), 0.08);
}

/* Hover — brighter phosphor, no color change (discipline) */
body.retro-mode .retro-toggle-btn:hover {
  color: var(--r-green);
  border-color: rgba(var(--r-green-rgb), 0.75);
  background: rgba(var(--r-green-rgb), 0.06);
  text-shadow:
    0 0 4px  rgba(var(--r-green-rgb), 1.0),
    0 0 14px rgba(var(--r-green-rgb), 0.45);
  box-shadow: 0 0 14px rgba(var(--r-green-rgb), 0.14);
}


/* ════════════════════════════════════════════════════════════
   SEASON TOGGLE BUTTON
════════════════════════════════════════════════════════════ */
.season-toggle-btn {
  font-family: var(--btn-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.5rem 1.1rem;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.055);
  color: rgba(220, 229, 240, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background   0.18s ease,
    color        0.18s ease,
    border-color 0.18s ease;
}

.season-toggle-btn:hover {
  background: rgba(98, 193, 219, 0.09);
  color: var(--btn-accent);
  border-color: rgba(98, 193, 219, 0.32);
}

/* Retro — amber tint, it's a mode-switch so it gets warm color */
body.retro-mode .season-toggle-btn {
  font-family: var(--btn-mono);
  font-size: 0.66rem;
  letter-spacing: 0.10em;
  background: transparent;
  color: rgba(var(--r-amber-rgb), 0.60);
  border: 1px solid rgba(var(--r-amber-rgb), 0.35);
  border-radius: 2px;
  text-shadow: none;
}

body.retro-mode .season-toggle-btn:hover {
  color: var(--r-amber);
  border-color: rgba(var(--r-amber-rgb), 0.70);
  background: rgba(var(--r-amber-rgb), 0.06);
  text-shadow: 0 0 8px rgba(var(--r-amber-rgb), 0.50);
}


/* ════════════════════════════════════════════════════════════
   FLASH TOGGLE  (JS utility class)
════════════════════════════════════════════════════════════ */
.flash-toggle {
  transform: scale(1.06);
  box-shadow: 0 0 16px rgba(98, 193, 219, 0.55);
  border-color: var(--btn-accent);
  transition: all 0.18s ease;
}

body.retro-mode .flash-toggle {
  box-shadow:
    0 0 16px rgba(var(--r-green-rgb), 0.55),
    0 0 32px rgba(var(--r-green-rgb), 0.18);
  border-color: var(--r-green);
}


/* ════════════════════════════════════════════════════════════
   RETRO BUTTON VARIANTS
   Primary CTA    → phosphor green  (do the thing)
   Variant pills  → Tron blue       (navigate / filter)
   Glow button    → phosphor green  (strongest CTA)
════════════════════════════════════════════════════════════ */

/* Variant pills — skis / snowboards / nordic / export */
body.retro-mode .btn-primary.btn-skis,
body.retro-mode .btn-primary.btn-snowboards,
body.retro-mode .btn-primary.btn-nordic,
body.retro-mode .btn-primary.btn-export {
  font-family: var(--btn-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: transparent;
  color: rgba(var(--r-blue-rgb), 0.60);
  border: 1px solid rgba(var(--r-blue-rgb), 0.30);
  border-radius: 2px;
  box-shadow: none;
  text-shadow: none;
}

body.retro-mode .btn-primary.btn-skis:hover,
body.retro-mode .btn-primary.btn-snowboards:hover,
body.retro-mode .btn-primary.btn-nordic:hover,
body.retro-mode .btn-primary.btn-export:hover {
  color: var(--r-blue);
  border-color: rgba(var(--r-blue-rgb), 0.65);
  background: rgba(var(--r-blue-rgb), 0.06);
  text-shadow: 0 0 8px rgba(var(--r-blue-rgb), 0.50);
  box-shadow: none;
  transform: translateY(-1px);
}

/* Primary CTA — phosphor green, the strongest action */
body.retro-mode .btn-primary:not(.btn-skis):not(.btn-snowboards):not(.btn-nordic):not(.btn-export) {
  font-family: var(--btn-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  background: transparent;
  color: rgba(var(--r-green-rgb), 0.75);
  border: 1px solid rgba(var(--r-green-rgb), 0.40);
  border-radius: 2px;
  box-shadow: none;
  text-shadow: 0 0 6px rgba(var(--r-green-rgb), 0.35);
}

body.retro-mode .btn-primary:not(.btn-skis):not(.btn-snowboards):not(.btn-nordic):not(.btn-export):hover {
  color: var(--r-green);
  border-color: rgba(var(--r-green-rgb), 0.75);
  background: rgba(var(--r-green-rgb), 0.06);
  text-shadow:
    0 0 4px  rgba(var(--r-green-rgb), 1.0),
    0 0 14px rgba(var(--r-green-rgb), 0.45);
  box-shadow: none;
  transform: translateY(-1px);
}

/* Glow button — phosphor green, max intensity CTA */
body.retro-mode .btn-glow {
  font-family: var(--btn-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  background: rgba(var(--r-green-rgb), 0.06);
  color: var(--r-green);
  border: 1px solid rgba(var(--r-green-rgb), 0.50);
  border-radius: 2px;
  box-shadow:
    0 0 10px rgba(var(--r-green-rgb), 0.18),
    inset 0 0 20px rgba(var(--r-green-rgb), 0.04);
  text-shadow:
    0 0 4px  rgba(var(--r-green-rgb), 1.0),
    0 0 16px rgba(var(--r-green-rgb), 0.50);
}

body.retro-mode .btn-glow:hover {
  background: rgba(var(--r-green-rgb), 0.10);
  border-color: rgba(var(--r-green-rgb), 0.80);
  box-shadow:
    0 0 18px rgba(var(--r-green-rgb), 0.32),
    0 0 40px rgba(var(--r-green-rgb), 0.10);
  transform: translateY(-1px);
}


/* ════════════════════════════════════════════════════════════
   RENTAL BOOKING MODAL  (normal unchanged)
════════════════════════════════════════════════════════════ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;

  background: rgba(5, 9, 16, 0.78);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
}

.modal-box {
  background: rgba(8, 14, 24, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-top: 2px solid var(--btn-accent);
  border-radius: 12px;

  max-width: 500px;
  width: 100%;
  padding: 2rem;

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.025),
    0 0 40px rgba(98, 193, 219, 0.08),
    0 32px 80px rgba(0, 0, 0, 0.75);

  font-family: var(--btn-font);
  color: #dce5f0;
  text-align: center;

  animation: modal-in 0.28s cubic-bezier(0.22, 1, 0.36, 1) both;
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.modal-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.modal-confirm,
.modal-back {
  font-family: var(--btn-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.65rem 1.4rem;
  border: none;
  border-radius: 100px;
  cursor: pointer;
  transition:
    background  0.16s ease,
    box-shadow  0.16s ease,
    transform   0.13s ease;
}

.modal-confirm {
  background: rgba(98, 193, 219, 0.12);
  color: var(--btn-accent);
  border: 1px solid rgba(98, 193, 219, 0.30);
}

.modal-confirm:hover {
  background: rgba(98, 193, 219, 0.20);
  border-color: rgba(98, 193, 219, 0.52);
  box-shadow: 0 0 14px rgba(98, 193, 219, 0.20);
  transform: translateY(-1px);
}

.modal-back {
  background: rgba(255, 255, 255, 0.055);
  color: rgba(220, 229, 240, 0.60);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

.modal-back:hover {
  background: rgba(255, 255, 255, 0.09);
  color: #dce5f0;
  transform: translateY(-1px);
}

/* ── Retro modal ──
   Box     → Tron blue border (it's a system dialog)
   Confirm → phosphor green  (proceed / yes)
   Back    → amber           (retreat / cancel — warm = caution)
*/
body.retro-mode .modal-box {
  background: rgba(5, 10, 3, 0.98);
  border: 1px solid rgba(var(--r-blue-rgb), 0.35);
  border-top: 2px solid var(--r-blue);
  border-radius: 2px;
  box-shadow:
    0 0 0 1px rgba(var(--r-blue-rgb), 0.06),
    0 0 30px rgba(var(--r-blue-rgb), 0.10),
    0 0 90px rgba(0, 0, 0, 0.95);
  color: rgba(var(--r-green-rgb), 0.80);
  font-family: var(--btn-mono);
}

body.retro-mode .modal-confirm {
  font-family: var(--btn-mono);
  font-size: 0.66rem;
  letter-spacing: 0.10em;
  background: rgba(var(--r-green-rgb), 0.06);
  color: rgba(var(--r-green-rgb), 0.80);
  border: 1px solid rgba(var(--r-green-rgb), 0.40);
  border-radius: 2px;
}

body.retro-mode .modal-confirm:hover {
  color: var(--r-green);
  border-color: rgba(var(--r-green-rgb), 0.80);
  background: rgba(var(--r-green-rgb), 0.10);
  text-shadow:
    0 0 4px  rgba(var(--r-green-rgb), 1.0),
    0 0 12px rgba(var(--r-green-rgb), 0.45);
  box-shadow: none;
}

/* Amber = back/cancel — warm means "think twice" */
body.retro-mode .modal-back {
  font-family: var(--btn-mono);
  font-size: 0.66rem;
  letter-spacing: 0.10em;
  background: rgba(var(--r-amber-rgb), 0.05);
  color: rgba(var(--r-amber-rgb), 0.65);
  border: 1px solid rgba(var(--r-amber-rgb), 0.30);
  border-radius: 2px;
}

body.retro-mode .modal-back:hover {
  color: var(--r-amber);
  border-color: rgba(var(--r-amber-rgb), 0.65);
  background: rgba(var(--r-amber-rgb), 0.08);
  text-shadow: 0 0 8px rgba(var(--r-amber-rgb), 0.50);
  box-shadow: 0 0 12px rgba(var(--r-amber-rgb), 0.12);
}


/* ════════════════════════════════════════════════════════════
   SHARE BUTTON + DROPDOWN  (normal unchanged)
════════════════════════════════════════════════════════════ */
.share-wrapper {
  position: relative;
  display: inline-block;
  margin-left: 0.75rem;
}

.share-btn {
  font-family: var(--btn-font);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;

  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 100px;
  color: rgba(220, 229, 240, 0.60);
  padding: 0.3rem 0.75rem;
  cursor: pointer;

  transition:
    background   0.15s ease,
    color        0.15s ease,
    border-color 0.15s ease;
}

.share-btn:hover {
  background: rgba(98, 193, 219, 0.08);
  color: var(--btn-accent);
  border-color: rgba(98, 193, 219, 0.30);
}

.share-options {
  display: none;
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  z-index: 100;

  background: rgba(8, 14, 24, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 1px solid rgba(98, 193, 219, 0.22);
  border-radius: 8px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.55),
    0 0 16px rgba(98, 193, 219, 0.06);

  padding: 0.3rem;
  min-width: 150px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.share-options.visible {
  display: flex;
  flex-direction: column;
  gap: 1px;
  animation: share-in 0.16s var(--btn-ease) both;
}

@keyframes share-in {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

.share-options a,
.share-options button {
  font-family: var(--btn-font);
  font-size: 0.76rem;
  font-weight: 500;
  background: transparent;
  border: none;
  color: rgba(220, 229, 240, 0.50);
  text-align: left;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  text-decoration: none;
  border-radius: 5px;
  transition: color 0.12s ease, background 0.12s ease;
}

.share-options a:hover,
.share-options button:hover {
  color: #dce5f0;
  background: rgba(255, 255, 255, 0.06);
}

/* Retro share — Tron blue, it's a utility action */
body.retro-mode .share-btn {
  font-family: var(--btn-mono);
  font-size: 0.66rem;
  letter-spacing: 0.10em;
  background: transparent;
  color: rgba(var(--r-blue-rgb), 0.55);
  border: 1px solid rgba(var(--r-blue-rgb), 0.30);
  border-radius: 2px;
}

body.retro-mode .share-btn:hover {
  color: var(--r-blue);
  background: rgba(var(--r-blue-rgb), 0.06);
  border-color: rgba(var(--r-blue-rgb), 0.60);
  text-shadow: 0 0 8px rgba(var(--r-blue-rgb), 0.50);
}

body.retro-mode .share-options {
  background: rgba(5, 10, 3, 0.98);
  border: 1px solid rgba(var(--r-blue-rgb), 0.32);
  border-top: 2px solid var(--r-blue);
  border-radius: 2px;
  box-shadow: 0 0 20px rgba(var(--r-blue-rgb), 0.08);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body.retro-mode .share-options a,
body.retro-mode .share-options button {
  font-family: var(--btn-mono);
  font-size: 0.70rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(var(--r-blue-rgb), 0.45);
  border-radius: 1px;
}

body.retro-mode .share-options a:hover,
body.retro-mode .share-options button:hover {
  color: var(--r-blue);
  background: rgba(var(--r-blue-rgb), 0.07);
  text-shadow: 0 0 6px rgba(var(--r-blue-rgb), 0.45);
}


/* ════════════════════════════════════════════════════════════
   NEON ANIMATIONS  (utility keyframes used by JS)
════════════════════════════════════════════════════════════ */
@keyframes neonPulse {
  0%, 100% { box-shadow: 0 0 8px  rgba(var(--r-green-rgb), 0.40); }
  50%       { box-shadow: 0 0 18px rgba(var(--r-green-rgb), 0.70); }
}

@keyframes flicker {
  0%, 18%, 22%, 25%, 53%, 57%, 100% { opacity: 1;   }
  19%, 23%, 26%, 55%                 { opacity: 0.4; }
}


/* ════════════════════════════════════════════════════════════
   RESPONSIVE  (unchanged)
════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .retro-toggle-btn {
    top: 2rem;
    right: 1rem;
    font-size: 0.68rem;
    padding: 0.45rem 0.9rem;
  }
  .btn-primary {
    display: inline-flex;
    max-width: 90%;
    margin: 0.75rem auto 0;
  }
}

@media (max-width: 768px) {
  .retro-toggle-btn {
    top: 1.75rem;
    right: 1rem;
    font-size: 0.64rem;
    padding: 0.4rem 0.85rem;
  }
}

@media (max-width: 600px) {
  .share-wrapper { display: block; margin: 0.5rem 0; }
  .share-options { right: auto; left: 0; min-width: 100%; }
  .share-options a,
  .share-options button { font-size: 0.85rem; padding: 0.55rem 0.75rem; }
  .modal-actions { flex-direction: column; }
  .modal-confirm,
  .modal-back { width: 100%; justify-content: center; }
}


/* ────────────────────────────────────────────────────────────
   REDUCED MOTION
──────────────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  .btn-glow,
  .retro-toggle-btn,
  .season-toggle-btn,
  .modal-confirm,
  .modal-back,
  .share-btn,
  .modal-box {
    transition: none !important;
    animation: none !important;
  }
}