/* ============================================
   STRAHLKRAFT40+ Portal — Dark Editorial CSS
   v3.0 — Luxury Magazine Redesign
   Palette: Rich Black + Midnight + Gold
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* Core palette — Rich Black + Midnight */
  --bg-deep: #0A0A0A;
  --bg-main: #121212;
  --bg-card: #1B2A38;
  --bg-elevated: #243547;
  --bg-input: #0F1923;

  /* Gold system */
  --gold: #D4AF37;
  --gold-soft: #C9A736;
  --gold-dim: rgba(212, 175, 55, 0.6);
  --gold-glow: rgba(212, 175, 55, 0.08);

  /* Text hierarchy */
  --ivory: #FAFAF5;
  --text-body: #D0CEC8;
  --text-soft: #A8A59D;
  --text-muted: #7A776F;

  /* Borders */
  --border-subtle: rgba(212, 175, 55, 0.1);
  --border-gold: rgba(212, 175, 55, 0.25);

  /* Accent */
  --accent-green: #0E3A28;
  --coral: #D07C69;

  /* Layout */
  --sidebar-width: 280px;
  --topbar-height: 64px;
  --content-max: 720px;
}

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Montserrat:wght@300;400;500;600;700&display=swap');

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--bg-deep);
  color: var(--text-body);
  line-height: 1.8;
  min-height: 100vh;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: opacity 0.3s, color 0.3s;
}

a:hover {
  opacity: 0.85;
}

/* --- Typography --- */
.font-serif {
  font-family: 'Cormorant Garamond', serif;
}

h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  color: var(--ivory);
  font-weight: 300;
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

@keyframes dotPulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12); }
  50% { box-shadow: 0 0 0 6px rgba(212, 175, 55, 0.2), 0 0 15px rgba(212, 175, 55, 0.1); }
}

@keyframes btnGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.06); }
  50% { box-shadow: 0 0 32px rgba(212, 175, 55, 0.14); }
}

@keyframes shimmerLine {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(300%); }
}

@keyframes loadingBar {
  0% { width: 0; opacity: 0; }
  50% { width: 60px; opacity: 1; }
  100% { width: 0; opacity: 0; }
}

/* ============================================
   LOADING SCREEN
   ============================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: opacity 0.5s;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--gold);
  letter-spacing: 4px;
  font-weight: 300;
  animation: pulse 1.8s ease-in-out infinite;
}

.loading-screen::after {
  content: '';
  width: 32px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: loadingBar 1.8s ease-in-out infinite;
}

/* ============================================
   LOGIN PAGE
   ============================================ */
.login-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem 1.5rem;
  background: var(--bg-deep);
  position: relative;
}

.login-wrapper::before {
  content: '';
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.login-card {
  width: 100%;
  max-width: 420px;
  text-align: center;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  padding: 3.5rem 2.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 80px rgba(212, 175, 55, 0.03);
  animation: fadeInUp 0.6s ease-out;
  position: relative;
}

.login-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.login-divider {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto;
  position: relative;
  overflow: hidden;
}

.login-divider::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmerLine 4s ease-in-out infinite;
}

.login-subtitle {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--ivory);
  letter-spacing: 1px;
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.login-intro {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.login-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: 0.9375rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  font-style: italic;
  text-align: center;
  margin-top: 2rem;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.login-input-group {
  position: relative;
}

.login-input-group label {
  display: block;
  font-size: 0.6875rem;
  color: var(--text-soft);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  text-align: left;
}

.login-input {
  width: 100%;
  padding: 0.875rem 1rem;
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  color: var(--ivory);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.9375rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.login-input::placeholder {
  color: var(--text-muted);
}

.login-input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.08);
}

.login-btn {
  width: 100%;
  padding: 0.9375rem 1.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, #E8C44A 100%);
  color: #0A0A0A;
  border: none;
  border-radius: 2px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.1s, box-shadow 0.3s;
  position: relative;
  margin-top: 0.5rem;
}

.login-btn:hover {
  opacity: 0.93;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3);
  transform: translateY(-1px);
}

.login-btn:active {
  transform: scale(0.98);
}

.login-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.login-hint {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

.login-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem;
  text-align: center;
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.login-footer a {
  color: var(--text-muted);
  margin: 0 0.75rem;
  transition: color 0.2s;
}

.login-footer a:hover {
  color: var(--gold-dim);
}

/* Login error */
.login-error {
  display: none;
  background: rgba(208, 124, 105, 0.08);
  border: 1px solid rgba(208, 124, 105, 0.25);
  border-radius: 2px;
  padding: 0.75rem 1rem;
  font-size: 0.8125rem;
  color: #E8A090;
  text-align: left;
  line-height: 1.5;
}

.login-error.visible {
  display: block;
}

/* Login button loading */
.login-btn.loading {
  color: transparent;
  pointer-events: none;
}

.login-btn.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 2px solid rgba(10, 10, 10, 0.3);
  border-top-color: #0A0A0A;
  border-radius: 50%;
  animation: btnSpin 0.6s linear infinite;
}

/* Login success */
.login-success {
  display: none;
  text-align: center;
  padding: 1rem 0;
}

.login-success.visible {
  display: block;
}

.login-success p {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.6;
}

/* ============================================
   TOPBAR
   ============================================ */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--topbar-height);
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
  z-index: 100;
}

.topbar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  letter-spacing: -0.025em;
  color: var(--ivory);
  font-weight: 700;
  text-decoration: none;
  text-transform: none;
}

.topbar-brand .gold {
  color: var(--gold);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.topbar-welcome {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.sidebar-user-email {
  display: none;
  font-size: 0.625rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-subtle);
  margin-top: 1.5rem;
  word-break: break-all;
}

.topbar-btn {
  padding: 0.4rem 1.25rem;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 2px;
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}

.topbar-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

/* Hamburger (mobile) */
.topbar-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
}

.topbar-hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--gold);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ============================================
   DASHBOARD
   ============================================ */
.dashboard-wrapper {
  padding-top: calc(var(--topbar-height) + 2.5rem);
  padding-bottom: 4rem;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 2rem;
  padding-right: 2rem;
  position: relative;
  z-index: 1;
}

/* Atmospheric background */
.dash-atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.dash-atmosphere__silk {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 20%, rgba(27, 42, 56, 0.4) 0%, transparent 50%),
              radial-gradient(ellipse at 70% 80%, rgba(27, 42, 56, 0.25) 0%, transparent 50%);
}

.dash-atmosphere__orb {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.dash-atmosphere__orb--1 {
  width: 600px; height: 600px;
  top: -5%; left: 10%;
  animation: orbBreath 10s ease-in-out infinite;
}

.dash-atmosphere__orb--2 {
  width: 400px; height: 400px;
  top: 50%; right: 5%;
  animation: orbBreath 12s ease-in-out 3s infinite;
}

.dash-atmosphere__orb--3 {
  width: 300px; height: 300px;
  bottom: 10%; left: 35%;
  animation: orbBreath 14s ease-in-out 6s infinite;
}

@keyframes orbBreath {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0.7; transform: scale(1.08); }
}

