/* ==========================================================
   STYLE.CSS - MEDIA PEMBELAJARAN INTERAKTIF PLSV & PtLSV
   Jenjang: SMK Kelas X (Fase E - Kurikulum Merdeka)
   Penyusun: Irfan Septiana, S.Pd. - SMKN 1 Mundu Cirebon
   ========================================================== */

/* --- CSS VARIABLES & THEME TOKENS --- */
:root {
  --primary: #0284c7;         /* Ocean Blue */
  --primary-hover: #0369a1;
  --primary-glow: rgba(2, 132, 199, 0.25);
  --secondary: #0f172a;       /* Deep Navy */
  --accent-cyan: #06b6d4;     /* Marine Cyan */
  --accent-gold: #f59e0b;     /* Maritime Gold */
  --accent-green: #10b981;    /* Maritime Green / Pass */
  --accent-red: #ef4444;      /* Alert Red */
  
  --bg-main: #070f1e;         /* Deep Maritime Night */
  --bg-surface: #0f1f38;      /* Card Surface */
  --bg-surface-elevated: #162a4a;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-active: rgba(6, 182, 212, 0.4);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --sidebar-w: 300px;
  --header-h: 70px;
  --footer-h: 60px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.4), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 20px rgba(6, 182, 212, 0.25);
}

/* Light Mode Overrides */
body.light-theme {
  --bg-main: #f1f5f9;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #e2e8f0;
  --border-color: rgba(0, 0, 0, 0.08);
  --border-active: rgba(2, 132, 199, 0.4);
  --text-main: #0f172a;
  --text-muted: #475569;
  --text-dim: #64748b;
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
}

/* --- BASE & RESETS --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  height: 100%;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-main);
  color: var(--text-main);
  overflow: hidden; /* App shell viewport */
  -webkit-font-smoothing: antialiased;
}

/* --- STORYLINE 360 MAIN PLAYER SHELL --- */
.player-wrapper {
  display: flex;
  flex-direction: column;
  width: 100vw;
  height: 100vh;
  position: relative;
  background: radial-gradient(circle at 80% 20%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 90%, rgba(2, 132, 199, 0.08) 0%, transparent 40%),
              var(--bg-main);
}

/* --- TOP PLAYER HEADER --- */
.player-header {
  height: var(--header-h);
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 50;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.course-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.75rem;
}

.badge-tag {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #fff;
  padding: 0.15rem 0.6rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.68rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.school-tag {
  color: var(--accent-cyan);
  font-weight: 600;
  font-size: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.course-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Progress Tracker */
.progress-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.35rem;
  min-width: 140px;
}

.progress-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.progress-track {
  width: 100%;
  height: 6px;
  background-color: var(--bg-main);
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid var(--border-color);
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--accent-cyan));
  border-radius: 999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Header Utilities */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-icon {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 0.95rem;
}

.btn-icon:hover {
  background-color: var(--primary);
  color: #fff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.btn-icon.active {
  color: var(--accent-cyan);
  border-color: var(--border-active);
}

/* --- PLAYER BODY & SIDEBAR --- */
.player-body {
  display: flex;
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Collapsible Sidebar */
.player-sidebar {
  width: var(--sidebar-w);
  background-color: var(--bg-surface);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), width var(--transition-normal);
  z-index: 40;
  overflow-y: auto;
}

.player-sidebar.collapsed {
  transform: translateX(-100%);
  position: absolute;
  height: 100%;
}

.sidebar-header {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--border-color);
}

.teacher-profile {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.header-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.teacher-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(2, 132, 199, 0.3);
  background: #ffffff;
  flex-shrink: 0;
}

.teacher-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.teacher-details {
  display: flex;
  flex-direction: column;
}

.teacher-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
}

.teacher-role {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.teacher-badge {
  font-size: 0.68rem;
  color: var(--accent-green);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-top: 0.2rem;
}

.sidebar-nav {
  flex: 1;
  padding: 1rem 0;
  overflow-y: auto;
}

.nav-section-title {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 0.5rem 1.25rem;
  text-transform: uppercase;
}

.nav-menu {
  list-style: none;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
  color: var(--text-muted);
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-main);
}

