/* ============================================================
   CorvinGelfand.com — Main Stylesheet
   Modern, bold fitness aesthetic
   ============================================================ */

/* ---------- Reset & Variables ---------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --black:        #f7f5f0;
  --dark:         #eeebe3;
  --dark-card:    #ffffff;
  --mid:          #f0ede6;
  --border:       #d8d2c5;
  --gold:         #9e7420;
  --gold-light:   #b88a28;
  --gold-dark:    #7a5a10;
  --white:        #111111;
  --muted:        #7a7060;
  --text:         #333333;

  --font-heading: 'Montserrat', sans-serif;
  --font-body:    'Open Sans', sans-serif;

  --radius:       8px;
  --transition:   0.3s ease;
  --shadow:       0 4px 24px rgba(0,0,0,0.10);
  --shadow-gold:  0 4px 24px rgba(158,116,32,0.22);

  /* Theme-specific */
  --navbar-bg:    rgba(248, 246, 242, 0.95);
  --navbar-scrolled-shadow: 0 4px 32px rgba(0,0,0,0.12);
}

/* ============================================================
   DARK THEME OVERRIDES
   Applied when <html data-theme="dark">
============================================================ */
html[data-theme="dark"] {
  --black:        #0a0a0a;
  --dark:         #111111;
  --dark-card:    #1a1a1a;
  --mid:          #222222;
  --border:       #2e2e2e;
  --gold:         #c9a84c;
  --gold-light:   #e8c96a;
  --gold-dark:    #a07830;
  --white:        #f5f5f5;
  --muted:        #888888;
  --text:         #dddddd;
  --shadow:       0 4px 24px rgba(0,0,0,0.5);
  --shadow-gold:  0 4px 24px rgba(201,168,76,0.25);
  --navbar-bg:    rgba(10, 10, 10, 0.92);
  --navbar-scrolled-shadow: 0 4px 32px rgba(0,0,0,0.7);
}

/* Hero always uses dark values so text is readable over the dark image overlay */
.hero {
  --white:     #f5f5f5;
  --text:      #dddddd;
  --muted:     #999999;
}

/* Spotify widget always stays dark (Spotify brand requirement) */
.spotify-card {
  --white:  #f5f5f5;
  --muted:  #888888;
  --border: #2e2e2e;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--black);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
  /* Smooth color transition when switching themes */
  transition: background-color 0.35s ease, color 0.35s ease;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--white);
  line-height: 1.2;
}

h1 { font-size: clamp(2.2rem, 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.15rem; }

p { margin-bottom: 1rem; }

.gold { color: var(--gold); }
.muted { color: var(--muted); font-size: 0.9rem; }

/* ---------- Layout Helpers ---------- */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section--dark {
  background: var(--dark);
}

.section--mid {
  background: var(--mid);
}

.section-label {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  font-family: var(--font-heading);
  margin-bottom: 0.6rem;
}

.section-title {
  margin-bottom: 1rem;
}

.section-subtitle {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 3rem;
  font-size: 1.05rem;
}

.text-center { text-align: center; }
.text-center .section-subtitle { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--gold);
  color: var(--black);
  border-color: var(--gold);
}

.btn-primary:hover {
  background: var(--gold-light);
  border-color: var(--gold-light);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}

.btn-outline:hover {
  background: var(--gold);
  color: var(--black);
  transform: translateY(-2px);
  box-shadow: var(--shadow-gold);
}

.btn-dark {
  background: var(--dark-card);
  color: var(--white);
  border-color: var(--border);
}

.btn-dark:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ---------- Navigation ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navbar-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition), background var(--transition), border-color var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--navbar-scrolled-shadow);
}

.navbar__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  height: 70px;
  padding: 0 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
}

.navbar__logo-text {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.navbar__logo-text span {
  color: var(--gold);
}

.navbar__links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.navbar__links a {
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition);
  position: relative;
}

.navbar__links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.navbar__links a:hover,
.navbar__links a.active {
  color: var(--gold);
}

.navbar__links a:hover::after,
.navbar__links a.active::after {
  width: 100%;
}

/* ===== Nav Dropdown (Connect) ===== */
.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  display: flex;
  align-items: center;
  gap: 0.3em;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition);
  padding: 0;
  position: relative;
}

.nav-dropdown__toggle::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-dropdown__toggle:hover,
.nav-dropdown__toggle.active {
  color: var(--gold);
}

.nav-dropdown__toggle:hover::after,
.nav-dropdown__toggle.active::after {
  width: 100%;
}