/* Gold particles */
.dash-particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--gold);
  border-radius: 50%;
  box-shadow: 0 0 4px 1px rgba(212, 175, 55, 0.2);
  animation: particleFloat linear infinite;
  bottom: -10px;
}

@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0); opacity: 0; }
  8% { opacity: 0.5; }
  85% { opacity: 0.3; }
  100% { transform: translateY(-100vh) translateX(30px); opacity: 0; }
}

/* ============================================
   COVER — Full Viewport Magazine Hero
   ============================================ */
.cover {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  margin-top: var(--topbar-height);
}

.cover__link {
  display: block;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.cover .featured-card {
  height: 100%;
  min-height: 100%;
  margin: 0;
  border: none;
  border-radius: 0;
}

.cover .featured-card-img {
  object-position: center 30%;
}

.cover__gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,10,0.3) 0%, transparent 30%),
    linear-gradient(180deg, transparent 40%, rgba(10,10,10,0.95) 100%),
    linear-gradient(90deg, rgba(10,10,10,0.4) 0%, transparent 50%);
  z-index: 2;
  pointer-events: none;
}

.cover .featured-card-content {
  z-index: 3;
  padding: 3rem 4rem;
  max-width: 680px;
}

.cover__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 5.5rem;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 1.25rem;
}

.cover .featured-badge {
  margin-bottom: 1.5rem;
}

.cover .featured-subtitle {
  font-size: 1.125rem;
  max-width: 400px;
  line-height: 1.7;
}

.cover .featured-cta {
  margin-top: 2rem;
  font-size: 0.8125rem;
}

.cover .featured-card-corner { display: block; }
.cover .featured-card-corner--tl { top: 24px; left: 24px; }
.cover .featured-card-corner--tr { top: 24px; right: 24px; }
.cover .featured-card-corner--bl { bottom: 24px; left: 24px; }
.cover .featured-card-corner--br { bottom: 24px; right: 24px; }

/* Scroll hint */
.cover__scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
}

.cover__scroll-hint span {
  display: block;
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(212,175,55,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
  50% { opacity: 0.8; transform: scaleY(1); }
}

/* ============================================
   PORTAL SECTIONS — Alternating backgrounds
   ============================================ */
.portal-section {
  padding: 5rem 0;
  position: relative;
}

.portal-section--midnight {
  background: var(--bg-card);
}

.portal-section--black {
  background: var(--bg-deep);
}

.portal-section--compact {
  padding: 3rem 0;
}

.portal-section__inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 3rem;
}

/* Section heading: number + title + rule */
.portal-section__head {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  margin-bottom: 3rem;
}

.portal-section__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3.5rem;
  font-weight: 300;
  color: rgba(212, 175, 55, 0.15);
  line-height: 1;
  flex-shrink: 0;
}

.portal-section__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.portal-section__rule {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-gold), transparent 80%);
  align-self: center;
}

/* ============================================
   EDITORIAL PAIRS — Asymmetric 60/40 layout
   ============================================ */
.editorial-pair {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
}

.editorial-pair--reverse {
  grid-template-columns: 1fr 1.4fr;
}

/* Editorial card */
.editorial-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.4s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.editorial-card:hover {
  border-color: rgba(212, 175, 55, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 175, 55, 0.05);
  opacity: 1;
}

.editorial-card__img-wrap {
  position: relative;
  overflow: hidden;
}

.editorial-card--large .editorial-card__img-wrap {
  height: 320px;
}

.editorial-card--small .editorial-card__img-wrap {
  height: 240px;
}

.editorial-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-card:hover .editorial-card__img {
  transform: scale(1.06);
}

.editorial-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(10, 10, 10, 0.7) 100%);
  pointer-events: none;
}

.editorial-card__body {
  padding: 1.75rem 2rem 2rem;
}

.editorial-card__tag {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  opacity: 0.7;
}

.editorial-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.2;
  margin-bottom: 0.6rem;
  transition: color 0.3s;
}

.editorial-card:hover .editorial-card__title {
  color: var(--gold);
}

.editorial-card__desc {
  font-size: 0.875rem;
  color: var(--text-soft);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

/* Locked state */
.editorial-card.locked {
  opacity: 0.55;
  filter: saturate(0.7);
}

.editorial-card.locked:hover {
  opacity: 0.7;
  filter: saturate(0.85);
}

.editorial-card:not(.locked) .locked-badge {
  display: none;
}

/* ============================================
   PORTAL QUOTE — Deep Green break
   ============================================ */
.portal-quote {
  background: linear-gradient(135deg, #0E3A28 0%, #0B2E20 60%, #121212 100%);
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.portal-quote::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.04) 0%, transparent 60%);
  pointer-events: none;
}

.portal-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.3;
  letter-spacing: -0.5px;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.portal-quote__mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 6rem;
  color: rgba(212, 175, 55, 0.2);
  position: absolute;
  top: -3rem;
  left: -2rem;
  line-height: 1;
}

/* ============================================
   COMING SOON — Redesigned
   ============================================ */
.portal-section--compact .coming-soon-card {
  text-align: center;
  padding: 2rem;
  opacity: 0.3;
}

.portal-section--compact .coming-soon-card__label {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: block;
}

.portal-section--compact .coming-soon-card__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--text-soft);
  margin-bottom: 0.25rem;
}

.portal-section--compact .coming-soon-card__desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  font-weight: 300;
}

/* --- Dashboard Hero — Cinematic (legacy, kept for other pages) --- */
.dash-hero {
  text-align: center;
  padding: 6rem 1rem 2rem;
  position: relative;
}

.dash-hero__chapter {
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(212, 175, 55, 0.2);
  letter-spacing: 0.15em;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.8s ease-out both;
  user-select: none;
}

.dash-hero__shimmer {
  width: 60px;
  height: 1px;
  margin: 0.75rem auto 2rem;
  position: relative;
  overflow: hidden;
  background: rgba(212, 175, 55, 0.15);
}

.dash-hero__shimmer::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
  animation: shimmerLine 3.5s ease-in-out infinite;
}

.dash-hero__title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 4.5rem;
  font-weight: 300;
  color: var(--ivory);
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 1.5rem;
  animation: fadeInUp 0.7s ease-out 0.15s both;
}

@keyframes strahlSweep {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

.dash-hero__subtitle {
  font-size: 1rem;
  color: var(--text-soft);
  font-weight: 300;
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.8;
  letter-spacing: 0.3px;
  animation: fadeInUp 0.6s ease-out 0.25s both;
}

/* Legacy eyebrow — kept for other pages */
.dash-hero__eyebrow {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  opacity: 0.6;
  animation: fadeInUp 0.6s ease-out;
}

/* --- Editorial Ticker Bar --- */
.dash-ticker {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.75rem 2rem;
  margin: 0 auto 3rem;
  max-width: 600px;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  animation: fadeInUp 0.6s ease-out 0.3s both;
}

.dash-ticker__item {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0 2.5rem;
}

.dash-ticker__value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.1);
}

.dash-ticker__label {
  font-size: 0.65rem;
  color: var(--text-muted);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.dash-ticker__divider {
  width: 1px;
  height: 28px;
  background: var(--border-gold);
  flex-shrink: 0;
}

/* Legacy stats — kept for compatibility */
.dash-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
  padding: 2rem 0 0;
  animation: fadeInUp 0.6s ease-out 0.25s both;
}

