@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --red: #C1272D;
  --red-hover: #a01f24;
  --midnight: #1A0A0A;
  --beige: #F5F0E8;
  --sand: #C9B99B;
  --white: #FFFFFF;
  --font-display: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  /* Prevent layout shift from scrollbar appearance */
  scrollbar-gutter: stable;
}

/* ── Focus visible for keyboard accessibility ── */
:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}
:focus:not(:focus-visible) { outline: none; }

/* ── Image performance defaults ── */
img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Prevent layout shift */
  aspect-ratio: attr(width) / attr(height);
}

body {
  font-family: var(--font-body);
  background: var(--beige);
  color: var(--midnight);
  overflow-x: hidden;
  line-height: 1.6;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  font-weight: 700;
}

h3 {
  font-size: 1.5rem;
  font-weight: 600;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

ul {
  list-style: none;
}

/* ── Utility ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 1rem;
}

.section-subtitle {
  text-align: center;
  color: var(--sand);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .9rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  font-family: var(--font-body);
  font-size: 1rem;
  cursor: pointer;
  border: none;
  transition: all .3s ease;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(193, 39, 45, .3);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, .4);
}

.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, .1);
}

.btn-dark {
  background: var(--midnight);
  color: var(--white);
}

.btn-dark:hover {
  background: #2a1a1a;
  transform: translateY(-2px);
}

/* ── Navbar ── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1rem 0;
  transition: all .3s ease;
}

.navbar.scrolled {
  background: rgba(26, 10, 10, .95);
  backdrop-filter: blur(10px);
  padding: .7rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
}

.nav-logo span {
  color: var(--red);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, .8);
  font-size: .9rem;
  font-weight: 500;
  transition: color .3s;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-cta {
  padding: .6rem 1.5rem !important;
  font-size: .85rem !important;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--white);
  transition: all .3s;
}

/* ── Hero ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--midnight) 0%, #2a1010 50%, #1A0A0A 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
  color: var(--white);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(193, 39, 45, .15) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(193, 39, 45, .1) 0%, transparent 40%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1.5rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(193, 39, 45, .2);
  border: 1px solid rgba(193, 39, 45, .4);
  color: var(--red);
  padding: .4rem 1.2rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  letter-spacing: .5px;
}

.hero h1 {
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--red);
}

.hero p {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .7);
  max-width: 550px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.member-ticker {
  margin-top: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  color: rgba(255, 255, 255, .5);
  font-size: .9rem;
}

.ticker-dot {
  width: 8px;
  height: 8px;
  background: #4ade80;
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: .4;
  }
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: rgba(193, 39, 45, .3);
  border-radius: 50%;
  animation: float-particle linear infinite;
}

@keyframes float-particle {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}

/* ── Offer Cards ── */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.offer-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  transition: all .3s ease;
  border: 1px solid rgba(201, 185, 155, .2);
}

.offer-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(26, 10, 10, .08);
}

.offer-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: rgba(193, 39, 45, .1);
  color: var(--red);
}

.offer-card h3 {
  margin-bottom: .75rem;
}

.offer-card p {
  color: #666;
  font-size: .95rem;
  line-height: 1.6;
}

/* ── Preview Hook ── */
.preview-section {
  background: var(--midnight);
  color: var(--white);
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.preview-card {
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 16px;
  padding: 2rem;
  transition: all .3s;
}

.preview-card:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(193, 39, 45, .3);
}

.preview-tag {
  display: inline-block;
  background: rgba(74, 222, 128, .15);
  color: #4ade80;
  padding: .3rem .8rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.preview-card h3 {
  margin-bottom: .5rem;
}

.preview-card p {
  color: rgba(255, 255, 255, .6);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}

.preview-cta {
  text-align: center;
  margin-top: 3rem;
}

.preview-cta p {
  color: rgba(255, 255, 255, .5);
  font-size: 1.05rem;
}

.preview-cta span {
  color: var(--red);
  font-weight: 600;
}

/* ── Events ── */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.event-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201, 185, 155, .2);
  transition: all .3s;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(26, 10, 10, .08);
}

.event-date-strip {
  background: var(--red);
  color: var(--white);
  padding: .8rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .85rem;
  font-weight: 600;
}

.event-body {
  padding: 1.5rem;
}

.event-body h3 {
  margin-bottom: .5rem;
  font-size: 1.2rem;
}

.event-body p {
  color: #666;
  font-size: .9rem;
  margin-bottom: 1.2rem;
}

.event-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.event-meta span {
  font-size: .8rem;
  color: var(--sand);
  display: flex;
  align-items: center;
  gap: .3rem;
}

/* ── Courses ── */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.course-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(201, 185, 155, .2);
  transition: all .3s;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(26, 10, 10, .08);
}

.course-thumb {
  height: 180px;
  background: linear-gradient(135deg, var(--midnight), #2a1515);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.course-thumb .thumb-icon {
  font-size: 3rem;
  opacity: .5;
}

.course-level {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(193, 39, 45, .9);
  color: var(--white);
  padding: .3rem .8rem;
  border-radius: 50px;
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.cert-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(250, 204, 21, .9);
  color: var(--midnight);
  padding: .3rem .6rem;
  border-radius: 50px;
  font-size: .65rem;
  font-weight: 700;
}

.course-body {
  padding: 1.5rem;
}

.course-body h3 {
  margin-bottom: .5rem;
  font-size: 1.1rem;
}

.course-body p {
  color: #666;
  font-size: .9rem;
  margin-bottom: 1rem;
}

.course-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-duration {
  font-size: .8rem;
  color: var(--sand);
}

.btn-enroll {
  padding: .5rem 1.2rem;
  font-size: .85rem;
  border-radius: 50px;
}

.btn-locked {
  background: var(--sand);
  color: var(--white);
  cursor: not-allowed;
  position: relative;
}

.btn-locked::before {
  content: '🔒';
  margin-right: .3rem;
}

/* ── Membership ── */
.membership-section {
  background: linear-gradient(135deg, var(--midnight), #2a1515);
  color: var(--white);
}

.membership-card {
  max-width: 500px;
  margin: 0 auto;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.membership-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: conic-gradient(from 0deg, transparent, rgba(193, 39, 45, .1), transparent, rgba(193, 39, 45, .05), transparent);
  animation: rotate-bg 8s linear infinite;
}

@keyframes rotate-bg {
  to {
    transform: rotate(360deg);
  }
}

.membership-card>* {
  position: relative;
  z-index: 1;
}

.membership-price {
  margin: 1.5rem 0;
}

.membership-price .amount {
  font-size: 3.5rem;
  font-weight: 800;
  font-family: var(--font-display);
}

.membership-price .period {
  color: rgba(255, 255, 255, .5);
  font-size: 1rem;
}

.membership-features {
  text-align: left;
  margin: 2rem 0;
}

.membership-features li {
  padding: .6rem 0;
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(255, 255, 255, .8);
}

.membership-features li::before {
  content: '✓';
  color: #4ade80;
  font-weight: 700;
  font-size: 1.1rem;
}

.referral-note {
  margin-top: 1.5rem;
  font-size: .9rem;
  color: rgba(255, 255, 255, .5);
}

.referral-note span {
  color: #facc15;
  font-weight: 600;
}

/* ── Perks ── */
.perks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.perk-card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  border: 1px solid rgba(201, 185, 155, .2);
  text-align: center;
  transition: all .3s;
}

.perk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(26, 10, 10, .08);
}

.perk-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.perk-card h3 {
  margin-bottom: .5rem;
}

.perk-card p {
  color: #666;
  font-size: .9rem;
}

