/* assets/css/style.css */
/* Sistem Desain PJOK Motion: Lively, Vibrant & Clean White Sports-Tech Aesthetic */

:root {
  /* Dominan Warna Putih & Latar Belakang Cerah */
  --bg-main: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-subtle: #f1f5f9;
  --bg-card-hover: #ffffff;

  --border-color: #e2e8f0;
  --border-subtle: #cbd5e1;
  --border-glow: rgba(37, 99, 235, 0.3);
  --border-cyan: rgba(6, 182, 212, 0.35);

  /* Palet Warna Hidup & Berenergi (Sports-Tech) */
  --primary: #2563eb;
  --primary-light: #3b82f6;
  --primary-dark: #1d4ed8;
  --accent-cyan: #06b6d4;
  --accent-cyan-dark: #0891b2;
  --accent-emerald: #10b981;
  --accent-emerald-dark: #059669;
  --accent-amber: #f59e0b;
  --accent-rose: #f43f5e;
  --accent-purple: #8b5cf6;

  /* Tipografi Berkontras Tinggi & Terbaca Jelas */
  --text-main: #0f172a;
  --text-heading: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Big Shoulders Display', 'Outfit', sans-serif;
  --font-sport: 'Big Shoulders Display', 'Outfit', sans-serif;
  --font-mono: 'JetBrains Mono', 'Space Grotesk', monospace;
}

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

html,
body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  position: relative;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-weight: 400;
  letter-spacing: -0.01em;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Crucial: Prevent any direct flex-child of body from expanding beyond viewport */
body>* {
  min-width: 0 !important;
  max-width: 100% !important;
  width: 100%;
}

/* Global Responsive Protection for Mobile */
img,
video,
canvas,
svg {
  max-width: 100%;
}

.max-w-7xl,
.max-w-4xl,
.max-w-5xl,
.max-w-6xl,
.max-w-3xl {
  width: 100%;
  box-sizing: border-box;
}

/* Accessible Keyboard Focus Indicator (WCAG AA / R-32) */
:focus-visible {
  outline: 2px solid var(--primary) !important;
  outline-offset: 2px !important;
}


/* ==========================================================================
   CLEAN MODERN SPORTS TYPOGRAPHY (Plus Jakarta Sans, Natural Casing, Clean Spacing)
   ========================================================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: -0.02em;
  line-height: 1.25;
  text-transform: none;
}

.sport-display {
  font-family: var(--font-sans);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: none;
}

h1 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
}

h2 {
  font-size: 1.75rem;
  font-weight: 750;
  line-height: 1.25;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.3;
}

h4 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
}

h5 {
  font-size: 1rem;
  font-weight: 650;
}

h6 {
  font-size: 0.9rem;
  font-weight: 650;
}

.sport-mono,
code,
.font-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "zero" 1;
}

/* Site Top Header & Navigation Links (Spacious & Clean) */
.site-nav-link {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.55rem 1rem !important;
  font-size: 0.875rem !important;
  font-weight: 600 !important;
  color: #475569 !important;
  text-decoration: none !important;
  border-radius: 0.875rem !important;
  transition: all 0.15s ease-in-out !important;
  line-height: 1.25 !important;
}

.site-nav-link:hover {
  color: #2563eb !important;
  background-color: #f1f5f9 !important;
}

.site-nav-link.active {
  color: #2563eb !important;
  background-color: #eff6ff !important;
  font-weight: 700 !important;
}

.sport-kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

/* Hallmark Ft8 · Marquee Scroll (Athletic Ticker Tape) */
.sport-marquee-wrap {
  overflow: hidden;
  white-space: nowrap;
  background: #0f172a;
  color: #f8fafc;
  padding: 0.6rem 0;
  border-radius: 12px;
  font-family: var(--font-sport);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.sport-marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: sportMarquee 25s linear infinite;
}

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

@keyframes sportMarquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .sport-marquee-track {
    animation: none;
  }
}

.sport-marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1.5rem;
}

.sport-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #06b6d4;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--accent-cyan-dark);
}

/* ==========================================================================
   KARTU PUTIH ELEGAN (CARD-GLASS PUTIH)
   ========================================================================== */