.dash-stat {
  text-align: center;
  position: relative;
}

.dash-stat__number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  text-shadow: 0 0 30px rgba(212, 175, 55, 0.15);
}

.dash-stat__label {
  font-size: 0.625rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 0.4rem;
}

.dash-stat__dot {
  position: absolute;
  top: 50%;
  right: -2rem;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.25);
}

.dash-stat:last-child .dash-stat__dot { display: none; }

/* --- Dashboard Greeting (fallback) --- */
.dashboard-greeting {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--ivory);
  font-weight: 300;
  margin-bottom: 0.5rem;
  animation: fadeInUp 0.5s ease-out;
}

.dashboard-greeting::after {
  content: '';
  display: block;
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 0.75rem;
}

.dashboard-subtitle {
  font-size: 0.9375rem;
  color: var(--text-soft);
  margin-bottom: 2.5rem;
  font-weight: 300;
  margin-top: 0.75rem;
  animation: fadeInUp 0.5s ease-out 0.05s both;
}

/* ============================================
   FEATURED CARD — Cinematic Full-Width
   ============================================ */
.featured-card {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 2px;
  border: 1px solid rgba(212, 175, 55, 0.15);
  margin-top: 0;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: border-color 0.5s, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s;
  background: var(--bg-main);
  padding: 0;
  animation: fadeInUp 0.7s ease-out 0.15s both;
}

.featured-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.04), transparent);
  transition: left 1s ease;
  z-index: 4;
  pointer-events: none;
}

.featured-card:hover::before {
  left: 100%;
}

.featured-card:hover {
  border-color: var(--gold);
  transform: translateY(-4px);
  box-shadow: 0 24px 72px rgba(0, 0, 0, 0.5), 0 0 50px rgba(212, 175, 55, 0.06);
}

.featured-card-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
  mask-image: none;
  -webkit-mask-image: none;
}

.featured-card:hover .featured-card-img {
  transform: scale(1.04);
}

.featured-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(10, 10, 10, 0.6) 40%,
    rgba(10, 10, 10, 0.15) 70%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Art-deco corners */
.featured-card-corner {
  position: absolute;
  width: 40px;
  height: 40px;
  z-index: 3;
  pointer-events: none;
  opacity: 0.2;
  transition: opacity 0.5s;
}

.featured-card:hover .featured-card-corner {
  opacity: 0.5;
}

.featured-card-corner--tl { top: 16px; left: 16px; border-top: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.featured-card-corner--tr { top: 16px; right: 16px; border-top: 1px solid var(--gold); border-right: 1px solid var(--gold); }
.featured-card-corner--bl { bottom: 16px; left: 16px; border-bottom: 1px solid var(--gold); border-left: 1px solid var(--gold); }
.featured-card-corner--br { bottom: 16px; right: 16px; border-bottom: 1px solid var(--gold); border-right: 1px solid var(--gold); }

.featured-card-content {
  position: relative;
  z-index: 2;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.featured-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, #E8C44A 100%);
  color: #0A0A0A;
  padding: 0.3rem 1.25rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 3px;
  border-radius: 1px;
  margin-bottom: 1.25rem;
  width: fit-content;
  text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.3);
}

.featured-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  color: var(--ivory);
  font-weight: 300;
  margin-bottom: 0.75rem;
  line-height: 1.05;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5);
}

.featured-subtitle {
  font-size: 0.9375rem;
  color: rgba(250, 250, 245, 0.55);
  margin-bottom: 1.75rem;
  max-width: 480px;
  line-height: 1.7;
  font-weight: 300;
}

.featured-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: gap 0.3s, color 0.3s;
}

.featured-card:hover .featured-cta {
  gap: 1.25rem;
  color: #F3E5AB;
}

.featured-cta svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s;
}

.featured-card:hover .featured-cta svg {
  transform: translateX(5px);
}

/* Featured locked */
.featured-card.locked {
  opacity: 0.7;
  filter: saturate(0.8);
}

.featured-card.locked:hover {
  opacity: 0.82;
  filter: saturate(0.85);
  transform: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.featured-card:not(.locked) .locked-badge {
  display: none;
}

.featured-card .locked-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.625rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 0.75rem;
}

.featured-card .locked-badge svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   EDITORIAL SECTION HEADINGS
   ============================================ */
.section-heading {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-heading::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--gold-dim);
  flex-shrink: 0;
}

/* Dashboard section heading variant */
.dash-section-heading {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  margin-top: 0.5rem;
}

.dash-section-heading__line {
  width: 32px;
  height: 1px;
  background: rgba(212, 175, 55, 0.3);
  flex-shrink: 0;
}

.dash-section-heading__text {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.dash-section-heading__line-end {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, rgba(212, 175, 55, 0.2), transparent 80%);
}

/* ============================================
   CATEGORY HEADINGS — Magazine sections
   ============================================ */
.dash-category {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin: 3.5rem 0 1.5rem;
  animation: fadeInUp 0.5s ease-out both;
}

.dash-category__label {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ivory);
  letter-spacing: 0.5px;
  white-space: nowrap;
  flex-shrink: 0;
}

.dash-category__line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--border-gold), transparent 90%);
}

/* --- Pair Grid: 2 cards side by side --- */
.dash-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1rem;
  animation: fadeInUp 0.6s ease-out 0.1s both;
}

.dash-pair .bonus-card {
  animation: none;
}

.dash-pair .bonus-card-img {
  height: 220px;
}

/* ============================================
   EDITORIAL QUOTE
   ============================================ */
.dash-quote {
  text-align: center;
  padding: 4rem 1.5rem;
  margin: 1rem 0 2.5rem;
  position: relative;
  animation: fadeIn 0.7s ease-out 0.3s both;
}

.dash-quote__line {
  width: 40px;
  height: 1px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  background: rgba(212, 175, 55, 0.15);
}

.dash-quote__line::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: shimmerLine 4s ease-in-out 1s infinite;
}

.dash-quote blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.45;
  max-width: 560px;
  margin: 2rem auto;
  letter-spacing: 0.5px;
  font-weight: 300;
}

.dash-quote blockquote .gold,
.gold {
  color: var(--gold);
}

/* ============================================
   BONUS GRID — Magazine 3-Column
   ============================================ */
.bonus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  animation: fadeInUp 0.5s ease-out 0.2s both;
}

.bonus-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-radius: 2px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.4s, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
  position: relative;
  text-decoration: none;
  color: inherit;
  display: block;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 0.5s ease-out both;
}

.bonus-card:nth-child(1) { animation-delay: 0.15s; }
.bonus-card:nth-child(2) { animation-delay: 0.22s; }
.bonus-card:nth-child(3) { animation-delay: 0.29s; }
.bonus-card:nth-child(4) { animation-delay: 0.36s; }
.bonus-card:nth-child(5) { animation-delay: 0.43s; }
.bonus-card:nth-child(6) { animation-delay: 0.50s; }

/* Gold top-line on hover */
.bonus-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #E8C44A, var(--gold));
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 5;
}

.bonus-card:hover::before {
  opacity: 1;
}

