/* ==========================================================================
   WEREWOLF • CLUE GAMING PLATFORM
   Ultra-polished Gaming UI with 3D Canvas Grid & Fanned Cards Deck
   ========================================================================== */

:root {
  --bg-dark: #4f46e5;
  --bg-surface: rgba(255, 255, 255, 0.12);
  --bg-surface-hover: rgba(255, 255, 255, 0.2);
  --border-subtle: rgba(255, 255, 255, 0.2);
  --border-focus: rgba(255, 255, 255, 0.45);
  
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.84);
  --text-muted: rgba(255, 255, 255, 0.65);
  
  --promo-lime: #a3e635;
  --coin-gold: #facc15;
  --online-green: #22c55e;
  --switch-red: #f43f5e;
  
  /* Role Card Themes */
  --card-oldman-grad: linear-gradient(155deg, #fb923c 0%, #f97316 45%, #c2410c 100%);
  --card-seer-grad: linear-gradient(155deg, #818cf8 0%, #6366f1 45%, #4f46e5 100%);
  --card-werewolf-grad: linear-gradient(155deg, #ff7171 0%, #f43f5e 45%, #e11d48 100%);
  --card-witch-grad: linear-gradient(155deg, #a3e635 0%, #65a30d 50%, #4d7c0f 100%);
  --card-hunter-grad: linear-gradient(155deg, #38bdf8 0%, #0284c7 50%, #0369a1 100%);

  --font-hero: 'Outfit', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-ui: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  box-shadow: none !important;
  text-shadow: none !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html {
  width: 100%;
  min-height: 100%;
  overflow-x: clip;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE / Edge */
}

body {
  width: 100%;
  min-height: 100%;
  overflow-x: clip;
  background: #ffffff; /* Crisp Clean White for Content Sections */
  color: var(--text-primary);
  font-family: var(--font-ui);
  user-select: none;
  position: relative;
  scrollbar-width: none !important; /* Firefox */
  -ms-overflow-style: none !important; /* IE / Edge */
}

/* ==========================================================================
   Scroll & Scrollbar System (Seamless Fluid Momentum, Hidden Native Scrollbar)
   ========================================================================== */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  display: none !important; /* Chrome, Safari, Edge, Opera */
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* Top Luxury Scroll Progress Indicator (Zero Clutter, Real-time Visual Feedback) */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, #4f46e5 0%, #c084fc 50%, #facc15 100%);
  z-index: 100000;
  pointer-events: none;
  border-radius: 0 2px 2px 0;
  box-shadow: none !important;
  transition: width 0.08s ease-out;
}

/* ==========================================================================
   Universal SVG Icon System (Professional Vector Icons, Zero Emojis)
   ========================================================================== */
.ui-icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.15em;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.2s ease, fill 0.2s ease, color 0.2s ease;
}

.ui-icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-icon-xs {
  width: 12px;
  height: 12px;
}

.ui-icon-sm {
  width: 14px;
  height: 14px;
}

.ui-icon-md {
  width: 18px;
  height: 18px;
}

.ui-icon-lg {
  width: 24px;
  height: 24px;
}

.ui-icon-xl {
  width: 32px;
  height: 32px;
}

.ui-icon-heart {
  color: #ef4444 !important;
  fill: #ef4444 !important;
}

.ui-icon-gold {
  color: #f59e0b !important;
  fill: #f59e0b !important;
}

.ui-icon-green {
  color: #10b981 !important;
  fill: #10b981 !important;
}

.ui-icon-blue {
  color: #3b82f6 !important;
  fill: #3b82f6 !important;
}

.ui-icon-purple {
  color: #a855f7 !important;
  fill: #a855f7 !important;
}

.heart-triplet {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  vertical-align: middle;
}

.heart-triplet svg {
  width: 1.15em;
  height: 1.15em;
  fill: #ef4444;
}

.star-rating-row {
  display: inline-flex;
  gap: 3px;
  align-items: center;
}

/* ==========================================================================
   Landing Hero Backdrop (Electric Blue & Animated 3D Grid strictly for Landing)
   ========================================================================== */
.landing-hero-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  z-index: 1;
  pointer-events: none;
  background: #4f46e5;
}

.landing-hero-backdrop::after {
  display: none !important;
}

/* ==========================================================================
   Background 3D Curved Canvas Grid (Scoped strictly inside Landing Backdrop)
   ========================================================================== */
.grid-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* ==========================================================================
   Floating 3D Background Decorative Elements (Scoped to Landing)
   ========================================================================== */
.floating-scene {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.floating-item {
  position: absolute;
  transition: transform 0.2s ease-out;
}

.float-witch,
.float-trophy {
  top: 40%;
  left: 6.5%;
  width: 95px;
  animation: floatWitch 7s ease-in-out infinite;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
}

.float-witch img,
.float-trophy img,
.float-element-img {
  width: 100%;
  height: auto;
  display: block;
}

.witch-aura {
  display: none !important;
}

.float-cauldron,
.float-gamepad {
  top: 34%;
  right: 7%;
  width: 105px;
  animation: floatCauldron 8s ease-in-out infinite;
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.35));
}

.float-cauldron img,
.float-gamepad img {
  width: 100%;
  height: auto;
  display: block;
}

.cauldron-steam {
  position: absolute;
  top: -20px;
  left: 20%;
  right: 20%;
  height: 40px;
}

.bubble {
  position: absolute;
  background: radial-gradient(circle, #5eead4, transparent 70%);
  border-radius: 50%;
  opacity: 0.6;
}

.bubble.b1 { width: 14px; height: 14px; left: 10px; animation: riseBubble 3.5s infinite; }
.bubble.b2 { width: 18px; height: 18px; left: 26px; animation: riseBubble 4.2s 1s infinite; }
.bubble.b3 { width: 12px; height: 12px; left: 42px; animation: riseBubble 3.8s 2s infinite; }

@keyframes floatWitch {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(2.5deg); }
}

@keyframes floatCauldron {
  0%, 100% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-16px) scale(1.03); }
}

@keyframes pulseGlow {
  0% { opacity: 0.3; transform: scale(0.9); }
  100% { opacity: 0.7; transform: scale(1.1); }
}

@keyframes riseBubble {
  0% { transform: translateY(20px) scale(0.5); opacity: 0; }
  40% { opacity: 0.8; }
  100% { transform: translateY(-40px) scale(1.3); opacity: 0; }
}

/* ==========================================================================
   Application Container
   ========================================================================== */
.app-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 36px;
  box-sizing: border-box;
}

/* ==========================================================================
   Landing Fold (100% Viewport Height Container for Navbar + Hero + Cards)
   ========================================================================== */
.landing-fold {
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0 0 0;
  scroll-margin-top: 0;
  box-sizing: border-box;
  position: relative;
}

/* ==========================================================================
   Top Navigation Bar (Ultra-polished Glassmorphism Floating Capsule)
   ========================================================================== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 10px 18px 10px 14px;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: blur(28px) saturate(190%);
  backdrop-filter: blur(28px) saturate(190%);
  border: 1.5px solid rgba(0, 0, 0, 0.15);
  border-radius: 9999px;
  position: relative;
  z-index: 100;
  flex-shrink: 0;
  transition: all 0.3s ease;
  box-sizing: border-box;
  opacity: 1 !important;
  visibility: visible !important;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: none;
  color: #0a0a0c;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  padding: 8px 16px;
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-btn .nav-icon {
  width: 16px;
  height: 16px;
  opacity: 0.9;
  transition: transform 0.2s;
}

.nav-btn:hover {
  background: rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}

.nav-btn:hover .nav-icon {
  transform: scale(1.1);
  opacity: 1;
}

.nav-btn-active {
  background: #0a0a0c;
  color: #ffffff;
}

.nav-btn-active .nav-icon {
  opacity: 1;
}

.nav-btn-active:hover {
  background: #1e293b;
  color: #ffffff;
}

/* 5 Months • Free Access Badge */
.promo-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(132, 204, 22, 0.16);
  border: 1.5px solid rgba(101, 163, 13, 0.45);
  padding: 6px 14px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: all 0.25s ease;
}

.promo-pill:hover {
  background: rgba(132, 204, 22, 0.25);
  border-color: rgba(101, 163, 13, 0.65);
  transform: translateY(-1px);
}

.gift-icon {
  font-size: 13px;
}

.promo-text {
  color: #365314;
  letter-spacing: 0.2px;
  font-weight: 600;
}

.promo-text .highlight {
  color: #1a2e05;
  font-weight: 800;
}

/* Left Clue Brand Button (Logo + Name) */
.clue-brand-btn, .clue-logo-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 2px 4px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 12px;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.clue-brand-btn:hover, .clue-logo-btn:hover {
  transform: scale(1.05);
}

.clue-brand-btn:active, .clue-logo-btn:active {
  transform: scale(0.96);
}

.clue-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: block;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.clue-brand-text {
  font-family: var(--font-hero);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #0a0a0c;
  line-height: 1;
  text-transform: uppercase;
}

.nav-divider {
  width: 1px;
  height: 24px;
  background: rgba(0, 0, 0, 0.18);
  margin: 0 4px;
}

/* Nav Right */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-circle-btn {
  position: relative;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.icon-circle-btn svg {
  width: 17px;
  height: 17px;
  opacity: 0.9;
}

.icon-circle-btn:hover {
  background: #ffffff;
  border-color: rgba(0, 0, 0, 0.3);
  transform: translateY(-1px);
}

.icon-circle-btn:hover svg {
  opacity: 1;
}

.bell-btn .notification-dot {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  background-color: #ef4444;
  border-radius: 50%;
}

/* Coin Balance Pill (Clean Flat Glass) */
.coins-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid rgba(0, 0, 0, 0.12);
  padding: 5px 8px 5px 12px;
  border-radius: 9999px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  position: relative;
  transition: all 0.2s ease;
}

.coins-pill:hover {
  border-color: rgba(202, 138, 4, 0.6);
}

.coin-icon-wrapper {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coin-svg {
  width: 18px;
  height: 18px;
}

.coins-amount {
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  color: #0a0a0c;
  font-variant-numeric: tabular-nums;
}

.coins-add-btn {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #16a34a;
  border: none;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.coins-add-btn svg {
  width: 13px;
  height: 13px;
}

.coins-add-btn:hover {
  transform: scale(1.15) rotate(90deg);
  background: #15803d;
}

.coins-add-btn:active {
  transform: scale(0.95);
}

/* Floating coin reward notification */
.coin-float-toast {
  position: absolute;
  top: -24px;
  left: 50%;
  transform: translateX(-50%);
  color: #ca8a04;
  font-size: 12px;
  font-weight: 800;
  pointer-events: none;
  animation: floatToast 1s ease-out forwards;
}

@keyframes floatToast {
  0% { opacity: 0; transform: translate(-50%, 10px) scale(0.8); }
  30% { opacity: 1; transform: translate(-50%, -10px) scale(1.1); }
  100% { opacity: 0; transform: translate(-50%, -30px) scale(1); }
}

/* Navigation Sign Up Button */
.nav-signup-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  background: #0a0a0c;
  color: #ffffff;
  border: 1.5px solid #0a0a0c;
  border-radius: 9999px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-signup-btn:hover {
  background: #1e293b;
  border-color: #1e293b;
  transform: translateY(-1px);
}

.nav-signup-btn:active {
  transform: scale(0.96);
}


/* User Profile Avatar */
.profile-avatar-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  cursor: pointer;
  border-radius: 12px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.8), rgba(0, 0, 0, 0.15));
  transition: transform 0.2s;
}

.profile-avatar-wrapper:hover {
  transform: scale(1.06);
}

.profile-img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  object-fit: cover;
  display: block;
  background: #f1f5f9;
}

.online-indicator {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 15px;
  height: 12px;
  background: #22c55e;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #052e16;
  border: 1.5px solid #ffffff;
}

.online-indicator svg {
  width: 7px;
  height: 5px;
}

/* ==========================================================================
   Hero Header & Typography
   ========================================================================== */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 4px;
  padding-bottom: 0;
  flex: 1;
  width: 100%;
  justify-content: center;
  box-sizing: border-box;
  gap: 0;
}

.hero-titles-group {
  padding-top: 6px;
  margin-bottom: 0;
  width: 100%;
  max-width: 1060px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  position: relative;
  z-index: 5;
}

.hero-title {
  font-family: var(--font-hero);
  font-size: clamp(48px, 5.2vw, 74px) !important;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  text-transform: none !important;
  color: #ffffff;
  text-shadow: none;
  columns: 1 !important;
  column-count: 1 !important;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}

.hero-title-top {
  margin-bottom: 6px;
  text-transform: none !important;
}

.hero-title-bottom {
  display: block;
  text-align: center;
  columns: 1 !important;
  column-count: 1 !important;
  width: 100%;
  text-transform: none !important;
}

.hero-line {
  display: inline;
  text-transform: none !important;
}

.hero-word-knowledge {
  display: inline-flex;
  align-items: center;
  white-space: nowrap !important;
  word-break: keep-all !important;
  vertical-align: baseline;
}

/* Concentric Bullseye "O" in KNOWLEDGE QUEST */
.target-o {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 0.78em;
  height: 0.78em;
  margin: 0 2px;
  border: 0.15em solid #ffffff;
  border-radius: 50%;
  box-sizing: border-box;
  vertical-align: -0.02em;
  color: transparent !important;
  user-select: none;
}

.target-o::after {
  content: '';
  position: absolute;
  width: 0.32em;
  height: 0.32em;
  background-color: #ffffff;
  border-radius: 50%;
}

.hero-subtitle {
  font-size: 14.5px;
  font-weight: 450;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  max-width: 620px;
  margin-bottom: 8px;
  letter-spacing: 0.1px;
}

/* ==========================================================================
   Hero Action Buttons (Sign Up & Explore)
   ========================================================================== */
.hero-actions-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 22px;
  margin-bottom: 48px;
  position: relative;
  z-index: 30;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: 9999px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
  cursor: pointer;
  text-decoration: none;
  box-shadow: none !important;
  transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.2s ease,
              border-color 0.2s ease;
}

.hero-btn-signup {
  background: #ffffff;
  color: #0a0a0c;
  border: 1.5px solid #ffffff;
  border-bottom: 3.5px solid #cbd5e1 !important;
}