.card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.card-glass:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06);
}

/* Card Cover Image */
.card-cover-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  background: #f1f5f9;
}

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

.card-glass:hover .card-cover-img,
.sport-card-inner:hover .card-cover-img {
  transform: scale(1.05);
}

.card-cover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.15) 0%, rgba(15, 23, 42, 0.55) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.75rem;
  pointer-events: none;
}

.card-cover-overlay>* {
  pointer-events: auto;
}

/* ==========================================================================
   NAVBAR PUTIH CERAH & MODERN
   ========================================================================== */
.navbar-custom {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.05);
  padding: 0.75rem 1.4rem;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.nav-link {
  color: #475569 !important;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.5rem 0.95rem !important;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary) !important;
  background: rgba(37, 99, 235, 0.08);
}

/* ==========================================================================
   TOMBOL VIBRANT & CERAH
   ========================================================================== */
.btn-primary-gradient {
  background: var(--primary);
  color: #ffffff !important;
  border: 1px solid var(--primary);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border-radius: 12px;
  padding: 0.6rem 1.3rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn-primary-gradient:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.08);
  color: #ffffff !important;
}

.btn-primary-gradient:active,
.btn-outline-glow:active {
  transform: scale(0.98);
}

.btn-outline-glow {
  background: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: 0.01em;
  border-radius: 12px;
  padding: 0.6rem 1.3rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
}

.btn-outline-glow:hover {
  border-color: var(--primary);
  background: #eff6ff;
  color: var(--primary);
}

/* ==========================================================================
   HALLMARK SPORT SCOREBOARD METRICS & TELEMETRY
   ========================================================================== */
.stat-card,
.stat-card-modern {
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.stat-card:hover,
.stat-card-modern:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 28px -4px rgba(37, 99, 235, 0.12);
}

.stat-card::after,
.stat-card-modern::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent-cyan) 100%);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.stat-card:hover::after,
.stat-card-modern:hover::after {
  opacity: 1;
}

.stat-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.stat-icon.bg-primary,
.stat-icon.text-primary {
  background-color: #eff6ff !important;
  color: #2563eb !important;
  border: 1px solid #bfdbfe !important;
}

.stat-icon.bg-info,
.stat-icon.text-info {
  background-color: #ecfeff !important;
  color: #0891b2 !important;
  border: 1px solid #a5f3fc !important;
}

.stat-icon.bg-success,
.stat-icon.text-success {
  background-color: #ecfdf5 !important;
  color: #059669 !important;
  border: 1px solid #a7f3d0 !important;
}

.stat-icon.bg-warning,
.stat-icon.text-warning {
  background-color: #fffbeb !important;
  color: #d97706 !important;
  border: 1px solid #fde68a !important;
}

.stat-value {
  font-family: var(--font-sport);
  font-size: 2.45rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0.01em;
  color: #0f172a;
  font-variant-numeric: tabular-nums;
  margin-bottom: 0.2rem;
}

.badge-count {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
  color: #0f172a;
  margin-left: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.btn-primary-gradient .badge-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.step-number-glow {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sport);
  font-size: 1.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  margin-bottom: 1.1rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.12);
  line-height: 1;
}

/* ==========================================================================
   BADGE WARNA HIDUP & SEGAR
   ========================================================================== */
.badge-pill-custom {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.badge-blue {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}

.badge-green {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.badge-amber {
  background: #fffbeb;
  color: #b45309;
  border: 1px solid #fde68a;
}

.badge-purple {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}

.badge-cyan {
  background: #ecfeff;
  color: #0e7490;
  border: 1px solid #a5f3fc;
}

.badge-glow-cyan {
  background: #f0fdfa;
  border: 1px solid #99f6e4;
  color: #0f766e;
}

.badge-glow-purple {
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
  color: #6d28d9;
}

/* Stable Status Indicators (No perpetual pulse / MOTION 1) */
.pulse-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #059669;
}

.pulse-dot-cyan {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #0284c7;
}

/* ==========================================================================
   HERO SECTION VIBRANT & DOMINAN PUTIH
   ========================================================================== */
.hero-title {
  font-family: var(--font-sport);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.03;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: #0f172a;
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.35rem;
    line-height: 1.06;
  }
}

