/* assets/css/style.css -------------------------------------------------------
   Design System & Component Library for ChessKidoo
   Refined & Consolidated Version
   --------------------------------------------------------------- */

/* Skip-to-content link (accessibility) */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: #D97706;
  color: #fff;
  padding: 10px 24px;
  border-radius: 0 0 8px 8px;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 99999;
  text-decoration: none;
  transition: top 0.2s;
}
.skip-to-content:focus {
  top: 0;
  outline: 3px solid #fff;
  outline-offset: 2px;
}

:root {
  --ink: #1A1209;
  --cream: #FDF6EC;
  --cream-dark: #F5ECD8;
  --amber: #E8A020;
  --amber-light: #F5C842;
  --amber-pale: #FCEBD3;
  --amber-ultra: #FFFDF9;
  --bg-dark: #0D1B2A;
  --bg-primary: #0D1B2A;
  --bg-secondary: #162235;
  --green: #1A3D2B;
  --green-light: #3D6B52;
  --green-pale: #E8EFEA;
  --border: #E8D5B0;
  --border-light: #F2E3C9;
  --border-strong: #E8A020;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
  --radius-lg: 24px;
  --radius-pill: 9999px;
  --font-display: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-header: 'Poppins', sans-serif;
  
  /* Board Specific */
  --board-light: #d4d4a8;
  --board-dark: #4a7a2e;
  --board-border: #7A5530;
  
  /* Arena Colors */
  --arena-gold: #F5C842;
  --arena-gold-dark: #D97706;
  --arena-purple: #8B5CF6;
  --arena-blue: #3B82F6;
  --arena-green: #10B981;
  --arena-teal: #0D9488;

  /* Utility aliases used across components */
  --muted: #8a9bb0;
  --gold2: #F5C842;
  --navy: #0D1B2A;
}

/* ─── Reset & Base ─── */
* { margin: 0; padding: 0; box-sizing: border-box; }
img { max-width: 100%; display: block; }
html { scroll-behavior: smooth; scroll-margin-top: 80px; }
body { 
  font-family: var(--font-body); 
  overflow-x: hidden; 
  background: var(--cream); 
  color: var(--ink); 
  line-height: 1.6; 
  width: 100%;
  max-width: 100%;
}

/* ─── Layout ─── */
.container { max-width: 1400px; margin: 0 auto; padding: 0 32px; }
.section-padding { padding: 100px 0; }

/* ─── Scroll Progress ─── */
#scrollProgress {
  position: fixed; top: 0; left: 0; height: 4px;
  background: var(--amber); z-index: 99998; width: 0%;
  transition: width 0.1s linear;
}

/* ─── Preloader ─── */
/* --- Premium Preloader --- */
#preloader {
  position: fixed; inset: 0; background: var(--bg-dark);
  z-index: 99999; display: flex; align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.preloader-container {
  display: flex; flex-direction: column; align-items: center; gap: 20px;
}
.preloader-full {
  width: 320px; height: auto;
  animation: preloaderPulse 2s infinite ease-in-out;
}
.preloader-progress-wrap {
  width: 200px; height: 3px; background: rgba(255,255,255,0.1);
  border-radius: 4px; overflow: hidden; margin-top: 10px;
}
.preloader-progress-bar {
  width: 0%; height: 100%; background: var(--amber);
  animation: preloaderFill 2s ease forwards;
}

@keyframes preloaderBounce { 0% { transform: translateY(0) scale(1); } 100% { transform: translateY(-8px) scale(1.05); } }
@keyframes preloaderFadeIn { 0% { opacity: 0; transform: translateY(10px); } 100% { opacity: 1; transform: translateY(0); } }
@keyframes preloaderFill { 0% { width: 0%; } 50% { width: 70%; } 100% { width: 100%; } }

body.loaded #preloader { opacity: 0; visibility: hidden; pointer-events: none; }


/* ─── Header ─── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.4s ease, backdrop-filter 0.4s ease, box-shadow 0.4s ease;
}
.site-header.header-hidden {
  display: none !important;
}
.site-header.scrolled {
  background: rgba(13, 27, 42, 0.92) !important;
  backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 2px 40px rgba(0,0,0,0.25);
}
.header-inner {
  max-width: 1440px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 28px;
  transition: padding 0.3s ease;
}
.site-header.scrolled .header-inner { padding: 10px 28px; }
/* Logo Styling (Pure CSS vector-scaled Premium Squircles) */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #FFFFFF; flex-shrink: 0; }
.logo-icon-box {
  width: 38px; height: 38px;
  background: #E8A020; /* Brand gold */
  border-radius: 11px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 15px rgba(232, 160, 32, 0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.logo:hover .logo-icon-box { transform: rotate(-8deg) scale(1.08); }
.logo-icon-symbol {
  font-size: 22px;
  color: #162235; /* Deep brand navy blue/royal crown piece color */
  line-height: 1;
}
.logo-text { font-family: var(--font-display) !important; font-weight: 700; font-size: 1.4rem; color: #FFFFFF; letter-spacing: -0.01em; }
.logo-text span { color: var(--amber) !important; }

/* Navigation Links */
.nav-links {
  display: flex; align-items: center;
  gap: 16px;
  flex: 1;
  margin-left: 24px;
  min-width: 0;
}
.nav-link {
  padding: 6px 2px; text-decoration: none; color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-header);
  font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.03em;
  white-space: nowrap;
  flex: 0 0 auto;
  background: none; border: none; cursor: pointer;
  position: relative;
  transition: color 0.25s ease;
}
@media (max-width: 1380px) {
  .header-inner { padding: 12px 20px; }
  .nav-links { gap: 12px; margin-left: 18px; }
  .nav-link { font-size: 0.72rem; letter-spacing: 0.02em; }
}
@media (max-width: 1260px) {
  .header-inner { padding: 12px 14px; }
  .nav-links { gap: 8px; margin-left: 12px; }
  .nav-link { font-size: 0.68rem; letter-spacing: 0.01em; padding: 4px 1px; }
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; transform: translateX(-50%) scaleX(0);
  width: 100%; height: 2px;
  background: var(--amber);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.nav-link:hover { color: var(--amber-light); background: transparent; }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-link.active { color: var(--amber-light); }
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }

.nav-spacer { flex: 1; }

.nav-cta {
  padding: 8px 20px; font-size: 0.88rem; margin-left: 8px;
  border-radius: 99px;
  background: var(--amber);
  color: var(--bg-dark) !important;
  font-weight: 700;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 15px rgba(232, 160, 32, 0.25);
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--amber-light) !important; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232, 160, 32, 0.4); }
.nav-cta::after { display: none; }

.nav-login {
  padding: 7px 18px;
  font-size: 0.82rem;
  color: #FFFFFF;
  border: 1.5px solid #F5C842 !important;
  border-radius: 8px;
  white-space: nowrap;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
}
.nav-login:hover {
  border-color: #F5C842 !important;
  background: rgba(245, 200, 66, 0.12) !important;
  box-shadow: 0 0 15px rgba(245, 200, 66, 0.4);
}
.nav-login::after { display: none; }

/* ─── Mobile Menu Button (Hamburger) ─── */
.mobile-menu-btn {
  display: none; background: none; border: none;
  cursor: pointer; padding: 8px;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 40px; height: 40px;
}
.hamburger-line {
  display: block; width: 22px; height: 2px;
  background: #FFFFFF; border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.mobile-menu-btn.active .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.active .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.mobile-menu-btn.active .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 992px) {
  .nav-spacer { display: none; }
  .nav-phone { display: none; }
}

@media (max-width: 1180px) {
  .mobile-menu-btn { display: flex; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    margin-left: 0;
    max-height: calc(100vh - 100%);
    background: rgba(13, 27, 42, 0.98);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    flex-direction: column; padding: 16px 20px 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: none;
    box-shadow: 0 20px 40px rgba(0,0,0,0.25);
    animation: navSlideDown 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 9999;
  }
  .nav-spacer { display: none; }   /* flex:1 spacer would strand Log In in the drawer */
  .nav-links.open { display: flex; }
  .nav-link { width: 100%; text-align: left; padding: 14px 16px; font-size: 0.95rem; color: #FFFFFF !important; }
  .nav-link::after { display: none; }
  .nav-cta, .nav-login { margin-left: 0; margin-top: 8px; width: 100%; }
  .nav-phone { display: flex; width: 38px; color: #FFFFFF; }
  body.nav-open { overflow: hidden; }
}

@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; padding: 16px 36px;
  border-radius: var(--radius-pill); font-weight: 700;
  font-size: 1rem; text-decoration: none;
  cursor: pointer; transition: all 0.25s ease;
  border: none; font-family: inherit;
}
.btn-primary {
  background: var(--amber);
  color: var(--bg-dark);
  box-shadow: 0 8px 30px rgba(232,160,32,0.4);
}
.btn-primary:hover {
  background: var(--amber-light);
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(232,160,32,0.5);
}
.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.8);
  border: 1.5px solid rgba(255,255,255,0.25);
}
.btn-ghost:hover {
  color: var(--amber-light);
  border-color: var(--amber-light);
}
.btn-ghost::after {
  content: '→';
  transition: transform 0.2s;
}
.btn-ghost:hover::after { transform: translateX(4px); }

/* Hero Specific Custom CTAs (Matching Target Image 1) */
.hero-btn-demo {
  background: #E8A020 !important;
  color: #FFFFFF !important;
  box-shadow: 0 10px 35px rgba(232, 160, 32, 0.6) !important;
  font-weight: 700;
  border: none;
  padding: 18px 44px;
  font-size: 1.1rem;
}
.hero-btn-demo:hover {
  background: #F5C842 !important;
  transform: translateY(-3px);
  box-shadow: 0 15px 45px rgba(232, 160, 32, 0.7) !important;
}
.hero-btn-wa {
  background: #FFFFFF !important;
  border: 2px solid #0D1B2A !important;
  color: #0D1B2A !important;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1) !important;
  padding: 18px 44px;
  font-size: 1.1rem;
}
.hero-btn-wa:hover {
  background: #FFFDF9 !important;
  border-color: #E8A020 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(122, 85, 48, 0.15) !important;
}

/* ─── Hero Section ─── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--bg-dark);
  overflow: hidden;
  padding-top: 100px;
}
.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 70% 50%, rgba(232,160,32,0.08) 0%, transparent 60%),
    radial-gradient(circle at 10% 80%, rgba(61,107,82,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.hero-bg-pattern::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content-wrap {
  position: relative; z-index: 1;
  /* Cap a touch narrower + symmetrical 80px padding on both sides so the right
     column never touches the viewport edge or the LOG IN nav button. */
  max-width: 1200px; margin: 0 auto; padding: 10px 80px 60px; width: 100%;
}
.hero-grid {
  display: grid;
  /* Slightly favour the LEFT column (text) so the right board panel doesn't
     bulge into the heading; bigger gap separates them visually. */
  grid-template-columns: 52fr 48fr;
  gap: 90px;
  align-items: center;
}
/* The hero-content already sits inside the left grid track + the wrap's padding
   gives it enough room — no extra left-padding needed (the old 57px squeezed
   the title against the right column). */
.hero-content { padding-left: 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(232,160,32,0.15);
  border: 1px solid rgba(232,160,32,0.3);
  color: var(--amber-light);
  font-family: 'Poppins', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  font-style: normal;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 99px;
  margin-bottom: 32px;
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5rem);
  font-weight: 900;
  line-height: 1.06;
  color: #FFFFFF;
  letter-spacing: -0.03em;
  margin-bottom: 28px;
}
.hero-title em {
  font-style: italic;
  color: var(--amber);
}
.hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 48px;
  font-weight: 300;
}
.hero-btns { display: flex; gap: 20px; flex-wrap: wrap; align-items: center; }
.hero-stats {
  display: flex; gap: 40px; margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.08);
  flex-wrap: wrap;
}
.hero-stat-num {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  /* Fixed-width digits: without this every tick of the count-up animation
     changes the number's width and shoves the whole stat row sideways. */
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
}
.hero-stat-label {
  font-family: var(--font-display);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
  font-weight: 500;
  margin-top: 4px;
  letter-spacing: 0.05em;
}

@media (max-width: 1100px) {
  /* minmax(0,1fr) — not 1fr — so the single column can shrink below the
     min-content of a wide child (chessboard panel) instead of blowing the
     track out past the viewport and getting clipped by .hero{overflow:hidden}. */
  .hero-grid { grid-template-columns: minmax(0, 1fr); text-align: center; }
  .hero-content, .hero-visual { min-width: 0; }
  .hero-content { padding-left: 0; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { margin-top: 40px !important; margin-left: 0 !important; perspective: none; }
  .hero-board-frame { margin: 0 auto !important; transform: none !important; }
  .board-panel { margin: 0 auto; max-width: 560px; }
}

/* --- Hero Visual / Chess Board (Premium Match Interface) --- */
.hero-visual {
  position: relative;
  perspective: 1500px;
  /* Nudge DOWN 3 cm (~113px) and LEFT 3 cm (~113px) to centre the board panel
     clear of the hero heading, LOG IN button and right viewport edge. */
  margin-top: -127px;
  margin-left: -161px;
}
.hero-board-frame {
  background: #1a1a1a;
  border-radius: 24px;
  border: 8px solid #3d2b1f;
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  overflow: hidden;
  /* rotateX-only tilt (no rotateY: that tipped the right edge away and clipped
     the move list with L. Kieseritzky / Be7# / Check Ur Level). */
  transform: rotateX(10deg) rotateZ(0.5deg);
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  max-width: 600px;
  margin: 0 auto;
}
.hero-board-frame:hover { transform: rotateX(5deg) rotateZ(0deg); }

.board-header {
  background: #262626;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #333;
}
.player-info { display: flex; align-items: center; gap: 12px; }
.player-avatar { 
  width: 32px; height: 32px; background: var(--amber); 
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.9rem;
}
.player-name { color: #fff; font-weight: 700; font-size: 0.95rem; }
.player-meta { color: #888; font-size: 0.75rem; }
.live-indicator { 
  background: #dc2626; color: white; font-size: 0.6rem; 
  padding: 2px 8px; border-radius: 10px; font-weight: 800;
  animation: blink 2s infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }

.board-main-area { display: flex; background: #3d2b1f; padding: 12px; gap: 12px; }
.hero-board-wrap { flex: 1; min-width: 300px; }
.chessboard-container { 
  background: #2C1810; border-radius: 4px; box-shadow: inset 0 0 10px rgba(0,0,0,0.5); 
  transform: none; 
}

.move-list-sidebar {
  width: 140px;
  background: rgba(0,0,0,0.3);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  padding: 10px;
}
.move-header { color: var(--amber); font-size: 0.65rem; font-weight: 800; letter-spacing: 1px; margin-bottom: 8px; }
.moves-scroll { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 4px; }
.move-row { 
  display: grid; grid-template-columns: 20px 1fr 1fr; 
  font-size: 0.75rem; color: #aaa; padding: 4px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.move-row.active { color: #fff; background: rgba(217, 119, 6, 0.2); border-radius: 4px; }
.move-row span:first-child { opacity: 0.5; }

.board-controls {
  background: #262626;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ctrl-btn { 
  background: none; border: none; color: #fff; opacity: 0.6; 
  font-size: 1.1rem; cursor: pointer; transition: 0.2s;
}
.ctrl-btn:hover { opacity: 1; color: var(--amber); }
.play-btn { font-size: 1.4rem; color: var(--amber); opacity: 1; }
.game-status { color: #888; font-size: 0.75rem; font-weight: 600; }

.floating-badge { position: absolute; background: white; padding: 8px 16px; border-radius: 12px; box-shadow: var(--shadow-md); font-size: 0.75rem; font-weight: 700; display: flex; align-items: center; gap: 6px; animation: float 3s ease-in-out infinite; z-index: 20; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.floating-badge:nth-of-type(1) { top: -20px; right: -20px; }
.floating-badge:nth-of-type(2) { top: 40%; left: -40px; animation-delay: 1.5s; }
.floating-badge:nth-of-type(3) { bottom: 20px; right: -20px; animation-delay: 3s; }


/* ─── Trust Bar ─── */
.trust-bar { background: var(--ink); padding: 24px 0; overflow: hidden; }
.trust-inner {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap; max-width: 1400px; margin: 0 auto; padding: 0 32px;
}
.trust-item {
  display: flex; align-items: center; gap: 10px; color: white;
  font-weight: 600; font-size: 0.85rem; opacity: 0.8;
}
.trust-divider { width: 4px; height: 4px; background: var(--amber-light); border-radius: 50%; opacity: 0.3; }

/* ─── Sections ─── */
.section-head { text-align: center; max-width: 700px; margin: 0 auto 64px; padding: 0 16px; }
.eyebrow { display: inline-block; font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2px; color: var(--amber); margin-bottom: 16px; }
.section-head h2 { font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; line-height: 1.2; margin-bottom: 16px; color: var(--ink); }
.lead { font-family: var(--font-body); font-size: 1.1rem; opacity: 0.7; }

/* Features Grid */
.feat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.feat-card {
  background: white; padding: 32px; border-radius: 24px;
  border: 1px solid var(--border-light); box-shadow: var(--shadow-sm);
  transition: all 0.3s ease; height: 100%;
}
.feat-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--amber); }
.feat-icon-wrap {
  width: 64px; height: 64px; border-radius: 16px;
  background: var(--amber-pale); display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 20px;
}

/* Level Cards CSS Cleaned */

/* Coach Cards */
.coach-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }
.coach-card {
  background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.07); transition: all 0.3s ease;
  border: 1px solid var(--border-light);
}
.coach-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,0.12); }
.coach-img-wrap {
  width: 100%; aspect-ratio: 1 / 1; height: auto; max-height: 260px;
  position: relative; overflow: hidden;
}
.coach-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: center 18%; }
.coach-info { padding: 20px; text-align: center; }
.coach-name { font-family: var(--font-display); font-size: 1.25rem; font-weight: 800; margin-bottom: 8px; }
.coach-bio { font-size: 0.85rem; opacity: 0.6; line-height: 1.5; }

