/* ===== SSBForge — Core Stylesheet ===== */
/* Aesthetic: Military Prestige — Dark forest + gold, editorial serif */

:root {
  --dark: #0e1511;
  --dark-2: #151d18;
  --dark-3: #1e2922;
  --mid: #2d3d32;
  --gold: #C9A84C;
  --gold-light: #e3c46f;
  --gold-dim: rgba(201,168,76,0.2);
  --cream: #f5f0e8;
  --cream-dim: rgba(245,240,232,0.7);
  --text: #e8e2d5;
  --text-muted: rgba(232,226,213,0.55);
  --red-accent: #b03030;
  --success: #3a7d44;
  --border: rgba(201,168,76,0.18);
  --border-strong: rgba(201,168,76,0.35);
  --radius: 4px;
  --radius-lg: 8px;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Barlow', 'Segoe UI', sans-serif;
  --font-cond: 'Barlow Condensed', sans-serif;
  --transition: 0.22s ease;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--dark);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-light); }

/* ===== NAV ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(14,21,17,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition);
}
.nav-inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem; height: 60px;
}
.logo {
  font-family: var(--font-cond); font-size: 22px; font-weight: 700;
  color: var(--cream); letter-spacing: 2px; text-transform: uppercase;
}
.logo span { color: var(--gold); }
.nav-links { display: flex; align-items: center; gap: 0.5rem; }
.nav-links a {
  font-family: var(--font-cond); font-size: 13px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--text-muted);
  padding: 0.4rem 0.9rem; border-radius: var(--radius);
  transition: color var(--transition), background var(--transition);
}
.nav-links a:hover { color: var(--gold); }
#loginBtn {
  background: var(--gold-dim); border: 1px solid var(--border-strong);
  color: var(--gold) !important;
}
#loginBtn:hover { background: rgba(201,168,76,0.35); }
.hamburger {
  display: none; background: none; border: none; color: var(--text);
  font-size: 22px; cursor: pointer;
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background:
    linear-gradient(160deg, rgba(14,21,17,0.85) 0%, rgba(14,21,17,0.6) 50%, rgba(14,21,17,0.9) 100%),
    url('https://images.unsplash.com/photo-1579702493516-cb15f849cafc?w=1600&q=80') center/cover no-repeat;
  display: flex; align-items: center;
  padding: 80px 2rem 4rem;
  position: relative; overflow: hidden;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.06) 0%, transparent 60%);
  pointer-events: none;
}
.hero-content {
  max-width: 1200px; margin: 0 auto; width: 100%;
  display: flex; flex-direction: column; gap: 1.5rem;
  position: relative; z-index: 2;
}
.badge-strip {
  font-family: var(--font-cond); font-size: 11px; letter-spacing: 3px;
  color: var(--gold); text-transform: uppercase;
  border: 1px solid var(--border-strong); display: inline-block;
  padding: 0.3rem 0.8rem; border-radius: var(--radius);
  width: fit-content;
}
.hero-title {
  font-family: var(--font-serif); font-size: clamp(52px, 8vw, 96px);
  font-weight: 900; line-height: 0.95; color: var(--cream);
}
.hero-title .gold { color: var(--gold); font-style: italic; }
.hero-sub {
  font-family: var(--font-cond); font-size: 18px; letter-spacing: 1px;
  color: var(--text-muted); text-transform: uppercase;
}
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary {
  background: var(--gold); color: var(--dark);
  font-family: var(--font-cond); font-weight: 700; font-size: 14px;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0.85rem 2rem; border-radius: var(--radius);
  border: none; cursor: pointer; transition: all var(--transition);
  display: inline-block;
}
.btn-primary:hover { background: var(--gold-light); color: var(--dark); transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--gold);
  font-family: var(--font-cond); font-weight: 600; font-size: 14px;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0.85rem 2rem; border-radius: var(--radius);
  border: 1px solid var(--border-strong); cursor: pointer;
  transition: all var(--transition); display: inline-block;
}
.btn-outline:hover { background: var(--gold-dim); }
.hero-scroll-hint {
  font-family: var(--font-cond); font-size: 11px; letter-spacing: 2px;
  color: var(--text-muted); animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}
.hero-emblem {
  position: absolute; right: 4vw; top: 50%; transform: translateY(-50%);
  width: clamp(120px, 15vw, 220px); opacity: 0.5;
  animation: slowRotate 40s linear infinite;
}
@keyframes slowRotate { from { transform: translateY(-50%) rotate(0deg); } to { transform: translateY(-50%) rotate(360deg); } }
.hero-emblem img { width: 100%; height: auto; display: block; transition: opacity 0.22s ease, transform 0.22s ease; }
.medal-emblem img { animation: medalZoom 4.2s ease-in-out infinite; transform-origin: center; }
@keyframes medalZoom { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
.medal-emblem.is-changing img { opacity: 0; transform: scale(0.96); animation-play-state: paused; }
.medal-emblem { animation: none; opacity: 0.9; cursor: help; }
.medal-info-card {
  position: absolute; right: 0; top: calc(100% + 1rem); width: min(300px, 78vw);
  background: rgba(21,29,24,0.96); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 1rem 1.1rem;
  opacity: 0; transform: translateY(-6px); pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  box-shadow: 0 18px 45px rgba(0,0,0,0.35);
}
.medal-info-card span {
  display: block; font-family: var(--font-cond); color: var(--gold);
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 0.35rem;
}
.medal-info-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.medal-emblem:hover .medal-info-card,
.medal-emblem:focus .medal-info-card,
.medal-emblem:focus-within .medal-info-card { opacity: 1; transform: translateY(0); }

/* ===== TICKER ===== */
.ticker-wrap {
  background: var(--dark-3); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 0.9rem 0;
}
.ticker {
  display: inline-flex; gap: 3rem; white-space: nowrap;
  animation: tickerScroll 50s linear infinite;
  font-family: var(--font-cond); font-size: 14px; letter-spacing: 0.5px;
  color: var(--text-muted);
}
.ticker span.sep { color: var(--gold); }
@keyframes tickerScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ===== SECTIONS ===== */
.section-header { text-align: center; margin-bottom: 3rem; }
.section-label {
  font-family: var(--font-cond); font-size: 11px; letter-spacing: 3px;
  color: var(--gold); text-transform: uppercase; display: block; margin-bottom: 0.5rem;
}
.section-header h2 {
  font-family: var(--font-serif); font-size: clamp(28px, 4vw, 44px); font-weight: 700;
  color: var(--cream); margin-bottom: 0.75rem;
}
.section-header p { color: var(--text-muted); font-size: 16px; max-width: 540px; margin: 0 auto; }

