/* ============================================================
   Sacred XP – Main Stylesheet
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
/* Midnight: Cormorant Garant + Raleway                        */
/* Sacred Earth: Playfair Display + Lato                       */
/* Forest Temple: Cinzel + Josefin Sans                        */
/* Rose Quartz: Libre Baskerville + Nunito                     */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cormorant+Garant:ital,wght@0,300;0,400;0,600;0,700;1,400;1,600&family=Josefin+Sans:wght@300;400;600&family=Lato:wght@300;400;700&family=Libre+Baskerville:ital,wght@0,400;0,700;1,400&family=Nunito:wght@300;400;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Raleway:wght@300;400;500;600&display=swap');

/* ── Custom Properties (Default: Midnight) ────────────────── */
:root {
  --primary:        #0d0a1a;
  --secondary:      #2d1b4e;
  --tertiary:       #4a2c6e;
  --accent:         #c9a84c;
  --accent-light:   #e8d5b7;
  --accent-pale:    #f7f0e3;
  --bg:             #faf8f5;
  --bg-alt:         #f3ede4;
  --text:           #2a2438;
  --text-muted:     #6b6480;
  --white:          #ffffff;
  --border:         rgba(201,168,76,0.25);
  --shadow:         0 4px 32px rgba(13,10,26,0.10);
  --shadow-card:    0 2px 20px rgba(13,10,26,0.08);
  --radius:         12px;
  --radius-sm:      8px;
  --transition:     0.3s ease;
  --nav-height:     72px;
  --container:      1160px;
  --font-heading:   'Cormorant Garant', serif;
  --font-body:      'Raleway', sans-serif;
  /* ── Dark surface colours (nav, hero, footer, dark sections) */
  --nav-bg:         rgba(13,10,26,0.97);
  --nav-bg-mobile:  rgba(13,10,26,0.98);
  --hero-bg-a:      #0d0a1a;
  --hero-bg-b:      #1a0d35;
  --hero-glow-1:    rgba(74,44,110,0.55);
  --hero-glow-2:    rgba(201,168,76,0.12);
  --hero-grid:      rgba(201,168,76,0.5);
  --hero-ring:      rgba(201,168,76,0.15);
  --page-hero-glow: rgba(74,44,110,0.5);
  --dropdown-bg:    rgba(13,10,26,0.97);
}

/* ─────────────────────────────────────────────────────────────
   Theme: Sacred Earth
   Warm terracotta, burnt amber, sand & espresso.
   Fonts: Playfair Display (editorial serif) + Lato (clean sans)
───────────────────────────────────────────────────────────── */
[data-theme="earth"] {
  --primary:        #1e0c04;
  --secondary:      #5c2810;
  --tertiary:       #8a4020;
  --accent:         #d4732a;
  --accent-light:   #edc090;
  --accent-pale:    #fdf3e8;
  --bg:             #fdf7ef;
  --bg-alt:         #f5e8d5;
  --text:           #2c180a;
  --text-muted:     #8a6a50;
  --white:          #fffdf8;
  --border:         rgba(212,115,42,0.28);
  --shadow:         0 4px 32px rgba(30,12,4,0.12);
  --shadow-card:    0 2px 20px rgba(30,12,4,0.09);
  --font-heading:   'Playfair Display', serif;
  --font-body:      'Lato', sans-serif;
  --nav-bg:         rgba(30,12,4,0.97);
  --nav-bg-mobile:  rgba(30,12,4,0.98);
  --hero-bg-a:      #1e0c04;
  --hero-bg-b:      #3d1a08;
  --hero-glow-1:    rgba(138,64,32,0.60);
  --hero-glow-2:    rgba(212,115,42,0.15);
  --hero-grid:      rgba(212,115,42,0.5);
  --hero-ring:      rgba(212,115,42,0.18);
  --page-hero-glow: rgba(138,64,32,0.55);
  --dropdown-bg:    rgba(30,12,4,0.97);
}

/* ─────────────────────────────────────────────────────────────
   Theme: Forest Temple
   Deep emerald, jade, and ancient gold on sage-white.
   Fonts: Cinzel (ancient Roman caps) + Josefin Sans (geometric)
───────────────────────────────────────────────────────────── */
[data-theme="forest"] {
  --primary:        #040f08;
  --secondary:      #0b3018;
  --tertiary:       #165030;
  --accent:         #7ab648;
  --accent-light:   #bcd99a;
  --accent-pale:    #edf7e6;
  --bg:             #f2f8f3;
  --bg-alt:         #ddeee3;
  --text:           #0a1f10;
  --text-muted:     #4a7058;
  --white:          #f8fdf9;
  --border:         rgba(122,182,72,0.28);
  --shadow:         0 4px 32px rgba(4,15,8,0.12);
  --shadow-card:    0 2px 20px rgba(4,15,8,0.09);
  --font-heading:   'Cinzel', serif;
  --font-body:      'Josefin Sans', sans-serif;
  --nav-bg:         rgba(4,15,8,0.97);
  --nav-bg-mobile:  rgba(4,15,8,0.98);
  --hero-bg-a:      #040f08;
  --hero-bg-b:      #091e10;
  --hero-glow-1:    rgba(22,80,48,0.65);
  --hero-glow-2:    rgba(122,182,72,0.15);
  --hero-grid:      rgba(122,182,72,0.5);
  --hero-ring:      rgba(122,182,72,0.18);
  --page-hero-glow: rgba(22,80,48,0.60);
  --dropdown-bg:    rgba(4,15,8,0.97);
}