/* ─── Pricing ─── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 32px; }
.price-card {
  background: #fff; border-radius: 24px; padding: 48px 32px;
  border: 1px solid var(--border-light); display: flex; flex-direction: column;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: var(--shadow-sm);
}
.price-card:hover { transform: translateY(-12px); box-shadow: var(--shadow-lg); }
.price-card.dark-card { background: #1a1a1a; color: #fff; border-color: #333; }
.price-card.gold-card {
  background: linear-gradient(145deg, #1e293b 0%, #0f172a 100%);
  border: 2px solid var(--amber-light); color: #fff;
  transform: scale(1.05); z-index: 2;
}
@media (max-width: 992px) { .price-card.gold-card { transform: none; } }

.price-title { font-family: var(--font-display); font-size: 2.2rem; margin-bottom: 12px; }
.price-amount { font-size: 3.5rem; font-weight: 900; margin-bottom: 32px; font-family: var(--font-display); display: flex; align-items: baseline; gap: 4px; }
.price-amount span { font-size: 1.25rem; opacity: 0.5; font-weight: 500; }
.price-features { list-style: none; margin-bottom: 40px; flex-grow: 1; }
.price-features li { display: flex; gap: 12px; margin-bottom: 16px; font-family: var(--font-display); font-size: 0.95rem; opacity: 0.8; }
.price-features .check { color: var(--amber-light); font-weight: bold; }

/* ─── Pricing: level cards with Group / Individual fee tiers ───
   Both card variants (.dark-card, .gold-card) sit on dark backgrounds, so
   these are all styled for light-on-dark. Accents stay amber to match the
   rest of the brand rather than the per-level colours of the print chart. */
.price-piece {
  font-size: 2.6rem; line-height: 1;
  color: var(--amber-light);
  margin-bottom: 14px;
  text-shadow: 0 4px 18px rgba(232,160,32,0.35);
}
.price-rank {
  display: inline-block; align-self: flex-start;
  font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.09em;
  color: var(--amber-light);
  background: rgba(232,160,32,0.12);
  border: 1px solid rgba(232,160,32,0.3);
  border-radius: var(--radius-pill);
  padding: 6px 14px; margin-bottom: 16px;
}
.price-desc {
  font-size: 0.95rem; line-height: 1.6;
  opacity: 0.7; margin-bottom: 22px;
}
.price-meta {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  font-size: 0.82rem; font-weight: 600;
  opacity: 0.75; margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.price-tiers { display: grid; gap: 12px; margin-bottom: 30px; }
.price-tier {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(232,160,32,0.22);
  border-left: 3px solid var(--amber);
  border-radius: 14px;
  padding: 16px 18px;
  transition: background 0.25s ease, border-color 0.25s ease;
}
.price-card:hover .price-tier { background: rgba(232,160,32,0.08); border-color: rgba(232,160,32,0.42); }
.price-tier-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; opacity: 0.72; margin-bottom: 8px;
}
.price-tier-amount {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.4vw, 1.85rem); font-weight: 900;
  line-height: 1.15; color: #fff;
}
.price-tier-unit { font-size: 0.76rem; opacity: 0.55; margin-top: 3px; }
.price-note {
  font-size: 0.8rem; opacity: 0.55; text-align: center; margin-top: 12px;
}
.price-footnote {
  max-width: 720px;
  margin: 40px auto 0;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.6;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 24px;
  background: rgba(232, 160, 32, 0.05);
  border: 1px solid rgba(232, 160, 32, 0.12);
  border-radius: 14px;
  font-weight: 500;
}
.price-footnote span {
  color: var(--amber);
  font-size: 1rem;
  animation: starPulse 2s ease-in-out infinite;
}
@keyframes starPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

/* ─── Portal / Dashboard ─── */
.page { display: revert; }
.page.active { 
  display: block; 
  animation: pageTransition 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; 
}
@keyframes pageTransition {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.dashboard-header { background: var(--ink); color: #fff; padding: 60px 0; }
.admin-tabs { display: flex; gap: 4px; border-bottom: 2px solid #e5e7eb; margin-bottom: 30px; overflow-x: auto; }
.admin-tab {
  padding: 14px 24px; border: none; background: none; cursor: pointer;
  font-weight: 700; color: #666; border-bottom: 3px solid transparent;
  transition: all 0.2s; white-space: nowrap;
}
.admin-tab:hover { color: var(--ink); }
.admin-tab.active { color: var(--amber); border-bottom-color: var(--amber); }

.table-wrapper { background: #fff; border-radius: 16px; border: 1px solid #e5e7eb; overflow-x: auto; box-shadow: var(--shadow-sm); }
.table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.table th { background: #f9fafb; padding: 16px 20px; text-align: left; font-weight: 700; border-bottom: 2px solid #e5e7eb; }
.table td { padding: 16px 20px; border-bottom: 1px solid #f0f0f0; }

.status-pill {
  padding: 4px 12px; border-radius: 20px; font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
}
.status-pill.paid { background: #dcfce7; color: #166534; }
.status-pill.pending { background: #fee2e2; color: #991b1b; }
.status-pill.new { background: #f3f4f6; color: #6b7280; }

/* ─── Login ─── */
.login-bg-section {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: #fdfcf9; position: relative; overflow: hidden; padding: 40px 20px;
}
.login-card {
  background: #fff; border-radius: 24px; padding: 48px; width: 100%; max-width: 460px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.1); z-index: 10;
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ─── Modals ─── */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.65); backdrop-filter: blur(6px);
  display: none; align-items: flex-start; justify-content: center; z-index: 10000;
  padding: 24px 12px; opacity: 0; transition: opacity 0.3s ease;
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.modal-overlay.active, .modal-overlay.open { display: flex !important; opacity: 1 !important; pointer-events: auto !important; }
.modal-card {
  background: white; border-radius: 24px; width: 100%; max-width: 500px;
  padding: 40px; transform: scale(0.9); transition: transform 0.3s ease;
  margin: auto 0;
  flex-shrink: 0;
}
.modal-overlay.active .modal-card, .modal-overlay.open .modal-card { transform: scale(1); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; }
.form-group input:not([type="radio"]):not([type="checkbox"]), .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border-radius: 12px; border: 1.5px solid #e2e8f0;
  font-family: inherit; font-size: 0.95rem; outline: none; transition: border-color 0.2s;
}
.form-group input:not([type="radio"]):not([type="checkbox"]):focus { border-color: var(--amber); }

/* ─── Floating UI & Bot ─── */
.floating-ui { position: fixed; bottom: 30px; right: 30px; display: flex; flex-direction: column; gap: 15px; z-index: 1000; }
.whatsapp-float, .bot-float {
  width: 60px; height: 60px; background: white; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1); transition: transform 0.3s ease;
  cursor: pointer; text-decoration: none;
}
.whatsapp-float:hover, .bot-float:hover { transform: translateY(-5px) scale(1.1); }
.whatsapp-float img { width: 34px; }
.bot-float span { font-size: 28px; }

.bot-window {
  position: fixed; bottom: 110px; right: 24px;
  width: 340px; height: 480px; background: #fff;
  border-radius: 24px; box-shadow: 0 20px 60px rgba(0,0,0,0.15);
  display: none; flex-direction: column; z-index: 9998;
  overflow: hidden; border: 1px solid #e5e7eb;
  animation: slideUp 0.4s ease;
}
.bot-header { background: #1a1512; color: #fff; padding: 16px 20px; display: flex; justify-content: space-between; align-items: center; }
.bot-messages { flex: 1; padding: 20px; overflow-y: auto; display: flex; flex-direction: column; gap: 12px; background: #f9fafb; }
.bot-msg { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 0.85rem; line-height: 1.5; }
.bot-msg--bot { background: #fff; border: 1px solid #e5e7eb; align-self: flex-start; border-bottom-left-radius: 4px; }
.bot-msg--user { background: var(--amber); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.bot-input { padding: 16px; border-top: 1px solid #eee; display: flex; gap: 10px; }
.bot-input input { flex: 1; border: 1px solid #ddd; border-radius: 20px; padding: 10px 16px; outline: none; font-size: 0.9rem; }
.bot-input button { background: var(--amber); color: #fff; border: none; width: 40px; height: 40px; border-radius: 50%; cursor: pointer; }

/* ─── Animations ─── */
.reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

.loading-wrap {
  text-align: center; padding: 80px; font-size: 1.2rem;
  opacity: 0.6; font-family: var(--font-display);
  animation: preloaderPulse 1.5s ease infinite;
}

.footer-link-btn {
  background: none;
  border: none;
  color: #fff;
  text-decoration: none;
  text-align: left;
  padding: 0;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  opacity: 0.8;
  transition: 0.3s;
}
.stats-row {
  display:flex;gap:0;
  animation:fadeSlideUp .8s .45s ease both;
  margin-top: 40px;
}
.stat { display:flex;flex-direction:column;padding:0 28px; }
.stat:first-child { padding-left:0; }
.stat-val {
  font-family:var(--font-display);font-size:30px;font-weight:700;
  color:var(--amber);line-height:1;
}
.stat-label {
  font-family: var(--font-display);
  font-size:11px;color:var(--muted);font-weight:500;
  letter-spacing:.05em;text-transform:uppercase;margin-top:5px;
}
.stat-div { width:1px;background:rgba(45,31,6,.12);margin:6px 0; }

/* ── BOARD PANEL (extracted bit) ── */
.board-panel {
  background: #111111;
  border-radius: 32px;
  padding: 20px 20px 16px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.7),
    0 0 0 1px rgba(255, 255, 255, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: all 0.3s ease;
  width: 100%;
  max-width: 600px;
  animation: fadeSlideUp .9s .2s ease both;
  margin-left: auto;
}
.board-panel:hover {
  box-shadow:
    0 48px 96px rgba(0, 0, 0, 0.75),
    0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

/* PLAYER HEADER */
.players-bar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.player-chip {
  display: flex;
  align-items: center;
  gap: 12px;
}
.player-chip.right {
  flex-direction: row-reverse;
  text-align: right;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  background: #222;
  flex-shrink: 0;
}
.av-white {
  background: #f0f0f0;
  color: #111;
  border-color: rgba(255, 255, 255, 0.4);
}
.av-black {
  background: #1a1a1a;
  color: #ccc;
  border-color: rgba(255, 255, 255, 0.15);
}
.pname {
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: -0.2px;
}
.pelo {
  font-family: var(--font-display);
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 500;
}
.match-center {
  text-align: center;
}
.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #c0280a;
  color: #fff;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 6px;
}
.live-pill-dot {
  width: 6px;
  height: 6px;
  background: #fff;
  border-radius: 50%;
  animation: pulseLive 1.4s infinite;
}
@keyframes pulseLive {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.match-loc {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 500;
}

/* BOARD + MOVES LAYOUT (side by side) */
.board-section {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  justify-content: space-between;
}

/* coordinates */
.coords-col {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  height: 320px;
  width: 20px;
  margin-right: 4px;
}
.coords-row {
  display: flex;
  justify-content: space-around;
  width: 320px;
  margin-top: 6px;
}
.coord {
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
  font-family: 'Inter', monospace;
}

/* CHESS BOARD */
#board {
  display: grid;
  grid-template-columns: repeat(8, 40px);
  grid-template-rows: repeat(8, 40px);
  border: 3px solid #2d5c28;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 0 20px rgba(74, 124, 64, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  background: #1a3018;
  width: 320px;
  height: 320px;
}
.sq {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: filter 0.05s;
}
.sq.light {
  background: #d4d4a8;
}
.sq.dark {
  background: #4a7a2e;
}
.sq.hl-from {
  background: rgba(255, 220, 100, 0.7) !important;
}
.sq.hl-to {
  background: rgba(255, 140, 0, 0.75) !important;
}
.piece {
  display: block;
  width: 85%;
  height: 85%;
  user-select: none;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.4));
  transition: transform 0.1s;
  pointer-events: none;
  object-fit: contain;
}

/* MOVE LIST PANEL (side panel) */
.moves-panel {
  flex: 1;
  min-width: 180px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 14px 12px;
  height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
.moves-panel::-webkit-scrollbar {
  width: 4px;
}
.moves-panel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
}
.panel-head {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.move-row {
  display: grid;
  grid-template-columns: 24px 1fr 1fr;
  gap: 4px;
  align-items: center;
  margin-bottom: 4px;
}
.move-n {
  color: rgba(255, 255, 255, 0.4);
  font-size: 11px;
  font-weight: 600;
  text-align: right;
}
.move-san {
  color: rgba(255, 255, 255, 0.75);
  font-size: 12px;
  font-weight: 500;
  font-family: 'Courier New', monospace;
  padding: 4px 6px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.1s;
}
.move-san:hover {
  background: rgba(255, 255, 255, 0.1);
}
.move-san.active {
  background: #E8860A;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 0 6px rgba(232, 134, 10, 0.4);
}

/* CONTROLS */
.board-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 12px;
}
.ctrl-group {
  display: flex;
  gap: 8px;
  align-items: center;
}
.cb {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: 0.2s;
}
.cb:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  transform: scale(0.96);
}
.cb-pause {
  width: 95px;
  font-size: 12px;
  font-weight: 700;
  background: #E8860A;
  color: white;
  border: none;
  letter-spacing: 0.5px;
}
.cb-pause:hover {
  background: #b86800;
  transform: translateY(-1px);
}
.speed-group {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.6px;
}
.speed-range {
  width: 90px;
  height: 3px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.2);
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.speed-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: #E8860A;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 1px 4px black;
}
.speed-range::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}
.speed-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: #E8860A;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 1px 4px black;
}
.speed-range::-moz-range-thumb:hover {
  transform: scale(1.2);
}

/* PREMIUM "Check Ur Level" CTA — large, glowing, two-line pill button */
.check-level-btn {
  position: relative;
  background: linear-gradient(135deg, #059669 0%, #10B981 40%, #34D399 100%);
  color: #fff;
  border: 2px solid rgba(52, 211, 153, 0.5);
  border-radius: 50px;
  padding: 10px 22px 10px 14px;
  font-family: inherit;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(.4,0,.2,1);
  box-shadow:
    0 0 18px rgba(16, 185, 129, 0.35),
    0 4px 14px rgba(5, 150, 105, 0.3),
    inset 0 1px 0 rgba(255,255,255,0.15);
  animation: clbGlow 2.5s ease-in-out infinite;
  overflow: visible;
  z-index: 1;
  min-width: 200px;
}

/* Glow pulse animation */
@keyframes clbGlow {
  0%, 100% { box-shadow: 0 0 18px rgba(16,185,129,0.35), 0 4px 14px rgba(5,150,105,0.3), inset 0 1px 0 rgba(255,255,255,0.15); }
  50% { box-shadow: 0 0 28px rgba(16,185,129,0.55), 0 6px 20px rgba(5,150,105,0.45), inset 0 1px 0 rgba(255,255,255,0.2); }
}

/* Outer pulse ring */
.check-level-btn::before {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 54px;
  border: 2px solid rgba(52, 211, 153, 0.3);
  animation: clbRing 2.5s ease-in-out infinite;
  pointer-events: none;
}
@keyframes clbRing {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 0; transform: scale(1.06); }
}

.check-level-btn:hover {
  transform: translateY(-3px) scale(1.04);
  background: linear-gradient(135deg, #047857 0%, #059669 40%, #10B981 100%);
  box-shadow:
    0 0 32px rgba(16,185,129,0.6),
    0 8px 24px rgba(5,150,105,0.45),
    inset 0 1px 0 rgba(255,255,255,0.2);
  border-color: rgba(52, 211, 153, 0.7);
}
.check-level-btn:active {
  transform: translateY(0) scale(0.98);
}

/* Chess piece icon container */
.clb-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 30%, rgba(255, 255, 255, 0.35), rgba(0, 0, 0, 0.18));
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25), inset 0 1px 1px rgba(255,255,255,0.45);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.clb-icon svg {
  display: block;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.45));
}

/* Single-line text */
.clb-title {
  font-size: 18px;
  font-weight: 800;
  color: #ffffff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
  letter-spacing: 0.3px;
  white-space: nowrap;
}

/* Chevron arrow */
.clb-arrow {
  font-size: 26px;
  font-weight: 800;
  color: #a7f3d0;
  opacity: 0.9;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
  margin-left: auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  line-height: 1;
}
.check-level-btn:hover .clb-arrow {
  transform: translateX(4px);
  opacity: 1;
}


@media (max-width: 680px) {
  .board-section {
    flex-direction: column;
    align-items: center;
  }
  .moves-panel {
    width: 100%;
    height: 200px;
  }
  #board {
    grid-template-columns: repeat(8, 36px);
    grid-template-rows: repeat(8, 36px);
    width: 288px;
    height: 288px;
  }
  .sq {
    width: 36px;
    height: 36px;
  }
  .piece {
    font-size: 26px;
  }
  .coords-col {
    height: 288px;
  }
  .coords-row {
    width: 288px;
  }
}

.ai-btn { font-weight:600;cursor:pointer;
  font-family:var(--font-body);display:flex;align-items:center;gap:6px;
  transition:opacity .2s,transform .15s;
}
.ai-btn:hover { opacity:.88;transform:translateY(-1px); }

@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.5;transform:scale(.75)} }

/* ══════════════════════════════════════════════════════════════════════════
   3D ANIMATION ENGINE — ChessKidoo Premium Experience Layer
   Pure CSS 3D transforms, perspective effects, parallax-like depth,
   and micro-interaction animations. No external libraries required.
   ══════════════════════════════════════════════════════════════════════════ */

/* ─── 3D Perspective Container ─── */
.hero, .section-padding, .login-bg-section {
  perspective: 1200px;
}

/* ─── 3D Floating Chess Pieces (Hero Background Orbs) ─── */
.hero::after {
  content: '♘';
  position: absolute;
  font-size: 18rem;
  color: rgba(217, 119, 6, 0.03);
  top: 10%;
  right: -5%;
  z-index: 0;
  animation: heroChessFloat 12s ease-in-out infinite;
  transform-style: preserve-3d;
  pointer-events: none;
}
.hero::before {
  content: '♙';
  position: absolute;
  font-size: 12rem;
  color: rgba(217, 119, 6, 0.025);
  bottom: 5%;
  left: 2%;
  z-index: 0;
  animation: heroChessFloat2 15s ease-in-out infinite;
  transform-style: preserve-3d;
  pointer-events: none;
}

@keyframes heroChessFloat {
  0%   { transform: rotateY(0deg) rotateX(0deg) translateY(0px) scale(1); }
  25%  { transform: rotateY(15deg) rotateX(-5deg) translateY(-30px) scale(1.02); }
  50%  { transform: rotateY(0deg) rotateX(5deg) translateY(-15px) scale(1); }
  75%  { transform: rotateY(-15deg) rotateX(-3deg) translateY(-40px) scale(1.01); }
  100% { transform: rotateY(0deg) rotateX(0deg) translateY(0px) scale(1); }
}
@keyframes heroChessFloat2 {
  0%   { transform: rotateZ(0deg) rotateY(0deg) translateY(0px); }
  33%  { transform: rotateZ(5deg) rotateY(20deg) translateY(-20px); }
  66%  { transform: rotateZ(-3deg) rotateY(-15deg) translateY(-35px); }
  100% { transform: rotateZ(0deg) rotateY(0deg) translateY(0px); }
}

/* ─── 3D Hero Board Enhancement ─── */
.board-panel {
  transform-style: preserve-3d;
  animation: boardEntrance 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s both;
}
@keyframes boardEntrance {
  from {
    opacity: 0;
    transform: perspective(1200px) rotateX(25deg) rotateY(-15deg) translateZ(-80px) scale(0.85);
  }
  to {
    opacity: 1;
    transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateZ(0px) scale(1);
  }
}

/* ─── 3D Feature Cards with Tilt ─── */
.feat-card {
  transform-style: preserve-3d;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: transform;
}
.feat-card:hover {
  transform: perspective(800px) rotateX(-3deg) rotateY(5deg) translateY(-12px) translateZ(20px);
  box-shadow: 
    0 25px 50px rgba(0,0,0,0.15), 
    0 0 0 1px rgba(217, 119, 6, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.5);
}
.feat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(217,119,6,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.feat-card:hover::before { opacity: 1; }

/* 3D Icon Float on Feature Cards */
.feat-icon-wrap {
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  transform-style: preserve-3d;
}
.feat-card:hover .feat-icon-wrap {
  transform: translateZ(30px) rotateY(10deg) scale(1.15);
  box-shadow: 0 10px 24px rgba(217,119,6,0.2);
}

/* ─── 3D Coach Image Cards ─── */
.coach-grid > div, .coach-grid > .reveal {
  transform-style: preserve-3d;
  transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1) !important;
  position: relative;
}
.coach-grid > div:hover, .coach-grid > .reveal:hover {
  transform: perspective(900px) rotateY(-6deg) rotateX(3deg) translateY(-10px) translateZ(15px) !important;
  box-shadow: 
    20px 20px 60px rgba(0,0,0,0.2),
    -5px -5px 20px rgba(255,255,255,0.05),
    0 0 0 1px rgba(217,119,6,0.1) !important;
}

/* 3D Image Parallax on Coach Cards */
.coach-grid > div:hover img, .coach-grid > .reveal:hover img {
  transform: scale(1.08) translateZ(10px);
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
}

/* ─── Achievements Section ─── */
#achievements {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  text-align: center;
}

#achievements .section-head {
  text-align: center;
  margin: 0 auto 64px;
}