.nav-item.active {
  background: linear-gradient(90deg, rgba(6, 182, 212, 0.12), transparent);
  border-left-color: var(--accent-cyan);
  color: var(--text-main);
}

.nav-item.completed .nav-status {
  color: var(--accent-green);
}

.nav-status {
  font-size: 0.9rem;
  color: var(--text-dim);
}

.nav-item-content {
  display: flex;
  flex-direction: column;
}

.nav-slide-num {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--accent-cyan);
}

.nav-title {
  font-size: 0.82rem;
  font-weight: 600;
}

.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid var(--border-color);
  background: rgba(0, 0, 0, 0.15);
}

.school-seal-mini {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-muted);
  font-size: 0.72rem;
}

.school-seal-mini i {
  font-size: 1.4rem;
  color: var(--primary);
}

.sidebar-school-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
  flex-shrink: 0;
}

.school-seal-mini strong {
  display: block;
  color: var(--text-main);
  font-size: 0.75rem;
}

/* --- MAIN PLAYER STAGE / VIEWPORT --- */
.player-stage {
  flex: 1;
  overflow-y: auto;
  position: relative;
  padding: 1.5rem 2rem;
  scroll-behavior: smooth;
}

/* Slide Pane Visibility & Transitions */
.slide-pane {
  display: none;
  animation: fadeInSlide 0.35s ease forwards;
  max-width: 1200px;
  margin: 0 auto;
}

.slide-pane.active {
  display: block;
}

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

.content-header {
  margin-bottom: 1.5rem;
}