.nav-dropdown__chevron {
  width: 10px;
  height: 6px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.nav-dropdown[data-open="true"] .nav-dropdown__chevron {
  transform: rotate(180deg);
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  list-style: none;
  padding: 0.4rem 0;
  min-width: 130px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
  z-index: 200;
}

.nav-dropdown[data-open="true"] .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown__menu li {
  list-style: none;
}

.nav-dropdown__menu a {
  display: block;
  padding: 0.45rem 1.2rem;
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-dropdown__menu a:hover,
.nav-dropdown__menu a.active {
  color: var(--gold);
  background: var(--mid);
}

.nav-dropdown__menu a::after {
  display: none !important;
}

.navbar__cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.4rem;
  background: none;
  border: none;
  margin-left: auto;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Theme Toggle Button ---------- */
.theme-toggle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark-card);
  border: 1.5px solid var(--border);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  padding: 0;
  color: var(--muted);
}

.theme-toggle:hover {
  border-color: var(--gold);
  background: rgba(201,168,76,0.1);
  transform: rotate(15deg);
  color: var(--gold);
}

.theme-toggle svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: block;
  flex-shrink: 0;
}

/* Dark mode: show sun (click → go light). Light mode: show moon (click → go dark) */
.theme-icon--moon { display: none; }
.theme-icon--sun  { display: block; }
html[data-theme="light"] .theme-icon--moon { display: block; }
html[data-theme="light"] .theme-icon--sun  { display: none; }

/* ---------- Mobile Nav ---------- */
.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  gap: 1.2rem;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  color: var(--text);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.mobile-nav a:hover { color: var(--gold); }

/* ---------- Hero ---------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(10,10,10,0.97) 0%, rgba(10,10,10,0.75) 50%, rgba(10,10,10,0.92) 100%),
    url('../images/hero-bg.jpg') center/cover no-repeat;
}

.hero__accent {
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero__accent-2 {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding-top: 70px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.3);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero__eyebrow span {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-family: var(--font-heading);
}

.hero__eyebrow::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

.hero__title {
  margin-bottom: 1.2rem;
}

.hero__title .line2 {
  color: var(--gold);
  display: block;
}

.hero__description {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero__actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3.5rem;
}

.hero__stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}

.hero__stat {
  display: flex;
  flex-direction: column;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}

.hero__stat-label {
  font-size: 0.78rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.3rem;
}

/* ---------- Programs Section ---------- */
.programs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.program-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.program-card--featured {
  border-color: rgba(201,168,76,0.4);
  background: linear-gradient(135deg, var(--dark-card) 0%, rgba(201,168,76,0.05) 100%);
}

.program-card--featured::before {
  transform: scaleX(1);
}

.program-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.program-card h3 {
  margin-bottom: 0.75rem;
}

.program-card p {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.program-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: 100px;
  background: rgba(201,168,76,0.1);
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.2);
  font-family: var(--font-heading);
}

/* ---------- Session Type Banner ---------- */
.session-banner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-top: 3rem;
}

.session-type {
  background: var(--dark-card);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.session-type__icon {
  font-size: 2.5rem;
}

.session-type h3 {
  margin: 0;
}

.session-type p {
  color: var(--muted);
  margin: 0;
}

.session-type__features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.session-type__features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.92rem;
  color: var(--text);
}

.session-type__features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* ---------- About Preview ---------- */
.about-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-preview__image {
  position: relative;
}

.about-preview__image-frame {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--dark-card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.about-preview__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark-card), var(--mid));
  font-size: 5rem;
  opacity: 0.5;
}

.about-preview__image-accent {
  position: absolute;
  bottom: -20px;
  right: -20px;
  width: 180px;
  height: 180px;
  border: 3px solid var(--gold);
  border-radius: var(--radius);
  z-index: -1;
  opacity: 0.4;
}

.about-preview__badge {
  position: absolute;
  bottom: 1.5rem;
  left: -1.5rem;
  background: var(--gold);
  color: var(--black);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  text-align: center;
  box-shadow: var(--shadow-gold);
}

.about-preview__badge span {
  display: block;
  font-size: 1.6rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.1rem;
}

.about-preview__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.highlight-item {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
}