#achievements .section-head h2 {
  color: #ffffff;
}

#achievements .eyebrow {
  color: var(--arena-gold);
}

#achievements .lead {
  color: rgba(255, 255, 255, 0.7);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.achievement-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.achievement-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  border-color: rgba(245, 200, 66, 0.3);
}

.achievement-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.achievement-card:nth-child(1) .achievement-icon {
  background: linear-gradient(135deg, var(--arena-gold), var(--arena-gold-dark));
}

.achievement-card:nth-child(2) .achievement-icon {
  background: linear-gradient(135deg, var(--arena-purple), var(--arena-blue));
}

.achievement-card:nth-child(3) .achievement-icon {
  background: linear-gradient(135deg, var(--arena-green), var(--arena-teal));
}

.achievement-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
  color: #ffffff;
  font-family: var(--font-display);
  font-weight: 700;
}

.achievement-card p {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
  margin: 0;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease;
  transform-style: preserve-3d;
}

.gallery-item:hover {
  transform: translateY(-8px) translateZ(15px);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Level Cards 3D CSS Cleaned */

/* ─── 3D Pricing Cards ─── */
.price-card {
  transform-style: preserve-3d;
  position: relative;
}
.price-card:hover {
  transform: perspective(1000px) rotateX(-2deg) rotateY(3deg) translateY(-16px) translateZ(20px) !important;
}
.price-card.gold-card {
  animation: goldCardGlow 4s ease-in-out infinite;
}
@keyframes goldCardGlow {
  0%, 100% { box-shadow: 0 8px 32px rgba(217,119,6,0.15), 0 0 0 2px rgba(245,158,11,0.3); }
  50%      { box-shadow: 0 16px 48px rgba(217,119,6,0.25), 0 0 0 2px rgba(245,158,11,0.5), 0 0 80px rgba(217,119,6,0.08); }
}

/* ─── Trust Bar 3D Glass Morphism ─── */
.trust-bar {
  position: relative;
  overflow: hidden;
}
.trust-bar::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 40%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
  animation: trustBarShimmer 8s linear infinite;
  transform: skewX(-25deg);
}
@keyframes trustBarShimmer {
  from { left: -40%; }
  to   { left: 140%; }
}
.trust-item {
  transition: all 0.3s ease;
  transform-style: preserve-3d;
}
.trust-item:hover {
  transform: translateZ(10px) scale(1.05);
  opacity: 1 !important;
  color: var(--amber-light);
  text-shadow: 0 0 20px rgba(245,158,11,0.3);
}

/* ─── Enhanced Reveal Animations (3D Depth) ─── */
.reveal {
  opacity: 0;
  transform: perspective(800px) translateY(40px) rotateX(5deg);
  transition: all 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: perspective(800px) translateY(0) rotateX(0deg);
}

/* Staggered 3D children reveal */
.feat-grid .reveal:nth-child(1) { transition-delay: 0.05s; }
.feat-grid .reveal:nth-child(2) { transition-delay: 0.15s; }
.feat-grid .reveal:nth-child(3) { transition-delay: 0.25s; }
.feat-grid .reveal:nth-child(4) { transition-delay: 0.35s; }
.feat-grid .reveal:nth-child(5) { transition-delay: 0.45s; }
.feat-grid .reveal:nth-child(6) { transition-delay: 0.55s; }

/* ─── 3D Hero Title Entrance ─── */
.hero-title {
  animation: heroTitleEntrance 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s both;
}
@keyframes heroTitleEntrance {
  from {
    opacity: 0;
    transform: perspective(600px) rotateX(-10deg) translateY(30px) translateZ(-40px);
  }
  to {
    opacity: 1;
    transform: perspective(600px) rotateX(0deg) translateY(0) translateZ(0);
  }
}
.hero-sub {
  animation: heroSubEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}