/* ─────────────────────────────────────────────────────────────
   Theme: Rose Quartz
   Deep burgundy, dusty rose & champagne on blush white.
   Fonts: Libre Baskerville (classic serif) + Nunito (round sans)
───────────────────────────────────────────────────────────── */
[data-theme="rose"] {
  --primary:        #180610;
  --secondary:      #4e1030;
  --tertiary:       #7a2050;
  --accent:         #c44870;
  --accent-light:   #e8a0b8;
  --accent-pale:    #fdf0f4;
  --bg:             #fdf7f9;
  --bg-alt:         #f5e5ec;
  --text:           #280c1c;
  --text-muted:     #8a5068;
  --white:          #fffbfd;
  --border:         rgba(196,72,112,0.25);
  --shadow:         0 4px 32px rgba(24,6,16,0.12);
  --shadow-card:    0 2px 20px rgba(24,6,16,0.09);
  --font-heading:   'Libre Baskerville', serif;
  --font-body:      'Nunito', sans-serif;
  --nav-bg:         rgba(24,6,16,0.97);
  --nav-bg-mobile:  rgba(24,6,16,0.98);
  --hero-bg-a:      #180610;
  --hero-bg-b:      #300a22;
  --hero-glow-1:    rgba(122,32,80,0.60);
  --hero-glow-2:    rgba(196,72,112,0.15);
  --hero-grid:      rgba(196,72,112,0.5);
  --hero-ring:      rgba(196,72,112,0.18);
  --page-hero-glow: rgba(122,32,80,0.55);
  --dropdown-bg:    rgba(24,6,16,0.97);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.2rem; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Utilities ────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 1.5rem;
}
.text-center { text-align: center; }
.text-gold { color: var(--accent); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ── Section Helpers ──────────────────────────────────────── */
.section { padding: 5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: var(--primary);
  color: var(--white);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }

.section-header { margin-bottom: 3rem; }
.section-header .eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.section-header h2 { margin-bottom: 1rem; }
.section-header p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
}
.section-header.text-center p { margin-inline: auto; }
.divider {
  width: 48px;
  height: 2px;
  background: var(--accent);
  margin: 1rem 0 0;
}
.divider.center { margin-inline: auto; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: var(--transition);
}
.btn-primary {
  background: var(--accent);
  color: var(--primary);
}
.btn-primary:hover { background: #b8963e; transform: translateY(-2px); box-shadow: 0 6px 24px rgba(201,168,76,0.35); }
.btn-outline {
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-outline:hover { background: var(--accent); color: var(--primary); transform: translateY(-2px); }
.btn-dark {
  background: var(--primary);
  color: var(--white);
  border: 1.5px solid var(--primary);
}
.btn-dark:hover { background: var(--secondary); border-color: var(--secondary); transform: translateY(-2px); }
.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ── Navigation ───────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
}
.site-header.scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 24px rgba(0,0,0,0.3);
}
.navbar {
  height: var(--nav-height);
}
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.85; }
.logo-symbol {
  font-size: 1.6rem;
  color: var(--accent);
  line-height: 1;
}
.logo-img {
  height: 38px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  color: rgba(255,255,255,0.82);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover, .nav-links a.active { color: var(--accent); }
.nav-links .btn-nav {
  background: var(--accent);
  color: var(--primary) !important;
  padding: 0.5rem 1.25rem;
  margin-left: 0.5rem;
  font-weight: 600;
}
.nav-links .btn-nav:hover { background: #b8963e; color: var(--primary) !important; }

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  color: var(--white);
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: currentColor;
  transition: var(--transition);
  transform-origin: center;
}
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--primary);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 60% 50%, var(--hero-glow-1) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, var(--hero-glow-2) 0%, transparent 60%),
    linear-gradient(135deg, var(--hero-bg-a) 0%, var(--hero-bg-b) 50%, var(--hero-bg-a) 100%);
}
.hero-geo {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 59px, var(--hero-grid) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, var(--hero-grid) 60px);
}
.hero-circle {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--hero-ring);
  top: 50%; left: 58%;
  transform: translate(-50%, -50%);
  animation: pulse-ring 6s ease-in-out infinite;
}
.hero-circle:nth-child(1) { width: 400px; height: 400px; animation-delay: 0s; }
.hero-circle:nth-child(2) { width: 600px; height: 600px; animation-delay: 1s; }
.hero-circle:nth-child(3) { width: 800px; height: 800px; animation-delay: 2s; }
.hero-circle:nth-child(4) { width: 1000px; height: 1000px; animation-delay: 3s; }
@keyframes pulse-ring {
  0%, 100% { opacity: 0.15; transform: translate(-50%, -50%) scale(1); }
  50%       { opacity: 0.08; transform: translate(-50%, -50%) scale(1.03); }
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 680px;
  padding-top: var(--nav-height);
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
}
.hero-content h1 em {
  font-style: italic;
  color: var(--accent);
}
.hero-content p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  margin-bottom: 2rem;
}
.hero-badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  flex-direction: column;
}
.hero-badge strong {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
}
.hero-badge span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

/* ── Page Hero (inner pages) ──────────────────────────────── */
.page-hero {
  background: var(--primary);
  padding: calc(var(--nav-height) + 3.5rem) 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 100% at 50% 50%, var(--page-hero-glow) 0%, transparent 70%);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(255,255,255,0.65); font-size: 1.05rem; max-width: 560px; }
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.breadcrumb a { color: var(--accent); transition: opacity var(--transition); }
.breadcrumb a:hover { opacity: 0.75; }
.breadcrumb span { color: rgba(255,255,255,0.25); }

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-card);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card-body { padding: 1.75rem; }
.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  background: var(--bg-alt);
}
.card-img-placeholder {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--secondary), var(--tertiary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  color: rgba(201,168,76,0.5);
}
.card-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { color: var(--text-muted); font-size: 0.93rem; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 1.25rem;
  transition: gap var(--transition);
}
.card-link:hover { gap: 0.7rem; }