/* ── Team ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.team-card {
  text-align: center;
}

.team-avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--sand), var(--beige));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  border: 3px solid var(--white);
  box-shadow: 0 8px 25px rgba(26, 10, 10, .1);
}

.team-card h3 {
  font-size: 1.1rem;
  margin-bottom: .2rem;
}

.team-role {
  color: var(--red);
  font-weight: 600;
  font-size: .85rem;
  margin-bottom: .5rem;
}

.team-bio {
  color: #666;
  font-size: .85rem;
}

/* ── Sponsors ── */
.sponsors-section {
  background: var(--white);
}

.sponsor-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  padding: 2rem;
  opacity: .5;
}

.sponsor-placeholder {
  text-align: center;
  padding: 3rem;
  border: 2px dashed var(--sand);
  border-radius: 16px;
}

.sponsor-placeholder p {
  color: var(--sand);
  margin-bottom: 1rem;
}

/* ── Footer ── */
.footer {
  background: var(--midnight);
  color: rgba(255, 255, 255, .6);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-display);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.footer-col a {
  display: block;
  padding: .3rem 0;
  font-size: .9rem;
  transition: color .3s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: .5rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s;
}

.footer-social a:hover {
  border-color: var(--red);
  background: rgba(193, 39, 45, .2);
  color: var(--red);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: .85rem;
}

/* ── Modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 10, 10, .7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 420px;
  width: 100%;
  text-align: center;
  animation: modal-in .3s ease;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: scale(.9) translateY(20px);
  }
}

.modal h3 {
  margin-bottom: .5rem;
}

.modal p {
  color: #666;
  margin-bottom: 1.5rem;
  font-size: .95rem;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* ── Loading Screen ── */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--midnight);
  display: flex; align-items: center; justify-content: center; flex-direction: column;
  transition: opacity .5s, visibility .5s;
}
.loader.hidden { opacity: 0; visibility: hidden; }
.loader-logo {
  font-family: var(--font-display); font-size: 2rem; font-weight: 800;
  color: var(--white); margin-bottom: 2rem;
}
.loader-logo span { color: var(--red); }
.loader-bar {
  width: 120px; height: 3px; background: rgba(255,255,255,.1); border-radius: 3px; overflow: hidden;
}
.loader-bar::after {
  content: ''; display: block; width: 40%; height: 100%; background: var(--red);
  border-radius: 3px; animation: loader-slide 1s ease infinite;
}
@keyframes loader-slide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

/* ── Scroll Progress ── */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; background: var(--red);
  z-index: 1001; width: 0%; transition: width .1s;
}

/* ── Back to Top ── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 999;
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--red); color: var(--white); border: none; cursor: pointer;
  font-size: 1.2rem; display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(20px); transition: all .3s;
  box-shadow: 0 4px 15px rgba(193,39,45,.3);
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(193,39,45,.4); }

/* ── Active Nav ── */
.nav-links a.active { color: var(--white); }
.nav-links a.active::after {
  content: ''; position: absolute; bottom: -4px; left: 0; width: 100%; height: 2px;
  background: var(--red);
}
.nav-links a:not(.btn) { position: relative; }

/* ── 3D Card Effects ── */
.tilt-card { perspective: 800px; }
.tilt-card-inner {
  transition: transform .4s ease;
  transform-style: preserve-3d;
}

/* ── 3D Floating Shapes in Hero ── */
.hero-shapes { position: absolute; inset: 0; z-index: 1; overflow: hidden; }
.hero-shape {
  position: absolute;
  border: 1px solid rgba(193,39,45,.15);
  animation: float-shape linear infinite;
  opacity: .3;
}
.hero-shape.cube {
  width: 40px; height: 40px;
  transform: rotate(45deg);
}
.hero-shape.circle {
  border-radius: 50%;
  width: 30px; height: 30px;
}
.hero-shape.triangle {
  width: 0; height: 0;
  border-left: 20px solid transparent;
  border-right: 20px solid transparent;
  border-bottom: 35px solid rgba(193,39,45,.1);
  border-top: none;
}
.hero-shape.ring {
  width: 60px; height: 60px; border-radius: 50%;
  border-width: 2px;
}
@keyframes float-shape {
  0% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-30px) rotate(180deg); }
  100% { transform: translateY(0) rotate(360deg); }
}

/* ── Typing Cursor ── */
.typing-cursor {
  display: inline-block; width: 3px; height: 1em;
  background: var(--red); margin-left: 4px;
  animation: blink .7s step-end infinite; vertical-align: text-bottom;
}
@keyframes blink { 0%,100% { opacity: 1; } 50% { opacity: 0; } }

/* ── Animations ── */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: all .7s cubic-bezier(.23,1,.32,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

.reveal-left {
  opacity: 0; transform: translateX(-40px);
  transition: all .7s cubic-bezier(.23,1,.32,1);
}
.reveal-left.visible { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(40px);
  transition: all .7s cubic-bezier(.23,1,.32,1);
}
.reveal-right.visible { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0; transform: scale(.85);
  transition: all .7s cubic-bezier(.23,1,.32,1);
}
.reveal-scale.visible { opacity: 1; transform: scale(1); }

/* Staggered children */
.stagger-children > *:nth-child(1) { transition-delay: 0s; }
.stagger-children > *:nth-child(2) { transition-delay: .1s; }
.stagger-children > *:nth-child(3) { transition-delay: .2s; }
.stagger-children > *:nth-child(4) { transition-delay: .3s; }

/* ── Card 3D hover glow ── */
.offer-card, .event-card, .course-card, .perk-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* ── Hover shine effect ── */
.shine-effect {
  position: relative; overflow: hidden;
}
.shine-effect::after {
  content: ''; position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(
    to bottom right,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0) 40%,
    rgba(255,255,255,.08) 50%,
    rgba(255,255,255,0) 60%,
    rgba(255,255,255,0) 100%
  );
  transform: rotate(30deg) translateX(-100%);
  transition: transform .6s;
}
.shine-effect:hover::after {
  transform: rotate(30deg) translateX(100%);
}

/* ── Instagram Embed ── */
.reel-embed {
  max-width: 380px; margin: 2rem auto 0;
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 15px 40px rgba(26,10,10,.15);
}
.reel-embed iframe {
  width: 100%; height: 480px; border: none;
}

/* ── Mobile-First Responsive ── */