@keyframes heroSubEntrance {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 0.7; transform: translateY(0); }
}
.hero-btns {
  animation: heroBtnsEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.7s both;
}
@keyframes heroBtnsEntrance {
  from { opacity: 0; transform: translateY(25px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── 3D Button Interactions ─── */
.btn-primary {
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  position: relative;
  overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}
.btn-primary:hover::after { transform: translateX(100%); }
.btn-primary:hover {
  transform: perspective(500px) translateY(-3px) translateZ(8px) rotateX(-2deg);
  box-shadow: 0 15px 35px rgba(217,119,6,0.4), 0 5px 15px rgba(217,119,6,0.2);
}

.btn-ghost {
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.btn-ghost:hover {
  transform: perspective(500px) translateY(-2px) translateZ(5px);
}

/* ─── 3D Floating Badges ─── */
.floating-badge {
  transform-style: preserve-3d;
  animation: floatingBadge3D 4s ease-in-out infinite;
}
.floating-badge:nth-of-type(2) { animation-delay: 1.3s; }
.floating-badge:nth-of-type(3) { animation-delay: 2.6s; }

@keyframes floatingBadge3D {
  0%   { transform: perspective(500px) translateY(0) rotateX(0deg) rotateY(0deg); }
  25%  { transform: perspective(500px) translateY(-12px) rotateX(3deg) rotateY(-5deg); }
  50%  { transform: perspective(500px) translateY(-6px) rotateX(-2deg) rotateY(3deg); }
  75%  { transform: perspective(500px) translateY(-15px) rotateX(4deg) rotateY(-3deg); }
  100% { transform: perspective(500px) translateY(0) rotateX(0deg) rotateY(0deg); }
}

/* ─── Floating UI 3D Lift ─── */
.whatsapp-float, .bot-float {
  transform-style: preserve-3d;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}
.whatsapp-float:hover {
  transform: perspective(400px) translateY(-8px) rotateX(-5deg) scale(1.12);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.35);
}
.bot-float:hover {
  transform: perspective(400px) translateY(-8px) rotateX(-5deg) scale(1.12);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

/* ─── Login Card 3D ─── */
.login-card {
  transform-style: preserve-3d;
  animation: loginCardEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes loginCardEntrance {
  from {
    opacity: 0;
    transform: perspective(800px) rotateX(8deg) translateY(40px) translateZ(-60px) scale(0.92);
  }
  to {
    opacity: 1;
    transform: perspective(800px) rotateX(0deg) translateY(0) translateZ(0) scale(1);
  }
}

/* ─── Section Head 3D ─── */
.section-head h2 {
  transform-style: preserve-3d;
}
.section-head.visible h2 {
  animation: sectionTitle3D 0.9s cubic-bezier(0.16, 1, 0.3, 1) both;
}
@keyframes sectionTitle3D {
  from {
    opacity: 0;
    transform: perspective(600px) rotateX(-8deg) translateY(25px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: perspective(600px) rotateX(0deg) translateY(0);
    filter: blur(0);
  }
}

/* ─── 3D Particle Orbs (Ambient Depth) ─── */
.section-padding {
  position: relative;
  overflow: hidden;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.section-padding::before {
  content: '';
  position: absolute;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(217,119,6,0.03) 0%, transparent 70%);
  top: 20%; right: -100px;
  animation: ambientOrb 20s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}
@keyframes ambientOrb {
  0%   { transform: translate(0, 0) scale(1); }
  33%  { transform: translate(-60px, 40px) scale(1.3); }
  66%  { transform: translate(30px, -30px) scale(0.9); }
  100% { transform: translate(0, 0) scale(1); }
}

/* ─── Smooth Page Transition (fade + gentle rise) ─── */
.page.active {
  animation: pageTransitionIn3D 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pageTransitionIn3D {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── Accessibility: Reduced Motion ─── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── Premium Redesigned Global Footer Styling ─── */
.footer-col-title {
  margin-bottom: 24px;
  color: var(--amber);
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.8px;
  font-weight: 700;
}
.footer-link-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  font-weight: 500;
  text-align: left;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}
.footer-link-btn:hover {
  color: var(--gold2);
  transform: translateX(4px);
}
.social-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.6);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.social-icon-btn:hover {
  border-color: var(--amber);
  color: #fff;
  background: rgba(232, 160, 32, 0.1);
  transform: translateY(-2px);
}
.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.footer-contact-item:hover {
  color: var(--gold2);
}
.contact-icon {
  color: var(--amber);
  font-size: 1.1rem;
}
.footer-cta-btn {
  width: 100%;
  max-width: 240px;
  height: 48px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
  font-family: inherit;
  text-decoration: none;
}
.footer-demo-btn {
  background: #E8A020;
  color: white;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(232, 160, 32, 0.2);
}
.footer-demo-btn:hover {
  background: #F5C842;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(232, 160, 32, 0.3);
}
.footer-wa-btn {
  background: #00A884;
  color: white;
  box-shadow: 0 4px 15px rgba(0, 168, 132, 0.2);
}
.footer-wa-btn:hover {
  background: #00c49a;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 132, 0.3);
}
@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

/* ─── Responsive Coach Grid (4x4 Columns on Desktop) ─── */
.coach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding: 30px 0;
}
@media (max-width: 1024px) {
  .coach-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}
@media (max-width: 640px) {
  .coach-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ─── Premium Modern FAQ Accordion Styling ─── */
.faq-accordion-wrap {
  max-width: 820px;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-section-modern {
  position: relative;
  background: linear-gradient(145deg, #0b1120 0%, #0f172a 45%, #1e1b4b 100%);
  border-radius: 36px;
  padding: 84px 32px;
  margin: 60px auto;
  border: 1px solid rgba(218, 163, 62, 0.25);
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.5), 0 0 40px rgba(218, 163, 62, 0.08);
  overflow: hidden;
}

.faq-section-modern::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -100px;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(218, 163, 62, 0.15) 0%, rgba(218, 163, 62, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.faq-section-modern::after {
  content: '';
  position: absolute;
  bottom: -150px;
  left: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
}

.faq-filter-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 38px;
  position: relative;
  z-index: 2;
}

.faq-pill {
  padding: 11px 22px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: #cbd5e1;
  font-size: 0.88rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.faq-pill:hover {
  background: rgba(218, 163, 62, 0.15);
  color: #fef08a;
  border-color: rgba(218, 163, 62, 0.45);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(218, 163, 62, 0.2);
}

.faq-pill.active {
  background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
  color: #0b1120;
  border-color: #fef08a;
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.35);
  transform: translateY(-2px);
  font-weight: 800;
}

.faq-accordion-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #d4af37 0%, #f59e0b 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(218, 163, 62, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.35), 0 0 20px rgba(218, 163, 62, 0.08);
}

.faq-item:hover::before,
.faq-item.active::before {
  opacity: 1;
}

.faq-item.active {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(218, 163, 62, 0.55);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.4), 0 0 25px rgba(218, 163, 62, 0.15);
}

.faq-trigger {
  width: 100%;
  padding: 22px 28px;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  cursor: pointer;
  text-align: left;
  outline: none;
  font-family: inherit;
}

.faq-q-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
}

.faq-tag-badge {
  font-size: 0.74rem;
  font-weight: 800;
  color: #fef08a;
  background: rgba(218, 163, 62, 0.18);
  border: 1px solid rgba(218, 163, 62, 0.35);
  padding: 3px 11px;
  border-radius: 8px;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-transform: uppercase;
}

.faq-question {
  font-size: 1.15rem;
  font-weight: 750;
  color: #ffffff;
  line-height: 1.45;
  transition: color 0.25s;
}

.faq-item:hover .faq-question {
  color: #fef08a;
}

.faq-item.active .faq-question {
  color: #ffffff;
}

.faq-icon-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  flex-shrink: 0;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item:hover .faq-icon-arrow {
  background: rgba(218, 163, 62, 0.2);
  color: #fef08a;
  border-color: rgba(218, 163, 62, 0.4);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  background: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
  color: #0b1120;
  border-color: #fef08a;
  box-shadow: 0 0 15px rgba(218, 163, 62, 0.4);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-content-inner {
  padding: 0 28px 26px 28px;
  font-size: 1rem;
  line-height: 1.75;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 18px;
}

.faq-content-inner strong {
  color: #fef08a;
  font-weight: 700;
}

.faq-help-strip {
  margin-top: 48px;
  position: relative;
  z-index: 2;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(218, 163, 62, 0.08) 100%);
  border: 1px solid rgba(218, 163, 62, 0.35);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 24px;
  padding: 28px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.faq-help-icon-wrap {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.2) 0%, rgba(37, 211, 102, 0.05) 100%);
  border: 1px solid rgba(37, 211, 102, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.2);
}

.faq-help-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #4ade80;
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  padding: 2px 10px;
  border-radius: 99px;
  margin-bottom: 6px;
}

.faq-pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 8px #22c55e;
  animation: pulse-dot-anim 1.8s infinite;
}

@keyframes pulse-dot-anim {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

@media (max-width: 768px) {
  .faq-section-modern {
    padding: 56px 18px;
    border-radius: 26px;
    margin: 30px auto;
  }
  .faq-filter-pills {
    gap: 8px;
    margin-bottom: 24px;
  }
  .faq-pill {
    padding: 9px 16px;
    font-size: 0.8rem;
  }
  .faq-trigger {
    padding: 18px 18px;
  }
  .faq-content-inner {
    padding: 14px 18px 20px;
    font-size: 0.93rem;
  }
  .faq-question {
    font-size: 1.02rem;
  }
  .faq-help-strip {
    flex-direction: column;
    align-items: flex-start;
    padding: 22px 20px;
    gap: 18px;
  }
  .faq-help-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .faq-help-actions > * {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}

/* ─── Premium 3D Curriculum Levels CSS Styles ─── */
.level-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  padding: 30px 0;
  perspective: 1500px; /* Essential for 3D depth */
}

.level-card {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  padding: 36px 26px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 520px;
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s;
  cursor: pointer;
  overflow: visible; /* Needed for translateZ elements to peak out beautifully */
}

/* Base Hover CSS Fallback (will be augmented by high-performance JS tilt) */
.level-card:hover {
  transform: translateY(-14px);
  border-color: rgba(232, 160, 32, 0.4);
}

/* Dynamic Cursor-Tracking spotlight */
.level-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 10%), rgba(232, 160, 32, 0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 1;
}
.level-card:hover::before {
  opacity: 1;
}

/* Individual Card Variant Glowing Shadows & Dynamic Cursor spotlight colors */
/* Beginner Card - Pawn */
.level-card.level-beginner:hover {
  box-shadow: 0 30px 60px rgba(232, 160, 32, 0.15), 0 0 40px rgba(232, 160, 32, 0.04);
}
.level-card.level-beginner::before {
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 10%), rgba(232, 160, 32, 0.14) 0%, transparent 60%);
}

/* Intermediate Card - Bishop (Sleek Silver/Cyan Accent) */
.level-card.level-intermediate:hover {
  box-shadow: 0 30px 60px rgba(100, 180, 255, 0.15), 0 0 40px rgba(100, 180, 255, 0.04);
  border-color: rgba(100, 180, 255, 0.4);
}
.level-card.level-intermediate::before {
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 10%), rgba(37, 99, 235, 0.12) 0%, transparent 60%);
}

/* Advanced Card - Rook (Gold Accent) */
.level-card.level-advanced:hover {
  box-shadow: 0 30px 60px rgba(251, 191, 36, 0.18), 0 0 40px rgba(251, 191, 36, 0.05);
  border-color: rgba(251, 191, 36, 0.45);
}
.level-card.level-advanced::before {
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 10%), rgba(217, 119, 6, 0.15) 0%, transparent 60%);
}

/* Master Card - King (Rose/Crimson Accent) */
.level-card.level-master:hover {
  box-shadow: 0 30px 60px rgba(225, 29, 72, 0.2), 0 0 40px rgba(225, 29, 72, 0.06);
  border-color: rgba(225, 29, 72, 0.5);
}
.level-card.level-master::before {
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 10%), rgba(225, 29, 72, 0.16) 0%, transparent 60%);
}

/* 3D TranslateZ Layers */
.level-rank {
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.08);
  color: var(--navy);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 14px;
  border-radius: 20px;
  transform: translateZ(30px);
  transition: all 0.4s;
  z-index: 10;
}
.level-card:hover .level-rank {
  background: var(--amber);
  color: #fff;
  border-color: var(--amber);
}
.level-card.level-intermediate:hover .level-rank {
  background: #2563eb;
  color: #fff;
  border-color: #2563eb;
}
.level-card.level-advanced:hover .level-rank {
  background: #d97706;
  color: #fff;
  border-color: #d97706;
}
.level-card.level-master:hover .level-rank {
  background: #e11d48;
  color: #fff;
  border-color: #e11d48;
}

@keyframes floatPiece {
  0% {
    transform: translateZ(60px) translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateZ(60px) translateY(-8px) rotate(2deg);
  }
  100% {
    transform: translateZ(60px) translateY(0px) rotate(0deg);
  }
}

.level-piece {
  font-size: 5.5rem;
  line-height: 1;
  margin-bottom: 24px;
  filter: drop-shadow(0 12px 18px rgba(15, 23, 42, 0.08));
  animation: floatPiece 4s ease-in-out infinite;
  z-index: 5;
  display: block;
}
.level-card:hover .level-piece {
  animation: none; /* Pause float bobbing when hovering to allow clean 3D static lift */
  transform: translateZ(95px) scale(1.18) rotate(4deg);
  filter: drop-shadow(0 22px 32px rgba(15, 23, 42, 0.18));
}

.level-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  transform: translateZ(40px);
}

.level-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 24px;
  transform: translateZ(35px);
}

.level-card ul {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform: translateZ(30px);
  width: 100%;
}

.level-card li {
  font-size: 0.9rem;
  color: rgba(15, 23, 42, 0.8);
  display: flex;
  align-items: center;
  gap: 10px;
}

.level-card li::before {
  content: '✓';
  color: #d97706;
  font-weight: 800;
  font-size: 1rem;
}
.level-card.level-intermediate li::before {
  color: #2563eb;
}
.level-card.level-advanced li::before {
  color: #d97706;
}

.level-card-cta {
  margin-top: auto;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 8px;
  transform: translateZ(50px);
  transition: all 0.3s;
}
.level-card:hover .level-card-cta {
  transform: translateZ(75px) translateX(6px);
}
.level-card.level-intermediate .level-card-cta {
  color: #2563eb;
}
.level-card.level-advanced .level-card-cta {
  color: #d97706;
}

@media (max-width: 1024px) {
  .level-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}