/* ===== MODULES GRID ===== */
.modules-section { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; }
.modules-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}
.module-card {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column; gap: 0.6rem;
  transition: all var(--transition); cursor: pointer;
  position: relative; overflow: hidden; color: var(--text);
}
.module-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.35s ease;
}
.module-card:hover { border-color: var(--border-strong); transform: translateY(-3px); color: var(--text); }
.module-card:hover::before { transform: scaleX(1); }
.module-icon { font-size: 28px; margin-bottom: 0.25rem; }
.module-card h3 {
  font-family: var(--font-cond); font-size: 28px; font-weight: 700;
  color: var(--gold); letter-spacing: 1px;
}
.module-full { font-family: var(--font-cond); font-size: 13px; color: var(--text-muted); letter-spacing: 0.5px; }
.module-desc { font-size: 14px; color: var(--text-muted); line-height: 1.5; flex: 1; }
.module-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: auto; }
.tag {
  font-family: var(--font-cond); font-size: 11px; letter-spacing: 1px;
  background: var(--dark-3); border: 1px solid var(--border);
  padding: 0.2rem 0.6rem; border-radius: 2px; color: var(--text-muted); text-transform: uppercase;
}
.module-cta {
  font-family: var(--font-cond); font-size: 13px; font-weight: 600;
  color: var(--gold); letter-spacing: 1px; margin-top: 0.5rem;
}
.module-news { border-style: dashed; }