/* ── Grid layouts ─────────────────────────────────────────── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

/* ── Team / About ─────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-card);
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--tertiary));
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--accent);
  border: 3px solid var(--accent);
  position: relative;
  overflow: hidden;
}
.team-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.team-role {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}
.team-card h3 { font-size: 1.3rem; margin-bottom: 0.75rem; }
.team-card p { font-size: 0.9rem; color: var(--text-muted); }

/* ── Mission / Values strip ───────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}
.value-item {
  padding: 2rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.04);
  text-align: center;
}
.value-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--accent);
}
.value-item h4 { color: var(--white); margin-bottom: 0.5rem; }
.value-item p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

/* ── Events ───────────────────────────────────────────────── */
.event-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 1.75rem;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-card);
  align-items: start;
}
.event-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.event-date-box {
  min-width: 68px;
  text-align: center;
  background: var(--secondary);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  color: var(--white);
}
.event-date-box .month {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
}
.event-date-box .day {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}
.event-date-box .year {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.5);
}
.event-body {}
.event-tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 0.5rem; }
.event-tag {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-pale);
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
}
.event-body h3 { margin-bottom: 0.4rem; }
.event-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  flex-wrap: wrap;
}
.event-meta span { display: flex; align-items: center; gap: 0.3rem; }
.events-list { display: flex; flex-direction: column; gap: 1.25rem; }
.past-event { opacity: 0.75; }

/* ── Registration / Interest modal ────────────────────────── */
.reg-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 5vh 1rem 2rem;
  overflow-y: auto;
  background: rgba(13, 10, 26, 0.6);
  backdrop-filter: blur(3px);
}
.reg-modal[hidden] { display: none; }
.reg-modal-box {
  position: relative;
  width: 100%;
  max-width: 480px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 1.75rem 1.75rem;
  animation: regModalIn 0.25s ease;
}
@keyframes regModalIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.reg-modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.9rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  color: var(--text-muted);
}
.reg-modal-close:hover { color: var(--text); }
.reg-event-name {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}
.reg-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.reg-type-option {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.7rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.reg-type-option input { position: absolute; opacity: 0; pointer-events: none; }
.reg-type-option.active { border-color: var(--secondary); background: rgba(201, 168, 76, 0.08); }
.reg-type-title { font-weight: 600; font-size: 0.9rem; }
.reg-type-sub { font-size: 0.74rem; color: var(--text-muted); }
.reg-notice {
  font-size: 0.82rem;
  color: var(--text-muted);
  background: var(--bg-subtle, rgba(0,0,0,0.03));
  border-left: 3px solid var(--secondary);
  padding: 0.65rem 0.8rem;
  border-radius: 6px;
  margin-bottom: 1.1rem;
}
.reg-notice--warn { border-left-color: #c98a2e; }
.reg-field { margin-bottom: 0.85rem; }
.reg-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.reg-optional { font-weight: 400; color: var(--text-muted); }
.reg-field input,
.reg-field textarea {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.92rem;
  background: var(--white);
  color: var(--text);
}
.reg-field input:focus,
.reg-field textarea:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}
.reg-field-row { display: grid; grid-template-columns: 1fr 90px; gap: 0.75rem; }
.reg-error {
  font-size: 0.84rem;
  color: #b3261e;
  background: rgba(179, 38, 30, 0.08);
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 0.6rem;
}
.reg-fineprint { font-size: 0.72rem; color: var(--text-muted); text-align: center; margin-top: 0.75rem; }
.reg-success { text-align: center; padding: 1rem 0.5rem; }
.reg-success-icon { font-size: 2.5rem; color: var(--secondary); margin-bottom: 0.5rem; }

/* In-modal auth (account chip + sign-in options) */
.reg-account[hidden],
.reg-auth-email[hidden] { display: none; }
.reg-account {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text);
  background: rgba(46,160,67,0.10);
  border: 1px solid rgba(46,160,67,0.25);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  margin-bottom: 1.1rem;
}
.reg-account-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #2ea043;
  color: #fff;
  font-size: 0.7rem;
  flex-shrink: 0;
}
.reg-auth { margin-bottom: 1.1rem; }
.reg-auth-label { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.65rem; }
.reg-auth-providers { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.btn-auth-sm { padding: 0.6rem 0.8rem; margin-bottom: 0; font-size: 0.85rem; }
.btn-auth-sm .google-icon,
.btn-auth-sm .facebook-icon { width: 17px; height: 17px; }
.reg-email-toggle { display: inline-block; margin-top: 0.7rem; font-size: 0.8rem; }
.reg-auth-email { margin-top: 0.7rem; display: flex; flex-direction: column; gap: 0.5rem; }
.reg-auth-email input {
  width: 100%;
  padding: 0.55rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text);
}
.reg-auth-email input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.reg-auth-email-actions { display: flex; align-items: center; gap: 0.85rem; }
.reg-auth-msg { font-size: 0.78rem; border-radius: 6px; padding: 0.5rem 0.65rem; margin: 0; }
.reg-auth-msg--info    { background: rgba(0,0,0,0.04); color: var(--text-muted); }
.reg-auth-msg--success { background: rgba(46,160,67,0.12); color: #1a7f37; }
.reg-auth-msg--error   { background: rgba(179,38,30,0.10); color: #b3261e; }
.reg-auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.1rem 0 0;
  color: var(--text-muted);
  font-size: 0.76rem;
}
.reg-auth-divider::before,
.reg-auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ── Products / Services ──────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
  box-shadow: var(--shadow-card);
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.product-img {
  width: 100%;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--secondary), var(--tertiary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}
.product-body { padding: 1.5rem; }
.product-body h3 { margin-bottom: 0.5rem; }
.product-body p { font-size: 0.9rem; color: var(--text-muted); }
.product-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.product-price .price {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--accent);
}