@media (max-width: 768px) {
  .level-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .level-card {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .coach-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ─── Mobile Optimizations ─── */
* {
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

.btn, .nav-link, .faq-trigger, .p-nav-item, .footer-link-btn, .social-icon-btn {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.btn, .nav-login, .nav-cta {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.faq-trigger {
  min-height: 56px;
  padding: 16px 20px;
}

.p-nav-item {
  min-height: 48px;
  padding: 12px 16px;
}

.form-group input, .form-group select, .form-group textarea {
  min-height: 48px;
  font-size: 16px;
}

/* Prevent horizontal scrolling */
html, body {
  overflow-x: hidden;
}

/* NOTE: no max-width here — it would override the 1400px cap set above and
   let full-width bands run edge to edge on wide screens.
   box-sizing + the overflow-x guard above are what actually stop the scroll. */
.container {
  box-sizing: border-box;
}

img, video {
  max-width: 100%;
  height: auto;
}

/* Ensure all interactive elements are touch-friendly */
button, input, textarea, select, a {
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

/* 768px - Tablet breakpoint */
@media (max-width: 1024px) {
  .header-inner { padding: 16px 32px; }
  .container { padding: 0 24px; }
  .hero-content-wrap { padding: 10px 32px 60px; }
  .section-padding { padding: 80px 0; }
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    width: 44px;
    height: 44px;
    padding: 10px;
  }
  
  .hero-btns {
    flex-direction: column;
    align-items: stretch;
  }
  
  .hero-btns .btn {
    width: 100%;
  }
  
  .stats-row {
    flex-wrap: wrap;
    gap: 20px;
  }
  
  .stat-div {
    width: 1px;
    height: 40px;
    margin: 6px 0;
  }
  
  .board-controls {
    flex-direction: column;
    align-items: stretch;
  }
  
  .ctrl-group {
    justify-content: center;
  }
  
  .floating-ui {
    bottom: 20px;
    right: 20px;
    gap: 12px;
  }
  
  .whatsapp-float, .bot-float {
    width: 56px;
    height: 56px;
  }
  
  .bot-window {
    width: 95vw;
    max-width: 340px;
    height: 420px;
    bottom: 100px;
    right: 16px;
    left: 16px;
  }
  
  .level-grid {
    grid-template-columns: 1fr;
  }
  
  .coach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .pricing-grid, .feat-grid, .achievements-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .trust-item {
    font-size: 0.75rem;
  }
  
  .preloader-text {
    font-size: 0.65rem;
    letter-spacing: 0.2em;
  }
}

/* 480px - Small mobile breakpoint */
@media (max-width: 480px) {
  .header-inner { padding: 12px 16px; }
  .logo-text { font-size: 1.25rem; }
  .logo-icon-box { width: 32px; height: 32px; }
  .logo-icon-symbol { font-size: 18px; }
  
  .container { padding: 0 16px; }
  .section-padding { padding: 60px 0; }
  .section-head { margin-bottom: 40px; padding: 0 12px; }
  .section-head h2 { font-size: 1.75rem; }
  .eyebrow { font-size: 0.65rem; letter-spacing: 1px; }
  
  .hero { padding-top: 80px; }
  .hero-content-wrap { padding: 10px 16px 40px; }
  .hero-title { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-badge { font-size: 0.65rem; padding: 6px 12px; letter-spacing: 0.14em; }
  .hero-stat-num { font-size: 1.8rem; }
  .hero-stat-label { font-size: 0.7rem; }
  
  .btn { padding: 14px 28px; font-size: 0.95rem; }
  .nav-login { padding: 8px 16px; font-size: 0.85rem; }
  
  .feat-card, .level-card, .price-card, .login-card {
    padding: 24px;
    border-radius: 16px;
  }
  
  .feat-icon-wrap { width: 50px; height: 50px; font-size: 1.4rem; margin-bottom: 16px; }
  
  .coach-grid { grid-template-columns: 1fr; }
  .sidebar { padding: 16px 12px; }
  .dashboard-main { padding: 16px; }
  
  .table th, .table td { padding: 12px 16px; }
  .table { font-size: 0.85rem; }
  
  .preloader-text { font-size: 0.6rem; letter-spacing: 0.15em; }
  
  .board-panel { border-radius: 20px; padding: 16px; }
  #board { width: 280px; height: 280px; grid-template-columns: repeat(8, 35px); grid-template-rows: repeat(8, 35px); }
  .sq { width: 35px; height: 35px; }
  .coords-col { height: 280px; }
  .coords-row { width: 280px; }
  .moves-panel { height: 180px; min-width: auto; }
}

/* 360px - Extra small screens */
@media (max-width: 360px) {
  .header-inner { padding: 10px 12px; }
  .nav-link { font-size: 0.8rem; padding: 12px 10px; }
  .btn { padding: 12px 20px; font-size: 0.9rem; }
  
  .hero-stat-num { font-size: 1.6rem; }
  .hero-stat-label { font-size: 0.65rem; }
  
  .section-head h2 { font-size: 1.5rem; }
  
  .level-card, .feat-card, .price-card { padding: 20px; }
  .level-piece { font-size: 3rem; margin-bottom: 12px; }
  .level-card h3 { font-size: 1.3rem; }
  
  .preloader-text { font-size: 0.55rem; letter-spacing: 0.1em; }
  
  .trust-bar { padding: 16px 0; }
  .trust-inner { gap: 16px; padding: 0 12px; }
  
  .floating-ui { bottom: 16px; right: 16px; }
  .whatsapp-float, .bot-float { width: 50px; height: 50px; }
}

/* ─── Premium Redesigned Login Page & Header Styles (Mockup Perfect) ─── */
.login-bg-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #0c121e;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 30px 30px;
  background-position: center;
  position: relative;
  overflow: hidden;
  padding: 0 0 80px 0;
}

.login-header {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 48px;
}
.login-header-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.login-header-logo-box {
  width: 44px;
  height: 44px;
  background: #E8A020;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(232, 160, 32, 0.35);
  transition: transform 0.3s;
}
.login-header-logo:hover .login-header-logo-box {
  transform: rotate(-5deg) scale(1.05);
}
.login-header-logo-symbol {
  font-size: 26px;
  color: #1c2e4a;
  line-height: 1;
}
.login-header-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  color: #ffffff;
}
.login-header-logo-text span {
  color: #E8A020;
}

.login-header-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.login-header-nav-btn {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  cursor: pointer;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}
.login-header-nav-btn::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 100%;
  height: 2px;
  background: #E8A020;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.login-header-nav-btn:hover {
  color: #ffffff;
}
.login-header-nav-btn:hover::after {
  transform: translateX(-50%) scaleX(1);
}
.login-header-nav-btn.active {
  color: #E8A020;
}
.login-header-nav-btn.active::after {
  transform: translateX(-50%) scaleX(1);
}

.login-card-v2 {
  background: #ffffff;
  border-radius: 28px;
  padding: 48px;
  width: 100%;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
  transform-style: preserve-3d;
  animation: loginCardEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.login-card-v2-icon {
  width: 72px;
  height: 72px;
  background: #111111;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 34px;
  margin: 0 auto 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.login-card-v2-brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: #0c121e;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.login-card-v2-brand span {
  color: #d97706;
}

.login-card-v2-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  color: #0c121e;
  letter-spacing: -0.01em;
  margin: 0;
}

.login-card-v2-subtitle {
  color: #64748b;
  font-size: 0.95rem;
  margin: 8px 0 0 0;
  font-weight: 500;
}

.form-group-v2 {
  margin-bottom: 20px;
  text-align: left;
}
.form-group-v2-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: #0c121e;
  margin-bottom: 8px;
}
.form-group-v2-input {
  background: #edf2f9;
  border: 1.5px solid rgba(15, 23, 42, 0.05);
  color: #0c121e;
  font-weight: 600;
  height: 54px;
  border-radius: 12px;
  width: 100%;
  padding: 0 18px;
  font-size: 1rem;
  transition: all 0.2s ease;
  outline: none;
}
.form-group-v2-input:focus {
  background: #ffffff;
  border-color: #E8A020;
  box-shadow: 0 0 0 4px rgba(232, 160, 32, 0.15);
}

.form-group-v2-eye {
  position: absolute;
  right: 16px;
  bottom: 16px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
  transition: color 0.2s;
}
.form-group-v2-eye:hover {
  color: #475569;
}

.login-card-v2-back {
  font-size: 0.88rem;
  color: #64748b;
  background: none;
  border: none;
  cursor: pointer;
  font-weight: 700;
  padding: 0;
  transition: color 0.2s;
}
.login-card-v2-back:hover {
  color: #334155;
}

.login-card-v2-forgot {
  font-size: 0.88rem;
  color: #d97706;
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s;
}
.login-card-v2-forgot:hover {
  color: #b45309;
}

.login-card-v2-btn {
  background: linear-gradient(135deg, #eab308 0%, #d97706 100%);
  height: 56px;
  border-radius: 14px;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  width: 100%;
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}
.login-card-v2-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.45);
}

.login-card-v2-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 24px 0;
}
.login-card-v2-divider::before, .login-card-v2-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #e2e8f0;
}
.login-card-v2-divider span {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 700;
}

.login-card-v2-google {
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  height: 54px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #334155;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: all 0.2s;
}
.login-card-v2-google:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

@media (max-width: 768px) {
  .login-header {
    padding: 20px 24px;
  }
  .login-header-nav {
    display: none;
  }
  .login-card-v2 {
    padding: 32px 24px;
  }
  .login-bg-section {
    overflow-y: auto !important;
    overflow-x: hidden !important;
    min-height: 100vh;
    min-height: -webkit-fill-available;
    padding-bottom: 40px !important;
    justify-content: flex-start !important;
  }
}

/* ─── Student Achievements Showcase Gallery ─── */
.showcase-gallery-title {
  color: #ffffff !important; /* Make sure the title renders beautifully in white on dark background */
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.showcase-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
  perspective: 1500px;
}

.showcase-gallery-item {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 28px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  transform-style: preserve-3d;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: visible;
}

.showcase-gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 28px;
  background: linear-gradient(105deg, transparent 20%, rgba(255, 255, 255, 0.1) 25%, transparent 30%);
  background-size: 200% auto;
  background-position: 200% center;
  opacity: 0;
  z-index: 10;
  pointer-events: none;
  transition: opacity 0.3s;
}

.showcase-gallery-item:hover {
  transform: translateY(-15px) translateZ(30px) rotateX(4deg);
  background: rgba(30, 41, 59, 0.85);
  box-shadow: 0 35px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(232, 160, 32, 0.15);
  border-color: rgba(232, 160, 32, 0.4);
}

.showcase-gallery-item:hover::before {
  opacity: 1;
  animation: shineSweep 1.2s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.showcase-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateZ(10px);
  border: 1px solid rgba(255,255,255,0.05);
  background: #0f172a;
}

.showcase-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-gallery-item:hover .showcase-img-wrap {
  transform: translateZ(45px) scale(1.06);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8), 0 0 20px rgba(232, 160, 32, 0.2);
  border-color: rgba(232, 160, 32, 0.5);
}

.showcase-gallery-item:hover .showcase-img-wrap img {
  transform: scale(1.1);
}

.showcase-info {
  margin-top: 24px;
  text-align: center;
  transform-style: preserve-3d;
  transform: translateZ(5px);
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-info h4 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 8px 0;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-gallery-item:hover .showcase-info h4 {
  transform: translateZ(35px);
  color: var(--amber-light);
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.showcase-info p {
  font-size: 0.9rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.5;
  transition: all 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.showcase-gallery-item:hover .showcase-info p {
  transform: translateZ(25px);
  color: #ffffff;
}

@media (max-width: 640px) {
  .showcase-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
  .showcase-gallery-item {
    padding: 12px;
  }
  .showcase-info {
    margin-top: 16px;
  }
  .showcase-info h4 {
    font-size: 1.1rem;
  }
  .showcase-info p {
    font-size: 0.8rem;
  }
}

/* ==========================================================================
   WORLD-CLASS ENHANCEMENT LAYER - ChessKidoo Landing Page v2.0
   ========================================================================== */

/* Animated Trust Bar Marquee */
.trust-bar { overflow: hidden; padding: 0; background: var(--ink); }
.trust-track {
  display: flex; gap: 48px; align-items: center;
  animation: trustMarquee 28s linear infinite;
  white-space: nowrap; width: max-content;
  padding: 22px 0;
}
.trust-track:hover { animation-play-state: paused; }
@keyframes trustMarquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: .85rem; font-weight: 700; color: rgba(255,255,255,.75);
  flex-shrink: 0; padding: 6px 18px;
  border: 1px solid rgba(232,160,32,.15); border-radius: 99px;
  background: rgba(232,160,32,.05); transition: all .25s ease;
}
.trust-item:hover { background: rgba(232,160,32,.12); color: #F5C842; }
.trust-divider { display: none; }

/* Hero Floating Chess Pieces */
.hero-floating-piece {
  position: absolute; pointer-events: none;
  font-size: clamp(2rem,5vw,5rem);
  opacity: .06; animation: floatPiece 6s ease-in-out infinite;
  user-select: none; filter: blur(0.5px);
}
.hero-floating-piece:nth-child(1) { top:12%; left:8%; font-size:4rem; animation-duration:7s; }
.hero-floating-piece:nth-child(2) { top:65%; left:5%; font-size:3rem; animation-delay:1.5s; animation-duration:8s; opacity:.04; }
.hero-floating-piece:nth-child(3) { top:25%; right:6%; font-size:5rem; animation-delay:3s; animation-duration:6.5s; }
.hero-floating-piece:nth-child(4) { bottom:20%; right:8%; font-size:3.5rem; animation-delay:.8s; animation-duration:9s; opacity:.05; }
@keyframes floatPiece {
  0%,100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-18px) rotate(4deg); }
  66% { transform: translateY(10px) rotate(-3deg); }
}

/* Hero badge pulse */
.hero-badge { animation: badgePulse 3s ease-in-out infinite; }
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(232,160,32,0); }
  50% { box-shadow: 0 0 20px 4px rgba(232,160,32,.15); }
}

/* Hero stat gold gradient */
.hero-stat-num {
  background: linear-gradient(135deg, #F5C842, #E8A020);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

/* World-Class Feature Cards */
.feat-card {
  background: linear-gradient(145deg, #ffffff, #fdf9f4);
  border: 1px solid rgba(232,160,32,.12); border-radius: 24px;
  padding: 36px 32px; position: relative; overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}
.feat-card::after {
  content: ''; position: absolute; top:0; left:0; right:0; height:3px;
  background: linear-gradient(90deg, #E8A020, #F5C842, #3D6B52);
  transform: scaleX(0); transform-origin: left;
  transition: transform .5s cubic-bezier(.23,1,.32,1);
  border-radius: 2px 2px 0 0;
}
.feat-card:hover,
.feat-card:active,
.feat-card:focus-within {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(232, 160, 32, 0.22), 0 0 24px rgba(245, 158, 11, 0.28);
  border-color: rgba(232, 160, 32, 0.65);
}
.feat-card:hover::after,
.feat-card:active::after { transform: scaleX(1); }
.feat-icon-wrap {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, rgba(232,160,32,.15), rgba(232,160,32,.05));
  border: 1px solid rgba(232,160,32,.2); border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.9rem; margin-bottom: 22px;
  transition: transform .4s cubic-bezier(.23,1,.32,1);
  box-shadow: 0 4px 16px rgba(232,160,32,.1);
}
.feat-card:hover .feat-icon-wrap { transform: scale(1.12) rotate(5deg); }
.feat-card h3 { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; margin-bottom: 12px; color: var(--ink); }
.feat-card p { font-size: .92rem; line-height: 1.65; color: rgba(26,18,9,.6); }

/* Premium Coach Cards */
.coach-card-premium {
  background: #fff; border-radius: 20px; overflow: hidden;
  border: 1px solid rgba(226,232,240,.8);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  transition: all .4s cubic-bezier(.23,1,.32,1); position: relative;
}
.coach-card-premium:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(0,0,0,.14); }
.coach-img-box { width: 100%; aspect-ratio: 4 / 3; overflow: hidden; background: #eef2f7; }
.coach-img-box img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; transition: transform .6s ease; }
/* Per-photo framing — passport/headshot photos need their own crop point */
.coach-img-box img[src*="ranjith"] { object-position: center 30%; background: linear-gradient(180deg,#eef2f7,#dfe6ee); }
.coach-card-premium:hover .coach-img-box img { transform: scale(1.06); }
.coach-card-body { padding: 22px 18px; text-align: center; }
.coach-card-body h5 { font-family: var(--font-display); font-weight: 800; font-size: 1.2rem; color: #0f172a; margin: 0 0 6px; }
.coach-card-body p { font-size: .88rem; color: #64748b; line-height: 1.55; margin: 0; }
.coach-level-badge {
  position: absolute; top: 14px; right: 14px; z-index: 10;
  padding: 4px 12px; border-radius: 99px;
  font-size: .68rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(0,0,0,.8); color: #fff;
  backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,.15);
}

/* Premium Reviews */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(320px,1fr)); gap: 24px; max-width:1400px; margin:0 auto; padding:0 32px; }
.review-card {
  background: #fff; border-radius: 20px; padding: 32px;
  border: 1px solid rgba(232,160,32,.1);
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
  transition: all .35s ease; position: relative;
}
.review-card::before {
  content: '"'; position: absolute; top:16px; left:24px;
  font-family: var(--font-display); font-size:5rem;
  color: var(--amber); opacity:.12; line-height:1; font-weight:900;
}
.review-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.1); border-color: rgba(232,160,32,.25); }
.review-stars { display: flex; gap:3px; color: var(--amber); font-size:1rem; margin-bottom:14px; }
.review-text { font-size:.95rem; line-height:1.7; color:rgba(26,18,9,.75); margin-bottom:20px; font-style:italic; }
.review-author { display: flex; align-items: center; gap:12px; }
.review-avatar {
  width:44px; height:44px; border-radius:50%;
  background: linear-gradient(135deg, var(--amber), #F5C842);
  display: flex; align-items: center; justify-content: center;
  font-weight:800; color:#fff; font-size:1rem; flex-shrink:0;
}
.review-name { font-weight:700; font-size:.9rem; color:var(--ink); }
.review-role { font-size:.76rem; color:rgba(26,18,9,.5); margin-top:2px; }

/* Enhanced CTA */
#cta { position:relative; overflow:hidden; }
#cta::before {
  content:''; position:absolute; inset:0;
  background: radial-gradient(ellipse 70% 60% at 50% 50%, rgba(232,160,32,.08) 0%, transparent 70%);
  pointer-events:none;
}

/* Scroll Progress shimmer */
#scrollProgress {
  background: linear-gradient(90deg, var(--amber), #F5C842, var(--amber));
  background-size: 200% 100%;
  animation: shimmerProgress 2s linear infinite;
}
@keyframes shimmerProgress {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* Better Reveal Animations */
.reveal { opacity:0; transform:translateY(32px) scale(.98); transition: all .75s cubic-bezier(.16,1,.3,1); }
.reveal.visible { opacity:1; transform:translateY(0) scale(1); }

/* Social Icons */
.social-icon-btn {
  width:40px; height:40px; border-radius:10px;
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08);
  display:flex; align-items:center; justify-content:center;
  color:rgba(255,255,255,.6); transition:all .25s ease; text-decoration:none;
}
.social-icon-btn:hover { background:var(--amber); color:var(--ink); border-color:var(--amber); transform:translateY(-2px); }

/* Btn Ripple */
.btn { position:relative; overflow:hidden; }

/* Header Glow */
.site-header.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,.3), 0 0 0 1px rgba(255,255,255,.05); }