/* ===== QUOTES SECTION ===== */
.quotes-section { padding: 4rem 2rem; background: var(--dark-2); }
.quotes-mosaic {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 1.5rem;
}
.quote-tile {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 2rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 200px;
}
.quote-tile.large { grid-column: span 2; }
.quote-tile blockquote {
  font-family: var(--font-serif); font-size: 18px; font-style: italic;
  color: var(--cream); line-height: 1.6; margin-bottom: 1rem;
}
.quote-tile cite { font-size: 12px; color: var(--gold); letter-spacing: 1px; font-style: normal; }
.quote-tile.img-tile {
  background-size: cover; background-position: center;
  position: relative; min-height: 240px; padding: 0;
  overflow: hidden;
}
.img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(14,21,17,0.85) 0%, transparent 60%);
  display: flex; align-items: flex-end; padding: 1.5rem;
}
.img-overlay span {
  font-family: var(--font-cond); font-size: 20px; font-weight: 700;
  color: var(--gold); letter-spacing: 2px; text-transform: uppercase;
}
.quote-tile.accent {
  background: var(--gold-dim); border-color: var(--border-strong);
  justify-content: center; align-items: center; text-align: center;
}
.quote-tile.accent .big-stat {
  font-family: var(--font-cond); font-size: 56px; font-weight: 700;
  color: var(--gold); letter-spacing: 3px; line-height: 1;
  margin-bottom: 0.75rem;
}
.quote-tile.accent p { color: var(--text-muted); font-size: 14px; max-width: 220px; }

/* ===== PREMIUM TEASER ===== */
.premium-teaser {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-3) 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.pt-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 4rem; align-items: center;
}
.pt-text h2 {
  font-family: var(--font-serif); font-size: clamp(24px, 3vw, 38px); font-weight: 700;
  color: var(--cream); margin: 0.5rem 0 1rem;
}
.pt-text p { color: var(--text-muted); font-size: 16px; margin-bottom: 1.5rem; max-width: 520px; }
.pt-features { list-style: none; margin-bottom: 2rem; display: flex; flex-direction: column; gap: 0.6rem; }
.pt-features li { font-size: 14px; color: var(--text-muted); }
.pt-features li::first-letter { color: var(--success); }
.pt-price-card {
  background: var(--dark-2); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 2.5rem;
  text-align: center; min-width: 180px;
}
.price-badge {
  font-family: var(--font-cond); font-size: 11px; letter-spacing: 3px;
  color: var(--gold); margin-bottom: 1rem; text-transform: uppercase;
}
.price-num {
  font-family: var(--font-serif); font-size: 56px; font-weight: 900;
  color: var(--gold); line-height: 1;
}
.price-period { font-size: 14px; color: var(--text-muted); margin: 0.5rem 0; }
.price-value {
  font-family: var(--font-cond); font-size: 12px; color: var(--success);
  letter-spacing: 0.5px; border: 1px solid var(--success);
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: var(--radius);
  margin-top: 0.5rem;
}

/* ===== FOOTER ===== */
.site-footer {
  background: var(--dark-2); border-top: 1px solid var(--border);
  padding: 3rem 2rem; text-align: center;
}
.footer-inner { max-width: 600px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-logo {
  font-family: var(--font-cond); font-size: 24px; font-weight: 700;
  color: var(--cream); letter-spacing: 2px;
}
.footer-logo span { color: var(--gold); }
.footer-tagline { color: var(--text-muted); font-size: 14px; }
.footer-note { color: var(--text-muted); font-size: 12px; }
.footer-links { font-size: 13px; }
.footer-copy { font-size: 12px; color: var(--text-muted); }

/* ===== MODAL ===== */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
  display: none; align-items: center; justify-content: center; padding: 1rem;
}
.modal-overlay.active { display: flex; }
.modal {
  background: var(--dark-2); border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg); padding: 2.5rem;
  width: 100%; max-width: 400px; position: relative;
  display: flex; flex-direction: column; gap: 1rem;
}
.modal-close {
  position: absolute; top: 1rem; right: 1rem;
  background: none; border: none; color: var(--text-muted);
  font-size: 18px; cursor: pointer;
}
.modal h2 { font-family: var(--font-serif); color: var(--cream); font-size: 24px; }
.modal p { color: var(--text-muted); font-size: 14px; }
.modal-input {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.75rem 1rem;
  color: var(--text); font-size: 15px; font-family: var(--font-sans);
  width: 100%; outline: none;
  transition: border-color var(--transition);
}
.modal-input:focus { border-color: var(--border-strong); }
.modal-divider {
  text-align: center; font-size: 12px; color: var(--text-muted);
  position: relative;
}
.modal-divider::before, .modal-divider::after {
  content: ''; position: absolute; top: 50%; width: 40%; height: 1px;
  background: var(--border);
}
.modal-divider::before { left: 0; }
.modal-divider::after { right: 0; }
.full-width { width: 100%; text-align: center; }
.modal-footer-text { font-size: 12px; color: var(--text-muted); text-align: center; }