.bonus-card:hover {
  border-color: var(--gold);
  transform: translateY(-8px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.4), 0 0 40px rgba(212, 175, 55, 0.06);
}

a.bonus-card {
  display: block;
}

a.bonus-card:hover {
  opacity: 1;
}

.bonus-card-img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 100%);
}

.bonus-card:hover .bonus-card-img {
  transform: scale(1.06);
}

/* Hide icons on cards with images */
.bonus-card-img + .bonus-card-content .bonus-icon {
  display: none;
}

/* Oversized chapter number */
.bonus-card-number {
  position: absolute;
  top: 10px;
  right: 14px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(212, 175, 55, 0.08);
  line-height: 1;
  z-index: 3;
  pointer-events: none;
  transition: color 0.4s;
}

.bonus-card:hover .bonus-card-number {
  color: rgba(212, 175, 55, 0.2);
}

.bonus-card-content {
  padding: 0.75rem 1.5rem 1.5rem;
  margin-top: -1rem;
  position: relative;
  z-index: 1;
}

.bonus-icon {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.bonus-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--ivory);
  font-weight: 500;
  margin-bottom: 0.3rem;
  line-height: 1.2;
  transition: color 0.3s;
}

.bonus-card:hover .bonus-title {
  color: var(--gold);
}

.bonus-subtitle {
  font-size: 0.8125rem;
  color: var(--text-soft);
  opacity: 0.7;
  font-weight: 300;
  line-height: 1.5;
}

/* Unlocked cards */
.bonus-card:not(.locked) {
  border-color: rgba(212, 175, 55, 0.12);
}

.bonus-card:not(.locked) .locked-badge {
  display: none;
}

/* Locked cards */
.bonus-card.locked {
  opacity: 0.5;
  filter: saturate(0.7);
  cursor: pointer;
}

.bonus-card.locked:hover {
  opacity: 0.65;
  filter: saturate(0.85);
  border-color: rgba(212, 175, 55, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3);
}

.bonus-card.locked:hover::before {
  opacity: 0;
}

.locked-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.625rem;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 0.5rem;
  padding: 0.3rem 0.75rem;
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 1px;
}

.locked-badge svg {
  width: 12px;
  height: 12px;
}

/* Coming soon */
.coming-soon-grid {
  grid-template-columns: 1fr;
  max-width: 340px;
}

.coming-soon-card {
  opacity: 0.2;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 2px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.coming-soon-card .bonus-title {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

.coming-soon-card .bonus-subtitle {
  color: var(--text-muted);
  opacity: 0.5;
}

/* ============================================
   PORTAL FOOTER
   ============================================ */
.portal-footer {
  text-align: center;
  padding: 3rem 1rem 4rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  letter-spacing: 0.5px;
  margin-top: 2rem;
  position: relative;
}

.portal-footer__flourish {
  width: 120px;
  height: 24px;
  display: block;
  margin: 0 auto 1.5rem;
  opacity: 0.6;
}

.portal-footer__brand {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.portal-footer__brand .gold { color: var(--gold); }

.portal-footer__tagline {
  font-size: 0.6875rem;
  color: var(--text-muted);
  letter-spacing: 2.5px;
  font-weight: 300;
}

.portal-footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  color: var(--gold-dim);
  letter-spacing: 4px;
  margin-bottom: 0.5rem;
}

.portal-footer-line {
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
  margin: 0.75rem auto;
}

/* ============================================
   CONTENT PAGE — LAYOUT
   ============================================ */
.content-layout {
  display: flex;
  padding-top: var(--topbar-height);
  min-height: 100vh;
  background: var(--bg-deep);
}

/* Topbar back button */
.topbar-back {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  transition: color 0.2s;
}

.topbar-back:hover {
  color: var(--gold);
}

.topbar-back svg {
  width: 16px;
  height: 16px;
}

.topbar-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: var(--ivory);
  font-weight: 300;
  letter-spacing: 2px;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

/* ============================================
   SIDEBAR — Midnight Editorial
   ============================================ */
.sidebar {
  width: var(--sidebar-width);
  height: calc(100vh - var(--topbar-height));
  background: var(--bg-card);
  border-right: 1px solid rgba(212, 175, 55, 0.06);
  padding: 1.75rem 0;
  position: fixed;
  top: var(--topbar-height);
  left: 0;
  bottom: 0;
  overflow-y: auto;
  z-index: 50;
  scrollbar-width: thin;
  scrollbar-color: rgba(212, 175, 55, 0.15) transparent;
}

.sidebar::-webkit-scrollbar {
  width: 3px;
}

.sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
  background: rgba(212, 175, 55, 0.15);
  border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
  background: rgba(212, 175, 55, 0.3);
}

/* Scroll indicator gradient at bottom of sidebar */
.sidebar::after {
  content: '';
  position: sticky;
  bottom: 0;
  left: 0;
  right: 0;
  display: block;
  height: 40px;
  background: linear-gradient(180deg, transparent, var(--bg-card));
  pointer-events: none;
  z-index: 2;
}

.sidebar-section-label {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0 1.5rem;
  margin-bottom: 0.75rem;
  margin-top: 1.5rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.sidebar-section-label:first-child {
  margin-top: 0;
}

.sidebar-section-label::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1.5rem;
  width: 20px;
  height: 1px;
  background: var(--gold);
  opacity: 0.3;
}

.sidebar-nav {
  list-style: none;
}

.sidebar-nav li a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.5rem;
  font-size: 0.775rem;
  color: var(--text-soft);
  transition: all 0.25s ease;
  border-left: 2px solid transparent;
  line-height: 1.4;
  letter-spacing: 0.2px;
}

.sidebar-nav li a:hover {
  color: var(--ivory);
  background: rgba(212, 175, 55, 0.04);
  padding-left: 1.75rem;
}

.sidebar-nav li a.active {
  color: var(--gold);
  border-left-color: var(--gold);
  background: rgba(14, 58, 40, 0.4);
  position: relative;
  font-weight: 500;
  border-left-width: 3px;
  padding-left: calc(1.5rem - 1px);
}

.sidebar-nav li a.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.sidebar-progress-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.sidebar-progress-dot.completed {
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}

.sidebar-progress-dot.current {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.5);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.18);
  animation: dotPulse 2.5s ease-in-out infinite;
}

/* ============================================
   MAIN CONTENT AREA
   ============================================ */
.content-main {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: 3rem 3rem 5rem;
  max-width: 820px;
  margin-right: auto;
}

/* Smooth scroll offset for anchors */
section[id] {
  scroll-margin-top: calc(var(--topbar-height) + 1rem);
}

/* ============================================
   DAY HEADER — Cinematic Numbers
   ============================================ */
.day-header {
  text-align: center;
  margin-bottom: 4rem;
  padding: 5rem 1.5rem 3.5rem;
  position: relative;
  animation: fadeInUp 0.6s ease-out;
}

.day-header::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
}

.day-week-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, #E8C44A 100%);
  color: #0A0A0A;
  padding: 0.3rem 1.25rem;
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 3px;
  border-radius: 1px;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.25);
}