/* FAQ Enhanced */
.faq-icon-arrow {
  width:32px; height:32px; border-radius:50%;
  background:rgba(232,160,32,.1);
  display:flex; align-items:center; justify-content:center;
  color:var(--amber); flex-shrink:0;
  transition: all .35s cubic-bezier(.23,1,.32,1);
}
.faq-item.active .faq-icon-arrow { transform:rotate(180deg); background:var(--amber); color:#fff; }

/* Level Card CTA bar */
.level-card-cta {
  display:flex; align-items:center; justify-content:space-between;
  margin-top:24px; padding:14px 20px;
  border-radius:12px; font-weight:700; font-size:.95rem;
  transition: all .25s ease;
}

/* Multi-Device Universal Auto-Size & UI/UX Optimization Layer */
@media (min-width: 1600px) {
  .header-inner, .reviews-grid, .hero-content-wrap, .section-padding {
    max-width: 1550px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}
@media (max-width: 1440px) and (min-width: 1025px) {
  .header-inner { padding: 16px 32px; }
}
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-btns { justify-content: center; }
  .reviews-grid, .feat-grid, .pricing-grid, .level-grid, .coach-grid, .achievements-grid, .showcase-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
  .price-card.gold-card { transform: none; }
}

/* Mobile */
@media (max-width:768px) {
  .reviews-grid { grid-template-columns:1fr; padding:0 16px; }
  .feat-grid { grid-template-columns:1fr; }
  .pricing-grid { grid-template-columns:1fr; }
  .price-card.gold-card { transform:none; }
  .level-grid, .coach-grid, .achievements-grid, .showcase-gallery-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3rem) !important;
    line-height: 1.08 !important;
  }
  .hero-sub {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    padding: 0 10px;
  }
  .section-head h2 {
    font-size: clamp(1.8rem, 6vw, 2.4rem) !important;
  }
  .section-padding {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
  }
  .btn {
    width: 100%;
    justify-content: center;
    padding: 14px 28px !important;
    min-height: 48px;
  }
  .hero-btns {
    flex-direction: column;
    width: 100%;
    padding: 0 20px;
  }
  .why-grid { grid-template-columns: 1fr !important; }
  .skills-grid { grid-template-columns: repeat(2, 1fr) !important; }
}

/* ── Why Choose Us ─────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
  perspective: 1500px;
}
.why-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 28px;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(13,27,42,0.03);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  position: relative;
  overflow: visible;
}
.why-item:hover {
  transform: translateY(-12px) translateZ(30px) rotateX(4deg);
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 30px 60px rgba(232,160,32,0.12), 0 15px 25px rgba(0,0,0,0.04);
  border-color: rgba(232,160,32,0.4);
}
.why-icon {
  flex-shrink: 0;
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(232,160,32,0.15), rgba(232,160,32,0.05));
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(232,160,32,0.1);
  transform: translateZ(15px);
}
.why-item:hover .why-icon {
  transform: translateZ(45px) scale(1.1) rotate(-5deg);
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  color: white;
  text-shadow: 0 4px 10px rgba(0,0,0,0.2);
  box-shadow: 0 15px 35px rgba(232,160,32,0.3);
}
.why-body {
  transform-style: preserve-3d;
  flex: 1;
}
.why-body h4 {
  font-family: var(--font-display);
  font-size: 1.1rem; font-weight: 800;
  color: var(--navy); margin-bottom: 8px;
  transform: translateZ(10px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-item:hover .why-body h4 {
  transform: translateZ(35px);
  color: var(--amber);
}
.why-body p { 
  font-size: .88rem; color: var(--muted); line-height: 1.6; margin: 0; 
  transform: translateZ(5px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.why-item:hover .why-body p {
  transform: translateZ(25px);
  color: rgba(26, 18, 9, 0.85);
}

/* ── Chess Journey Path ─────────────────────────────────────────── */
/* ═══ LEARNING JOURNEY — Reference-Inspired Sinusoidal Path ═══ */
.cj-reference-theme {
  position: relative;
  background: var(--cream, #fffdf8);
}
.journey-main-title {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 900;
  color: #1e293b;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 12px;
}

.learning-journey-container {
  position: relative;
  max-width: 1240px;
  margin: 40px auto 60px;
  padding: 20px 10px;
}

/* Wavy SVG connecting line */
.lj-wave-svg {
  position: absolute;
  top: 18px;
  left: 0;
  width: 100%;
  height: 150px;
  overflow: visible;
  pointer-events: none;
  z-index: 1;
}

.lj-wave-solid {
  fill: none;
  stroke: #2563eb;
  stroke-width: 3.5;
  stroke-linecap: round;
  filter: drop-shadow(0 2px 8px rgba(37, 99, 235, 0.35));
}

.lj-wave-dashed {
  fill: none;
  stroke: #94a3b8;
  stroke-width: 3;
  stroke-dasharray: 6 8;
  stroke-linecap: round;
  opacity: 0.75;
}

.lj-wave-spark {
  fill: none;
  stroke: #60a5fa;
  stroke-width: 5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 10px #3b82f6);
  stroke-dasharray: 14 86;
  stroke-dashoffset: 100;
  animation: ljSparkFlow 3s linear infinite;
}
@keyframes ljSparkFlow {
  0%   { stroke-dashoffset: 100; opacity: 0.2; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0.2; }
}

/* 4 Stations Grid */
.lj-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 2;
}

.lj-station {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.lj-badge-wrap {
  position: relative;
  margin-bottom: 26px;
  z-index: 3;
}

/* Node vertical wave offsets on desktop matching the curve */
@media (min-width: 901px) {
  .station-pawn .lj-badge-wrap { transform: translateY(30px); }
  .station-knight .lj-badge-wrap { transform: translateY(0px); }
  .station-rook .lj-badge-wrap { transform: translateY(22px); }
  .station-king .lj-badge-wrap { transform: translateY(8px); }
  
  .station-pawn .lj-content { margin-top: 30px; }
  .station-knight .lj-content { margin-top: 0px; }
  .station-rook .lj-content { margin-top: 22px; }
  .station-king .lj-content { margin-top: 8px; }
}

.lj-badge {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.lj-station:hover .lj-badge {
  transform: scale(1.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14), 0 0 0 4px #ffffff, 0 0 0 7px var(--lj-color);
}

.lj-piece-icon {
  width: 46px;
  height: 46px;
  transition: transform 0.35s ease, fill 0.5s ease;
}
.lj-station:hover .lj-piece-icon {
  transform: scale(1.12);
}

.lj-content {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lj-level-tag {
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--lj-color);
  margin-bottom: 8px;
  transition: all 0.5s ease;
}

.lj-piece-title {
  font-family: var(--font-display, 'Poppins', sans-serif);
  font-size: 1.85rem;
  font-weight: 900;
  color: #1e293b;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  transition: color 0.5s ease, text-shadow 0.5s ease;
}

.lj-piece-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #64748b;
  font-weight: 500;
  margin: 0 0 18px;
  max-width: 260px;
}

.lj-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 250px;
}
.lj-feature-list li {
  font-size: 0.8rem;
  color: #475569;
  font-weight: 600;
  background: #ffffff;
  padding: 6px 12px;
  border-radius: 12px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
}

.lj-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 20px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--lj-color);
  border: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}
.lj-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

/* ── Responsive styling for Tablet & Mobile ── */
@media (max-width: 900px) {
  .lj-wave-svg { display: none; }
  .lj-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 20px;
  }
  .lj-station { padding: 0; }
  .lj-piece-desc { max-width: 100%; }
}

@media (max-width: 600px) {
  .lj-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .lj-badge { width: 80px; height: 80px; }
  .lj-piece-icon { width: 40px; height: 40px; }
  .lj-piece-title { font-size: 1.6rem; }
}

:root[data-theme="dark"] .journey-main-title,
:root[data-theme="dark"] .lj-piece-title {
  color: #f8fafc;
}
:root[data-theme="dark"] .lj-piece-desc {
  color: #94a3b8;
}
:root[data-theme="dark"] .lj-badge {
  background: #1e293b;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}
:root[data-theme="dark"] .lj-feature-list li {
  background: #1e293b;
  border-color: rgba(255, 255, 255, 0.08);
  color: #cbd5e1;
}

@media (prefers-reduced-motion: reduce) {
  .lj-wave-spark { display: none; }
  .lj-station:hover .lj-badge,
  .lj-station:hover .lj-piece-icon,
  .lj-btn:hover { transform: none !important; }
}

/* ── Skills Section ─────────────────────────────────────────────── */
.skills-section { background: var(--cream); position: relative; overflow: hidden; perspective: 1200px; }
.skills-section::before {
  content: ''; position: absolute; width: 60vw; height: 60vw;
  border-radius: 50%; background: radial-gradient(circle, rgba(232,160,32,0.04) 0%, transparent 60%);
  top: -20vw; left: -20vw; pointer-events: none; z-index: 0;
}
.skills-section::after {
  content: ''; position: absolute; width: 50vw; height: 50vw;
  border-radius: 50%; background: radial-gradient(circle, rgba(13,27,42,0.03) 0%, transparent 60%);
  bottom: -20vw; right: -10vw; pointer-events: none; z-index: 0;
}
.skills-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
  z-index: 1;
}
.skill-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px 24px;
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.8);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  text-align: center;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  transform-style: preserve-3d;
  cursor: default;
}
.skill-card:hover { 
  transform: translateY(-12px) translateZ(25px) rotateX(4deg); 
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 25px 50px rgba(232,160,32,0.1), 0 10px 20px rgba(0,0,0,0.04);
  border-color: rgba(232,160,32,0.3);
}
.skill-icon {
  width: 80px; height: 80px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(232,160,32,0.15), rgba(232,160,32,0.05));
  display: flex; align-items: center; justify-content: center;
  font-size: 2.8rem;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(232,160,32,0.1);
  transform: translateZ(15px);
}
.skill-card:hover .skill-icon { 
  transform: translateZ(45px) scale(1.15) rotate(-5deg); 
  background: linear-gradient(135deg, var(--amber), var(--amber-light));
  color: white;
  text-shadow: 0 4px 10px rgba(0,0,0,0.2);
  box-shadow: 0 15px 35px rgba(232,160,32,0.3);
}
.skill-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.3;
  transform: translateZ(10px);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.skill-card:hover .skill-name {
  transform: translateZ(30px);
  color: var(--amber);
}

@media (max-width: 900px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .skills-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE FIX LAYER
   ════════════════════════════════════════════════════════════════ */

/* Demo / Book Free modal — less padding on small phones */
@media (max-width: 480px) {
  .modal-card { padding: 24px 20px; border-radius: 20px; }
  .modal-overlay { padding: 12px; align-items: flex-end; }
  .modal-overlay.active .modal-card { transform: scale(1) translateY(0); }
}

/* FAQ — smaller text on tiny screens */
@media (max-width: 360px) {
  .faq-question { font-size: 0.9rem; }
  .faq-trigger { padding: 14px 16px; gap: 12px; }
}

/* Players bar — reduce font on small phones to prevent overflow */
@media (max-width: 480px) {
  .pname { font-size: 11px; }
  .pelo { font-size: 9px; }
  .match-loc { font-size: 9px; }
  .players-bar { gap: 6px; }
}

/* Board controls — stack buttons on very small screens */
@media (max-width: 400px) {
  .board-controls { gap: 8px; flex-wrap: wrap; }
  .ctrl-group { flex-wrap: wrap; justify-content: center; }
  .check-level-btn { width: 100%; justify-content: center; }
}

/* Touch devices: disable 3D hover effects that cause visual jitter */
@media (hover: none) and (pointer: coarse) {
  .coach-grid > div:hover,
  .coach-grid > .reveal:hover {
    transform: none !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07) !important;
  }
  .why-item:hover {
    transform: none !important;
    box-shadow: 0 10px 30px rgba(13,27,42,0.03) !important;
  }
  .showcase-gallery-item:hover {
    transform: none !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.4) !important;
  }
  .feat-card:hover { transform: none !important; }
  .level-card:hover { transform: none !important; }
  .price-card:hover { transform: none !important; }
  .review-card:hover { transform: none !important; }
  .coach-card-premium:hover { transform: none !important; }
}

/* Floating action buttons — extra bottom offset for iOS safe area */
.floating-ui {
  bottom: calc(20px + env(safe-area-inset-bottom));
}

/* Hide scroll-to-top button on any non-landing page (portals/arena scroll internally) */
body:has(.page.active:not(#landing-page)) #scrollTopBtn {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Ensure portals bottom nav clears iOS home indicator */
@media (max-width: 600px) {
  .p-sidebar {
    padding-bottom: env(safe-area-inset-bottom);
  }
}

/* ════════════════════════════════════════════════════════════════
   IMAGE MOBILE OPTIMIZATIONS
   ════════════════════════════════════════════════════════════════ */

/* Coach image height — reduce on mobile so cards aren't too tall */
@media (max-width: 640px) {
  .coach-img-wrap { height: 220px; }
}
@media (max-width: 400px) {
  .coach-img-wrap { height: 180px; }
}

/* Showcase/achievement gallery — 2 columns on mobile, not 1 */
/* Overrides the !important single-column rule above for this specific grid */
@media (max-width: 768px) {
  .showcase-gallery-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 14px !important;
  }
  .showcase-gallery-item { border-radius: 18px; padding: 12px; }
  .showcase-info h4 { font-size: 1rem; }
  .showcase-info p { font-size: 0.78rem; }
}
@media (max-width: 360px) {
  /* On the tiniest screens, fall back to single column */
  .showcase-gallery-grid { grid-template-columns: 1fr !important; }
}

/* FIDE/ISO certificate images — reduce heavy border on mobile */
@media (max-width: 480px) {
  .cert-img { border-width: 6px !important; border-radius: 8px !important; }
}

/* Achievement card — reduce padding on small phones */
@media (max-width: 480px) {
  .achievement-card { padding: 20px 16px; }
  .achievement-icon { width: 60px; height: 60px; font-size: 1.6rem; }
  .achievement-card h3 { font-size: 1.2rem; }
}

/* Chess.com Style Board Theme Overrides */
.white-1e1d7 {
  background-color: #eeeed2 !important;
  color: #769656 !important;
}
.black-3c85d {
  background-color: #769656 !important;
  color: #eeeed2 !important;
}
.notation-322f9 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700 !important;
  font-size: 8px !important;
  opacity: 0.85;
  line-height: 1 !important;
  pointer-events: none;
}
@media (min-width: 768px) {
  .notation-322f9 { font-size: 10px !important; }
}
.white-1e1d7 .notation-322f9 {
  color: #769656 !important;
}
.black-3c85d .notation-322f9 {
  color: #eeeed2 !important;
}

/* ════════════════════════════════════════════════════════════════════
   Bilingual Support — wide showcase card (replaces the lonely single
   feat-card that sat below the 6-card features grid).
   ════════════════════════════════════════════════════════════════════ */
