/* ═══════════════════════════════════════════════════════════════
   HASHTAG SURAKSHA — HOME PAGE STYLES
   Design system: Plus Jakarta Sans | Blue/Cyan/Amber palette
   ═══════════════════════════════════════════════════════════════ */

/* ── SHARED UTILITIES ─────────────────────────────────────────── */

@import url("https://fonts.googleapis.com/css2?family=Bangers&display=swap");

.center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--primary);
  background: rgba(0, 122, 255, 0.1);
  border: 1px solid rgba(0, 122, 255, 0.2);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
}

.section-tag.learn-test-become{ margin-bottom: 0px !important;}

[data-theme="light"] .section-tag {
  color: #1d4ed8;
  background: rgba(29, 78, 216, 0.07);
  border-color: rgba(29, 78, 216, 0.15);
}

.section-sub {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.7;
}

.section-header {
  margin-bottom: 0px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 12px 0 16px;
  line-height: 1.2;
}

/* ── BUTTONS ──────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary) !important;
  color: #fff !important;
  padding: 14px 28px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.88;
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-primary) !important;
  padding: 13px 28px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary) !important;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary) !important;
  font-family: var(--font-ui);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.btn-ghost:hover {
  color: var(--text-primary) !important;
}

/* ── NAV — LOGO-WHITE SURFACE ─────────────────────────────────── */
[data-theme="light"] .nav {
  background:
    linear-gradient(135deg, rgba(255, 250, 241, 0.98) 0%, rgba(255, 255, 255, 0.98) 58%, rgba(240, 253, 244, 0.96) 100%) !important;
  border-bottom: 1px solid rgba(15, 23, 42, 0.12) !important;
  backdrop-filter: blur(20px) !important;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.nav-cta {
  display: inline-block;
  /* background: #1D4ED8 !important; */
  color: #fff !important;
  padding: 9px 18px;
  border-radius: 8px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}

[data-theme="dark"] .nav-cta {
  /* background: #1E1B4B !important; */
}

.nav-cta:hover {
  opacity: 0.85;
}

/* .hamburger {
  display: none;
  background: none;
  color: var(--text-primary);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 16px;
  cursor: pointer;
} */

.mobile-menu {
  display: none;
  flex-direction: column;
  background: linear-gradient(135deg, rgba(255, 250, 241, 0.99) 0%, rgba(255, 255, 255, 0.99) 58%, rgba(240, 253, 244, 0.98) 100%);
  border-top: 1px solid rgba(15, 23, 42, 0.10);
  padding: 12px 20px 20px;
  gap: 4px;
}

.mobile-menu a {
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 500;
  color: #162033;
  padding: 10px 12px;
  display: block;
  text-decoration: none;
  transition: all 0.2s;
}

.mobile-menu a:not(.mobile-cta) {
  padding: 13px 0 13px 5px;
  line-height: 1.35;
  transition:
    color 0.2s,
    background 0.2s;
}

.mobile-menu a:not(.mobile-cta):not(.active):hover,
.mobile-menu a:not(.mobile-cta):not(.active):focus-visible {
  background: rgba(255, 107, 26, 0.08);
}

.mobile-menu .mobile-cta {
  margin-top: 8px;
  background: var(--primary);
  color: #fff;
  text-align: center;
  font-weight: 600;
  border-radius: 8px;
}

.mobile-menu a.mobile-cta:hover {
  color: #fff !important;
}

.mobile-menu.open {
  display: flex;
}

/* ── SHOW MORE / COLLAPSE ─────────────────────────────────────── */
.show-more-block {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.show-more-block.expanded {
  max-height: 600px;
}

.show-more-block p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.7;
}

.show-more-btn {
  background: none;
  border: none;
  color: var(--primary);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  padding: 8px 0;
  margin-top: 4px;
  transition: opacity 0.2s;
}

.show-more-btn:hover {
  opacity: 0.75;
}

/* ── REVEAL ANIMATION ─────────────────────────────────────────── */
.reveal-card {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal-card.visible {
  opacity: 1;
  transform: none;
}

html.js-home-anim #ecosystem .reveal-card {
  opacity: 1;
  transform: none;
}

/* ── FONT OVERRIDE ────────────────────────────────────────────── */
body,
h1,
h2,
h3,
h4,
h5,
p,
a,
span,
button,
input,
li {
  font-family: "Plus Jakarta Sans", system-ui, sans-serif !important;
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  background: #101415 !important;
}

/* subtle radial glow behind text */
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 55%;
  height: 100%;
  background: radial-gradient(
    ellipse 60% 70% at 30% 50%,
    rgba(79, 100, 255, 0.12) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 0;
}

/* City pulse rings */
.cp {
  transform-box: fill-box;
  transform-origin: center;
  animation: cityPulse 2.8s ease-out infinite;
  animation-delay: var(--d, 0s);
}

.cp2 {
  transform-box: fill-box;
  transform-origin: center;
  animation: cityPulse 2.8s ease-out infinite;
  animation-delay: calc(var(--d, 0s) + 0.6s);
}

@keyframes cityPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }
  100% {
    transform: scale(3.5);
    opacity: 0;
  }
}

/* Two-column hero layout */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  position: relative;
  z-index: 1;
}

/* LEFT column */
.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* CERT-In / MeitY government bar */
.cert-govt-bar {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border-radius: 12px;
  padding: 9px 18px 10px;
  margin-bottom: 28px;
  box-shadow:
    0 14px 32px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.cert-govt-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  color: #000000;
  font-family: var(--font-ui);
  font-size: 11px;
  /* font-style: italic; */
  font-weight: 100;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: none;
}

.cert-govt-logos {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

.cert-govt-logo {
  height: 38px;
  width: auto;
  max-width: 120px;
  flex-shrink: 0;
  object-fit: contain;
}

.cert-govt-divider {
  width: 1px;
  height: 36px;
  background: rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

.cert-govt-text {
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 600;
  color: #1a2233;
  white-space: nowrap;
  letter-spacing: 0.01em;
}

/* NATIONAL INITIATIVE badge */
.initiative-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 7px 14px;
  margin-bottom: 32px;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
}

.initiative-badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6b8fff;
  box-shadow: 0 0 6px rgba(107, 143, 255, 0.8);
  animation: dotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

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

/* Hero headline */
.hero-headline {
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 800 !important;
  line-height: 1.08;
  color: #ffffff !important;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

html.js-home-anim .hero-headline { min-height: 3.35em; }
html.js-home-anim .hero-gradient-text { visibility: hidden; }
html.js-home-anim .hero-headline.is-ready .hero-gradient-text {
  visibility: visible;
  background: none;
  -webkit-text-fill-color: unset;
  color: #ffffff;
}
html.js-home-anim .hero-map-col { clip-path: inset(0 100% 0 0); }
html.js-home-anim .hero-map-col.is-shown { clip-path: none; }
.hs-type-line { display: block; }
.hs-type-char { display: inline-block; }
html.js-home-anim .hs-type-char { opacity: 0; transform: translateY(14px); }
.hero-gradient-text .hs-type-char {
  background-image: linear-gradient(90deg, #ff9933 0%, #ff9933 28%, #ffffff 50%, #138808 72%, #138808 100%);
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-type-caret {
  display: inline-block;
  width: 0;
  height: 0.82em;
  margin-left: 3px;
  border-right: 3px solid #fff;
  vertical-align: -0.06em;
  animation: heroCaretBlink 0.85s steps(1) infinite;
}
@keyframes heroCaretBlink {
  0%, 45% { opacity: 1; }
  45.01%, 100% { opacity: 0; }
}

/* Indian tricolor gradient */
.hero-gradient-text {
  background: linear-gradient(
    90deg,
    #ff9933 0%,
    #ff9933 28%,
    #ffffff 50%,
    #138808 72%,
    #138808 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* light mode fallback (hero stays dark) */
[data-theme="light"] .hero-gradient-text {
  background: linear-gradient(
    90deg,
    #ff9933 0%,
    #ff9933 28%,
    #897c7c 50%,
    #138808 72%,
    #138808 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

[data-theme="light"] .hero-map-card {
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.98) 0%, rgba(236, 247, 255, 0.88) 36%, rgba(216, 239, 255, 0.68) 62%, rgba(188, 220, 244, 0.72) 100%),
    linear-gradient(135deg, rgb(255 255 255) 0%, rgb(199 232 255) 100%);
  border-color: rgba(0, 82, 170, 0.2);
  box-shadow:
    0 24px 60px rgba(4, 32, 70, 0.2),
    0 10px 24px rgba(4, 32, 70, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

[data-theme="light"] .hero-map-card::before {
  opacity: 0.45;
}

[data-theme="light"] .hero-map-card::after {
  border-color: rgba(0, 82, 170, 0.12);
  box-shadow: inset 0 0 42px rgba(0, 82, 170, 0.08);
}

[data-theme="light"] .hero-map-hud {
  color: rgba(0, 82, 170, 0.66);
  background: rgba(255, 255, 255, 0.54);
  border-bottom-color: rgba(0, 82, 170, 0.14);
}

[data-theme="light"] .hero-map-time {
  color: rgba(0, 82, 170, 0.76);
}

[data-theme="light"] .hero-map-title-overlay {
  background:
    radial-gradient(ellipse at 50% 48%, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.76) 36%, rgba(255, 255, 255, 0.34) 58%, transparent 78%),
    linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.34) 28%, rgba(255, 255, 255, 0.38) 62%, transparent 100%);
  box-shadow:
    0 0 30px rgba(0, 82, 170, 0.14);
  text-shadow:
    0 0 14px rgba(255, 255, 255, 0.9),
    0 1px 10px rgba(0, 82, 170, 0.2);
}

.hero-sub {
  position: relative;
  font-family: var(--font-ui);
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 800;
  line-height: 1.24;
  letter-spacing: 0;
  color: #ffffff !important;
  max-width: 760px;
  margin-bottom: 40px;
  text-wrap: balance;
  text-shadow:
    0 18px 42px rgba(0, 0, 0, 0.58),
    0 0 26px rgba(0, 122, 255, 0.18);
}

.hero-sub::before {
  content: "";
  display: block;
  width: 78px;
  height: 4px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9933 0%, #ffffff 50%, #138808 100%);
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.22);
}

.hero-sub-main {
  display: block;
}

.hero-sub-key {
  color: #ffffff;
  background: linear-gradient(90deg, #ffb15d 0%, #ffffff 44%, #31d36b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub-cybernaut {
  color: #6be7ff;
  font-weight: 850;
}

.hero-sub-line {
  display: block;
  max-width: 650px;
  margin-top: 18px;
  color: rgba(236, 247, 255, 0.74);
  font-size: clamp(16px, 1.28vw, 21px);
  font-weight: 650;
  line-height: 1.5;
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.5);
}

[data-theme="light"] .hero-sub-line {
  color: rgba(10, 15, 32, 0.68);
}

.hero-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
}

/* Hero outline buttons */
.btn-hero-outline {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 13px 26px;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.btn-hero-outline:hover {
  border-color: rgba(107, 143, 255, 0.7);
  color: #fff !important;
  background: rgba(107, 143, 255, 0.1);
}

/* RIGHT column — map circle */
.hero-map-col {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  perspective: 1200px;
}

.hero-map-circle {
  position: relative;
  width: min(480px, 46vw);
  height: min(480px, 46vw);
  border-radius: 50%;
  background: radial-gradient(
    circle at 50% 50%,
    rgba(13, 20, 45, 0.98) 0%,
    rgba(8, 14, 26, 0.98) 100%
  );
  border: 1px solid rgba(107, 143, 255, 0.2);
  box-shadow:
    0 0 0 1px rgba(107, 143, 255, 0.08),
    0 0 60px rgba(107, 143, 255, 0.08),
    inset 0 0 80px rgba(8, 14, 26, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Subtle concentric ring decorations */
.hero-map-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(107, 143, 255, 0.08);
  pointer-events: none;
}

.hero-map-ring-1 {
  width: 76%;
  height: 76%;
}

.hero-map-ring-2 {
  width: 55%;
  height: 55%;
}

/* Live status pill */
.hero-map-live-pill {
  position: absolute;
  bottom: 9%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 14px 6px 10px;
  background: rgba(16, 20, 21, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(0, 122, 255, 0.28);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 500;
  color: rgba(220, 235, 255, 0.88);
  white-space: nowrap;
  letter-spacing: 0.01em;
  pointer-events: none;
  z-index: 4;
}

.hero-map-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #007aff;
  flex-shrink: 0;
  animation: liveDotPulse 2s ease-in-out infinite;
}

@keyframes liveDotPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 122, 255, 0.6);
    opacity: 1;
  }
  50% {
    box-shadow: 0 0 0 5px rgba(0, 122, 255, 0);
    opacity: 0.75;
  }
}

/* ── CARD TOP ROW (icon badge left, logo right) ───────────────── */
.card-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.card-top-row .card-icon-badge {
  margin-bottom: 0;
}

/* ── CARD ICON BADGES ─────────────────────────────────────────── */
.card-icon-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.cask-badge {
  background: rgba(0, 122, 255, 0.14);
  color: #007aff;
}
.surakshak-badge {
  background: rgba(34, 211, 238, 0.14);
  color: #22d3ee;
}
.olympiad-badge {
  background: rgba(251, 191, 36, 0.14);
  color: #fbbf24;
}
.podcast-badge {
  background: rgba(244, 114, 182, 0.14);
  color: #f472b6;
}
.slanglish-badge {
  background: rgba(52, 211, 153, 0.14);
  color: #34d399;
}

.card-icon-badge svg {
  display: block;
}

[data-theme="light"] .cask-badge {
  background: rgba(0, 122, 255, 0.1);
}
[data-theme="light"] .surakshak-badge {
  background: rgba(6, 182, 212, 0.1);
  color: #0891b2;
}
[data-theme="light"] .olympiad-badge {
  background: rgba(217, 119, 6, 0.1);
  color: #d97706;
}
[data-theme="light"] .podcast-badge {
  background: rgba(219, 39, 119, 0.1);
  color: #db2777;
}
[data-theme="light"] .slanglish-badge {
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}

/* ── VERTICAL CARD HOVER LIFT ─────────────────────────────────── */
.vertical-card:hover {
  transform: translateY(-6px);
}

/* ── AUDIENCE CARDS HOVER ────────────────────────────────────── */
.audience-card:hover {
  box-shadow: 0 6px 28px rgba(0, 122, 255, 0.28);
  border-color: rgba(0, 122, 255, 0.35);
  transform: translateY(-4px);
}
[data-theme="light"] .audience-card:hover {
  box-shadow: 0 6px 24px rgba(0, 122, 255, 0.18);
}

/* ── SURAKSHAK LIVE FEED ─────────────────────────────────────── */
.live-feed-card {
  /* No height override — inherits 112px from .card-interactive */
  padding: 10px 12px !important;
  justify-content: flex-start !important;
}

.live-feed-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 8px;
}

.live-dot-sm {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22d3ee;
  display: inline-block;
  animation: liveDotPulse 2s ease-in-out infinite;
  flex-shrink: 0;
}

.live-feed-title {
  font-size: 10px;
  font-weight: 700;
  color: #22d3ee;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

[data-theme="light"] .live-dot-sm {
  background: #0891b2;
}
[data-theme="light"] .live-feed-title {
  color: #0891b2;
}

.live-feed-scroll {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 72px;
  overflow: hidden;
  position: relative;
  flex: 1;
}

.lf-item {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.4;
  padding: 3px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lf-item strong {
  color: var(--text-primary);
  font-weight: 600;
}
.lf-item em {
  color: #22d3ee;
  font-style: normal;
  font-weight: 600;
}
[data-theme="light"] .lf-item em {
  color: #0891b2;
}

/* ── PODCAST MYTH + YT LAYOUT ────────────────────────────────── */
.podcast-preview-wrap {
  display: flex;
  gap: 10px;
  align-items: stretch;
  /* height: auto handled by .podcast-card-interactive */
  padding: 10px 12px !important;
}

.podcast-myth-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.myth-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f472b6;
  background: rgba(244, 114, 182, 0.12);
  border: 1px solid rgba(244, 114, 182, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
  align-self: flex-start;
}

.myth-text {
  font-size: 11px;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.3;
  margin: 0;
}

.reality-tag {
  display: inline-block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.25);
  padding: 2px 7px;
  border-radius: 4px;
  align-self: flex-start;
  margin-top: 2px;
}

.reality-text {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.3;
  margin: 0;
}

.podcast-yt-side {
  width: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.yt-thumb-placeholder {
  width: 60px;
  height: 42px;
  background: rgba(244, 114, 182, 0.1);
  border: 1px solid rgba(244, 114, 182, 0.25);
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  transition: background 0.2s;
}

.yt-thumb-placeholder:hover {
  background: rgba(244, 114, 182, 0.2);
}

.yt-play-icon {
  font-size: 12px;
  color: #f472b6;
  line-height: 1;
}

.yt-ep-label {
  font-size: 9px;
  font-weight: 600;
  color: var(--text-secondary);
}

/* ── WHATS INSIDE CASK — ANIMATED TICKER ─────────────────────── */
.wic-showcase {
  margin-top: 20px;
}

.wic-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.wic-ticker-wrap {
  overflow: hidden;
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

.wic-ticker {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: wicScroll 28s linear infinite;
}
.wic-ticker:hover {
  animation-play-state: paused;
}

@keyframes wicScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.wic-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  border: 1.5px solid;
  transition: opacity 0.2s;
  cursor: default;
}
.wc-icon {
  font-size: 14px;
  line-height: 1;
}

.wic-chip.content-chip {
  background: rgba(8, 145, 178, 0.09);
  border-color: rgba(8, 145, 178, 0.35);
  color: #22d3ee;
}
.wic-chip.ai-chip {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.38);
  color: #a78bfa;
}
.wic-chip.practice-chip {
  background: rgba(5, 150, 105, 0.09);
  border-color: rgba(5, 150, 105, 0.33);
  color: #34d399;
}
.wic-chip.media-chip {
  background: rgba(236, 72, 153, 0.09);
  border-color: rgba(236, 72, 153, 0.33);
  color: #f472b6;
}

/* ── CASK MIND MAP ────────────────────────────────────────────── */
.cask-mindmap {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.cm-nodes-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.cm-node {
  flex: 1;
  max-width: 210px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 22px 16px 14px;
  border-radius: 14px 14px 0 0;
  border: 1.5px solid var(--border);
  border-bottom: none;
  background: transparent;
  cursor: pointer;
  transition: all 0.22s;
  text-align: center;
  position: relative;
  top: 1.5px;
  z-index: 0;
  user-select: none;
}

.cm-node:hover,
.cm-node.active {
  background: var(--bg-surface);
  border-color: rgba(8, 145, 178, 0.55);
  z-index: 1;
}

.cm-node-emoji {
  font-size: 30px;
  line-height: 1;
  margin-bottom: 10px;
  transition: transform 0.22s;
}
.cm-node:hover .cm-node-emoji,
.cm-node.active .cm-node-emoji {
  transform: scale(1.18);
}

.cm-node-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 3px;
  transition: color 0.2s;
}
.cm-node:hover .cm-node-name,
.cm-node.active .cm-node-name {
  color: #0891b2;
}

.cm-node-sub {
  font-size: 11px;
  color: var(--text-secondary);
  opacity: 0.6;
  font-weight: 500;
}

.cm-node-arrow {
  font-size: 16px;
  color: #0891b2;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.2s;
  line-height: 1;
}
.cm-node.active .cm-node-arrow {
  opacity: 1;
}

/* Panel area */
.cm-panel-area {
  border: 1.5px solid rgba(8, 145, 178, 0.35);
  border-radius: 0 14px 14px 14px;
  background: var(--bg-surface);
  padding: 24px 28px;
  min-height: 160px;
  position: relative;
  z-index: 0;
}

.cm-panel {
  display: none;
}
.cm-panel.active {
  display: block;
  animation: cmFadeIn 0.2s ease;
}
@keyframes cmFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cm-panel-title {
  font-size: 11px;
  font-weight: 700;
  color: #0891b2;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
  opacity: 0.85;
}

/* Content chip grid */
.cm-content-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}
.cm-content-grid.cm-compact {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
}

.cm-item {
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid transparent;
  line-height: 1.3;
}

/* Chip color schemes */
.c-chip {
  background: rgba(8, 145, 178, 0.09);
  border-color: rgba(8, 145, 178, 0.28);
  color: #22d3ee;
}
.a-chip {
  background: rgba(124, 58, 237, 0.09);
  border-color: rgba(124, 58, 237, 0.3);
  color: #a78bfa;
}
.m-chip {
  background: rgba(236, 72, 153, 0.09);
  border-color: rgba(236, 72, 153, 0.28);
  color: #f472b6;
}
.p-chip {
  background: rgba(5, 150, 105, 0.09);
  border-color: rgba(5, 150, 105, 0.28);
  color: #34d399;
}
.cr-chip {
  background: rgba(251, 191, 36, 0.09);
  border-color: rgba(251, 191, 36, 0.32);
  color: #fbbf24;
}
.s-chip {
  background: rgba(99, 102, 241, 0.09);
  border-color: rgba(99, 102, 241, 0.3);
  color: #a5b4fc;
}

/* Two-column layouts (Teacher / School) */
.cm-dual-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.cm-col-head {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.cm-col-access {
  color: #22d3ee;
  background: rgba(8, 145, 178, 0.12);
}
.cm-col-create {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}
.cm-col-student {
  color: #22d3ee;
  background: rgba(8, 145, 178, 0.12);
}
.cm-col-teacher {
  color: #fbbf24;
  background: rgba(251, 191, 36, 0.12);
}

/* Light theme */
[data-theme="light"] .cm-node:hover .cm-node-name,
[data-theme="light"] .cm-node.active .cm-node-name {
  color: #0e7490;
}
[data-theme="light"] .cm-node.active .cm-node-arrow {
  color: #0e7490;
}
[data-theme="light"] .cm-panel-area {
  border-color: rgba(8, 145, 178, 0.25);
  background: #f0fdff;
}
[data-theme="light"] .cm-panel-title {
  color: #0e7490;
}
[data-theme="light"] .c-chip {
  background: rgba(8, 145, 178, 0.07);
  color: #0891b2;
}
[data-theme="light"] .a-chip {
  background: rgba(124, 58, 237, 0.07);
  color: #6d28d9;
}
[data-theme="light"] .m-chip {
  background: rgba(236, 72, 153, 0.07);
  color: #be185d;
}
[data-theme="light"] .p-chip {
  background: rgba(5, 150, 105, 0.07);
  color: #059669;
}
[data-theme="light"] .cr-chip {
  background: rgba(251, 191, 36, 0.07);
  color: #d97706;
}
[data-theme="light"] .s-chip {
  background: rgba(99, 102, 241, 0.07);
  color: #4338ca;
}
[data-theme="light"] .cm-col-access {
  color: #0891b2;
  background: rgba(8, 145, 178, 0.09);
}
[data-theme="light"] .cm-col-create {
  color: #d97706;
  background: rgba(251, 191, 36, 0.09);
}
[data-theme="light"] .cm-col-student {
  color: #0891b2;
  background: rgba(8, 145, 178, 0.09);
}
[data-theme="light"] .cm-col-teacher {
  color: #d97706;
  background: rgba(251, 191, 36, 0.09);
}

[data-theme="light"] .wic-chip.content-chip {
  background: rgba(8, 145, 178, 0.07);
  color: #0e7490;
}
[data-theme="light"] .wic-chip.ai-chip {
  background: rgba(124, 58, 237, 0.07);
  color: #6d28d9;
}
[data-theme="light"] .wic-chip.practice-chip {
  background: rgba(5, 150, 105, 0.07);
  color: #047857;
}
[data-theme="light"] .wic-chip.media-chip {
  background: rgba(236, 72, 153, 0.07);
  color: #be185d;
}

/* ── CASK INLINE CHATBOT ─────────────────────────────────────── */
.cask-chatbot {
  background: var(--bg-surface);
  border: 1px solid rgba(0, 122, 255, 0.25);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 28px rgba(0, 122, 255, 0.18);
}

.cask-chat-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cask-chat-avatar {
  font-size: 20px;
  flex-shrink: 0;
  position: relative;
}

/* Graphic: animated online dot on avatar */
.cask-chat-avatar::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: -2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  border: 1.5px solid var(--bg);
  animation: avatarBlink 2.5s ease-in-out infinite;
}

@keyframes avatarBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.cask-chat-meta {
  flex: 1;
}

.cask-chat-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.cask-chat-status {
  font-size: 11px;
  color: var(--primary);
  font-weight: 500;
}

.cask-q-counter {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3px 9px;
  flex-shrink: 0;
}

.cask-chat-msgs {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 260px;
  max-height: 340px;
  overflow-y: auto;
  flex: 1;
  scroll-behavior: smooth;
}

.cask-msg {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-width: 88%;
}

.cask-msg.ai-msg {
  align-self: flex-start;
}

.cask-msg.user-msg {
  align-self: flex-end;
}

.cask-msg p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  padding: 10px 14px;
  border-radius: 12px;
}