.day-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 8rem;
  font-weight: 300;
  color: var(--gold);
  line-height: 0.9;
  margin-bottom: 0.75rem;
  text-shadow: 0 0 80px rgba(212, 175, 55, 0.2), 0 0 160px rgba(212, 175, 55, 0.08);
  letter-spacing: 6px;
  opacity: 0.9;
}

.day-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  color: var(--ivory);
  font-weight: 300;
  margin-bottom: 0.5rem;
  letter-spacing: 0.5px;
}

.day-ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin: 1rem auto;
}

.day-ornament::before,
.day-ornament::after {
  content: '';
  width: 50px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
  opacity: 0.3;
}

.day-ornament::after {
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0.3;
}

.day-ornament-diamond {
  width: 5px;
  height: 5px;
  background: var(--gold);
  transform: rotate(45deg);
  opacity: 0.4;
  flex-shrink: 0;
}

.day-subtitle {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
}

.day-progress {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.625rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  padding: 0.3rem 1rem;
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 1px;
}

/* ============================================
   CONTENT SECTIONS — Midnight Cards
   ============================================ */
.content-section {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.06);
  border-left: 3px solid rgba(212, 175, 55, 0.2);
  border-radius: 0 2px 2px 0;
  padding: 2rem 2.25rem;
  margin-bottom: 1.75rem;
  transition: border-left-color 0.3s, box-shadow 0.3s, transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  animation: fadeInUp 0.4s ease-out both;
}

.content-section:nth-child(1) { animation-delay: 0.1s; }
.content-section:nth-child(2) { animation-delay: 0.2s; }
.content-section:nth-child(3) { animation-delay: 0.3s; }

.content-section:hover {
  border-left-color: var(--gold);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.2), 0 0 30px rgba(212, 175, 55, 0.03);
}

/* Visual flow */
.content-section + .content-section--mission {
  margin-top: 0.25rem;
}

.content-section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  letter-spacing: 0.3px;
}

.content-section-title svg {
  width: 18px;
  height: 18px;
  min-width: 18px;
  stroke: var(--gold);
  flex-shrink: 0;
  background: rgba(212, 175, 55, 0.06);
  padding: 6px;
  border-radius: 2px;
  box-sizing: content-box;
}

.content-section-text {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.85;
  letter-spacing: 0.1px;
}

.content-section-text strong {
  color: var(--ivory);
  font-weight: 600;
}

.content-section-text a {
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  transition: border-color 0.2s, color 0.2s;
}

.content-section-text a:hover {
  border-bottom-color: var(--gold);
  opacity: 1;
}

/* Key-value highlight */
.key-value-highlight {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.875rem 1.125rem;
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 2px;
}

.key-value-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 300;
  color: var(--gold);
  white-space: nowrap;
}

.key-value-detail {
  font-size: 0.875rem;
  color: var(--text-soft);
}

/* Science section variant */
.content-section--science {
  border-left-color: rgba(212, 175, 55, 0.25);
  position: relative;
}

.content-section--science::after {
  content: '';
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.04) 0%, transparent 70%);
  pointer-events: none;
}

.content-section--science .content-section-title svg {
  background: rgba(212, 175, 55, 0.04);
}

/* Mission section variant */
.content-section--mission {
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(212, 175, 55, 0.03) 100%);
  border-left-color: var(--gold);
  border-left-width: 3px;
}

.content-section--mission .content-section-title svg {
  background: rgba(212, 175, 55, 0.1);
}

/* Mission items */
.mission-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1.125rem;
  margin: 0.5rem 0;
  border-radius: 2px;
  border: 1px solid rgba(212, 175, 55, 0.06);
  background: rgba(10, 10, 10, 0.3);
  transition: background 0.25s, border-color 0.25s, transform 0.2s;
}

.mission-item:hover {
  background: rgba(212, 175, 55, 0.04);
  border-color: rgba(212, 175, 55, 0.15);
  transform: translateX(4px);
}

.mission-bullet {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.3), 0 0 24px rgba(212, 175, 55, 0.08);
}

.mission-text {
  font-size: 0.9375rem;
  color: var(--ivory);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.2px;
}

/* ============================================
   MOTIVATION BOX — Dramatic
   ============================================ */
.motivation-box {
  background: linear-gradient(135deg, rgba(27, 42, 56, 0.6) 0%, rgba(212, 175, 55, 0.04) 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 2px;
  padding: 3rem 2.5rem;
  text-align: center;
  margin: 3rem 0;
  position: relative;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), 0 0 60px rgba(212, 175, 55, 0.03);
  animation: fadeInUp 0.5s ease-out 0.35s both;
}

.motivation-box::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.3;
}

.motivation-box::after {
  content: '\201C';
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-family: 'Cormorant Garamond', serif;
  font-size: 7rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.1;
  pointer-events: none;
}

.motivation-box .motivation-text::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 1.5rem auto 0;
  opacity: 0.3;
}

.motivation-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gold);
}

.motivation-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.25));
}

.motivation-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.65;
  max-width: 520px;
  margin: 0 auto;
  font-weight: 300;
}

/* ============================================
   DAY COMPLETE BUTTON
   ============================================ */
.day-complete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1.25rem;
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 2px;
  color: var(--gold);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 3rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  animation: fadeInUp 0.4s ease-out 0.4s both;
  box-shadow: 0 0 24px rgba(212, 175, 55, 0.06);
  animation: fadeInUp 0.4s ease-out 0.4s both, btnGlow 3.5s ease-in-out infinite;
}

.day-complete-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.06), transparent);
  transition: left 0.5s ease;
}

.day-complete-btn:hover::before {
  left: 100%;
}

.day-complete-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 6px 28px rgba(212, 175, 55, 0.12), 0 0 0 1px rgba(212, 175, 55, 0.15);
  transform: translateY(-2px);
}

.day-complete-btn.completed {
  background: linear-gradient(135deg, var(--gold) 0%, #E8C44A 100%);
  color: #0A0A0A;
  border-color: var(--gold);
}

.day-complete-btn svg {
  width: 18px;
  height: 18px;
}

/* Content disclaimer — inline text version */
.content-disclaimer {
  font-size: 0.6875rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 2rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.06);
  line-height: 1.7;
  letter-spacing: 0.3px;
}

/* Content disclaimer — boxed version (bottom of content pages) */
.disclaimer-box {
  border-color: rgba(212, 175, 55, 0.25);
  background: rgba(212, 175, 55, 0.03);
}

.disclaimer-box .content-section-text {
  font-size: 0.8125rem;
  color: var(--text-muted);
  text-align: center;
}

/* ============================================
   BOTTOM NAVIGATION — Editorial
   ============================================ */
.content-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.08);
  padding-bottom: 1rem;
}

.content-nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  transition: color 0.2s, transform 0.2s;
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-radius: 2px;
  letter-spacing: 0.5px;
}

.content-nav-link:hover {
  color: var(--gold);
  border-color: rgba(212, 175, 55, 0.2);
  transform: translateX(-3px);
}

.content-nav-link svg {
  width: 16px;
  height: 16px;
}

.content-nav-link.next {
  color: #0A0A0A;
  font-weight: 600;
  background: linear-gradient(135deg, var(--gold) 0%, #E8C44A 100%);
  padding: 0.65rem 1.75rem;
  border-radius: 2px;
  letter-spacing: 1px;
  font-size: 0.75rem;
  text-transform: uppercase;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.3s;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.2);
  border: none;
}