/* ===== PRACTICE PAGE ===== */
.practice-page { padding: 80px 0 0; min-height: 100vh; }
.practice-header {
  background: var(--dark-2); border-bottom: 1px solid var(--border);
  padding: 2rem 2rem 0;
}
.practice-header-inner { max-width: 1100px; margin: 0 auto; }
.practice-header h1 { font-family: var(--font-serif); font-size: 32px; color: var(--cream); }
.module-tabs {
  display: flex; gap: 0; margin-top: 1.5rem; overflow-x: auto;
  border-top: 1px solid var(--border); padding-top: 0;
}
.module-tab {
  font-family: var(--font-cond); font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0.85rem 1.5rem; border-bottom: 2px solid transparent;
  color: var(--text-muted); cursor: pointer; white-space: nowrap;
  transition: all var(--transition); background: none; border-left: none; border-right: none; border-top: none;
}
.module-tab:hover { color: var(--text); }
.module-tab.active { color: var(--gold); border-bottom-color: var(--gold); }
.practice-notice-ticker {
  background: var(--dark-3); border-bottom: 1px solid var(--border);
  overflow: hidden; padding: 0.75rem 0;
}
.practice-notice-track {
  display: inline-flex; gap: 2rem; white-space: nowrap;
  animation: tickerScroll 32s linear infinite;
  font-family: var(--font-cond); font-size: 13px; letter-spacing: 1.5px;
  color: var(--gold); text-transform: uppercase;
}
.practice-notice-track .sep { color: var(--text-muted); }

.practice-body {
  max-width: 1100px; margin: 0 auto; padding: 2rem;
  display: grid; grid-template-columns: 1fr 320px; gap: 2rem;
}