.ai-msg p {
  background: var(--bg);
  color: var(--text-primary) !important;
  border-radius: 4px 12px 12px 12px;
  border: 1px solid var(--border);
}

.user-msg p {
  background: var(--primary);
  color: #fff !important;
  border-radius: 12px 12px 4px 12px;
}

.cask-input-row {
  display: flex;
  gap: 0;
  border-top: 1px solid var(--border);
}

.cask-chat-input {
  flex: 1;
  padding: 13px 16px;
  background: var(--bg);
  border: none;
  outline: none;
  font-family: var(--font-ui);
  font-size: 13px;
  color: var(--text-primary);
  border-radius: 0 0 0 14px;
}

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

.cask-chat-send {
  padding: 13px 20px;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 17px;
  cursor: pointer;
  font-weight: 700;
  border-radius: 0 0 14px 0;
  transition: background 0.2s;
}

.cask-chat-send:hover {
  background: #0066dd;
}

.cask-chat-input:disabled,
.cask-chat-send:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* Typing indicator */
.typing-indicator {
  display: flex;
  gap: 4px;
  padding: 10px 14px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 4px 12px 12px 12px;
  align-self: flex-start;
  max-width: 60px;
}

.typing-indicator span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--text-muted);
  animation: typingBounce 1.2s ease-in-out infinite;
}
.typing-indicator span:nth-child(2) {
  animation-delay: 0.15s;
}
.typing-indicator span:nth-child(3) {
  animation-delay: 0.3s;
}

@keyframes typingBounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-5px);
    opacity: 1;
  }
}

/* ── GENERAL CARD BOX SHADOWS — always visible, not just on hover ── */

/* Vertical cards: solid colored border + hard offset depth (no glow) */
.vertical-card.cask-card {
  border: 2px solid rgba(0, 122, 255, 0.55);
  box-shadow: 4px 4px 0 rgba(0, 122, 255, 0.22);
}
.vertical-card.surakshak-card {
  border: 2px solid rgba(34, 211, 238, 0.55);
  box-shadow: 4px 4px 0 rgba(34, 211, 238, 0.22);
}
.vertical-card.olympiad-card {
  border: 2px solid rgba(251, 191, 36, 0.55);
  box-shadow: 4px 4px 0 rgba(251, 191, 36, 0.22);
}
.vertical-card.podcast-card {
  border: 2px solid rgba(244, 114, 182, 0.55);
  box-shadow: 4px 4px 0 rgba(244, 114, 182, 0.22);
}
.vertical-card.slanglish-card {
  border: 2px solid rgba(52, 211, 153, 0.55);
  box-shadow: 4px 4px 0 rgba(52, 211, 153, 0.22);
}

/* Stronger on hover — deeper offset */
.vertical-card.cask-card:hover {
  border-color: rgba(0, 122, 255, 0.8);
  box-shadow: 6px 6px 0 rgba(0, 122, 255, 0.3);
  transform: translate(-2px, -2px);
}
.vertical-card.surakshak-card:hover {
  border-color: rgba(34, 211, 238, 0.8);
  box-shadow: 6px 6px 0 rgba(34, 211, 238, 0.3);
  transform: translate(-2px, -2px);
}
.vertical-card.olympiad-card:hover {
  border-color: rgba(251, 191, 36, 0.8);
  box-shadow: 6px 6px 0 rgba(251, 191, 36, 0.3);
  transform: translate(-2px, -2px);
}
.vertical-card.podcast-card:hover {
  border-color: rgba(244, 114, 182, 0.8);
  box-shadow: 6px 6px 0 rgba(244, 114, 182, 0.3);
  transform: translate(-2px, -2px);
}
.vertical-card.slanglish-card:hover {
  border-color: rgba(52, 211, 153, 0.8);
  box-shadow: 6px 6px 0 rgba(52, 211, 153, 0.3);
  transform: translate(-2px, -2px);
}

/* Light mode — same approach, darker saturated hues for contrast on white */
[data-theme="light"] .vertical-card.cask-card {
  border: 2px solid rgba(29, 78, 216, 0.55);
  box-shadow: 4px 4px 0 rgba(29, 78, 216, 0.2);
}
[data-theme="light"] .vertical-card.surakshak-card {
  border: 2px solid rgba(8, 145, 178, 0.55);
  box-shadow: 4px 4px 0 rgba(8, 145, 178, 0.2);
}
[data-theme="light"] .vertical-card.olympiad-card {
  border: 2px solid rgba(180, 83, 9, 0.55);
  box-shadow: 4px 4px 0 rgba(180, 83, 9, 0.2);
}
[data-theme="light"] .vertical-card.podcast-card {
  border: 2px solid rgba(190, 24, 93, 0.55);
  box-shadow: 4px 4px 0 rgba(190, 24, 93, 0.2);
}
[data-theme="light"] .vertical-card.slanglish-card {
  border: 2px solid rgba(4, 120, 87, 0.55);
  box-shadow: 4px 4px 0 rgba(4, 120, 87, 0.2);
}

/* Audience cards — solid blue border + hard offset */
.audience-card {
  border: 1.5px solid rgba(0, 122, 255, 0.4);
  box-shadow: 3px 3px 0 rgba(0, 122, 255, 0.16);
}
[data-theme="light"] .audience-card {
  border: 1.5px solid rgba(29, 78, 216, 0.4);
  box-shadow: 3px 3px 0 rgba(29, 78, 216, 0.16);
}

/* How/Step cards */
.how-card {
  border: 1.5px solid rgba(0, 122, 255, 0.32);
  box-shadow: 3px 3px 0 rgba(0, 122, 255, 0.14);
}

.how-card:hover {
  box-shadow: 0 6px 28px rgba(0, 122, 255, 0.22);
  border-color: rgba(0, 122, 255, 0.28);
  transform: translateY(-3px);
}

/* Journey levels */
.journey-level {
  box-shadow: 0 2px 12px rgba(0, 122, 255, 0.1);
}

.journey-level.unlocked {
  box-shadow: 0 6px 28px rgba(0, 122, 255, 0.28);
}

/* Tier / resource cards */
.tier-unified {
  box-shadow: 0 2px 14px rgba(0, 122, 255, 0.1);
}

[data-theme="light"] .how-card {
  box-shadow: 0 2px 12px rgba(0, 122, 255, 0.09);
}
[data-theme="light"] .journey-level {
  box-shadow: 0 2px 12px rgba(0, 122, 255, 0.09);
}

/* ── LIVE FEED SCROLL ANIMATION ──────────────────────────────── */
@keyframes feedScrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-20%);
  }
}

.hero-map-svg {
  position: absolute;
  inset: clamp(18px, 4.8vw, 38px) clamp(8px, 2vw, 18px) clamp(10px, 2.5vw, 24px);
  z-index: 3;
  width: auto;
  height: auto;
  max-width: calc(100% - 16px);
  max-height: calc(100% - 18px);
  margin: auto;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.34));
}

/* ── PREMIUM HERO MAP CARD ─────────────────────────────────────── */
@keyframes radarPing {
  0% {
    r: 6;
    opacity: 0.85;
  }
  60% {
    r: 20;
    opacity: 0.2;
  }
  100% {
    r: 26;
    opacity: 0;
  }
}
@keyframes radarPing2 {
  0% {
    r: 6;
    opacity: 0.5;
  }
  60% {
    r: 32;
    opacity: 0.08;
  }
  100% {
    r: 38;
    opacity: 0;
  }
}
@keyframes scanLine {
  0% {
    transform: translateY(-22%);
    opacity: 0;
  }
  10% {
    opacity: 0.16;
  }
  90% {
    opacity: 0.16;
  }
  100% {
    transform: translateY(122%);
    opacity: 0;
  }
}
@keyframes gridPulse {
  0%,
  100% {
    opacity: 0.04;
  }
  50% {
    opacity: 0.08;
  }
}
@keyframes badgePulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 122, 255, 0.4);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(0, 122, 255, 0);
  }
}
@keyframes dotBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}

.hero-map-card {
  position: relative;
  width: min(500px, 44vw);
  max-width: 100%;
  aspect-ratio: 930 / 1000;
  isolation: isolate;
  background:
    radial-gradient(circle at 50% 38%, rgba(0, 122, 255, 0.18) 0%, rgba(0, 122, 255, 0.06) 34%, transparent 58%),
    radial-gradient(circle at 82% 18%, rgba(255, 153, 51, 0.1) 0%, transparent 26%),
    radial-gradient(circle at 16% 78%, rgba(19, 136, 8, 0.11) 0%, transparent 30%),
    linear-gradient(150deg, rgba(15, 21, 25, 0.98) 0%, rgba(9, 14, 18, 0.98) 100%);
  border: 1px solid rgba(117, 183, 255, 0.18);
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 28px 72px rgba(0, 0, 0, 0.48),
    0 12px 28px rgba(0, 122, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    inset 0 0 70px rgba(0, 0, 0, 0.34);
  transform: translateZ(0);
}

.hero-map-card::before,
.hero-map-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-map-card::before {
  z-index: 1;
  background:
    linear-gradient(90deg, transparent 0 49%, rgba(255, 255, 255, 0.05) 50%, transparent 51%),
    linear-gradient(180deg, transparent 0 49%, rgba(255, 255, 255, 0.05) 50%, transparent 51%);
  opacity: 0.22;
}

.hero-map-card::after {
  z-index: 9;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 52px rgba(0, 0, 0, 0.42),
    inset 0 0 0 1px rgba(0, 122, 255, 0.04);
}

.hero-map-ambient {
  position: absolute;
  left: 50%;
  top: 45%;
  z-index: 2;
  width: 74%;
  height: 82%;
  transform: translate(-50%, -50%);
  background:
    radial-gradient(ellipse, rgba(0, 122, 255, 0.16) 0%, rgba(0, 122, 255, 0.05) 42%, transparent 72%);
  pointer-events: none;
}

.hero-map-hud {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 11;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  min-height: 38px;
  padding: 10px 16px;
  border-bottom: 1px solid rgba(117, 183, 255, 0.14);
  background: rgba(8, 13, 17, 0.42);
  color: rgba(178, 220, 255, 0.64);
  font-family: var(--font-ui);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.hero-map-hud-label,
.hero-map-time {
  position: relative;
  z-index: 1;
  white-space: nowrap;
}

.hero-map-time {
  color: rgba(113, 193, 255, 0.72);
  font-variant-numeric: tabular-nums;
}

.hero-map-title-overlay {
  position: absolute;
  top: 49%;
  left: 50%;
  z-index: 12;
  width: calc(100% - clamp(34px, 6vw, 72px));
  transform: translate(-50%, -50%);
  isolation: isolate;
  padding: clamp(12px, 2.2vw, 17px) clamp(16px, 3vw, 28px) clamp(11px, 2vw, 15px);
  background:
    radial-gradient(ellipse at 50% 48%, rgba(5, 12, 20, 0.88) 0%, rgba(5, 12, 20, 0.66) 36%, rgba(5, 12, 20, 0.28) 58%, transparent 78%),
    linear-gradient(180deg, transparent 0%, rgba(5, 12, 20, 0.30) 28%, rgba(5, 12, 20, 0.34) 62%, transparent 100%);
  color: #fff;
  font-family: var(--font-ui);
  font-size: clamp(20.8px, 1.92vw, 36.8px);
  font-weight: 900;
  letter-spacing: clamp(0.025em, 0.25vw, 0.07em);
  line-height: 0.9;
  text-align: center;
  text-transform: uppercase;
  text-shadow:
    0 0 16px rgba(255, 255, 255, 0.42),
    0 2px 14px rgba(0, 0, 0, 0.86);
  /* box-shadow:
    0 0 34px rgba(0, 122, 255, 0.14); */
  animation: none;
  pointer-events: none;
}

.hero-map-title-overlay::before,
.hero-map-title-overlay::after {
  content: "";
  position: absolute;
  left: 50%;
  width: min(38%, 260px);
  transform: translateX(-50%);
  height: 1px;
  background: linear-gradient(90deg, transparent, currentColor, transparent);
  opacity: 0.72;
  filter: drop-shadow(0 0 8px currentColor);
  pointer-events: none;
}

.hero-map-title-overlay::before {
  top: -1px;
}
.hero-map-title-overlay::after {
  bottom: -1px;
}

.hero-map-title-overlay > span {
  display: block;
  white-space: nowrap;
}

.hero-map-title-img {
  display: block;
  width: min(100%, 312px);
  height: clamp(74px, 8.4vw, 108px);
  margin: -6px auto 0;
  object-fit: cover;
  object-position: center 53%;
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, 0.78));
}

@media (max-width: 1200px) {
  .hero-map-title-img {
    margin: 0px auto 0;
  }
}


@media (max-width: 1050px) {
  .hero-map-title-img {
    margin: 4px auto 0;
  }
}

@media (max-width: 1024px) {
  .hero-map-card {
    width: min(420px, 42vw);
  }

}

.bracket-tl,
.bracket-tr,
.bracket-bl,
.bracket-br {
  position: absolute;
  width: clamp(16px, 3vw, 24px);
  height: clamp(16px, 3vw, 24px);
  pointer-events: none;
  z-index: 10;
}
.bracket-tl {
  top: 12px;
  left: 12px;
  border-top: 1.5px solid rgba(117, 183, 255, 0.58);
  border-left: 1.5px solid rgba(117, 183, 255, 0.58);
}
.bracket-tr {
  top: 12px;
  right: 12px;
  border-top: 1.5px solid rgba(117, 183, 255, 0.58);
  border-right: 1.5px solid rgba(117, 183, 255, 0.58);
}
.bracket-bl {
  bottom: 12px;
  left: 12px;
  border-bottom: 1.5px solid rgba(117, 183, 255, 0.58);
  border-left: 1.5px solid rgba(117, 183, 255, 0.58);
}
.bracket-br {
  bottom: 12px;
  right: 12px;
  border-bottom: 1.5px solid rgba(117, 183, 255, 0.58);
  border-right: 1.5px solid rgba(117, 183, 255, 0.58);
}

.coord-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(0, 122, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 122, 255, 0.05) 1px, transparent 1px);
  background-size: clamp(28px, 5vw, 44px) clamp(28px, 5vw, 44px);
  animation: gridPulse 4s ease-in-out infinite;
  pointer-events: none;
  border-radius: inherit;
}

.map-scan-line {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  pointer-events: none;
  border-radius: inherit;
}
.map-scan-line::after {
  content: "";
  position: absolute;
  inset: -20% 0 auto;
  height: 20%;
  background:
    linear-gradient(180deg, transparent, rgba(117, 183, 255, 0.04), transparent),
    linear-gradient(90deg, transparent, rgba(117, 183, 255, 0.2), transparent);
  animation: scanLine 5s linear infinite;
}

.map-live-badge {
  background: rgba(16, 20, 21, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(0, 122, 255, 0.22);
  animation: badgePulse 3s ease-in-out infinite;
}
.map-live-dot {
  animation: dotBlink 1.5s ease-in-out infinite;
}

.map-stat-pill {
  background: rgba(16, 20, 21, 0.7);
  border: 1px solid rgba(0, 122, 255, 0.18);
  backdrop-filter: blur(12px);
}

/* City radar ping animation classes */
.cp-1 {
  animation: radarPing 2.2s ease-out infinite;
  animation-delay: 0s;
}
.cp-2 {
  animation: radarPing 2.2s ease-out infinite;
  animation-delay: 0.7s;
}
.cp-3 {
  animation: radarPing 2.2s ease-out infinite;
  animation-delay: 1.4s;
}
.cp-4 {
  animation: radarPing 2.2s ease-out infinite;
  animation-delay: 2.1s;
}
.cp-5 {
  animation: radarPing 2.2s ease-out infinite;
  animation-delay: 0.35s;
}
.cp2-1 {
  animation: radarPing2 2.8s ease-out infinite;
  animation-delay: 0.4s;
}
.cp2-2 {
  animation: radarPing2 2.8s ease-out infinite;
  animation-delay: 1.1s;
}
.cp2-3 {
  animation: radarPing2 2.8s ease-out infinite;
  animation-delay: 1.8s;
}
.cp2-4 {
  animation: radarPing2 2.8s ease-out infinite;
  animation-delay: 2.5s;
}
.cp2-5 {
  animation: radarPing2 2.8s ease-out infinite;
  animation-delay: 0.75s;
}

/* ── VERTICALS SECTION ────────────────────────────────────────── */
.verticals-section {
  padding: 100px 0;
  background: var(--bg-surface) !important;
}

#ecosystem {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #000 !important;
}

[data-theme="light"] #ecosystem {
  background: #000 !important;
}

#ecosystem > .container {
  position: relative;
  z-index: 1;
}

body > section { position: relative; }
.hs-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}
body > section > .container,
body > section > .olymp-inner,
body > section > .cybernaut-inner,
body > section > .slang-spotlight-inner {
  position: relative;
  z-index: 1;
}
html.js-home-anim .hs-await-reveal:not(.is-section-open) {
  clip-path: circle(0% at 50% 50%);
}
.hs-orb { position: absolute; border-radius: 50%; filter: blur(46px); opacity: 0.7; }
.hs-orb-0 { width: min(340px, 42vw); height: min(340px, 42vw); left: -8%; top: 12%; background: rgba(255,153,51,.42); }
.hs-orb-1 { width: min(420px, 48vw); height: min(420px, 48vw); right: -12%; top: 28%; background: rgba(0,122,255,.34); }
.hs-orb-2 { width: min(280px, 36vw); height: min(280px, 36vw); left: 38%; bottom: -8%; background: rgba(19,136,8,.28); }
.hs-radar { position: absolute; width: 160px; height: 160px; border-radius: 50%; border: 1px solid rgba(0,168,255,.45); }
.hs-radar::after { content: ""; position: absolute; inset: 22px; border-radius: 50%; border: 1px dashed rgba(255,177,90,.7); animation: hsRadarSpin 18s linear infinite; }
.hs-radar-tl { top: 0; left: 28px; transform: translateY(-50%); }
.hs-radar-br { right: 28px; bottom: 0; transform: translateY(50%); }
@keyframes hsRadarSpin { to { transform: rotate(360deg); } }
.hs-illu { position: absolute; width: 118px; pointer-events: auto; cursor: pointer; filter: drop-shadow(0 16px 18px rgba(0,0,0,.28)); animation: hsIlluFloat 7.5s ease-in-out infinite; }
.hs-illu svg { display: block; width: 100%; height: auto; transition: transform .45s cubic-bezier(.22,.8,.32,1); }
.hs-illu.is-left { left: calc(50% - 700px); top: 18%; }
.hs-illu.is-right { right: calc(50% - 700px); bottom: 16%; animation-delay: -3s; }
.hs-illu-small { width: 74px; animation-duration: 9s; }
.hs-illu:hover { animation: hsIlluHover .7s ease forwards; filter: drop-shadow(0 22px 16px rgba(255,153,51,.55)); }
.hs-illu:hover svg { transform: scale(1.14) rotate(10deg); }
@keyframes hsIlluFloat { 0%,100% { transform: translateY(0) rotate(-4deg); } 50% { transform: translateY(-16px) rotate(4deg); } }
@keyframes hsIlluHover { 0% { transform: translateY(0) scale(1); } 40% { transform: translateY(-22px) rotate(12deg) scale(1.12); } 100% { transform: translateY(-14px) scale(1.08); } }
.hs-mote { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 12px rgba(255,153,51,.9); animation: hsMote 6.5s ease-in-out infinite; }
@keyframes hsMote { 0%,100% { transform: translateY(0); opacity: .35; } 50% { transform: translateY(-18px); opacity: 1; } }
.hs-spot { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: 0; transition: opacity .35s; background: radial-gradient(260px circle at var(--sx, 50%) var(--sy, 40%), rgba(255,153,51,.28), transparent 58%); }
.vertical-card:hover .hs-spot { opacity: 1; }
.section-header h2::after { content: ""; display: block; width: 92px; height: 3px; margin: 14px auto 0; border-radius: 99px; background: linear-gradient(90deg, #ff9933, #fff, #138808, #ff9933); background-size: 220% 100%; animation: hsTitleSheen 5.5s linear infinite; }
@keyframes hsTitleSheen { to { background-position: -220% 0; } }
.hs-bubble { position: relative; overflow: hidden; isolation: isolate; }
.hs-bubble::before { content: ""; position: absolute; left: var(--bx, 50%); top: var(--by, 50%); z-index: -1; width: var(--br, 320px); height: var(--br, 320px); border-radius: 50%; background: rgba(0,0,0,.62); transform: translate(-50%, -50%) scale(0); transition: transform .55s cubic-bezier(.22,.8,.32,1); pointer-events: none; }
.hs-bubble:hover::before { transform: translate(-50%, -50%) scale(1); }
.btn-primary.hs-bubble:hover { opacity: 1; }
@media (max-width: 1400px) { .hs-illu { display: none; } }

#ecosystem::before {
  content: "";
  position: absolute;
  inset: -18%;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(
      circle at 18% 30%,
      rgba(0, 122, 255, 0.1) 0%,
      transparent 28%
    ),
    radial-gradient(
      circle at 78% 68%,
      rgba(251, 191, 36, 0.08) 0%,
      transparent 30%
    ),
    radial-gradient(
      circle at 48% 42%,
      rgba(255, 255, 255, 0.035) 0%,
      transparent 24%
    );
  background-size:
    120% 120%,
    115% 115%,
    100% 100%;
  opacity: 0.72;
  animation: ecosystemAmbientDrift 24s ease-in-out infinite alternate;
}

.verticals-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

#ecosystem .verticals-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 0;
  max-width: 1120px;
  margin: 0 auto;
  align-items: stretch;
  position: relative;
}

#ecosystem .verticals-grid::before {
  content: "";
  position: absolute;
  inset: -28%;
  background: conic-gradient(
    from 120deg,
    rgba(0, 122, 255, 0.12),
    rgba(251, 191, 36, 0.1),
    rgba(34, 211, 238, 0.08),
    rgba(0, 122, 255, 0.12)
  );
  filter: blur(42px);
  opacity: 0.42;
  animation: ecosystemGridAura 18s linear infinite;
  pointer-events: none;
}

#ecosystem .ecosystem-grid-note {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: -6px auto 0;
  padding: 18px 24px 16px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.045) 25%, rgba(255, 255, 255, 0.045) 75%, transparent);
  color: rgba(255, 255, 255, 0.88);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.7;
  text-align: center;
  /* text-wrap: balance; */
}

#ecosystem .ecosystem-grid-note strong {
  font-weight: 750;
}

#ecosystem .ecosystem-note-learn {
  color: #79baff;
}

#ecosystem .ecosystem-note-achieve {
  color: #fbd56a;
}

#ecosystem .ecosystem-grid-note::after {
  content: "";
  display: block;
  width: 120px;
  height: 2px;
  margin: 16px auto 0;
  background: linear-gradient(90deg, #429bff 0% 50%, #f4c34e 50% 100%);
}

.vertical-card {
  background: var(--bg) !important;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  width: calc(33.33% - 14px);
  min-width: 260px;
  text-decoration: none;
  color: var(--text-primary) !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.vertical-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
}