.text-gradient-main {
  color: #1d4ed8;
  font-weight: 800;
}

.text-gradient-cyan {
  color: #0284c7;
  font-weight: 800;
}

.text-gradient-purple {
  color: #6d28d9;
  font-weight: 800;
}

/* Demo Access Card (Cerah & Bersih) */
.demo-access-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  border: 1px solid #bfdbfe;
  box-shadow: 0 12px 32px rgba(37, 99, 235, 0.08);
  border-radius: 18px;
}

.demo-btn-guru {
  background: linear-gradient(135deg, #eff6ff 0%, #e0f2fe 100%);
  border: 1px solid #93c5fd;
  color: #1e40af;
  font-weight: 700;
  transition: all 0.25s ease;
}

.demo-btn-guru:hover {
  background: linear-gradient(135deg, #2563eb 0%, #0284c7 100%);
  border-color: #2563eb;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.demo-btn-siswa {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
  border: 1px solid #6ee7b7;
  color: #065f46;
  font-weight: 700;
  transition: all 0.25s ease;
}

.demo-btn-siswa:hover {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  border-color: #059669;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.25);
}

/* Hero AI Vision Frame */
.hero-vision-card {
  position: relative;
  background: #ffffff;
  border: 2px solid #e0f2fe;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(37, 99, 235, 0.12), 0 4px 15px rgba(6, 182, 212, 0.08);
}

.hero-vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #2563eb;
  z-index: 20;
}

.hud-scanline {
  display: none;
}

/* SVG AI Pose Overlay */
.pose-svg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 15;
}

.joint-point {
  fill: #0284c7;
  stroke: #ffffff;
  stroke-width: 1.5;
}

.joint-point-active {
  fill: #059669;
  stroke: #ffffff;
  stroke-width: 2.5;
}

.joint-line {
  stroke: rgba(2, 132, 199, 0.7);
  stroke-width: 2;
}

/* Floating HUD Chips (Frosted White Glass) */
.floating-hud-chip {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(226, 232, 240, 0.9);
  border-radius: 12px;
  padding: 0.5rem 0.85rem;
  color: #0f172a;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  transition: transform 0.25s ease;
}

.floating-hud-chip:hover {
  transform: translateY(-2px);
  border-color: var(--primary-light);
}

/* ==========================================================================
   STAT CARDS (PUTIH BERSIH & ICON CERAH)
   ========================================================================== */
.stat-card-modern {
  position: relative;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
  overflow: hidden;
}

.stat-card-modern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3.5px;
  background: linear-gradient(90deg, #2563eb, #06b6d4);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.stat-card-modern:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.12);
}

.stat-card-modern:hover::before {
  opacity: 1;
}

.stat-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
}

/* ==========================================================================
   ALUR KERJA (STEPPER)
   ========================================================================== */
.step-number-glow {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
  border: 1px solid #bfdbfe;
  color: #1d4ed8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.15);
  margin-bottom: 1.1rem;
}

/* ==========================================================================
   FILTER CABANG OLAHRAGA & PENCARIAN
   ========================================================================== */
.filter-btn {
  border-radius: 30px !important;
  font-weight: 700 !important;
  font-size: 0.84rem !important;
  padding: 0.45rem 1rem !important;
  transition: all 0.2s ease !important;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #334155;
}

.filter-btn .badge-count {
  background: #f1f5f9;
  color: #0f172a;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
}

.filter-btn.active {
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%) !important;
  color: #ffffff !important;
  border-color: #2563eb !important;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.28) !important;
}

.filter-btn.active .badge-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* ==========================================================================
   KARTU GERAKAN (SPORT ITEM CARD) PUTIH CERAH
   ========================================================================== */
.sport-card-inner {
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06);
  overflow: hidden;
  transition: all 0.3s ease;
}

.sport-card-inner:hover {
  transform: translateY(-6px);
  border-color: #93c5fd;
  box-shadow: 0 20px 40px -5px rgba(37, 99, 235, 0.14);
}