.content-nav-link.next:hover {
  color: #0A0A0A;
  opacity: 0.92;
  transform: translateX(3px);
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

/* ============================================
   SIDEBAR OVERLAY (MOBILE)
   ============================================ */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 40;
  backdrop-filter: blur(4px);
}

/* ============================================
   EXTENDED CONTENT COMPONENTS
   ============================================ */

/* Warning Box */
.warning-box {
  background: rgba(208, 124, 105, 0.06);
  border: 1px solid rgba(208, 124, 105, 0.2);
  border-radius: 2px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
  font-size: 0.9375rem;
  color: #E8A090;
  line-height: 1.7;
}

.warning-box strong {
  color: #F0B8A8;
  font-weight: 600;
}

/* Insight Box */
.insight-box {
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.12);
  border-radius: 2px;
  padding: 1.25rem 1.5rem;
  margin: 1rem 0;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}

.insight-box strong {
  color: var(--gold);
  font-weight: 600;
}

/* Quote Box */
.quote-box {
  background: linear-gradient(135deg, rgba(27, 42, 56, 0.4) 0%, rgba(212, 175, 55, 0.03) 100%);
  border-left: 3px solid var(--gold);
  border-radius: 0 2px 2px 0;
  padding: 1.5rem 1.75rem;
  margin: 1.5rem 0;
}

.quote-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.6;
  font-weight: 300;
}

/* Section titles */
.section-title-big {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: var(--ivory);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 0.9375rem;
  color: var(--text-soft);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.section-divider {
  width: 100%;
  height: 1px;
  background: rgba(212, 175, 55, 0.08);
  margin: 2.5rem 0;
}

/* Recipe Components */
.recipe-badge {
  display: inline-block;
  padding: 0.15rem 0.6rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 1px;
  margin-right: 0.4rem;
  margin-bottom: 0.4rem;
}

.recipe-badge-gold {
  background: linear-gradient(135deg, var(--gold) 0%, #E8C44A 100%);
  color: #0A0A0A;
}

.recipe-badge-outline {
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.2);
  color: var(--gold);
}

.recipe-ingredients {
  background: var(--bg-elevated);
  border-radius: 2px;
  padding: 1rem 1.25rem;
  margin: 0.75rem 0;
}

.recipe-ingredients-title {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.veg-label {
  display: inline-block;
  font-size: 0.6875rem;
  color: #7CAD7C;
  border: 1px solid rgba(124, 173, 124, 0.2);
  padding: 0.1rem 0.5rem;
  border-radius: 1px;
  margin-left: 0.5rem;
}

/* Supplement / Vitamin Cards */
.supplement-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin: 1rem 0;
}

.supplement-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.06);
  border-radius: 2px;
  padding: 1.25rem;
  transition: border-color 0.2s;
}

.supplement-card:hover {
  border-color: rgba(212, 175, 55, 0.2);
}

.supplement-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.supplement-detail {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 0.25rem;
}

/* Pillar Grid (4 Elements) */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1rem 0;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.06);
  border-radius: 2px;
  padding: 1.5rem;
  text-align: center;
  transition: border-color 0.2s;
}

.pillar-card:hover {
  border-color: rgba(212, 175, 55, 0.2);
}

.pillar-card-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 0.5rem;
}

.pillar-card-text {
  font-size: 0.8125rem;
  color: var(--text-soft);
  line-height: 1.5;
}

/* Step Items */
.step-item {
  display: flex;
  gap: 1rem;
  padding: 1.125rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.step-item:last-child {
  border-bottom: none;
}

.step-number {
  width: 36px;
  height: 36px;
  min-width: 36px;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--gold);
}

.step-content {
  flex: 1;
}

.step-title {
  font-weight: 600;
  color: var(--ivory);
  margin-bottom: 0.25rem;
  font-size: 0.9375rem;
}

.step-desc {
  font-size: 0.875rem;
  color: var(--text-soft);
  line-height: 1.7;
}

/* Checklist Items */
.checklist-group-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  color: var(--gold);
  font-weight: 400;
  margin: 1.5rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
}

.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.checklist-item:last-child {
  border-bottom: none;
}

.checklist-label {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.5;
}

/* Tracking (progress dots) */
.tracking-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.tracking-label {
  font-size: 0.875rem;
  color: var(--text-body);
  min-width: 120px;
}

.tracking-dots {
  display: flex;
  gap: 0.35rem;
}

.tracking-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid var(--text-muted);
  background: transparent;
  cursor: pointer;
  transition: all 0.2s;
}

.tracking-dot:hover {
  border-color: var(--gold);
}

.tracking-dot.completed {
  background: var(--gold);
  border-color: var(--gold);
}

/* Troubleshooting Items */
.troubleshoot-item {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.06);
  border-radius: 2px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.troubleshoot-problem {
  font-weight: 600;
  color: #E8A090;
  font-size: 0.9375rem;
  margin-bottom: 0.5rem;
}

.troubleshoot-solution {
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Mission Cards */
.mission-card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 175, 55, 0.06);
  border-radius: 2px;
  padding: 1.25rem;
  margin-bottom: 0.75rem;
  transition: border-color 0.2s;
}

.mission-card:hover {
  border-color: rgba(212, 175, 55, 0.2);
}

.mission-card-title {
  font-weight: 600;
  color: var(--gold);
  font-size: 0.9375rem;
  margin-bottom: 0.4rem;
}

.mission-card-text {
  font-size: 0.875rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Nach 14 Tagen List */
.nach14-list {
  list-style: none;
  padding: 0;
}

.nach14-list li {
  padding: 0.5rem 0;
  padding-left: 1.25rem;
  position: relative;
  font-size: 0.9375rem;
  color: var(--text-body);
  line-height: 1.7;
}

.nach14-list li::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  position: absolute;
  left: 0;
  top: 0.9rem;
}

/* Geschafft Badge */
.geschafft-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, #E8C44A 100%);
  color: #0A0A0A;
  padding: 0.35rem 1rem;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 1px;
  margin: 0.5rem 0;
}

/* Reflection (form elements) */
.reflection-label {
  font-size: 0.875rem;
  color: var(--text-soft);
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.reflection-textarea {
  width: 100%;
  min-height: 80px;
  background: var(--bg-input);
  border: 1px solid rgba(212, 175, 55, 0.08);
  border-radius: 2px;
  padding: 0.875rem 1rem;
  color: var(--text-body);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  resize: vertical;
  transition: border-color 0.2s;
}

.reflection-textarea:focus {
  outline: none;
  border-color: var(--gold);
}

/* Woche Review */
.woche-review {
  background: linear-gradient(135deg, rgba(27, 42, 56, 0.5) 0%, rgba(212, 175, 55, 0.03) 100%);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 2px;
  padding: 1.75rem;
  margin: 1.5rem 0;
}

/* ============================================
   CONTENT GATING — PAYWALL
   ============================================ */
.featured-card.locked {
  opacity: 0.7;
  cursor: pointer;
}

.featured-card.locked:hover {
  border-color: rgba(212, 175, 55, 0.2);
  transform: none;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.bonus-card.locked {
  cursor: pointer;
}

/* Paywall overlay */
.paywall-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10, 10, 10, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease-out;
}

.paywall-card {
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: 2px;
  padding: 3.5rem 2.5rem;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(212, 175, 55, 0.08);
  animation: fadeInUp 0.4s ease-out;
}

.paywall-lock {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
}

.paywall-lock svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold);
}