.highlight-item__icon {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.highlight-item h4 {
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.highlight-item p {
  color: var(--muted);
  font-size: 0.8rem;
  margin: 0;
}

/* ---------- Testimonials ---------- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: border-color var(--transition);
}

.testimonial-card:hover {
  border-color: rgba(201,168,76,0.3);
}

.testimonial-stars {
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.testimonial-text {
  color: var(--text);
  font-style: italic;
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  color: var(--black);
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--white);
}

.testimonial-detail {
  font-size: 0.78rem;
  color: var(--muted);
}

/* ---------- Pricing Cards ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  align-items: start;
}

.pricing-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  transition: all var(--transition);
  position: relative;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(201,168,76,0.3);
}

.pricing-card--featured {
  border-color: var(--gold);
  background: linear-gradient(160deg, var(--dark-card) 0%, rgba(201,168,76,0.07) 100%);
  transform: scale(1.03);
}

.pricing-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
  box-shadow: var(--shadow-gold);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--black);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.3rem 1rem;
  border-radius: 100px;
  white-space: nowrap;
}

.pricing-category {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pricing-name {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.pricing-desc {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1.5rem;
}

.pricing-price {
  display: flex;
  align-items: flex-end;
  gap: 0.3rem;
  margin-bottom: 0.4rem;
}

.pricing-price__amount {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 2.8rem;
  color: var(--gold);
  line-height: 1;
}

.pricing-price__currency {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold);
  padding-bottom: 0.3rem;
}

.pricing-price__unit {
  font-size: 0.8rem;
  color: var(--muted);
  padding-bottom: 0.4rem;
}

.pricing-per {
  font-size: 0.78rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.pricing-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text);
}

.pricing-features li .check {
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.pricing-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.5rem 0;
}

.pricing-section-title {
  text-align: center;
  margin-bottom: 0.5rem;
}

.pricing-section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

/* ---------- CTA Strip ---------- */
.cta-strip {
  background: linear-gradient(135deg, var(--dark) 0%, var(--mid) 100%);
  border-top: 1px solid rgba(201,168,76,0.2);
  border-bottom: 1px solid rgba(201,168,76,0.2);
  padding: 4rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-strip h2 { margin-bottom: 0.75rem; }
.cta-strip p { color: var(--muted); margin-bottom: 2rem; font-size: 1.05rem; }

.cta-strip__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 4rem 0 2rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer__brand p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  max-width: 280px;
}

.footer__socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--mid);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition: all var(--transition);
}

.social-link:hover {
  background: rgba(201,168,76,0.15);
  border-color: var(--gold);
  color: var(--gold);
}

.footer__heading {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.footer__links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.footer__links a {
  color: var(--muted);
  font-size: 0.88rem;
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--gold); }

.footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer__copy {
  font-size: 0.82rem;
  color: var(--muted);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}

.footer__legal a {
  font-size: 0.82rem;
  color: var(--muted);
  transition: color var(--transition);
}

.footer__credit {
  text-align: center;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  margin-top: 0.5rem;
}

.footer__credit p {
  font-size: 0.78rem;
  color: var(--muted);
}

.footer__credit a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

.footer__credit a:hover {
  color: var(--gold-light);
}

.footer__legal a:hover { color: var(--gold); }

/* ===== GLOSSARY PAGE ===== */
.glossary-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.glossary-search-wrap {
  position: relative;
  flex: 1;
  min-width: 220px;
}

.glossary-search-icon {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  stroke: var(--muted);
  fill: none;
  stroke-width: 2;
  pointer-events: none;
}

.glossary-search {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.6rem;
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.glossary-search::placeholder { color: var(--muted); }

.glossary-search:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}

.glossary-cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.glossary-cat-btn {
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  transition: all var(--transition);
}

.glossary-cat-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.glossary-cat-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--black);
}

.glossary-az-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.glossary-az-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  color: var(--muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  transition: all var(--transition);
  text-decoration: none;
}

.glossary-az-nav a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.glossary-empty {
  text-align: center;
  color: var(--muted);
  font-size: 1rem;
  padding: 3rem 0;
}

.glossary-letter-group {
  margin-bottom: 3rem;
}

.glossary-letter-heading {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.06em;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1.25rem;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1rem;
}

.glossary-entry {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.15rem 1.3rem;
  transition: border-color var(--transition), transform var(--transition);
}

.glossary-entry:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.glossary-entry--hidden {
  display: none;
}

.glossary-entry__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.glossary-entry__term {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.3;
  flex: 1;
}

.glossary-entry__badge {
  flex-shrink: 0;
  font-family: var(--font-heading);
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.5rem;
  border-radius: 20px;
  border: 1px solid transparent;
}