.sport-card-inner .card-cover-container {
  height: 185px;
  aspect-ratio: auto;
}

/* ==========================================================================
   SIMULATOR SUDUT INTERAKTIF (PLAYGROUND)
   ========================================================================== */
.playground-card {
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 60%, #f8fafc 100%);
  border: 2px solid #bae6fd;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(2, 132, 199, 0.08);
}

.angle-slider-track {
  accent-color: #0284c7;
  height: 8px;
  border-radius: 5px;
}

.gauge-circle-container {
  position: relative;
  width: 180px;
  height: 180px;
  margin: 0 auto;
}

.rubric-tolerance-box {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  border-radius: 14px;
  padding: 1rem;
}

/* ==========================================================================
   ACCORDION FAQ (BERSIH & MINIMALIS PUTIH)
   ========================================================================== */
.accordion-custom .accordion-item {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 16px !important;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  overflow: hidden;
}

.accordion-custom .accordion-button {
  background: #ffffff;
  color: #0f172a;
  font-weight: 700;
  font-size: 0.98rem;
  padding: 1.15rem 1.4rem;
  box-shadow: none;
}

.accordion-custom .accordion-button:not(.collapsed) {
  background: #eff6ff;
  color: #1d4ed8;
  border-bottom: 1px solid #dbeafe;
}

.accordion-custom .accordion-button::after {
  filter: none;
}

.accordion-custom .accordion-body {
  color: #475569;
  font-size: 0.9rem;
  line-height: 1.65;
  padding: 1.25rem 1.4rem;
  background: #ffffff;
}

/* ==========================================================================
   KARTU TPACK PEDAGOGIK
   ========================================================================== */
.tpack-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.8rem;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
  height: 100%;
}

.tpack-card:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: 0 20px 38px rgba(37, 99, 235, 0.1);
}

.tpack-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.2rem;
}

/* ==========================================================================
   MODAL RUBRIK PUTIH BERSIH
   ========================================================================== */
.modal-rubrik-content {
  background: #ffffff;
  border: 1px solid #bfdbfe;
  border-radius: 20px;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.2);
  color: #0f172a;
}

/* ==========================================================================
   FORM & TABEL
   ========================================================================== */
.form-control-custom,
.form-select-custom {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  color: #0f172a;
  border-radius: 12px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-control-custom:focus,
.form-select-custom:focus {
  background: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  color: #0f172a;
  outline: none;
}

.form-control-custom::placeholder {
  color: #94a3b8;
}

/* Tabel Custom Putih */
.table-custom {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 0.4rem;
}

.table-custom th {
  background: transparent;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.7rem 1rem;
  border: none;
}

.table-custom tr td {
  background: #ffffff;
  color: #0f172a;
  padding: 0.95rem 1rem;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  vertical-align: middle;
  font-size: 0.9rem;
}

.table-custom tr td:first-child {
  border-left: 1px solid var(--border-color);
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.table-custom tr td:last-child {
  border-right: 1px solid var(--border-color);
  border-top-right-radius: 12px;
  border-bottom-right-radius: 12px;
}

.table-custom tr:hover td {
  background: #f8fafc;
  border-color: #93c5fd;
}

/* ==========================================================================
   AI CAMERA / POSE DETECTION HUD (DI HALAMAN ASESMEN)
   ========================================================================== */
.camera-container {
  position: relative;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  aspect-ratio: 4 / 3;
  background: #000000;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid #ffffff;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.25);
}

.camera-feed {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scaleX(-1);
}

.pose-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scaleX(-1);
  pointer-events: none;
}

.hud-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 0.65rem 0.8rem;
  z-index: 10;
}

.hud-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 8px;
}

.hud-chip-pill {
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.32rem 0.8rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  white-space: nowrap;
}

.hud-chip-pill strong {
  font-family: var(--font-mono);
}

/* Hold countdown circular timer */
.hold-timer-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 15;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.timer-circle {
  width: 76px;
  height: 76px;
  position: relative;
}