/* ── Product action buttons (Add to Cart / Buy Now) ───────── */
.product-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
  margin-top: 1rem;
}
.btn-add-cart,
.btn-buy-now {
  padding: 0.55rem 0.75rem;
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
              transform var(--transition), border-color var(--transition);
  white-space: nowrap;
}
.btn-add-cart {
  background: transparent;
  border: 1.5px solid var(--accent);
  color: var(--accent);
}
.btn-add-cart:hover:not(:disabled) {
  background: var(--accent);
  color: var(--primary);
  transform: translateY(-1px);
}
.btn-buy-now {
  background: var(--accent);
  border: 1.5px solid var(--accent);
  color: var(--primary);
}
.btn-buy-now:hover:not(:disabled) {
  background: #b8963e;
  border-color: #b8963e;
  transform: translateY(-1px);
}
.btn-add-cart:disabled,
.btn-buy-now:disabled { opacity: 0.5; cursor: default; }

/* ── Cart toast notification ──────────────────────────────── */
.cart-toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  background: var(--primary);
  color: var(--accent-light);
  border: 1px solid var(--accent);
  border-radius: 30px;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-body);
  font-size: 0.88rem;
  white-space: nowrap;
  z-index: 2000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.cart-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.cart-toast--error {
  border-color: #c94040;
  color: #f09090;
}
.service-card {
  padding: 2.25rem;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.service-icon {
  width: 56px;
  height: 56px;
  background: var(--accent-pale);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}
.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { font-size: 0.93rem; color: var(--text-muted); }
.service-features { margin-top: 1rem; }
.service-features li {
  font-size: 0.88rem;
  color: var(--text-muted);
  padding: 0.3rem 0;
  padding-left: 1.2rem;
  position: relative;
}
.service-features li::before {
  content: '✦';
  position: absolute;
  left: 0;
  font-size: 0.55rem;
  color: var(--accent);
  top: 0.45rem;
}

/* ── Contact ──────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.contact-info h3 { margin-bottom: 0.5rem; }
.contact-info p { color: var(--text-muted); margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 44px;
  height: 44px;
  background: var(--accent-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-detail-text strong { display: block; font-size: 0.8rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.2rem; }
.contact-detail-text span { font-size: 0.95rem; color: var(--text); }
.contact-form-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}
.form-group { margin-bottom: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
}
.form-group textarea { resize: vertical; min-height: 140px; }

/* ── Feature Strip ────────────────────────────────────────── */
.feature-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.feature-strip-item {
  padding: 2rem 1.5rem;
  text-align: center;
  border-right: 1px solid var(--border);
  background: var(--white);
}
.feature-strip-item:last-child { border-right: none; }
.feature-strip-item .icon { font-size: 1.8rem; color: var(--accent); margin-bottom: 0.75rem; }
.feature-strip-item h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.feature-strip-item p { font-size: 0.85rem; color: var(--text-muted); }

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  background: linear-gradient(135deg, var(--secondary) 0%, var(--tertiary) 100%);
  border-radius: var(--radius);
  padding: 3.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 29px, var(--hero-grid) 30px),
    repeating-linear-gradient(90deg, transparent, transparent 29px, var(--hero-grid) 30px);
  opacity: 0.08;
}
.cta-banner > * { position: relative; z-index: 1; }
.cta-banner h2 { color: var(--white); margin-bottom: 0.75rem; }
.cta-banner p { color: rgba(255,255,255,0.7); max-width: 480px; margin: 0 auto 2rem; }

/* ── Footer ───────────────────────────────────────────────── */
.site-footer {
  background: var(--primary);
  color: rgba(255,255,255,0.65);
  padding: 4rem 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .logo { margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 260px; }
.footer-col h5 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
  font-size: 0.9rem;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-bottom p { margin-bottom: 0; }
.footer-bottom .accent { color: var(--accent); }
.social-links { display: flex; gap: 0.75rem; }
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  color: rgba(255,255,255,0.65);
}
.social-link:hover { border-color: var(--accent); color: var(--accent); background: rgba(201,168,76,0.1); }

/* ── Tabs (Events) ────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 2.5rem;
}
.tab-btn {
  padding: 0.85rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
}
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }
.tab-btn:hover { color: var(--text); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── About page ───────────────────────────────────────────── */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-intro-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-mandala {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), var(--tertiary));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.about-mandala::before,
.about-mandala::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(201,168,76,0.3);
}
.about-mandala::before { inset: 20px; }
.about-mandala::after  { inset: 50px; }
.about-mandala-inner {
  font-size: 5rem;
  color: rgba(201,168,76,0.6);
}
.stat-row { display: flex; gap: 2.5rem; margin-top: 2rem; }
.stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}
.stat span { font-size: 0.82rem; color: var(--text-muted); }

/* ── Badge ────────────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem;
  border-radius: 20px;
  background: var(--accent-pale);
  color: var(--accent);
  border: 1px solid rgba(201,168,76,0.3);
}
.badge-outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-intro-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-intro-visual { display: none; }
}

@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .section { padding: 3.5rem 0; }

  /* Nav */
  .mobile-menu-btn { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0; right: 0;
    background: var(--nav-bg-mobile);
    backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 1.5rem;
    gap: 0.25rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .nav-links a { display: block; padding: 0.75rem 1rem; font-size: 0.9rem; }
  .nav-links .btn-nav { margin: 0.5rem 0 0; text-align: center; }

  /* Grids */
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-strip { grid-template-columns: 1fr 1fr; }
  .feature-strip-item { border-bottom: 1px solid var(--border); }
  .event-card { grid-template-columns: 1fr; }
  .event-date-box { display: flex; align-items: center; gap: 0.5rem; width: fit-content; }
  .event-date-box .day { font-size: 1.4rem; }
  .form-row { grid-template-columns: 1fr; }
  .cta-banner { padding: 2.5rem 1.5rem; }
  .hero-badges { gap: 1rem; }
}