.hero-btn-signup:hover {
  background: #f8fafc;
  transform: translateY(-2px);
  border-bottom-width: 4px !important;
}

.hero-btn-signup:active {
  transform: translateY(2px) !important;
  border-bottom-width: 1.5px !important;
}

.hero-btn-explore {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.32);
  border-bottom: 3.5px solid rgba(255, 255, 255, 0.45) !important;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.hero-btn-explore:hover {
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
  border-bottom-width: 4px !important;
}

.hero-btn-explore:active {
  transform: translateY(2px) !important;
  border-bottom-width: 1.5px !important;
}

.hero-btn-icon {
  width: 15px;
  height: 15px;
  transition: transform 0.2s ease;
}

.hero-btn-signup:hover .hero-btn-icon {
  transform: translateX(3px);
}

.hero-btn-icon-left {
  width: 16px;
  height: 16px;
}

/* ==========================================================================
   Fanned Cards Deck Showcase & Interactive Hover System
   ========================================================================== */
.cards-showcase-container {
  width: 100%;
  max-width: 1180px;
  position: relative;
  z-index: 25;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  perspective: 1200px;
}

.cards-fan-deck {
  position: relative;
  width: 100%;
  max-width: 1140px;
  height: 425px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transform-style: preserve-3d;
}

/* Individual Fanned Role Card */
.fan-card {
  position: absolute;
  bottom: 0;
  width: 280px;
  height: 390px;
  border-radius: 34px;
  cursor: pointer;
  transform-origin: 50% 100%;
  transition: transform 0.4s cubic-bezier(0.2, 0.9, 0.3, 1),
              filter 0.3s ease;
  will-change: transform;
}

.card-inner-box {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
}

/* Wavy Topography Pattern */
.card-topo-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-size: cover;
  background-position: center;
  pointer-events: none;
  background-image: 
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.25) 1px, transparent 1px),
    repeating-radial-gradient(circle at 50% 20%, transparent 0, transparent 12px, rgba(255, 255, 255, 0.2) 13px, rgba(255, 255, 255, 0.2) 15px, transparent 16px, transparent 26px);
  z-index: 2;
}

/* Header within Card */
.card-header-bar {
  position: relative;
  z-index: 6;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px 0 20px;
}

.card-side-tag {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #ffffff;
  text-transform: uppercase;
}

.card-side-tag.evil {
  color: #ffffff;
}

.card-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(8px);
  padding: 3px 9px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.pill-medal {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #facc15;
}

.pill-medal svg {
  width: 12px;
  height: 12px;
  fill: #facc15;
}

.pill-val {
  font-size: 12px;
  font-weight: 800;
  color: #ffffff;
}

.card-role-name {
  position: relative;
  z-index: 6;
  font-family: var(--font-hero);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #ffffff;
  text-align: left;
  padding: 2px 20px 0 20px;
}

.title-swash {
  letter-spacing: 1.5px;
}

/* Card Character Art Frame */
.card-illustration-frame {
  position: absolute;
  inset: 0;
  top: 36px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 4;
}

.card-char-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  mix-blend-mode: screen;
  transition: transform 0.4s ease-out;
  border-radius: 0 0 32px 32px;
}

.full-card-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-radius: 32px;
  transition: transform 0.4s ease-out;
}

/* Hover Quick Play Footer */
.card-hover-footer {
  position: absolute;
  bottom: 16px;
  left: 18px;
  right: 18px;
  z-index: 10;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.card-select-btn {
  width: 100%;
  padding: 9px;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 9999px;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.2s, color 0.2s;
}

.card-select-btn:hover {
  background: #ffffff;
  color: #000000;
}

/* --------------------------------------------------------------------------
   Card Specific Colorways & Resting Fanned Placements
   -------------------------------------------------------------------------- */
/* 1. Old Man (Far Left) */
.card-oldman {
  left: calc(50% - 415px);
  transform: translateY(48px) rotate(-22deg) scale(0.96);
  z-index: 10;
}
.card-oldman .card-inner-box {
  background: var(--card-oldman-grad);
}

/* 2. Seer (Mid Left) */
.card-seer {
  left: calc(50% - 235px);
  transform: translateY(18px) rotate(-11deg) scale(0.98);
  z-index: 20;
}
.card-seer .card-inner-box {
  background: var(--card-seer-grad);
}

/* 3. Werewolf (Center Hero) */
.card-werewolf {
  left: calc(50% - 146px);
  width: 292px;
  height: 400px;
  transform: translateY(0px) rotate(0deg) scale(1.04);
  z-index: 30;
}
.card-werewolf .card-inner-box {
  background: var(--card-werewolf-grad);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

/* 4. Witch (Mid Right) */
.card-witch {
  left: calc(50% - 55px);
  transform: translateY(18px) rotate(11deg) scale(0.98);
  z-index: 20;
}
.card-witch .card-inner-box {
  background: var(--card-witch-grad);
}

/* 5. Hunter (Far Right) */
.card-hunter {
  left: calc(50% + 125px);
  transform: translateY(48px) rotate(22deg) scale(0.96);
  z-index: 10;
}
.card-hunter .card-inner-box {
  background: var(--card-hunter-grad);
}

/* --------------------------------------------------------------------------
   THE HOVER BEHAVIOR: Lift, Straighten, and Pop (No Shadows)
   -------------------------------------------------------------------------- */
body:not(.gsap-active) .fan-card:hover {
  transform: translateY(-55px) rotate(0deg) scale(1.12) !important;
  z-index: 100 !important;
}

body.gsap-active .fan-card {
  transition: filter 0.35s ease !important;
}

.card-inner-box {
  pointer-events: none;
}

.card-select-btn {
  pointer-events: auto;
}

.fan-card:hover {
  filter: brightness(1.06);
}

.fan-card:hover .card-hover-footer {
  opacity: 1;
  transform: translateY(0);
}

body:not(.gsap-active) .fan-card:hover .card-char-img,
body:not(.gsap-active) .fan-card:hover .full-card-art {
  transform: scale(1.05);
}

/* ==========================================================================
   Bottom Utility Bar
   ========================================================================== */
.bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: 14px;
}

.bottom-left {
  display: flex;
  align-items: center;
}



.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-secondary);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--online-green);
  border-radius: 50%;
  animation: pulseServer 2s infinite;
}

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

.play-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0a0a0c;
  color: #ffffff;
  border: none;
  padding: 10px 24px;
  border-radius: 9999px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.play-hero-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.play-hero-btn:hover {
  background: #1e293b;
  transform: translateY(-2px) scale(1.04);
}

.play-hero-btn:active {
  transform: translateY(0) scale(0.98);
}

.bottom-copyright {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.45);
  margin-left: 18px;
}

.bottom-right {
  position: fixed;
  bottom: 24px;
  right: 28px;
  z-index: 99;
  display: flex;
  align-items: center;
  gap: 10px;
}

.sound-toggle-btn, .view-mode-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s;
}

.sound-toggle-btn svg, .view-mode-btn svg {
  width: 15px;
  height: 15px;
}

.sound-toggle-btn:hover, .view-mode-btn:hover {
  background: var(--bg-surface-hover);
  color: #ffffff;
  border-color: var(--border-focus);
}

.sound-toggle-btn.playing {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.2);
}

.sound-toggle-btn.muted {
  opacity: 0.55;
  color: rgba(255, 255, 255, 0.7);
}

/* ==========================================================================
   Role Detail Modal Spotlight
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(20px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 28px;
  max-width: 780px;
  width: 100%;
  padding: 32px;
  transform: scale(0.92) translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  color: #0a0a0c;
}

.modal-backdrop.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0a0a0c;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: rgba(0, 0, 0, 0.1);
  transform: scale(1.1);
}

.modal-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: center;
}

.modal-preview-side {
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-spotlight-card {
  width: 240px;
  height: 330px;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(0, 0, 0, 0.15);
  position: relative;
  background: #0f111a;
}

.modal-spotlight-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-info-side {
  text-align: left;
}

.modal-badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.modal-side-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(244, 63, 94, 0.12);
  color: #e11d48;
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.modal-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 4px 10px;
  border-radius: 9999px;
  color: #0a0a0c;
}

.modal-role-title {
  font-family: var(--font-hero);
  font-size: 36px;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #0a0a0c;
  margin-bottom: 4px;
}

.modal-role-role {
  font-size: 13.5px;
  color: #334155;
  font-weight: 600;
  margin-bottom: 20px;
}

.modal-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px;
}

.stat-box {
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  padding: 10px 14px;
}

.stat-label {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #64748b;
  margin-bottom: 4px;
}

.stat-value {
  font-size: 14px;
  font-weight: 800;
  color: #0a0a0c;
}

.modal-description-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 3px solid #e11d48;
  padding: 12px 14px;
  border-radius: 0 10px 10px 0;
  margin-bottom: 24px;
}

.modal-description-box h4 {
  font-size: 12px;
  font-weight: 800;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.modal-description-box p {
  font-size: 13px;
  line-height: 1.55;
  color: #000000;
  font-weight: 500;
}

.modal-actions {
  display: flex;
  gap: 12px;
}

.modal-primary-btn {
  flex: 1;
  padding: 12px;
  background: #0a0a0c;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-primary-btn:hover {
  background: #1e293b;
  transform: translateY(-1px);
}

.modal-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.12);
  color: #0a0a0c;
  border-radius: 9999px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.15s;
}

.modal-secondary-btn:hover {
  background: rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.2);
}

.modal-secondary-btn.speaking {
  background: #0f172a;
  color: #38bdf8;
  border-color: #38bdf8;
}

.modal-secondary-btn .audio-btn-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.modal-secondary-btn .audio-eq-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
}

.modal-secondary-btn .audio-eq-bars span {
  width: 2.5px;
  background-color: #38bdf8;
  border-radius: 1px;
  animation: eqBounce 0.8s ease-in-out infinite alternate;
}

.modal-secondary-btn .audio-eq-bars span:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.modal-secondary-btn .audio-eq-bars span:nth-child(2) { height: 14px; animation-delay: 0.35s; }
.modal-secondary-btn .audio-eq-bars span:nth-child(3) { height: 9px; animation-delay: 0.2s; }
.modal-secondary-btn .audio-eq-bars span:nth-child(4) { height: 12px; animation-delay: 0.45s; }

@keyframes eqBounce {
  0% { height: 3px; }
  100% { height: 14px; }
}

/* ==========================================================================
   Notifications Drawer
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: 360px;
  height: 100%;
  background: #ffffff;
  border-left: 1px solid rgba(0, 0, 0, 0.1);
  padding: 24px;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  color: #0a0a0c;
}

.drawer-backdrop.active .drawer-panel {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  margin-bottom: 16px;
}

.drawer-header h3 {
  font-size: 16px;
  font-weight: 800;
  color: #0a0a0c;
}

.drawer-close {
  background: none;
  border: none;
  color: #0a0a0c;
  font-size: 24px;
  cursor: pointer;
}

.drawer-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow-y: auto;
}

.notif-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.notif-item.unread {
  border-color: rgba(202, 138, 4, 0.3);
  background: rgba(202, 138, 4, 0.06);
}

.notif-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notif-icon svg {
  width: 18px;
  height: 18px;
}

.notif-content h4 {
  font-size: 13px;
  font-weight: 700;
  color: #0a0a0c;
  margin-bottom: 2px;
}

.notif-content p {
  font-size: 11.5px;
  color: var(--text-secondary);
  line-height: 1.4;
  margin-bottom: 4px;
}

.notif-time {
  font-size: 10px;
  color: var(--text-muted);
}

/* ==========================================================================
   Reference Overlay Compare Mode
   ========================================================================== */
.reference-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.reference-overlay img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.overlay-hint {
  position: absolute;
  bottom: 20px;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 1024px) {
  .mobile-app-card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .app-container {
    padding: 0 20px;
  }
  .hero-title {
    font-size: 40px;
  }
  .cards-fan-deck {
    height: 330px;
  }
  .fan-card {
    width: 210px;
    height: 296px;
  }
  .card-oldman { left: calc(50% - 270px); }
  .card-seer { left: calc(50% - 165px); }
  .card-werewolf { left: calc(50% - 108px); width: 216px; height: 306px; }
  .card-witch { left: calc(50% - 45px); }
  .card-hunter { left: calc(50% + 60px); }
  
  .float-witch, .float-trophy { left: 2%; top: 38%; width: 56px; }
  .float-cauldron, .float-gamepad { right: 2%; top: 30%; width: 60px; }
  
  .modal-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .modal-info-side {
    text-align: center;
  }
  .modal-badge-row {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .app-container {
    padding: 0 16px;
  }
  .hero-actions-group {
    margin-top: 14px;
    margin-bottom: 28px;
    gap: 10px;
  }
  .hero-btn {
    padding: 9px 18px;
    font-size: 12.5px;
  }
  .navbar {
    padding: 6px 10px;
    border-radius: 9999px;
  }
  .clue-brand-text {
    font-size: 18px;
  }
  .nav-btn {
    padding: 6px 10px;
    font-size: 12px;
  }
  .hero-title {
    font-size: clamp(20px, 5.8vw, 28px);
    line-height: 1.22;
    text-align: center;
  }
  .hero-line {
    display: block;
  }
  .hero-line-compete {
    margin-bottom: 2px;
  }
  .hero-line-quest {
    white-space: nowrap;
  }
  .promo-pill {
    display: none;
  }
  .coins-pill {
    padding: 3px 7px;
  }
  .coins-amount {
    font-size: 11.5px;
  }
  .bottom-bar {
    flex-direction: column;
    gap: 12px;
  }
}

/* Desktop height-based adaptations so short laptop screens keep cards 100% visible */
@media (min-width: 901px) and (max-height: 860px) {
  .landing-fold {
    padding-top: 10px;
  }
  .cards-showcase-container {
    margin-top: 0;
    position: relative;
    z-index: 25;
  }
  .hero-actions-group {
    margin-top: 14px;
    margin-bottom: 34px;
    gap: 12px;
  }
  .hero-btn {
    padding: 10px 22px;
    font-size: 13px;
  }
  .hero-titles-group {
    padding-top: 4px;
    margin-bottom: 0;
  }
  .hero-title {
    font-size: 40px;
  }
  .hero-subtitle {
    font-size: 13.5px;
    margin-bottom: 12px;
    line-height: 1.45;
  }
  .cards-fan-deck {
    height: 360px;
  }
  .fan-card {
    height: 330px;
    width: 240px;
  }
  .card-werewolf {
    height: 340px;
    width: 250px;
  }
}

@media (min-width: 901px) and (max-height: 720px) {
  .landing-fold {
    padding-top: 8px;
  }
  .hero-title {
    font-size: 32px;
  }
  .hero-subtitle {
    display: none;
  }
  .cards-fan-deck {
    height: 300px;
  }
  .fan-card {
    height: 280px;
    width: 205px;
  }
  .card-werewolf {
    height: 290px;
    width: 215px;
  }
}

/* ==========================================================================
   Hero Scroll Cue Pill
   ========================================================================== */
.hero-scroll-cue {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 24px;
  margin-bottom: 8px;
  position: relative;
  z-index: 40;
}

.scroll-cue-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-decoration: none;
  cursor: pointer;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-cue-pill svg {
  width: 14px;
  height: 14px;
  animation: bounceDown 1.8s ease-in-out infinite;
}

.scroll-cue-pill:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
  transform: translateY(2px);
}

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