.module-number {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.slide-heading {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.slide-lead {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  line-height: 1.5;
}

/* --- HERO COVER CARD (SLIDE 1) --- */
.hero-card {
  background: linear-gradient(135deg, rgba(15, 31, 56, 0.9), rgba(7, 15, 30, 0.95));
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-top-badge {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.chip {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.chip-gold {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.chip-blue {
  background: rgba(2, 132, 199, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(2, 132, 199, 0.3);
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.25;
  background: linear-gradient(135deg, #ffffff 30%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.75rem;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 880px;
}

.hero-identity-box {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.identity-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
}

.id-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  border: 1px solid var(--border-active);
}

.id-avatar-box {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid var(--border-active);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.id-avatar-box.logo-box {
  padding: 4px;
}

.hero-teacher-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero-school-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.id-text label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--accent-cyan);
  font-weight: 700;
}

.id-text strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.id-text small {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.hero-action-bar {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

/* --- GLASS BOX & COMMON CONTAINERS --- */
.glass-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  position: relative;
}

.box-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.grid-2-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 1.25rem;
}

.grid-3-col {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 0.75rem;
}

/* Checklist List */
.checklist-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checklist-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.checklist-list li i {
  color: var(--accent-green);
  margin-top: 0.15rem;
}

.bullet-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
}

.bullet-list li {
  line-height: 1.5;
  color: var(--text-muted);
}

/* --- BUTTONS & INTERACTIVE ELEMENTS --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), #0274b3);
  color: #fff;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #0375b0, #026094);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-active);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-color);
  color: var(--text-main);
}

.btn-outline:hover, .btn-outline.active {
  background: rgba(6, 182, 212, 0.1);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-danger {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.3);
  color: var(--accent-red);
}

.btn-danger:hover {
  background: var(--accent-red);
  color: #fff;
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  filter: brightness(1.05);
}

.btn-sim {
  background: rgba(6, 182, 212, 0.12);
  border-color: rgba(6, 182, 212, 0.3);
  color: var(--accent-cyan);
}

.btn-sim:hover {
  background: var(--accent-cyan);
  color: #041226;
}

.btn-lg {
  padding: 0.8rem 1.6rem;
  font-size: 0.95rem;
  border-radius: var(--radius-md);
}

.btn-sm {
  padding: 0.4rem 0.85rem;
  font-size: 0.78rem;
}

.btn-xs {
  padding: 0.25rem 0.55rem;
  font-size: 0.72rem;
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: inline-flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

/* Form Controls */
.form-input {
  width: 100%;
  padding: 0.55rem 0.85rem;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.85rem;
  outline: none;
  transition: border var(--transition-fast);
}

.form-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

.form-input-sm {
  padding: 0.35rem 0.6rem;
  font-size: 0.8rem;
}

.slider {
  width: 100%;
  accent-color: var(--accent-cyan);
  cursor: pointer;
}

/* Accordion Component */
.accordion-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}

.accordion-title {
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.35rem;
}

.accordion-body {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.badge-example {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

/* Flashcard Mini Game */
.interactive-card {
  border-color: var(--border-active);
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.12);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(245, 158, 11, 0.25);
}

.quiz-flashcard {
  background: linear-gradient(135deg, rgba(7, 15, 30, 0.9), rgba(15, 31, 56, 0.8));
  border: 2px dashed var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  margin: 1rem 0;
}

.flashcard-formula {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
  margin-bottom: 0.5rem;
}

.flashcard-hint {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.flashcard-options {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
}

.flashcard-score {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.82rem;
}

.feedback-box {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-top: 0.75rem;
  line-height: 1.4;
}

.feedback-box.correct {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-green);
  color: #6ee7b7;
}

.feedback-box.wrong {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--accent-red);
  color: #fca5a5;
}

/* --- SIMULATOR: BALANCE SCALE (SLIDE 3) --- */
.grid-layout-sim {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.25rem;
}

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

.simulator-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-card);
}

.sim-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.sim-title {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.balance-status {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-green);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.balance-status.unbalanced {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
}

.status-indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
}

.canvas-container {
  width: 100%;
  background: radial-gradient(circle at center, rgba(15, 31, 56, 0.8), rgba(7, 15, 30, 0.95));
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.canvas-container canvas {
  width: 100%;
  height: auto;
  display: block;
}

.balance-equation-display {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.75rem;
  padding: 0.6rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.eq-symbol {
  color: var(--accent-gold);
}

.sim-control-panel {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border-color);
}

.control-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.control-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
}

.rule-card {
  background: rgba(255, 255, 255, 0.02);
  border-left: 3px solid var(--accent-cyan);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.rule-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.step-guide-box {
  background: rgba(245, 158, 11, 0.1);
  border: 1px dashed rgba(245, 158, 11, 0.3);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  color: #fbbf24;
}

/* --- TIMELINE STEPS (SLIDE 4) --- */
.timeline-step {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.timeline-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
  color: #fff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.timeline-content strong {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.15rem;
}

.solver-input-bar {
  display: flex;
  gap: 0.5rem;
}

.solver-result-container {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  max-height: 250px;
  overflow-y: auto;
}

.step-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
}

.step-row:last-child {
  border-bottom: none;
}

.step-badge {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.7rem;
  white-space: nowrap;
}

/* --- SYMBOLS GRID & NEGATIVE EXPERIMENT (SLIDE 5) --- */
.symbols-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.symbol-card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: var(--radius-sm);
}

.symbol-char {
  font-size: 1.6rem;
  font-weight: 800;
  font-family: 'JetBrains Mono', monospace;
  width: 40px;
  text-align: center;
}

.symbol-desc strong {
  display: block;
  font-size: 0.82rem;
}

.symbol-desc small {
  color: var(--text-muted);
  font-size: 0.72rem;
}

.experiment-box {
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
  text-align: center;
}

.exp-math {
  font-size: 1.4rem;
  font-weight: 800;
  margin: 0.5rem 0;
}

.golden-rule-box {
  display: flex;
  gap: 0.85rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 1rem;
  border-radius: var(--radius-md);
  align-items: center;
}

.rule-icon {
  font-size: 1.8rem;
  color: var(--accent-red);
}

.rule-text {
  font-size: 0.82rem;
  line-height: 1.5;
}

/* --- NUMBER LINE CONTROLS (SLIDE 6) --- */
.number-line-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  background: rgba(0, 0, 0, 0.2);
  padding: 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.control-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-dim);
  margin-bottom: 0.4rem;
}

.sim-ineq-badge {
  font-size: 1rem;
  font-weight: 800;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border-active);
}