.glossary-entry__badge--equipment  { background: rgba(80,150,230,0.15); color: #6ea8f7; border-color: rgba(80,150,230,0.25); }
.glossary-entry__badge--movement   { background: rgba(70,180,110,0.15); color: #6ecf96; border-color: rgba(70,180,110,0.25); }
.glossary-entry__badge--muscle     { background: rgba(220,130,80,0.15);  color: #f4a76a; border-color: rgba(220,130,80,0.25); }
.glossary-entry__badge--concept    { background: rgba(160,100,220,0.15); color: #c084fc; border-color: rgba(160,100,220,0.25); }
.glossary-entry__badge--nutrition  { background: rgba(230,80,130,0.15);  color: #f472b6; border-color: rgba(230,80,130,0.25); }

.glossary-entry__def {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.65;
}

/* ---------- Page Header (inner pages) ---------- */
.page-header {
  padding: 9rem 0 5rem;
  background: var(--dark);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-header__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(201,168,76,0.08) 0%, transparent 60%);
}

.page-header__content { position: relative; z-index: 2; }
.page-header__breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 1rem;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.page-header__breadcrumb a { color: var(--muted); }
.page-header__breadcrumb a:hover { color: var(--gold); }
.page-header__breadcrumb span { color: var(--gold); }

/* ---------- About Page Logotype ---------- */
.page-header__logotype {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

/* Title row: text left, logotype right */
.page-header__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.page-header__title-text {
  flex: 1;
  min-width: 0;
}

.cg-logotype-wrap {
  position: relative;
  display: inline-block;
  cursor: default;
  flex-shrink: 0;
}

.cg-logotype {
  display: block;
  max-width: 220px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 4px 18px rgba(201, 168, 76, 0.3));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.cg-logotype-wrap:hover .cg-logotype {
  filter: drop-shadow(0 6px 28px rgba(201, 168, 76, 0.55));
  transform: translateY(-2px);
}

/* Custom tooltip */
.cg-logotype-wrap::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(10, 10, 10, 0.93);
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.35);
  border-radius: 6px;
  padding: 7px 14px;
  font-size: 0.78rem;
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* Tooltip arrow */
.cg-logotype-wrap::before {
  content: '';
  position: absolute;
  bottom: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  border: 6px solid transparent;
  border-top-color: rgba(201, 168, 76, 0.35);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 100;
}

.cg-logotype-wrap:hover::after,
.cg-logotype-wrap:hover::before,
.cg-logotype-wrap:focus-within::after,
.cg-logotype-wrap:focus-within::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Light theme */
html[data-theme="light"] .cg-logotype-wrap::after {
  background: rgba(255, 255, 255, 0.97);
  color: var(--gold-dark);
  border-color: rgba(160, 120, 20, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
html[data-theme="light"] .cg-logotype-wrap::before {
  border-top-color: rgba(160, 120, 20, 0.4);
}
html[data-theme="light"] .cg-logotype {
  filter: drop-shadow(0 4px 18px rgba(160, 120, 20, 0.2));
}
html[data-theme="light"] .cg-logotype-wrap:hover .cg-logotype {
  filter: drop-shadow(0 6px 28px rgba(160, 120, 20, 0.38));
}

@media (max-width: 640px) {
  .page-header__title-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .cg-logotype {
    max-width: 180px;
  }
  .cg-logotype-wrap::after {
    font-size: 0.72rem;
    padding: 6px 11px;
    white-space: normal;
    text-align: center;
    max-width: 200px;
  }
}

/* ---------- Social Page Mic Image ---------- */
.social-header__mic {
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
}

.social-mic-img {
  display: block;
  max-height: 220px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: drop-shadow(0 6px 24px rgba(201, 168, 76, 0.35));
  transition: filter 0.3s ease, transform 0.3s ease;
}

.social-header__mic:hover .social-mic-img {
  filter: drop-shadow(0 8px 32px rgba(201, 168, 76, 0.55));
  transform: translateY(-3px);
}

@media (max-width: 640px) {
  .social-header__mic {
    justify-content: flex-start;
  }
  .social-mic-img {
    max-height: 160px;
  }
}

/* ---------- About Page ---------- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.about-story__image-stack {
  position: relative;
  padding-bottom: 3rem;
}

.about-story__img-main {
  width: 85%;
  aspect-ratio: 3/4;
  border-radius: var(--radius);
  background: var(--dark-card);
  border: 1px solid var(--border);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: rgba(201,168,76,0.3);
}

.about-story__img-secondary {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 55%;
  aspect-ratio: 1;
  border-radius: var(--radius);
  background: var(--mid);
  border: 3px solid var(--black);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: rgba(201,168,76,0.4);
}

.about-values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.value-card {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all var(--transition);
}

.value-card:hover {
  border-color: rgba(201,168,76,0.4);
  transform: translateY(-3px);
}

.value-card__icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.value-card h4 {
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--muted);
  font-size: 0.85rem;
  margin: 0;
}

.music-section {
  background: linear-gradient(135deg, var(--dark-card), var(--mid));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}

.music-section::before {
  content: '🎵';
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 8rem;
  opacity: 0.07;
}

.music-genres {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.genre-tag {
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.25);
  color: var(--gold);
  padding: 0.35rem 0.9rem;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), var(--gold-dark), transparent);
}

.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--black);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.2);
}

.timeline-year {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.timeline-item h4 {
  margin-bottom: 0.4rem;
}

.timeline-item p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Contact Section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  align-items: start;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-item__icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-item__label {
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-heading);
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.contact-item__value {
  color: var(--white);
  font-weight: 600;
}

.contact-form {
  background: var(--dark-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  font-family: var(--font-heading);
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--mid);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
  outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--gold);
}

.form-group select option {
  background: var(--mid);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* ---------- Spotify Embed ---------- */
.spotify-card {
  margin-top: 2.5rem;
  border-radius: 12px;
  overflow: hidden;
  background: #121212;
  border: 1px solid rgba(29, 185, 84, 0.22);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 8px 40px rgba(0,0,0,0.55),
    0 0 70px rgba(29, 185, 84, 0.07);
}

.spotify-card__header {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  padding: 1.25rem 1.5rem 1.1rem;
  background: linear-gradient(135deg, #121212 0%, #181818 100%);
  border-bottom: 1px solid rgba(29, 185, 84, 0.12);
  position: relative;
  overflow: hidden;
}

/* Green left accent bar */
.spotify-card__header::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
  background: #1DB954;
}

.spotify-card__brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.spotify-card__brand-text {
  font-size: 0.58rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: 0.18em;
  color: #1DB954;
  text-transform: uppercase;
}

.spotify-card__meta {
  flex: 1;
  min-width: 0;
}

.spotify-card__title {
  font-size: 1rem;
  font-weight: 700;
  font-family: var(--font-heading);
  color: #ffffff;
  margin: 0 0 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.spotify-card__desc {
  font-size: 0.78rem;
  color: #b3b3b3;
  margin: 0;
  line-height: 1.4;
}

/* Animated sound-wave bars */
.spotify-card__wave {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
  flex-shrink: 0;
  padding-bottom: 1px;
}

.spotify-card__wave span {
  display: block;
  width: 4px;
  border-radius: 2px;
  background: #1DB954;
  animation: spotify-wave 1.3s ease-in-out infinite;
}
.spotify-card__wave span:nth-child(1) { height: 35%; animation-delay: 0s;    }
.spotify-card__wave span:nth-child(2) { height: 100%; animation-delay: 0.22s; }
.spotify-card__wave span:nth-child(3) { height: 55%; animation-delay: 0.11s; }
.spotify-card__wave span:nth-child(4) { height: 80%; animation-delay: 0.33s; }
.spotify-card__wave span:nth-child(5) { height: 45%; animation-delay: 0.16s; }

@keyframes spotify-wave {
  0%, 100% { transform: scaleY(0.35); opacity: 0.6; }
  50%       { transform: scaleY(1);    opacity: 1;   }
}

.spotify-card__embed {
  display: block;
  line-height: 0;
}

.spotify-card__embed iframe {
  display: block;
  width: 100%;
  border: none;
}

.spotify-card__footer {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1.5rem;
  background: #0d0d0d;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  flex-wrap: wrap;
}

.spotify-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 18px;
  border-radius: 999px;
  background: #1DB954;
  color: #000000;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.18s ease, transform 0.15s ease;
  flex-shrink: 0;
}
.spotify-card__cta:hover  { background: #1ed760; transform: translateY(-1px); }
.spotify-card__cta:active { transform: translateY(0); }

.spotify-card__hint {
  font-size: 0.72rem;
  color: #535353;
  line-height: 1.35;
}

/* Corvin Raps variant — gold left accent instead of green */
.spotify-card--raps {
  border-color: rgba(201, 168, 76, 0.3);
  box-shadow:
    0 0 0 1px rgba(0,0,0,0.5),
    0 8px 40px rgba(0,0,0,0.55),
    0 0 70px rgba(201, 168, 76, 0.08);
  margin-bottom: 2rem;
}
.spotify-card--raps .spotify-card__header::before {
  background: var(--gold);
}
.spotify-card--raps .spotify-card__wave span {
  background: var(--gold);
}

/* ---------- Program Recommendation Quiz ---------- */
.quiz-section {
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.quiz-section::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(201,168,76,0.07) 0%, transparent 65%);
  pointer-events: none;
}

.quiz-container {
  max-width: 760px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.quiz-progress {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.quiz-progress__bar {
  flex: 1;
  height: 4px;
  background: var(--border);
  border-radius: 100px;
  overflow: hidden;
}

.quiz-progress__fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  border-radius: 100px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.quiz-progress__text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.75rem;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.quiz-step {
  display: none;
  animation: quizFadeIn 0.4s ease forwards;
}

.quiz-step.active {
  display: block;
}

@keyframes quizFadeIn {
  from { opacity: 0; transform: translateX(24px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes quizFadeOut {
  from { opacity: 1; transform: translateX(0); }
  to   { opacity: 0; transform: translateX(-24px); }
}

.quiz-q {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.quiz-q-sub {
  color: var(--muted);
  font-size: 0.92rem;
  margin-bottom: 2rem;
}

.quiz-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}

.quiz-option {
  background: var(--dark-card);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.4;
  outline: none;
}

.quiz-option:hover {
  border-color: rgba(201,168,76,0.5);
  background: rgba(201,168,76,0.06);
  color: var(--white);
  transform: translateY(-2px);
}

.quiz-option.selected {
  border-color: var(--gold);
  background: rgba(201,168,76,0.12);
  color: var(--white);
}

.quiz-option__emoji {
  font-size: 1.6rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}

.quiz-option__text strong {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
  color: inherit;
}

.quiz-option__text span {
  font-size: 0.8rem;
  color: var(--muted);
}

.quiz-option.selected .quiz-option__text span {
  color: rgba(201,168,76,0.7);
}

.quiz-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.quiz-back {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 0.5rem 0;
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.quiz-back:hover { color: var(--white); }
.quiz-back:disabled { opacity: 0.3; cursor: default; }

/* Result card */
.quiz-result {
  display: none;
  animation: quizFadeIn 0.5s ease forwards;
}

.quiz-result.active {
  display: block;
}

.quiz-result-card {
  background: var(--dark-card);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-gold);
}

.quiz-result-header {
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  padding: 2rem 2.5rem 1.5rem;
  border-bottom: 1px solid var(--border);
}

.quiz-result-eyebrow {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.quiz-result-title {
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: var(--white);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.quiz-result-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin: 0;
}

.quiz-result-body {
  padding: 1.75rem 2.5rem 2rem;
}

.quiz-result-features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.quiz-result-features li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text);
}

.quiz-result-features li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.quiz-result-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.quiz-restart {
  background: none;
  border: none;
  color: var(--muted);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
  margin-top: 1.25rem;
  display: block;
}

.quiz-restart:hover { color: var(--gold); }

@media (max-width: 600px) {
  .quiz-options { grid-template-columns: 1fr; }
  .quiz-result-features { grid-template-columns: 1fr; }
  .quiz-result-body { padding: 1.5rem 1.5rem; }
  .quiz-result-header { padding: 1.5rem 1.5rem 1.25rem; }
}

/* ---------- Scroll animations ---------- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .navbar__links,
  .navbar__cta {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .about-preview,
  .about-story,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .session-banner {
    grid-template-columns: 1fr;
  }

  .about-values {
    grid-template-columns: 1fr 1fr;
  }

  .pricing-card--featured {
    transform: scale(1);
  }

  .pricing-card--featured:hover {
    transform: translateY(-4px);
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer__bottom {
    flex-direction: column;
    text-align: center;
  }

  .hero__stats {
    gap: 1.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero__actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .about-values {
    grid-template-columns: 1fr;
  }

  .cta-strip__actions {
    flex-direction: column;
    align-items: center;
  }
}

/* =====================================================
   ANIMATED STATS COUNTER
   ===================================================== */

.stats-strip {
  background: linear-gradient(135deg, #0f0f0f 0%, #1a1507 50%, #0f0f0f 100%);
  border-top: 1px solid rgba(201, 168, 76, 0.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.2);
  padding: 4rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  position: relative;
}

/* Vertical separators between items */
.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(201, 168, 76, 0.2);
}

.stat-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
  line-height: 1;
}

.stat-number-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 1px;
  line-height: 1;
  margin-bottom: 0.6rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--gold);
  letter-spacing: -0.02em;
  line-height: 1;
  tabular-nums: 'lnum';
  font-variant-numeric: lining-nums tabular-nums;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--gold-light);
  line-height: 1;
  align-self: flex-start;
  margin-top: 0.2rem;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
}

/* Light theme */
html[data-theme="light"] .stats-strip {
  background: linear-gradient(135deg, #f0ede4 0%, #faf7ef 50%, #f0ede4 100%);
  border-color: rgba(160, 120, 20, 0.2);
}
html[data-theme="light"] .stat-item + .stat-item::before {
  background: rgba(160, 120, 20, 0.2);
}
html[data-theme="light"] .stat-label {
  color: #888;
}

/* Responsive: 2×2 on tablet, stacked on mobile */
@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  /* Remove left border on 1st item of each row (items 1 and 3) */
  .stat-item:nth-child(2n+1)::before {
    display: none;
  }
  /* Add horizontal separator between rows */
  .stat-item:nth-child(3),
  .stat-item:nth-child(4) {
    border-top: 1px solid rgba(201, 168, 76, 0.15);
  }
  html[data-theme="light"] .stat-item:nth-child(3),
  html[data-theme="light"] .stat-item:nth-child(4) {
    border-top-color: rgba(160, 120, 20, 0.15);
  }
}

@media (max-width: 420px) {
  .stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0;
  }
  .stat-item {
    padding: 1.5rem 1rem;
  }
}

/* =====================================================
   TRANSFORMATION SLIDERS
   ===================================================== */

/* Grid */
.ts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Card */
.ts-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* Slider container */
.ts-slider {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: var(--radius);
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
  box-shadow: var(--shadow);
  background: var(--dark-card);
}

/* After image (full width, stays put) */
.ts-after {
  position: absolute;
  inset: 0;
  background-color: #1c2a1a;     /* fallback tint — greenish-dark for "after" */
  background-size: cover;
  background-position: center top;
}

/* Before wrapper — width is driven by JS, clips content */
.ts-before {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;           /* JS updates this */
  overflow: hidden;
}

/* Before image fill — JS sets pixel width = container width so bg-size cover works correctly */
.ts-before__fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;          /* JS overrides with px value */
  background-color: #2a1a1a;    /* fallback tint — reddish-dark for "before" */
  background-size: cover;
  background-position: center top;
}

/* Intro-animation smooth sweep */
.ts-slider--anim .ts-before,
.ts-slider--anim .ts-divider {
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1),
              left  0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Divider line */
.ts-divider {
  position: absolute;
  top: 0;
  left: 50%;            /* JS updates this */
  transform: translateX(-50%);
  height: 100%;
  width: 2px;
  background: rgba(255, 255, 255, 0.85);
  pointer-events: none;
}

/* Drag handle */
.ts-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.9);
  background: var(--gold);
  color: #0a0a0a;
  cursor: ew-resize;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.ts-handle:hover {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 4px 20px rgba(201, 168, 76, 0.5);
}
.ts-handle svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

/* Before / After labels */
.ts-tag {
  position: absolute;
  bottom: 12px;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  pointer-events: none;
}
.ts-tag--before {
  right: 10px;
  background: rgba(0, 0, 0, 0.6);
  color: var(--muted);
}
.ts-tag--after {
  left: 10px;
  background: rgba(201, 168, 76, 0.85);
  color: #0a0a0a;
}

/* Caption */
.ts-caption {
  display: flex;
  flex-direction: column;
  gap: 3px;
  text-align: center;
}
.ts-caption strong {
  font-size: 1rem;
  color: var(--white);
  font-family: var(--font-heading);
}
.ts-result {
  font-size: 0.82rem;
  color: var(--muted);
}

/* Disclaimer note */
.ts-note {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto;
  opacity: 0.7;
}

/* Light theme */
html[data-theme="light"] .ts-slider {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.14);
}
html[data-theme="light"] .ts-tag--before {
  background: rgba(255, 255, 255, 0.75);
  color: #555;
}
html[data-theme="light"] .ts-caption strong {
  color: var(--dark);
}

/* Responsive */
@media (max-width: 900px) {
  .ts-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* =====================================================
   KENO CHATBOT WIDGET
   ===================================================== */

/* -- Container -- */
.keno-widget {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* -- Floating bubble button -- */
.keno-bubble {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px 0 6px;
  height: 54px;
  border-radius: 27px;
  border: none;
  background: var(--gold);
  color: #0a0a0a;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  outline-offset: 3px;
  position: relative;
}
.keno-bubble:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.6);
}
.keno-bubble:active {
  transform: translateY(0);
}
.keno-bubble__avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.keno-bubble__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.keno-bubble__label {
  transition: opacity 0.15s ease, width 0.2s ease;
  white-space: nowrap;
}
.keno-bubble--open .keno-bubble__label {
  display: none;
}
.keno-bubble--open {
  padding: 0 14px;
}
.keno-bubble--open .keno-bubble__avatar {
  background: #0a0a0a;
}

/* -- Chat panel -- */
.keno-panel {
  width: 360px;
  background: #141414;
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
  transform: translateY(20px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1),
              opacity 0.22s ease;
}
.keno-panel--open {
  transform: translateY(0) scale(1);
  opacity: 1;
  pointer-events: all;
}

/* -- Panel header -- */
.keno-panel__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px 14px 16px;
  background: linear-gradient(135deg, #1c1c1c 0%, #111111 100%);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  flex-shrink: 0;
}
.keno-panel__avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.keno-panel__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.keno-panel__info {
  flex: 1;
  min-width: 0;
}
.keno-panel__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1.2;
}
.keno-panel__status {
  font-size: 0.72rem;
  color: #5cb85c;
  margin-top: 2px;
}
.keno-panel__close {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  color: var(--muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.keno-panel__close:hover {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
}
.keno-panel__close svg {
  width: 16px;
  height: 16px;
}

/* -- Message area -- */
.keno-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 260px;
  max-height: 340px;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.25) transparent;
}
.keno-messages::-webkit-scrollbar {
  width: 4px;
}
.keno-messages::-webkit-scrollbar-track {
  background: transparent;
}
.keno-messages::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.3);
  border-radius: 4px;
}