/* ==========================================================================
   Section 2: Live Battle Arenas & Cognitive Quests
   ========================================================================== */
.arenas-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 110px;
  padding-bottom: 80px;
  position: relative;
  z-index: 20;
}

.arenas-header {
  text-align: center;
  max-width: 820px;
  margin-bottom: 38px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  padding: 6px 16px;
  border-radius: 9999px;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #ffffff;
  margin-bottom: 16px;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.live-dot-pulse {
  width: 8px;
  height: 8px;
  background-color: var(--online-green);
  border-radius: 50%;
  animation: pulseLive 2s infinite;
}

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

.section-title {
  font-family: var(--font-hero);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.015em;
  color: #ffffff;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.highlight-iris {
  color: #a5b4fc;
}

.section-subtitle {
  font-size: 15px;
  font-weight: 450;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
  max-width: 660px;
  margin: 0 auto 28px;
  letter-spacing: 0.1px;
}

/* Filter Tabs */
.arena-filter-bar {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 5px;
  border-radius: 9999px;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.arena-tab {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
}

.arena-tab:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.arena-tab.active {
  background: #ffffff;
  color: #0a0a0c;
  font-weight: 700;
}

.tab-count {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.15);
  margin-left: 6px;
}

/* ==========================================================================
   Section Headers & Shared Platform UI Tokens
   ========================================================================== */
.platform-section {
  width: 100%;
  max-width: 1340px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  padding: 70px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 10;
  scroll-margin-top: 84px;
  box-sizing: border-box;
}

/* ==========================================================================
   Section 2: Editorial Showcase Section (Styled per User Design Reference)
   ========================================================================== */
.editorial-showcase-section {
  min-height: auto;
  padding: 95px 0 85px 0;
  background: #ffffff;
  width: 100%;
  align-items: stretch;
  justify-content: center;
}

.editorial-showcase-container {
  display: grid;
  grid-template-columns: 1.05fr 1.35fr;
  gap: 40px;
  align-items: center;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 24px;
}

/* Left Column */
.editorial-showcase-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-right: 12px;
}

.editorial-showcase-title {
  font-family: var(--font-hero);
  font-size: clamp(36px, 4.3vw, 54px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: #0a0a0c;
  margin: 0 0 24px 0;
}

.editorial-accent-line {
  color: #8b261e;
  font-weight: 800;
  display: inline;
}

.editorial-showcase-subtitle {
  font-family: var(--font-ui);
  font-size: 15.5px;
  line-height: 1.62;
  color: #475569;
  max-width: 420px;
  margin: 0 0 34px 0;
  font-weight: 450;
}

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

.editorial-primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.16);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-primary-btn:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.22);
}

.editorial-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f1f5f9;
  color: #0f172a;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  padding: 13px 26px;
  border-radius: 9999px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.editorial-secondary-btn:hover {
  background: #e2e8f0;
  transform: translateY(-2px);
}

/* Right Column: Cascading Staggered Cards Deck */
.editorial-showcase-right {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  width: 100%;
}

.editorial-cards-cascade {
  display: flex;
  align-items: flex-start;
  position: relative;
  padding: 54px 0 44px 0;
  width: 100%;
}

.cascade-card {
  position: relative;
  flex-shrink: 0;
  width: clamp(165px, 16vw, 205px);
  height: clamp(195px, 19vw, 240px);
  border-radius: 24px;
  cursor: pointer;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s ease,
              z-index 0.35s ease;
}

.cascade-card-inner {
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, 0.26), 0 4px 12px rgba(0, 0, 0, 0.08);
  position: relative;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.cascade-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

/* Staggered Vertical Drops & Horizontal Overlaps matching user reference image */
.cascade-card-1 {
  z-index: 1;
  transform: translateY(-16px);
  margin-left: 0;
}

.cascade-card-2 {
  z-index: 2;
  transform: translateY(22px);
  margin-left: -54px;
}

.cascade-card-3 {
  z-index: 3;
  transform: translateY(58px);
  margin-left: -54px;
}

.cascade-card-4 {
  z-index: 4;
  transform: translateY(86px);
  margin-left: -54px;
}

.cascade-card-5 {
  z-index: 5;
  transform: translateY(104px);
  margin-left: -54px;
}

.cascade-card:hover {
  z-index: 20 !important;
}
.cascade-card-1:hover { transform: translateY(-28px) scale(1.05); }
.cascade-card-2:hover { transform: translateY(10px) scale(1.05); }
.cascade-card-3:hover { transform: translateY(44px) scale(1.05); }
.cascade-card-4:hover { transform: translateY(72px) scale(1.05); }
.cascade-card-5:hover { transform: translateY(90px) scale(1.05); }

/* Floating Speech Bubbles with pointers */
.user-speech-tag {
  position: absolute;
  top: -42px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 14px;
  border-radius: 9999px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  z-index: 30;
}

.tag-crimson {
  background: #8b261e;
}

.tag-dark {
  background: #18181b;
}

.tag-pointer {
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.tag-crimson .tag-pointer {
  border-top: 6px solid #8b261e;
}

.tag-dark .tag-pointer {
  border-top: 6px solid #18181b;
}

/* Vertical Navigation Buttons (Up / Down) */
.editorial-vertical-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 18px;
  align-self: center;
  flex-shrink: 0;
}

.editorial-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.editorial-nav-btn svg {
  width: 16px;
  height: 16px;
}

.editorial-nav-btn:hover {
  background: #0f172a;
  color: #ffffff;
  border-color: #0f172a;
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
}

/* Expanded Drawer for Syllabus & Perks (Keeps all original content accessible) */
.pillars-expanded-drawer {
  width: 100%;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid #e2e8f0;
  transition: all 0.35s ease;
}

@media (max-width: 1040px) {
  .editorial-showcase-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .editorial-showcase-left {
    align-items: center;
    text-align: center;
    padding-right: 0;
  }
  .editorial-showcase-subtitle {
    max-width: 580px;
  }
  .editorial-actions-group {
    justify-content: center;
  }
  .editorial-showcase-right {
    justify-content: center;
    overflow-x: auto;
    padding-bottom: 24px;
    -webkit-overflow-scrolling: touch;
  }
  .editorial-cards-cascade {
    justify-content: center;
  }
}

@media (max-width: 680px) {
  .editorial-showcase-section {
    padding: 60px 0 50px 0;
  }
  .editorial-showcase-title {
    font-size: 32px;
  }
  .editorial-cards-cascade {
    padding-left: 10px;
    justify-content: flex-start;
  }
  .cascade-card {
    width: 150px;
    height: 180px;
    margin-left: -40px;
  }
  .cascade-card-1 {
    margin-left: 0;
  }
  .editorial-vertical-nav {
    display: none;
  }
}

/* Section pill badges, blinking dots, and ambient glow halos removed for a clean, human-crafted look */
.platform-section::before,
#prizesSection::before,
#interviewsSection::before,
#howItWorksSection::before,
#proofSection::before,
.section-pill-badge,
.final-cta-badge,
.live-dot-pulse,
.live-pulse-dot {
  display: none !important;
}

.section-title {
  font-family: var(--font-hero);
  font-size: 38px;
  font-weight: 900;
  color: #0f172a;
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin-bottom: 14px;
  text-transform: none !important;
}

.highlight-iris {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: #4f46e5;
}

.section-subtitle {
  font-size: 15px;
  line-height: 1.6;
  color: #475569;
  text-align: center;
  max-width: 680px;
  margin-bottom: 40px;
}

/* ==========================================================================
   Section 2: Serious Learning & Recreational Play
   Head text at the top, solid cards with clean spacing (NOT touching).
   ========================================================================== */
.editorial-showcase-section {
  padding: 60px 0 90px !important;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Head text at the top */
.editorial-top-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 860px;
  margin: 0 auto 32px;
  width: 100%;
  z-index: 2;
}

.editorial-headline {
  font-family: var(--font-hero);
  font-size: clamp(34px, 4vw, 50px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: #0f172a;
  margin: 0 0 16px;
  text-transform: none !important;
}

.editorial-accent {
  color: #4f46e5; /* Clue system purple/iris color */
  display: inline;
}

.editorial-subtitle {
  font-size: 16px;
  line-height: 1.65;
  color: #64748b;
  max-width: 660px;
  margin: 0;
}

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

.editorial-btn {
  border-radius: 9999px;
  padding: 13px 26px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.editorial-btn-solid {
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.16);
}

.editorial-btn-solid:hover {
  background: #1e293b;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
}

.editorial-btn-ghost {
  background: #f1f5f9;
  color: #1e293b;
  border: 1.5px solid #e2e8f0;
}

.editorial-btn-ghost:hover {
  background: #e2e8f0;
  color: #0f172a;
  transform: translateY(-2px);
}

/* Solid Pillars Grid: Clean separation, NOT touching */
.solid-pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  position: relative;
  padding-top: 0;
}

/* Cards with Solid Backgrounds (Zero overlap, perfectly spaced) */
.editorial-card {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-radius: 28px;
  border: none !important;
  margin-left: 0 !important; /* Zero overlap, clean separation! */
  position: relative;
  overflow: visible;
  box-shadow: 0 18px 42px -12px rgba(0, 0, 0, 0.3), 0 3px 10px rgba(0, 0, 0, 0.08);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.28s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  padding: 26px 22px 22px;
  box-sizing: border-box;
}

.editorial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 56px -14px rgba(0, 0, 0, 0.45);
}

/* Solid Background Colors for Each Card */
.card-solid-navy {
  background: #0f172a; /* Solid Deep Slate Navy */
  border: none !important;
}

.card-solid-violet {
  background: #2e1065; /* Solid Deep Royal Violet */
  border: none !important;
}

.card-solid-crimson {
  background: #881337; /* Solid Deep Ruby Crimson */
  border: none !important;
}

.card-solid-amber {
  background: #b45309; /* Solid Rich Amber Gold (Matches yellow card in reference image) */
  border: none !important;
}

/* Floating Speech Bubble Tags (@howard & @robin from reference image) */
.editorial-speech-tag {
  position: absolute;
  top: -38px;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 14px;
  border-radius: 9999px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  z-index: 50;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  pointer-events: none;
  white-space: nowrap;
  animation: speechFloat 3s ease-in-out infinite;
}

@keyframes speechFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-3px); }
}

.speech-tag-howard {
  background: #992222; /* Matches red tag in Image 1 */
  color: #ffffff;
}

.speech-tag-howard::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #992222;
}

.speech-tag-robin {
  background: #18181b; /* Matches dark tag in Image 1 */
  color: #ffffff;
  animation-delay: 1.5s;
}

.speech-tag-robin::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #18181b;
}

/* Card Top Row */
.solid-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 20px;
}

.solid-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #ffffff;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease;
}

.card-solid-navy .solid-card-icon {
  background: #ffffff;
  color: #0f172a;
}

.card-solid-violet .solid-card-icon {
  background: #ffffff;
  color: #4338ca;
}

.card-solid-crimson .solid-card-icon {
  background: #ffffff;
  color: #be123c;
}

.card-solid-amber .solid-card-icon {
  background: #ffffff;
  color: #b45309;
}

.solid-card-icon svg {
  width: 26px;
  height: 26px;
}

/* Badges */
.solid-tag-badge {
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 9999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.badge-cyan {
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
}

.badge-lilac {
  background: rgba(192, 132, 252, 0.2);
  color: #c084fc;
  border: 1px solid rgba(192, 132, 252, 0.35);
}

.badge-rose {
  background: rgba(251, 113, 133, 0.2);
  color: #fb7185;
  border: 1px solid rgba(251, 113, 133, 0.35);
}

.badge-gold {
  background: rgba(253, 224, 71, 0.25);
  color: #fef08a;
  border: 1px solid rgba(253, 224, 71, 0.4);
}

/* Card Body Content */
.solid-card-content {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.solid-card-title {
  font-family: var(--font-hero);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 10px;
  letter-spacing: -0.01em;
}

.solid-card-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 16px;
  min-height: 42px;
}

/* Perks / Feature Items (Glass row chips) */
.solid-perks-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.solid-perk-item {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 8px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: background 0.2s ease;
}

.solid-perk-item:hover {
  background: rgba(255, 255, 255, 0.13);
}

.solid-perk-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-cyan { background: #38bdf8; box-shadow: 0 0 8px rgba(56, 189, 248, 0.8); }
.dot-lilac { background: #c084fc; box-shadow: 0 0 8px rgba(192, 132, 252, 0.8); }
.dot-rose { background: #fb7185; box-shadow: 0 0 8px rgba(251, 113, 133, 0.8); }
.dot-gold { background: #fde047; box-shadow: 0 0 8px rgba(253, 224, 71, 0.8); }

/* Bottom Action Button */
.solid-card-footer {
  margin-top: auto;
  width: 100%;
}

.solid-card-cta {
  width: 100%;
  padding: 13px 20px;
  border-radius: 9999px;
  background: #ffffff;
  color: #0f172a;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.solid-card-cta svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.solid-card-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  background: #f8fafc;
}

.solid-card-cta:hover svg {
  transform: translateX(3px);
}

/* Responsive Grid */
@media (max-width: 1100px) {
  .solid-pillars-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .solid-pillars-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .editorial-top-header {
    margin-bottom: 36px;
  }
  .editorial-headline {
    font-size: 28px;
  }
  .editorial-actions {
    flex-direction: column;
    width: 100%;
  }
  .editorial-btn {
    width: 100%;
  }
}

/* Vertical Chevrons (Far right vertical navigation pill from reference image) */
.editorial-nav-pills {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 9999px;
  padding: 6px;
  box-shadow: 0 10px 24px -6px rgba(15, 23, 42, 0.12);
  margin-left: 16px;
  flex-shrink: 0;
  z-index: 30;
}

.deck-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #64748b;
  transition: all 0.2s ease;
}

.deck-nav-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
  transform: scale(1.08);
}

.deck-nav-btn:active {
  transform: scale(0.94);
}

/* ==========================================================================
   Section 3: The Clue Game Library (Full-Bleed Vibrant Purple Theme)
   ========================================================================== */
/* ==========================================================================
   Section 3: The Clue Game Library (100% Full-Bleed Royal Purple Section)
   ========================================================================== */
#prizesSection {
  position: relative;
  z-index: 10;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 100px 32px;
  background: #4f46e5 !important;
  border: none !important;
  border-top: none !important;
  border-bottom: none !important;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#prizesSection::after,
#prizesSection::before {
  display: none !important;
}

#prizesSection > * {
  position: relative;
  z-index: 1;
}

/* Header typography and badge contrast adjustments for purple background */
#prizesSection .section-pill-badge {
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

#prizesSection .section-pill-badge .live-dot-pulse {
  background-color: #facc15;
}