.timer-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.timer-bg {
  fill: rgba(15, 23, 42, 0.65);
  stroke: rgba(255, 255, 255, 0.2);
  stroke-width: 6;
}

.timer-progress {
  fill: none;
  stroke: #10b981;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-dasharray: 188.4;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 0.2s linear;
}

.timer-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.75rem;
  font-weight: 900;
  color: #ffffff;
  font-family: var(--font-sport);
  line-height: 1;
}

/* Feedback banner placed cleanly outside camera */
.feedback-banner {
  border-radius: 14px;
  padding: 0.75rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  text-align: center;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: 100%;
}

.feedback-banner.success {
  border: 1.5px solid #10b981;
  color: #065f46;
  background: #ecfdf5;
}

.feedback-banner.warning {
  border: 1.5px solid #f59e0b;
  color: #92400e;
  background: #fffbeb;
}

.feedback-banner.danger {
  border: 1.5px solid #f43f5e;
  color: #9f1239;
  background: #fff1f2;
}

/* Accuracy Meter */
.accuracy-meter {
  background: #ffffff;
  border-radius: 12px;
  padding: 0.8rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
  margin-bottom: 0.6rem;
}

.accuracy-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

.accuracy-bar-bg {
  height: 8px;
  background: #f1f5f9;
  border-radius: 30px;
  overflow: hidden;
}

.accuracy-bar-fill {
  height: 100%;
  border-radius: 30px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

/* ==========================================================================
   SIDEBAR & TOPBAR GURU (PUTIH BERSIH)
   ========================================================================== */
.sidebar-guru {
  width: 260px;
  min-width: 260px;
  background: #ffffff !important;
  border-right: 1px solid var(--border-color);
  min-height: 100vh;
  z-index: 1040;
  box-shadow: 4px 0 20px rgba(15, 23, 42, 0.03);
}

.sidebar-link {
  display: flex;
  align-items: center;
  padding: 0.65rem 0.95rem;
  margin: 0.2rem 0.6rem;
  border-radius: 10px;
  color: #475569;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.sidebar-link:hover {
  color: var(--primary);
  background: #eff6ff;
  transform: translateX(4px);
}

.sidebar-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, #2563eb 0%, #06b6d4 100%);
  font-weight: 700;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
}

.guru-topbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1.6rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.guru-main-content {
  background: transparent;
  min-height: 100vh;
}

/* ==========================================================================
   PWA INSTALL BANNER (PUTIH CERAH)
   ========================================================================== */
.pwa-install-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: #ffffff;
  border: 2px solid #bae6fd;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.15);
  border-radius: 16px;
  padding: 0.85rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  max-width: 92%;
  width: 500px;
}

@media (max-width: 768px) {
  .camera-container {
    border-radius: 14px;
  }

  .stat-value {
    font-size: 1.6rem;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

/* ==========================================================================
   HERO HEADER BACKGROUND BANNER
   ========================================================================== */
.hero-bg-banner {
  position: relative;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  border-radius: 24px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.06);
  overflow: hidden;
}

.hero-bg-overlay {
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.88) 48%, rgba(255, 255, 255, 0.35) 100%);
  backdrop-filter: blur(1px);
  width: 100%;
  min-height: 460px;
  display: flex;
  align-items: center;
}

@media (max-width: 991px) {
  .hero-bg-overlay {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 100%);
    min-height: auto;
  }
}

/* ==========================================================================
   WHITE-THEME CONTEXTUAL HARMONIZERS (GURU, SISWA & AUTH)
   ========================================================================== */
.card-glass .text-white:not(.btn):not(.badge):not(.badge-pill-custom):not(.card-cover-overlay *),
.card-glass h1.text-white,
.card-glass h2.text-white,
.card-glass h3.text-white,
.card-glass h4.text-white,
.card-glass h5.text-white,
.card-glass h6.text-white,
.table-custom .text-white,
.table-custom .text-light,
.modal-content .text-white,
.modal-content h1,
.modal-content h2,
.modal-content h3,
.modal-content h4,
.modal-content h5,
.modal-content h6,
.modal-content label.text-light,
.card-glass label.text-light,
.card-glass strong.text-light,
.table-dark {
  color: #0f172a !important;
}