.card-accent {
  height: 3px;
  width: 48px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.cask-accent {
  background: #007aff;
}
.surakshak-accent {
  background: #22d3ee;
}
.olympiad-accent {
  background: #fbbf24;
}
.podcast-accent {
  background: #f472b6;
}
.slanglish-accent {
  background: #34d399;
}

[data-theme="light"] .cask-accent {
  background: #1d4ed8;
}
[data-theme="light"] .surakshak-accent {
  background: #0891b2;
}
[data-theme="light"] .olympiad-accent {
  background: #d97706;
}
[data-theme="light"] .podcast-accent {
  background: #db2777;
}
[data-theme="light"] .slanglish-accent {
  background: #059669;
}

.card-tag {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.ecosystem-card-lockup {
  display: flex;
  min-height: 112px;
  margin-bottom: 0;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
  text-align: center;
}

.ecosystem-card-lockup-cask,.ecosystem-card-lockup-nco {
  min-height: 94px;
}
/* 
.ecosystem-card-lockup-nco {
  min-height: 112px;
} */

.ecosystem-card-label {
  font-family: var(--font-ui);
  font-size: clamp(20px, 2vw, 32px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.035em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.ecosystem-cask-logo-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: min(118px, 56%);
  height: 100%;
}

.ecosystem-cask-logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 40px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(0, 122, 255, 0.18));
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.3s ease;
}

.ecosystem-nco-logo {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 10px 18px rgba(251, 191, 36, 0.16));
  transform: scale(1.18);
  transition:
    transform 0.3s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.3s ease;
}

.vertical-card.cask-card,
.vertical-card.olympiad-card {
  border: none;
  background: transparent !important;
  box-shadow: none;
  width: auto;
  min-width: 0;
  padding: 34px clamp(24px, 3vw, 42px);
  gap: 12px;
  min-height: 100%;
  isolation: isolate;
  z-index: 1;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

#ecosystem .vertical-card.cask-card > *,
#ecosystem .vertical-card.olympiad-card > * {
  position: relative;
  z-index: 1;
}

.vertical-card.cask-card:hover,
.vertical-card.olympiad-card:hover {
  border: none;
  background: transparent !important;
  box-shadow: none;
  transform: translateY(-5px);
}

#ecosystem .vertical-card.cask-card::before,
#ecosystem .vertical-card.olympiad-card::before {
  content: none;
}

#ecosystem .vertical-card.cask-card:hover::before,
#ecosystem .vertical-card.olympiad-card:hover::before {
  content: none;
}

.vertical-card.cask-card {
  overflow: visible;
}

.vertical-card.cask-card::after {
  content: "";
  position: absolute;
  top: 38px;
  right: 0;
  bottom: 38px;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    rgba(255, 255, 255, 0.16),
    rgba(0, 122, 255, 0.4),
    rgba(251, 191, 36, 0.26),
    transparent
  );
  z-index: 2;
  pointer-events: none;
}

#ecosystem .vertical-card.cask-card p,
#ecosystem .vertical-card.olympiad-card p {
  flex: 0 0 auto;
  max-width: 54ch;
  margin: 0 auto;
  text-align: left;
  line-height: 1.62;
}

#ecosystem .vertical-card.cask-card p:first-of-type,
#ecosystem .vertical-card.olympiad-card p:first-of-type {
  display: flex;
  align-items: start;
  justify-content: center;
  max-width: none;
  color: rgba(255, 255, 255, 0.86) !important;
  /* font-weight: 650; */
  line-height: 1.55;
}

#ecosystem .vertical-card.cask-card p {
  max-width: 54ch;
}

#ecosystem .vertical-card.cask-card p + p,
#ecosystem .vertical-card.olympiad-card p + p {
  margin-top: 8px;
}

#ecosystem .ecosystem-card-points {
  display: grid;
  gap: 9px;
  max-width: 54ch;
  margin: 8px auto 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

#ecosystem .ecosystem-card-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(255, 255, 255, 0.86) !important;
  font-size: 14px;
  line-height: 1.55;
}

#ecosystem .ecosystem-card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.74;
}

#ecosystem .vertical-card.cask-card .card-footer-row,
#ecosystem .vertical-card.olympiad-card .card-footer-row {
  margin-top: auto;
  padding-top: 22px;
  justify-content: center;
  gap: 12px;
  border-top-color: rgba(255, 255, 255, 0.1);
}

#ecosystem .vertical-card.cask-card .card-footer-row,
#ecosystem .vertical-card.olympiad-card .card-footer-row {
  gap: 0 !important;
}

#ecosystem .ecosystem-card-btn {
  --ecosystem-btn-accent: var(--primary);
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  max-width: 100%;
  padding: 12px 20px;
  overflow: hidden;
  color: #fff !important;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(0, 122, 255, 0.96), rgba(21, 95, 214, 0.94));
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  box-shadow:
    0 12px 26px rgba(0, 122, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  transform: translateZ(0);
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease;
}

#ecosystem .ecosystem-card-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.24) 42%, transparent 58%);
  transform: translateX(-120%);
  transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

#ecosystem .ecosystem-card-btn > span {
  position: relative;
  z-index: 1;
}

#ecosystem .ecosystem-card-btn .card-sublabel {
  color: inherit;
  font-size: inherit;
  font-weight: inherit;
}

#ecosystem .ecosystem-card-btn .icon-arrow-right {
  margin-left: 0;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

#ecosystem .ecosystem-card-btn:hover,
#ecosystem .ecosystem-card-btn:focus-visible {
  border-color: rgba(255, 255, 255, 0.26);
  box-shadow:
    0 16px 34px rgba(0, 122, 255, 0.26),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
}

#ecosystem .ecosystem-card-btn:hover::before,
#ecosystem .ecosystem-card-btn:focus-visible::before {
  transform: translateX(120%);
}

#ecosystem .ecosystem-card-btn:hover .icon-arrow-right,
#ecosystem .ecosystem-card-btn:focus-visible .icon-arrow-right {
  transform: translateX(3px);
}

#ecosystem .ecosystem-card-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.78);
  outline-offset: 3px;
}

#ecosystem .olympiad-card .ecosystem-card-btn {
  --ecosystem-btn-accent: #fbbf24;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.04)),
    linear-gradient(135deg, rgba(251, 191, 36, 0.96), rgba(217, 119, 6, 0.94));
  box-shadow:
    0 12px 26px rgba(251, 191, 36, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

#ecosystem .olympiad-card .ecosystem-card-btn:hover,
#ecosystem .olympiad-card .ecosystem-card-btn:focus-visible {
  box-shadow:
    0 16px 34px rgba(251, 191, 36, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.26);
}

#ecosystem .vertical-card.cask-card:hover .ecosystem-cask-logo {
  transform: translateY(-2px) scale(1.04);
}

#ecosystem .vertical-card.cask-card:hover .ecosystem-cask-logo {
  filter: drop-shadow(0 14px 24px rgba(0, 122, 255, 0.28));
}

#ecosystem .vertical-card.olympiad-card:hover .ecosystem-nco-logo {
  transform: translateY(-2px) scale(1.24);
  filter: drop-shadow(0 14px 24px rgba(251, 191, 36, 0.26));
}

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

@keyframes ecosystemAmbientDrift {
  0% {
    transform: translate3d(-1.5%, -1%, 0) scale(1);
    background-position:
      0% 40%,
      100% 60%,
      50% 50%;
  }
  100% {
    transform: translate3d(1.5%, 1%, 0) scale(1.04);
    background-position:
      18% 48%,
      82% 52%,
      56% 46%;
  }
}

[data-theme="light"] .ecosystem-cask-logo {
  filter: drop-shadow(0 10px 16px rgba(29, 78, 216, 0.12));
}

[data-theme="light"] #ecosystem .verticals-grid {
  background: transparent;
}

[data-theme="light"] #ecosystem .verticals-grid::before {
  background: conic-gradient(
    from 120deg,
    rgba(29, 78, 216, 0.09),
    rgba(217, 119, 6, 0.08),
    rgba(8, 145, 178, 0.06),
    rgba(29, 78, 216, 0.09)
  );
  opacity: 0.34;
}

[data-theme="light"] #ecosystem .vertical-card.cask-card::before,
[data-theme="light"] #ecosystem .vertical-card.olympiad-card::before {
  content: none;
}

[data-theme="light"] .ecosystem-nco-logo {
  filter: drop-shadow(0 10px 16px rgba(217, 119, 6, 0.12));
}

[data-theme="light"] #ecosystem .vertical-card.cask-card p:first-of-type,
[data-theme="light"] #ecosystem .vertical-card.olympiad-card p:first-of-type {
  color: rgba(10, 15, 32, 0.82) !important;
}

[data-theme="light"] #ecosystem .ecosystem-grid-note {
  color: rgba(10, 15, 32, 0.78);
  background: linear-gradient(90deg, transparent, rgba(10, 15, 32, 0.035) 25%, rgba(10, 15, 32, 0.035) 75%, transparent);
}

[data-theme="light"] #ecosystem .ecosystem-note-learn {
  color: #1d5fba;
}

[data-theme="light"] #ecosystem .ecosystem-note-achieve {
  color: #946000;
}

[data-theme="light"] #ecosystem .ecosystem-card-points li {
  color: rgba(10, 15, 32, 0.68);
}

[data-theme="light"] .vertical-card.cask-card::after {
  background: linear-gradient(
    180deg,
    transparent,
    rgba(10, 15, 32, 0.1),
    rgba(29, 78, 216, 0.3),
    rgba(217, 119, 6, 0.22),
    transparent
  );
}

[data-theme="light"] #ecosystem .vertical-card.cask-card .card-footer-row,
[data-theme="light"] #ecosystem .vertical-card.olympiad-card .card-footer-row {
  border-top-color: rgba(10, 15, 32, 0.1);
}

[data-theme="light"] #ecosystem .ecosystem-card-btn {
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow:
    0 12px 24px rgba(29, 78, 216, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

[data-theme="light"] #ecosystem .olympiad-card .ecosystem-card-btn {
  box-shadow:
    0 12px 24px rgba(217, 119, 6, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

[data-theme="light"] .vertical-card.cask-card,
[data-theme="light"] .vertical-card.olympiad-card,
[data-theme="light"] .vertical-card.cask-card:hover,
[data-theme="light"] .vertical-card.olympiad-card:hover {
  border: none;
  background: transparent !important;
  box-shadow: none;
}

[data-theme="light"]
  #ecosystem
  .vertical-card.cask-card:hover
  .ecosystem-cask-logo {
  filter: drop-shadow(0 14px 22px rgba(29, 78, 216, 0.18));
}

[data-theme="light"]
  #ecosystem
  .vertical-card.olympiad-card:hover
  .ecosystem-nco-logo {
  filter: drop-shadow(0 14px 22px rgba(217, 119, 6, 0.18));
}

@media (prefers-reduced-motion: reduce) {
  html.js-home-anim .hs-await-reveal,
  html.js-home-anim .hero-map-col,
  html.js-home-anim .hs-type-char {
    clip-path: none;
    opacity: 1;
    transform: none;
    visibility: visible;
  }
  #ecosystem::before {
    animation: none;
  }

  #ecosystem .verticals-grid::before {
    animation: none;
  }

  #ecosystem .vertical-card.cask-card,
  #ecosystem .vertical-card.olympiad-card,
  #ecosystem .ecosystem-card-btn,
  #ecosystem .ecosystem-card-btn::before,
  #ecosystem .ecosystem-card-btn .icon-arrow-right,
  .ecosystem-cask-logo,
  .ecosystem-nco-logo,
  #ecosystem .vertical-card.cask-card::before,
  #ecosystem .vertical-card.olympiad-card::before {
    transition: none;
  }
}

.vertical-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 0;
  line-height: 1.2;
}

.vertical-card p {
  font-size: 14px;
  color: var(--text-secondary) !important;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.card-sublabel {
  font-family: var(--font-ui);
  font-size: 11px;
  color: var(--text-secondary);
  font-weight: 500;
}

.card-link-arrow {
  color: var(--primary);
  transition: transform 0.2s;
}

.vertical-card:hover .card-link-arrow {
  transform: translateX(4px);
}

/* ── MOVEMENT / ABOUT ─────────────────────────────────────────── */
.movement-section {
  padding: 56px 0;
  background: var(--bg) !important;
}

/* ── 2×2 grid: each row pair naturally shares the same height ───────────
   Row 1: [text-top | CERT-In card]   → tops align, heights match
   Row 2: [bahl-quote | Cyber Buddha] → tops align, bottoms align
   ─────────────────────────────────────────────────────────────────────── */
.movement-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 56px;
  row-gap: 24px;
  align-items: stretch;
}

/* Top-left cell */
.movement-text-top {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

.movement-text-spacing{
  display: inline-block;
  margin-bottom: 10px;
}

.movement-text-top-spacing{
  display: inline-block;
  margin-top: 10px;
}

/* Legacy selectors — kept for safety but no longer used in the grid */
.movement-text {
  display: flex;
  flex-direction: column;
}
.movement-text .bahl-quote {
  margin-top: auto;
}
.movement-visual {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 20px;
  align-self: stretch;
}
.movement-visual .partner-card {
  margin-bottom: 0;
}

/* Heading inside top-left cell */
.movement-text-top h2,
.movement-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 10px 0 18px;
  line-height: 1.25;
}

.movement-text-top > p,
.movement-text > p {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.bahl-quote {
  margin-top: 0; /* grid row handles spacing */
  padding: 24px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--primary);
  border-radius: 12px;
  height: 100%;
  box-sizing: border-box;
}

.bahl-quote > p {
  font-size: 16px;
  font-style: italic;
  color: var(--text-primary) !important;
  line-height: 1.65;
  margin-bottom: 8px;
}

.bahl-cite-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border-bottom: none;
}

.bahl-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  flex-shrink: 0;
  border: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
}

.bahl-cite-row cite {
  font-style: normal;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-primary) !important;
  display: block;
  margin-bottom: 3px;
}

.bahl-title {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.4;
}

.partner-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
}

.partner-logo-row {
  margin-bottom: 16px;
}

.partner-logo-img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* Cyber Buddha logo always on white background */
.cyberbuddha-logo-wrap {
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
}

.cyberbuddha-logo-wrap img {
  height: 48px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
}

/* CERT-In box: single combined logo image */
.certin-combo-img {
  width: 100%;
  max-width: 280px;
  height: auto;
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  object-fit: contain;
}

/* Cyber Buddha box: logo image */
.cyberbuddha-combo-img {
  width: auto;
  max-width: 130px;
  max-height: 110px;
  display: block;
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  object-fit: contain;
}

/* Partner logo floating marquee */
.partner-logo-marquee-wrap {
  width: 100%;
  max-width: 860px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 12%,
    black 88%,
    transparent 100%
  );
}

.partner-logo-marquee-track {
  display: flex;
  align-items: center;
  gap: 28px;
  width: max-content;
  animation: partnerScroll 22s linear infinite;
}

.partner-logo-marquee-track:hover {
  animation-play-state: paused;
}

@keyframes partnerScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.partner-logo-chip {
  background: #fff;
  border-radius: 12px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

.partner-logo-chip img {
  height: 72px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  display: block;
}

.partner-desc {
  font-size: 13px;
  color: var(--text-secondary) !important;
  line-height: 1.7;
  margin-bottom: 8px;
}

/* ── CASK SECTION ─────────────────────────────────────────────── */
.cask-section {
  padding: 100px 0 60px;
  background: var(--bg-surface) !important;
}

.cask-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
  margin-bottom: 56px;
}

.cask-text .section-tag {
  margin-bottom: 16px;
}

.cask-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 12px 0 20px;
  line-height: 1.25;
}

.cask-text > p {
  font-size: 15px;
  color: var(--text-secondary) !important;
  line-height: 1.75;
  margin-bottom: 16px;
}

.cask-text > .btn-primary {
  margin-top: 8px;
}

.cask-more-block p {
  font-size: 15px;
  color: var(--text-secondary) !important;
  line-height: 1.75;
}

.cask-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  margin: 2px 0 16px;
  padding: 0;
  border: none;
  background: none;
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  cursor: pointer;
  text-decoration: none;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.cask-more-btn:hover,
.cask-more-btn:focus-visible {
  color: var(--accent-saffron);
  transform: translateX(3px);
}

.cask-tiers {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tier-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
}

.tier-featured {
  border-color: var(--primary);
  background: rgba(0, 122, 255, 0.04);
}

[data-theme="light"] .tier-featured {
  border-color: #1d4ed8;
  background: rgba(29, 78, 216, 0.04);
}

.tier-badge {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.free-badge {
  background: rgba(52, 211, 153, 0.12);
  color: #34d399;
  border: 1px solid rgba(52, 211, 153, 0.25);
}

[data-theme="light"] .free-badge {
  color: #059669;
  background: rgba(5, 150, 105, 0.1);
  border-color: rgba(5, 150, 105, 0.2);
}

.ai-badge {
  background: rgba(0, 122, 255, 0.12);
  color: var(--primary);
  border: 1px solid rgba(0, 122, 255, 0.25);
}

[data-theme="light"] .ai-badge {
  color: #1d4ed8;
  background: rgba(29, 78, 216, 0.08);
  border-color: rgba(29, 78, 216, 0.2);
}

.tier-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin-bottom: 4px;
}

.tier-sub {
  font-size: 12px;
  color: var(--text-secondary) !important;
  margin-bottom: 14px;
}

.tier-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tier-list li {
  font-size: 13px;
  color: var(--text-secondary);
  padding-left: 16px;
  position: relative;
  line-height: 1.4;
}

.tier-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--primary);
}

.audience-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

.audience-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  text-align: center;
  transition: all 0.25s;
}

.audience-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.audience-featured {
  border-color: var(--primary);
}

.audience-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.audience-icon svg {
  width: 48px;
  height: 48px;
}

/* Per-audience icon colors */
.aud-student {
  color: #007aff;
}
.aud-teacher {
  color: #fbbf24;
}
.aud-school {
  color: #34d399;
}

[data-theme="light"] .aud-teacher {
  color: #d97706;
}
[data-theme="light"] .aud-school {
  color: #059669;
}

.audience-card h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin-bottom: 8px;
}

.audience-card p {
  font-size: 13px;
  color: var(--text-secondary) !important;
  line-height: 1.6;
  margin: 0;
}

/* ── SURAKSHAK SECTION ────────────────────────────────────────── */
.surakshak-section {
  padding: 100px 0;
  background: var(--bg) !important;
}

.surakshak-inner {
  text-align: center;
}

.surakshak-inner h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 12px 0 16px;
  line-height: 1.2;
}

.surakshak-inner .section-sub {
  max-width: 540px;
  margin: 0 auto 56px;
  color: var(--text-secondary);
  font-size: 16px;
}

.steps-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step-item {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 28px 24px;
  text-align: center;
  width: 200px;
  transition: all 0.25s;
}

.step-item:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
}

.step-num {
  font-family: var(--font-ui);
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 10px;
  line-height: 1;
}

.step-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin-bottom: 8px;
}

.step-item p {
  font-size: 13px;
  color: var(--text-secondary) !important;
  line-height: 1.6;
  margin: 0;
}

.step-connector {
  width: 32px;
  height: 2px;
  background: var(--border);
  margin-top: 52px;
  flex-shrink: 0;
}

/* ── PHISH AND CHIP SECTION ───────────────────────────────────── */
.podcast-section {
  padding: 100px 0;
  background: var(--bg-surface) !important;
}

.podcast-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.podcast-text .section-tag {
  margin-bottom: 16px;
}

.podcast-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 12px 0 20px;
  line-height: 1.25;
}

.podcast-text > p {
  font-size: 15px;
  color: var(--text-secondary) !important;
  line-height: 1.75;
  margin-bottom: 24px;
}

.segment-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 28px;
}

.segment-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}

.segment-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin-bottom: 6px;
}

.segment-card p {
  font-size: 13px;
  color: var(--text-secondary) !important;
  line-height: 1.6;
  margin: 0;
}

.podcast-hero-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.podcast-waveform {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 48px;
}

.podcast-waveform span {
  flex: 1;
  border-radius: 3px;
  background: var(--primary);
  animation: waveAnim 1.4s ease-in-out infinite;
  opacity: 0.7;
}

.podcast-waveform span:nth-child(1) {
  height: 18px;
  animation-delay: 0s;
}
.podcast-waveform span:nth-child(2) {
  height: 32px;
  animation-delay: 0.1s;
}
.podcast-waveform span:nth-child(3) {
  height: 48px;
  animation-delay: 0.2s;
}
.podcast-waveform span:nth-child(4) {
  height: 28px;
  animation-delay: 0.3s;
}
.podcast-waveform span:nth-child(5) {
  height: 40px;
  animation-delay: 0.4s;
}
.podcast-waveform span:nth-child(6) {
  height: 22px;
  animation-delay: 0.5s;
}
.podcast-waveform span:nth-child(7) {
  height: 44px;
  animation-delay: 0.6s;
}
.podcast-waveform span:nth-child(8) {
  height: 36px;
  animation-delay: 0.5s;
}
.podcast-waveform span:nth-child(9) {
  height: 48px;
  animation-delay: 0.4s;
}
.podcast-waveform span:nth-child(10) {
  height: 30px;
  animation-delay: 0.3s;
}
.podcast-waveform span:nth-child(11) {
  height: 20px;
  animation-delay: 0.2s;
}
.podcast-waveform span:nth-child(12) {
  height: 38px;
  animation-delay: 0.1s;
}
.podcast-waveform span:nth-child(13) {
  height: 26px;
  animation-delay: 0s;
}
.podcast-waveform span:nth-child(14) {
  height: 42px;
  animation-delay: 0.1s;
}
.podcast-waveform span:nth-child(15) {
  height: 16px;
  animation-delay: 0.2s;
}

@keyframes waveAnim {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(0.4);
  }
}

.podcast-new-pill {
  display: inline-block;
  background: rgba(0, 122, 255, 0.12);
  color: var(--primary);
  border: 1px solid rgba(0, 122, 255, 0.25);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.podcast-ep-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary) !important;
  line-height: 1.4;
  margin-bottom: 8px;
}

.podcast-ep-guest {
  font-size: 13px;
  color: var(--text-secondary);
  font-style: italic;
}

/* ── SLANGLISH SECTION ────────────────────────────────────────── */
.slanglish-section {
  padding: 100px 0;
  background: var(--bg) !important;
}

.slanglish-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.slanglish-text .section-tag {
  margin-bottom: 16px;
}

.slanglish-text h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 12px 0 20px;
  line-height: 1.25;
}

.slanglish-text > p {
  font-size: 15px;
  color: var(--text-secondary) !important;
  line-height: 1.75;
  margin-bottom: 16px;
}

.slanglish-text > .btn-outline {
  margin-top: 8px;
}

.word-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.word-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  transition: all 0.25s;
}

.word-card:hover {
  border-color: var(--border-hover);
  transform: translateX(4px);
}

.word-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.word-term {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
}

.word-pill {
  font-family: var(--font-ui);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
}

.cyber-pill {
  background: rgba(0, 122, 255, 0.12);
  color: #007aff;
}
.slang-pill {
  background: rgba(244, 114, 182, 0.12);
  color: #f472b6;
}
.ai-pill {
  background: rgba(167, 139, 250, 0.12);
  color: #a78bfa;
}

[data-theme="light"] .cyber-pill {
  color: #1d4ed8;
  background: rgba(29, 78, 216, 0.08);
}
[data-theme="light"] .slang-pill {
  color: #db2777;
  background: rgba(219, 39, 119, 0.08);
}
[data-theme="light"] .ai-pill {
  color: #6d28d9;
  background: rgba(109, 40, 217, 0.08);
}