.test-probe-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.probe-header {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.probe-input-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}

.probe-result {
  margin-top: 0.75rem;
}

.badge-status {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
}

.status-success {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid var(--accent-green);
}

.status-danger {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid var(--accent-red);
}

/* --- VOKASI TAB & MARITIME LAB (SLIDE 7) --- */
.vokasi-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  overflow-x: auto;
  padding-bottom: 0.5rem;
}

.tab-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.tab-btn:hover {
  background: var(--bg-surface-elevated);
  color: var(--text-main);
}

.tab-btn.active {
  background: linear-gradient(135deg, var(--primary), #0369a1);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.vokasi-panel {
  display: none;
}

.vokasi-panel.active {
  display: block;
  animation: fadeInSlide 0.3s ease;
}

.vokasi-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  border: 1px solid var(--border-active);
}

.formula-model-box {
  background: rgba(0, 0, 0, 0.25);
  border-left: 3px solid var(--accent-gold);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-top: 0.85rem;
  font-size: 0.85rem;
}

.vokasi-slider-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
}

.vokasi-slider-box label {
  display: block;
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
}

/* Vokasi Visual Graphics */
.vokasi-visual-display {
  height: 160px;
  background: radial-gradient(circle at bottom, #0369a1 0%, #07152e 100%);
  border-radius: var(--radius-sm);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.ship-water-level {
  width: 100%;
  height: 60px;
  background: rgba(6, 182, 212, 0.4);
  position: relative;
  backdrop-filter: blur(4px);
}

.ship-icon-wrapper {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.ship-graphic {
  font-size: 3.5rem;
  color: #fff;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
}

.vokasi-calc-status {
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  margin-top: 0.75rem;
}

.status-safe {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid var(--accent-green);
  color: #6ee7b7;
}

.status-overload {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--accent-red);
  color: #fca5a5;
}

.vokasi-math-solution {
  text-align: left;
  background: rgba(0, 0, 0, 0.2);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  line-height: 1.6;
}

/* Thermometer Cold Storage */
.temp-thermometer-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 1.5rem 0;
}

.thermometer-gauge {
  width: 24px;
  height: 130px;
  background: var(--bg-main);
  border-radius: 999px;
  border: 2px solid var(--border-color);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.thermometer-mercury {
  width: 100%;
  background: linear-gradient(to top, #0284c7, #06b6d4);
  border-radius: 999px;
  transition: height 0.4s ease;
}

.temp-val-huge {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

/* Piston Graphic */
.piston-visualizer {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.piston-ring {
  width: 100px;
  height: 100px;
  border: 8px solid #64748b;
  border-radius: 50%;
  position: relative;
}

.piston-gap {
  position: absolute;
  top: -8px;
  right: 42px;
  width: 16px;
  height: 8px;
  background-color: var(--bg-surface);
  transition: width 0.3s ease;
}

/* --- GAMIFIED QUIZ (SLIDE 8) --- */
.quiz-hud {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.hud-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
}

.quiz-question-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-card);
}

.question-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.q-points-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.question-text {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.quiz-options-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}

.quiz-option-btn {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  text-align: left;
  color: var(--text-main);
  font-size: 0.92rem;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.quiz-option-btn:hover:not(:disabled) {
  background: rgba(6, 182, 212, 0.08);
  border-color: var(--accent-cyan);
}

.quiz-option-btn.selected-correct {
  background: rgba(16, 185, 129, 0.15) !important;
  border-color: var(--accent-green) !important;
  color: #6ee7b7 !important;
}

.quiz-option-btn.selected-wrong {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: var(--accent-red) !important;
  color: #fca5a5 !important;
}

.option-key {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--bg-surface-elevated);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.quiz-feedback-box {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-active);
  line-height: 1.6;
}

.feedback-heading {
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 0.4rem;
}

/* Quiz Summary Card */
.quiz-summary-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-card), var(--shadow-glow);
  max-width: 680px;
  margin: 0 auto;
}

.summary-trophy-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #fff;
  font-size: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
}

.summary-title {
  font-size: 1.8rem;
  font-weight: 800;
}