.bilingual-showcase {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr;
  align-items: center;
  gap: 24px;
  margin: 36px auto 0;
  max-width: 1100px;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(59,130,246,0.08) 0%, rgba(251,191,36,0.06) 50%, rgba(239,68,68,0.08) 100%);
  border: 1.5px solid rgba(251,191,36,0.22);
  border-radius: 24px;
  box-shadow: 0 16px 40px rgba(15,23,42,0.18);
  position: relative;
  overflow: hidden;
}
.bilingual-showcase::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 60%, rgba(15,23,42,0.04) 100%);
  pointer-events: none;
}

.bilingual-side {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 16px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bilingual-side:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15,23,42,0.18);
}
.bilingual-flag {
  width: 48px; height: 48px;
  flex-shrink: 0;
  filter: drop-shadow(0 3px 6px rgba(0,0,0,0.18));
}
.bilingual-flag svg { width: 100%; height: 100%; display: block; }

.bilingual-text h4 {
  margin: 0 0 4px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text, #f5f7fa);
}
.bilingual-text p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted, #94a3b8);
  font-style: italic;
  line-height: 1.45;
}
.bilingual-side-ta .bilingual-text h4 {
  font-family: 'Noto Sans Tamil', 'Poppins', sans-serif;
}

.bilingual-center {
  text-align: center;
  padding: 0 12px;
}
.bilingual-icon {
  width: 84px; height: 84px;
  margin: 0 auto 12px;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}
.bilingual-icon svg { width: 100%; height: 100%; display: block; }

.bilingual-heading h3 {
  margin: 0 0 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(90deg, #3b82f6 0%, #fbbf24 50%, #ef4444 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.bilingual-heading p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--muted, #94a3b8);
  line-height: 1.55;
}
.bilingual-heading strong { color: var(--text, #f5f7fa); }

/* Responsive — stack vertically below tablets */
@media (max-width: 900px) {
  .bilingual-showcase {
    grid-template-columns: 1fr;
    padding: 22px 18px;
    gap: 16px;
    max-width: 92%;
  }
  .bilingual-center { order: -1; }
  .bilingual-icon { width: 68px; height: 68px; }
  .bilingual-heading h3 { font-size: 1.25rem; }
  .bilingual-heading p { font-size: 0.86rem; }
}
@media (max-width: 500px) {
  .bilingual-showcase { padding: 18px 14px; }
  .bilingual-side { padding: 12px; gap: 10px; }
  .bilingual-flag { width: 42px; height: 42px; }
  .bilingual-text h4 { font-size: 0.88rem; }
  .bilingual-text p { font-size: 0.78rem; }
}

/* ─── Chessboard Square Color Overrides ─── */
.white-1e1d7 { background-color: #f0f1d5 !important; color: #4b6a2e !important; }
.black-3c85d { background-color: #4b6a2e !important; color: #f0f1d5 !important; }

/* Contact Section Styling from Mockup */
.contact-mockup-wrapper {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 380px;
}
.contact-mockup-item {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.05rem;
  color: #fff;
  text-decoration: none;
}
.contact-mockup-icon {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-mockup-icon.phone { background: transparent; font-size: 1.5rem; justify-content: flex-start; }
.contact-mockup-icon.email { background: #e2e8f0; color: #475569; border-radius: 2px; height: 24px; font-size: 1rem; }
.contact-mockup-icon.map { background: #0b3b9b; color: #f43f5e; border-radius: 0; }

.contact-mockup-text {
  background: transparent;
  padding: 4px 6px;
  border-radius: 2px;
  line-height: 1.5;
  display: inline-block;
}
.contact-mockup-text.highlight {
  background: #0b3b9b;
}

.contact-mockup-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 24px;
}
.cm-btn {
  width: 100%;
  padding: 14px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.cm-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}
.cm-btn-demo {
  background: #eab308;
  color: #fff;
  box-shadow: 0 0 20px rgba(234, 179, 8, 0.3);
}
.cm-btn-wa {
  background: #10b981;
  color: #fff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

/* ─── New Features & Branches CSS ─── */
.power-chess-section {
  background: #fff;
  color: #1f2937;
  padding: 80px 20px;
  text-align: center;
}
.power-chess-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 60px;
  color: #1f2937;
}
.power-chess-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}
.power-card {
  text-align: center;
  padding: 20px;
}
.power-icon {
  font-size: 4rem;
  margin-bottom: 24px;
}
.power-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1f2937;
}
.power-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #4b5563;
}
.power-card p strong {
  color: #1f2937;
}

.feature-cards-section {
  background: #f9fafb;
  padding: 80px 20px;
}
.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.feature-card {
  background: #fff;
  border-radius: 40px 0 40px 40px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}
.feature-card:hover {
  transform: translateY(-5px);
}
.feature-card-icon {
  font-size: 4rem;
  margin-bottom: 24px;
}
.feature-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #1f2937;
}
.feature-card p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #6b7280;
}

.footer-branches {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
}
.footer-branches h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: #fff;
}
.branches-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  font-size: 1.1rem;
  color: #e5e7eb;
}
.branches-list span {
  display: flex;
  align-items: center;
  gap: 24px;
}
.branches-list span:not(:last-child)::after {
  content: "";
  display: block;
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.2);
}

/* ── Cursor spotlight on cards (driven by gsap-effects.js) ──
   A soft radial highlight follows the pointer across the card. Purely
   compositor work: only opacity and the gradient position change. */
.ck-spotlight {
  position: relative;
  isolation: isolate;
}
.ck-spotlight::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  z-index: 1;
  opacity: var(--ck-spot, 0);
  transition: opacity 0.35s ease;
  background: radial-gradient(
    380px circle at var(--ck-mx, 50%) var(--ck-my, 50%),
    rgba(232, 160, 32, 0.14),
    transparent 62%
  );
}
@media (prefers-reduced-motion: reduce) {
  .ck-spotlight::after { display: none; }
}

/* Word-split headings must not clip their rise-in transform */
.section-head h2 span,
.section-head h3 span { will-change: transform, opacity; }
.section-head h2,
.section-head h3 { overflow: hidden; }

/* Footer "Global Reach" country chips */
.footer-country-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(232,160,32,0.08);
  border: 1px solid rgba(232,160,32,0.25);
  color: #e5e7eb;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.footer-country-chip:hover {
  background: rgba(232,160,32,0.18);
  transform: translateY(-1px);
}

/* ══════════════════════════════════════════════════════════════════
   PREMIUM FOOTER
   Layered gold-mesh background, glass panels, and an aurora top edge.
   ══════════════════════════════════════════════════════════════════ */
.ck-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(900px 380px at 12% 0%, rgba(232,160,32,0.10), transparent 62%),
    radial-gradient(760px 340px at 88% 18%, rgba(20,184,166,0.07), transparent 60%),
    linear-gradient(180deg, #0D0905 0%, #0a0704 100%);
  color: #fff;
  /* Top padding used to come from the conversion strip's translateY(-42px);
     that strip is gone, so the footer owns its own top spacing now. */
  padding: 72px 0 36px;
  border-top: 1px solid rgba(232,160,32,0.18);
}
/* Animated aurora hairline across the very top edge */
.ck-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--amber), #14b8a6, var(--amber), transparent);
  background-size: 200% 100%;
  animation: ckFooterAurora 8s linear infinite;
  opacity: 0.85;
}
@keyframes ckFooterAurora { to { background-position: 200% 0; } }
/* Faint chess-board texture wash so the panel never reads as flat black */
.ck-footer::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.5;
  background-image:
    linear-gradient(rgba(255,255,255,0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.022) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 60% at 50% 20%, #000 30%, transparent 100%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 20%, #000 30%, transparent 100%);
}
@media (prefers-reduced-motion: reduce) {
  .ck-footer::before { animation: none; }
}

/* ── Trust badge row ── */
.ck-trust-row {
  display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px;
}
.ck-trust-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px; border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.09);
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.4px;
  color: rgba(255,255,255,0.78); text-transform: uppercase;
}
.ck-trust-badge span:first-child { color: var(--amber); font-size: 1rem; }

/* ── Glass panel used by the centres / contact blocks ── */
.ck-glass {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(232,160,32,0.16);
  border-radius: 18px;
  padding: 26px 28px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.ck-glass:hover {
  border-color: rgba(232,160,32,0.38);
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(0,0,0,0.34);
}
.ck-glass-label {
  font-weight: 700; color: var(--amber); letter-spacing: 0.9px;
  font-size: 0.76rem; text-transform: uppercase; margin-bottom: 16px;
  display: flex; align-items: center; gap: 8px;
}

/* ── Footer link columns: animated underline on hover ── */
.footer-link-btn {
  position: relative;
  width: fit-content;
}
.footer-link-btn::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  height: 1px; width: 0;
  background: linear-gradient(90deg, var(--amber), transparent);
  transition: width 0.28s cubic-bezier(0.2,0.7,0.3,1);
}
.footer-link-btn:hover::after { width: 100%; }

/* ── Policy pills in the bottom bar ── */
.ck-policy-pill {
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(255,255,255,0.09);
  color: rgba(255,255,255,0.66);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.22s ease;
}
.ck-policy-pill:hover {
  color: #fff;
  border-color: var(--amber);
  background: rgba(232,160,32,0.12);
  transform: translateY(-2px);
}

/* ── Bottom bar ── */
.ck-footer-bottom {
  margin-top: 44px;
  border-top: 1px solid rgba(255,255,255,0.07);
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.44);
}
.ck-footer-bottom a { color: rgba(255,255,255,0.62); text-decoration: none; }
.ck-footer-bottom a:hover { color: var(--amber); }

@media (max-width: 768px) {
  .ck-glass { padding: 22px 20px; }
  .ck-footer-bottom { justify-content: center; text-align: center; }
}

/* Policies modal content (reuses .curriculum-modal shell) */
.policy-section {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(232,160,32,0.15);
  border-radius: 14px;
  padding: 28px 32px;
  margin-bottom: 24px;
  scroll-margin-top: 90px;
}
.policy-section h3 {
  color: var(--amber);
  font-size: 1.25rem;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.policy-section ul {
  margin: 0;
  padding-left: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #d1d5db;
  line-height: 1.7;
  font-size: 0.95rem;
}
.policy-section li::marker { color: var(--amber); }

.floating-wa-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 10px 20px rgba(37,211,102,0.3);
  z-index: 9999;
  transition: transform 0.3s ease;
  text-decoration: none;
}
.floating-wa-btn:hover {
  transform: scale(1.1);
  color: white;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .footer-links-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}
@media (max-width: 600px) {
  .footer-links-grid {
    grid-template-columns: 1fr !important;
  }
}

/* --- Premium Footer Typography --- */
.footer-col-title {
  font-family: var(--font-display);
  letter-spacing: 1px;
}
.footer-link-btn {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
  transition: color 0.3s ease, padding-left 0.3s ease;
}
.footer-link-btn:hover {
  color: var(--amber);
  padding-left: 8px;
}

/* --- Premium Curriculum Portal Modal --- */
.curriculum-modal {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(13, 9, 5, 0.95);
  z-index: 10000;
  overflow-y: auto;
  padding: 60px 20px;
  backdrop-filter: blur(15px);
}
.curriculum-modal.active {
  display: block;
  animation: fadeIn 0.4s ease;
}
.curriculum-container {
  max-width: 1200px;
  margin: 0 auto;
  background: rgba(26, 26, 46, 0.8);
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.05);
  padding: 50px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.8);
}
.curriculum-close {
  position: absolute;
  top: 25px; right: 25px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 44px; height: 44px;
  border-radius: 50%;
  font-size: 1.6rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}
.curriculum-close:hover {
  background: rgba(255,255,255,0.25);
  transform: rotate(90deg);
}
.curriculum-header {
  text-align: center;
  margin-bottom: 60px;
}
.curriculum-header h2 {
  font-family: var(--font-display);
  font-size: 3rem;
  color: #fff;
  margin-bottom: 16px;
  text-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}
.curriculum-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
}
.curr-section {
  margin-bottom: 80px;
}
.curr-banner {
  position: relative;
  width: 100%;
  height: 240px;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.1);
}
.curr-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.curr-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(13, 9, 5, 0.9) 0%, rgba(13, 9, 5, 0.2) 100%);
}
.curr-section-title {
  position: absolute;
  bottom: 30px;
  left: 40px;
  font-family: var(--font-display);
  font-size: 2.8rem;
  color: #fff;
  margin: 0;
  text-shadow: 0 4px 15px rgba(0,0,0,0.8);
}
.curr-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  padding: 0 10px;
}
.curr-card {
  position: relative;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 40px 30px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(10px);
}
.curr-card-glow {
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  opacity: 0.05;
  transition: opacity 0.4s ease;
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}
.curr-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  background: rgba(255,255,255,0.05);
}
.curr-card:hover .curr-card-glow {
  opacity: 0.15;
}
.curr-icon {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}
.curr-card h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.curr-card p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* ── Policies & Curriculum Modal Mobile Responsiveness ── */
@media (max-width: 768px) {
  .curriculum-modal {
    padding: 20px 10px !important;
  }
  .curriculum-container {
    padding: 28px 16px 20px !important;
    border-radius: 18px !important;
  }
  .curriculum-close {
    top: 12px !important;
    right: 12px !important;
    width: 38px !important;
    height: 38px !important;
    font-size: 1.4rem !important;
  }
  .curriculum-header {
    margin-bottom: 24px !important;
    padding-top: 14px !important;
  }
  .curriculum-header h2 {
    font-size: clamp(1.5rem, 5.5vw, 2rem) !important;
    margin-bottom: 8px !important;
  }
  .curriculum-header p {
    font-size: 0.9rem !important;
    line-height: 1.5 !important;
  }
  .policy-section {
    padding: 18px 14px !important;
    margin-bottom: 16px !important;
    border-radius: 12px !important;
  }
  .policy-section h3 {
    font-size: 1.05rem !important;
    margin-bottom: 10px !important;
    gap: 8px !important;
  }
  .policy-section ul {
    padding-left: 18px !important;
    gap: 8px !important;
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
  }
  .curr-banner {
    height: 160px !important;
    margin-bottom: 24px !important;
  }
  .curr-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }
  .curr-card {
    padding: 24px 18px !important;
  }
}

/* ── Mobile Certificate & Level Check Optimizations ── */
@media (max-width: 680px) {
  .cert-img {
    border-width: 6px !important;
    border-radius: 8px !important;
  }
  .ck-level-cards {
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }
  .ck-level-card-content {
    padding: 14px 14px !important;
  }
  .ck-level-name {
    font-size: 0.95rem !important;
  }
  .ck-level-desc {
    font-size: 0.8rem !important;
    line-height: 1.4 !important;
  }
  .level-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
}

@keyframes preloaderPulse { 0%, 100% { transform: scale(1); filter: brightness(1); } 50% { transform: scale(1.05); filter: brightness(1.2); } }