.word-def {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* ── PARTNER CTA ──────────────────────────────────────────────── */
.partner-section {
  padding: 100px 0;
  background: var(--bg-surface) !important;
}

.partner-inner {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.partner-inner h2 {
  font-size: 34px;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin: 12px 0 16px;
  line-height: 1.2;
}

.partner-inner > p {
  font-size: 16px;
  color: var(--text-secondary) !important;
  line-height: 1.7;
  margin-bottom: 28px;
}

.partner-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.partner-pill {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 16px;
  border-radius: 20px;
  transition: all 0.2s;
}

.partner-pill:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* ── FOOTER ───────────────────────────────────────────────────── */
.footer {
  background: var(--bg) !important;
  border-top: 1px solid var(--border);
  padding: clamp(52px, 7vw, 76px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.65fr);
  gap: clamp(36px, 6vw, 76px);
  align-items: start;
  padding-bottom: clamp(36px, 5vw, 56px);
}

/* footer logo — now lives inside white circle, controlled by .footer-logo-img at line 3146+ */

.footer-brand {
  max-width: 380px;
}

.footer-brand > p {
  font-size: 14px;
  color: var(--text-secondary) !important;
  line-height: 1.7;
  max-width: 340px;
  margin-bottom: 20px;
}

.footer-partner-logos {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 20px;
}

.footer-partner-logo {
  height: 24px;
  width: auto;
  object-fit: contain;
  opacity: 0.7;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-socials a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s,
    transform 0.2s;
}

.footer-socials a:hover {
  color: var(--primary);
  border-color: var(--text-primary);
  background: rgba(0, 122, 255, 0.08);
  transform: translateY(-2px);
}

.footer-socials a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
}

.footer-socials svg {
  display: block;
  width: 20px;
  height: 20px;
}

[data-theme="light"] .footer-socials a svg path {
  fill: #111827;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 42px);
  align-items: start;
}

.footer-col {
  min-width: 0;
}

.footer-col h5 {
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.footer-col a {
  display: block;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text-secondary);
  text-decoration: none;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  transition: color 0.2s;
}

/* .footer-col a:hover { color: var(--primary); } */

.footer-cta-link {
  color: var(--primary) !important;
  font-weight: 500 !important;
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 0;
  text-align: center;
}

.footer-bottom p {
  font-family: var(--font-ui);
  font-size: 12px;
  line-height: 1.6;
  color: var(--text-secondary) !important;
  max-width: 880px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .footer-brand {
    max-width: 680px;
  }

  .footer-brand > p {
    max-width: 620px;
  }
}

@media (max-width: 560px) {
  .footer {
    padding-top: 44px;
  }

  .footer-grid,
  .footer-brand {
    text-align: center;
  }

  .footer-brand > p {
    margin: 0 auto 20px;
    max-width: none;
  }

  .footer-bottom p {
    margin: 0 auto;
    max-width: none;
  }

  .footer-partner-logos,
  .footer-socials {
    justify-content: center;
  }

  .footer-links-group {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-col a {
    margin-left: auto;
    margin-right: auto;
  }
}

/* ── CURSOR GLOW ──────────────────────────────────────────────── */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 122, 255, 0.06) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: 9999;
  mix-blend-mode: screen;
  will-change: transform;
  transition: opacity 0.3s;
}

[data-theme="light"] .cursor-glow {
  background: radial-gradient(
    circle,
    rgba(29, 78, 216, 0.04) 0%,
    transparent 70%
  );
  mix-blend-mode: multiply;
}

/* ── INTERACTIVE CARD ELEMENTS ───────────────────────────────── */
.card-interactive {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  margin: 8px 0;
  overflow: hidden;
  /* Shared fixed height — CASK, Surakshak, Olympiad all equal */
  height: 112px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Podcast and Slanglish — same fixed height so boxes always match */
.podcast-card-interactive,
.slanglish-card-interactive {
  height: 165px;
  min-height: unset;
  justify-content: flex-start;
  overflow: hidden;
}

/* CASK — mini chat */
.mini-chat-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-chat-msg {
  align-self: flex-end;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 10px;
  border-radius: 12px 12px 2px 12px;
  max-width: 90%;
}

.mini-chat-reply {
  align-self: flex-start;
  background: var(--bg-card-hover);
  color: var(--text-secondary);
  font-size: 11px;
  padding: 5px 10px;
  border-radius: 2px 12px 12px 12px;
  max-width: 90%;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Surakshak — rank progress */
.rank-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.rank-badge-pill {
  font-size: 11px;
  font-weight: 600;
  background: rgba(34, 211, 238, 0.12);
  color: #22d3ee;
  border: 1px solid rgba(34, 211, 238, 0.25);
  padding: 3px 9px;
  border-radius: 20px;
}

[data-theme="light"] .rank-badge-pill {
  color: #0891b2;
  background: rgba(8, 145, 178, 0.1);
  border-color: rgba(8, 145, 178, 0.2);
}

.rank-credits {
  font-size: 11px;
  color: var(--text-secondary);
}

.credits-track {
  height: 5px;
  background: var(--bg-card-hover);
  border-radius: 5px;
  overflow: hidden;
}

.credits-fill {
  height: 100%;
  background: linear-gradient(90deg, #22d3ee, #007aff);
  border-radius: 5px;
  transition: width 1s ease;
}

/* Olympiad — live stats */
.live-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.live-stat {
  text-align: center;
}

.live-num {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
}

.live-lbl {
  font-size: 10px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.live-stat-div {
  width: 1px;
  height: 28px;
  background: var(--border);
}

/* Phish & Chip — mini player */
.mini-player-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-play-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #f472b6;
  border: none;
  color: #fff;
  font-size: 10px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

.mini-play-btn:hover {
  transform: scale(1.1);
}

.mini-wave-row {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 2px;
  height: 24px;
}

.mini-wave-row span {
  flex: 1;
  border-radius: 2px;
  background: rgba(244, 114, 182, 0.4);
  height: 8px;
  transition: height 0.3s;
}

.mini-wave-row.playing span {
  animation: miniWave 0.8s ease-in-out infinite alternate;
}

.mini-wave-row span:nth-child(1) {
  animation-delay: 0s;
}
.mini-wave-row span:nth-child(2) {
  animation-delay: 0.1s;
}
.mini-wave-row span:nth-child(3) {
  animation-delay: 0.2s;
}
.mini-wave-row span:nth-child(4) {
  animation-delay: 0.3s;
}
.mini-wave-row span:nth-child(5) {
  animation-delay: 0.4s;
}
.mini-wave-row span:nth-child(6) {
  animation-delay: 0.3s;
}
.mini-wave-row span:nth-child(7) {
  animation-delay: 0.2s;
}
.mini-wave-row span:nth-child(8) {
  animation-delay: 0.1s;
}
.mini-wave-row span:nth-child(9) {
  animation-delay: 0.2s;
}
.mini-wave-row span:nth-child(10) {
  animation-delay: 0.3s;
}

@keyframes miniWave {
  from {
    height: 4px;
  }
  to {
    height: 20px;
  }
}

.mini-ep-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--text-secondary);
  flex-shrink: 0;
}

/* Slanglish — word cycling */
.word-cycle {
  position: relative;
}

.cycle-word {
  display: none;
  flex-direction: column;
  gap: 5px;
}

.cycle-word.active-word {
  display: flex;
}

.cw-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cw-term {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.cw-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 20px;
}

/* Definition line below the term */
.cw-def {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.45;
  margin: 0;
  font-style: italic;
}

/* ── CASK UNIFIED TIER ────────────────────────────────────────── */
/* padding-top aligns the chatbot with the h2 heading in the left column */
/* section-tag ~28px + margin ~16px + h2 line ~14px ≈ 58px */
.cask-resources {
  width: 100%;
  padding-top: 58px;
}

/* ── LOGO DARK/LIGHT TOGGLE ───────────────────────────────────── */
/* Default = dark theme */
.logo-dark {
  display: block;
}
.logo-light {
  display: none;
}
[data-theme="light"] .logo-dark {
  display: none;
}
[data-theme="light"] .logo-light {
  display: block;
}

/* ── CASK VERTICAL CARD — split layout with logo ─────────────── */
.cask-card-split {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
}
.cask-card-split .mini-chat-wrap {
  flex: 1;
  min-width: 0;
}

/* CASK + Slanglish top-row logo cols */
.cask-card-logo-col,
.slang-card-logo-col {
  flex-shrink: 0;
  border-radius: 9px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cask-card-logo-col {
  width: auto;
  height: 30px;
}

.slang-card-logo-col {
  width: auto;
  height: 40px;
}

.cask-vcard-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9px;
  display: block;
}

/* ── SLANGLISH VERTICAL CARD — logo in top row ───────────────── */
.slang-vcard-logo {
  width: auto;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  opacity: 0.92;
  display: block;
}

/* ── Logo dark/light toggle — combined class specificity beats display:block ── */
/* Dark mode (default): hide all light-version logos in card-top-row */
.cask-vcard-logo.logo-light,
.slang-vcard-logo.logo-light {
  display: none !important;
}
/* Light mode: hide dark logos, show light logos */
[data-theme="light"] .cask-vcard-logo.logo-dark,
[data-theme="light"] .slang-vcard-logo.logo-dark {
  display: none !important;
}
[data-theme="light"] .cask-vcard-logo.logo-light,
[data-theme="light"] .slang-vcard-logo.logo-light {
  display: block !important;
}

/* ── CASK SECTION — logo+label horizontal row ─────────────────── */
.cask-section-logo-wrap {
  margin-bottom: 16px;
}
.cask-logo-label-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.cask-section-logo {
  width: auto;
  height: 32px;
  object-fit: cover;
  /* border-radius: 14px; */
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}
.cask-logo-label-text {
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
}

/* ── SLANGLISH SECTION — logo + title horizontal row ─────────── */
.slang-section-logo-wrap {
  margin-bottom: 12px;
}
.slang-logo-title-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}
.slang-section-logo {
  width: 115px;
  height: 80px;
  object-fit: contain;
  border-radius: 12px;
  flex-shrink: 0;
}
.slang-logo-title {
  font-family: "Syne", sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--text-primary);
  margin: 0;
  line-height: 1;
}

.tier-unified {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px;
  width: 100%;
}

.tier-unified h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin-bottom: 4px;
}

.tier-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 24px;
  margin-top: 14px;
}

.tier-two-col li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ai-inline-pill {
  font-size: 9px;
  font-weight: 700;
  background: rgba(0, 122, 255, 0.12);
  color: var(--primary);
  border: 1px solid rgba(0, 122, 255, 0.2);
  padding: 1px 6px;
  border-radius: 20px;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ── SURAKSHAK UNLOCK JOURNEY ─────────────────────────────────── */
.journey-path {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: nowrap;
  margin-bottom: 36px;
  /* overflow-x: auto; */
}

.journey-level {
  background: var(--bg-surface);
  border: 2px solid var(--border);
  border-radius: 16px;
  padding: 24px 16px;
  width: 180px;
  min-width: 160px;
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.4s ease;
  position: relative;
  text-align: center;
}

.journey-level.locked {
  opacity: 0.55;
}

.journey-level.unlocked {
  border-color: var(--primary);
  background: rgba(0, 122, 255, 0.05);
  opacity: 1;
  transform: translateY(-4px);
}

[data-theme="light"] .journey-level.unlocked {
  border-color: #1d4ed8;
  background: rgba(29, 78, 216, 0.05);
}

.jl-lock {
  font-size: 24px;
  margin-bottom: 8px;
}
.journey-level.unlocked .jl-lock {
  display: none;
}

.jl-num {
  font-size: 28px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 6px;
}

.journey-level h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin-bottom: 0;
}

.jl-reveal {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
}

.journey-level.unlocked .jl-reveal {
  max-height: 200px;
}

.jl-tasks {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.jl-tasks p {
  font-size: 12px !important;
  color: var(--text-secondary) !important;
  line-height: 1.5;
  margin-bottom: 4px;
}

.jl-reward {
  font-size: 11px;
  font-weight: 600;
  color: var(--primary);
  margin-top: 10px;
  padding: 6px 10px;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 8px;
  line-height: 1.5;
}

.jl-connector {
  width: 28px;
  height: 2px;
  background: var(--border);
  margin-top: 52px;
  flex-shrink: 0;
}

/* ── SURAKSHAK LIVE PANEL (journey section) ────────────────────── */
.surakshak-live-panel {
  max-width: 640px;
  margin: 36px auto 28px;
  background: var(--bg-surface);
  border: 1px solid rgba(34, 211, 238, 0.28);
  box-shadow:
    0 0 0 3px rgba(34, 211, 238, 0.05),
    0 4px 16px rgba(34, 211, 238, 0.1);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: left;
}

.slp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.slp-title {
  font-size: 11px;
  font-weight: 700;
  color: #22d3ee;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex: 1;
}

.slp-count {
  font-size: 11px;
  color: var(--text-secondary);
}

.slp-feed {
  display: flex;
  flex-direction: column;
  max-height: 210px;
  overflow: hidden;
}

.slp-item {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.45;
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
}

.slp-item:last-child {
  border-bottom: none;
}
.slp-item strong {
  color: var(--text-primary);
  font-weight: 600;
}
.slp-item em {
  color: #22d3ee;
  font-style: normal;
  font-weight: 600;
}

[data-theme="light"] .surakshak-live-panel {
  border-color: rgba(8, 145, 178, 0.3);
  box-shadow:
    0 0 0 3px rgba(8, 145, 178, 0.05),
    0 4px 16px rgba(8, 145, 178, 0.1);
}

[data-theme="light"] .slp-title {
  color: #0891b2;
}
[data-theme="light"] .slp-item em {
  color: #0891b2;
}

.credits-counter-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-ui);
  font-size: 14px;
  color: var(--text-secondary);
  margin-top: 8px;
}

.credits-big {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  min-width: 60px;
  text-align: center;
}

/* ── OLYMPIAD QUIZ ─────────────────────────────────────────────── */
.olympiad-quiz-section {
  padding: 100px 0;
  background: var(--bg) !important;
}

.quiz-wrapper {
  max-width: 640px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════════════
   NCSO — National Cyber Suraksha Olympiad Section
═══════════════════════════════════════════════════ */
.nco-section {
  background: #060810;
  padding: 48px 0 60px;
  overflow: hidden;
  position: relative;
}
[data-theme="light"] .nco-section {
  background: #f0f4ff;
}

.nco-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 122, 255, 0.12) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 122, 255, 0.12) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
[data-theme="light"] .nco-bg-grid {
  background-image:
    linear-gradient(rgba(0, 80, 200, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 80, 200, 0.1) 1px, transparent 1px);
}

.nco-hd {
  margin-bottom: 32px;
}

/* Two-column layout */
.nco-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  max-width: 1160px;
  margin: 0 auto;
}

/* ── Path (left) ─────────────────────────────────── */
.nco-path-wrap {
  position: relative;
  padding-left: 0;
}

.nco-path-line {
  position: absolute;
  left: 22px;
  top: 64px;
  bottom: 80px;
  width: 2px;
  background: rgba(0, 122, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.nco-path-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, #007aff, #00d2ff);
  transition: height 1.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

/* Level row */
.nco-level {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  position: relative;
  z-index: 1;
}

.nco-node-col {
  flex-shrink: 0;
}

.nco-node {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 122, 255, 0.06);
  border: 2px solid rgba(0, 122, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nco-level.lit .nco-node {
  background: rgba(0, 122, 255, 0.15);
  border-color: #007aff;
  box-shadow:
    0 0 0 6px rgba(0, 122, 255, 0.1),
    0 0 24px rgba(0, 122, 255, 0.3);
  transform: scale(1.08);
}

/* Card */
.nco-card {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 13px 18px;
  cursor: default;
  transition: all 0.3s ease;
  margin-bottom: 8px;
}
.nco-level.lit .nco-card {
  border-color: rgba(0, 122, 255, 0.25);
  background: rgba(0, 122, 255, 0.04);
}
.nco-card:hover {
  border-color: rgba(0, 122, 255, 0.45);
  background: rgba(0, 122, 255, 0.08);
  transform: translateX(6px);
  box-shadow: -4px 0 0 0 #007aff;
}
[data-theme="light"] .nco-card {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .nco-card:hover {
  background: rgba(0, 122, 255, 0.06);
}

.nco-card-top {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nco-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #007aff;
  background: rgba(0, 122, 255, 0.12);
  padding: 3px 10px;
  border-radius: 20px;
  flex-shrink: 0;
}
.nco-badge-gold {
  color: #007aff;
  background: rgba(0, 122, 255, 0.12);
}
.nco-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  flex: 1;
}
.nco-card-chevron {
  font-size: 20px;
  color: var(--text-secondary);
  transition: transform 0.3s;
  opacity: 0.5;
}
.nco-card:hover .nco-card-chevron {
  transform: rotate(90deg);
}

/* Expandable body — opens on hover */
.nco-card-body {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s,
    padding 0.3s;
  opacity: 0;
  padding-top: 0;
}
.nco-card:hover .nco-card-body {
  max-height: 200px;
  opacity: 1;
  padding-top: 14px;
}

.nco-topics {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.nco-topics span {
  font-size: 12px;
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.15);
  color: var(--text-secondary);
  padding: 4px 12px;
  border-radius: 20px;
}
.nco-desc {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Step arrow between levels */
.nco-arrow-step {
  font-size: 18px;
  color: rgba(0, 122, 255, 0.4);
  text-align: left;
  padding: 1px 0 1px 12px;
  font-weight: 300;
  animation: ncoPulse 2s ease-in-out infinite;
}
@keyframes ncoPulse {
  0%,
  100% {
    opacity: 0.4;
    transform: translateY(0);
  }
  50% {
    opacity: 0.9;
    transform: translateY(3px);
  }
}

.nco-cta-row {
  margin-top: 20px;
  padding-left: 66px;
}

/* ── Shield + Quiz (right) ───────────────────────── */
.nco-right-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 72px;
}

.nco-shield-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.nco-shield-svg {
  width: 120px;
  height: 140px;
  filter: drop-shadow(0 0 18px rgba(0, 122, 255, 0.3));
}
.nco-shield-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 600;
}
.nco-shield-pct {
  font-size: 30px;
  font-weight: 900;
  color: #007aff;
  line-height: 1;
}
.nco-shield-pct span {
  font-size: 16px;
}

/* Quiz card */
.nco-quiz-card {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 122, 255, 0.2);
  border-radius: 16px;
  padding: 16px;
}
[data-theme="light"] .nco-quiz-card {
  background: #fff;
  border-color: rgba(0, 122, 255, 0.2);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.nco-quiz-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.nco-quiz-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}
.nco-quiz-timer {
  font-size: 13px;
  font-weight: 700;
  color: #007aff;
  background: rgba(0, 122, 255, 0.1);
  padding: 2px 10px;
  border-radius: 20px;
  font-variant-numeric: tabular-nums;
}

.nco-quiz-progress-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  margin-bottom: 18px;
  overflow: hidden;
}
.nco-quiz-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #007aff, #00d2ff);
  border-radius: 3px;
  transition: width 1s linear;
}

.nco-quiz-q {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 14px;
}
.nco-quiz-opts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nco-opt-btn {
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.18s;
  font-family: var(--font-ui);
}
.nco-opt-btn:hover {
  background: rgba(0, 122, 255, 0.1);
  border-color: rgba(0, 122, 255, 0.4);
}
.nco-opt-btn.correct {
  background: rgba(34, 197, 94, 0.15);
  border-color: #22c55e;
  color: #22c55e;
}
.nco-opt-btn.wrong {
  background: rgba(239, 68, 68, 0.15);
  border-color: #ef4444;
  color: #ef4444;
}

[data-theme="light"] .nco-opt-btn {
  background: #f8fafc;
  border-color: #e2e8f0;
}
[data-theme="light"] .nco-opt-btn:hover {
  background: rgba(0, 122, 255, 0.06);
}

.nco-quiz-start-btn {
  width: 100%;
  padding: 12px;
  background: #007aff;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-ui);
  margin-top: 4px;
  transition: all 0.2s;
}
.nco-quiz-start-btn:hover {
  background: #0066d6;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 122, 255, 0.3);
}

/* Result */
.nco-quiz-result {
  text-align: center;
  padding: 8px 0;
}
.nco-result-badge {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.nco-result-score {
  font-size: 32px;
  font-weight: 900;
  color: #007aff;
}
.nco-result-msg {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 6px;
  line-height: 1.5;
}

/* Responsive */
@media (max-width: 860px) {
  .nco-layout {
    grid-template-columns: 1fr;
  }
  .nco-right-col {
    position: static;
  }
  .nco-cta-row {
    padding-left: 76px;
  }
}

.quiz-card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
}

.fake-message {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
  margin-bottom: 24px;
}

.msg-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.msg-sender {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  font-family: monospace;
}

.msg-urgent-pill {
  font-size: 10px;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.25);
  padding: 2px 8px;
  border-radius: 4px;
}

.msg-body {
  font-size: 14px;
  color: var(--text-secondary) !important;
  line-height: 1.6;
  margin-bottom: 10px;
}

.msg-link {
  font-size: 12px;
  color: #3b82f6;
  text-decoration: underline;
  font-family: monospace;
}

.quiz-q {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary) !important;
  margin-bottom: 20px;
  text-align: center;
}

.quiz-btns {
  display: flex;
  gap: 12px;
  justify-content: center;
}

.quiz-btn {
  flex: 1;
  max-width: 200px;
  padding: 13px 20px;
  border-radius: 10px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid;
  transition: all 0.2s;
}

.yes-btn {
  background: rgba(34, 197, 94, 0.08);
  border-color: rgba(34, 197, 94, 0.3);
  color: #16a34a;
}

.yes-btn:hover {
  background: rgba(34, 197, 94, 0.15);
}

.no-btn {
  background: rgba(239, 68, 68, 0.08);
  border-color: rgba(239, 68, 68, 0.3);
  color: #dc2626;
}

.no-btn:hover {
  background: rgba(239, 68, 68, 0.15);
}

.quiz-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quiz-feedback {
  margin-top: 20px;
}

.quiz-correct {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.25);
  border-radius: 10px;
  padding: 14px;
  font-size: 14px;
  color: #16a34a;
  line-height: 1.6;
}

.quiz-wrong {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: 10px;
  padding: 14px;
  font-size: 14px;
  color: #dc2626;
  line-height: 1.6;
}

/* ── ABOUT MOVEMENT — PARTNER CARD NEW STRUCTURES ──────────────── */
/* Card v2: white header band + dark body; fills grid row height */
.pc-v2 {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.pc-v2 .pc-body-content {
  flex: 1;
}
.pc-header-band {
  background: #ffffff !important;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: center; /* logo centred */
  min-height: 90px; /* consistent band height for both cards */
}
.certin-header-img {
  height: 52px;
  width: auto;
  max-width: 260px;
  object-fit: contain;
  display: block;
  filter: none !important;
}
.cyberbuddha-header-img {
  height: 60px;
  width: auto;
  max-width: 320px;
  object-fit: contain;
  display: block;
  filter: none !important;
}
.pc-v2 .pc-body-content {
  padding: 20px 24px;
}
/* reuse pc-split-tag inside pc-body-content */
.pc-v2 .pc-body-content .pc-split-tag {
  margin-bottom: 8px;
}

/* Bahl quote — white header band matching pc-header-band style */
.bahl-quote {
  margin-top: 0 !important;
  padding: 0 !important;
  border-radius: 0 var(--radius, 12px) var(--radius, 12px) 0 !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}
[data-theme="dark"] .bahl-quote {
  background: var(--bg) !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
}
.bahl-header-band {
  background: #ffffff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  min-height: 90px;
  flex-shrink: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
[data-theme="dark"] .bahl-header-band {
  background: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
/* Light mode: dark text in white band */
.bahl-header-band .bahl-cite-row cite {
  color: #1a1a2e;
}
.bahl-header-band .bahl-title {
  color: #555;
}
/* Dark mode: light text in dark band */
[data-theme="dark"] .bahl-header-band .bahl-cite-row cite {
  color: #e8eaf0;
}
[data-theme="dark"] .bahl-header-band .bahl-title {
  color: rgba(255, 255, 255, 0.52);
}
.bahl-cite-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 0 !important;
}
.bahl-body-content {
  flex: 1;
  padding: 20px 24px;
  background: var(--bg);
}
[data-theme="dark"] .bahl-body-content {
  background: var(--bg);
}
[data-theme="dark"] .bahl-body-content p,
[data-theme="dark"] .bahl-body-content .show-more-block p {
  color: rgba(255, 255, 255, 0.82) !important;
}
/* Light mode body bg stays transparent (inherits from bahl-quote bg-surface) */
[data-theme="light"] .bahl-body-content {
  background: var(--bg-surface);
}

/* Card split: grey-left circle + dark-right text */
.pc-split {
  padding: 0;
  overflow: hidden;
  display: flex;
}
.pc-split-left {
  background: #e8eaed;
  width: 130px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.pc-split-circle {
  width: 80px;
  height: 80px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.cyberbuddha-split-img {
  width: 60px;
  height: 60px;
  object-fit: contain;
}
.pc-split-right {
  flex: 1;
  padding: 18px 20px;
}
.pc-split-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
  display: block;
  margin-bottom: 10px;
}

/* ── FOOTER BRAND LOGO CIRCLE ───────────────────────────────────── */
.footer-logo-circle-link {
  display: inline-block;
  margin-bottom: 16px;
}
.footer-logo-circle {
  width: 72px;
  height: 72px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.18);
}
.footer-logo-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
  filter: none !important;
}
.footer-certin-logo {
  height: 46px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
}

/* ── PHISH & CHIP SHOW — PHISH BOWL GAME (CYBER BLUE) ───────────── */

/* ── CSS vars for theming ── */
.pnc-section {
  --pb-bg: #060d18;
  --pb-surface: #0b1929;
  --pb-border: rgba(0, 200, 255, 0.15);
  --pb-accent: #00c8ff;
  --pb-accent2: #0088cc;
  --pb-danger: #ff2244;
  --pb-text: #c0e8ff;
  --pb-muted: #3a6888;
  --pb-beam: rgba(0, 200, 255, 0.55);
}
[data-theme="light"] .pnc-section {
  --pb-bg: #f0f8ff;
  --pb-surface: #ffffff;
  --pb-border: rgba(0, 100, 180, 0.18);
  --pb-accent: #0066cc;
  --pb-accent2: #004a99;
  --pb-danger: #cc0022;
  --pb-text: #082040;
  --pb-muted: #5580a0;
  --pb-beam: rgba(0, 100, 200, 0.4);
}

/* Section shell */
.pnc-section {
  background: var(--pb-bg);
  padding: 100px 0 60px;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* ── Shader canvas — animated data-stream background ── */
#pbShaderCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 0;
  pointer-events: none;
}
/* light-mode shader palette handled via uLM uniform */

/* Container above shader */
.pb-container {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
}

/* Scanline CRT overlay */
.pnc-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 3px,
    rgba(0, 0, 0, 0.07) 3px,
    rgba(0, 0, 0, 0.07) 4px
  );
  pointer-events: none;
  z-index: 1;
}