/* -- Message rows -- */
.keno-msg {
  display: flex;
  gap: 8px;
  align-items: flex-end;
  max-width: 92%;
}
.keno-msg--bot {
  align-self: flex-start;
}
.keno-msg--user {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.keno-msg__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-bottom: 2px;
  overflow: hidden;
}
.keno-msg__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.keno-msg__bubble {
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 0.85rem;
  line-height: 1.55;
  word-break: break-word;
}
.keno-msg--bot .keno-msg__bubble {
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom-left-radius: 4px;
  color: var(--text);
}
.keno-msg--bot .keno-msg__bubble a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-color: rgba(212, 175, 55, 0.4);
  text-underline-offset: 2px;
}
.keno-msg--bot .keno-msg__bubble a:hover {
  text-decoration-color: var(--gold);
}
.keno-msg--user .keno-msg__bubble {
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-bottom-right-radius: 4px;
  color: var(--text);
}

/* -- Typing indicator -- */
.keno-typing {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 10px;
  flex-shrink: 0;
}
.keno-typing__avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.keno-typing__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.keno-typing__dots {
  display: flex;
  gap: 4px;
  padding: 10px 12px;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 14px;
  border-bottom-left-radius: 4px;
}
.keno-typing__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--muted);
  display: block;
  animation: keno-bounce 1.2s ease-in-out infinite;
}
.keno-typing__dots span:nth-child(2) { animation-delay: 0.2s; }
.keno-typing__dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes keno-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
  30%           { transform: translateY(-6px); opacity: 1; }
}