/* Tablet */
@media (max-width: 1024px) {
  .offer-grid { grid-template-columns: repeat(2, 1fr); }
  .courses-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Mobile */
@media (max-width: 768px) {
  html { font-size: 15px; }

  .nav-links {
    display: none; position: fixed; top: 0; left: 0;
    width: 100%; height: 100vh;
    background: rgba(26,10,10,.98);
    flex-direction: column; align-items: center; justify-content: center;
    gap: 1.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.15rem; padding: .5rem 1rem; }
  .hamburger { display: flex; padding: 8px; }

  .hero { min-height: 100svh; padding: 5rem 0 3rem; }
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: .95rem; max-width: 90%; }
  .hero-buttons { flex-direction: column; align-items: center; gap: .75rem; }
  .hero-buttons .btn { width: 85%; justify-content: center; padding: 1rem; font-size: .95rem; }

  .section { padding: 3.5rem 0; }
  .section-title { font-size: 1.6rem; }
  .section-subtitle { font-size: .95rem; margin-bottom: 2rem; }

  .offer-grid { grid-template-columns: 1fr; gap: 1rem; }
  .offer-card { padding: 1.8rem 1.5rem; }

  .preview-grid { grid-template-columns: 1fr; }

  .events-grid { grid-template-columns: 1fr; }
  .event-meta { flex-wrap: wrap; gap: .5rem; }

  .courses-grid { grid-template-columns: 1fr; }
  .course-thumb { height: 150px; }

  .membership-card { padding: 2rem 1.5rem; margin: 0 .5rem; }
  .membership-price .amount { font-size: 2.8rem; }

  .perks-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .perk-card { padding: 1.5rem 1rem; }
  .perk-icon { font-size: 2rem; }

  .team-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .team-avatar { width: 100px; height: 100px; font-size: 2rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .back-to-top { bottom: 1.2rem; right: 1.2rem; width: 44px; height: 44px; }

  /* Touch-friendly tap targets */
  .btn { min-height: 48px; padding: .85rem 1.8rem; }
  .btn-enroll { min-height: 44px; }
  .gate-btn { min-height: 44px; padding: .6rem 1.4rem; }
  .hamburger { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }
  .footer-social a { width: 44px; height: 44px; }
}

/* Small phones */
@media (max-width: 400px) {
  .container { padding: 0 1rem; }
  .hero h1 { font-size: 1.7rem; }
  .perks-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   MULTI-PAGE STYLES
   ════════════════════════════════════════════ */

/* ── Page Header (shared across sub-pages) ── */
.page-header {
  background: linear-gradient(135deg, var(--midnight) 0%, #2a1010 100%);
  color: var(--white); text-align: center;
  padding: 8rem 0 4rem; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(193,39,45,.12) 0%, transparent 60%);
}
.page-header > .container { position: relative; z-index: 1; }
.page-header h1 { margin-bottom: 1rem; }
.page-header h1 span { color: var(--red); }
.page-header p { color: rgba(255,255,255,.6); max-width: 550px; margin: 0 auto; font-size: 1.05rem; }

/* ── Membership Page ── */
.membership-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start;
}
.plan-details h2 { margin-bottom: 2rem; }
.plan-feature {
  display: flex; gap: 1rem; padding: 1.2rem 0;
  border-bottom: 1px solid rgba(201,185,155,.15);
}
.plan-feature:last-child { border-bottom: none; }
.plan-feature-icon { font-size: 1.5rem; min-width: 40px; text-align: center; padding-top: .2rem; }
.plan-feature h4 { margin-bottom: .3rem; font-size: 1rem; }
.plan-feature p { color: #666; font-size: .88rem; line-height: 1.5; }

.signup-card {
  background: var(--white); border-radius: 20px; padding: 2.5rem;
  border: 1px solid rgba(201,185,155,.2);
  box-shadow: 0 20px 50px rgba(26,10,10,.08);
  position: sticky; top: 100px;
}
.signup-card-header { text-align: center; margin-bottom: 2rem; }
.signup-card-header h3 { margin-bottom: .5rem; }
.signup-price .amount {
  font-size: 2.5rem; font-weight: 800; font-family: var(--font-display);
}
.signup-price .period { color: #999; font-size: .9rem; }

.signup-form { display: flex; flex-direction: column; gap: 1.2rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .85rem; font-weight: 600; color: var(--midnight); }
.form-group input, .form-group select {
  padding: .85rem 1rem; border: 1.5px solid rgba(201,185,155,.3);
  border-radius: 10px; font-size: .95rem; font-family: var(--font-body);
  transition: border-color .3s; background: var(--beige);
}
.form-group input:focus, .form-group select:focus {
  outline: none; border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(193,39,45,.1);
}
.signup-btn {
  width: 100%; justify-content: center; padding: 1rem; font-size: 1.05rem;
  margin-top: .5rem;
}
.form-note {
  text-align: center; font-size: .78rem; color: #999; margin-top: .5rem;
}

/* ── FAQ ── */
.faq-list { max-width: 700px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid rgba(201,185,155,.2);
}
.faq-question {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.2rem 0; background: none; border: none; cursor: pointer;
  font-size: 1rem; font-weight: 600; font-family: var(--font-body);
  color: var(--midnight); text-align: left;
  min-height: 48px;
}
.faq-icon {
  font-size: 1.3rem; color: var(--red); transition: transform .3s;
  min-width: 24px; text-align: center;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height .4s ease, padding .4s;
}
.faq-item.open .faq-answer {
  max-height: 200px; padding-bottom: 1.2rem;
}
.faq-answer p { color: #666; font-size: .92rem; line-height: 1.7; }
.faq-answer a { color: var(--red); font-weight: 500; }

/* ── Events Page — Full Cards ── */
.events-grid-full {
  display: flex; flex-direction: column; gap: 1.2rem;
}
.event-card-full {
  display: flex; align-items: stretch; background: var(--white);
  border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(201,185,155,.15); transition: all .3s;
}
.event-card-full:hover {
  transform: translateX(4px); box-shadow: 0 10px 30px rgba(26,10,10,.08);
}
.event-date-block {
  min-width: 90px; background: var(--midnight); color: var(--white);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1.5rem 1rem; text-align: center;
}
.event-month { font-size: .7rem; font-weight: 700; letter-spacing: 2px; opacity: .6; }
.event-day { font-size: 2rem; font-weight: 800; font-family: var(--font-display); line-height: 1; }
.event-weekday { font-size: .7rem; opacity: .5; margin-top: .2rem; }
.event-info { flex: 1; padding: 1.5rem; }
.event-info h3 { margin-bottom: .4rem; font-size: 1.15rem; }
.event-info > p { color: #666; font-size: .9rem; margin-bottom: .8rem; }
.event-tags { display: flex; gap: .5rem; margin-bottom: .6rem; flex-wrap: wrap; }
.event-tag {
  font-size: .68rem; font-weight: 700; padding: .25rem .7rem;
  border-radius: 50px; text-transform: uppercase; letter-spacing: .5px;
}
.tag-talk { background: rgba(99,102,241,.1); color: #6366f1; }
.tag-sport { background: rgba(74,222,128,.1); color: #16a34a; }
.tag-wellness { background: rgba(244,114,182,.1); color: #db2777; }
.tag-event { background: rgba(251,191,36,.1); color: #d97706; }
.tag-free { background: rgba(193,39,45,.08); color: var(--red); }
.event-action {
  display: flex; align-items: center; padding: 1.5rem;
}

/* ── Past Events ── */
.past-events-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem;
}
.past-event-card {
  background: var(--white); border-radius: 12px; padding: 1.5rem;
  border: 1px solid rgba(201,185,155,.15);
}
.past-event-date { font-size: .78rem; color: var(--sand); font-weight: 600; margin-bottom: .5rem; }
.past-event-card h4 { margin-bottom: .4rem; }
.past-event-card p { color: #666; font-size: .88rem; margin-bottom: .8rem; }
.past-event-tag {
  font-size: .7rem; background: var(--beige); padding: .25rem .6rem;
  border-radius: 50px; font-weight: 600; color: var(--sand);
}

/* ── Courses Page ── */
.course-filter {
  display: flex; gap: .6rem; justify-content: center; margin-bottom: 2.5rem; flex-wrap: wrap;
}
.filter-btn {
  padding: .6rem 1.3rem; border-radius: 50px; border: 1.5px solid rgba(201,185,155,.3);
  background: transparent; cursor: pointer; font-family: var(--font-body);
  font-size: .85rem; font-weight: 600; color: var(--midnight); transition: all .3s;
  min-height: 44px;
}
.filter-btn.active, .filter-btn:hover {
  background: var(--red); color: var(--white); border-color: var(--red);
}

.courses-grid-full {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 1.5rem;
}
.course-card-full {
  background: var(--white); border-radius: 16px; overflow: hidden;
  border: 1px solid rgba(201,185,155,.15); transition: all .3s;
}
.course-card-full:hover {
  transform: translateY(-4px); box-shadow: 0 15px 40px rgba(26,10,10,.1);
}
.course-thumb-full {
  height: 160px; display: flex; align-items: center; justify-content: center; position: relative;
}
.course-body-full { padding: 1.5rem; }
.course-body-full h3 { margin-bottom: .4rem; font-size: 1.15rem; }
.course-body-full > p { color: #666; font-size: .9rem; margin-bottom: 1rem; line-height: 1.6; }
.course-details {
  display: flex; gap: 1rem; margin-bottom: 1rem; flex-wrap: wrap;
}
.course-details span { font-size: .78rem; color: var(--sand); font-weight: 500; }
.course-topics {
  display: flex; gap: .4rem; margin-bottom: 1.2rem; flex-wrap: wrap;
}
.course-topics span {
  font-size: .7rem; background: var(--beige); padding: .25rem .6rem;
  border-radius: 50px; font-weight: 600; color: var(--midnight);
}

/* ── Team Page — Full Cards ── */
.team-grid-full {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem;
}
.team-card-full {
  background: var(--white); border-radius: 16px; padding: 2rem;
  border: 1px solid rgba(201,185,155,.15); text-align: center; transition: all .3s;
}
.team-card-full:hover { transform: translateY(-4px); box-shadow: 0 15px 40px rgba(26,10,10,.08); }
.team-avatar-full {
  width: 100px; height: 100px; border-radius: 50%; margin: 0 auto 1.2rem;
  background: linear-gradient(135deg, var(--sand), var(--beige));
  display: flex; align-items: center; justify-content: center; font-size: 2.5rem;
  border: 3px solid var(--white); box-shadow: 0 8px 20px rgba(26,10,10,.08);
}
.team-info h3 { margin-bottom: .15rem; }
.team-bio-full { color: #666; font-size: .88rem; margin-bottom: 1rem; line-height: 1.6; }
.team-socials { display: flex; gap: .5rem; justify-content: center; }
.team-socials a {
  width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(201,185,155,.2);
  display: flex; align-items: center; justify-content: center; font-size: .8rem; transition: all .3s;
}
.team-socials a:hover { border-color: var(--red); background: rgba(193,39,45,.08); }

/* ── Our Story ── */
.story-layout {
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.story-stats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem;
}
.stat-card {
  background: var(--white); border-radius: 16px; padding: 2rem;
  text-align: center; border: 1px solid rgba(201,185,155,.15);
}
.stat-number {
  display: block; font-size: 2.5rem; font-weight: 800; font-family: var(--font-display);
  color: var(--red); margin-bottom: .3rem;
}
.stat-label { font-size: .82rem; color: var(--sand); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }

/* ── Multi-page Responsive ── */
@media (max-width: 768px) {
  .page-header { padding: 7rem 0 3rem; }
  .page-header h1 { font-size: 2rem; }
  .membership-layout { grid-template-columns: 1fr; gap: 2rem; }
  .signup-card { position: static; }
  .event-card-full { flex-direction: column; }
  .event-date-block {
    flex-direction: row; gap: .5rem; padding: .8rem 1.2rem;
    min-width: unset;
  }
  .event-day { font-size: 1.2rem; }
  .event-action { padding: 0 1.5rem 1.5rem; }
  .courses-grid-full { grid-template-columns: 1fr; }
  .story-layout { grid-template-columns: 1fr; gap: 2rem; }
  .story-stats { grid-template-columns: 1fr 1fr; }
  .team-grid-full { grid-template-columns: 1fr; }
}

/* ── Legal Pages (Privacy, Terms) ── */
.legal-content {
  max-width: 760px; margin: 0 auto; line-height: 1.8;
}
.legal-updated {
  display: inline-block; background: var(--beige); padding: .4rem 1rem;
  border-radius: 50px; font-size: .8rem; font-weight: 600;
  color: var(--sand); margin-bottom: 2rem;
}
.legal-content h2 {
  font-size: 1.3rem; margin: 2.5rem 0 .8rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(201,185,155,.15);
}
.legal-content h2:first-of-type { border-top: none; padding-top: 0; }
.legal-content h3 {
  font-size: 1.05rem; margin: 1.5rem 0 .5rem; color: var(--midnight);
}
.legal-content p {
  color: #555; font-size: .95rem; margin-bottom: 1rem;
}
.legal-content ul {
  margin: .5rem 0 1.2rem 1.5rem; list-style: disc;
}
.legal-content li {
  color: #555; font-size: .93rem; margin-bottom: .4rem; line-height: 1.7;
}
.legal-content a {
  color: var(--red); font-weight: 500; text-decoration: underline;
  text-decoration-color: rgba(193,39,45,.3); text-underline-offset: 2px;
  transition: text-decoration-color .3s;
}
.legal-content a:hover { text-decoration-color: var(--red); }
.legal-content strong { color: var(--midnight); }

/* ════════════════════════════════════════════
   AUTH & DASHBOARD STYLES
   ════════════════════════════════════════════ */

/* ── Nav Auth Items ── */
.nav-user-greeting {
  color: rgba(255,255,255,.7); font-size: .9rem; font-weight: 500;
  padding: .5rem 0;
}

/* ── Auth Card ── */
.auth-card {
  max-width: 440px; margin: 0 auto;
  background: var(--white); border-radius: 20px;
  border: 1px solid rgba(201,185,155,.15);
  box-shadow: 0 20px 50px rgba(26,10,10,.06);
  overflow: hidden;
}
.auth-tabs {
  display: flex; border-bottom: 1px solid rgba(201,185,155,.15);
}
.auth-tab {
  flex: 1; padding: 1rem; text-align: center;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-display); font-size: 1rem; font-weight: 700;
  color: var(--sand); transition: all .3s; position: relative;
}
.auth-tab.active {
  color: var(--midnight);
}
.auth-tab.active::after {
  content: ''; position: absolute; bottom: -1px; left: 20%; right: 20%;
  height: 3px; background: var(--red); border-radius: 3px 3px 0 0;
}
.auth-form {
  padding: 2rem;
}
.auth-form .form-group { margin-bottom: 1rem; }
.auth-submit-btn {
  width: 100%; justify-content: center; padding: 1rem;
  font-size: 1rem; margin-top: .5rem;
}
.auth-error {
  color: #ef4444; font-size: .85rem; margin-bottom: .5rem;
  min-height: 1.2em;
}
.auth-success {
  color: #16a34a; font-size: .85rem; margin-bottom: .5rem;
  min-height: 1.2em;
}
.auth-switch {
  text-align: center; font-size: .88rem; color: #999; margin-top: 1rem;
}
.auth-switch a {
  color: var(--red); font-weight: 600; text-decoration: none;
}
.auth-switch a:hover { text-decoration: underline; }

/* ── Auth: Google button & divider ── */
.auth-divider { display:flex;align-items:center;gap:.8rem;margin:1.2rem 0;color:#bbb;font-size:.8rem; }
.auth-divider::before,.auth-divider::after { content:'';flex:1;height:1px;background:rgba(0,0,0,.1); }
.btn-google {
  display:flex;align-items:center;justify-content:center;gap:.75rem;width:100%;
  padding:.85rem 1rem;border:1.5px solid rgba(201,185,155,.35);border-radius:10px;
  background:#fff;cursor:pointer;font-family:var(--font-body);font-size:.95rem;
  font-weight:600;color:#333;transition:all .25s;margin-bottom:.5rem;
}
.btn-google:hover { background:#faf7f4;border-color:rgba(193,39,45,.3);box-shadow:0 2px 8px rgba(0,0,0,.06); }
:root[data-theme="dark"] .btn-google { background:#2a1515;color:#e8ddd5;border-color:rgba(245,240,232,.15); }
:root[data-theme="dark"] .btn-google:hover { background:#3a1f1f; }

/* ── Dashboard ── */
.dash-loading {
  padding: 3rem 0; text-align: center;
}
.dash-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}
.dash-card {
  background: var(--white); border-radius: 16px; padding: 2rem;
  border: 1px solid rgba(201,185,155,.12);
  box-shadow: 0 4px 15px rgba(26,10,10,.04);
}
.dash-profile {
  text-align: center;
}
.dash-avatar {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 1rem;
  background: linear-gradient(135deg, var(--red), #e84855);
  color: var(--white); font-size: 1.5rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
}
.dash-email {
  color: #999; font-size: .88rem; margin-top: .2rem;
}
.dash-badge-row {
  margin-top: 1rem;
}
.dash-status {
  display: inline-block; padding: .35rem 1rem; border-radius: 50px;
  font-size: .75rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: .5px;
}
.status-free {
  background: rgba(201,185,155,.15); color: var(--sand);
}
.status-paid {
  background: rgba(74,222,128,.15); color: #16a34a;
}
.dash-detail-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: .8rem 0; border-bottom: 1px solid rgba(201,185,155,.1);
}
.dash-detail-row:last-child { border-bottom: none; }
.dash-label {
  font-size: .85rem; color: #999; font-weight: 500;
}
.dash-value {
  font-size: .9rem; font-weight: 600; color: var(--midnight);
  display: flex; align-items: center; gap: .4rem;
}
.referral-code {
  background: var(--beige); padding: .3rem .8rem; border-radius: 6px;
  font-family: monospace; font-size: .85rem; letter-spacing: 1px;
}
.copy-btn {
  background: none; border: none; cursor: pointer; font-size: .85rem;
  padding: .2rem; transition: transform .2s;
}
.copy-btn:hover { transform: scale(1.2); }
.dash-actions {
  display: flex; flex-direction: column; gap: .6rem;
}
.dash-action-btn {
  display: flex; align-items: center; gap: .8rem;
  padding: .8rem 1rem; border-radius: 10px; font-size: .92rem;
  font-weight: 500; color: var(--midnight);
  background: var(--beige); border: none; cursor: pointer;
  font-family: var(--font-body); transition: all .2s;
  text-decoration: none;
}
.dash-action-btn:hover {
  background: rgba(201,185,155,.3); transform: translateX(4px);
}
.dash-logout {
  color: var(--red); background: rgba(193,39,45,.06);
}
.dash-logout:hover { background: rgba(193,39,45,.12); }
.dash-upgrade-card {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, var(--midnight), #2a1515);
  color: var(--white); text-align: center;
}
.dash-upgrade-card p {
  color: rgba(255,255,255,.6); font-size: .95rem; margin-top: .5rem;
}

/* ── Auth & Dashboard Responsive ── */
@media (max-width: 768px) {
  .auth-card { margin: 0 .5rem; }
  .auth-form { padding: 1.5rem; }
  .dash-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════
   CHECKOUT & TOAST STYLES
   ════════════════════════════════════════════ */

/* ── Checkout Modal ── */
.checkout-overlay {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(15,32,39,.9); backdrop-filter: blur(8px);
  z-index: 2000; display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all .4s cubic-bezier(0.4, 0, 0.2, 1);
}
.checkout-overlay.active {
  opacity: 1; visibility: visible;
}
.checkout-modal {
  background: var(--white); width: 100%; max-width: 480px;
  border-radius: 24px; padding: 2.5rem; position: relative;
  transform: translateY(30px) scale(0.95); opacity: 0;
  transition: all .5s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 25px 60px rgba(0,0,0,.2);
}
.checkout-overlay.active .checkout-modal {
  transform: translateY(0) scale(1); opacity: 1;
}
.checkout-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 36px; height: 36px; border-radius: 50%; border: none;
  background: rgba(201,185,155,.2); color: var(--midnight);
  font-size: 1.2rem; cursor: pointer; transition: all .2s;
  display: flex; align-items: center; justify-content: center;
}
.checkout-close:hover { background: rgba(193,39,45,.1); color: var(--red); }
.checkout-header { text-align: center; margin-bottom: 2rem; }
.checkout-badge {
  display: inline-block; padding: .3rem 1rem; border-radius: 50px;
  background: rgba(201,185,155,.2); color: var(--sand);
  font-size: .8rem; font-weight: 700; text-transform: uppercase;
  margin-bottom: 1rem; letter-spacing: 1px;
}
.checkout-header h2 { font-size: 1.8rem; margin-bottom: .5rem; }
.checkout-price { margin-top: .5rem; }
.checkout-amount { font-size: 3rem; font-weight: 800; color: var(--midnight); font-family: var(--font-display); line-height: 1; }
.checkout-period { font-size: 1rem; color: #666; font-weight: 500; }
.checkout-features {
  background: var(--beige); border-radius: 16px; padding: 1.5rem;
  margin-bottom: 2rem;
}
.checkout-features h4 { font-size: .95rem; margin-bottom: 1rem; color: var(--midnight); }
.checkout-features ul { list-style: none; padding: 0; margin: 0; }
.checkout-features li {
  font-size: .9rem; color: #555; margin-bottom: .6rem;
  display: flex; align-items: flex-start; gap: .5rem; line-height: 1.5;
}
.checkout-features li:last-child { margin-bottom: 0; }
.checkout-footer { text-align: center; }
.checkout-pay-btn {
  width: 100%; justify-content: center; padding: 1.2rem;
  font-size: 1.1rem; border-radius: 12px; margin-bottom: 1rem;
}
.pay-icon { margin-right: .5rem; }
.checkout-note { font-size: .8rem; color: #999; margin-bottom: .3rem; }

/* ── Toast Notification ── */
.toast {
  position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%) translateY(100px);
  background: var(--midnight); color: var(--white);
  padding: 1rem 1.5rem; border-radius: 12px;
  font-size: .95rem; font-weight: 500; box-shadow: 0 10px 30px rgba(0,0,0,.2);
  z-index: 9999; opacity: 0; visibility: hidden;
  transition: all .4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex; align-items: center; gap: .8rem;
  border-left: 4px solid #4ade80;
}
.toast.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1; visibility: visible;
}

/* ── Expired Status ── */
.status-expired {
  background: rgba(193,39,45,.15); color: var(--red);
}

@media (max-width: 480px) {
  .checkout-modal { padding: 2rem 1.5rem; border-radius: 20px 20px 0 0; position: absolute; bottom: 0; transform: translateY(100%); }
  .checkout-overlay.active .checkout-modal { transform: translateY(0); }
}

/* ════════════════════════════════════════════
   REFERRAL SECTION (Dashboard)
   ════════════════════════════════════════════ */
.referral-dash-card {
  background: var(--white); border-radius: 18px; padding: 2rem;
  border: 1px solid rgba(201,185,155,.2);
  box-shadow: 0 4px 16px rgba(26,10,10,.05);
}
.ref-hero {
  display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem;
}
.ref-hero-icon {
  font-size: 2rem; flex-shrink: 0;
  background: rgba(193,39,45,.08); width: 52px; height: 52px;
  border-radius: 14px; display: flex; align-items: center; justify-content: center;
}
.ref-hero h4 { font-size: 1rem; font-weight: 700; color: var(--midnight); margin-bottom: .3rem; }
.ref-hero p  { font-size: .85rem; color: #888; line-height: 1.5; }
.ref-link-row {
  display: flex; align-items: center; gap: .75rem;
  background: #F5F0E8; border-radius: 12px; padding: .7rem 1rem;
  flex-wrap: wrap;
}
.ref-link-display {
  flex: 1; font-family: monospace; font-size: .82rem;
  color: var(--midnight); word-break: break-all;
}
.ref-stats-row {
  display: flex; gap: 1.5rem; margin-top: 1.5rem;
  padding-top: 1.5rem; border-top: 1px solid rgba(201,185,155,.15);
}
.ref-stat { display: flex; flex-direction: column; align-items: center; flex: 1; }
.ref-stat-num {
  font-size: 2rem; font-weight: 900; color: var(--red);
  font-family: var(--font-display); line-height: 1;
}
.ref-stat-label { font-size: .75rem; color: #999; margin-top: .3rem; text-align: center; }

/* ════════════════════════════════════════════
   LEADERBOARD (Main Site)
   ════════════════════════════════════════════ */
.leaderboard-card {
  max-width: 580px; margin: 0 auto;
  background: var(--white); border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(201,185,155,.15);
  box-shadow: 0 8px 32px rgba(26,10,10,.06);
}
.lb-list { padding: 1.5rem 1.5rem 0; }
.lb-row {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid rgba(201,185,155,.1);
  transition: background .2s;
}
.lb-row:last-child { border-bottom: none; }
.lb-row.lb-top { background: rgba(193,39,45,.03); border-radius: 10px; padding: 1rem; }
.lb-medal { font-size: 1.5rem; flex-shrink: 0; width: 36px; text-align: center; }
.lb-name  { flex: 1; font-weight: 700; color: var(--midnight); font-size: .97rem; }
.lb-count { font-size: .85rem; color: var(--red); font-weight: 700; white-space: nowrap; }
.lb-empty { text-align: center; color: #bbb; font-size: .95rem; padding: 2rem; }
.lb-loading {
  display: flex; justify-content: center; align-items: center; padding: 2.5rem;
}
.lb-dots { display: flex; gap: .4rem; }
.lb-dots span {
  width: 8px; height: 8px; border-radius: 50%; background: var(--red);
  animation: lb-bounce .8s ease-in-out infinite;
}
.lb-dots span:nth-child(2) { animation-delay: .15s; }
.lb-dots span:nth-child(3) { animation-delay: .3s; }
@keyframes lb-bounce { 0%,80%,100% { transform: scale(0); } 40% { transform: scale(1); } }
.lb-cta {
  background: #F5F0E8; padding: 1.2rem 1.5rem; text-align: center;
  font-size: .85rem; color: #888;
}
.lb-cta a { color: var(--red); font-weight: 600; text-decoration: none; }
.lb-cta a:hover { text-decoration: underline; }

/* ════════════════════════════════════════════
   CERTIFICATE STYLES (Dashboard)
   ════════════════════════════════════════════ */
.cdc-cert-btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .6rem 1.2rem; border-radius: 10px;
  background: linear-gradient(135deg, #C1272D, #e84855);
  color: #fff; font-size: .88rem; font-weight: 700;
  border: none; cursor: pointer; font-family: var(--font-body);
  transition: all .25s; box-shadow: 0 4px 12px rgba(193,39,45,.3);
  animation: cert-pulse 2s ease-in-out infinite;
}
.cdc-cert-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(193,39,45,.4); }
@keyframes cert-pulse { 0%,100% { box-shadow: 0 4px 12px rgba(193,39,45,.3); } 50% { box-shadow: 0 4px 20px rgba(193,39,45,.55); } }

/* Certificates list */
.certs-list { display: flex; flex-direction: column; gap: .85rem; }
.certs-empty { color: #bbb; font-size: .9rem; padding: 1rem 0; }
.cert-row {
  display: flex; align-items: center; gap: 1.2rem;
  background: #fff; border-radius: 14px; padding: 1.2rem 1.5rem;
  border: 1px solid rgba(201,185,155,.2);
  box-shadow: 0 2px 8px rgba(26,10,10,.04);
  transition: transform .2s;
}
.cert-row:hover { transform: translateX(4px); }
.cert-row-icon {
  font-size: 2rem; width: 52px; height: 52px; border-radius: 14px;
  background: rgba(193,39,45,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cert-row-info { flex: 1; }
.cert-row-title { font-size: .97rem; font-weight: 700; color: var(--midnight); }
.cert-row-sub   { font-size: .8rem; color: #999; margin-top: .2rem; }
.cert-dl-btn {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .55rem 1.1rem; border-radius: 9px;
  background: var(--red); color: #fff; font-size: .82rem; font-weight: 700;
  border: none; cursor: pointer; font-family: var(--font-body);
  transition: opacity .2s; white-space: nowrap; flex-shrink: 0;
}
.cert-dl-btn:hover { opacity: .85; }
/* ═══════════════════════════════════════════════════════════════
   MOBILE BOTTOM NAVIGATION
   ═══════════════════════════════════════════════════════════════ */
.mobile-nav {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(26,10,10,.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: .5rem 0 env(safe-area-inset-bottom, .5rem);
}
.mobile-nav-inner {
  display: flex;
  justify-content: space-around;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .2rem;
  padding: .4rem .6rem;
  border-radius: 12px;
  text-decoration: none;
  color: rgba(255,255,255,.5);
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .3px;
  text-transform: uppercase;
  min-width: 56px;
  transition: color .2s, background .2s;
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
}
.mobile-nav-item:hover,
.mobile-nav-item.active {
  color: var(--white);
  background: rgba(255,255,255,.06);
}
.mobile-nav-item.active { color: var(--red); }
.mobile-nav-icon {
  font-size: 1.3rem;
  line-height: 1;
}
@media (max-width: 768px) {
  .mobile-nav { display: block; }
  body { padding-bottom: 70px; }
  .back-to-top { bottom: 80px; }
}

/* ═══════════════════════════════════════════════════════════════
   STICKY JOIN CTA (homepage scroll trigger)
   ═══════════════════════════════════════════════════════════════ */
.sticky-join-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 998;
  background: var(--red);
  padding: .85rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  transform: translateY(100%);
  transition: transform .4s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 -4px 24px rgba(193,39,45,.35);
}
.sticky-join-bar.visible { transform: translateY(0); }
.sticky-join-bar p {
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  font-weight: 600;
  margin: 0;
}
.sticky-join-bar p strong { color: var(--white); }
.sticky-join-bar .btn {
  background: var(--white);
  color: var(--red);
  padding: .6rem 1.5rem;
  font-size: .9rem;
  font-weight: 800;
  white-space: nowrap;
  flex-shrink: 0;
}
.sticky-join-bar .btn:hover { background: var(--beige); transform: none; box-shadow: none; }
.sticky-join-bar-close {
  background: none; border: none; color: rgba(255,255,255,.6);
  font-size: 1.2rem; cursor: pointer; padding: 4px; line-height: 1; flex-shrink: 0;
}
@media (max-width: 768px) {
  .sticky-join-bar { padding-bottom: calc(.85rem + env(safe-area-inset-bottom, 0px)); }
  .sticky-join-bar p { font-size: .8rem; }
  .sticky-join-bar .btn { padding: .55rem 1.1rem; font-size: .82rem; }
}

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD — QUICK STATS BAR
   ═══════════════════════════════════════════════════════════════ */
.dash-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.dash-stat-card {
  background: var(--white);
  border-radius: 16px;
  padding: 1.2rem 1rem;
  text-align: center;
  border: 1px solid rgba(201,185,155,.2);
  box-shadow: 0 2px 10px rgba(26,10,10,.04);
  transition: transform .25s, box-shadow .25s;
  cursor: default;
}
.dash-stat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(26,10,10,.08);
}
.dash-stat-icon {
  font-size: 1.6rem;
  margin-bottom: .4rem;
}
.dash-stat-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--midnight);
  font-family: var(--font-display);
  line-height: 1;
  margin-bottom: .25rem;
}
.dash-stat-num.highlight { color: var(--red); }
.dash-stat-label {
  font-size: .72rem;
  color: #999;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .4px;
}
@media (max-width: 600px) {
  .dash-stats-row { grid-template-columns: repeat(2, 1fr); gap: .75rem; }
  .dash-stat-num { font-size: 1.5rem; }
}

/* ═══════════════════════════════════════════════════════════════
   DASHBOARD — QUICK ACTIONS
   ═══════════════════════════════════════════════════════════════ */
.dash-quick-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: .8rem;
  margin-bottom: 2rem;
}
.dash-qa-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  padding: 1rem .75rem;
  background: var(--white);
  border: 1px solid rgba(201,185,155,.2);
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(26,10,10,.04);
  cursor: pointer;
  text-decoration: none;
  color: var(--midnight);
  font-family: var(--font-body);
  transition: transform .2s, box-shadow .2s, border-color .2s;
  text-align: center;
}
.dash-qa-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(26,10,10,.1);
  border-color: rgba(193,39,45,.25);
}
.dash-qa-icon { font-size: 1.6rem; }
.dash-qa-label {
  font-size: .75rem;
  font-weight: 700;
  color: var(--midnight);
  line-height: 1.2;
}
@media (max-width: 600px) {
  .dash-quick-actions { grid-template-columns: repeat(2, 1fr); }
}

/* ═══════════════════════════════════════════════════════════════
   ENHANCED CARD ANIMATIONS
   ═══════════════════════════════════════════════════════════════ */
.offer-card {
  position: relative;
  overflow: hidden;
}
.offer-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(193,39,45,.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .4s;
}
.offer-card:hover::after { opacity: 1; }
.offer-card:hover { transform: translateY(-6px) scale(1.01); }

/* Perk cards glow on hover */
.perk-card {
  transition: transform .3s, box-shadow .3s;
}
.perk-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(26,10,10,.1);
}

/* Course cards on public page */
.course-card {
  transition: transform .3s, box-shadow .3s;
}
.course-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(26,10,10,.12);
}

/* Event cards shimmer on hover */
.event-card:hover .event-date-strip,
.event-card-full:hover .event-date-block {
  background: var(--red-hover);
}

/* ═══════════════════════════════════════════════════════════════
   ACTIVITY SCORE PULSE EFFECT
   ═══════════════════════════════════════════════════════════════ */
.dash-stat-card.score-card {
  background: linear-gradient(135deg, var(--midnight) 0%, #2a1515 100%);
  border-color: rgba(193,39,45,.3);
}
.dash-stat-card.score-card .dash-stat-icon { filter: drop-shadow(0 0 6px rgba(193,39,45,.5)); }
.dash-stat-card.score-card .dash-stat-num { color: var(--red); }
.dash-stat-card.score-card .dash-stat-label { color: rgba(255,255,255,.45); }

/* Pulse on score-card when score > 0 */
@keyframes score-pulse {
  0%, 100% { box-shadow: 0 2px 10px rgba(193,39,45,.15), 0 0 0 0 rgba(193,39,45,.15); }
  50%       { box-shadow: 0 2px 10px rgba(193,39,45,.15), 0 0 0 8px rgba(193,39,45,0); }
}
.dash-stat-card.score-card.has-score { animation: score-pulse 3s ease infinite; }

/* ═══ CHECKOUT MODAL — QR + UPI ═══ */
.checkout-qr-section { text-align:center; margin:.8rem 0; }
.checkout-qr-label   { font-size:.78rem;color:#888;text-transform:uppercase;letter-spacing:.5px;font-weight:600;margin-bottom:.5rem; }
.checkout-qr-img     { width:180px;height:180px;border-radius:14px;border:3px solid rgba(193,39,45,.2);margin:.5rem auto;display:block;object-fit:cover; }
.checkout-upi-id     { background:var(--midnight);color:#fff;border-radius:10px;padding:.55rem 1rem;font-family:monospace;font-size:.88rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;margin:.5rem auto;max-width:260px;transition:background .2s; }
.checkout-upi-id:hover { background:#2a1515; }
.checkout-copy-hint  { font-size:.68rem;color:rgba(255,255,255,.4); }
.checkout-divider    { display:flex;align-items:center;gap:.8rem;margin:1rem 0;color:#bbb;font-size:.78rem; }
.checkout-divider::before,.checkout-divider::after { content:"";flex:1;height:1px;background:rgba(0,0,0,.08); }
.checkout-note       { font-size:.74rem;color:#bbb;text-align:center;margin-top:.6rem;line-height:1.5; }

/* ═══ MEMBERSHIP PAGE — QR SECTION ═══ */
.membership-qr-wrap  { text-align:center;padding:1.4rem;background:var(--beige);border-radius:16px;margin-bottom:1rem; }
.membership-qr-label { font-size:.78rem;color:#888;font-weight:600;text-transform:uppercase;letter-spacing:.5px;margin-bottom:.5rem; }
.membership-qr-img   { width:160px;height:160px;border-radius:12px;margin:.5rem auto;display:block;object-fit:cover; }
.membership-upi-id   { background:var(--midnight);color:#fff;border-radius:10px;padding:.55rem 1rem;font-family:monospace;font-size:.85rem;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:.8rem;margin:.5rem auto;max-width:220px;transition:background .2s; }
.membership-upi-id:hover { background:#2a1515; }
.membership-upi-id span:last-child { font-size:.68rem;color:rgba(255,255,255,.4); }

/* ═══ LEVEL BADGES ═══ */
.level-badge { display:inline-flex;align-items:center;gap:.3rem;border-radius:50px;padding:.18rem .7rem;font-size:.75rem;font-weight:700;letter-spacing:.3px;white-space:nowrap; }
.level-bronze  { background:rgba(205,127,50,.12);color:#cd7f32;border:1px solid rgba(205,127,50,.3); }
.level-silver  { background:rgba(169,169,169,.12);color:#888;border:1px solid rgba(169,169,169,.3); }
.level-gold    { background:rgba(255,215,0,.12);color:#b8860b;border:1px solid rgba(255,215,0,.3); }
.level-diamond { background:rgba(100,200,255,.1);color:#0ea5e9;border:1px solid rgba(100,200,255,.25); }
.level-progress-wrap { margin-top:.6rem; }
.level-progress-bar  { height:4px;background:rgba(0,0,0,.08);border-radius:4px;overflow:hidden;margin-top:.3rem; }
.level-progress-fill { height:100%;border-radius:4px;transition:width .6s ease; }
.level-progress-text { font-size:.72rem;color:#999;margin-top:.25rem; }

/* ═══ STREAK BADGE ═══ */
.streak-badge { display:inline-flex;align-items:center;gap:.3rem;background:rgba(249,115,22,.1);border:1px solid rgba(249,115,22,.25);border-radius:50px;padding:.2rem .7rem;font-size:.8rem;font-weight:700;color:#f97316; }

/* ═══ NAV NOTIFICATION DOT ═══ */
.nav-dot { width:7px;height:7px;background:var(--red);border-radius:50%;display:inline-block;margin-left:3px;vertical-align:middle;animation:pulse 1.5s ease infinite;flex-shrink:0; }

/* ═══ EVENT COUNTDOWN ═══ */
.event-countdown { display:flex;gap:.5rem;align-items:center;margin-top:.7rem;flex-wrap:wrap; }
.countdown-unit { background:var(--midnight);color:#fff;border-radius:8px;padding:.3rem .55rem;text-align:center;min-width:44px; }
.countdown-num  { font-size:1.1rem;font-weight:800;font-family:var(--font-display);line-height:1;color:var(--red);display:block; }
.countdown-lbl  { font-size:.58rem;color:rgba(255,255,255,.45);text-transform:uppercase;letter-spacing:.5px;display:block; }
.countdown-sep  { color:var(--red);font-weight:900;font-size:1rem;align-self:flex-start;margin-top:.35rem; }
.countdown-live { display:inline-flex;align-items:center;gap:.4rem;font-size:.82rem;color:#4ade80;font-weight:600; }
.countdown-live::before { content:"";width:7px;height:7px;background:#4ade80;border-radius:50%;display:inline-block;animation:pulse 1.5s ease infinite; }

/* ═══ ONBOARDING CHECKLIST ═══ */
.onboarding-card { background:linear-gradient(135deg,#fff9f0,#fff);border:1px solid rgba(193,39,45,.15);border-radius:20px;padding:1.8rem;margin-bottom:2rem;position:relative; }
.onboarding-header { display:flex;align-items:center;justify-content:space-between;margin-bottom:1rem; }
.onboarding-header h3 { font-size:1rem;color:var(--midnight);margin:0; }
.onboarding-dismiss { background:none;border:none;cursor:pointer;color:#bbb;font-size:1.1rem;padding:.2rem; }
.onboarding-progress-bar { height:5px;background:rgba(0,0,0,.07);border-radius:6px;margin-bottom:1.1rem;overflow:hidden; }
.onboarding-progress-fill { height:100%;background:var(--red);border-radius:6px;transition:width .5s ease; }
.onboarding-item { display:flex;align-items:center;gap:.9rem;padding:.65rem 0;border-bottom:1px solid rgba(0,0,0,.05); }
.onboarding-item:last-child { border-bottom:none;padding-bottom:0; }
.onboarding-check { width:22px;height:22px;border-radius:50%;border:2px solid rgba(0,0,0,.15);display:flex;align-items:center;justify-content:center;flex-shrink:0;cursor:pointer;transition:all .2s; }
.onboarding-check.done { background:var(--red);border-color:var(--red);color:#fff;font-size:.7rem; }
.onboarding-item-text { flex:1;font-size:.88rem;color:#555; }
.onboarding-item.done .onboarding-item-text { color:#bbb;text-decoration:line-through; }
.onboarding-item-action { font-size:.78rem;color:var(--red);font-weight:700;cursor:pointer;white-space:nowrap;text-decoration:none; }

/* ═══ SOCIAL PROOF TICKER ═══ */
.social-ticker { display:inline-flex;align-items:center;gap:.5rem;transition:opacity .4s; }
.social-ticker-dot { width:8px;height:8px;background:var(--red);border-radius:50%;animation:pulse 1.5s ease infinite;flex-shrink:0; }

/* ═══ MEMBER SPOTLIGHT ═══ */
.spotlight-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:1.5rem;margin-top:2rem; }
.spotlight-card { background:var(--white);border-radius:16px;padding:1.5rem;text-align:center;border:1px solid rgba(201,185,155,.2);transition:transform .3s,box-shadow .3s; }
.spotlight-card:hover { transform:translateY(-5px);box-shadow:0 12px 30px rgba(26,10,10,.08); }
.spotlight-avatar { width:54px;height:54px;border-radius:50%;background:linear-gradient(135deg,var(--red),#2a1515);display:flex;align-items:center;justify-content:center;font-size:1.3rem;font-weight:900;color:#fff;font-family:var(--font-display);margin:0 auto .8rem; }
.spotlight-name  { font-weight:700;font-size:.92rem;color:var(--midnight);margin-bottom:.3rem; }
.spotlight-score { font-size:.78rem;color:#888;margin-bottom:.4rem; }

/* ═══ DARK MODE TOGGLE ═══ */
.dark-toggle { background:none;border:none;cursor:pointer;font-size:1.05rem;padding:.3rem .5rem;border-radius:8px;transition:background .2s;color:inherit;margin-left:.3rem;display:inline-flex;align-items:center; }
.dark-toggle:hover { background:rgba(193,39,45,.1); }

/* ═══ DARK MODE ═══ */
:root[data-theme="dark"] { --midnight:#F5F0E8;--beige:#1e1010;--white:#150808;--sand:#8a7060; }
:root[data-theme="dark"] body { background:#150808;color:#e8ddd5; }
:root[data-theme="dark"] .navbar { background:rgba(21,8,8,.96); }

/* Sections that use var(--midnight) as a DARK bg must stay dark — override the variable flip */
:root[data-theme="dark"] .page-header { background:linear-gradient(135deg,#1a0808 0%,#2a1010 100%) !important;color:#e8ddd5; }
:root[data-theme="dark"] .preview-section { background:#1a0808;color:#e8ddd5; }
:root[data-theme="dark"] .membership-section { background:#1a0808 !important; }
:root[data-theme="dark"] .event-date-block { background:#2a1515 !important;color:#e8ddd5; }
:root[data-theme="dark"] .hero-section,:root[data-theme="dark"] .hero { background:#0d0505; }

/* White-background cards and panels → dark surfaces */
:root[data-theme="dark"] .event-card-full { background:#1e0e0e;border-color:rgba(193,39,45,.15); }
:root[data-theme="dark"] .past-event-card { background:#1e0e0e;border-color:rgba(193,39,45,.15); }
:root[data-theme="dark"] .course-card-full { background:#1e0e0e;border-color:rgba(193,39,45,.15); }
:root[data-theme="dark"] .team-card-full,:root[data-theme="dark"] .team-card { background:#1e0e0e;border-color:rgba(193,39,45,.15); }
:root[data-theme="dark"] .signup-card { background:#1e0e0e;border-color:rgba(193,39,45,.15); }
:root[data-theme="dark"] .modal { background:#1e0e0e;color:#e8ddd5; }
:root[data-theme="dark"] .checkout-modal { background:#1e0e0e;color:#e8ddd5; }
:root[data-theme="dark"] .faq-item { border-color:rgba(245,240,232,.1); }

/* Existing card overrides */
:root[data-theme="dark"] .offer-card,:root[data-theme="dark"] .perk-card,:root[data-theme="dark"] .course-card,:root[data-theme="dark"] .event-card,:root[data-theme="dark"] .dash-stat-card,:root[data-theme="dark"] .spotlight-card { background:#2a1515;border-color:rgba(193,39,45,.2); }
:root[data-theme="dark"] .join-steps { background:#2a1515; }
:root[data-theme="dark"] .onboarding-card { background:#2a1515;border-color:rgba(193,39,45,.15); }

/* Fix hardcoded gray text — unreadable on dark backgrounds */
:root[data-theme="dark"] .event-info > p,
:root[data-theme="dark"] .course-body-full > p,
:root[data-theme="dark"] .past-event-card p,
:root[data-theme="dark"] .team-bio-full,
:root[data-theme="dark"] .team-bio,
:root[data-theme="dark"] .plan-feature p { color:#b09080; }

:root[data-theme="dark"] .section-subtitle { color:#a09080; }

:root[data-theme="dark"] .form-note,
:root[data-theme="dark"] .checkout-note,
:root[data-theme="dark"] .signup-price .period,
:root[data-theme="dark"] .spotlight-score,
:root[data-theme="dark"] .course-details span { color:#8a7060; }

/* Form inputs */
:root[data-theme="dark"] .form-group input,
:root[data-theme="dark"] .form-group select { color:#e8ddd5;border-color:rgba(245,240,232,.2); }
:root[data-theme="dark"] .form-group input::placeholder { color:#6a5050; }

/* Filter buttons — border visible in dark */
:root[data-theme="dark"] .filter-btn { border-color:rgba(245,240,232,.2);color:#e8ddd5; }

/* btn-dark uses var(--midnight) as bg — keep it dark */
:root[data-theme="dark"] .btn-dark { background:#2a1515;color:#e8ddd5; }

/* Footer and loading screen use var(--midnight) — keep dark */
:root[data-theme="dark"] .footer { background:#0d0505;color:rgba(245,240,232,.6); }
:root[data-theme="dark"] #loadingScreen { background:#150808; }

/* Leaderboard row text */
:root[data-theme="dark"] .lb-name,:root[data-theme="dark"] .lb-score { color:#e8ddd5; }
:root[data-theme="dark"] .lb-rank { color:#8a7060; }

/* Named element overrides */
:root[data-theme="dark"] .onboarding-header h3,:root[data-theme="dark"] .spotlight-name { color:#f5f0e8; }
:root[data-theme="dark"] .onboarding-item-text { color:#b09080; }