/* Cyan corner-glow aura */
.pnc-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 28% 52%,
      rgba(0, 200, 255, 0.07) 0%,
      transparent 50%
    ),
    radial-gradient(
      ellipse at 72% 18%,
      rgba(0, 120, 220, 0.06) 0%,
      transparent 48%
    );
  pointer-events: none;
  z-index: 1;
}
.pnc-header {
  margin-bottom: 20px;
}
.pnc-tag {
  background: rgba(0, 200, 255, 0.1);
  color: var(--pb-accent);
  border: 1px solid rgba(0, 200, 255, 0.22);
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 5px 16px;
}
[data-theme="light"] .pnc-tag {
  background: rgba(0, 100, 200, 0.08);
  color: var(--pb-accent);
  border-color: rgba(0, 100, 200, 0.2);
}
.pnc-title {
  color: var(--pb-text);
  font-size: 1.65rem;
  font-weight: 700;
  margin-top: 8px;
  text-shadow: 0 0 30px rgba(0, 200, 255, 0.25);
}
[data-theme="light"] .pnc-title {
  text-shadow: none;
}
.pnc-sub {
  color: var(--pb-muted);
  font-size: 0.95rem;
  max-width: 540px;
  margin: 8px auto 0;
  line-height: 1.6;
}

/* Two-panel layout */
.pb-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 22px;
  align-items: start;
}

/* ══════════════════════════════════════════
   FEATURED EPISODE CARD (left)
══════════════════════════════════════════ */
.pb-feature-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 440px) {
  .slang-sp-header-left,
  .slang-stage,
  .slang-chips {
    width: 100% !important;
    margin-left: 0rem;
  }
  .slang-stage {
    padding: 40px 0px 28px !important;
  }
  .slang-left-col {
    align-items: start !important;
  }
  .slang-chips {
    padding: 4px 0px 20px !important;
    margin-left: 0px !important;
  }
}

@media (max-width: 390px) {
  .slang-sp-header-left,
  .slang-stage,
  .slang-chips {
    width: 75% !important;
    margin-left: 0.5rem;
  }
}

@media (max-width: 360px) {
  .slang-sp-header-left,
  .slang-stage,
  .slang-chips {
    width: 100% !important;
  }
}

.pb-feat-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 80, 0, 0.12);
  border: 1px solid rgba(255, 80, 0, 0.28);
  color: #ff7030;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  align-self: flex-start;
}
/* Badge as overlay inside the thumbnail — doesn't affect column height */
.pb-feat-badge-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  align-self: unset;
}
.pb-feat-card {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.03);
  text-decoration: none;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 20px 60px rgba(0, 0, 0, 0.5);
}
[data-theme="light"] .pb-feat-card {
  border-color: rgba(0, 0, 0, 0.09);
  background: rgba(0, 0, 0, 0.03);
}
.pb-feat-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.pb-feat-thumb {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}
.pb-feat-gradient {
  position: absolute;
  inset: 0;
}
.pbfg-1 {
  background: linear-gradient(135deg, #1a0a30 0%, #300010 40%, #0d0a20 100%);
}
.pb-feat-ep-num {
  position: absolute;
  top: 12px;
  right: 12px;
  font-family: "Syne", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: uppercase;
}
.pb-feat-chars {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -55%);
  font-size: 52px;
  opacity: 0.3;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}
.pb-feat-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  background: rgba(255, 80, 0, 0.85);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 0 0 4px rgba(255, 80, 0, 0.22),
    0 8px 24px rgba(0, 0, 0, 0.4);
  transition: all 0.18s;
}
.pb-feat-card:hover .pb-feat-play {
  background: rgba(255, 80, 0, 1);
  transform: translate(-50%, -50%) scale(1.08);
}
.pb-feat-dur {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  background: rgba(0, 0, 0, 0.55);
  padding: 3px 8px;
  border-radius: 5px;
}
/* ── Now-bar below the video card (matches phishnchip.html style) ── */
.pb-now-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
}
[data-theme="light"] .pb-now-bar {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.07);
}
.pb-now-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4040;
  flex-shrink: 0;
  animation: pb-nowpulse 1.5s ease-in-out infinite;
}
@keyframes pb-nowpulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.55;
    transform: scale(0.8);
  }
}
.pb-now-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
[data-theme="light"] .pb-now-label {
  color: rgba(0, 0, 0, 0.65);
}
.pb-now-tag {
  font-size: 9px;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.28);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
}
[data-theme="light"] .pb-now-tag {
  color: rgba(0, 0, 0, 0.35);
}

/* ══════════════════════════════════════════
   CARNIVAL ROLLING STRIP (right)
══════════════════════════════════════════ */
.pb-carnival {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  overflow: hidden;
  height: 510px;
}
[data-theme="light"] .pb-carnival {
  background: rgba(0, 0, 0, 0.03);
  border-color: rgba(0, 0, 0, 0.07);
}
.pb-carnival-hd {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
}
[data-theme="light"] .pb-carnival-hd {
  border-bottom-color: rgba(0, 0, 0, 0.07);
}
.pb-carnival-hd-t {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}
.pb-carnival-scroll {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 9px;
  border-radius: 999px;
}
[data-theme="light"] .pb-carnival-scroll {
  color: rgba(0, 0, 0, 0.3);
  background: rgba(0, 0, 0, 0.05);
}
.pb-carnival-win {
  flex: 1;
  overflow: hidden;
  position: relative;
}
.pb-carnival-fade-t {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: linear-gradient(var(--bg-surface, #080f1e), transparent);
  pointer-events: none;
  z-index: 2;
}
.pb-carnival-fade-b {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 44px;
  background: linear-gradient(transparent, var(--bg-surface, #080f1e));
  pointer-events: none;
  z-index: 2;
}
.pb-carnival-reel {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 6px 10px;
  animation: pb-reelScroll 22s linear infinite;
}
.pb-carnival-reel:hover {
  animation-play-state: paused;
}
@keyframes pb-reelScroll {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}
.pb-creel-card {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 10px;
  padding: 9px 11px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  text-decoration: none;
  transition: all 0.18s;
  flex-shrink: 0;
}
.pb-creel-card:hover {
  transform: scale(1.02);
  border-color: rgba(255, 100, 0, 0.35);
}
/* Per-episode gradient backgrounds */
.pb-cc1 {
  background: linear-gradient(110deg, #1e0040, #0d0020);
}
.pb-cc2 {
  background: linear-gradient(110deg, #001e3c, #000d1a);
}
.pb-cc3 {
  background: linear-gradient(110deg, #3c0020, #1a0010);
}
.pb-cc4 {
  background: linear-gradient(110deg, #0d2a10, #050e08);
}
.pb-cc5 {
  background: linear-gradient(110deg, #201400, #0a0800);
}
.pb-cc6 {
  background: linear-gradient(110deg, #002030, #000d18);
}
.pb-cc7 {
  background: linear-gradient(110deg, #250030, #100018);
}
.pb-cc8 {
  background: linear-gradient(110deg, #002020, #000e0e);
}
.pb-creel-ep {
  font-size: 9px;
  font-weight: 900;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.08em;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  flex-shrink: 0;
}
.pb-creel-art {
  font-size: 24px;
  flex-shrink: 0;
  opacity: 0.8;
}
.pb-creel-body {
  flex: 1;
  min-width: 0;
}
.pb-creel-title {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.pb-creel-dur {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.28);
}
.pb-creel-play {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.22);
  flex-shrink: 0;
}
.pb-creel-card:hover .pb-creel-play {
  color: #ff6030;
}

@media (max-width: 900px) {
  .pb-layout {
    grid-template-columns: 1fr;
  }
  .pb-carnival {
    height: 320px;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .pb-layout {
    --pb-balanced-column-height: clamp(420px, 47vw, 510px);
    align-items: stretch;
  }

  .pb-feature-col,
  .pb-carnival {
    height: var(--pb-balanced-column-height);
  }

  .pb-feat-card {
    flex: 1 1 auto;
    min-height: 0;
  }

  .pb-feat-thumb {
    height: 100%;
    padding-bottom: 0;
  }
}

/* ══════════════════════════════════════════
   GAME PANEL (left)
══════════════════════════════════════════ */
.pb-game-panel {
  background: var(--pb-surface);
  border: 1px solid rgba(0, 200, 255, 0.32);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(0, 200, 255, 0.1),
    0 0 28px rgba(0, 200, 255, 0.22),
    0 0 70px rgba(0, 200, 255, 0.09),
    inset 0 0 60px rgba(0, 0, 0, 0.35);
}
/* Glowing top-edge accent line */
.pb-game-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 200, 255, 0.9),
    transparent
  );
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.6);
  z-index: 3;
}
/* Bottom-right corner HUD mark */
.pb-game-panel::after {
  content: "";
  position: absolute;
  bottom: 10px;
  right: 12px;
  width: 16px;
  height: 16px;
  border-right: 1.5px solid rgba(0, 200, 255, 0.4);
  border-bottom: 1.5px solid rgba(0, 200, 255, 0.4);
  z-index: 3;
}
[data-theme="light"] .pb-game-panel {
  border-color: rgba(0, 100, 180, 0.28);
  box-shadow:
    0 0 0 1px rgba(0, 100, 180, 0.1),
    0 0 24px rgba(0, 100, 180, 0.14),
    0 4px 30px rgba(0, 0, 0, 0.08);
}

/* Game header */
.pb-game-hdr {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 14px 20px 12px;
  border-bottom: 1px solid var(--pb-border);
  background: rgba(0, 200, 255, 0.04);
}
[data-theme="light"] .pb-game-hdr {
  background: rgba(0, 100, 180, 0.04);
}
.pb-hdr-left {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.pb-sim-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--pb-accent);
  text-transform: uppercase;
}
.pb-active-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pb-accent);
  animation: pbPulse 1.4s ease-in-out infinite;
}
@keyframes pbPulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 200, 255, 0.7);
  }
  50% {
    box-shadow: 0 0 0 5px rgba(0, 200, 255, 0);
  }
}
.pb-level-name {
  color: var(--pb-text);
  font-size: 13px;
  font-weight: 600;
}

/* Difficulty pips */
.pb-difficulty-bar {
  display: flex;
  align-items: center;
  gap: 6px;
}
.pb-diff-lbl {
  font-size: 8.5px;
  color: var(--pb-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pb-diff-pips {
  display: flex;
  gap: 3px;
}
.pb-pip {
  width: 18px;
  height: 4px;
  border-radius: 2px;
  background: rgba(0, 200, 255, 0.12);
  transition: background 0.4s;
}
.pb-pip.pb-pip-on {
  background: var(--pb-accent);
  box-shadow: 0 0 6px rgba(0, 200, 255, 0.5);
}
.pb-pip.pb-pip-warn {
  background: #ff8800;
  box-shadow: 0 0 6px rgba(255, 136, 0, 0.5);
}
.pb-pip.pb-pip-danger {
  background: var(--pb-danger);
  box-shadow: 0 0 6px rgba(255, 34, 68, 0.5);
}

.pb-hdr-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.pb-timer-area {
  text-align: right;
}
.pb-timer-lbl {
  font-size: 8.5px;
  letter-spacing: 0.08em;
  color: var(--pb-muted);
  text-transform: uppercase;
  display: block;
}
.pb-timer-row {
  display: flex;
  align-items: center;
  gap: 5px;
}
.pb-timer-val {
  font-size: 20px;
  font-weight: 700;
  color: var(--pb-accent);
  font-variant-numeric: tabular-nums;
}
.pb-timer-val.pb-timer-urgent {
  color: var(--pb-danger);
  animation: pbBlink 0.5s ease-in-out infinite;
}
@keyframes pbBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.35;
  }
}
.pb-timer-icon {
  font-size: 13px;
}
.pb-lives {
  display: flex;
  gap: 5px;
}
.pb-heart {
  font-size: 17px;
  transition: all 0.3s;
  color: rgba(0, 0, 0, 0.1);
}
[data-theme="light"] .pb-heart {
  color: rgba(0, 0, 0, 0.08);
}
.pb-heart.pb-heart-on {
  color: #ff3366;
  text-shadow: 0 0 8px rgba(255, 51, 102, 0.6);
}

/* ── Radar wrap ── */
.pb-radar-wrap {
  position: relative;
  padding: 22px 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Floating hint tags */
.pb-tags-area {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.pb-float-tag {
  position: absolute;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 4px 9px;
  border-radius: 5px;
  animation: pbTagFloat 3s ease-in-out infinite;
  white-space: nowrap;
  pointer-events: none;
}
.pb-tag-danger {
  background: rgba(255, 34, 68, 0.14);
  border: 1px solid rgba(255, 34, 68, 0.4);
  color: var(--pb-danger);
}
.pb-tag-safe {
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.32);
  color: var(--pb-accent);
}
.pb-tag-neutral {
  background: rgba(0, 200, 255, 0.07);
  border: 1px solid rgba(0, 200, 255, 0.22);
  color: var(--pb-accent);
  animation-delay: 1.2s;
}
@keyframes pbTagFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ── The radar itself ── */
.pb-radar {
  position: relative;
  width: 280px;
  height: 280px;
  flex-shrink: 0;
}

/* Rings */
.pb-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.pb-ring-1 {
  width: 88px;
  height: 88px;
  border-color: rgba(0, 200, 255, 0.4);
  animation: pbSpin 6s linear infinite;
}
.pb-ring-2 {
  width: 170px;
  height: 170px;
  border-color: rgba(0, 200, 255, 0.2);
  animation: pbSpin 10s linear infinite reverse;
}
.pb-ring-3 {
  width: 264px;
  height: 264px;
  border-color: rgba(0, 200, 255, 0.08);
}
@keyframes pbSpin {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Crosshairs from HTML elements */
.pb-crosshair {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(0, 200, 255, 0.08);
}
.pb-ch-h {
  width: 100%;
  height: 1px;
}
.pb-ch-v {
  width: 1px;
  height: 100%;
}

/* ── SCAN BEAM — rotating radar sweep ── */
.pb-scan-beam {
  position: absolute;
  width: 50%;
  height: 1.5px;
  top: 50%;
  left: 50%;
  transform-origin: left center;
  animation: pbBeamSpin 3s linear infinite;
  background: linear-gradient(90deg, transparent 0%, var(--pb-beam) 100%);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px var(--pb-beam);
}
@keyframes pbBeamSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Sector glow that trails the beam */
.pb-scan-beam::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: inherit;
  filter: blur(4px);
}

/* Particle burst layer */
.pb-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  border-radius: 50%;
}
.pb-particle {
  position: absolute;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  pointer-events: none;
  animation: pbParticleOut 0.65s ease-out forwards;
}
@keyframes pbParticleOut {
  0% {
    transform: translate(var(--px), var(--py)) scale(1);
    opacity: 1;
  }
  100% {
    transform: translate(
        calc(var(--px) + var(--dx)),
        calc(var(--py) + var(--dy))
      )
      scale(0);
    opacity: 0;
  }
}

/* Flash effects */
@keyframes pbGoodFlash {
  0% {
    box-shadow:
      0 0 0 0 rgba(0, 200, 255, 0.8),
      inset 0 0 0 rgba(0, 200, 255, 0);
  }
  50% {
    box-shadow:
      0 0 40px 10px rgba(0, 200, 255, 0.2),
      inset 0 0 30px rgba(0, 200, 255, 0.08);
  }
  100% {
    box-shadow:
      0 0 0 0 transparent,
      inset 0 0 0 transparent;
  }
}
@keyframes pbBadFlash {
  0%,
  100% {
    box-shadow: none;
    transform: none;
  }
  20% {
    box-shadow: 0 0 30px 8px rgba(255, 34, 68, 0.25);
    transform: translateX(-3px);
  }
  40% {
    transform: translateX(3px);
  }
  60% {
    box-shadow: 0 0 30px 8px rgba(255, 34, 68, 0.15);
    transform: translateX(-2px);
  }
  80% {
    transform: translateX(2px);
  }
}
.pb-flash-good {
  animation: pbGoodFlash 0.5s ease-out;
}
.pb-flash-bad {
  animation: pbBadFlash 0.45s ease-out;
}

/* Center display */
.pb-radar-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 112px;
  height: 112px;
  background: radial-gradient(circle, var(--pb-surface) 0%, var(--pb-bg) 100%);
  border-radius: 50%;
  border: 1px solid rgba(0, 200, 255, 0.28);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow:
    0 0 28px rgba(0, 200, 255, 0.1),
    inset 0 0 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
}
[data-theme="light"] .pb-radar-center {
  background: radial-gradient(circle, #fff 0%, #e8f4ff 100%);
  box-shadow:
    0 0 20px rgba(0, 100, 180, 0.1),
    inset 0 0 12px rgba(0, 0, 0, 0.04);
}
.pb-center-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px;
  width: 100%;
  height: 100%;
}
.pb-cs-icon {
  font-size: 24px;
  margin-bottom: 3px;
}
.pb-cs-txt {
  font-size: 10.5px;
  color: var(--pb-accent);
  font-weight: 600;
  line-height: 1.3;
}

/* Scenario */
.pb-sc-type {
  font-size: 7.5px;
  letter-spacing: 0.1em;
  color: var(--pb-muted);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.pb-sc-text {
  font-size: 9px;
  color: var(--pb-text);
  font-weight: 700;
  word-break: break-all;
  line-height: 1.3;
}
.pb-sc-hint {
  font-size: 7.5px;
  color: var(--pb-muted);
  margin-top: 3px;
  line-height: 1.3;
}

/* Feedback */
.pb-fb-good .pb-fb-icon {
  font-size: 26px;
  color: var(--pb-accent);
}
.pb-fb-bad .pb-fb-icon {
  font-size: 26px;
  color: var(--pb-danger);
}
.pb-fb-msg {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--pb-text);
  margin-top: 3px;
  line-height: 1.3;
}
.pb-fb-pts {
  font-size: 9px;
  color: var(--pb-accent);
  font-weight: 700;
  margin-top: 2px;
}
.pb-fb-bad .pb-fb-pts {
  color: var(--pb-danger);
}

/* Level up */
.pb-lu-icon {
  font-size: 26px;
}
.pb-lu-txt {
  font-size: 13px;
  font-weight: 800;
  color: var(--pb-accent);
  margin-top: 2px;
}
.pb-lu-sub {
  font-size: 8.5px;
  color: var(--pb-muted);
  margin-top: 3px;
  letter-spacing: 0.05em;
}

/* Game over */
.pb-go-icon {
  font-size: 24px;
}
.pb-go-lbl {
  font-size: 7px;
  letter-spacing: 0.1em;
  color: var(--pb-muted);
  text-transform: uppercase;
}
.pb-go-score {
  font-size: 13px;
  font-weight: 700;
  color: var(--pb-danger);
  margin-top: 2px;
}
.pb-go-btn {
  margin-top: 5px;
  background: var(--pb-accent);
  color: var(--pb-bg);
  border: none;
  border-radius: 5px;
  padding: 4px 9px;
  font-size: 8.5px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.pb-go-btn:hover {
  opacity: 0.85;
}

/* Deploy button */
.pb-deploy-btn {
  margin-top: 14px;
  background: transparent;
  border: 1px solid var(--pb-accent);
  color: var(--pb-accent);
  padding: 9px 28px;
  border-radius: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}
.pb-deploy-btn:hover {
  background: rgba(0, 200, 255, 0.1);
  box-shadow: 0 0 18px rgba(0, 200, 255, 0.3);
}

/* Action buttons */
.pb-action-btns {
  display: none;
  justify-content: center;
  gap: 14px;
  padding: 0 22px 4px;
}
.pb-hook-btn,
.pb-safe-btn {
  flex: 1;
  max-width: 180px;
  padding: 10px 14px;
  border-radius: 9px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  transition: all 0.18s;
  border: none;
  letter-spacing: 0.03em;
}
.pb-btn-sub {
  font-size: 9px;
  font-weight: 500;
  opacity: 0.7;
  letter-spacing: 0.04em;
}
.pb-hook-btn {
  background: rgba(255, 34, 68, 0.14);
  border: 1px solid rgba(255, 34, 68, 0.4);
  color: var(--pb-danger);
}
.pb-hook-btn:hover:not(:disabled) {
  background: rgba(255, 34, 68, 0.25);
  box-shadow: 0 0 18px rgba(255, 34, 68, 0.3);
  transform: translateY(-1px);
}
.pb-safe-btn {
  background: rgba(0, 200, 255, 0.1);
  border: 1px solid rgba(0, 200, 255, 0.32);
  color: var(--pb-accent);
}
.pb-safe-btn:hover:not(:disabled) {
  background: rgba(0, 200, 255, 0.2);
  box-shadow: 0 0 18px rgba(0, 200, 255, 0.25);
  transform: translateY(-1px);
}
.pb-hook-btn:disabled,
.pb-safe-btn:disabled {
  opacity: 0.38;
  cursor: not-allowed;
  transform: none;
}

/* Progress */
.pb-progress-row {
  padding: 10px 20px 14px;
}
.pb-progress-hd {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}
.pb-progress-lbl {
  font-size: 8.5px;
  color: var(--pb-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.pb-progress-pct {
  font-size: 8.5px;
  color: var(--pb-accent);
  font-weight: 700;
}
.pb-progress-track {
  height: 4px;
  background: rgba(0, 200, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}
.pb-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--pb-accent2), var(--pb-accent));
  border-radius: 2px;
  transition: width 0.4s ease;
  box-shadow: 0 0 6px rgba(0, 200, 255, 0.4);
}

/* ══════════════════════════════════════════
   DASHBOARD (right)
══════════════════════════════════════════ */
.pb-dashboard {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Masterclass card */
.pb-master-card {
  background: var(--pb-surface);
  border: 1px solid rgba(0, 200, 255, 0.25);
  border-radius: 14px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(0, 200, 255, 0.07),
    0 0 20px rgba(0, 200, 255, 0.16),
    0 0 50px rgba(0, 200, 255, 0.06);
  position: relative;
}
/* Top shimmer line on masterclass card */
.pb-master-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 200, 255, 0.7),
    transparent
  );
  z-index: 2;
}
[data-theme="light"] .pb-master-card {
  border-color: rgba(0, 100, 180, 0.22);
  box-shadow:
    0 0 16px rgba(0, 100, 180, 0.1),
    0 2px 20px rgba(0, 0, 0, 0.07);
}
.pb-master-badge {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 13px 8px;
  font-size: 8.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--pb-muted);
  text-transform: uppercase;
}
.pb-badge-new {
  background: var(--pb-accent);
  color: var(--pb-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 7.5px;
  font-weight: 800;
}
.pb-master-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: var(--pb-bg);
  overflow: hidden;
}
.pb-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.pb-thumb-dur {
  position: absolute;
  bottom: 7px;
  right: 7px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-size: 8.5px;
  font-weight: 600;
  padding: 2px 5px;
  border-radius: 3px;
}
.pb-thumb-fallback {
  display: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--pb-bg) 0%, var(--pb-surface) 100%);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}