#prizesSection .section-title {
  color: #ffffff;
  letter-spacing: -0.015em;
}

#prizesSection .highlight-iris {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: #facc15;
}

#prizesSection .section-subtitle {
  color: rgba(255, 255, 255, 0.92);
}

/* ==========================================================================
   Section 3: The Clue Game Studio & Interactive Showcase (Luminous Suite)
   ========================================================================== */
.library-engines-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 32px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1260px;
  position: relative;
  z-index: 10;
  opacity: 1 !important;
  visibility: visible !important;
}

.engine-nav-tab {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.45);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-bottom: 3.5px solid #000000;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
  opacity: 1 !important;
  visibility: visible !important;
}

.engine-nav-tab:hover {
  background: rgba(15, 23, 42, 0.75);
  border-color: #ffffff;
  transform: translateY(-2px);
  color: #ffffff;
}

.engine-nav-tab.active {
  background: #ffffff !important;
  color: #0f172a !important;
  border-color: #ffffff !important;
  border-bottom: 3.5px solid #94a3b8 !important;
  transform: translateY(0);
}

.engine-nav-tab.active .ui-icon {
  fill: #4f46e5 !important;
}

.tab-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 2.5px 9px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.engine-nav-tab.active .tab-badge {
  background: #e0e7ff !important;
  color: #4338ca !important;
}

/* Main Showcase Stage */
.library-showcase-stage {
  width: 100%;
  max-width: 1260px;
  background: #4338ca;
  border: none !important;
  border-radius: 32px;
  padding: 36px 40px;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 36px;
  position: relative;
  box-sizing: border-box;
  margin-bottom: 24px;
}

/* Left: Engine Information & Highlights */
.engine-info-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.info-badge-row {
  display: none !important;
}

.engine-category-tag {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 4px 12px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.engine-stats-tag {
  font-size: 12px;
  font-weight: 700;
  color: #e0e7ff;
}

.engine-showcase-title {
  font-family: var(--font-hero);
  font-size: clamp(24px, 2.5vw, 32px);
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
}

.engine-showcase-desc {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.9);
}

.engine-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 18px;
  padding: 18px 20px;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-bullet-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #ffffff;
  border: none !important;
  color: #4338ca;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.feature-item-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.45;
}

.feature-item-content strong {
  color: #ffffff;
  font-weight: 700;
}

.engine-cta-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.engine-play-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  color: #3730a3;
  border: none;
  padding: 13px 26px;
  border-radius: 9999px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.engine-play-btn:hover {
  background: #f8fafc;
  transform: translateY(-2px);
}

.engine-mode-note {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

/* Right: Interactive Live Simulation Frame (Crisp White High-End Card) */
.engine-interactive-preview {
  background: #ffffff;
  border-radius: 26px;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  color: #0f172a;
}

.preview-chrome-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid #e2e8f0;
}

.preview-brand-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.live-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: audioDotPulse 1.4s infinite;
}

.preview-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #0f172a;
  text-transform: uppercase;
}

.preview-hud-metrics {
  display: flex;
  align-items: center;
  gap: 10px;
}

.preview-hearts {
  display: flex;
  align-items: center;
  gap: 3px;
}

.heart-icon {
  width: 14px;
  height: 14px;
  fill: #ef4444;
}

.preview-timer-pill {
  font-family: monospace;
  font-size: 12px;
  font-weight: 800;
  color: #4f46e5;
  background: #eef2ff;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #c7d2fe;
}

/* Live Visual Canvas */
.preview-visual-stage {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 84px;
}

.audio-waveform-graphic {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 28px;
}

.wave-bar {
  width: 4px;
  background: linear-gradient(180deg, #4f46e5 0%, #7c3aed 100%);
  border-radius: 9999px;
  animation: eqWave 1.2s ease-in-out infinite alternate;
}

.wave-bar.w1 { height: 8px; animation-delay: 0.1s; }
.wave-bar.w2 { height: 18px; animation-delay: 0.25s; }
.wave-bar.w3 { height: 26px; animation-delay: 0.4s; }
.wave-bar.w4 { height: 14px; animation-delay: 0.15s; }
.wave-bar.w5 { height: 28px; animation-delay: 0.35s; }
.wave-bar.w6 { height: 20px; animation-delay: 0.5s; }
.wave-bar.w7 { height: 28px; animation-delay: 0.2s; }
.wave-bar.w8 { height: 14px; animation-delay: 0.45s; }
.wave-bar.w9 { height: 22px; animation-delay: 0.3s; }
.wave-bar.w10 { height: 16px; animation-delay: 0.15s; }

.audio-playing-track {
  font-size: 12px;
  font-weight: 700;
  color: #475569;
}

/* Prompt Box */
.preview-prompt-box {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.preview-mode-sub {
  font-size: 11px;
  font-weight: 800;
  color: #6366f1;
  text-transform: uppercase;
  letter-spacing: 0.6px;
}

.preview-question {
  font-family: var(--font-hero);
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.35;
}

/* Clue Hint Pill */
.preview-hint-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 11.5px;
}

.hint-badge {
  font-size: 9.5px;
  font-weight: 900;
  background: #7c3aed;
  color: #ffffff;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

.hint-content {
  color: #4c1d95;
  font-style: italic;
  line-height: 1.35;
}

/* Options Grid */
.preview-options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.preview-opt-btn {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #0f172a;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
}

.preview-opt-btn:hover {
  background: #eef2ff;
  border-color: #6366f1;
  transform: translateY(-2px);
}

.opt-key {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #e2e8f0;
  color: #334155;
  font-size: 11px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.preview-opt-btn.opt-correct {
  background: #f0fdf4 !important;
  border-color: #22c55e !important;
  color: #15803d !important;
}

.preview-opt-btn.opt-wrong {
  background: #fef2f2 !important;
  border-color: #ef4444 !important;
  color: #b91c1c !important;
}

/* Telemetry Ribbon */
.engine-telemetry-ribbon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding: 12px 28px;
  background: #4338ca;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 9999px;
  margin-top: 8px;
  flex-wrap: wrap;
}

.telemetry-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.9);
}

.telemetry-item .ui-icon-subtle {
  color: #ffffff;
  fill: currentColor;
}

.telemetry-item strong {
  color: #ffffff;
}

.telemetry-divider {
  width: 1px;
  height: 16px;
  background: rgba(255, 255, 255, 0.25);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .library-showcase-stage {
    grid-template-columns: 1fr;
    padding: 26px;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .library-showcase-stage {
    padding: 20px 16px;
    border-radius: 24px;
    gap: 20px;
  }
  .engine-nav-tab {
    padding: 9px 14px;
    font-size: 12px;
  }
  .preview-options-grid {
    grid-template-columns: 1fr;
  }
  .engine-telemetry-ribbon {
    border-radius: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding: 16px 20px;
  }
  .telemetry-divider {
    display: none;
  }
}

/* ==========================================================================
   Section 4: Technical & Corporate Interview Exam Hub / Clue Gatherings
   ========================================================================== */
#interviewsSection {
  min-height: auto;
  padding: 60px 0;
}

.gatherings-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

.gatherings-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  width: 100%;
  height: 100%;
}

.gathering-solid-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 20px;
  padding: 22px 20px 20px 20px;
  box-sizing: border-box;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 12px 28px -10px rgba(15, 23, 42, 0.25);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, filter 0.28s ease;
  border: none !important;
}

.gathering-solid-card:hover {
  transform: translateY(-4px);
  filter: brightness(1.04);
  box-shadow: 0 18px 36px -10px rgba(15, 23, 42, 0.38);
}

/* 4 Distinct Solid Background Themes */
.gathering-solid-navy {
  background: linear-gradient(145deg, #091226 0%, #0d1e3d 50%, #060b18 100%) !important;
}

.gathering-solid-violet {
  background: linear-gradient(145deg, #2b0e4f 0%, #431677 50%, #1f083b 100%) !important;
}

.gathering-solid-crimson {
  background: linear-gradient(145deg, #4c071d 0%, #6e0b29 50%, #350412 100%) !important;
}

.gathering-solid-amber {
  background: linear-gradient(145deg, #452102 0%, #693203 50%, #2f1501 100%) !important;
}

.gathering-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 10px;
}

.gathering-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: #ffffff;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease;
}

.gathering-solid-navy .gathering-card-icon {
  background: #ffffff;
  color: #0d1e3d;
}

.gathering-solid-violet .gathering-card-icon {
  background: #ffffff;
  color: #431677;
}

.gathering-solid-crimson .gathering-card-icon {
  background: #ffffff;
  color: #6e0b29;
}

.gathering-solid-amber .gathering-card-icon {
  background: #ffffff;
  color: #693203;
}

.gathering-card-icon svg {
  width: 19px;
  height: 19px;
}

.gathering-card-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
}

.gathering-card-title {
  font-family: var(--font-hero);
  font-size: 17.5px;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.gathering-card-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin: 0 0 12px 0;
  flex-grow: 1;
}

.gathering-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 16px;
  margin-top: auto;
}

.gathering-chip {
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.94);
}

.gathering-card-footer {
  margin-top: 0;
  flex-shrink: 0;
}

.gathering-action-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.22s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.gathering-action-btn:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
  transform: translateY(-1px);
}

.gathering-action-btn svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

/* Right Showcase Side Image */
.gatherings-showcase-visual {
  position: relative;
  display: flex;
  width: 100%;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
}

.gatherings-image-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 36px -10px rgba(15, 23, 42, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #0f172a;
  display: flex;
}

.gatherings-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  aspect-ratio: auto !important;
  transition: transform 0.6s ease;
}

.gatherings-image-wrapper:hover .gatherings-main-img {
  transform: scale(1.03);
}

.gatherings-image-overlay {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px 20px 18px 20px;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 0.75) 30%, rgba(15, 23, 42, 0.95) 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gatherings-overlay-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  align-self: flex-start;
  padding: 3px 8px;
  border-radius: 9999px;
  background: rgba(99, 102, 241, 0.3);
  border: 1px solid rgba(165, 180, 252, 0.5);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #e0e7ff;
}

.overlay-live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 6px #22c55e;
}

.gatherings-overlay-title {
  font-family: var(--font-hero);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
  color: #ffffff;
}

.gatherings-overlay-caption {
  font-size: 12px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}

@media (max-width: 1024px) {
  .gatherings-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .gatherings-showcase-visual {
    height: 380px;
  }
  .gatherings-image-wrapper {
    position: relative;
    height: 100%;
  }
}

@media (max-width: 640px) {
  .gatherings-cards-grid {
    grid-template-columns: 1fr;
  }
}

.interviews-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.interviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  width: 100%;
}

.exam-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 26px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.exam-card:hover {
  transform: translateY(-4px);
  border-color: #0f172a;
}

.exam-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.exam-company-tag {
  font-size: 10.5px;
  font-weight: 800;
  color: #6d28d9;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  padding: 3px 9px;
  border-radius: 9999px;
}

.exam-duration {
  font-size: 11px;
  color: #64748b;
}

.exam-title {
  font-family: var(--font-hero);
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.25;
}

.exam-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(13px * 1.55 * 3);
}

.exam-skills-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: auto 0 18px 0;
}

.skill-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 10.5px;
  color: #4338ca;
  background: #eef2ff;
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid #e0e7ff;
}

.skill-chip svg {
  width: 12px;
  height: 12px;
}

.exam-action-btn {
  width: 100%;
  padding: 11px 18px;
  border-radius: 9999px;
  border: none;
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.exam-action-btn:hover {
  background: #4f46e5;
  color: #ffffff;
  transform: translateY(-2px);
}

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

.exam-action-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.exam-action-btn:hover svg {
  transform: translateX(3px);
}

/* Proctor Trust Bar */
.proctor-trust-bar {
  width: 100%;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 20px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 50px!important;
}

.proctor-feature-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: #475569;
}

.proctor-feature-item strong {
  color: #0f172a;
}

.proctor-feature-item .icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
}

.proctor-feature-item .icon svg {
  width: 18px;
  height: 18px;
}

/* ==========================================================================
   Section 4.5: Pre-Employment & Civil Service Recruitment Platform
   ========================================================================== */
.recruitment-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: center;
}

.recruitment-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
}

.rec-solid-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  border-radius: 24px;
  padding: 24px 22px 20px 22px;
  box-sizing: border-box;
  color: #ffffff;
  overflow: hidden;
  box-shadow: 0 16px 36px -12px rgba(15, 23, 42, 0.28);
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.28s ease, filter 0.28s ease;
  border: none !important;
}