/* Slideshow */
.slideshow-area { display: flex; flex-direction: column; gap: 1.5rem; }
.slideshow-card {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  min-height: 420px; display: flex; flex-direction: column;
}
.slideshow-card img {
  width: 100%; max-height: 380px; object-fit: contain;
  background: #111; display: block;
}
.slide-text-content {
  padding: 2.5rem; display: flex; align-items: center; justify-content: center;
  flex: 1;
}
.slide-word {
  font-family: var(--font-serif); font-size: clamp(56px, 8vw, 100px);
  font-weight: 900; color: var(--cream); text-align: center; letter-spacing: 2px;
}
.slide-topic {
  font-family: var(--font-serif); font-size: clamp(28px, 4vw, 44px);
  font-weight: 700; color: var(--cream); text-align: center; line-height: 1.2;
}
.slide-progress-bar-wrap {
  height: 3px; background: var(--dark-3);
}
.slide-progress-bar {
  height: 3px; background: var(--gold); transition: width 1s linear;
}
.slideshow-controls {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.ctrl-btn {
  background: var(--dark-2); border: 1px solid var(--border);
  color: var(--text); padding: 0.65rem 1.25rem;
  border-radius: var(--radius); cursor: pointer; font-family: var(--font-cond);
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  transition: all var(--transition);
}
.ctrl-btn:hover { border-color: var(--border-strong); color: var(--gold); }
.ctrl-btn.primary { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.ctrl-btn.primary:hover { background: var(--gold-light); }
.slide-counter { font-family: var(--font-cond); font-size: 13px; color: var(--text-muted); margin-left: auto; }
.auto-toggle { display: flex; align-items: center; gap: 0.5rem; font-size: 13px; color: var(--text-muted); cursor: pointer; }
.auto-toggle input { accent-color: var(--gold); }

/* Timer */
.timer-panel {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 1.25rem;
  position: static; height: fit-content;
}
.timer-label {
  font-family: var(--font-cond); font-size: 11px; letter-spacing: 2px;
  color: var(--text-muted); text-transform: uppercase;
}
.timer-display {
  font-family: var(--font-serif); font-size: 64px; font-weight: 700;
  color: var(--cream); text-align: center; line-height: 1;
  letter-spacing: 2px;
}
.timer-display.danger { color: #e05252; animation: pulse 0.6s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.timer-bar { height: 4px; background: var(--dark-3); border-radius: 2px; overflow: hidden; }
.timer-bar-fill { height: 100%; background: var(--gold); transition: width 1s linear; border-radius: 2px; }
.timer-info { font-size: 13px; color: var(--text-muted); text-align: center; line-height: 1.4; }
.timer-controls { display: flex; gap: 0.5rem; }
.timer-controls button { flex: 1; }

/* Sidebar content list */
.content-sidebar { display: flex; flex-direction: column; gap: 1rem; }
.content-list-panel { display: flex; flex-direction: column; }
.content-list-panel .premium-lock-notice { flex-shrink: 0; }
.content-list {
  display: flex; flex-direction: column; gap: 0.4rem;
  max-height: min(60vh, 560px); overflow-y: auto; padding-right: 0.35rem;
  scrollbar-color: var(--border-strong) transparent;
}
.content-list::-webkit-scrollbar { width: 8px; }
.content-list::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 999px; }
.content-list::-webkit-scrollbar-track { background: transparent; }
.sidebar-section-title {
  font-family: var(--font-cond); font-size: 11px; letter-spacing: 2px;
  color: var(--text-muted); text-transform: uppercase;
}

.content-item {
  background: var(--dark-3); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 0.6rem 0.9rem;
  font-size: 13px; color: var(--text-muted); cursor: pointer;
  transition: all var(--transition); display: flex; justify-content: space-between; align-items: center;
}
.content-item:hover { color: var(--text); border-color: var(--border-strong); }
.content-item.current { color: var(--gold); border-color: var(--border-strong); background: var(--gold-dim); }
.item-lock { color: var(--gold); font-size: 12px; }
.premium-lock-notice {
  background: var(--gold-dim); border: 1px solid var(--border-strong);
  border-radius: var(--radius); padding: 1rem;
  font-size: 13px; color: var(--text); text-align: center; line-height: 1.5;
}
.premium-lock-notice a { color: var(--gold); font-weight: 600; }




/* ===== CURRENT AFFAIRS PAGE ===== */
.current-affairs-page { padding-top: 60px; min-height: 100vh; }
.ca-hero {
  background: linear-gradient(160deg, var(--dark) 0%, var(--dark-3) 100%);
  border-bottom: 1px solid var(--border); padding: 3rem 2rem 2.5rem; text-align: center;
}
.ca-hero h1 { font-family: var(--font-serif); font-size: clamp(32px, 6vw, 72px); color: var(--cream); margin: 0.35rem 0 0.75rem; line-height: 1; }
.ca-hero p { color: var(--text-muted); max-width: 650px; margin: 0 auto; font-size: 18px; }
.ca-disclaimer {
  background: rgba(201,168,76,0.08); border-bottom: 1px solid var(--border);
  color: var(--text-muted); font-size: 13px; line-height: 1.6; text-align: center;
  padding: 0.75rem 2rem;
}
.ca-category-bar { background: var(--dark-2); border-bottom: 1px solid var(--border); overflow-x: auto; padding: 0 1rem; }
.ca-category-tabs { display: inline-flex; min-width: max-content; gap: 0; }
.ca-shell { max-width: 1100px; margin: 0 auto;padding: 1.25rem 2rem 6rem; width: 100%;}
.ca-day-frame { max-width: 1100px; margin: 0 auto; }
.ca-date-controls { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; }
.ca-day-stack-wrap { min-width: 0; }
.ca-day-meta { font-family: var(--font-cond); color: var(--text-muted); letter-spacing: 2px; text-transform: uppercase; font-size: 13px; margin: 0 auto 1rem; max-width: 1280px; }
.ca-day-stack { display: flex; flex-direction: column; gap: 2rem; }
.ca-loading, .ca-empty, .ca-empty-inline { text-align: center; padding: 3rem; color: var(--text-muted); }
.ca-news-card {
  width: 100%; margin: 0 auto; background: var(--dark-2);
  border: 1px solid var(--border); border-top: 4px solid var(--ca-accent, var(--gold));
  border-radius: var(--radius-lg); padding: clamp(1.5rem, 3vw, 2rem);
}
.ca-card-meta { display: flex; align-items: center; gap: 1.25rem; margin-bottom: 1.2rem; }
.ca-card-meta span { font-family: var(--font-cond); font-size: 12px; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; }
.ca-card-meta span + span { color: var(--ca-accent, var(--gold)); }
.ca-news-card h2 { font-family: var(--font-serif); font-size: clamp(20px, 3vw, 34px); color: var(--cream); line-height: 1.2; margin-bottom: 1rem; }
.ca-news-card p { color: var(--text-muted); font-size: 14px; line-height: 1.9; }
.ca-gd-angle {
  background: var(--dark-3); border-left: 2px solid var(--gold);
  padding: 0.75rem 1rem; border-radius: 0 var(--radius) var(--radius) 0;
  margin-top: 1.1rem;
}
.ca-gd-angle div {
  font-family: var(--font-cond); font-size: 11px; letter-spacing: 2px;
  color: var(--gold); margin-bottom: 0.4rem;
}
.ca-gd-angle p { font-size: 13px; line-height: 1.6; margin: 0; }
.ca-jump-control { display: flex; flex-direction: column; gap: 0.35rem; min-width: 190px; }
.ca-jump-control label { font-family: var(--font-cond); font-size: 11px; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; }
.ca-jump-control select {
  background: var(--dark-2); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius); padding: 0.65rem 0.75rem; font-family: var(--font-cond);
  font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
}
.mind-premium-zone { margin-top: 1.5rem; }
@media (max-width: 650px) {
  .ca-shell { padding: 2rem 1rem 4rem; }
  .ca-date-controls { align-items: stretch; flex-direction: column; }
  .ca-jump-control { min-width: 0; }
}

/* ===== PREMIUM GATE ===== */
.premium-preview-zone {
  position: relative;
  --premium-preview-height: 760px;
  --premium-gate-start: 36%;
}
.premium-preview-locked .premium-preview-zone {
  max-height: var(--premium-preview-height); overflow: hidden;
}
.premium-preview-locked .premium-preview-zone > :not(.premium-preview-overlay) {
  pointer-events: none; user-select: none;
}
.premium-preview-overlay {
  position: absolute; inset: var(--premium-gate-start) 0 0; z-index: 5;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(8px);
  background:
    linear-gradient(to bottom, rgba(14,21,17,0) 0%, rgba(245,240,232,0.74) 30%, rgba(245,240,232,0.9) 58%, rgba(14,21,17,0.92) 100%);
}
.premium-preview-card {
  width: min(620px, 100%); background: rgba(245,240,232,0.96);
  border: 1px solid rgba(14,21,17,0.12); border-radius: var(--radius-lg);
  padding: 1.5rem 2rem; text-align: center; box-shadow: 0 18px 55px rgba(0,0,0,0.22);
  color: var(--dark);
}
.premium-preview-card .section-label { color: var(--success); }
.premium-preview-card h2 {
  font-family: var(--font-serif); font-size: clamp(26px, 4vw, 40px);
  color: var(--dark); margin: 0.45rem 0 0.65rem;
}
.premium-preview-card p { color: rgba(14,21,17,0.68); max-width: 470px; margin: 0 auto; }
.premium-gate-actions { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; margin-top: 1.5rem; }
.current-affairs-page .premium-preview-zone,
.mind-forge-page .premium-preview-zone {
  --premium-preview-height: 820px;
  --premium-gate-start: 42%;
}

/* ===== MIND FORGE PAGE ===== */
.mind-forge-page { padding: 80px 0 0; min-height: 100vh; }
.mind-hero {
  background:
    linear-gradient(140deg, rgba(14,21,17,0.92) 0%, rgba(30,41,34,0.82) 58%, rgba(82,34,34,0.72) 100%),
    url('https://images.unsplash.com/photo-1456513080510-7bf3a84b82f8?w=1600&q=80') center/cover no-repeat;
  border-bottom: 1px solid var(--border);
  padding: 4.5rem 2rem 3.5rem;
}
.mind-hero-inner { max-width: 1050px; margin: 0 auto; }
.mind-hero h1 {
  font-family: var(--font-serif); font-size: clamp(40px, 7vw, 82px);
  line-height: 0.98; color: var(--cream); margin: 0.65rem 0 1rem;
}
.mind-hero p { max-width: 650px; color: var(--cream-dim); font-size: 18px; }
.mind-shell { max-width: 1050px; margin: 0 auto; padding: 2.5rem 2rem 5rem; }
.mind-section-head { display: flex; justify-content: space-between; gap: 1.5rem; align-items: end; margin-bottom: 1.5rem; }
.mind-section-head h2 { font-family: var(--font-serif); color: var(--cream); font-size: clamp(28px, 4vw, 42px); }
.mind-section-head p { color: var(--text-muted); max-width: 460px; }
.mind-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; align-items: start; }
.forge-feature,
.forge-card,
.forge-note {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
}
.forge-feature { min-height: 100%; }
.forge-kicker {
  font-family: var(--font-cond); font-size: 11px; letter-spacing: 2px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 0.75rem;
}
.forge-feature blockquote {
  font-family: var(--font-serif); font-size: clamp(26px, 4vw, 42px);
  line-height: 1.18; color: var(--cream); margin-bottom: 1rem;
}
.forge-source { color: var(--text-muted); font-size: 14px; }
.forge-stack { display: flex; flex-direction: column; gap: 1rem; }
.forge-card h3 { font-family: var(--font-cond); color: var(--gold); letter-spacing: 1px; text-transform: uppercase; margin-bottom: 0.5rem; }
.forge-card p,
.forge-note p { color: var(--text-muted); font-size: 14px; }
.forge-pill-row { display: flex; flex-wrap: wrap; gap: 0.55rem; margin-top: 1rem; }
.forge-pill {
  border: 1px solid var(--border); color: var(--cream-dim);
  border-radius: var(--radius); padding: 0.35rem 0.65rem;
  font-family: var(--font-cond); font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
}
.forge-library { margin-top: 2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.forge-note { display: flex; flex-direction: column; gap: 0.75rem; }
.forge-note .source { color: var(--gold); font-family: var(--font-cond); letter-spacing: 1px; text-transform: uppercase; font-size: 12px; }
.forge-note h3 { font-family: var(--font-serif); color: var(--cream); font-size: 22px; line-height: 1.2; }
.forge-note .theme { color: var(--text-muted); font-size: 13px; margin-top: auto; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.forge-editor-note {
  margin-top: 2rem; border: 1px dashed var(--border-strong);
  background: rgba(201,168,76,0.08); border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem; color: var(--text-muted); font-size: 14px;
}
@media (max-width: 900px) {
  .mind-grid, .forge-library { grid-template-columns: 1fr; }
  .mind-section-head { display: block; }
  .mind-section-head p { margin-top: 0.75rem; }
}

/* ===== NEWSPAPER PAGE ===== */
.newspaper-page { padding: 80px 2rem 4rem; max-width: 1100px; margin: 0 auto; }
.newspaper-header { padding: 2rem 0 3rem; text-align: center; }
.newspaper-header h1 { font-family: var(--font-serif); font-size: 40px; color: var(--cream); margin-bottom: 0.5rem; }
.newspaper-header p { color: var(--text-muted); }
.newspaper-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem; }
.newspaper-card {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.5rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  transition: all var(--transition);
}
.newspaper-card:hover { border-color: var(--border-strong); }
.np-date {
  font-family: var(--font-cond); font-size: 11px; letter-spacing: 2px;
  color: var(--gold); text-transform: uppercase;
}
.np-title { font-family: var(--font-serif); font-size: 18px; color: var(--cream); }
.np-open {
  background: var(--gold); color: var(--dark);
  font-family: var(--font-cond); font-weight: 700; font-size: 13px;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 0.6rem 1rem; border-radius: var(--radius); text-align: center;
  display: block; border: none; cursor: pointer; transition: background var(--transition); margin-top: auto;
}
.np-open:hover { background: var(--gold-light); color: var(--dark); }
.np-loading { text-align: center; padding: 3rem; color: var(--text-muted); }

/* ===== PREMIUM PAGE ===== */
.premium-page { padding: 80px 2rem 4rem; max-width: 900px; margin: 0 auto; }
.premium-hero { text-align: center; padding: 4rem 0; }
.premium-hero h1 { font-family: var(--font-serif); font-size: clamp(32px, 5vw, 56px); font-weight: 900; color: var(--cream); }
.premium-hero .price { font-family: var(--font-serif); font-size: 80px; font-weight: 900; color: var(--gold); line-height: 1; margin: 1rem 0; }
.premium-hero .price sup { font-size: 36px; vertical-align: top; margin-top: 16px; }
.premium-hero .price-note { color: var(--text-muted); font-size: 14px; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem; margin: 3rem 0;
}
.feature-item {
  background: var(--dark-2); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 1.75rem;
}
.feature-item .fi-icon { font-size: 28px; margin-bottom: 0.75rem; }
.feature-item h3 { font-family: var(--font-cond); font-size: 18px; color: var(--gold); margin-bottom: 0.5rem; letter-spacing: 0.5px; }
.feature-item p { font-size: 14px; color: var(--text-muted); }
.payment-section { text-align: center; padding: 3rem 0; }
.payment-section h2 { font-family: var(--font-serif); font-size: 28px; color: var(--cream); margin-bottom: 0.5rem; }
.payment-section p { color: var(--text-muted); margin-bottom: 2rem; }
#razorpayBtn {
  font-size: 18px; padding: 1.1rem 3rem; border-radius: var(--radius); letter-spacing: 1px;
}
.payment-logos { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1.5rem; opacity: 0.6; }
.payment-logos span {
  font-family: var(--font-cond); font-size: 12px; letter-spacing: 1px;
  border: 1px solid var(--border); padding: 0.3rem 0.8rem; border-radius: var(--radius);
  color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .practice-body { grid-template-columns: 1fr; }
  .timer-panel { position: static; }
  .quotes-mosaic { grid-template-columns: repeat(2, 1fr); }
  .quote-tile.large { grid-column: span 2; }
  .pt-inner { grid-template-columns: 1fr; text-align: center; }
  .pt-price-card { margin: 0 auto; }
  .hero-emblem { display: none; }
}
@media (max-width: 600px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 60px; left: 0; right: 0; background: var(--dark-2); border-bottom: 1px solid var(--border); padding: 1rem; }
  .nav-links.open { display: flex; }
  .hamburger { display: block; }
  .quotes-mosaic { grid-template-columns: 1fr; }
  .quote-tile.large { grid-column: auto; }
  .modules-grid { grid-template-columns: 1fr; }
}

/* ===== UTILITIES ===== */
.hidden { display: none !important; }
.text-gold { color: var(--gold); }
.text-muted { color: var(--text-muted); }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.alert {
  padding: 0.85rem 1.25rem; border-radius: var(--radius); font-size: 14px;
  border: 1px solid; margin: 0.5rem 0;
}
.alert-success { background: rgba(58,125,68,0.15); border-color: var(--success); color: #7dca89; }
.alert-error { background: rgba(176,48,48,0.15); border-color: var(--red-accent); color: #e07070; }