/* ── Theme Switcher Dropdown ──────────────────────────────── */
.nav-theme-switcher {
  position: relative;
}
.theme-toggle-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.82);
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.5rem 0.9rem;
  border-radius: 4px;
  transition: color var(--transition), background var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  white-space: nowrap;
}
.theme-toggle-btn:hover { color: var(--accent); }
.theme-toggle-icon {
  font-size: 1rem;
  line-height: 1;
}
.theme-toggle-chevron {
  font-size: 0.6rem;
  transition: transform var(--transition);
  display: inline-block;
}
.theme-toggle-btn[aria-expanded="true"] .theme-toggle-chevron {
  transform: rotate(180deg);
}
.theme-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--dropdown-bg);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 0.5rem;
  min-width: 210px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.45);
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999;
}
.theme-dropdown.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.theme-dropdown-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  padding: 0.5rem 0.75rem 0.35rem;
  display: block;
}
.theme-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.65rem 0.75rem;
  border-radius: 6px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.75);
  font-family: sans-serif; /* intentionally neutral — not themed */
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
  text-align: left;
}
.theme-option:hover { background: rgba(255,255,255,0.07); color: #fff; }
.theme-option.active { color: #fff; }
.theme-option-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 1;
}
.theme-option-name {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.2;
}
.theme-option-font {
  font-size: 0.64rem;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.32);
  line-height: 1.2;
  font-style: italic;
}
.theme-option.active .theme-option-name::after {
  content: ' ✓';
  font-size: 0.7rem;
  color: #c9a84c;
}
.theme-swatch {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.15);
  flex-shrink: 0;
  display: inline-block;
}

@media (max-width: 768px) {
  .nav-theme-switcher { width: 100%; }
  .theme-toggle-btn { width: 100%; justify-content: flex-start; padding: 0.75rem 1rem; }
  .theme-dropdown {
    position: static;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: none;
    backdrop-filter: none;
    margin-top: 0.25rem;
    opacity: 1;
    transform: none;
    pointer-events: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease;
  }
  .theme-dropdown.open {
    pointer-events: auto;
    max-height: 300px;
  }
}

/* ── Theme transition ─────────────────────────────────────── */
body, .site-header, .site-footer, .card, .service-card, .product-card,
.event-card, .team-card, .contact-form-card, .feature-strip-item,
.hero, .page-hero, .section-dark, .cta-banner, .value-item {
  transition: background-color 0.35s ease, color 0.35s ease, border-color 0.35s ease;
}

@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
  .feature-strip { grid-template-columns: 1fr; }
  .tabs { overflow-x: auto; }
  .stat-row { gap: 1.5rem; }
}

/* ============================================================
   Auth & Cart UI  (added v0.5)
   ============================================================ */

/* ── nav-end: cart + auth + hamburger ────────────────────────
   Sits to the right of .nav-links in the .container flex row.
   On mobile it hugs the right edge and shows all controls;
   .nav-links collapses into the hamburger panel.           */
.nav-end {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: auto;
  flex-shrink: 0;
}

/* On desktop the hamburger is already hidden; .nav-links is
   visible so we only need cart + auth visible in nav-end.    */
@media (min-width: 769px) {
  .nav-end {
    margin-left: 0;   /* nav-links has flex:1, so this is auto */
  }
}

/* ── Cart button ─────────────────────────────────────────── */
.nav-cart-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--accent-light);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.nav-cart-btn:hover,
.nav-cart-btn.active { background: rgba(255,255,255,0.08); color: var(--accent); }

.nav-cart-icon {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.nav-cart-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 99px;
  background: var(--accent);
  color: var(--primary);
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-body);
  line-height: 17px;
  text-align: center;
  pointer-events: none;
}

/* ── Sign-in button (small, nav style) ──────────────────── */
.btn-nav-sm {
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition), color var(--transition);
}
.btn-nav-sm:hover {
  background: var(--accent);
  color: var(--primary);
}

/* ── User menu ───────────────────────────────────────────── */
.user-menu { position: relative; }

.user-avatar-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.6rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 20px;
  color: var(--accent-light);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.user-avatar-btn:hover { border-color: var(--accent); background: rgba(255,255,255,0.06); }

.user-avatar-img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
}
.user-chevron { font-size: 0.65rem; opacity: 0.7; }

/* Dropdown */
.user-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 170px;
  background: var(--dropdown-bg);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0;
  z-index: 200;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4);
}
.user-dropdown.open { display: block; }

.user-dropdown a,
.user-dropdown-signout {
  display: block;
  width: 100%;
  padding: 0.55rem 1rem;
  color: var(--accent-light);
  font-family: var(--font-body);
  font-size: 0.85rem;
  text-decoration: none;
  text-align: left;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.user-dropdown a:hover,
.user-dropdown-signout:hover {
  background: rgba(255,255,255,0.07);
  color: var(--accent);
}
.user-dropdown-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,0.1);
  margin: 0.3rem 0;
}

/* Mobile: hide display name to save space */
@media (max-width: 480px) {
  .user-display-name { display: none; }
}

/* ── Auth page card ──────────────────────────────────────── */
.auth-card {
  max-width: 440px;
  margin: 0 auto;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.auth-card-inner {
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.auth-logo-wrap { margin-bottom: 1.25rem; }
.auth-logo { width: 72px; height: 72px; object-fit: contain; border-radius: 50%; }
.auth-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--text);
  margin-bottom: 0.4rem;
}
.auth-subtitle { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 2rem; }