.rec-solid-card:hover {
  transform: translateY(-5px);
  filter: brightness(1.04);
  box-shadow: 0 24px 44px -12px rgba(15, 23, 42, 0.42);
}

/* 3 Distinct Solid Background Themes */
.rec-solid-navy {
  background: linear-gradient(145deg, #091226 0%, #0d1e3d 50%, #060b18 100%) !important;
}

.rec-solid-emerald {
  background: linear-gradient(145deg, #022c22 0%, #064e3b 50%, #021a14 100%) !important;
}

.rec-solid-crimson {
  background: linear-gradient(145deg, #4c071d 0%, #6e0b29 50%, #350412 100%) !important;
}

.rec-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-bottom: 14px;
}

.rec-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #ffffff;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  transition: transform 0.2s ease;
}

.rec-solid-navy .rec-card-icon {
  background: #ffffff;
  color: #0d1e3d;
}

.rec-solid-emerald .rec-card-icon {
  background: #ffffff;
  color: #064e3b;
}

.rec-solid-crimson .rec-card-icon {
  background: #ffffff;
  color: #6e0b29;
}

.rec-card-icon svg {
  width: 22px;
  height: 22px;
}

.rec-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rec-card-title {
  font-family: var(--font-hero);
  font-size: 18.5px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 8px;
}

.rec-card-desc {
  font-size: 12.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 14px;
}

.rec-perks-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
  padding: 0;
}

.rec-perks-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.rec-perks-list li strong {
  color: #ffffff;
}

.rec-check-icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: none !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

.rec-solid-navy .rec-check-icon {
  background: #ffffff;
  color: #0d1e3d;
}

.rec-solid-emerald .rec-check-icon {
  background: #ffffff;
  color: #064e3b;
}

.rec-solid-crimson .rec-check-icon {
  background: #ffffff;
  color: #6e0b29;
}

.rec-check-icon svg {
  width: 11px;
  height: 11px;
}

.rec-card-footer {
  margin-top: auto;
}

.rec-action-btn {
  width: 100%;
  padding: 11px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.22s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.rec-action-btn:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
  transform: translateY(-1px);
}

.rec-action-btn:active {
  transform: translateY(1px);
}

.rec-action-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* --------------------------------------------------------------------------
   Recruiter HUD & Candidate Scorecard Simulation
   -------------------------------------------------------------------------- */
.recruiter-hud-card {
  width: 100%;
  background: #0f172a;
  border: 1.5px solid #334155;
  border-bottom: 4px solid #020617;
  border-radius: 28px;
  padding: 28px 30px;
  box-sizing: border-box;
  color: #ffffff;
  margin-top: 8px;
}

.hud-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #1e293b;
  padding-bottom: 18px;
  margin-bottom: 22px;
  flex-wrap: wrap;
  gap: 16px;
}

.hud-brand-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-hero);
  font-size: 13px;
  letter-spacing: 0.8px;
  color: #f8fafc;
}

.hud-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  display: inline-block;
  box-shadow: none !important;
}

.hud-status-badge {
  font-size: 10px;
  font-weight: 800;
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(74, 222, 128, 0.3);
  padding: 3px 9px;
  border-radius: 9999px;
}

.hud-mode-toggle {
  display: inline-flex;
  background: #1e293b;
  padding: 4px;
  border-radius: 9999px;
  gap: 4px;
  border: 1px solid #334155;
}

.hud-tab {
  padding: 7px 16px;
  border-radius: 9999px;
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 700;
  color: #94a3b8;
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.hud-tab.active {
  background: #4f46e5;
  color: #ffffff;
  font-weight: 800;
}

.hud-main-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 22px;
  align-items: stretch;
  margin-bottom: 22px;
}

.hud-candidate-col {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 20px;
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hud-candidate-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid #334155;
}

.hud-avatar-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4f46e5;
  color: #ffffff;
  font-family: var(--font-hero);
  font-weight: 900;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hud-candidate-details {
  flex: 1;
  min-width: 0;
}

.hud-candidate-details h4 {
  font-family: var(--font-hero);
  font-size: 16px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2px;
}

.hud-candidate-id {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  margin-bottom: 2px;
}

.hud-role-target {
  display: block;
  font-size: 11.5px;
  font-weight: 700;
  color: #facc15;
}

.hud-percentile-pill {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  background: rgba(250, 204, 21, 0.12);
  border: 1px solid rgba(250, 204, 21, 0.35);
  padding: 5px 12px;
  border-radius: 12px;
  flex-shrink: 0;
}

.hud-percentile-pill .pct-val {
  font-family: var(--font-hero);
  font-size: 15px;
  font-weight: 900;
  color: #facc15;
  line-height: 1.1;
}

.hud-percentile-pill .pct-lbl {
  font-size: 9px;
  font-weight: 700;
  color: #cbd5e1;
}

.hud-skills-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hud-skill-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.skill-name-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #cbd5e1;
  font-weight: 600;
}

.skill-name-meta strong {
  color: #ffffff;
  font-weight: 800;
}

.skill-bar-track {
  width: 100%;
  height: 7px;
  background: #0f172a;
  border-radius: 9999px;
  overflow: hidden;
}

.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #6366f1, #22c55e);
  border-radius: 9999px;
  transition: width 0.4s ease;
}

.hud-decision-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hud-audit-box {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.audit-row {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
}

.audit-lbl {
  color: #94a3b8;
}

.audit-val {
  font-weight: 700;
  color: #ffffff;
}

.audit-val.text-green {
  color: #4ade80 !important;
}

.audit-val.text-gold {
  color: #facc15 !important;
}

.hud-recommendation-box {
  background: rgba(30, 41, 59, 0.7);
  border: 1.5px dashed #475569;
  border-radius: 18px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
  justify-content: space-between;
}

.rec-status-tag {
  font-size: 10px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.8px;
}

.hud-recommendation-box p {
  font-size: 12px;
  line-height: 1.5;
  color: #cbd5e1;
  margin: 0;
}

.hud-decision-badge {
  font-family: var(--font-hero);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.6px;
  background: #166534;
  color: #bbf7d0;
  border: 1px solid #22c55e;
  padding: 8px 12px;
  border-radius: 10px;
  text-align: center;
}

.hud-footer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #1e293b;
  flex-wrap: wrap;
  gap: 14px;
}

.hud-metrics-strip {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: #94a3b8;
}

.hud-dot {
  color: #475569;
}

.hud-cta-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hud-demo-btn {
  background: #4f46e5;
  color: #ffffff;
  border: 1.5px solid #6366f1;
  border-bottom: 3.5px solid #312e81;
  border-radius: 9999px;
  padding: 9px 18px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hud-demo-btn:hover {
  background: #4338ca;
  transform: translateY(-2px);
  border-bottom-width: 4px;
}

.hud-demo-btn:active {
  transform: translateY(2px);
  border-bottom-width: 1.5px;
}

.hud-whitepaper-btn {
  background: transparent;
  color: #e2e8f0;
  border: 1.5px solid #475569;
  border-radius: 9999px;
  padding: 9px 18px;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.hud-whitepaper-btn:hover {
  border-color: #cbd5e1;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 1024px) {
  .recruitment-cards-grid {
    grid-template-columns: 1fr;
  }
  .hud-main-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .recruiter-hud-card {
    padding: 20px 16px;
  }
  .hud-footer-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .hud-cta-group {
    flex-direction: column;
    width: 100%;
  }
  .hud-demo-btn,
  .hud-whitepaper-btn {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================================================
   Section 5: How It Works & Progression Flow (100% Full-Bleed Royal Purple Section)
   ========================================================================== */
#howItWorksSection {
  position: relative;
  z-index: 10;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 100px 36px;
  background: #4f46e5 !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.2);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.2);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#howItWorksSection::before {
  display: none !important;
}

#howItWorksSection > * {
  position: relative;
  z-index: 1;
}

#howItWorksSection .section-pill-badge {
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

#howItWorksSection .section-pill-badge .live-dot-pulse {
  background-color: #facc15;
}

#howItWorksSection .section-title {
  color: #ffffff;
  letter-spacing: -0.015em;
}

#howItWorksSection .highlight-iris {
  background: none;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: initial;
  color: #facc15;
}

#howItWorksSection .section-subtitle {
  color: rgba(255, 255, 255, 0.92);
}

.how-it-works-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
  max-width: 1340px;
  margin-bottom: 32px;
}

.proof-unified-block {
  width: 100%;
  max-width: 1340px;
  display: flex;
  flex-direction: column;
}

.step-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 28px;
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: #0f172a;
}

.step-num-pill {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #4f46e5;
  color: #ffffff;
  font-family: var(--font-hero);
  font-size: 18px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step-card-title {
  font-family: var(--font-hero);
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}

.step-card-desc {
  font-size: 13.5px;
  line-height: 1.55;
  color: #475569;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(13.5px * 1.55 * 3);
}

/* ==========================================================================
   Section 6: Metrics Ribbon & Testimonials
   ========================================================================== */
.proof-metrics-ribbon {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  background: #4338ca;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 24px;
  padding: 28px 36px;
  margin-bottom: 32px;
}

.proof-metric-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.proof-metric-val {
  font-family: var(--font-hero);
  font-size: 34px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.proof-metric-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #e0e7ff;
  letter-spacing: 0.6px;
}

.proof-metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.28);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.testimonial-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 24px;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  border-color: #0f172a;
}

.testimonial-stars {
  color: #4f46e5;
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.testimonial-stars svg {
  width: 14px;
  height: 14px;
}

.testimonial-quote {
  font-size: 13.5px;
  line-height: 1.55;
  color: #334155;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(13.5px * 1.55 * 3);
}

.testimonial-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.author-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #c7d2fe;
}

.author-avatar svg {
  width: 18px;
  height: 18px;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
}

.author-role {
  font-size: 11.5px;
  color: #4f46e5;
  font-weight: 600;
}

/* ==========================================================================
   Section 6: Simple, Transparent Pricing (Players, Hosts & Institutions)
   ========================================================================== */
.pricing-billing-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 9999px;
  padding: 5px;
  margin-bottom: 36px;
}

.billing-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: 9999px;
  border: none;
  background: transparent;
  color: #475569;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.2s ease;
}

.billing-tab:hover {
  color: #0f172a;
}

.billing-tab.active {
  background: #0f172a;
  color: #ffffff;
}

.billing-save-chip {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.5px;
  background: #facc15;
  color: #0f172a;
  padding: 2px 7px;
  border-radius: 9999px;
}

.pricing-grid {
  display: none;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  width: 100%;
}

.pricing-grid.active {
  display: grid;
}

.pricing-card {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 28px;
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  border-color: #0f172a;
}

.pricing-card-featured {
  border: 2px solid #4f46e5;
  background: #f8fafc;
}

.pricing-card-featured:hover {
  border-color: #0f172a;
}

.pricing-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.pricing-tier-tag {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: #eef2ff;
  color: #4338ca;
  border: 1px solid #c7d2fe;
}

.pricing-tier-tag.featured-tag {
  background: #4f46e5;
  color: #ffffff;
  border-color: #4f46e5;
}

.pricing-audience {
  font-size: 11.5px;
  font-weight: 700;
  color: #64748b;
}

.pricing-plan-name {
  font-family: var(--font-hero);
  font-size: 21px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
  line-height: 1.2;
}

.pricing-price-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 14px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid #e2e8f0;
}

.pricing-amount {
  font-family: var(--font-hero);
  font-size: 32px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  line-height: 1;
}

.pricing-period {
  font-size: 12.5px;
  font-weight: 600;
  color: #64748b;
}

.pricing-desc {
  font-size: 13px;
  line-height: 1.55;
  color: #475569;
  margin-bottom: 18px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(13px * 1.55 * 3);
}

.pricing-perks-list {
  list-style: none;
  padding: 0;
  margin: auto 0 22px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-perks-list li {
  font-size: 12px;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pricing-perks-list li span.check {
  color: #16a34a;
  display: inline-flex;
}

.pricing-perks-list li span.check svg {
  width: 14px;
  height: 14px;
  fill: #16a34a;
}

.pricing-action-btn {
  width: 100%;
  padding: 11px 18px;
  border-radius: 9999px;
  border: none;
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.pricing-card-featured .pricing-action-btn {
  background: #4f46e5;
}

.pricing-action-btn:hover,
.pricing-card-featured .pricing-action-btn:hover {
  background: #4f46e5;
  color: #ffffff;
  transform: translateY(-2px);
}

.pricing-card-featured .pricing-action-btn:hover {
  background: #0f172a;
}

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

.pricing-action-btn svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
  transition: transform 0.2s ease;
}

.pricing-action-btn:hover svg {
  transform: translateX(3px);
}

/* ==========================================================================
   Section 7: Mobile App Download Showcase (iOS & Android + Phone HUD)
   ========================================================================== */
.mobile-app-card {
  width: 100%;
  max-width: 1340px;
  background: #4f46e5;
  border: none !important;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
  border-radius: 36px;
  padding: 56px 52px;
  display: grid;
  grid-template-columns: 1.15fr 400px;
  gap: 48px;
  align-items: center;
  overflow: hidden;
  margin: auto 0;
}

.mobile-app-card .highlight-iris {
  color: #facc15;
}

.mobile-app-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.mobile-app-title {
  font-family: var(--font-hero);
  font-size: clamp(32px, 3.2vw, 44px);
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.mobile-app-desc {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  max-width: 580px;
  margin-bottom: 28px;
}

.store-buttons-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.store-download-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #0f172a;
  color: #ffffff;
  border: 1.5px solid #0f172a;
  padding: 11px 22px;
  border-radius: 16px;
  cursor: pointer;
  font-family: var(--font-ui);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease, border-color 0.2s ease;
}

.store-download-btn:hover {
  background: #ffffff;
  color: #0f172a;
  border-color: #ffffff;
  transform: translateY(-2px);
}

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

.store-svg-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.store-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.store-sub {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  opacity: 0.8;
}

.store-name {
  font-family: var(--font-hero);
  font-size: 17px;
  font-weight: 800;
}

.mobile-qr-strip {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #4338ca;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 20px;
  padding: 14px 18px;
  max-width: 520px;
  margin-bottom: 24px;
}

.qr-code-box {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
  overflow: hidden;
}

.qr-code-box .qr-code-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 8px;
}

.qr-code-box svg {
  width: 100%;
  height: 100%;
}

.qr-strip-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 12.5px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.9);
}