.pb-thumb-fb-glow {
  position: absolute;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(0, 200, 255, 0.08) 0%,
    transparent 70%
  );
}
.pb-thumb-fb-content {
  position: relative;
  text-align: center;
}
.pb-thumb-fb-icon {
  font-size: 36px;
  margin-bottom: 6px;
}
.pb-thumb-fb-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--pb-accent);
}
.pb-thumb-fb-sub {
  font-size: 9.5px;
  color: var(--pb-muted);
  margin-top: 2px;
}
.pb-master-info {
  padding: 10px 13px 12px;
}
.pb-master-title {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--pb-text);
  line-height: 1.45;
  margin-bottom: 7px;
}
.pb-master-watchers {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 9.5px;
  color: var(--pb-muted);
  margin-bottom: 9px;
}
.pb-watch-btn {
  display: block;
  text-align: center;
  background: var(--pb-accent);
  color: var(--pb-bg);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 8px 12px;
  border-radius: 7px;
  text-decoration: none;
  transition:
    opacity 0.2s,
    box-shadow 0.2s;
}
.pb-watch-btn:hover {
  opacity: 0.85;
  box-shadow: 0 0 16px rgba(0, 200, 255, 0.3);
}

/* Stats row */
.pb-stats-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.pb-stat-card {
  background: var(--pb-surface);
  border: 1px solid rgba(0, 200, 255, 0.22);
  border-radius: 10px;
  padding: 11px 13px;
  box-shadow:
    0 0 0 1px rgba(0, 200, 255, 0.06),
    0 0 16px rgba(0, 200, 255, 0.14);
  position: relative;
}
[data-theme="light"] .pb-stat-card {
  border-color: rgba(0, 100, 180, 0.18);
  box-shadow: 0 0 12px rgba(0, 100, 180, 0.09);
}
.pb-stat-lbl {
  font-size: 8.5px;
  color: var(--pb-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.pb-stat-val {
  font-size: 21px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.pb-stat-rank {
  color: var(--pb-accent);
}
.pb-stat-credits {
  color: #00d4aa;
}
.pb-stat-delta {
  font-size: 8.5px;
  color: var(--pb-muted);
  margin-top: 2px;
}

/* History card removed */

/* Responsive */
@media (max-width: 900px) {
  .pb-layout {
    grid-template-columns: 1fr;
  }
  .pb-dashboard {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .pb-master-card {
    flex: 1 1 280px;
  }
  .pb-stats-row,
  .pb-history-card {
    flex: 1 1 200px;
  }
}

/* ── SLANGLISH — WORD DECODER ──────────────────────────────────── */
.slanglish-flip-section {
  padding: 100px 0;
  background: #0d0519 !important;
}
[data-theme="light"] .slanglish-flip-section {
  background: #1a0533 !important;
}

/* Override typography colors on dark-purple bg */
.slanglish-flip-section .section-tag {
  color: #a78bfa !important;
  background: rgba(167, 139, 250, 0.1) !important;
  border-color: rgba(167, 139, 250, 0.28) !important;
}
.slanglish-flip-section h2 {
  color: #f3e8ff !important;
}
.slanglish-flip-section .section-sub {
  color: rgba(216, 200, 255, 0.65) !important;
}

/* Two-panel decoder layout */
.slang-decoder-wrap {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
  max-width: 900px;
  margin: 0 auto;
}

/* Left: word list sidebar */
.slang-sidebar-label {
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(167, 139, 250, 0.65);
  margin-bottom: 14px;
}

.slang-word-btns {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.slang-btn {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 16px;
  border-radius: 10px;
  border: 1.5px solid rgba(167, 139, 250, 0.2);
  background: rgba(167, 139, 250, 0.06);
  color: #c4b5fd;
  font-size: 15px;
  font-weight: 700;
  font-family: var(--font-ui);
  cursor: pointer;
  transition: all 0.18s;
}
.slang-btn:hover {
  background: rgba(167, 139, 250, 0.13);
  border-color: rgba(167, 139, 250, 0.42);
  transform: translateX(4px);
  color: #e9d5ff;
}
.slang-btn.active {
  background: rgba(167, 139, 250, 0.18);
  border-color: rgba(167, 139, 250, 0.65);
  color: #ede9fe;
  box-shadow: 3px 3px 0 rgba(167, 139, 250, 0.22);
  transform: translateX(0);
}

.slang-explore-sub {
  margin-top: 18px;
  font-size: 12px;
  color: rgba(167, 139, 250, 0.5);
}
.slang-explore-sub a {
  color: #a78bfa;
  text-decoration: underline;
}

/* Right: definition display panel */
.slang-display {
  background: rgba(167, 139, 250, 0.07);
  border: 1.5px solid rgba(167, 139, 250, 0.28);
  border-radius: 18px;
  padding: 36px 40px;
  min-height: 280px;
  box-shadow: 5px 5px 0 rgba(167, 139, 250, 0.14);
}

.slang-display-word {
  font-size: 52px;
  font-weight: 800;
  line-height: 1;
  background: linear-gradient(135deg, #c084fc 0%, #f0abfc 50%, #fbbf24 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 10px;
}

.slang-display-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.38);
  border-radius: 100px;
  padding: 3px 12px;
  margin-bottom: 22px;
}

.slang-display-def {
  font-size: 15.5px;
  color: rgba(233, 220, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 22px;
}

.slang-display-tip {
  font-size: 13.5px;
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.09);
  border-left: 3px solid rgba(251, 191, 36, 0.7);
  border-radius: 0 10px 10px 0;
  padding: 13px 18px;
  line-height: 1.55;
}

/* CTA in slanglish section */
.slang-cta-btn {
  background: rgba(124, 58, 237, 0.85) !important;
  border-color: rgba(109, 40, 217, 0.9) !important;
  box-shadow: 3px 3px 0 rgba(109, 40, 217, 0.35) !important;
}
.slang-cta-btn:hover {
  background: rgba(109, 40, 217, 0.95) !important;
  box-shadow: 5px 5px 0 rgba(109, 40, 217, 0.35) !important;
  transform: translate(-2px, -2px) !important;
}

/* Slanglish audience pills */
.slang-aud-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.slang-aud-pill {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  letter-spacing: 0.02em;
}

.slang-aud-teen {
  background: rgba(167, 139, 250, 0.18);
  border: 1px solid rgba(167, 139, 250, 0.42);
  color: #c4b5fd;
}

.slang-aud-parent {
  background: rgba(251, 191, 36, 0.14);
  border: 1px solid rgba(251, 191, 36, 0.38);
  color: #fcd34d;
}

.slang-aud-divider {
  color: rgba(216, 200, 255, 0.28);
  font-size: 14px;
}

/* Slanglish USP strip */
.slang-usp-strip {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 44px;
  flex-wrap: wrap;
  padding: 24px 0;
  border-top: 1px solid rgba(167, 139, 250, 0.14);
  border-bottom: 1px solid rgba(167, 139, 250, 0.14);
}

.slang-usp-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.slang-usp-icon {
  font-size: 26px;
  line-height: 1;
}

.slang-usp-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(216, 200, 255, 0.6);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

[data-theme="light"] .slang-aud-teen {
  background: rgba(124, 58, 237, 0.1);
  border-color: rgba(124, 58, 237, 0.3);
  color: #6d28d9;
}
[data-theme="light"] .slang-aud-parent {
  background: rgba(234, 179, 8, 0.1);
  border-color: rgba(234, 179, 8, 0.28);
  color: #b45309;
}
[data-theme="light"] .slang-usp-label {
  color: rgba(109, 40, 217, 0.55);
}
[data-theme="light"] .slang-usp-strip {
  border-color: rgba(124, 58, 237, 0.14);
}

/* ── CASK CHATBOT FULL COLUMN ──────────────────────────────────── */
/* ── CASK SHOWCASE (replaces chatbot) ─────────────────────────── */
.cask-showcase {
  background: var(--card-bg, #fff);
  border: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  border-radius: 20px;
  padding: 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}
[data-theme="dark"] .cask-showcase {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.09);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.3);
}
.cask-showcase::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 220px;
  height: 220px;
  background: radial-gradient(ellipse, rgba(0, 122, 255, 0.1), transparent 70%);
  pointer-events: none;
}
/* Stats row */
.cs-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  border-bottom: 1px solid var(--border, rgba(0, 0, 0, 0.08));
  padding-bottom: 20px;
}
[data-theme="dark"] .cs-stats {
  border-color: rgba(255, 255, 255, 0.07);
}
.cs-stat {
  text-align: center;
  padding: 4px 0;
}
.cs-stat-num {
  font-family: var(--font-display, "Syne", sans-serif);
  font-size: 26px;
  font-weight: 800;
  color: var(--primary, #0077ff);
  line-height: 1;
  margin-bottom: 4px;
}
.cs-stat-label {
  font-size: 10px;
  color: var(--muted, #6b7280);
  font-weight: 600;
  letter-spacing: 0.03em;
}
/* Feature grid */
.cs-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.cs-feat {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.025);
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s;
}
[data-theme="dark"] .cs-feat {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.07);
}
.cs-feat:hover {
  border-color: rgba(0, 122, 255, 0.3) !important;
}
.cs-feat-icon {
  font-size: 17px;
  flex-shrink: 0;
  line-height: 1;
}
.cs-feat-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text, #1a1a2e);
  margin-bottom: 1px;
}
[data-theme="dark"] .cs-feat-name {
  color: rgba(255, 255, 255, 0.85);
}
.cs-feat-desc {
  font-size: 10px;
  color: var(--muted, #6b7280);
  line-height: 1.35;
}
/* Module pills row */
.cs-modules {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.cs-mod-label {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--muted, #6b7280);
  margin-right: 4px;
}
.cs-pill {
  font-size: 10px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(0, 122, 255, 0.07);
  color: var(--primary, #0077ff);
  border: 1px solid rgba(0, 122, 255, 0.18);
}
[data-theme="dark"] .cs-pill {
  background: rgba(0, 122, 255, 0.12);
  border-color: rgba(0, 122, 255, 0.28);
  color: #60a5fa;
}
/* CTA button */
.cs-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 20px;
  background: var(--primary, #0077ff);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  border-radius: 12px;
  text-decoration: none;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.cs-cta:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.cs-cta-arrow {
  font-size: 20px;
  transition: transform 0.2s;
}
.cs-cta:hover .cs-cta-arrow {
  transform: translateX(4px);
}

.cask-chatbot-full {
  height: 100%;
  min-height: 380px;
  position: relative;
}

/* Graphic: subtle scan-line shimmer across chatbot */
.cask-chatbot-full::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  background: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 3px,
    rgba(255, 255, 255, 0.012) 3px,
    rgba(255, 255, 255, 0.012) 4px
  );
  z-index: 0;
}

[data-theme="light"] .cask-chatbot-full::before {
  background: repeating-linear-gradient(
    180deg,
    transparent,
    transparent 3px,
    rgba(0, 0, 0, 0.015) 3px,
    rgba(0, 0, 0, 0.015) 4px
  );
}

.cask-chatbot-full .cask-chat-msgs {
  min-height: 260px;
  max-height: 380px;
}

/* ── CASK CHATBOT SUGGESTION CHIPS ────────────────────────────── */
.cask-suggest-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 4px 16px 16px;
}

.cask-suggest-chip {
  background: rgba(0, 122, 255, 0.08);
  border: 1px solid rgba(0, 122, 255, 0.25);
  color: rgba(0, 122, 255, 0.92);
  border-radius: 100px;
  padding: 7px 14px;
  font-size: 12px;
  font-weight: 600;
  font-family: var(--font-ui);
  cursor: pointer;
  transition:
    background 0.15s,
    border-color 0.15s,
    transform 0.1s;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.cask-suggest-chip:hover {
  background: rgba(0, 122, 255, 0.16);
  border-color: rgba(0, 122, 255, 0.5);
  transform: translateY(-1px);
}

/* ── CASK ROLE CARDS (replaces spoke map) ─────────────────────── */
.cask-role-section {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
  /* background: var(--bg-surface); */
  background-image: radial-gradient(
    circle at 30% 50%,
    rgba(0, 122, 255, 0.03) 0%,
    transparent 60%
  );
  border-radius: 0 0 20px 20px;
  padding-bottom: 40px;
  padding-left: 0px;
  padding-right: 0px;
}

.csm-section-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.csm-section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.csm-section-hint {
  font-size: 12px;
  color: var(--text-secondary);
}

.csm-role-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 20px);
  margin-bottom: 28px;
}

.csm-rcard {
  position: relative;
  min-height: 172px;
  padding: 22px 18px 20px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 48%),
    rgba(5, 12, 28, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  text-align: center;
  cursor: pointer;
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    border-color 0.25s ease,
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
  user-select: none;
}

.csm-rcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 0, rgba(0, 122, 255, 0.2), transparent 42%),
    radial-gradient(circle at 10% 100%, rgba(42, 216, 255, 0.12), transparent 34%);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.csm-rcard::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, #ff9933, #ffffff 48%, #138808);
  opacity: 0;
  transform: scaleX(0.5);
  transform-origin: center;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

.csm-rcard:hover {
  border-color: rgba(59, 184, 255, 0.42);
  transform: translateY(-4px);
  box-shadow:
    0 20px 42px rgba(0, 122, 255, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.csm-rcard:focus-visible {
  outline: 2px solid rgba(145, 236, 255, 0.78);
  outline-offset: 4px;
}

.csm-rcard:hover::before,
.csm-rcard.csm-card-on::before {
  opacity: 1;
}

.csm-rcard:hover::after,
.csm-rcard.csm-card-on::after {
  opacity: 1;
  transform: scaleX(1);
}

.csm-rcard.csm-card-on {
  border-color: rgba(0, 122, 255, 0.7);
  background:
    linear-gradient(145deg, rgba(0, 122, 255, 0.18), rgba(5, 12, 28, 0.76) 54%),
    rgba(5, 12, 28, 0.82);
  box-shadow:
    0 0 0 1px rgba(0, 122, 255, 0.18),
    0 22px 46px rgba(0, 122, 255, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}

.csm-rcard-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.2), transparent 34%),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  font-size: 28px;
  line-height: 1;
  transition:
    transform 0.25s ease,
    border-color 0.25s ease,
    background 0.25s ease;
}

.csm-rcard:hover .csm-rcard-icon,
.csm-rcard.csm-card-on .csm-rcard-icon {
  border-color: rgba(0, 122, 255, 0.36);
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.24), transparent 34%),
    rgba(0, 122, 255, 0.14);
  transform: translateY(-2px) scale(1.04);
}

.csm-rcard-title {
  font-weight: 800;
  font-size: clamp(16px, 1.25vw, 18px);
  margin-bottom: 6px;
  color: var(--text-primary);
  font-family: var(--font-ui);
  letter-spacing: 0;
}

.csm-rcard-sub {
  min-height: 34px;
  margin: 0 auto 12px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 12px;
  letter-spacing: 0.01em;
  line-height: 1.4;
}

.csm-rcard-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 25px;
  background: rgba(0, 122, 255, 0.12);
  color: #91ecff;
  border: 1px solid rgba(0, 122, 255, 0.26);
  font-size: 10.5px;
  font-weight: 800;
  padding: 4px 11px;
  border-radius: 100px;
  letter-spacing: 0.04em;
  font-family: var(--font-ui);
  text-transform: uppercase;
}

[data-theme="light"] .csm-rcard {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(241, 247, 255, 0.84)),
    #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow:
    0 16px 34px rgba(15, 23, 42, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

[data-theme="light"] .csm-rcard::before {
  background:
    radial-gradient(circle at 50% 0, rgba(0, 122, 255, 0.12), transparent 44%),
    radial-gradient(circle at 10% 100%, rgba(45, 212, 191, 0.1), transparent 35%);
}

[data-theme="light"] .csm-rcard:hover {
  border-color: rgba(0, 122, 255, 0.28);
  box-shadow:
    0 20px 42px rgba(0, 122, 255, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

[data-theme="light"] .csm-rcard.csm-card-on {
  border-color: rgba(0, 122, 255, 0.42);
  background:
    linear-gradient(145deg, rgba(0, 122, 255, 0.12), rgba(255, 255, 255, 0.92) 56%),
    #ffffff;
}

[data-theme="light"] .csm-rcard-icon {
  border-color: rgba(15, 23, 42, 0.08);
  background:
    radial-gradient(circle at 35% 20%, rgba(255, 255, 255, 0.9), transparent 34%),
    rgba(0, 122, 255, 0.06);
}

[data-theme="light"] .csm-rcard-sub {
  color: rgba(15, 23, 42, 0.58);
}

[data-theme="light"] .csm-rcard-badge {
  background: rgba(0, 122, 255, 0.08);
  color: rgba(0, 92, 196, 0.92);
  border-color: rgba(0, 122, 255, 0.18);
}

/* Expanded panel */
.csm-panel2 {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  min-height: 80px;
  overflow: hidden;
  transition: min-height 0.3s ease;
}

#csmPanelArea {
  min-height: 320px;
  box-sizing: border-box;
}

.csm-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 28px 20px;
  color: var(--text-secondary);
  font-size: 13px;
  font-style: italic;
  font-family: var(--font-ui);
}

.csm-empty-arrow {
  font-style: normal;
  animation: csm-bounce 1.6s ease-in-out infinite;
}

@keyframes csm-bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.csm-rcontent {
  box-sizing: border-box;
  padding: 20px 24px 22px;
  animation: csmFadeIn 0.3s ease both;
}

.csm-rcontent-hd {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}

.csm-rc-role {
  font-weight: 800;
  font-size: 15px;
  color: var(--text-primary);
  font-family: var(--font-ui);
}

.csm-rc-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  padding: 5px 12px;
  border: 1px solid rgba(0, 122, 255, 0.3);
  border-radius: 100px;
  transition: background 0.15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.csm-rc-link:hover {
  background: rgba(0, 122, 255, 0.08);
}

/* Students feature grid */
.csm-feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.csm-feat2 {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  font-family: var(--font-ui);
  transition:
    border-color 0.15s,
    background 0.15s;
}

.csm-feat2:hover {
  border-color: rgba(0, 122, 255, 0.35);
  background: rgba(0, 122, 255, 0.04);
}

/* Two-column layout (Teachers / Schools) */
.csm-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.csm-tcol-hd {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-family: var(--font-ui);
}

.csm-tcol-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.csm-tcol-list span {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 7px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-ui);
  transition: border-color 0.15s;
}

.csm-tcol-list span:hover {
  border-color: rgba(0, 122, 255, 0.3);
}

.csm-tcol-create .csm-tcol-hd {
  color: rgba(0, 122, 255, 0.8);
}

.csm-tcol-create .csm-tcol-list span {
  border-color: rgba(0, 122, 255, 0.15);
  background: rgba(0, 122, 255, 0.04);
}

@media (max-width: 860px) {
  .csm-section-hd {
    align-items: flex-start;
    gap: 8px;
    flex-direction: column;
  }

  .csm-role-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }

  .csm-rcard {
    min-height: 158px;
    padding: 18px 12px 18px;
  }

  .csm-rcard-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    font-size: 25px;
  }

  .csm-rcard-badge {
    white-space: normal;
  }
}

@media (max-width: 640px) {
  .csm-role-cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .csm-rcard {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    column-gap: 14px;
    align-items: center;
    min-height: 112px;
    padding: 16px;
    text-align: left;
  }
  .csm-rcard-icon {
    grid-row: span 3;
    margin: 0;
  }
  .csm-rcard-title {
    margin-bottom: 2px;
  }
  .csm-rcard-sub {
    min-height: 0;
    margin: 0 0 8px;
  }
  .csm-rcard-badge {
    width: fit-content;
  }
  .csm-feat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .csm-two-col {
    grid-template-columns: 1fr;
  }
  /* .cask-role-section { padding-left: 20px; padding-right: 20px; } */
  #csmPanelArea {
    min-height: 450px;
  }
  .csm-rcontent {
    padding: 20px;
  }
}

@media (max-width: 420px) {
  #csmPanelArea {
    min-height: 500px;
  }
}

/* ── CASK SPOKE MIND MAP ───────────────────────────────────────── */
.cask-spoke-map {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
  background: var(--bg-surface);
  border-radius: 20px;
  overflow: hidden;
  /* dot grid graphic element */
  background-image: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.07) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
}

[data-theme="light"] .cask-spoke-map {
  background-image: radial-gradient(
    circle,
    rgba(0, 0, 0, 0.055) 1px,
    transparent 1px
  );
  background-size: 28px 28px;
}

.csm-map-area {
  position: relative;
  height: 300px;
}

.csm-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.csm-orbit {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
  stroke-dasharray: 4 8;
}

[data-theme="light"] .csm-orbit {
  stroke: rgba(0, 0, 0, 0.07);
}

.csm-line {
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 1.5;
  transition:
    stroke 0.3s,
    stroke-width 0.3s;
}

.csm-line.active {
  stroke: rgba(255, 255, 255, 0.7);
  stroke-width: 2;
}

[data-theme="light"] .csm-line {
  stroke: rgba(0, 0, 0, 0.12);
}
[data-theme="light"] .csm-line.active {
  stroke: rgba(0, 0, 0, 0.65);
}

.csm-node {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-align: center;
  transition: all 0.25s;
}

.csm-hub {
  width: 96px;
  height: 96px;
  left: 50%;
  top: 50%;
  border: 2px solid rgba(255, 255, 255, 0.45);
  background: var(--bg);
  pointer-events: none;
  z-index: 2;
  position: absolute; /* ensure ::before/::after are relative to hub */
}

/* Pulsing outer ring on hub */
.csm-hub::before,
.csm-hub::after {
  content: "";
  position: absolute;
  inset: -14px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  animation: csmPulse 2.8s ease-in-out infinite;
}
.csm-hub::after {
  inset: -26px;
  border-color: rgba(255, 255, 255, 0.07);
  animation-delay: 0.7s;
}

@keyframes csmPulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.4;
    transform: scale(1.06);
  }
}

[data-theme="light"] .csm-hub {
  border-color: rgba(0, 0, 0, 0.4);
}
[data-theme="light"] .csm-hub::before {
  border-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .csm-hub::after {
  border-color: rgba(0, 0, 0, 0.04);
}

.csm-hub-name {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-primary);
}

.csm-hub-sub {
  font-size: 8px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-top: 3px;
}

.csm-role {
  width: 76px;
  height: 76px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  background: var(--bg);
  color: var(--text-secondary);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  line-height: 1.3;
}

.csm-role:hover {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--text-primary);
  transform: translate(-50%, -50%) scale(1.06);
}

.csm-role.on {
  border-color: var(--text-primary);
  background: var(--text-primary);
  color: var(--bg);
  transform: translate(-50%, -50%) scale(1.08);
}