/* Google sign-in button */
.btn-google {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.8rem 1.25rem;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 8px;
  color: #3c4043;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
  text-decoration: none;
  margin-bottom: 1.25rem;
}
.btn-google:hover { box-shadow: 0 1px 8px rgba(0,0,0,0.2); background: #f8f8f8; }
.google-icon { width: 20px; height: 20px; flex-shrink: 0; }

.auth-providers { width: 100%; }

/* Facebook button */
.btn-facebook {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.8rem 1.25rem;
  background: #1877f2;
  border: 1px solid #1877f2;
  border-radius: 8px;
  color: #fff;
  font-family: 'Raleway', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
  text-decoration: none;
}
.btn-facebook:hover { background: #166fe0; box-shadow: 0 1px 8px rgba(24,119,242,0.4); }
.btn-facebook:disabled { opacity: 0.7; cursor: default; }
.facebook-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* "or" divider */
.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  margin: 1.4rem 0;
  color: var(--text-muted);
  font-size: 0.8rem;
}
.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* Email / password form */
.auth-form { width: 100%; display: flex; flex-direction: column; gap: 0.85rem; }
.auth-field { text-align: left; }
.auth-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.auth-field input {
  width: 100%;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  font: inherit;
  font-size: 0.92rem;
  background: var(--white);
  color: var(--text);
}
.auth-field input:focus {
  outline: none;
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}
.auth-submit { width: 100%; margin-top: 0.25rem; }

.auth-link {
  background: none;
  border: none;
  color: var(--accent);
  font: inherit;
  font-size: 0.82rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}
.auth-link:hover { opacity: 0.8; }
.auth-toggle { font-size: 0.85rem; color: var(--text-muted); margin-top: 1.25rem; }
.auth-toggle .auth-link { font-size: 0.85rem; margin-left: 0.25rem; }

.auth-note { font-size: 0.78rem; color: var(--text-muted); margin-top: 1rem; }
.auth-note a { color: var(--accent); }

.auth-message {
  margin: 0;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  width: 100%;
  text-align: left;
}
.auth-message--info    { background: rgba(0,0,0,0.04); color: var(--text-muted); }
.auth-message--success { background: rgba(46,160,67,0.12); color: #1a7f37; }
.auth-message--error   { background: rgba(179,38,30,0.10); color: #b3261e; }

/* ── Account page ────────────────────────────────────────── */
.account-loading { text-align: center; padding: 3rem; color: var(--text-muted); }

.account-section {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.account-section-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  color: var(--text);
  margin-bottom: 0.5rem;
}
.account-section-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 1.25rem; }

.account-profile-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}
.account-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.account-name  { font-family: var(--font-heading); font-size: 1.2rem; color: var(--text); }
.account-email { font-size: 0.85rem; color: var(--text-muted); margin-top: 0.2rem; }

/* Theme grid */
.account-theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.account-theme-option {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem;
  background: var(--bg);
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition);
}
.account-theme-option:hover { border-color: var(--accent); }
.account-theme-option.active {
  border-color: var(--accent);
  background: var(--accent-pale);
}
.account-theme-option .theme-swatch {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  display: block;
}
.account-theme-saved {
  color: var(--accent);
  font-size: 0.85rem;
  font-style: italic;
}

/* Account links grid */
.account-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.account-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.9rem;
  text-decoration: none;
  transition: border-color var(--transition), transform var(--transition);
}
.account-link-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.account-link-icon { font-size: 1.5rem; }

.account-section--signout { background: transparent; border: none; padding: 0; }
.btn-outline-danger {
  padding: 0.6rem 1.5rem;
  border-radius: 6px;
  border: 1px solid rgba(220,50,50,0.5);
  color: #c94040;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.9rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition);
}
.btn-outline-danger:hover { background: rgba(220,50,50,0.08); }

/* ── Cart page ───────────────────────────────────────────── */
.cart-loading { text-align: center; padding: 3rem; color: var(--text-muted); }

.cart-empty {
  text-align: center;
  padding: 4rem 1rem;
  max-width: 480px;
  margin: 0 auto;
}
.cart-empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.cart-empty h2 { font-family: var(--font-heading); font-size: 1.6rem; margin-bottom: 0.75rem; }
.cart-empty p  { color: var(--text-muted); margin-bottom: 1.5rem; }
.cart-empty-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 2rem;
  align-items: start;
}
@media (max-width: 800px) {
  .cart-layout { grid-template-columns: 1fr; }
}

/* Cart items */
.cart-item {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: 1rem;
  align-items: center;
  padding: 1.25rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}
@media (max-width: 560px) {
  .cart-item { grid-template-columns: 56px 1fr; grid-template-rows: auto auto; }
  .cart-item-controls { grid-column: 2; }
  .cart-item-subtotal { grid-column: 1 / -1; text-align: right; font-weight: 600; }
}

.cart-item-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}
.cart-item-img-placeholder {
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 1.5rem;
  color: var(--text-muted);
}
.cart-item-title  { font-family: var(--font-heading); font-size: 1.05rem; }
.cart-item-type   { font-size: 0.78rem; color: var(--text-muted); margin: 0.2rem 0; }
.cart-item-price  { font-size: 0.85rem; color: var(--accent); }

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.cart-qty-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  cursor: pointer;
  transition: background var(--transition);
}
.cart-qty-btn:hover { background: var(--bg-alt); border-color: var(--accent); }
.cart-qty {
  min-width: 24px;
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
}
.cart-remove-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(200,60,60,0.3);
  background: transparent;
  color: #c94040;
  font-size: 0.75rem;
  cursor: pointer;
  margin-left: 0.3rem;
  transition: background var(--transition);
}
.cart-remove-btn:hover { background: rgba(200,60,60,0.1); }

.cart-item-subtotal {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: var(--text);
  text-align: right;
  white-space: nowrap;
}