/* Modal Content Putih */
.modal-content {
  background-color: #ffffff !important;
  color: #0f172a !important;
  border: 1px solid #cbd5e1 !important;
  box-shadow: 0 25px 60px rgba(15, 23, 42, 0.18) !important;
  border-radius: 20px !important;
}

.modal-header,
.modal-footer {
  border-color: #e2e8f0 !important;
}

/* Neutralisasi bg-dark pada panel/kartu putih */
.card-glass .bg-dark:not(.card-cover-overlay *):not(.badge),
.modal-content .bg-dark,
.bg-dark.bg-opacity-50,
.bg-dark.bg-opacity-60,
.bg-dark.bg-opacity-75,
.bg-dark.bg-opacity-80,
.bg-dark.bg-opacity-85 {
  background-color: #f8fafc !important;
  color: #0f172a !important;
}

.badge.bg-dark:not(.card-cover-overlay *) {
  background-color: #f1f5f9 !important;
  color: #1e293b !important;
  border: 1px solid #cbd5e1 !important;
}

/* Border netral halus */
.border-secondary,
.border-secondary.border-opacity-20,
.border-secondary.border-opacity-25,
.border-secondary.border-opacity-30 {
  border-color: #e2e8f0 !important;
}

/* Tombol close modal */
.btn-close-white {
  filter: none !important;
}

/* ==========================================================================
   SITE FOOTER (SPORT-TECH ELEGANT WHITE THEME)
   ========================================================================== */
.site-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  color: #334155;
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.02);
}

.site-footer-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0f172a;
  margin-bottom: 1rem;
}

.site-footer-links {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
}

.site-footer-links li {
  margin-bottom: 0.55rem;
}

.site-footer-link {
  color: #475569;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.18s ease;
}

.site-footer-link:hover {
  color: var(--primary);
  transform: translateX(4px);
}

.site-footer-link i {
  font-size: 0.85rem;
  color: #94a3b8;
  transition: color 0.18s ease;
}

.site-footer-link:hover i {
  color: var(--primary);
}

.site-footer-badge {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: #334155;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* ==========================================================================
   FLOATING AI COACH WIDGET (AGEN AI PELATIH VIRTUAL PJOK)
/* ==========================================================================
   FLOATING AI COACH WIDGET (AGEN AI PELATIH VIRTUAL PJOK)
   ========================================================================== */
.ai-coach-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(3px);
  z-index: 1055;
  animation: aiFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes aiFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


/* ==========================================================================
   SISWA EXPERIENCE & MOBILE ENHANCEMENTS (PJOK-MOTION)
   ========================================================================== */

/* Siswa Mobile Bottom Navigation Bar */
.siswa-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  body.has-siswa-nav {
    padding-bottom: 74px !important;
  }

  .siswa-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid #e2e8f0;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08);
    z-index: 1030;
    align-items: center;
    justify-content: space-around;
    padding: 0 0.5rem;
  }

  .siswa-bottom-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #64748b;
    font-size: 0.68rem;
    font-weight: 600;
    padding: 6px 10px;
    border-radius: 12px;
    transition: all 0.2s ease;
    flex: 1;
    max-width: 80px;
    position: relative;
  }

  .siswa-bottom-item i {
    font-size: 1.25rem;
    margin-bottom: 2px;
    transition: transform 0.2s ease;
  }

  .siswa-bottom-item:hover,
  .siswa-bottom-item.active {
    color: #2563eb;
  }

  .siswa-bottom-item.active i {
    transform: translateY(-2px);
    color: #2563eb;
  }

  .siswa-bottom-item.active::after {
    content: '';
    position: absolute;
    top: 2px;
    width: 18px;
    height: 3px;
    background: #2563eb;
    border-radius: 99px;
  }

}