[data-theme="light"] .csm-role {
  border-color: rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .csm-role:hover {
  border-color: rgba(0, 0, 0, 0.55);
}

/* Feature panel */
.csm-panel {
  border-top: 1px solid var(--border);
  padding: 24px 32px 32px;
  min-height: 200px;
  position: relative;
}

.csm-empty {
  font-size: 12px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-align: center;
  padding-top: 60px;
}

.csm-content {
  animation: csmFadeIn 0.25s ease;
}

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

.csm-panel-hd {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.csm-p-role {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.csm-p-count {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.04em;
}

.csm-feats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.csm-feat {
  display: flex;
  align-items: baseline;
  gap: 9px;
  font-size: 12.5px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-primary);
  background: var(--bg);
  line-height: 1.3;
}

.csm-fn {
  font-size: 9px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.csm-two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.csm-col-hd {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 10px;
}

.csm-li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 12.5px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary);
  line-height: 1.3;
}

.csm-li:last-child {
  border-bottom: none;
}

.csm-ln {
  font-size: 9px;
  color: var(--text-secondary);
  flex-shrink: 0;
  padding-top: 1px;
}

/* ── SLANGLISH — WORD SPOTLIGHT ─────────────────────────────────── */
.slanglish-spotlight-section {
  background: #080808;
  overflow: hidden;
  padding: 24px 0 30px;
  position: relative;
}

/* Background */
.slanglish-spotlight-section::before {
  content: "";
  position: absolute;
  inset: 0;

  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Ctext x='10' y='35' font-size='24'%3E😀%3C/text%3E%3C/svg%3E");
  background-size: 80px 80px;
  background-repeat: repeat;

  opacity: 0.06;
  pointer-events: none;
}

/* Content stays fully opaque */
.slanglish-spotlight-section > * {
  position: relative;
  z-index: 1;
}

[data-theme="light"] .slanglish-spotlight-section {
  background: #fff !important;
}
[data-theme="light"] .slang-left-col {
  border-right-color: rgba(109, 40, 217, 0.15);
}
[data-theme="light"] .slang-usp-line {
  color: rgba(30, 10, 60, 0.6) !important;
}
[data-theme="light"] .slang-intro-copy {
  background: transparent;
  box-shadow: none;
}
[data-theme="light"] .slang-intro-copy::before {
  background: linear-gradient(90deg, #db2777 0%, #7c3aed 48%, #0f766e 100%);
  box-shadow: 0 0 18px rgba(124, 58, 237, 0.16);
}
[data-theme="light"] .slang-intro-copy::after {
  color: rgba(124, 58, 237, 0.1);
}
[data-theme="light"] .slang-intro-copy p {
  color: rgba(30, 10, 60, 0.7);
}
[data-theme="light"] .slang-intro-lead {
  color: rgba(20, 5, 40, 0.94) !important;
}
[data-theme="light"] .slang-intro-em {
  color: #0f766e;
  text-shadow: none;
}
[data-theme="light"] .slang-word-giant {
  color: #1a0a2e;
}
[data-theme="light"] .slang-word-tag {
  color: #7c3aed;
  background: rgba(124, 58, 237, 0.08);
  border-color: rgba(124, 58, 237, 0.2);
}
[data-theme="light"] .slang-word-def {
  color: rgba(20, 5, 40, 0.82);
}
[data-theme="light"] .slang-word-tip {
  color: rgba(20, 5, 40, 0.65);
  border-left-color: rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.05);
}
[data-theme="light"] .slang-chip {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.12);
  color: rgba(20, 5, 40, 0.6);
}
[data-theme="light"] .slang-chip:hover,
[data-theme="light"] .sa-chip-active {
  background: #7c3aed !important;
  border-color: #7c3aed !important;
  color: #fff !important;
}
[data-theme="light"] .slang-all-tape span {
  color: rgba(20, 5, 40, 0.38);
}
[data-theme="light"] .slang-selector-hd {
  color: rgba(109, 40, 217, 0.6);
}
[data-theme="light"] .slang-car-arrow {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.14);
  color: rgba(20, 5, 40, 0.5);
}
[data-theme="light"] .slang-car-arrow:hover {
  background: var(--char-color);
  color: #fff;
  border-color: var(--char-color);
}
[data-theme="light"] .slang-car-portrait {
  background: transparent;
  border: none;
  box-shadow: none;
}
[data-theme="light"] .slang-car-name {
  color: #1a0a2e;
}
[data-theme="light"] .slang-car-badge {
  color: var(--char-color);
}
[data-theme="light"] .slang-car-liner {
  color: rgba(20, 5, 40, 0.5);
}
[data-theme="light"] .slang-dot {
  background: rgba(0, 0, 0, 0.15);
}
[data-theme="light"] .slang-chat-hdr {
  border-bottom-color: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .slang-chat-hdr-av {
  background: transparent;
}
[data-theme="light"] .slang-chat-hdr-name {
  color: #1a0a2e;
}
[data-theme="light"] .slang-chat-speak-btn,
[data-theme="light"] .slang-chat-switch-btn {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(0, 0, 0, 0.1);
  color: rgba(20, 5, 40, 0.5);
}
[data-theme="light"] .slang-chat-speak-btn:hover,
[data-theme="light"] .slang-chat-switch-btn:hover {
  color: #1a0a2e;
  background: rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .slang-msg-char {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(109, 40, 217, 0.15);
  color: rgba(20, 5, 40, 0.82);
}
[data-theme="light"] .slang-chat-input {
  background: rgba(0, 0, 0, 0.04);
  border-color: rgba(109, 40, 217, 0.2);
  color: #1a0a2e;
}
[data-theme="light"] .slang-chat-input::placeholder {
  color: rgba(20, 5, 40, 0.3);
}
[data-theme="light"] .slang-chat-input:focus {
  border-color: rgba(109, 40, 217, 0.5);
}

.slang-spotlight-inner {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 0;
  align-items: start;
  min-height: 0;
  padding: 0 24px;
  max-width: 1140px;
  margin: 0 auto;
}

/* ── LEFT COLUMN ───────────── */
.slang-left-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-right: 28px;
  border-right: 1px solid rgba(167, 139, 250, 0.12);
  min-width: 0; /* prevent grid blowout */
}

/* Scale down the giant word so it fits the narrower left column */
.slang-left-col .slang-word-giant {
  font-size: clamp(40px, 7vw, 96px);
  overflow-wrap: break-word;
  word-break: break-word;
  width: 100%;
}

/* ── CHARACTER PANEL (right) ── */
.slang-char-panel {
  --char-color: #7c3aed;
  --char-glow: rgba(124, 58, 237, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center; /* centres all children */
  justify-content: flex-start;
  padding: 0 8px 14px;
  position: sticky;
  top: 72px;
}

/* ── CHARACTER SELECTOR CAROUSEL ────── */
.slang-char-selector {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%; /* fill the right panel, centering happens via align-items */
  margin-top: clamp(10px, 2vw, 20px);
}
.slang-selector-hd {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.65);
  margin-bottom: 8px;
  text-align: center;
  width: 100%;
}

/* Row layout: [arrow] [stage] [arrow] — arrows hug the portrait */
.slang-carousel {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
}
.slang-car-arrow {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex: 0 0 30px; /* fixed size, never stretches */
  transition: all 0.18s;
  align-self: center;
}
.slang-car-arrow:hover {
  background: var(--char-color);
  color: #fff;
  border-color: var(--char-color);
  transform: scale(1.12);
}
.slang-car-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 auto; /* shrink-wraps to portrait width */
  width: 228px;
}

@media (max-width: 390px) {
  .slang-car-stage {
    width: 140px;
  }
}

/* Portrait image — no box, character floats freely */
.slang-car-portrait {
  width: 228px;
  height: 292px;
  border-radius: 0;
  overflow: visible;
  border: none;
  box-shadow: none;
  background: transparent;
  position: relative;
  margin-bottom: 6px;
  transition: transform 0.4s ease;
}
.slang-car-portrait:hover {
  transform: scale(1.04) translateY(-5px);
}
/* Two stacked imgs — A is shown, B preloads behind, then they swap */
.slang-car-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  filter: drop-shadow(0 0 20px var(--char-glow))
    drop-shadow(0 22px 44px rgba(0, 0, 0, 0.4))
    drop-shadow(0 6px 14px var(--char-glow));
  transition: opacity 0.3s ease;
}
.slang-car-img.active {
  opacity: 1;
}
.slang-car-fb {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  font-weight: 900;
  color: #fff;
}
.slang-car-name {
  font-family: "Dancing Script", cursive;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  text-align: center;
  margin-bottom: 3px;
}
.slang-car-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--char-color);
  margin-bottom: 6px;
  text-align: center;
}
.slang-car-liner {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.38;
  text-align: center;
  max-width: 200px;
  margin-bottom: 8px;
}
/* Dot navigation */
.slang-car-dots {
  display: flex;
  gap: 6px;
  margin-bottom: 10px;
}
.slang-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.2s;
  border: none;
}
.slang-dot-active {
  background: var(--char-color);
  width: 18px;
  border-radius: 4px;
  box-shadow: 0 0 6px var(--char-glow);
}
.slang-car-select-btn {
  background: var(--char-color);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition:
    opacity 0.15s,
    transform 0.15s;
  white-space: nowrap;
  display: flex;
}
.slang-car-select-btn:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

/* ── CHAT PANEL ────────────── */
.slang-chat {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 460px;
  width: 100%;
}
.slang-chat-hdr {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 8px;
  flex-shrink: 0;
}
.slang-chat-hdr-av {
  width: 52px;
  height: 52px;
  border-radius: 0;
  overflow: visible;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
  background: transparent;
  position: relative;
}
.slang-chat-av-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center bottom;
  display: block;
  filter: drop-shadow(0 4px 10px var(--char-glow));
}
.slang-chat-av-fb {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}
.slang-chat-hdr-info {
  flex: 1;
  min-width: 0;
}
.slang-chat-hdr-name {
  font-family: "Dancing Script", cursive;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  margin-bottom: 2px;
}
.slang-chat-hdr-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--char-color);
}
.slang-chat-hdr-acts {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.slang-chat-speak-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s;
}
.slang-chat-speak-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}
.slang-chat-switch-btn {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
  transition: all 0.15s;
}
.slang-chat-switch-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.slang-chat-msgs {
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-right: 4px;
  min-height: 160px;
  max-height: 270px;
  scrollbar-width: thin;
  scrollbar-color: rgba(124, 58, 237, 0.3) transparent;
}
.slang-chat-msgs::-webkit-scrollbar {
  width: 3px;
}
.slang-chat-msgs::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.35);
  border-radius: 3px;
}

.slang-msg-char {
  align-self: flex-start;
  max-width: 92%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 139, 250, 0.16);
  border-radius: 14px 14px 14px 3px;
  padding: 9px 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.8);
}
.slang-msg-user {
  align-self: flex-end;
  max-width: 85%;
  background: var(--char-color);
  border-radius: 14px 14px 3px 14px;
  padding: 8px 12px;
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
}

.slang-chat-input-row {
  display: flex;
  gap: 6px;
  margin-top: 8px;
  flex-shrink: 0;
}
.slang-chat-input {
  flex: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(167, 139, 250, 0.22);
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  color: #fff;
  outline: none;
  font-family: var(--font-ui);
  transition: border-color 0.18s;
}
.slang-chat-input::placeholder {
  color: rgba(255, 255, 255, 0.28);
}
.slang-chat-input:focus {
  border-color: rgba(167, 139, 250, 0.55);
}
.slang-chat-send {
  background: var(--char-color);
  border: none;
  border-radius: 10px;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: opacity 0.15s;
  flex-shrink: 0;
}
.slang-chat-send:hover {
  opacity: 0.85;
}

/* Responsive */
@media (max-width: 900px) {
  .slang-spotlight-inner {
    grid-template-columns: 1fr;
    padding: 0 24px;
  }
  .slang-left-col {
    padding-right: 0;
    border-right: none;
    border-bottom: 1px solid rgba(167, 139, 250, 0.12);
    padding-bottom: 20px;
  }
  .slang-char-panel {
    padding: 18px 16px 12px;
    position: static;
    min-height: unset;
  }
  .slang-char-selector {
    margin-top: 0;
  }
  .slang-chat {
    min-height: 420px;
  }
}

.slang-sp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  max-width: 1140px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
  padding-top: 28px;
  padding-bottom: 0;
  flex-wrap: wrap;
  width: 100%;
}

.slang-sp-header-left {
  text-align: left;
}

.slang-usp-line {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.68);
  margin: 6px 0 0;
  max-width: 380px;
  line-height: 1.42;
  font-style: italic;
}

.slang-intro-copy {
  --slang-copy-y: 0px;
  --slang-copy-scale: 1;
  --slang-copy-glow: 0.12;
  --slang-copy-line: 1;
  position: relative;
  width: min(calc(100% - 48px), 1092px);
  margin: clamp(2px, 0.5vw, 6px) auto clamp(14px, 2vw, 24px);
  padding: clamp(10px, 1.5vw, 16px) clamp(16px, 2.4vw, 28px) clamp(14px, 2vw, 20px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: translateY(var(--slang-copy-y)) scale(var(--slang-copy-scale));
  transform-origin: center;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  transition:
    transform 0.28s ease;
}

.slang-intro-copy:hover {
  transform: translateY(var(--slang-copy-y)) scale(var(--slang-copy-scale));
}

.slang-intro-copy::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  display: block;
  width: min(110px, 32vw);
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #f472b6 0%, #a78bfa 48%, #2dd4bf 100%);
  box-shadow: 0 0 22px rgba(167, 139, 250, 0.46);
  transform: translateX(-50%) scaleX(var(--slang-copy-line));
  transform-origin: center;
  transition: transform 0.28s ease;
}

.slang-intro-copy::after {
  content: "“";
  position: absolute;
  right: clamp(18px, 3vw, 34px);
  top: clamp(2px, 0.8vw, 8px);
  color: rgba(255, 255, 255, 0.08);
  font-family: Georgia, serif;
  font-size: clamp(46px, 5.8vw, 78px);
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.slang-intro-copy p {
  position: relative;
  z-index: 2;
  margin: 0 auto;
  /* max-width: 900px; */
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(13.75px, 1.056vw, 15.95px);
  line-height: 1.48;
  text-align: center;
}

.slang-intro-copy p + p {
  margin-top: 7px;
}

.slang-intro-lead {
  max-width: 760px !important;
  color: rgba(255, 255, 255, 0.94) !important;
  font-family: var(--font-ui);
  font-size: clamp(17.05px, 1.298vw, 20.35px) !important;
  font-weight: 800;
  line-height: 1.22 !important;
  letter-spacing: -0.01em;
}

.slang-intro-em {
  color: #67e8f9;
  font-weight: 800;
  text-shadow: 0 0 18px rgba(45, 212, 191, 0.22);
}

@media (max-width: 900px) {
  .slang-sp-header {
    padding-left: 24px;
    padding-right: 24px;
  }

  .slang-intro-copy {
    width: calc(100% - 48px);
  }

  .slang-sp-header-left {
    width: auto !important;
    margin-left: 0 !important;
  }
}

@media (min-width: 500px) {
  #slanglish .slang-sp-header {
    align-items: center;
    flex-wrap: nowrap;
  }

  #slanglish .slang-sp-header-left {
    flex: 1 1 auto;
    min-width: 0;
  }

  #slanglish .slang-logo-title-row {
    margin-bottom: 0;
  }

  #slanglish .slang-aud-tags {
    flex: 0 0 auto;
    justify-content: flex-end;
    margin-top: 0;
    margin-left: auto;
    white-space: nowrap;
  }
}

@media (max-width: 640px) {
  .slang-sp-header-left,
  .slang-stage,
  .slang-chips {
    width: 100% !important;
    margin-left: 0 !important;
  }

  .slang-intro-copy {
    margin-top: 12px;
    margin-bottom: 16px;
    padding: 10px 0 14px;
  }

  .slang-intro-copy::before {
    width: 86px;
  }

  .slang-intro-copy::after {
    right: 14px;
    top: 6px;
    font-size: 54px;
  }

  .slang-intro-copy p {
    font-size: 12.8px;
    line-height: 1.44;
  }
}

.slanglish-spotlight-section .section-tag {
  color: #a78bfa !important;
  background: rgba(167, 139, 250, 0.1) !important;
  border-color: rgba(167, 139, 250, 0.28) !important;
}

/* Giant word stage */
.slang-stage {
  width: 100%;
  max-width: 900px;
  padding: 22px 18px 16px;
  text-align: center;
  flex: 1;
}

.slang-word-giant {
  font-size: clamp(58px, 9vw, 112px);
  font-weight: 900;
  /* letter-spacing: -0.04em; */
  line-height: 1;
  color: #fff;
  text-transform: uppercase;
  /* font-family: var(--font-ui); */
  transition: opacity 0.1s;
  user-select: none;
  margin-bottom: 10px;
  font-family: "Bangers", system-ui !important;
  font-weight: 400 !important;
  font-style: normal !important;
}

[data-theme="light"] .slang-word-giant {
  color: #0f0520 !important;
}
[data-theme="light"] .slang-word-def {
  color: rgba(15, 5, 32, 0.75) !important;
}
[data-theme="light"] .slang-word-tip {
  color: #7c3aed !important;
  background: rgba(124, 58, 237, 0.06) !important;
  border-left-color: rgba(124, 58, 237, 0.4) !important;
}

.slang-word-giant.flash-out {
  opacity: 0;
  transform: skewX(-4deg) scaleY(0.96);
  transition:
    opacity 0.12s,
    transform 0.12s;
}

.slang-word-giant.flash-in {
  opacity: 1;
  transform: skewX(0) scaleY(1);
  transition:
    opacity 0.18s,
    transform 0.18s;
}

.slang-word-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(167, 139, 250, 0.7);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 4px;
  padding: 4px 14px;
  margin-bottom: 12px;
}

.slang-word-def {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.6);
  max-width: 620px;
  margin: 0 auto 10px;
}

.slang-word-tip {
  font-size: 12px;
  color: #fcd34d;
  background: rgba(251, 191, 36, 0.08);
  border-left: 2px solid rgba(251, 191, 36, 0.55);
  border-radius: 0 8px 8px 0;
  padding: 8px 14px;
  line-height: 1.45;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

/* All-words bottom ticker */
.slang-all-ticker {
  width: 100%;
  overflow: hidden;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 10%,
    #000 90%,
    transparent
  );
}

.slang-all-tape {
  display: flex;
  gap: 30px;
  white-space: nowrap;
  animation: saTape 24s linear infinite;
  width: max-content;
}

.slang-all-tape span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: color 0.18s;
}
.slang-all-tape span:hover {
  color: rgba(167, 139, 250, 0.75) !important;
}

.slang-all-tape span.sa-active {
  color: rgba(167, 139, 250, 0.7);
}

/* ── SLANGLISH WORD CHIPS ─────────────────── */
.slang-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  padding: 4px 18px 12px;
  max-width: 820px;
  margin: 0 auto;
}
.slang-chip {
  background: rgba(167, 139, 250, 0.06);
  border: 1px solid rgba(167, 139, 250, 0.18);
  color: rgba(167, 139, 250, 0.5);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: all 0.18s ease;
  /* font-family: var(--font-ui); */
  font-family: "Bangers", system-ui !important;
  line-height: 1;
}
.slang-chip:hover {
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.35);
  color: rgba(167, 139, 250, 0.9);
  transform: translateY(-1px);
}
.slang-chip.sa-chip-active {
  background: rgba(167, 139, 250, 0.15);
  border-color: rgba(167, 139, 250, 0.5);
  color: #a78bfa;
  box-shadow: 0 0 14px rgba(167, 139, 250, 0.2);
}

@keyframes saTape {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.slang-sp-cta {
  padding: 20px 0 34px;
  align-self: center;
}

.slang-sp-cta .slang-cta-btn {
  background: rgba(124, 58, 237, 0.85) !important;
  border-color: rgba(109, 40, 217, 0.9) !important;
  box-shadow: 3px 3px 0 rgba(109, 40, 217, 0.35) !important;
  font-size: 14px;
  padding: 12px 28px;
}

.slang-sp-cta .slang-cta-btn:hover {
  background: rgba(109, 40, 217, 0.95) !important;
  box-shadow: 5px 5px 0 rgba(109, 40, 217, 0.35) !important;
  transform: translate(-2px, -2px) !important;
}

/* ── PARTNER ECOSYSTEM WHEEL ───────────────────────────────────── */
.partner-wheel-section {
  padding: 100px 0;
  background: var(--bg-surface) !important;
}

.wheel-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.wheel-hub {
  background: #fff;
  border: 2px solid var(--border);
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
}

.wheel-hub-logo {
  width: 90px;
  height: auto;
}

.wheel-spokes {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  max-width: 900px;
}

.spoke {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  width: 240px;
  transition: all 0.3s ease;
  cursor: default;
}

.spoke:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.spoke-node {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.spoke-node svg {
  width: 20px;
  height: 20px;
  color: var(--primary);
  flex-shrink: 0;
}

.spoke-node span {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}

.spoke-detail {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(4px);
  transition: all 0.3s ease;
  max-height: 0;
  overflow: hidden;
}

.spoke:hover .spoke-detail {
  opacity: 1;
  transform: none;
  max-height: 100px;
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1070px) {
  .hero-inner {
    gap: 24px !important;
  }
}

@media (max-width: 1024px) {
  .vertical-card {
    width: calc(50% - 10px);
  }
  .ecosystem-card-lockup {
    min-height: 104px;
  }
  .ecosystem-card-lockup-cask, .ecosystem-card-lockup-nco {
    min-height: 104px;
  }
  /* .ecosystem-card-lockup-nco {
    min-height: 104px;
  } */
  .ecosystem-card-label {
    font-size: clamp(20px, 3.2vw, 27px);
  }
  .movement-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .movement-text-top {
    /* stacks naturally */
  }
  .cask-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .podcast-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .slanglish-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  /* .footer-links-group { grid-template-columns: repeat(3, 1fr); } */
}

@media (max-width: 900px) {
  .chip-bowl-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .chip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .journey-path {
    flex-direction: column;
    align-items: center;
  }
  .jl-connector {
    width: 2px;
    height: 24px;
    margin: 0;
  }
  .movement-visual {
    padding-top: 0;
  }
  .cask-resources {
    padding-top: 0;
  }
  /* Decoder: stack on mobile */
  .slang-decoder-wrap {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .slang-word-btns {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .slang-btn {
    width: auto;
    padding: 8px 14px;
    font-size: 14px;
  }
  .slang-display {
    padding: 24px;
  }
  .slang-display-word {
    font-size: 38px;
  }
  /* Mind map: stack on tablet */
  .cm-dual-cols {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .cm-content-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cm-content-grid.cm-compact {
    grid-template-columns: 1fr;
  }
}

/* @media (max-width: 950px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
} */

@media (max-width: 950px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-map-col {
    justify-content: center;
  }
  .hero-text {
    align-items: center;
  }
  .hero-sub {
    max-width: 100%;
  }
  .hero-sub::before {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-sub-line {
    max-width: 100%;
  }
  .hero-map-col {
    order: -1;
    width: 100%;
  }
  .hero-map-circle {
    width: min(320px, 70vw);
    height: min(320px, 70vw);
  }
  .hero-map-card {
    width: min(440px, 88vw);
    margin: 0 auto;
  }

      .hero-map-title-img{
        height: clamp(92px, 10vw, 130px);
        margin: 1px auto 0;
      }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }
  .nav-cta {
    display: none;
  }
  .hamburger {
    display: block;
  }

  .hero {
    padding: 100px 0 60px;
  }
  .hero-headline {
    font-size: 36px;
  }
  .hero-sub {
    font-size: clamp(24px, 6.4vw, 32px);
    line-height: 1.28;
  }
  .hero-sub-line {
    margin-top: 14px;
    font-size: clamp(15px, 4vw, 19px);
    line-height: 1.5;
  }

  .vertical-card {
    width: 100%;
  }
  #ecosystem .verticals-grid {
    grid-template-columns: 1fr;
    gap: 22px;
    max-width: 620px;
  }
  #ecosystem .vertical-card.cask-card,
  #ecosystem .vertical-card.olympiad-card {
    padding: 24px 18px;
  }
  #ecosystem .vertical-card.cask-card p,
  #ecosystem .vertical-card.olympiad-card p {
    max-width: 50ch;
  }
  #ecosystem .ecosystem-card-points {
    max-width: 50ch;
  }
  #ecosystem .ecosystem-card-points li {
    font-size: 14.5px;
  }
  #ecosystem .ecosystem-grid-note {
    margin-top: -2px;
    max-width: 50ch;
    padding: 14px 16px 12px;
    font-size: 16px;
  }
  #ecosystem .ecosystem-card-btn {
    width: min(100%, 280px);
    white-space: normal;
  }
  .ecosystem-card-lockup {
    min-height: 94px;
    gap: 9px;
  }
  .ecosystem-card-lockup-cask, .ecosystem-card-lockup-nco {
    min-height: 94px;
  }
  /* .ecosystem-card-lockup-nco {
    min-height: 94px;
  } */
  .ecosystem-cask-logo-wrap {
    width: min(108px, 56%);
    height: 30px;
  }
  .ecosystem-nco-logo {
    width: 50px;
    height: 50px;
    transform: scale(1.16);
  }
  .vertical-card.cask-card::after {
    top: auto;
    left: 28px;
    right: 28px;
    bottom: -11px;
    width: auto;
    height: 1px;
    background: linear-gradient(
      90deg,
      transparent,
      rgba(255, 255, 255, 0.18),
      rgba(0, 122, 255, 0.32),
      transparent
    );
  }
  [data-theme="light"] .vertical-card.cask-card::after {
    background: linear-gradient(
      90deg,
      transparent,
      rgba(10, 15, 32, 0.12),
      rgba(29, 78, 216, 0.24),
      transparent
    );
  }

  .cm-nodes-row {
    gap: 8px;
  }

  .steps-row {
    flex-direction: column;
    align-items: center;
  }
  .step-connector {
    width: 2px;
    height: 24px;
    margin: 0;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .footer-links-group {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }

  .partner-pills {
    gap: 8px;
  }

  .initiative-badge {
    align-self: center;
  }
  .hero-map-card {
    width: min(360px, calc(100vw - 40px));
    aspect-ratio: 930 / 1000;
  }
  .hero-map-hud {
    min-height: 34px;
    padding: 8px 12px;
    font-size: 8px;
    letter-spacing: 0.09em;
  }
  .hero-map-svg {
    inset: 32px 6px 10px;
  }
  .hero-map-title-overlay {
    top: 52%;
    width: calc(100% - 34px);
    padding: 10px 14px 9px;
    font-size: clamp(12px, 4vw, 24px);
    letter-spacing: clamp(0.02em, 0.35vw, 0.055em);
    line-height: 0.9;
  }
  .hero-map-title-img {
    width: min(100%, 250px);
    height: clamp(62px, 16vw, 78px);
    margin-top: 0px;
  }
  .hero-map-title-overlay::before,
  .hero-map-title-overlay::after {
    width: min(42%, 180px);
  }
}