.summary-subtitle {
  color: var(--text-muted);
  margin-top: 0.35rem;
  font-size: 0.95rem;
}

.summary-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.stat-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 1rem;
  border-radius: var(--radius-sm);
}

.stat-box label {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.stat-box strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0.2rem 0;
}

/* --- E-SERTIFIKAT (SLIDE 9) --- */
.cert-controls-bar {
  display: flex;
  gap: 1rem;
  align-items: flex-end;
  background: var(--bg-surface);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.cert-input-wrap {
  flex: 1;
  min-width: 240px;
}

.cert-input-wrap label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-cyan);
  margin-bottom: 0.35rem;
}

/* Certificate Layout Landscape A4 Container */
.certificate-wrapper {
  background: #ffffff;
  color: #0c1b33;
  padding: 2.2rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
  border-radius: var(--radius-sm);
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  font-family: 'Inter', sans-serif;
}

.cert-outer-border {
  border: 6px double #0c2340;
  padding: 1.5rem;
  position: relative;
  background: #fffdfa;
}

.cert-inner-border {
  border: 1.5px solid #d4af37; /* Gold accent */
  padding: 2rem;
  position: relative;
}

.cert-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #0c2340;
  padding-bottom: 1rem;
}

.emblem-circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  border: 2px solid #0c2340;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #0c2340;
  background: #f1f5f9;
}

.cert-header-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.15));
}

.cert-photo-frame {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid #0c2340;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-header-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.cert-title-block {
  text-align: center;
  flex: 1;
}

.cert-school-name {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #0c2340;
}

.cert-school-sub {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #64748b;
  margin-top: 0.15rem;
}

.cert-type-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #b45309;
  letter-spacing: 0.12em;
  margin-top: 0.5rem;
}

.cert-doc-no {
  font-size: 0.72rem;
  font-family: 'JetBrains Mono', monospace;
  color: #64748b;
  margin-top: 0.2rem;
}

.cert-body {
  text-align: center;
  padding: 1.75rem 0;
}

.cert-intro {
  font-size: 0.95rem;
  color: #475569;
  font-style: italic;
}

.cert-student-name {
  font-family: 'Cinzel', serif;
  font-size: 2.1rem;
  font-weight: 800;
  color: #0c2340;
  text-decoration: underline;
  text-decoration-color: #d4af37;
  text-underline-offset: 6px;
  margin: 0.6rem 0 0.25rem;
  letter-spacing: 0.04em;
}

.cert-student-class {
  font-size: 0.92rem;
  font-weight: 600;
  color: #0284c7;
}

.cert-statement {
  font-size: 0.92rem;
  color: #334155;
  line-height: 1.6;
  margin-top: 1rem;
}

.cert-subject-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0c2340;
  margin: 0.35rem 0;
}

.cert-score-pill {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0c2340;
}

.cert-predicate-pill {
  color: #059669;
}

.cert-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 1.5rem;
}

.cert-sign-block {
  text-align: center;
  min-width: 250px;
  position: relative;
}

.cert-date-text {
  display: block;
  font-size: 0.82rem;
  color: #475569;
}

.cert-sign-role {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #0c2340;
  margin-top: 0.2rem;
}

.signature-space {
  height: 80px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.digital-sign-font {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #002244;
  transform: rotate(-3deg);
  z-index: 2;
}

.official-stamp {
  position: absolute;
  right: 25px;
  top: 5px;
  width: 75px;
  height: 75px;
  border: 2px dashed #0284c7;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(-12deg);
  opacity: 0.8;
  color: #0284c7;
  z-index: 1;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.4);
}

.stamp-inner-logo {
  position: absolute;
  width: 50px;
  height: 50px;
  object-fit: contain;
  opacity: 0.35;
  z-index: 0;
}

.stamp-inner {
  text-align: center;
  font-size: 0.55rem;
  font-weight: 800;
  line-height: 1.1;
}

.stamp-icon {
  font-size: 0.9rem;
  margin: 0.1rem 0;
}

.cert-sign-name {
  display: block;
  font-size: 1rem;
  color: #0c2340;
  text-decoration: underline;
}