.qr-strip-info strong {
  color: #facc15;
  font-size: 13px;
  font-weight: 800;
}

.mobile-trust-row {
  justify-content: flex-start;
  gap: 20px;
  color: rgba(255, 255, 255, 0.9);
}

/* Right Side: Flat Phone Mockup Stage */
.mobile-phone-stage {
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-device-frame {
  width: 100%;
  max-width: 340px;
  background: #ffffff;
  border: 3px solid #0f172a;
  border-radius: 34px;
  padding: 16px 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: #0f172a;
}

.phone-notch-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 800;
  color: #0f172a;
  padding: 0 4px 6px;
}

.phone-island {
  width: 72px;
  height: 16px;
  border-radius: 9999px;
  background: #0f172a;
}

.phone-app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 10px;
  border-bottom: 1.5px solid #e2e8f0;
}

.phone-brand-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-hero);
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
}

.phone-brand-chip img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.phone-hearts-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  padding: 4px 8px;
  border-radius: 9999px;
}

.phone-hearts-pill svg {
  width: 12px;
  height: 12px;
}

.phone-streak-card {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phone-streak-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.streak-tag {
  font-size: 9.5px;
  font-weight: 800;
  color: #4f46e5;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 2px 7px;
  border-radius: 9999px;
}

.streak-days {
  font-family: var(--font-hero);
  font-size: 12px;
  font-weight: 900;
  color: #0f172a;
}

.phone-streak-title {
  font-family: var(--font-hero);
  font-size: 15px;
  font-weight: 800;
  color: #0f172a;
}

.phone-progress-track {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.phone-progress-fill {
  height: 100%;
  background: #4f46e5;
  border-radius: 9999px;
  transition: width 0.35s ease;
}

.phone-streak-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: #475569;
}

.phone-streak-meta strong {
  color: #16a34a;
  font-weight: 800;
}

.phone-mini-modes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}

.phone-mini-tile {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.tile-kicker {
  font-size: 9px;
  font-weight: 800;
  color: #64748b;
  letter-spacing: 0.5px;
}

.phone-mini-tile strong {
  font-size: 12px;
  font-weight: 800;
  color: #0f172a;
}

.phone-claim-btn {
  width: 100%;
  padding: 11px 16px;
  border-radius: 9999px;
  border: none;
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 12.5px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.phone-claim-btn:hover {
  background: #4f46e5;
  transform: translateY(-2px);
}

.phone-claim-btn svg {
  width: 14px;
  height: 14px;
}

.cta-trust-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12.5px;
  font-weight: 600;
  flex-wrap: wrap;
}

.cta-trust-row span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.cta-trust-row span svg {
  width: 14px;
  height: 14px;
  fill: #4ade80;
}

/* ==========================================================================
   Responsive Adaptations for New Platform Sections
   ========================================================================== */
@media (max-width: 1200px) {
  .editorial-layout {
    grid-template-columns: 1fr;
    gap: 44px;
  }
  .editorial-left {
    max-width: 680px;
  }
  .editorial-deck-wrapper {
    overflow-x: auto;
    padding-bottom: 24px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .editorial-deck-wrapper::-webkit-scrollbar {
    display: none;
  }
  .pillars-grid,
  .interviews-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .mobile-app-card {
    grid-template-columns: 1fr;
    padding: 40px 28px;
    gap: 36px;
  }
}

@media (max-width: 900px) {
  .prizes-grid,
  .how-it-works-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .proof-metrics-ribbon {
    flex-direction: column;
    gap: 20px;
    padding: 24px;
  }
  .proof-metric-divider {
    width: 60px;
    height: 1px;
  }
}

@media (max-width: 680px) {
  .pillars-grid,
  .interviews-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  .section-title {
    font-size: 30px;
  }
  .final-cta-card {
    padding: 40px 20px;
  }
  .final-cta-title {
    font-size: 32px;
  }
  .final-cta-btns {
    flex-direction: column;
    width: 100%;
  }
  .cta-primary-btn,
  .cta-secondary-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Obsidian Pro Footer (GitHub Style Design System)
   ========================================================================== */
.gh-footer {
  width: 100%;
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #000000;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 0;
  position: relative;
  z-index: 20;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif;
  color: #8b949e;
  scroll-margin-top: 84px;
  box-sizing: border-box;
  padding: 60px 0 30px 0;
}

.gh-footer-container {
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Top Row: Logo + Newsletter */
.gh-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 38px 0 28px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.gh-footer-logo-link {
  display: inline-flex;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.gh-footer-logo-link:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

.gh-logo-svg {
  width: 36px;
  height: 36px;
}

.gh-logo-img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.gh-brand-wordmark {
  font-family: var(--font-hero);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #ffffff;
  margin-left: 10px;
}

.hiring-tag {
  font-size: 9.5px;
  font-weight: 800;
  background: rgba(137, 87, 229, 0.35);
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.4);
  padding: 1px 6px;
  border-radius: 9999px;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
}

.gh-newsletter-form {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.gh-newsletter-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.gh-purple-bar {
  width: 5px;
  height: 18px;
  background: #8957e5;
  border-radius: 2px;
  display: inline-block;
}

.gh-newsletter-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  color: #c9d1d9;
}

.gh-newsletter-input-wrap {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 9999px;
  padding: 4px 5px 4px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.gh-newsletter-input-wrap:focus-within {
  border-color: #8957e5;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 3px rgba(137, 87, 229, 0.25);
}

.gh-newsletter-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: inherit;
  font-size: 13px;
  width: 220px;
}

.gh-newsletter-input::placeholder {
  color: #7d8590;
}

.gh-subscribe-btn {
  background: #8957e5;
  color: #ffffff;
  border: none;
  border-radius: 9999px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  letter-spacing: 0.2px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gh-subscribe-btn:hover {
  background: #9b6ef3;
  transform: translateY(-1px);
}

.gh-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
}

/* Main Split Area */
.gh-footer-main {
  display: grid;
  grid-template-columns: 1fr 340px;
  min-height: 390px;
}

.gh-links-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 44px 40px 44px 0;
}

.gh-col {
  display: flex;
  flex-direction: column;
}

.gh-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: #8b949e;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.gh-col-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 0;
}

.gh-link {
  font-size: 13px;
  color: #c9d1d9;
  text-decoration: none;
  transition: color 0.15s ease;
  line-height: 1.4;
}

.gh-link:hover {
  color: #58a6ff;
  text-decoration: underline;
}

/* Mascot Stage */
.gh-mascot-stage {
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px;
  background: #000000;
  position: relative;
  overflow: hidden;
}

.gh-mascot-wrapper {
  position: relative;
  width: 100%;
  max-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gh-mascot-img {
  width: 100%;
  height: auto;
  max-height: 300px;
  object-fit: contain;
  filter: none !important;
  animation: ghMascotFloat 4s ease-in-out infinite;
}

@keyframes ghMascotFloat {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-8px) rotate(-1deg);
  }
}

/* Bottom Bar */
.gh-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 26px 0 32px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.gh-legal-left {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.6px;
  color: #7d8590;
}

.gh-legal-item {
  color: #7d8590;
}

.gh-legal-link {
  color: #7d8590;
  text-decoration: none;
  transition: color 0.15s ease;
}

.gh-legal-link:hover {
  color: #58a6ff;
  text-decoration: underline;
}

.gh-social-icons {
  display: flex;
  align-items: center;
  gap: 18px;
}

.gh-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #7d8590;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
}

.gh-social-btn svg {
  width: 17px;
  height: 17px;
}

.gh-social-btn:hover {
  color: #ffffff;
  transform: scale(1.15);
}

/* Responsive Footer Adaptations */
@media (max-width: 1100px) {
  .gh-footer-main {
    grid-template-columns: 1fr;
  }
  .gh-mascot-stage {
    border-left: none;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 40px 0;
  }
  .gh-mascot-wrapper {
    max-width: 220px;
  }
}

@media (max-width: 820px) {
  .gh-links-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-right: 0;
    gap: 28px;
  }
  .gh-footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .gh-newsletter-group {
    width: 100%;
    justify-content: space-between;
  }
  .gh-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Responsive Footer & Section Adaptations */
@media (max-width: 1024px) {
  .steps-grid,
  .podium-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .podium-card.rank-1 {
    transform: none;
  }
  .footer-main-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .final-cta-card {
    padding: 36px 20px;
  }
  .final-cta-title {
    font-size: 32px;
  }
  .final-cta-btns {
    flex-direction: column;
    width: 100%;
  }
  .cta-primary-btn,
  .cta-secondary-btn {
    width: 100%;
    justify-content: center;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom-bar {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ==========================================================================
   CLUE PRIVACY POLICY PAGE — UNIFIED PLATFORM DESIGN SYSTEM & COLOR PALETTE
   ========================================================================== */

.privacy-body {
  background: #ffffff;
  color: #0f172a;
  font-family: var(--font-ui);
  user-select: text;
}

/* Ensure nav links inside .navbar on privacy page match index.html */
.privacy-body .nav-btn {
  color: #0a0a0c;
}

.privacy-body .nav-btn-active {
  background: #0a0a0c;
  color: #ffffff;
}

/* Hero Backdrop & Landing Fold (Matches index.html .landing-hero-backdrop) */
.privacy-hero-backdrop {
  height: 820px;
}

.privacy-landing-fold {
  width: 100%;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 0 40px 0;
  position: relative;
  z-index: 20;
  box-sizing: border-box;
}

.privacy-hero-content {
  width: 100%;
  max-width: 1260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 32px;
}

.privacy-hero-pill {
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-bottom: 18px;
}

.privacy-hero-content .hero-subtitle {
  max-width: 780px;
  font-size: 15.5px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
  margin: 8px auto 24px;
}

.privacy-meta-strip {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.privacy-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 9999px;
  background: #4338ca;
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
}

.privacy-meta-item strong {
  font-weight: 800;
  color: #facc15;
}

.privacy-meta-item svg {
  width: 15px;
  height: 15px;
  color: #facc15;
  flex-shrink: 0;
}

/* 3-Pillar Highlight Cards (Matches index.html .pillar-card white card system) */
.privacy-highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  width: 100%;
  text-align: left;
}

.privacy-highlight-card {
  border: none !important;
  border-radius: 24px;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.privacy-highlight-card.ph-card-navy {
  background: #0f172a !important;
  color: #ffffff;
}

.privacy-highlight-card.ph-card-violet {
  background: #2e1065 !important;
  color: #ffffff;
}

.privacy-highlight-card.ph-card-emerald {
  background: #022c22 !important;
  color: #ffffff;
}

.privacy-highlight-card .solid-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #ffffff !important;
  border: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.16);
  flex-shrink: 0;
  margin-bottom: 8px;
  transition: transform 0.2s ease;
}

.privacy-highlight-card:hover .solid-card-icon {
  transform: scale(1.06);
}

.privacy-highlight-card .solid-card-icon svg {
  width: 26px;
  height: 26px;
  display: block;
}

.privacy-highlight-card.ph-card-navy .solid-card-icon,
.ph-card-navy .solid-card-icon,
.ph-icon-navy {
  background: #ffffff !important;
  color: #0f172a !important;
}

.privacy-highlight-card.ph-card-navy .solid-card-icon svg,
.ph-card-navy .solid-card-icon svg,
.ph-icon-navy svg {
  fill: #0f172a !important;
  color: #0f172a !important;
}

.privacy-highlight-card.ph-card-violet .solid-card-icon,
.ph-card-violet .solid-card-icon,
.ph-icon-violet {
  background: #ffffff !important;
  color: #4338ca !important;
}

.privacy-highlight-card.ph-card-violet .solid-card-icon svg,
.ph-card-violet .solid-card-icon svg,
.ph-icon-violet svg {
  fill: #4338ca !important;
  color: #4338ca !important;
}

.privacy-highlight-card.ph-card-emerald .solid-card-icon,
.ph-card-emerald .solid-card-icon,
.ph-icon-emerald {
  background: #ffffff !important;
  color: #047857 !important;
}

.privacy-highlight-card.ph-card-emerald .solid-card-icon svg,
.ph-card-emerald .solid-card-icon svg,
.ph-icon-emerald svg {
  fill: #047857 !important;
  color: #047857 !important;
}

.privacy-highlight-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -8px rgba(0, 0, 0, 0.45);
}

.ph-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.privacy-highlight-card h3 {
  font-family: var(--font-hero);
  font-size: 20px;
  font-weight: 800;
  color: #ffffff !important;
  letter-spacing: -0.01em;
}

.privacy-highlight-card p {
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88) !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Main Documentation Section */
.privacy-doc-section {
  width: 100%;
  max-width: 1340px;
  margin: 0 auto;
  padding: 48px 0 96px;
  position: relative;
  z-index: 20;
}

.privacy-layout-grid {
  display: grid;
  grid-template-columns: 310px 1fr;
  gap: 40px;
  align-items: start;
}

/* Left Sticky TOC Sidebar */
.privacy-sidebar {
  position: sticky;
  top: 28px;
}

.privacy-toc-box {
  background: #f8fafc;
  border: none !important;
  box-shadow: 0 10px 30px -6px rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 22px;
}

.privacy-toc-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-hero);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #4338ca;
  padding-bottom: 14px;
  margin-bottom: 12px;
  border-bottom: 1.5px solid #e2e8f0;
}

.privacy-toc-header svg {
  width: 16px;
  height: 16px;
  color: #4f46e5;
}

.privacy-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  text-align: left;
  background: transparent;
  font-family: var(--font-ui);
  cursor: pointer;
  padding: 9px 12px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  border: 1.5px solid transparent;
  transition: all 0.18s ease;
}

.toc-num {
  font-family: var(--font-hero);
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  padding: 2px 7px;
  border-radius: 9999px;
}

.toc-link:hover {
  color: #0f172a;
  background: #ffffff;
  border-color: #e2e8f0;
}

.toc-link.active {
  background: #eef2ff;
  border-color: #c7d2fe;
  color: #4338ca;
  font-weight: 700;
}

.toc-link.active .toc-num {
  background: #4f46e5;
  border-color: #4338ca;
  color: #ffffff;
}

.privacy-dpo-mini {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1.5px solid #e2e8f0;
}