/* Summary card */
.cart-summary-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: calc(var(--nav-height) + 1rem);
}
.cart-summary-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--text);
}
.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}
.cart-summary-total {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text);
  border-top: 1px solid var(--border);
  padding-top: 0.75rem;
  margin: 0.75rem 0 1.25rem;
}
.cart-guest-note {
  font-size: 0.83rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.cart-guest-note a { color: var(--accent); }

.cart-checkout-btn {
  width: 100%;
  padding: 0.85rem;
  border-radius: 8px;
}
.cart-checkout-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.cart-checkout-success {
  margin-top: 1rem;
  padding: 0.75rem;
  background: rgba(122,182,72,0.12);
  border: 1px solid rgba(122,182,72,0.35);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text);
  text-align: center;
}
.cart-checkout-success a { color: var(--accent); }

/* ── Orders page ─────────────────────────────────────────── */
.order-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
}
.order-card-summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 1.5rem;
}
.order-card-summary::-webkit-details-marker { display: none; }

.order-card-header {
  display: grid;
  grid-template-columns: 1fr auto auto auto 1.5rem;
  gap: 1rem;
  align-items: center;
}
@media (max-width: 600px) {
  .order-card-header { grid-template-columns: 1fr auto auto; grid-template-rows: auto auto; }
  .order-card-total  { grid-column: 1; grid-row: 2; }
  .order-card-chevron { grid-column: 3; grid-row: 1 / 3; align-self: center; }
}

.order-card-id {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text);
}
.order-card-id span { color: var(--accent); }
.order-card-date { font-size: 0.82rem; color: var(--text-muted); }
.order-card-total {
  font-family: var(--font-heading);
  font-size: 1rem;
  color: var(--text);
}
.order-card-chevron {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}
.order-card[open] .order-card-chevron { transform: rotate(180deg); }

.order-card-body {
  padding: 0 1.5rem 1.5rem;
  border-top: 1px solid var(--border);
}