/* -- Input row -- */
.keno-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 12px 14px;
  background: #111;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-shrink: 0;
}
.keno-input {
  flex: 1;
  height: 40px;
  padding: 0 12px;
  background: #1a1a1a;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  outline: none;
  transition: border-color 0.2s;
}
.keno-input::placeholder {
  color: var(--muted);
}
.keno-input:focus {
  border-color: rgba(212, 175, 55, 0.5);
}
.keno-send {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: none;
  background: var(--gold);
  color: #0a0a0a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s, transform 0.15s;
}
.keno-send:hover {
  background: #c9a227;
  transform: scale(1.05);
}
.keno-send:active {
  transform: scale(0.97);
}
.keno-send svg {
  width: 17px;
  height: 17px;
}

/* -- Light theme overrides -- */
html[data-theme="light"] .keno-panel {
  background: #ffffff;
  border-color: rgba(180, 140, 20, 0.3);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.14);
}
html[data-theme="light"] .keno-panel__header {
  background: linear-gradient(135deg, #f5f5f0 0%, #eeeeea 100%);
  border-bottom-color: rgba(180, 140, 20, 0.2);
}
html[data-theme="light"] .keno-panel__close {
  background: rgba(0, 0, 0, 0.05);
  color: #666;
}
html[data-theme="light"] .keno-panel__close:hover {
  background: rgba(0, 0, 0, 0.12);
  color: #333;
}
html[data-theme="light"] .keno-messages {
  scrollbar-color: rgba(160, 120, 15, 0.25) transparent;
}
html[data-theme="light"] .keno-msg--bot .keno-msg__bubble {
  background: #f4f4f0;
  border-color: rgba(0, 0, 0, 0.08);
  color: var(--text);
}
html[data-theme="light"] .keno-msg--user .keno-msg__bubble {
  background: rgba(180, 140, 20, 0.1);
  border-color: rgba(180, 140, 20, 0.3);
  color: var(--text);
}
html[data-theme="light"] .keno-typing__dots {
  background: #f4f4f0;
  border-color: rgba(0, 0, 0, 0.08);
}
html[data-theme="light"] .keno-input-row {
  background: #f9f9f6;
  border-top-color: rgba(0, 0, 0, 0.07);
}
html[data-theme="light"] .keno-input {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.15);
  color: #1a1a1a;
}
html[data-theme="light"] .keno-input:focus {
  border-color: rgba(180, 140, 20, 0.55);
}

/* -- Mobile panel adjustments -- */
@media (max-width: 480px) {
  .keno-widget {
    bottom: 16px;
    right: 14px;
  }
  .keno-panel {
    width: calc(100vw - 28px);
    max-width: 360px;
  }
  .keno-messages {
    max-height: 280px;
  }
}