@media (max-width: 550px){
  .hero-map-title-overlay {
    font-size: clamp(18px, 5.5vw, 30px);
  }
}

@media (max-width: 480px) {
  
  .hero-map-title-img {
    height: clamp(70px, 18vw, 90px);
  }
}

@media (max-width: 380px) {
  .hero-map-hud-label {
    display: none;
  }
  .hero-map-hud {
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .coord-grid,
  .map-scan-line::after,
  #map-states {
    animation: none !important;
  }
}

@media (max-width: 560px) {
  .footer-links-group {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 30px;
  }
  .hero-actions {
    flex-direction: column;
  }
  .footer-links-group {
    grid-template-columns: 1fr;
  }
  .chip-bowl-layout {
    grid-template-columns: 1fr;
  }
  .chip-grid {
    grid-template-columns: 1fr;
  }
  .cm-nodes-row {
    gap: 6px;
  }
  .cm-node {
    padding: 14px 10px 10px;
    max-width: none;
  }
  .cm-node-emoji {
    font-size: 22px;
    margin-bottom: 6px;
  }
  .cm-node-name {
    font-size: 12.5px;
  }
  .cm-node-sub {
    display: none;
  }
  .cm-content-grid {
    grid-template-columns: 1fr;
  }
  .slang-btn {
    width: 100%;
  }
  .pb-feature-col {
    min-width: 100%;
  }
}

/* ══════════════════════════════════════════════════════════
   PHISH BOWL — LIGHT MODE (scanlines hidden, shader visible)
══════════════════════════════════════════════════════════ */
[data-theme="light"] .pnc-section::before {
  opacity: 0;
  pointer-events: none;
}
[data-theme="light"] .pnc-section::after {
  opacity: 0;
  pointer-events: none;
}
[data-theme="light"] .pb-game-panel {
  box-shadow:
    0 0 0 1px rgba(0, 80, 200, 0.12),
    0 0 20px rgba(0, 80, 200, 0.1),
    0 4px 24px rgba(0, 0, 0, 0.08);
}

/* ══════════════════════════════════════════════════════════
   PHISH BOWL — DASHBOARD STRETCH + CREDITS SOLO CARD
══════════════════════════════════════════════════════════ */
.pb-dashboard {
  display: flex;
  flex-direction: column;
  gap: 14px;
  height: 100%;
}

.pb-credits-solo {
  margin-top: auto;
  background: var(--pb-surface);
  border: 1px solid rgba(0, 200, 255, 0.28);
  border-radius: 12px;
  padding: 18px 24px;
  text-align: center;
  box-shadow:
    0 0 0 1px rgba(0, 200, 255, 0.07),
    0 0 20px rgba(0, 200, 255, 0.18),
    0 0 50px rgba(0, 200, 255, 0.07);
  position: relative;
  overflow: hidden;
}
.pb-credits-solo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 200, 255, 0.8),
    transparent
  );
}
.pb-credits-solo-lbl {
  font-family: "Courier New", Courier, monospace;
  font-size: 9px;
  letter-spacing: 2.5px;
  color: rgba(0, 200, 255, 0.65);
  text-transform: uppercase;
  margin-bottom: 10px;
}
.pb-credits-solo .pb-stat-credits {
  font-size: 36px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(0, 200, 255, 0.5);
}
.pb-credits-solo-sub {
  font-family: "Courier New", Courier, monospace;
  font-size: 8px;
  letter-spacing: 2px;
  color: rgba(0, 200, 255, 0.35);
  text-transform: uppercase;
  margin-top: 6px;
}
[data-theme="light"] .pb-credits-solo {
  border-color: rgba(0, 80, 200, 0.25);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}
[data-theme="light"] .pb-credits-solo-lbl {
  color: rgba(0, 60, 180, 0.7);
}
[data-theme="light"] .pb-credits-solo-sub {
  color: rgba(0, 60, 180, 0.4);
}
[data-theme="light"] .pb-credits-solo::before {
  background: linear-gradient(
    90deg,
    transparent,
    rgba(0, 80, 200, 0.5),
    transparent
  );
}

/* ══════════════════════════════════════════════════════════
   PHISH BOWL — SUPER GAMIFIED GAME INTERIOR
══════════════════════════════════════════════════════════ */

/* All game text → monospace family */
.pb-sim-label,
.pb-level-name,
.pb-diff-lbl,
.pb-timer-lbl,
.pb-timer-val,
.pb-progress-lbl,
.pb-progress-pct {
  font-family: "Courier New", Courier, monospace !important;
}

.pb-sim-label {
  letter-spacing: 2.5px !important;
  font-size: 8px !important;
}
.pb-level-name {
  letter-spacing: 2px !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
}
.pb-diff-lbl {
  letter-spacing: 2px !important;
  font-size: 7.5px !important;
}
.pb-timer-lbl {
  letter-spacing: 2px !important;
  font-size: 7.5px !important;
}
.pb-timer-val {
  letter-spacing: 1px !important;
  font-weight: 900 !important;
}
.pb-progress-lbl {
  letter-spacing: 1.5px !important;
  font-size: 8px !important;
}
.pb-progress-pct {
  letter-spacing: 1px !important;
}

/* ── Radar center: start state ── */
.pb-cs-badge {
  font-family: "Courier New", Courier, monospace;
  font-size: 8px;
  letter-spacing: 3px;
  color: rgba(0, 200, 255, 0.5);
  margin-bottom: 8px;
  text-transform: uppercase;
}
.pb-cs-icon {
  font-size: 30px !important;
  color: rgba(0, 200, 255, 0.9) !important;
  line-height: 1 !important;
  text-shadow: 0 0 14px rgba(0, 200, 255, 0.7) !important;
  animation: pbPulse 2s ease-in-out infinite;
}
@keyframes pbPulse {
  0%,
  100% {
    opacity: 0.7;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.08);
  }
}
.pb-cs-txt {
  font-family: "Courier New", Courier, monospace !important;
  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: 5px !important;
  text-transform: uppercase !important;
  color: var(--pb-text) !important;
  text-shadow: 0 0 12px rgba(0, 200, 255, 0.6) !important;
  margin-top: 8px !important;
  line-height: 1.5 !important;
  text-align: center !important;
}
.pb-cs-cursor {
  font-family: "Courier New", Courier, monospace;
  color: rgba(0, 200, 255, 0.85);
  font-size: 14px;
  animation: pbBlink 1s step-end infinite;
  margin-top: 3px;
  display: block;
  text-align: center;
}
@keyframes pbBlink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
}

/* ── Scenario state ── */
.pb-sc-analyzing {
  font-family: "Courier New", Courier, monospace;
  font-size: 8px;
  letter-spacing: 3px;
  color: rgba(0, 200, 255, 0.7);
  margin-bottom: 6px;
  animation: pbBlink 1.4s ease-in-out infinite;
  text-transform: uppercase;
}
.pb-sc-type {
  font-family: "Courier New", Courier, monospace !important;
  font-size: 8px !important;
  letter-spacing: 3px !important;
  color: rgba(0, 200, 255, 0.6) !important;
  background: rgba(0, 200, 255, 0.07) !important;
  border: 1px solid rgba(0, 200, 255, 0.22) !important;
  border-radius: 3px !important;
  padding: 2px 7px !important;
}
.pb-sc-text {
  font-family: "Courier New", Courier, monospace !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  color: var(--pb-text) !important;
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.4) !important;
  letter-spacing: 0.5px !important;
  margin: 7px 0 !important;
}
.pb-sc-hint {
  font-family: "Courier New", Courier, monospace !important;
  font-size: 7px !important;
  letter-spacing: 1px !important;
  color: var(--pb-muted) !important;
}

/* ── Feedback state ── */
.pb-fb-icon {
  font-size: 26px !important;
  text-shadow: 0 0 16px currentColor !important;
}
.pb-fb-msg {
  font-family: "Courier New", Courier, monospace !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  margin-top: 4px !important;
}
.pb-fb-pts {
  font-family: "Courier New", Courier, monospace !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  letter-spacing: 2px !important;
  text-shadow: 0 0 10px rgba(0, 200, 255, 0.6) !important;
}

/* ── Level up state ── */
.pb-lu-alert {
  font-family: "Courier New", Courier, monospace;
  font-size: 8px;
  letter-spacing: 4px;
  color: #ffaa00;
  margin-bottom: 3px;
  text-transform: uppercase;
  animation: pbBlink 0.45s step-end infinite;
}
.pb-lu-icon {
  font-size: 26px !important;
}
.pb-lu-txt {
  font-family: "Courier New", Courier, monospace !important;
  font-size: 14px !important;
  font-weight: 900 !important;
  letter-spacing: 4px !important;
  text-transform: uppercase !important;
  text-shadow: 0 0 16px rgba(0, 200, 255, 0.9) !important;
}
.pb-lu-sub {
  font-family: "Courier New", Courier, monospace !important;
  font-size: 8px !important;
  letter-spacing: 2px !important;
  color: var(--pb-muted) !important;
  text-transform: uppercase !important;
  margin-top: 3px !important;
}

/* ── Game over state ── */
.pb-go-breach {
  font-family: "Courier New", Courier, monospace;
  font-size: 8px;
  letter-spacing: 4px;
  color: #ff3355;
  text-transform: uppercase;
  margin-bottom: 3px;
  animation: pbBlink 0.3s step-end infinite;
  text-shadow: 0 0 10px rgba(255, 30, 60, 0.6);
}
.pb-go-icon {
  font-size: 26px !important;
}
.pb-go-lbl {
  font-family: "Courier New", Courier, monospace !important;
  font-size: 9px !important;
  letter-spacing: 3px !important;
  color: #ff3355 !important;
  text-shadow: 0 0 12px rgba(255, 30, 60, 0.5) !important;
  font-weight: 800 !important;
}
.pb-go-score {
  font-family: "Courier New", Courier, monospace !important;
  font-size: 11px !important;
  letter-spacing: 2px !important;
  color: rgba(0, 200, 255, 0.75) !important;
  margin: 5px 0 !important;
}
.pb-go-btn {
  font-family: "Courier New", Courier, monospace !important;
  letter-spacing: 2.5px !important;
  font-size: 9px !important;
}

/* ── Deploy button ── */
.pb-deploy-btn {
  font-family: "Courier New", Courier, monospace !important;
  letter-spacing: 2px !important;
}
.pb-deploy-cursor {
  animation: pbBlink 1s step-end infinite;
  margin-left: 2px;
  opacity: 0.75;
}

/* ── Action buttons ── */
.pb-hook-btn,
.pb-safe-btn {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 1px !important;
}
.pb-btn-icon {
  font-size: 16px;
  line-height: 1;
  display: block;
}
.pb-btn-main {
  font-family: "Courier New", Courier, monospace;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: block;
}
.pb-btn-sub {
  font-family: "Courier New", Courier, monospace !important;
  font-size: 8px !important;
  letter-spacing: 1.5px !important;
  opacity: 0.65 !important;
  text-transform: uppercase !important;
}

/* ── About Movement: section-tag sits above grid ── */
.movement-section-tag {
  display: inline-block;
  margin-bottom: 20px;
}

/* Bahl quote: flex column so content stacks cleanly */
.bahl-quote {
  display: flex;
  flex-direction: column;
}

/* ═══════════════════════════════════════════════════════
   PLATFORM.HTML — NEW SECTION STYLES
   ═══════════════════════════════════════════════════════ */

/* ─── MOUNTAIN CLIMB (m2) — enhanced ─── */
.m2-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 620px;
  max-height: 900px;
  overflow: hidden;
  background: #08111f;
  display: flex;
  align-items: flex-end;
}
.m2-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.m2-bg svg {
  width: 100%;
  height: 100%;
  display: block;
}
.m2-fade {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 42%;
  background: linear-gradient(
    90deg,
    rgba(8, 17, 31, 0.98) 0%,
    rgba(8, 17, 31, 0.72) 60%,
    transparent 100%
  );
  pointer-events: none;
  z-index: 2;
}
/* Bottom fade */
.m2-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(0deg, #08111f 0%, transparent 100%);
  z-index: 4;
  pointer-events: none;
}
.m2-content {
  position: relative;
  z-index: 5;
  padding: 0 0 60px 56px;
  max-width: 38%;
}
.m2-tag {
  display: inline-block;
  background: rgba(0, 212, 180, 0.12);
  border: 1px solid rgba(0, 212, 180, 0.35);
  color: #00d4b4;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.m2-sub {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
  margin: 0 0 24px;
}
.m2-grades {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.m2-grade {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  cursor: default;
  transition:
    background 0.25s,
    border-color 0.25s;
}
.m2-grade:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}
.m2-badge {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.m2-gold {
  background: rgba(245, 158, 11, 0.18);
  border: 1px solid rgba(245, 158, 11, 0.4);
}
.m2-teal {
  background: rgba(0, 212, 180, 0.12);
  border: 1px solid rgba(0, 212, 180, 0.35);
}
.m2-purple {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.35);
}
.m2-blue {
  background: rgba(59, 170, 255, 0.15);
  border: 1px solid rgba(59, 170, 255, 0.35);
}
.m2-grade-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.m2-glabel {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
}
.m2-gtitle {
  font-family: "Archivo Black", sans-serif;
  font-size: 13px;
  color: #fff;
}
.m2-gcert {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
}
.m2-gtagline {
  font-size: 10px;
  color: rgba(0, 212, 180, 0.65);
  font-style: italic;
}

.m2-caption {
  position: absolute;
  bottom: 70px;
  right: 40px;
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(8, 17, 31, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 14px 20px;
  backdrop-filter: blur(12px);
}
.m2-cap-ico {
  font-size: 24px;
}
.m2-caption p {
  margin: 0;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}
.m2-connectors {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

/* Pulsing waypoint animation overlaid in CSS for the SVG circles */
@keyframes m2DotPulse {
  0%,
  100% {
    opacity: 0.25;
    transform: scale(0.9);
  }
  50% {
    opacity: 0.7;
    transform: scale(1.25);
  }
}

/* ─── CURRICULUM ATLAS (cx) — horizontal slider ─── */
.cx-atlas-section {
  background: #08111f;
  padding: 80px 0 60px;
  overflow: hidden;
}
.cx-atlas-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 0 56px 40px;
  gap: 32px;
  flex-wrap: wrap;
}
.cx-ah-text {
  flex: 1 1 300px;
}
.cx-ah-h2 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: #fff;
  margin: 8px 0 10px;
}
.cx-ah-sub {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  max-width: 400px;
  margin: 0;
}

.cx-grade-tabs {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.cx-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
  transition: all 0.25s;
  color: rgba(255, 255, 255, 0.45);
}
.cx-tab-num {
  font-family: "Archivo Black", sans-serif;
  font-size: 18px;
  line-height: 1;
}
.cx-tab-name {
  font-size: 10px;
  letter-spacing: 0.5px;
  margin-top: 3px;
}
.cx-tab:hover,
.cx-tab-active {
  background: rgba(0, 212, 180, 0.1);
  border-color: rgba(0, 212, 180, 0.4);
  color: #00d4b4;
}

.cx-track-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.cx-track {
  display: flex;
  width: 100%;
  overflow: hidden;
  /* Each slide is 100% wide */
}
.cx-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0 56px;
  box-sizing: border-box;
  position: relative;
}
/* The actual slide transform is controlled by JS translating the parent */
.cx-track {
  transform: translateX(0);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.cx-slide-body {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  align-items: start;
  padding: 4px 0 8px;
}

/* Left info panel */
.cx-slide-info {
  position: relative;
}
.cx-slide-num {
  font-family: "Archivo Black", sans-serif;
  font-size: 96px;
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  top: -20px;
  left: -8px;
  user-select: none;
  pointer-events: none;
}
.cx-slide-grade {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 12px;
  padding-top: 8px;
}
.cx-slide-title {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  color: #fff;
  margin: 0 0 14px;
  line-height: 1.1;
}
.cx-slide-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.7;
  margin: 0 0 28px;
}
.cx-slide-cert {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
}
.cx-cert-ico {
  font-size: 24px;
}
.cx-slide-cert > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cx-slide-cert strong {
  font-size: 13px;
  color: #fff;
}
.cx-slide-cert span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  font-style: italic;
}

/* Grade-specific accent colours */
.cx-s7 .cx-slide-title,
.cx-s7 .cx-tab-num {
  color: #3baaff;
}
.cx-s8 .cx-slide-title {
  color: #a78bfa;
}
.cx-s9 .cx-slide-title {
  color: #00d4b4;
}
.cx-s10 .cx-slide-title {
  color: #f59e0b;
}

.cx-slide-accent {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 2px;
}
.cx-s7 .cx-slide-accent {
  background: linear-gradient(180deg, #3baaff, transparent);
}
.cx-s8 .cx-slide-accent {
  background: linear-gradient(180deg, #a78bfa, transparent);
}
.cx-s9 .cx-slide-accent {
  background: linear-gradient(180deg, #00d4b4, transparent);
}
.cx-s10 .cx-slide-accent {
  background: linear-gradient(180deg, #f59e0b, transparent);
}

/* Waypoint unit cards */
.cx-slide-units {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.cx-unit {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px;
  transition:
    background 0.2s,
    border-color 0.2s;
}
.cx-unit:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
}
.cx-unit-ico {
  font-size: 20px;
  flex-shrink: 0;
}
.cx-unit-body {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cx-unit-body strong {
  font-size: 12.5px;
  color: #fff;
  display: block;
}
.cx-unit-body span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.5;
}

/* Strand colours */
.cx-u-safety {
  border-left: 2px solid rgba(59, 170, 255, 0.5);
}
.cx-u-technical {
  border-left: 2px solid rgba(0, 212, 180, 0.5);
}
.cx-u-ethics {
  border-left: 2px solid rgba(139, 92, 246, 0.5);
}
.cx-u-leadership {
  border-left: 2px solid rgba(245, 158, 11, 0.5);
}

/* Arrows */
.cx-arrow {
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(8, 17, 31, 0.8);
  color: rgba(255, 255, 255, 0.6);
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
  backdrop-filter: blur(8px);
}
.cx-arrow:hover {
  background: rgba(0, 212, 180, 0.15);
  border-color: #00d4b4;
  color: #00d4b4;
}
.cx-prev {
  left: 12px;
}
.cx-next {
  right: 12px;
}

/* Progress dots */
.cx-progress {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 28px 0 0;
}
.cx-prog-dots {
  display: flex;
  gap: 8px;
}
.cx-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.3s;
  cursor: pointer;
}
.cx-dot-active {
  background: #00d4b4;
  width: 24px;
  border-radius: 4px;
}
.cx-prog-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

/* ─── CYBER COMMAND DECK v3 (cd3) — simplified, one-screen ─── */
.cd3-section {
  background: #08111f;
  padding: 60px 56px 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-height: 100vh;
  overflow: hidden;
  box-sizing: border-box;
}
.cd3-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.cd3-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #00d4b4;
  margin-bottom: 8px;
}
.cd3-h2 {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  color: #fff;
  margin: 0 0 8px;
}
.cd3-grad {
  background: linear-gradient(90deg, #00d4b4, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.cd3-sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
}

/* Wing toggle */
.cd3-toggle {
  display: flex;
  gap: 8px;
}
.cd3-wing {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.25s;
  font-size: 14px;
}
.cd3-wing span {
  font-size: 22px;
}
.cd3-wing > div {
  display: flex;
  flex-direction: column;
  text-align: left;
}
.cd3-wing > div strong {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}
.cd3-wing > div span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.35);
}
.cd3-wing-active {
  background: rgba(0, 212, 180, 0.1);
  border-color: rgba(0, 212, 180, 0.4);
}
.cd3-wing-active > div strong {
  color: #fff;
}

/* Body */
.cd3-body {
  flex: 1;
  overflow: hidden;
  min-height: 0;
}
.cd3-grid-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
  margin-bottom: 14px;
}

.cd3-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}
.cd3-grid-hidden {
  display: none;
}

.cd3-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 12px;
  padding: 14px 12px;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
  cursor: default;
}
.cd3-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  transform: translateY(-2px);
}
.cd3-ico {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.cd3-blue {
  background: rgba(59, 170, 255, 0.12);
  border: 1px solid rgba(59, 170, 255, 0.25);
}
.cd3-teal {
  background: rgba(0, 212, 180, 0.1);
  border: 1px solid rgba(0, 212, 180, 0.25);
}
.cd3-purple {
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.25);
}
.cd3-green {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
}
.cd3-orange {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.cd3-card-txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cd3-card-txt strong {
  font-size: 11.5px;
  color: #fff;
}
.cd3-card-txt span {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.38);
  line-height: 1.4;
}

/* Trust bar */
.cd3-trust {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 20px;
}
.cd3-trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
}
.cd3-trust-item strong {
  color: rgba(255, 255, 255, 0.7);
}
.cd3-trust-item span {
  font-size: 16px;
}

/* Constellation Map — text overflow fix */
.cs2-gradient-text {
  overflow: visible !important;
}
.cs2-gt-line {
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  line-height: 1.05;
  display: block;
  background: linear-gradient(135deg, #00d4b4, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  white-space: nowrap;
  padding-right: 4px;
}
.cs2-left {
  overflow: visible !important;
}

/* Enhanced constellation glow */
.cs2-node-inner {
  box-shadow:
    0 0 8px rgba(0, 212, 180, 0.6),
    0 0 20px rgba(0, 212, 180, 0.3),
    0 0 40px rgba(0, 212, 180, 0.15) !important;
}
.cs2-core-body {
  box-shadow:
    0 0 12px rgba(0, 212, 180, 0.8),
    0 0 30px rgba(0, 212, 180, 0.4),
    0 0 60px rgba(0, 212, 180, 0.2) !important;
}

@keyframes csPulse1 {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.45;
  }
  50% {
    transform: scale(1.18);
    opacity: 0;
  }
}
@keyframes csPulse2 {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.35);
    opacity: 0;
  }
}
.cs2-core-pulse1 {
  animation: csPulse1 2.2s ease-in-out infinite;
}
.cs2-core-pulse2 {
  animation: csPulse2 2.2s ease-in-out 0.7s infinite;
}

/* ─── Atlas slider — overflow fix ─── */
.cx-track-wrap {
  overflow: hidden; /* clip slides outside viewport */
}
.cx-track {
  will-change: transform;
}

/* Responsive: collapse atlas units to 2-col on narrow */
@media (max-width: 960px) {
  .cx-slide-body {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .cx-slide-units {
    grid-template-columns: repeat(2, 1fr);
  }
  .cx-atlas-header {
    padding: 0 24px 32px;
  }
  .cx-slide {
    padding: 0 24px;
  }
}
@media (max-width: 600px) {
  .cx-slide-units {
    grid-template-columns: 1fr;
  }
  .cx-grade-tabs {
    gap: 6px;
  }
  .cx-tab {
    padding: 8px 12px;
  }
}

/* Responsive: Command Deck grid 4-col on medium */
@media (max-width: 1120px) {
  /* .hero-inner{grid-template-columns: 1fr;}
    .hero-text { order: 2; }
    .hero-map-col{justify-content: center;  } */
  .cert-govt-bar {
    flex-wrap: wrap;
  }
}
@media (max-width: 1100px) {
  .cd3-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .cd3-section {
    padding: 48px 32px 36px;
  }
}
@media (max-width: 768px) {
  .cd3-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .journey-level {
    min-width: 270px;
  }
}
@media (max-width: 500px) {
  .cd3-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .cd3-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mountain — ensure SVG fills and grade panel positioning */
@media (max-width: 900px) {
  .m2-content {
    max-width: 55%;
    padding: 0 0 40px 28px;
  }
  .m2-caption {
    right: 16px;
    bottom: 50px;
  }
}