/* Status badges */
.order-status-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.04em;
  white-space: nowrap;
}
.status--pending    { background: rgba(201,168,76,0.15); color: #b8943c; border: 1px solid rgba(201,168,76,0.4); }
.status--confirmed  { background: rgba(42,130,200,0.12); color: #2a82c8; border: 1px solid rgba(42,130,200,0.35); }
.status--processing { background: rgba(122,100,200,0.12); color: #7a64c8; border: 1px solid rgba(122,100,200,0.35); }
.status--completed  { background: rgba(80,180,80,0.12);  color: #3a9a3a; border: 1px solid rgba(80,180,80,0.35); }
.status--cancelled  { background: rgba(200,60,60,0.10);  color: #c84040; border: 1px solid rgba(200,60,60,0.3); }
.status--refunded   { background: rgba(150,150,150,0.1); color: #707070; border: 1px solid rgba(150,150,150,0.3); }

/* Order item rows */
.order-item-row {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.order-item-row:last-child { border-bottom: none; }

.order-item-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}
.order-item-img-placeholder {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
}
.order-item-title   { font-size: 0.9rem; color: var(--text); }
.order-ticket-ref   { font-size: 0.78rem; color: var(--accent); margin-top: 0.15rem; }
.order-item-meta    { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.1rem; }
.order-item-subtotal { font-family: var(--font-heading); font-size: 0.95rem; color: var(--text); }

/* ============================================================
   The Good Reel – product card  (added v0.7)
   ============================================================ */
.good-reel-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(135deg, var(--hero-bg-a) 0%, var(--hero-bg-b) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 2.5rem;
  margin-bottom: 3rem;
  overflow: hidden;
  position: relative;
}
.good-reel-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 20% 50%, var(--hero-glow-1) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.6;
}

/* Phone mockup */
.good-reel-phone {
  position: relative;
  width: 160px;
  margin: 0 auto;
  flex-shrink: 0;
}
.good-reel-phone-screen {
  width: 160px;
  height: 290px;
  border-radius: 24px;
  border: 2px solid rgba(255,255,255,0.15);
  overflow: hidden;
  position: relative;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  background: #111;
}
.good-reel-phone-notch {
  position: absolute;
  top: 10px; left: 50%;
  transform: translateX(-50%);
  width: 48px; height: 10px;
  background: rgba(0,0,0,0.7);
  border-radius: 8px;
  z-index: 10;
}
.good-reel-phone-bg {
  position: absolute;
  inset: 0;
  background: url('https://picsum.photos/seed/42/320/580') center/cover no-repeat;
}
.good-reel-phone-blur {
  position: absolute;
  inset: 0;
  backdrop-filter: blur(12px) brightness(0.4);
  -webkit-backdrop-filter: blur(12px) brightness(0.4);
}
.good-reel-phone-quote {
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  padding: 0 1rem;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 0.65rem;
  font-style: italic;
  line-height: 1.55;
  text-align: center;
  text-shadow: 0 1px 8px rgba(0,0,0,0.6);
  z-index: 2;
}
.good-reel-phone-attr {
  position: absolute;
  bottom: 42px; left: 0; right: 0;
  text-align: center;
  font-size: 0.45rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  z-index: 2;
}
.good-reel-phone-actions {
  position: absolute;
  right: 0.4rem;
  bottom: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  font-size: 0.9rem;
  z-index: 2;
}

/* Info side */
.good-reel-info {
  position: relative;
  z-index: 2;
}
.card-tag--glow {
  background: rgba(201,168,76,0.12);
  color: var(--accent);
  border: 1px solid rgba(201,168,76,0.3);
}
.good-reel-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: #fff;
  margin: 0.75rem 0 0.85rem;
  line-height: 1.15;
}
.good-reel-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
}
.good-reel-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.good-reel-features li {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}

.btn-reel-enter {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.75rem;
  background: var(--accent);
  color: var(--primary);
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition);
}
.btn-reel-enter:hover { background: #b8963e; transform: translateY(-2px); }
.btn-reel-arrow { transition: transform 0.2s; }
.btn-reel-enter:hover .btn-reel-arrow { transform: translateX(4px); }

/* ── Reel session-duration modal ─────────────────────────────── */
.reel-timer-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5,2,12,0.82);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: rtmFadeIn 0.2s ease;
}
.reel-timer-modal[hidden] { display: none !important; }
@keyframes rtmFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.reel-timer-modal-box {
  background: linear-gradient(160deg, rgba(20,12,38,0.98) 0%, rgba(13,10,26,0.98) 100%);
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 20px;
  padding: 2.5rem 2rem 2rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.04);
  animation: rtmSlideUp 0.25s ease;
}
@keyframes rtmSlideUp {
  from { transform: translateY(16px); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.reel-timer-modal-icon {
  font-size: 2.2rem;
  color: var(--accent);
  margin-bottom: 1rem;
  display: block;
  animation: reelSpin 6s linear infinite;
}
.reel-timer-modal-box h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 400;
  color: #fff;
  margin: 0 0 0.5rem;
}
.reel-timer-modal-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.55);
  margin: 0 0 1.75rem;
  line-height: 1.5;
}
.reel-timer-presets {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.reel-timer-preset {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 100px;
  padding: 0.45rem 1.1rem;
  color: rgba(255,255,255,0.75);
  font-family: var(--font-body);
  font-size: 0.85rem;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}
.reel-timer-preset:hover {
  background: rgba(201,168,76,0.15);
  border-color: var(--accent);
  color: #fff;
}
.reel-timer-preset.active {
  background: rgba(201,168,76,0.2);
  border-color: var(--accent);
  color: var(--accent);
}
.reel-timer-custom-row { margin-bottom: 1.75rem; }
.reel-timer-custom-input {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  padding: 0.55rem 1rem;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.88rem;
  width: 100%;
  text-align: center;
  outline: none;
  transition: border-color 0.2s;
  -moz-appearance: textfield;
}
.reel-timer-custom-input::-webkit-inner-spin-button,
.reel-timer-custom-input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.reel-timer-custom-input:focus { border-color: var(--accent); }
.reel-timer-custom-input::placeholder { color: rgba(255,255,255,0.3); }
.reel-timer-modal-actions { display: flex; flex-direction: column; gap: 0.65rem; }
.reel-timer-begin {
  background: var(--accent);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 1.5rem;
  color: var(--primary);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.reel-timer-begin:disabled { opacity: 0.35; cursor: default; }
.reel-timer-begin:not(:disabled):hover { background: #b8963e; }
.reel-timer-unlimited {
  background: none;
  border: none;
  color: rgba(255,255,255,0.38);
  font-family: var(--font-body);
  font-size: 0.8rem;
  cursor: pointer;
  padding: 0.25rem;
  transition: color 0.2s;
}
.reel-timer-unlimited:hover { color: rgba(255,255,255,0.7); }

/* ── reelSpin (shared by loading screen & modal icon) ────────── */
@keyframes reelSpin { to { transform: rotate(360deg); } }

.good-reel-note {
  margin-top: 0.75rem;
  font-size: 0.76rem;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.06em;
}

@media (max-width: 768px) {
  .good-reel-card {
    grid-template-columns: 1fr;
    padding: 2rem 1.5rem;
    gap: 2rem;
    text-align: center;
  }
  .good-reel-phone { display: none; } /* hide phone mockup on small screens */
  .good-reel-features { align-items: center; }
}

/* ── Theme toggle: emoji only (v0.7) ─────────────────────────── */
.theme-current-name { display: none; } /* hidden — emoji replaces it */
.theme-toggle-icon  { font-size: 1.1rem; line-height: 1; }

/* ── Version badge (all pages) ───────────────────────────────── */
.sxp-version-badge {
  position: fixed;
  top: calc(var(--nav-height, 64px) + 0.5rem);
  left: 0.7rem;
  z-index: 9000;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 4px;
  padding: 0.18rem 0.42rem;
  color: rgba(255,255,255,0.45);
  font-family: var(--font-body, sans-serif);
  font-size: 8px;
  letter-spacing: 0.06em;
  cursor: pointer;
  line-height: 1;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: color 0.15s, border-color 0.15s;
  user-select: none;
}
.sxp-version-badge:hover {
  color: var(--accent, #c8a44e);
  border-color: rgba(200,164,78,0.4);
}

/* ── Changelog popover ───────────────────────────────────────── */
.sxp-changelog {
  position: fixed;
  top: calc(var(--nav-height, 64px) + 2.1rem);
  left: 0.7rem;
  z-index: 9000;
  width: min(320px, calc(100vw - 1.4rem));
  max-height: 60vh;
  overflow-y: auto;
  background: rgba(8,4,18,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  padding: 1rem 1.1rem 1.2rem;
  animation: sxpFadeIn 0.18s ease;
}
.sxp-changelog[hidden] { display: none; }
@keyframes sxpFadeIn {
  from { opacity: 0; transform: scale(0.94) translateY(-4px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}
.sxp-changelog-title {
  font-family: var(--font-heading, serif);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent, #c8a44e);
  margin: 0 0 0.75rem;
}
.sxp-changelog-entry  { margin-bottom: 0.85rem; }
.sxp-changelog-ver {
  font-family: var(--font-body, sans-serif);
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}
.sxp-changelog-items {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}
.sxp-changelog-items li {
  font-family: var(--font-body, sans-serif);
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.4;
  padding-left: 0.9rem;
  position: relative;
}
.sxp-changelog-items li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--accent, #c8a44e);
}