.paywall-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  color: var(--ivory);
  font-weight: 300;
  margin-bottom: 0.75rem;
}

.paywall-title em {
  font-style: italic;
  color: var(--gold);
}

.paywall-text {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.paywall-cta {
  display: inline-block;
  width: 100%;
  padding: 0.9375rem 1.5rem;
  background: linear-gradient(135deg, var(--gold) 0%, #E8C44A 100%);
  color: #0A0A0A;
  border: none;
  border-radius: 2px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s, box-shadow 0.3s;
}

.paywall-cta:hover {
  opacity: 0.92;
  color: #0A0A0A;
  box-shadow: 0 6px 24px rgba(212, 175, 55, 0.3);
}

.paywall-back {
  display: inline-block;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.5px;
}

.paywall-back:hover {
  color: var(--text-soft);
}

/* Content gating */
.content-gated .content-main {
  filter: blur(6px);
  pointer-events: none;
  user-select: none;
}

.content-gated .sidebar {
  pointer-events: none;
}

/* Check email page */
.check-email-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.06);
  border: 1px solid rgba(212, 175, 55, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  animation: checkEmailPulse 3s ease-in-out infinite;
}

@keyframes checkEmailPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
  50% { box-shadow: 0 0 20px 4px rgba(212, 175, 55, 0.08); }
}

.check-email-icon svg {
  width: 30px;
  height: 30px;
  stroke: var(--gold);
}

.check-email-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  color: var(--ivory);
  font-weight: 300;
  margin-bottom: 0.5rem;
}

.check-email-divider {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1rem auto 1.5rem;
}

.check-email-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 1rem;
  font-style: italic;
}

.check-email-email-line {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.check-email-email {
  color: var(--gold);
  font-weight: 500;
}

.check-email-meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 0;
}

.check-email-retry {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.check-email-retry a {
  color: var(--gold-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

/* ============================================
   EDITORIAL INTRO — Carrie Column Style
   ============================================ */
.editorial-intro {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  font-style: italic;
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  padding-left: 1rem;
  border-left: 2px solid rgba(212, 175, 55, 0.3);
}

/* ============================================
   CONTENT IMAGE — Editorial Photo Styling
   ============================================ */
.content-image {
  margin: 1.5rem 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.content-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.content-image:hover img {
  transform: scale(1.02);
}

.content-image-caption {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  padding: 0.5rem 0.75rem;
  font-style: italic;
}

/* ============================================
   BOOKEND SECTION — Narrative Close
   ============================================ */
.bookend-section {
  background: rgba(212, 175, 55, 0.05);
  border: 1px solid rgba(212, 175, 55, 0.25);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.bookend-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ivory);
  line-height: 1.8;
}

/* ============================================
   BREADCRUMBS
   ============================================ */
.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.06);
  letter-spacing: 0.3px;
}

.breadcrumbs a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.breadcrumbs a:hover {
  color: var(--gold);
}

.breadcrumbs .breadcrumb-sep {
  color: rgba(212, 175, 55, 0.3);
  font-size: 0.625rem;
}

.breadcrumbs .breadcrumb-current {
  color: var(--text-soft);
  font-weight: 500;
}

/* ============================================
   SIDEBAR — Dashboard Link & Cross-Nav
   ============================================ */
.sidebar-dashboard-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.75rem 1.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  transition: background 0.2s;
}

.sidebar-dashboard-link:hover {
  background: rgba(212, 175, 55, 0.04);
  opacity: 1;
}

.sidebar-dashboard-link svg {
  width: 14px;
  height: 14px;
  stroke: var(--gold);
  flex-shrink: 0;
}

.sidebar-cross-nav {
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(212, 175, 55, 0.08);
}