/* Horizontal Scrollable Category Filter */
.siswa-cat-scroll {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0.25rem 0 0.5rem 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.siswa-cat-scroll::-webkit-scrollbar {
  display: none;
}

/* Fullscreen Camera Mode - Zero Obstruction */
.camera-fullscreen-mode {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  max-width: none !important;
  max-height: none !important;
  border-radius: 0 !important;
  border: none !important;
  z-index: 99999 !important;
  margin: 0 !important;
  background: #000 !important;
}

.camera-fullscreen-mode canvas {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@media (min-width: 768px) {
  .camera-fullscreen-mode canvas {
    object-fit: contain !important;
  }
}

.siswa-cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.siswa-cat-btn:hover {
  background: #f8fafc;
  color: #1e293b;
  border-color: #cbd5e1;
}

.siswa-cat-btn.active {
  background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.28);
}

.siswa-cat-count {
  font-size: 0.7rem;
  padding: 0.1rem 0.45rem;
  border-radius: 99px;
  background: rgba(0, 0, 0, 0.08);
  font-weight: 700;
}

.siswa-cat-btn.active .siswa-cat-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

/* Student Friendly Guide Steps Card */
.step-guide-card {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 1rem 1.25rem;
  transition: all 0.2s ease;
}

.step-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #0284c7;
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25);
}

/* Joint Tag Pill */
.joint-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  font-weight: 600;
}

/* High Contrast Angle Chips for Rubrik */
.angle-spec-card {
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  padding: 0.85rem 1rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.angle-spec-card:hover {
  transform: translateY(-2px);
  border-color: #93c5fd;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.08);
}

.angle-degree-badge {
  font-size: 1.15rem;
  font-weight: 800;
  color: #2563eb;
  letter-spacing: -0.02em;
}

/* Interactive Image & Video Tab in Panduan */
.panduan-tab-nav {
  display: flex;
  gap: 0.4rem;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.panduan-tab-btn {
  flex: 1;
  text-align: center;
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  background: transparent;
  color: #64748b;
  cursor: pointer;
  transition: all 0.18s ease;
}

.panduan-tab-btn.active {
  background: #ffffff;
  color: #1e293b;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

/* ==========================================================================
   PENATAAN LETAK TOMBOL BERJARAK & RESPONSIF HP (PJOK-MOTION)
   ========================================================================== */

/* Hero CTA Button Layout - Desktop & Mobile */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 1.25rem;
  margin-bottom: 0.5rem;
}

.hero-cta-btn {
  padding: 0.85rem 1.65rem !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em;
  border-radius: 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  min-height: 50px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.18);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer;
}

.hero-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
}

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

.hero-cta-secondary {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.04);
}

/* Category Filter Buttons Spacing & Touch Scroll on Mobile */
.sport-filter-scroll {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.sport-filter-scroll .filter-btn {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 1.05rem !important;
  font-size: 0.84rem !important;
  border-radius: 999px !important;
  min-height: 38px;
}

/* Gerakan Card Buttons Spacing */
.card-actions-group {
  display: flex;
  gap: 12px;
  align-items: center;
  width: 100%;
  margin-top: 0.75rem;
}

.card-actions-group .btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.6rem 0.9rem !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  min-height: 42px;
  transition: all 0.2s ease;
}

.card-actions-group .btn:active {
  transform: scale(0.97);
}

/* Top Navbar Auth Buttons */
.navbar-auth-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.navbar-auth-group .btn {
  padding: 0.55rem 1.15rem !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  border-radius: 12px !important;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-height: 40px;
}

/* ==========================================================================
   OPTIMASI TAMPILAN HP (SMARTPHONE / MOBILE SCREEN <= 768px & <= 576px)
   ========================================================================== */