/* %% OPENING TRAINER %% */
.ot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.ot-card { background: rgba(0,0,0,0.3); border-radius: 12px; padding: 20px; cursor: pointer; transition: 0.3s; }
.ot-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.05); }
.ot-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.ot-emoji { font-size: 2rem; }
.ot-card-name { font-size: 1.1rem; font-weight: 700; color: #fff; }
.ot-card-eco { font-size: 0.8rem; color: var(--p-text-muted); }
.ot-card-desc { font-size: 0.85rem; color: rgba(255,255,255,0.7); margin-bottom: 16px; line-height: 1.4; }
.ot-mastery-bar-track { background: rgba(0,0,0,0.5); height: 6px; border-radius: 3px; overflow: hidden; margin-bottom: 6px; }
.ot-mastery-bar { height: 100%; border-radius: 3px; transition: width 0.5s; }
.ot-filter-bar { display: flex; gap: 10px; margin-bottom: 20px; }
.ot-filter-btn { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.1); color: #fff; padding: 6px 16px; border-radius: 20px; cursor: pointer; transition: 0.2s; }
.ot-filter-btn.active { background: var(--p-blue); border-color: var(--p-blue); }
.ot-overview { display: flex; gap: 20px; background: rgba(0,0,0,0.2); padding: 16px 24px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.05); }
.ot-ov-stat { text-align: center; }
.ot-ov-val { font-size: 1.5rem; font-weight: 800; color: #fff; }
.ot-ov-lbl { font-size: 0.75rem; color: var(--p-text-muted); text-transform: uppercase; letter-spacing: 0.5px; }

.ot-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.8); z-index: 10000; display: flex; align-items: center; justify-content: center; backdrop-filter: blur(4px); }
.ot-modal { background: #1a1512; border: 1px solid rgba(255,255,255,0.1); border-radius: 16px; width: 900px; max-width: 95vw; max-height: 90vh; display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,0.5); }
.ot-modal-header { padding: 16px 24px; border-bottom: 1px solid rgba(255,255,255,0.1); display: flex; justify-content: space-between; align-items: center; background: rgba(255,255,255,0.02); }
.ot-modal-body { display: flex; flex: 1; overflow: auto; padding: 24px; gap: 32px; }
.ot-drill-left { flex: 0 0 340px; }
.ot-drill-right { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.ot-drill-status { text-align: center; margin-top: 16px; font-weight: 700; font-size: 1.1rem; color: rgba(255,255,255,0.7); }
.ot-info-box { background: rgba(0,0,0,0.2); border-left: 3px solid var(--p-gold); padding: 16px; border-radius: 0 8px 8px 0; }
.ot-info-title { font-size: 0.85rem; font-weight: 700; color: var(--p-text-muted); text-transform: uppercase; margin-bottom: 8px; letter-spacing: 0.5px; }
.ot-info-desc { font-size: 0.95rem; line-height: 1.5; }
.ot-tips { background: rgba(20, 184, 166, 0.1); border: 1px solid rgba(20, 184, 166, 0.2); padding: 16px; border-radius: 8px; }
.ot-tip { font-size: 0.9rem; color: #ccfbf1; margin-bottom: 6px; }
.ot-move-progress { display: flex; flex-wrap: wrap; gap: 8px; }
.ot-move-pill { background: rgba(0,0,0,0.3); border: 1px solid rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 12px; font-family: monospace; font-size: 0.9rem; }
.ot-move-correct { background: rgba(20, 184, 166, 0.2); border-color: var(--p-teal); color: #fff; }
.ot-move-wrong { background: rgba(239, 68, 68, 0.2); border-color: var(--p-danger); color: #fff; }
.ot-result-card { background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.1); padding: 20px; border-radius: 12px; text-align: center; }

@media (max-width: 768px) {
  .ot-modal-body { flex-direction: column; }
  .ot-drill-left { flex: none; width: 100%; }
}

/* %% GAME TRACKER %% */
.gt-stats-banner { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 24px; }
.gt-stat { background: rgba(0,0,0,0.2); border: 1px solid rgba(255,255,255,0.05); border-radius: 8px; padding: 12px 20px; flex: 1; min-width: 100px; text-align: center; }
.gt-stat-val { font-size: 1.5rem; font-weight: 800; color: #fff; }
.gt-stat-lbl { font-size: 0.75rem; color: var(--p-text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }
.gt-form { background: rgba(0,0,0,0.2); border: 1px dashed rgba(255,255,255,0.1); border-radius: 12px; padding: 20px; }
.gt-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin-bottom: 16px; }
.gt-list-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; font-weight: 700; font-size: 1.1rem; }
.gt-game-card { display: flex; background: rgba(0,0,0,0.2); border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); margin-bottom: 12px; overflow: hidden; position: relative; transition: 0.2s; }
.gt-game-card:hover { background: rgba(255,255,255,0.02); }
.gt-game-color-strip { width: 6px; flex-shrink: 0; }
.gt-game-info { padding: 16px; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.gt-game-title { font-size: 1.05rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.gt-game-meta { display: flex; gap: 12px; align-items: center; }
.gt-game-notes { margin-top: 10px; font-size: 0.85rem; color: rgba(255,255,255,0.7); background: rgba(0,0,0,0.3); padding: 8px 12px; border-radius: 6px; }
.gt-game-result { padding: 16px 20px; border-left: 1px solid rgba(255,255,255,0.05); display: flex; flex-direction: column; align-items: center; justify-content: center; min-width: 100px; }
.gt-game-link { position: absolute; top: 16px; right: 16px; opacity: 0.5; font-size: 1.2rem; text-decoration: none; }
.gt-game-link:hover { opacity: 1; }
.gt-empty { text-align: center; padding: 40px; background: rgba(0,0,0,0.1); border-radius: 12px; color: var(--p-text-muted); }

/* ═══════════════════════════════════════════════════════════════════════════
   2026 WORLD-CLASS DESIGN OVERRIDES — TOURNAMENTS, CAREERS, NRI & MODALS
   ═══════════════════════════════════════════════════════════════════════════ */

/* Dark Section Global Overrides */
.ck-tournaments-section,
.ck-careers-section {
  position: relative !important;
  background: #090e1a !important;
  background: linear-gradient(180deg, #060a14 0%, #0c1322 50%, #060a14 100%) !important;
  color: #ffffff !important;
  padding: 100px 0 !important;
  overflow: hidden !important;
}

.ck-tournaments-section .section-head h2,
.ck-careers-section .section-head h2 {
  color: #ffffff !important;
  font-family: var(--font-display, 'Outfit', sans-serif) !important;
  font-weight: 800 !important;
}

.ck-tournaments-section .section-head .eyebrow,
.ck-careers-section .section-head .eyebrow {
  color: #fbbf24 !important;
  letter-spacing: 2px !important;
}

.ck-tournaments-section .section-head .lead,
.ck-careers-section .section-head .lead {
  color: #cbd5e1 !important;
  opacity: 1 !important;
}

/* ── Notice Board ── */
.ck-notice-board {
  background: rgba(15, 23, 42, 0.75) !important;
  border: 1px solid rgba(245, 158, 11, 0.3) !important;
  border-radius: 20px !important;
  padding: 28px !important;
  margin-bottom: 56px !important;
  backdrop-filter: blur(12px) !important;
  position: relative !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4) !important;
}
.ck-notice-board::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
}
.ck-notice-board-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.ck-notice-badge {
  font-size: 0.78rem; font-weight: 800; color: #fbbf24;
  letter-spacing: 0.8px; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px;
}
.ck-notice-badge::before {
  content: ''; width: 8px; height: 8px; background: #fbbf24;
  border-radius: 50%; animation: noticePulse 2s infinite;
}
@keyframes noticePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.ck-notice-date { font-size: 0.78rem; color: #94a3b8; font-weight: 600; }
.ck-notice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.ck-notice-card {
  display: flex; gap: 14px; background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 14px;
  padding: 18px; align-items: flex-start; transition: all 0.3s ease;
}
.ck-notice-card:hover {
  background: rgba(30, 41, 59, 0.8); border-color: rgba(245, 158, 11, 0.3);
  transform: translateY(-2px);
}
.ck-notice-icon {
  font-size: 1.5rem; flex-shrink: 0; width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(245, 158, 11, 0.12); border-radius: 12px;
}
.ck-notice-detail h5 { font-size: 0.95rem; color: #f8fafc; margin-bottom: 4px; font-weight: 700; }
.ck-notice-detail p { font-size: 0.82rem; color: #94a3b8; margin: 0; line-height: 1.45; }

/* ── Tournament Cards ── */
.ck-tournament-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.ck-t-card {
  background: linear-gradient(145deg, #131c2e 0%, #0d1524 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 24px !important;
  padding: 28px !important;
  display: flex; flex-direction: column;
  transition: all 0.35s ease !important;
  position: relative; overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3) !important;
}
.ck-t-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(245, 158, 11, 0.4) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 25px rgba(245, 158, 11, 0.15) !important;
}
.ck-t-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ck-t-badge {
  font-size: 0.72rem; font-weight: 800; padding: 5px 12px;
  border-radius: 20px; text-transform: uppercase; letter-spacing: 0.5px;
}
.fide-badge { background: rgba(245, 158, 11, 0.15); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.3); }
.offline-badge { background: rgba(59, 130, 246, 0.15); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.3); }
.weekly-badge { background: rgba(16, 185, 129, 0.15); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.3); }
.ck-t-status { font-size: 0.78rem; font-weight: 700; color: #10b981; display: flex; align-items: center; gap: 6px; }
.ck-t-title { font-size: 1.25rem; font-weight: 800; color: #ffffff !important; margin-bottom: 6px; }
.ck-t-sub { font-size: 0.85rem; color: #94a3b8 !important; margin-bottom: 20px; line-height: 1.45; }
.ck-t-details {
  background: rgba(15, 23, 42, 0.5); border-radius: 14px;
  padding: 16px; margin-bottom: 20px; display: flex; flex-direction: column; gap: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}
.ck-t-item { display: flex; flex-direction: column; gap: 2px; }
.ck-t-label { font-size: 0.68rem; color: #64748b; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }
.ck-t-val { font-size: 0.88rem; color: #e2e8f0; font-weight: 600; }
.ck-t-categories { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.ck-t-cat {
  font-size: 0.72rem; font-weight: 700; padding: 5px 12px; border-radius: 20px;
  display: inline-flex; align-items: center; gap: 4px;
}
.ck-cat-beginner { background: rgba(16, 185, 129, 0.12); color: #34d399; border: 1px solid rgba(16, 185, 129, 0.25); }
.ck-cat-intermediate { background: rgba(59, 130, 246, 0.12); color: #60a5fa; border: 1px solid rgba(59, 130, 246, 0.25); }
.ck-cat-advanced { background: rgba(245, 158, 11, 0.12); color: #fbbf24; border: 1px solid rgba(245, 158, 11, 0.25); }

/* ── Careers Grid & Job Cards ── */
.ck-careers-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px; margin-top: 48px;
}
.ck-job-card {
  background: linear-gradient(145deg, #131c2e 0%, #0d1524 100%) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 24px !important; padding: 28px !important;
  display: flex; flex-direction: column; transition: all 0.35s ease !important;
  box-shadow: 0 12px 30px rgba(0,0,0,0.3) !important;
}
.ck-job-card:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(245, 158, 11, 0.35) !important;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5) !important;
}
.ck-job-badge {
  font-size: 0.75rem; font-weight: 800; color: #fbbf24;
  background: rgba(245, 158, 11, 0.12); padding: 5px 12px; border-radius: 12px;
  display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px;
  width: max-content; border: 1px solid rgba(245, 158, 11, 0.25);
}
.ck-job-title { font-size: 1.2rem; font-weight: 800; color: #ffffff !important; margin-bottom: 10px; }
.ck-job-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.ck-job-meta span {
  font-size: 0.75rem; font-weight: 600; background: rgba(15, 23, 42, 0.6);
  padding: 4px 10px; border-radius: 8px; color: #94a3b8; border: 1px solid rgba(255, 255, 255, 0.05);
}
.ck-job-desc { font-size: 0.86rem; color: #cbd5e1 !important; line-height: 1.55; margin-bottom: 20px; flex: 1; }
.ck-job-footer {
  display: flex; flex-direction: column; gap: 10px; padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.ck-job-salary { font-size: 0.85rem; font-weight: 700; color: #34d399; }
.ck-job-btn { width: 100%; padding: 12px; border-radius: 12px; font-size: 0.9rem; font-weight: 700; cursor: pointer; }

/* ── NRI Pricing Box ── */
.ck-nri-pricing-box {
  background: linear-gradient(135deg, #0c1322 0%, #152035 50%, #0c1322 100%) !important;
  border: 2px solid rgba(251, 191, 36, 0.4) !important;
  border-radius: 28px !important; padding: 40px !important;
  margin-top: 48px !important; color: #ffffff !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
  position: relative; overflow: hidden;
}
.ck-nri-pricing-box::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, #fbbf24, #f59e0b, #fbbf24);
}
.ck-nri-badge {
  font-size: 0.82rem; font-weight: 800; color: #fbbf24;
  background: rgba(251, 191, 36, 0.12); border: 1px solid rgba(251, 191, 36, 0.3);
  padding: 6px 16px; border-radius: 20px; display: inline-flex; align-items: center;
  gap: 8px; margin-bottom: 20px; letter-spacing: 0.5px;
}
.ck-nri-content { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; }
.ck-nri-info { flex: 1 1 480px; }
.ck-nri-info h4 { font-size: 1.25rem; font-weight: 800; color: #f8fafc; margin-bottom: 10px; }
.ck-nri-info p { font-size: 0.9rem; color: #cbd5e1; line-height: 1.6; margin-bottom: 20px; }
.ck-nri-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.ck-nri-col {
  display: flex; gap: 12px; background: rgba(15, 23, 42, 0.6);
  padding: 16px; border-radius: 16px; border: 1px solid rgba(255, 255, 255, 0.06);
}
.ck-nri-icon { font-size: 1.4rem; flex-shrink: 0; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: rgba(245, 158, 11, 0.1); border-radius: 12px; }
.ck-nri-col strong { display: block; font-size: 0.85rem; color: #f1f5f9; margin-bottom: 4px; font-weight: 700; }
.ck-nri-col p { font-size: 0.78rem; color: #94a3b8; margin: 0; line-height: 1.45; }
.ck-nri-action {
  background: rgba(15, 23, 42, 0.7); border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 20px; padding: 28px; text-align: center; flex: 0 0 240px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
}
.ck-nri-price-tag { font-size: 1.5rem; font-weight: 800; color: #fbbf24; }
.ck-nri-price-sub { font-size: 0.78rem; color: #94a3b8; margin-bottom: 16px; }
.ck-nri-btn { width: 100%; padding: 12px 18px; font-size: 0.9rem; border-radius: 12px; font-weight: 700; }


/* Learning Journey Scroll Line & Milestone Node Highlights */
.lj-wave-solid {
  fill: none;
  stroke-width: 4.5;
  stroke-linecap: round;
  filter: drop-shadow(0 4px 12px rgba(59, 130, 246, 0.5));
}

.lj-station.lj-reached .lj-badge {
  background: var(--lj-color) !important;
  box-shadow: 0 0 30px var(--lj-color), 0 0 12px var(--lj-color), inset 0 0 15px rgba(255,255,255,0.25) !important;
  transform: scale(1.15) !important;
  border-color: var(--lj-color) !important;
}

.lj-station.lj-reached .lj-piece-icon path {
  fill: #ffffff !important;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.25));
}

.lj-station.lj-reached .lj-level-tag {
  background: rgba(255,255,255,0.2) !important;
  color: inherit !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(4px);
}

.lj-station.lj-reached .lj-piece-title {
  color: inherit !important;
  text-shadow: none !important;
}

.lj-badge {
  transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.5s ease;
}