.dpo-mini-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-hero);
  font-size: 14px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.dpo-mini-title svg {
  width: 16px;
  height: 16px;
  color: #4f46e5;
}

.privacy-dpo-mini p {
  font-size: 12.5px;
  line-height: 1.55;
  color: #475569;
  margin-bottom: 12px;
}

/* Right Interactive Tab Viewport */
.privacy-article {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.privacy-section {
  display: none;
  scroll-margin-top: 32px;
  background: #ffffff;
  border: none !important;
  box-shadow: 0 16px 40px -10px rgba(15, 23, 42, 0.08);
  border-radius: 26px;
  padding: 36px;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.privacy-section.active {
  display: block;
}

@keyframes privacyTabFade {
  0% {
    opacity: 0;
    transform: translateY(8px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.privacy-section:hover {
  box-shadow: 0 20px 48px -10px rgba(15, 23, 42, 0.12);
}

/* Interactive Tab Stepper Bar (Previous / Next Tab) */
.privacy-tab-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: #f8fafc;
  border: none !important;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.06);
  border-radius: 20px;
  padding: 16px 22px;
}

.tab-step-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 9999px;
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-step-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.tab-step-btn:hover:not(:disabled) {
  background: #eef2ff;
  border-color: #6366f1;
  color: #4338ca;
  transform: translateY(-1px);
}

.tab-step-btn.tab-step-next:not(:disabled) {
  background: #4f46e5;
  border-color: #4338ca;
  color: #ffffff;
}

.tab-step-btn.tab-step-next:hover:not(:disabled) {
  background: #4338ca;
  color: #ffffff;
}

.tab-step-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.tab-step-indicator {
  font-family: var(--font-hero);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #4338ca;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 6px 14px;
  border-radius: 9999px;
  white-space: nowrap;
}

.sec-head {
  margin-bottom: 18px;
}

.sec-head h2 {
  font-family: var(--font-hero);
  font-size: 26px;
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.privacy-section p {
  font-size: 15px;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 16px;
}

.privacy-section p:last-child {
  margin-bottom: 0;
}

.privacy-section code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 2px 8px;
  border-radius: 6px;
  color: #4338ca;
  font-weight: 700;
}

/* Callout Box (Royal Indigo Accent) */
.privacy-callout {
  margin-top: 20px;
  padding: 20px 22px;
  border-radius: 18px;
  background: #eef2ff;
  border: 1.5px solid #c7d2fe;
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.callout-icon {
  width: 24px;
  height: 24px;
  color: #4f46e5;
  flex-shrink: 0;
  margin-top: 2px;
}

.callout-body {
  font-size: 14px;
  line-height: 1.65;
  color: #1e1b4b;
}

.callout-body strong {
  color: #312e81;
  font-weight: 800;
}

/* Data Matrix Table */
.privacy-table-wrap {
  width: 100%;
  overflow-x: auto;
  margin-top: 20px;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
}

.privacy-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 14px;
}

.privacy-table th {
  background: #f8fafc;
  color: #0f172a;
  font-family: var(--font-hero);
  font-weight: 800;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 15px 18px;
  border-bottom: 1.5px solid #e2e8f0;
}

.privacy-table td {
  padding: 15px 18px;
  border-bottom: 1px solid #e2e8f0;
  color: #334155;
  line-height: 1.6;
  vertical-align: top;
}

.privacy-table tr:last-child td {
  border-bottom: none;
}

.privacy-table td strong {
  color: #0f172a;
  font-weight: 800;
}

/* Checked Feature List */
.privacy-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}

.privacy-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
  background: #f8fafc;
  border: none !important;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
  padding: 16px 18px;
  border-radius: 16px;
}

.privacy-list li svg {
  width: 18px;
  height: 18px;
  color: #4f46e5;
  flex-shrink: 0;
  margin-top: 3px;
}

.privacy-list li strong {
  color: #0f172a;
  font-weight: 800;
}

/* 2x2 Subgrid inside Sections */
.privacy-subgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.privacy-subcard {
  background: #f8fafc;
  border: none !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.privacy-subcard:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.subcard-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  color: #4338ca;
  margin-bottom: 12px;
  flex-shrink: 0;
}

.subcard-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.privacy-subcard h4 {
  font-family: var(--font-hero);
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.privacy-subcard p {
  font-size: 13.8px;
  line-height: 1.6;
  color: #475569;
  margin-bottom: 0;
}

/* 4-Card Rights Grid */
.privacy-rights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 20px;
  margin-bottom: 28px;
}

.right-item {
  background: #f8fafc;
  border: none !important;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  border-radius: 18px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.right-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
}

.right-item-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.right-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
  color: #4338ca;
  flex-shrink: 0;
}

.right-item-icon svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.right-tag {
  display: inline-block;
  font-family: var(--font-hero);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #4338ca;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 0;
}

.right-item h4 {
  font-family: var(--font-hero);
  font-size: 16.5px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}

.right-item p {
  font-size: 13.8px;
  line-height: 1.55;
  color: #475569;
  margin-bottom: 0;
}

/* Official DPO Contact Card (Uses index.html's exact Flat Royal Indigo) */
.privacy-contact-card {
  background: #4f46e5;
  border: none !important;
  box-shadow: 0 16px 36px -8px rgba(79, 70, 229, 0.35);
  border-radius: 26px;
  padding: 32px;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.pcc-eyebrow {
  display: inline-block;
  font-family: var(--font-hero);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #facc15;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 12px;
}

.pcc-left h3 {
  font-family: var(--font-hero);
  font-size: 24px;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
}

.pcc-left p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 16px;
}

.pcc-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.92);
}

.pcc-details a {
  color: #fde047;
  text-decoration: underline;
  font-weight: 700;
}

.pcc-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.pcc-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pcc-secondary-btn:hover {
  background: rgba(255, 255, 255, 0.24);
}

/* ==========================================================================
   FEATURE ELEVATIONS: Haptics, Ticker, Deck Glints, Radar Duels & Accents
   ========================================================================== */

/* 1. Card Holographic Bevel Glint Sweep */
.card-glint-sweep {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg,
    transparent 20%,
    rgba(255, 255, 255, 0.22) 45%,
    rgba(255, 255, 255, 0.65) 50%,
    rgba(255, 255, 255, 0.22) 55%,
    transparent 80%
  );
  transform: translateX(-160%) skewX(-15deg);
  pointer-events: none;
  z-index: 5;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.fan-card:hover .card-glint-sweep {
  transform: translateX(160%) skewX(-15deg);
}

/* Deck Controls & Shuffle Hand Button */
.deck-controls-row {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 18px;
  position: relative;
  z-index: 35;
}

.deck-shuffle-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #0f172a;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-bottom: 3.5px solid #000000;
  border-radius: 9999px;
  padding: 8px 20px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.4px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.deck-shuffle-btn .kbd-hint {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 2px 7px;
  border-radius: 6px;
  color: #facc15;
}

.deck-shuffle-btn:hover {
  background: #1e293b;
  border-color: #ffffff;
  transform: translateY(-2px);
  border-bottom-width: 4px;
}

.deck-shuffle-btn:active {
  transform: translateY(2px);
  border-bottom-width: 1px;
}

/* 2. Physical Arcade Push-Down Button Keypress Physics */
.pillar-btn,
.nav-signup-btn,
.exam-action-btn,
.pricing-action-btn,
.phone-claim-btn,
.engine-play-btn,
.store-download-btn,
.engine-duel-btn,
.gh-subscribe-btn {
  position: relative;
  border-bottom: 3.5px solid #000000 !important;
  transition: transform 0.1s cubic-bezier(0.16, 1, 0.3, 1),
              border-bottom-width 0.1s ease,
              background 0.2s ease !important;
}

.pillar-btn:hover,
.nav-signup-btn:hover,
.exam-action-btn:hover,
.pricing-action-btn:hover,
.phone-claim-btn:hover,
.engine-play-btn:hover,
.store-download-btn:hover,
.engine-duel-btn:hover {
  transform: translateY(-2px);
  border-bottom-width: 4px !important;
}

.pillar-btn:active,
.nav-signup-btn:active,
.exam-action-btn:active,
.pricing-action-btn:active,
.phone-claim-btn:active,
.engine-play-btn:active,
.store-download-btn:active,
.engine-duel-btn:active {
  transform: translateY(2px) !important;
  border-bottom-width: 1px !important;
}

/* 3. Live Activity Ticker (Continuous Community Pulse) */
.live-activity-ticker {
  width: 100%;
  max-width: 1340px;
  margin: 18px auto 0;
  background: #0f172a;
  border: 1.5px solid #334155;
  border-radius: 9999px;
  padding: 6px 14px 6px 8px;
  display: flex;
  align-items: center;
  gap: 14px;
  overflow: hidden;
  position: relative;
  z-index: 25;
}

.ticker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1e293b;
  border: 1px solid #475569;
  border-radius: 9999px;
  padding: 5px 12px;
  font-family: var(--font-hero);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.8px;
  color: #ffffff;
  flex-shrink: 0;
}

.ticker-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: tickerDotPulse 1.6s infinite;
}

@keyframes tickerDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.8); }
}

.ticker-track {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  flex: 1;
  mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 3%, black 97%, transparent);
}

.ticker-content {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  animation: tickerMarquee 38s linear infinite;
}

.ticker-track:hover .ticker-content {
  animation-play-state: paused;
}

@keyframes tickerMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-item {
  font-size: 12.5px;
  color: #e2e8f0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.ticker-dot {
  color: #64748b;
  font-size: 14px;
}

.highlight-green { color: #4ade80; }
.highlight-yellow { color: #facc15; }
.highlight-cyan { color: #38bdf8; }
.highlight-purple { color: #c084fc; }

/* 4. 1v1 Matchmaking Radar & Duel Simulator in Game Library */
.engine-duel-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0f172a;
  color: #facc15;
  border: 1.5px solid #facc15;
  padding: 13px 22px;
  border-radius: 9999px;
  font-family: var(--font-ui);
  font-size: 13.5px;
  font-weight: 800;
  cursor: pointer;
}

.engine-interactive-preview {
  position: relative;
  overflow: hidden;
}

.duel-sim-overlay {
  position: absolute;
  inset: 0;
  background: #0f172a;
  border-radius: 26px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  color: #ffffff;
}

.duel-sim-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.duel-radar-hud {
  position: relative;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: rgba(56, 189, 248, 0.08);
}

.radar-ping-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #38bdf8;
  animation: radarPing 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}

.radar-ping-ring.ping-2 {
  animation-delay: 1s;
}

@keyframes radarPing {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.6); opacity: 0; }
}

.radar-sweep-beam {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 0deg, transparent 0deg, rgba(56, 189, 248, 0.45) 60deg, transparent 90deg);
  animation: radarRotate 2s linear infinite;
}