.sidebar-cross-nav-label {
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.sidebar-cross-nav a {
  display: block;
  padding: 0.4rem 0;
  font-size: 0.75rem;
  color: var(--text-soft);
  transition: color 0.2s;
  letter-spacing: 0.2px;
}

.sidebar-cross-nav a:hover {
  color: var(--gold);
  opacity: 1;
}

/* ============================================
   GLOBAL PROGRESS BAR
   ============================================ */
.global-progress {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(212, 175, 55, 0.08);
  margin-bottom: 0.5rem;
}

.global-progress-label {
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
}

.global-progress-bar {
  width: 100%;
  height: 3px;
  background: rgba(212, 175, 55, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.global-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #E8C44A);
  border-radius: 2px;
  transition: width 0.6s ease;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

/* ============================================
   TOPBAR BACK BUTTON — Enhanced Visibility
   ============================================ */
.topbar-back {
  color: var(--gold);
  font-weight: 500;
}

/* ============================================
   INNER FOOTER — Legal Links
   ============================================ */
.portal-footer-legal {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  font-size: 0.625rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.portal-footer-legal a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.portal-footer-legal a:hover {
  color: var(--gold);
  opacity: 1;
}

/* ============================================
   DAY COMPLETE — Success Feedback
   ============================================ */
.day-complete-feedback {
  display: none;
  text-align: center;
  padding: 1.5rem;
  margin-top: 1rem;
  background: rgba(212, 175, 55, 0.04);
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 2px;
  animation: fadeInUp 0.4s ease-out;
}

.day-complete-feedback-icon {
  margin-bottom: 0.75rem;
}

.day-complete-feedback-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--gold);
}

.day-complete-feedback-text {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  color: var(--ivory);
  font-style: italic;
  margin-bottom: 1rem;
}

.day-complete-feedback-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.day-complete-feedback a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.75rem;
  background: linear-gradient(135deg, var(--gold) 0%, #E8C44A 100%);
  color: #0A0A0A;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border-radius: 2px;
  box-shadow: 0 2px 12px rgba(212, 175, 55, 0.2);
  transition: opacity 0.2s, box-shadow 0.3s;
}

.day-complete-feedback a:hover {
  opacity: 0.92;
  color: #0A0A0A;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.3);
}

.day-complete-feedback a svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    height: calc(100vh - var(--topbar-height));
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  body.sidebar-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  .sidebar-overlay.active {
    display: block;
  }

  .content-main {
    margin-left: 0;
    padding: 2rem 1.5rem 4rem;
  }

  .topbar-hamburger {
    display: block;
  }

  /* Hide desktop logout button — moved inside sidebar menu */
  .topbar-btn {
    display: none;
  }

  .sidebar-logout-btn {
    display: block;
  }
}

/* Sidebar logout button (mobile only) */
.sidebar-logout-btn {
  display: none;
  width: calc(100% - 3rem);
  margin: 1.5rem 1.5rem 1rem;
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid rgba(212, 175, 55, 0.15);
  border-radius: 2px;
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.6875rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.3s, color 0.3s;
}

.sidebar-logout-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

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

/* Mobile */
@media (max-width: 768px) {
  .topbar {
    padding: 0 1rem;
  }

  .topbar-welcome {
    display: none;
  }

  .sidebar-user-email {
    display: block;
  }

  .topbar-section-title {
    font-size: 0.875rem;
  }

  .dashboard-wrapper {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .dashboard-greeting {
    font-size: 1.75rem;
  }

  .dash-hero {
    padding: 4rem 1rem 1.5rem;
  }

  .dash-hero__chapter {
    font-size: 5rem;
  }

  .dash-hero__title {
    font-size: 2.5rem;
  }

  .dash-ticker {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    padding: 1.25rem 1rem;
    max-width: 100%;
  }

  .dash-ticker__item {
    padding: 0 1.5rem;
  }

  .dash-ticker__value {
    font-size: 1.75rem;
  }

  .dash-ticker__divider {
    height: 20px;
  }

  /* Cover */
  .cover {
    height: 85vh;
    min-height: 500px;
  }

  .cover__title {
    font-size: 2.75rem;
    letter-spacing: -1px;
  }

  .cover .featured-card-content {
    padding: 2rem 1.5rem;
  }

  .cover .featured-subtitle {
    font-size: 0.9375rem;
  }

  .cover__scroll-hint { display: none; }

  /* Portal sections */
  .portal-section {
    padding: 3.5rem 0;
  }

  .portal-section__inner {
    padding: 0 1.25rem;
  }

  .portal-section__head {
    margin-bottom: 2rem;
    gap: 0.75rem;
  }

  .portal-section__number {
    font-size: 2.25rem;
  }

  .portal-section__title {
    font-size: 1.5rem;
  }

  /* Editorial pairs → stack */
  .editorial-pair,
  .editorial-pair--reverse {
    grid-template-columns: 1fr;
  }

  .editorial-card--large .editorial-card__img-wrap,
  .editorial-card--small .editorial-card__img-wrap {
    height: 200px;
  }

  .editorial-card__body {
    padding: 1.25rem 1.5rem 1.5rem;
  }

  .editorial-card__title {
    font-size: 1.4rem;
  }

  /* Portal quote */
  .portal-quote {
    padding: 4rem 1.5rem;
  }

  .portal-quote blockquote {
    font-size: 1.75rem;
  }

  .portal-quote__mark {
    font-size: 4rem;
    top: -2rem;
    left: -0.5rem;
  }

  /* Legacy */
  .featured-card {
    min-height: 320px;
    margin-top: 1rem;
  }

  .featured-title {
    font-size: 1.75rem;
  }

  .featured-card-content {
    padding: 1.75rem 1.25rem;
  }

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

  .bonus-card-img {
    height: 180px;
  }

  .dash-stats {
    gap: 2rem;
  }

  .dash-stat__number {
    font-size: 1.75rem;
  }

  .dash-quote blockquote {
    font-size: 1.5rem;
  }

  .content-main {
    padding: 1.5rem 1rem 3rem;
  }

  .breadcrumbs {
    font-size: 0.6875rem;
    gap: 0.35rem;
    margin-bottom: 1.25rem;
  }

  .global-progress {
    padding: 0.75rem 1.25rem;
  }

  .sidebar-cross-nav {
    padding: 0.75rem 1.25rem;
  }

  .day-number {
    font-size: 5rem;
  }

  .day-title {
    font-size: 1.75rem;
  }

  .day-header {
    padding: 3rem 1rem 2.5rem;
    margin-bottom: 2.5rem;
  }

  .content-section {
    padding: 1.5rem;
  }

  .motivation-box {
    padding: 2rem 1.5rem;
  }

  .motivation-text {
    font-size: 1.25rem;
  }

  .login-brand {
    font-size: 1.25rem;
  }

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

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

  .tracking-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }

  .tracking-label {
    min-width: auto;
  }

  .step-item {
    gap: 0.75rem;
  }

  .step-number {
    width: 30px;
    height: 30px;
    min-width: 30px;
    font-size: 1rem;
  }

  .section-title-big {
    font-size: 1.5rem;
  }

  .dash-atmosphere__orb--1 { width: 350px; height: 350px; }
  .dash-atmosphere__orb--2 { width: 250px; height: 250px; }
  .dash-atmosphere__orb--3 { display: none; }
}

/* Paywall responsive */
@media (max-width: 768px) {
  .paywall-card {
    padding: 2.5rem 1.5rem;
    margin: 0 1rem;
  }

  .paywall-title {
    font-size: 1.25rem;
  }
}

/* Small phones */
@media (max-width: 380px) {
  .login-card {
    padding: 2.5rem 1.5rem;
  }

  .featured-card {
    min-height: 300px;
  }

  .featured-title {
    font-size: 1.5rem;
  }

  .featured-card-content {
    padding: 1.5rem 1.25rem;
  }

  .bonus-card-img {
    height: 150px;
  }

  .day-number {
    font-size: 4rem;
  }

  .dash-hero__title {
    font-size: 2.25rem;
  }
}

/* ============================================
   LEAD MAGNET PORTAL — Locked Cards + Free Progress
   ============================================ */

/* Locked dash-card (dimmed, desaturated) */
.dash-card.locked {
  opacity: 0.55;
  filter: saturate(0.7);
  cursor: pointer;
}

.dash-card.locked:hover {
  opacity: 0.7;
  filter: saturate(0.85);
}

/* Contextual CTA teaser inside locked cards */
.locked-cta-teaser {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.locked-cta-text {
  font-style: italic;
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.locked-cta-action {
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Free read badge on dashboard cards */
.free-read-badge {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
}

/* Locked day-card in protokoll.html hub */
.day-card.locked {
  opacity: 0.45;
  cursor: pointer;
}

.day-card.locked:hover {
  opacity: 0.55;
  transform: none;
  box-shadow: none;
  border-color: var(--border-subtle);
}

.day-card.locked .day-card-arrow {
  display: none;
}

/* Locked sidebar links in protokoll-tag1.html */
.sidebar-nav a.sidebar-locked {
  opacity: 0.4;
  pointer-events: none;
}

/* Upgrade CTA section (Tag 1 bottom) */
.upgrade-cta-section {
  background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, rgba(212,175,55,0.03) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  text-align: center;
  margin: 2rem 0;
}

.upgrade-cta-section h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.75rem;
}

.upgrade-cta-section p {
  font-size: 0.9375rem;
  color: var(--text-soft);
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.upgrade-cta-section a {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, #E8C44A 100%);
  color: #121212;
  padding: 0.75rem 2rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.upgrade-cta-section a:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
  opacity: 1;
}

/* Free content complete — conversion CTA on dashboard */
.free-complete-cta {
  margin-top: 1.5rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(212,175,55,0.12) 0%, rgba(212,175,55,0.04) 100%);
  border: 1px solid var(--border-gold);
  border-radius: 12px;
  text-align: center;
  animation: fadeInUp 0.6s ease-out;
}

.free-complete-cta-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--ivory);
  line-height: 1.5;
  margin-bottom: 1rem;
}

.free-complete-cta-btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, #E8C44A 100%);
  color: #121212;
  padding: 0.75rem 2rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}

.free-complete-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(212,175,55,0.3);
  opacity: 1;
}