.cert-sign-nip {
  display: block;
  font-size: 0.72rem;
  color: #64748b;
  margin-top: 0.15rem;
}

/* --- BOTTOM CONTROLLER BAR --- */
.player-footer {
  height: var(--footer-h);
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  z-index: 50;
}

.footer-slide-counter {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent-cyan);
}

.footer-center {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-player {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.btn-player:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--border-active);
}

.btn-player:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.btn-player-primary {
  background: linear-gradient(135deg, var(--primary), #0274b3);
  color: #fff;
  border-color: var(--primary);
}

.btn-player-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #0375b0, #026094);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.author-credits {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* --- MODAL DIALOGS --- */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
}

.modal-backdrop.active {
  display: flex;
  animation: modalFade 0.25s ease;
}

@keyframes modalFade {
  from { opacity: 0; transform: scale(0.96); }
  to { opacity: 1; transform: scale(1); }
}

.modal-dialog {
  background: var(--bg-surface);
  border: 1px solid var(--border-active);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 600px;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.modal-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-title {
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.btn-close:hover {
  color: var(--text-main);
}

.modal-body {
  padding: 1.5rem;
  overflow-y: auto;
}

.modal-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}

/* Formula & Glossary Grids in Modal */
.formula-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.formula-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.formula-card h4 {
  font-size: 0.88rem;
  color: var(--accent-cyan);
  margin-bottom: 0.4rem;
}

.formula-eq {
  font-size: 1.1rem;
  margin: 0.4rem 0;
}

.formula-card-highlight {
  border-color: var(--accent-red);
  background: rgba(239, 68, 68, 0.05);
}

.glossary-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.glossary-item {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.75rem;
}

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

.glossary-item strong {
  color: var(--accent-cyan);
  font-size: 0.9rem;
  display: block;
  margin-bottom: 0.2rem;
}

.glossary-item p {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* --- UTILITY CLASSES --- */
.text-cyan { color: var(--accent-cyan) !important; }
.text-green { color: var(--accent-green) !important; }
.text-amber { color: var(--accent-gold) !important; }
.text-danger { color: var(--accent-red) !important; }
.text-gold { color: #f59e0b !important; }
.text-muted { color: var(--text-muted) !important; }
.text-sm { font-size: 0.85rem !important; line-height: 1.5; }
.text-xs { font-size: 0.72rem !important; }
.font-bold { font-weight: 700 !important; }
.font-semibold { font-weight: 600 !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 0.75rem !important; }
.mt-4 { margin-top: 1rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 0.75rem !important; }
.hidden { display: none !important; }

/* Callout Alert */
.callout-alert {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(245, 158, 11, 0.08);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  font-size: 0.82rem;
  line-height: 1.5;
}

.info-banner {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
}

.banner-icon {
  font-size: 1.8rem;
  color: var(--accent-cyan);
}

.banner-text {
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-muted);
}

/* --- PRINT MEDIA QUERY (FOR E-SERTIFIKAT) --- */
@media print {
  body {
    background: #ffffff !important;
    color: #000000 !important;
  }

  .player-header,
  .player-sidebar,
  .player-footer,
  .cert-controls-bar,
  .content-header,
  .modal-backdrop,
  .header-actions {
    display: none !important;
  }

  .player-stage {
    padding: 0 !important;
    overflow: visible !important;
  }

  .slide-pane {
    display: none !important;
  }

  .slide-pane#slide-8 {
    display: block !important;
  }

  .certificate-wrapper {
    box-shadow: none !important;
    max-width: 100% !important;
    padding: 0 !important;
    page-break-inside: avoid;
  }

  @page {
    size: A4 landscape;
    margin: 1cm;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .player-header {
    padding: 0 1rem;
  }
  .course-title {
    font-size: 0.95rem;
  }
  .school-tag {
    display: none;
  }
  .player-stage {
    padding: 1rem;
  }
  .hero-card {
    padding: 1.5rem;
  }
  .hero-title {
    font-size: 1.6rem;
  }
  .quiz-hud {
    grid-template-columns: repeat(2, 1fr);
  }
  .summary-stats-grid {
    grid-template-columns: 1fr;
  }
}