@keyframes radarRotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.radar-center-hub {
  position: relative;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #38bdf8;
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.radar-center-hub svg {
  width: 22px;
  height: 22px;
}

.duel-status-text {
  font-family: var(--font-hero);
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 10px;
}

.duel-match-card {
  display: none;
  align-items: center;
  gap: 16px;
  background: #1e293b;
  border: 1.5px solid #334155;
  border-radius: 20px;
  padding: 14px 20px;
  margin-top: 8px;
  width: 100%;
  max-width: 320px;
}

.duel-match-card.matched {
  display: flex;
  animation: matchCardPop 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes matchCardPop {
  0% { transform: scale(0.85); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.duel-player-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  flex: 1;
}

.duel-player-role {
  font-size: 9.5px;
  font-weight: 800;
  color: #94a3b8;
  letter-spacing: 0.6px;
}

.duel-badge-pill {
  font-size: 10px;
  font-weight: 800;
  background: #0f172a;
  border: 1px solid #475569;
  padding: 2px 7px;
  border-radius: 9999px;
  color: #facc15;
}

.duel-vs-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e11d48;
  color: #ffffff;
  font-family: var(--font-hero);
  font-size: 11.5px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #ffffff;
  flex-shrink: 0;
}

/* 5. Interactive Phone Riddle & Streak Challenge */
.phone-riddle-box {
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 18px;
  padding: 13px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.riddle-tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.riddle-pill {
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: #eef2ff;
  border: 1px solid #c7d2fe;
  color: #4338ca;
  padding: 2px 8px;
  border-radius: 9999px;
}

.riddle-time {
  font-family: monospace;
  font-size: 11px;
  font-weight: 800;
  color: #e11d48;
}

.phone-riddle-q {
  font-size: 12px;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.35;
  margin: 0;
}

.phone-riddle-opts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px;
  margin-top: 4px;
}

.phone-opt-btn {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  padding: 8px 10px;
  font-family: var(--font-ui);
  font-size: 11.5px;
  font-weight: 700;
  color: #0f172a;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.phone-opt-btn:hover {
  background: #eef2ff;
  border-color: #6366f1;
}

.phone-opt-btn.correct,
.phone-opt-btn.opt-correct {
  background: #f0fdf4 !important;
  border-color: #22c55e !important;
  color: #15803d !important;
  font-weight: 800;
}

.phone-opt-btn.wrong,
.phone-opt-btn.opt-wrong {
  background: #fef2f2 !important;
  border-color: #ef4444 !important;
  color: #b91c1c !important;
}

.phone-claim-btn.ready-to-claim {
  background: #16a34a !important;
  border-color: #15803d !important;
  animation: pulseClaimBtn 1.2s infinite alternate;
}

@keyframes pulseClaimBtn {
  0% { transform: scale(1); }
  100% { transform: scale(1.03); }
}

/* 6. Coin Particle Canvas Overlay */
.coin-fx-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 9999;
}

/* 7. Tournament Ticket Perforated Accents */
.ticket-notch-divider {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 0;
  opacity: 0.45;
}

.ticket-notch-line {
  flex: 1;
  height: 1px;
  background: repeating-linear-gradient(90deg, #94a3b8 0, #94a3b8 8px, transparent 8px, transparent 14px);
}

.ticket-notch-pill {
  font-family: var(--font-hero);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #64748b;
  padding: 3px 12px;
  border: 1px dashed #94a3b8;
  border-radius: 9999px;
}

/* ==========================================================================
   COMPREHENSIVE MOBILE & TABLET RESPONSIVENESS (INDEX.HTML + PRIVACY.HTML)
   ========================================================================== */

/* 1. Tablet & Small Laptop (<= 1024px) */
@media (max-width: 1024px) {
  .privacy-hero-backdrop {
    height: 1120px;
  }
  .privacy-highlights-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .privacy-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .privacy-sidebar {
    position: static;
  }
  .privacy-contact-card {
    flex-direction: column;
    align-items: flex-start;
  }
  .pcc-right {
    width: 100%;
  }
}

/* 2. Mobile & Large Phones / Phablets (<= 768px) */
@media (max-width: 768px) {
  .app-container {
    padding: 0 16px;
  }

  /* Navbar — Single Crisp Capsule Row */
  .navbar {
    padding: 7px 10px;
    border-radius: 9999px;
    gap: 8px;
  }
  .nav-left,
  .nav-right {
    gap: 6px;
  }
  .clue-brand-btn {
    padding: 3px 6px 3px 3px;
    gap: 6px;
  }
  .clue-logo-img {
    width: 28px;
    height: 28px;
  }
  .clue-brand-text {
    font-size: 18px;
    letter-spacing: 0.8px;
  }
  .nav-divider {
    display: none;
  }
  .nav-btn {
    padding: 6px 10px;
    font-size: 12px;
    gap: 5px;
  }
  .nav-icon {
    width: 15px;
    height: 15px;
  }
  .coins-pill {
    padding: 4px 8px;
    gap: 5px;
  }
  .coin-icon-wrapper {
    width: 18px;
    height: 18px;
  }
  .coins-amount {
    font-size: 11.5px;
  }
  .nav-signup-btn {
    padding: 7px 13px;
    font-size: 12px;
    white-space: nowrap;
  }

  /* Landing Hero Fold */
  .landing-fold {
    height: auto;
    min-height: auto;
    justify-content: flex-start;
    padding: 14px 0 32px 0;
    gap: 18px;
  }
  .hero-section {
    flex: none;
    justify-content: flex-start;
    padding-top: 16px;
    gap: 0;
  }
  .hero-titles-group {
    padding-top: 4px;
    margin-bottom: 10px;
  }
  .hero-title {
    font-size: clamp(20px, 5.8vw, 28px);
    line-height: 1.22;
    letter-spacing: -0.01em;
    text-align: center;
  }
  .hero-line {
    display: block;
  }
  .hero-line-compete {
    margin-bottom: 2px;
  }
  .hero-line-quest {
    white-space: nowrap;
  }
  .hero-title-top {
    margin-bottom: 4px;
  }
  .hero-subtitle {
    display: block !important;
    font-size: 13.5px;
    line-height: 1.55;
    max-width: 360px;
    margin: 0 auto 20px auto;
    padding: 0 6px;
  }
  .cards-showcase-container {
    margin-top: 8px;
    margin-bottom: 6px;
  }
  .floating-scene {
    display: none;
  }

  /* Shared Platform Sections */
  .platform-section {
    min-height: auto;
    padding: 56px 0;
  }
  #prizesSection,
  #howItWorksSection {
    padding: 60px 16px !important;
  }
  .section-title {
    font-size: clamp(24px, 6.2vw, 32px);
    line-height: 1.18;
    margin-bottom: 10px;
  }
  .section-subtitle {
    font-size: 14px;
    line-height: 1.55;
    margin-bottom: 28px;
    padding: 0 4px;
  }

  /* Cards & Grids */
  .pillars-grid,
  .interviews-grid,
  .how-it-works-grid,
  .testimonials-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .pillar-card,
  .exam-card,
  .step-card,
  .testimonial-card,
  .pricing-card {
    padding: 22px 18px;
    border-radius: 22px;
  }
  .pillar-desc,
  .exam-desc,
  .step-card-desc,
  .testimonial-quote,
  .pricing-desc {
    min-height: 0;
  }

  /* Proctor Trust Bar */
  .proctor-trust-bar {
    padding: 18px 18px !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    border-radius: 18px;
  }

  /* Game Library Showcase Stage */
  .library-engines-nav {
    gap: 8px;
    margin-bottom: 20px;
  }
  .engine-nav-tab {
    padding: 9px 14px;
    font-size: 12px;
    gap: 6px;
  }
  .library-showcase-stage {
    padding: 20px 16px;
    border-radius: 24px;
    gap: 20px;
  }
  .engine-features-list {
    padding: 14px 16px;
  }
  .engine-cta-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .engine-play-btn {
    width: 100%;
    justify-content: center;
  }
  .engine-mode-note {
    text-align: center;
  }
  .engine-interactive-preview {
    padding: 18px 16px;
    border-radius: 20px;
  }

  /* Mobile App Download Card */
  .mobile-app-card {
    padding: 32px 20px;
    border-radius: 26px;
    gap: 28px;
  }
  .mobile-app-title {
    font-size: clamp(24px, 6.5vw, 34px);
  }
  .mobile-app-desc {
    font-size: 14px;
    margin-bottom: 22px;
  }
  .store-buttons-row {
    width: 100%;
    gap: 10px;
  }
  .store-download-btn {
    flex: 1 1 160px;
    justify-content: center;
    padding: 11px 16px;
  }
  .mobile-qr-strip {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    gap: 12px;
  }
  .mobile-trust-row {
    gap: 12px;
    font-size: 12px;
  }
  .phone-device-frame {
    max-width: 100%;
    border-radius: 28px;
    padding: 14px 14px 18px;
  }

  /* Role Detail Modal on Mobile */
  .modal-backdrop {
    padding: 14px;
    overflow-y: auto;
  }
  .modal-card {
    padding: 22px 18px;
    border-radius: 22px;
    max-height: 90dvh;
    overflow-y: auto;
  }
  .modal-spotlight-card {
    width: 160px;
    height: 220px;
    border-radius: 20px;
  }
  .modal-role-title {
    font-size: 24px;
  }
  .modal-stats-grid {
    gap: 8px;
  }
  .modal-actions {
    flex-direction: column;
    gap: 8px;
  }
  .modal-primary-btn,
  .modal-secondary-btn {
    width: 100%;
    justify-content: center;
  }

  /* Footer on Mobile */
  .gh-footer {
    min-height: auto;
    padding: 24px 0;
  }
  .gh-footer-container {
    padding: 0 18px;
  }

  /* Privacy Policy Page on Mobile */
  .privacy-hero-backdrop {
    height: 1160px;
  }
  .privacy-landing-fold {
    min-height: auto;
    padding: 12px 0 32px 0;
  }
  .privacy-hero-content {
    padding-top: 20px;
  }
  .privacy-meta-strip {
    gap: 8px;
    margin-bottom: 24px;
  }
  .privacy-meta-item {
    font-size: 12px;
    padding: 6px 12px;
  }
  .privacy-doc-section {
    padding: 32px 0 64px;
  }
  .privacy-toc-box {
    padding: 16px;
    border-radius: 20px;
  }
  .privacy-toc-nav {
    flex-direction: row;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .toc-link {
    width: auto;
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 12.5px;
    background: #ffffff;
    border-color: #e2e8f0;
  }
  .privacy-section {
    padding: 24px 18px;
    border-radius: 22px;
  }
  .sec-head h2 {
    font-size: 22px;
  }
  .privacy-section p {
    font-size: 14px;
    line-height: 1.65;
  }
  .privacy-subgrid,
  .privacy-rights-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .privacy-tab-pager {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    padding: 14px 16px;
    gap: 10px;
  }
  .tab-step-btn {
    justify-content: center;
  }
  .privacy-contact-card {
    padding: 24px 18px;
    border-radius: 22px;
    gap: 20px;
  }
  .pcc-right .pillar-btn,
  .pcc-right .pcc-secondary-btn {
    width: 100%;
    box-sizing: border-box;
    justify-content: center;
  }
}

/* 3. Standard Mobile Phones (<= 640px) — Compact 5-Card Fanned Hand */
@media (max-width: 640px) {
  .cards-fan-deck {
    height: 245px;
    margin-top: 6px;
  }
  .fan-card {
    width: 142px;
    height: 206px;
    border-radius: 20px;
  }
  .card-oldman {
    left: calc(50% - 158px);
  }
  .card-seer {
    left: calc(50% - 116px);
  }
  .card-werewolf {
    left: calc(50% - 75px);
    width: 150px;
    height: 216px;
  }
  .card-witch {
    left: calc(50% - 26px);
  }
  .card-hunter {
    left: calc(50% + 16px);
  }

  .card-inner-box {
    border-radius: 19px;
  }
  .card-header-bar {
    padding: 9px 10px 0 10px;
  }
  .card-side-tag {
    font-size: 7px;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 72px;
  }
  .card-rating-pill {
    padding: 2px 5px;
    gap: 2px;
  }
  .pill-medal svg {
    width: 8px;
    height: 8px;
  }
  .pill-val {
    font-size: 8.5px;
  }
  .card-role-name {
    font-size: 13px;
    padding: 2px 10px 0 10px;
    line-height: 1.1;
  }
  .card-illustration-frame {
    top: 24px;
  }
  .card-char-img {
    border-radius: 0 0 19px 19px;
  }
  .full-card-art {
    border-radius: 19px;
  }
  .card-hover-footer {
    bottom: 8px;
    left: 8px;
    right: 8px;
  }
  .card-select-btn {
    padding: 5px 6px;
    font-size: 9px;
  }

  /* Bottom Utility Bar */
  .bottom-bar {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 12px;
    text-align: center;
  }
  .bottom-left {
    flex-direction: column;
    align-items: center;
    gap: 8px;
    width: 100%;
  }
  .play-hero-btn {
    width: 100%;
    max-width: 280px;
    justify-content: center;
    padding: 11px 20px;
    font-size: 13px;
  }
  .bottom-copyright {
    margin-left: 0;
    font-size: 11px;
  }
  .bottom-right {
    bottom: 14px;
    right: 14px;
  }
  .sound-toggle-btn {
    padding: 6px 11px;
    font-size: 11px;
  }
}

/* 4. Small Phones (<= 480px) */
@media (max-width: 480px) {
  .navbar {
    padding: 6px 8px;
  }
  .clue-logo-img {
    width: 24px;
    height: 24px;
  }
  .clue-brand-text {
    font-size: 16px;
  }
  .nav-btn {
    padding: 5px 8px;
    font-size: 11px;
  }
  .coins-pill {
    padding: 3px 6px;
  }
  .coins-amount {
    font-size: 10.5px;
  }
  .nav-signup-btn {
    padding: 6px 11px;
    font-size: 11px;
  }

  /* Pricing Individual/Company Toggle on Small Phones */
  .pricing-billing-toggle {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-radius: 20px;
    padding: 5px;
    gap: 4px;
    box-sizing: border-box;
  }
  .billing-tab {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 12.5px;
  }

  /* Store Download & QR Strip */
  .store-download-btn {
    width: 100%;
    flex: 1 1 100%;
  }
  .mobile-qr-strip {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Footer Columns on Small Phones */
  .gh-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
    padding: 28px 0;
  }
  .gh-newsletter-group {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .gh-subscribe-btn {
    width: 100%;
    text-align: center;
  }

  /* Privacy Callouts & Tables */
  .privacy-callout {
    flex-direction: column;
    gap: 10px;
    padding: 16px;
  }
  .privacy-table th,
  .privacy-table td {
    padding: 11px 12px;
    font-size: 12.5px;
  }
}

/* 5. Compact 320px–375px Phones */
@media (max-width: 375px) {
  .coins-pill {
    display: none;
  }
  .cards-fan-deck {
    transform: scale(0.9);
    transform-origin: bottom center;
  }
}

/* ==========================================================================
   Privacy Policy Page: FAQ Accordion Section
   ========================================================================== */
.privacy-faq-section {
  padding-top: 40px;
  padding-bottom: 70px;
}

.privacy-faq-accordion {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.privacy-faq-item {
  background: #0f172a;
  border: 1.5px solid #1e293b;
  border-radius: 16px;
  overflow: hidden;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.privacy-faq-item:hover {
  border-color: #334155;
}

.privacy-faq-item.active {
  border-color: #6366f1;
  background: #111827;
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-family: var(--font-ui);
  font-size: 15.5px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq-question-btn:hover {
  color: #e0e7ff;
}

.privacy-faq-item.active .faq-question-btn {
  color: #ffffff;
}

.faq-icon-wrapper {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.2s ease, border-color 0.2s ease;
}

.faq-icon-wrapper svg {
  width: 15px;
  height: 15px;
  color: #94a3b8;
  transition: color 0.2s ease;
}

.privacy-faq-item.active .faq-icon-wrapper {
  transform: rotate(180deg);
  background: #4f46e5;
  border-color: #6366f1;
}

.privacy-faq-item.active .faq-icon-wrapper svg {
  color: #ffffff;
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  padding: 0 24px;
  transition: max-height 0.35s ease, padding 0.35s ease, opacity 0.25s ease;
  opacity: 0;
}

.privacy-faq-item.active .faq-answer-panel {
  max-height: 320px;
  padding: 0 24px 22px 24px;
  opacity: 1;
}

.faq-answer-panel p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: #cbd5e1;
}

@media (max-width: 640px) {
  .faq-question-btn {
    padding: 16px 18px;
    font-size: 14px;
  }
  .faq-answer-panel {
    padding: 0 18px;
  }
  .privacy-faq-item.active .faq-answer-panel {
    padding: 0 18px 18px 18px;
  }
}

/* ==========================================================================
   Modern Minimal Preloader (Clean & Undramatic)
   ========================================================================== */
body.is-loading {
  overflow: hidden !important;
  height: 100vh !important;
}

.clue-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: #07090e;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: all;
  user-select: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.clue-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 220px;
  width: 90%;
}

.preloader-brand-stage {
  position: relative;
  width: 68px;
  height: 68px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-spinner {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.08);
  border-top-color: #6366f1;
  animation: preloaderSpinner 0.85s cubic-bezier(0.5, 0.1, 0.5, 0.9) infinite;
}

@keyframes preloaderSpinner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.preloader-logo-disc {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.preloader-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
}

.preloader-progress-box {
  width: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.preloader-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
}

.preloader-fill {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #4f46e5, #06b6d4);
  border-radius: 9999px;
  transition: width 0.08s linear;
}