@media (max-width: 768px) {

  /* Hero Banner & Overlay Padding */
  .hero-bg-banner {
    border-radius: 20px;
    margin-bottom: 2rem !important;
  }

  .hero-bg-overlay {
    padding: 1.75rem 1.25rem !important;
    min-height: auto;
  }

  .hero-title {
    font-size: 2.1rem !important;
    line-height: 1.08 !important;
    margin-bottom: 0.85rem !important;
  }

  .hero-bg-overlay .lead {
    font-size: 0.88rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.5rem !important;
  }

  /* Hero CTA Buttons on Mobile: Rapi & Saling Berjarak Vertikal */
  .hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 0.5rem;
  }

  .hero-cta-btn {
    width: 100% !important;
    padding: 0.85rem 1.25rem !important;
    font-size: 0.94rem !important;
    border-radius: 14px !important;
    justify-content: center !important;
  }

  /* Filter Kategori Olahraga: Horizontal Smooth Scrolling di HP */
  .sport-filter-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    padding: 4px 2px 8px 2px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 8px;
  }

  .sport-filter-scroll::-webkit-scrollbar {
    display: none;
  }

  .sport-filter-scroll .filter-btn {
    flex-shrink: 0;
    padding: 0.45rem 0.95rem !important;
    font-size: 0.82rem !important;
  }

  /* Navbar Auth Buttons di HP saat Menu Terbuka */
  .navbar-auth-group {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
  }

  .navbar-auth-group .btn {
    width: 100% !important;
    justify-content: center !important;
    padding: 0.7rem 1.2rem !important;
    font-size: 0.92rem !important;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 1.85rem !important;
    line-height: 1.1 !important;
  }

  .card-actions-group {
    gap: 8px;
  }

  .card-actions-group .btn {
    font-size: 0.8rem !important;
    padding: 0.55rem 0.65rem !important;
  }
}

/* ==========================================================================
   ALUR KERJA TERPADU & ROLE SHOWCASE CARDS (PJOK-MOTION)
   ========================================================================== */

/* Step flow cards */
.flow-step-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 1.6rem 1.35rem;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.22s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.22s ease;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.flow-step-card:hover {
  transform: translateY(-4px);
  border-color: #93c5fd;
  box-shadow: 0 16px 32px rgba(37, 99, 235, 0.1);
}

.flow-chip-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.22rem 0.55rem;
  border-radius: 6px;
  background: #f1f5f9;
  color: #475569;
  margin-right: 0.3rem;
  margin-top: 0.35rem;
  border: 1px solid #e2e8f0;
}

/* Role Showcase Cards */
.role-showcase-card {
  background: #ffffff;
  border-radius: 22px;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 30px -5px rgba(15, 23, 42, 0.06);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.role-showcase-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.12);
}

.role-card-admin {
  border-top: 5px solid #7c3aed;
}

.role-card-guru {
  border-top: 5px solid #2563eb;
}

.role-card-siswa {
  border-top: 5px solid #059669;
}

.role-header-banner {
  padding: 1.6rem 1.6rem 1.35rem 1.6rem;
  border-bottom: 1px solid #f1f5f9;
}

.role-card-admin .role-header-banner {
  background: linear-gradient(135deg, #faf5ff 0%, #f5f3ff 100%);
}

.role-card-guru .role-header-banner {
  background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.role-card-siswa .role-header-banner {
  background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.role-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.role-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.role-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: #334155;
}

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

.role-feature-item i {
  font-size: 1.15rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.role-action-btn {
  border-radius: 12px !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  padding: 0.7rem 1.25rem !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  min-height: 44px;
  transition: all 0.2s ease;
}

@media (max-width: 768px) {
  .flow-step-card {
    border-radius: 16px;
    padding: 1.25rem 1.15rem;
  }

  .role-showcase-card {
    border-radius: 18px;
  }

  .role-header-banner {
    padding: 1.25rem 1.25rem 1rem 1.25rem;
  }

  .role-feature-item {
    font-size: 0.84rem;
    padding: 0.75rem 0;
  }
}

/* Tombol Expand / Sembunyikan Gerakan */
.btn-toggle-expand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 2.25rem;
  background: #ffffff;
  color: #2563eb;
  border: 2px solid rgba(37, 99, 235, 0.25);
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  text-decoration: none;
}

.btn-toggle-expand:hover {
  background: linear-gradient(135deg, #2563eb, #0284c7);
  color: #ffffff !important;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -3px rgba(37, 99, 235, 0.35);
}

.btn-toggle-expand:hover i {
  color: #ffffff !important;
}

.btn-toggle-expand:active {
  transform: translateY(0);
}

@media (max-width: 576px) {
  .btn-toggle-expand {
    width: 100%;
    padding: 0.75rem 1.5rem;
    font-size: 0.88rem;
  }
}