/* GongQuest 9 - Bright, Energetic, Gamified Civil Service Study Theme */
:root {
  --primary: #f59e0b; /* Sunshine Gold */
  --primary-hover: #d97706;
  --primary-light: #fef3c7;
  --primary-glow: rgba(245, 158, 11, 0.25);
  
  --secondary: #10b981; /* Mint Clover Green */
  --secondary-light: #d1fae5;
  
  --accent-blue: #0284c7; /* Sky Blue */
  --accent-blue-light: #e0f2fe;
  
  --accent-coral: #f43f5e; /* Vibrant Coral Pink */
  --accent-coral-light: #ffe4e6;
  
  --accent-purple: #8b5cf6; /* Royal Lavender */
  --accent-purple-light: #ede9fe;

  --bg-main: #f8fafc;
  --bg-surface: #ffffff;
  --bg-subtle: #f1f5f9;
  
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --text-subtle: #94a3b8;
  
  --border-light: #e2e8f0;
  --border-hover: #cbd5e1;
  
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-sm: 8px;
  
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(15, 23, 42, 0.06), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 16px 36px -6px rgba(245, 158, 11, 0.12), 0 6px 16px -3px rgba(15, 23, 42, 0.06);
  --shadow-glow: 0 0 24px rgba(245, 158, 11, 0.28);
  
  --font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Jua', 'Pretendard', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(254, 243, 199, 0.6) 0%, transparent 40%),
    radial-gradient(circle at 90% 15%, rgba(224, 242, 254, 0.6) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(209, 250, 229, 0.5) 0%, transparent 45%);
  background-attachment: fixed;
  color: var(--text-dark);
  line-height: 1.6;
  min-height: 100vh;
  padding-bottom: 90px;
}

/* CONTAINER */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

/* NAVBAR */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  padding: 12px 0;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  cursor: pointer;
}

.brand-icon {
  font-size: 2rem;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 800;
  background: linear-gradient(135deg, #d97706 0%, #ea580c 50%, #e11d48 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.brand-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: #fef3c7;
  color: #b45309;
  padding: 3px 8px;
  border-radius: 9999px;
  border: 1px solid #fde68a;
}

.nav-status {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rank-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}

.rank-avatar {
  font-size: 1.15rem;
}

.nav-sp {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #0284c7;
  background: #e0f2fe;
  padding: 6px 12px;
  border-radius: 9999px;
}

.sound-toggle-btn {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: 9999px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.sound-toggle-btn:hover {
  transform: scale(1.08);
  border-color: var(--primary);
}

/* HERO SECTION */
.hero-banner {
  margin-top: 24px;
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 40%, #fed7aa 100%);
  border: 2px solid #fde68a;
  border-radius: var(--radius-xl);
  padding: 28px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero-banner::after {
  content: '🏆';
  position: absolute;
  right: -20px;
  bottom: -30px;
  font-size: 9rem;
  opacity: 0.12;
  pointer-events: none;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  color: #78350f;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.hero-text p {
  color: #92400e;
  font-size: 1.02rem;
  max-width: 650px;
  line-height: 1.5;
}

.hero-meta-badges {
  display: flex;
  gap: 8px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #b45309;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

/* HERO STATS BAR */
.hero-user-card {
  background: white;
  padding: 18px 24px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(245, 158, 11, 0.2);
  box-shadow: var(--shadow-sm);
  min-width: 280px;
}

.user-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.user-name-display {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--text-dark);
}

.user-tier-tag {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 8px;
  background: #dcfce7;
  color: #166534;
  border-radius: 6px;
}

.exp-bar-container {
  width: 100%;
  height: 12px;
  background: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
  position: relative;
  margin-top: 6px;
}

.exp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #10b981);
  border-radius: 9999px;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.exp-numbers {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-top: 5px;
}

/* MAIN NAVIGATION TABS */
.nav-tabs-wrapper {
  margin-top: 24px;
  overflow-x: auto;
  padding-bottom: 4px;
}

.nav-tabs {
  display: flex;
  gap: 10px;
  list-style: none;
  background: white;
  padding: 8px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  width: max-content;
  min-width: 100%;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.25s;
  white-space: nowrap;
}

.tab-btn:hover {
  background: var(--bg-subtle);
  color: var(--text-dark);
}

.tab-btn.active {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.tab-badge-num {
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.08);
  font-family: monospace;
}

.tab-btn.active .tab-badge-num {
  background: rgba(255, 255, 255, 0.25);
  color: white;
}

/* TAB PANELS */
.tab-content {
  margin-top: 24px;
}

.tab-pane {
  display: none;
  animation: fadeIn 0.3s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* DIFFICULTY CARDS (QUEST MAP) */
.tier-selector-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.tier-card {
  background: white;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 22px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.tier-card.active {
  border-color: #f59e0b;
  background: #fffbeb;
  box-shadow: var(--shadow-lg);
}

.tier-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.tier-icon {
  font-size: 2.2rem;
}

.tier-badge {
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 9999px;
  letter-spacing: 0.5px;
}

.tier-badge.novice { background: #dcfce7; color: #15803d; }
.tier-badge.intermediate { background: #e0f2fe; color: #0369a1; }
.tier-badge.advanced { background: #fef3c7; color: #b45309; }
.tier-badge.master { background: #fae8ff; color: #86198f; }

.tier-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.tier-rank-sub {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.tier-desc {
  font-size: 0.88rem;
  color: var(--text-dark);
  line-height: 1.5;
  margin-bottom: 16px;
}

.tier-progress-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
}

/* SUBJECT FILTER BAR */
.subject-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.sub-pill {
  padding: 8px 16px;
  border-radius: 9999px;
  background: white;
  border: 1px solid var(--border-light);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-muted);
}

.sub-pill:hover {
  background: var(--bg-subtle);
  color: var(--text-dark);
}

.sub-pill.active {
  background: #0f172a;
  color: white;
  border-color: #0f172a;
}

/* QUIZ PLAY CARD */
.quiz-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-md);
  margin-bottom: 24px;
  position: relative;
}

.quiz-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.quiz-topic-tag {
  font-size: 0.82rem;
  font-weight: 700;
  padding: 4px 12px;
  background: #fef3c7;
  color: #b45309;
  border-radius: 9999px;
  border: 1px solid #fde68a;
}

.quiz-counter {
  font-family: monospace;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.quiz-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 12px;
}

.quiz-question-box {
  background: #fffdf5;
  border: 1px solid #fef08a;
  border-radius: var(--radius-lg);
  padding: 20px;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.65;
  color: #1e293b;
  margin-bottom: 24px;
}

/* OPTIONS LIST */
.options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.option-btn {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: #ffffff;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-dark);
  line-height: 1.5;
}

.option-btn:hover {
  background: #fffbeb;
  border-color: #f59e0b;
  transform: translateX(4px);
}

.option-idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: #f1f5f9;
  border-radius: 50%;
  font-size: 0.88rem;
  font-weight: 800;
  flex-shrink: 0;
}

.option-btn.selected {
  border-color: var(--primary);
  background: #fffbeb;
}

.option-btn.correct {
  border-color: #10b981;
  background: #d1fae5;
  color: #065f46;
}

.option-btn.correct .option-idx {
  background: #10b981;
  color: white;
}

.option-btn.wrong {
  border-color: #f43f5e;
  background: #ffe4e6;
  color: #9f1239;
}

.option-btn.wrong .option-idx {
  background: #f43f5e;
  color: white;
}

.option-btn.disabled {
  pointer-events: none;
  opacity: 0.6;
}

/* EXPLANATION ACCORDION */
.explanation-box {
  display: none;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 20px;
  margin-top: 20px;
  animation: fadeIn 0.3s ease;
}

.explanation-box.show {
  display: block;
}

.exp-header {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 1.05rem;
  color: #0f172a;
  margin-bottom: 10px;
}

.exp-body {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 14px;
}

.tip-banner {
  background: #fef3c7;
  border-left: 4px solid #f59e0b;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.92rem;
  font-weight: 700;
  color: #92400e;
}

/* QUIZ FOOTER CONTROLS */
.quiz-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: all 0.25s;
  box-shadow: var(--shadow-sm);
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: white;
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #d97706 0%, #c2410c 100%);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
}

.btn-secondary {
  background: white;
  border: 1px solid var(--border-light);
  color: var(--text-dark);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
}

.btn-danger {
  background: #f43f5e;
  color: white;
}

/* BOSS RAID SECTION */
.boss-arena {
  background: white;
  border: 2px solid #fed7aa;
  border-radius: var(--radius-xl);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  margin-bottom: 24px;
}

.boss-profile {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 24px;
  background: #fff7ed;
  border: 1px solid #ffedd5;
  padding: 24px;
  border-radius: var(--radius-lg);
  flex-wrap: wrap;
}

.boss-avatar-wrapper {
  position: relative;
}

.boss-avatar {
  font-size: 4.5rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
  display: block;
  transition: transform 0.2s;
}

.boss-avatar.hit {
  animation: bossShake 0.4s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes bossShake {
  10%, 90% { transform: translate3d(-4px, 0, 0); }
  20%, 80% { transform: translate3d(6px, 0, 0); }
  30%, 50%, 70% { transform: translate3d(-6px, 0, 0); }
  40%, 60% { transform: translate3d(6px, 0, 0); }
}

.boss-info {
  flex: 1;
  min-width: 260px;
}

.boss-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  color: #c2410c;
  background: #ffedd5;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 6px;
}

.boss-name {
  font-size: 1.6rem;
  font-weight: 900;
  color: #7c2d12;
  margin-bottom: 6px;
}

.boss-quote {
  font-style: italic;
  color: #9a3412;
  font-size: 0.92rem;
  margin-bottom: 12px;
}

.hp-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.hp-bar-track {
  height: 16px;
  background: #fed7aa;
  border-radius: 9999px;
  overflow: hidden;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.hp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #ef4444, #f97316);
  border-radius: 9999px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* BATTLE SKILL BUTTONS */
.skills-bar {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.skill-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: white;
  border: 2px solid #cbd5e1;
  border-radius: var(--radius-md);
  font-weight: 800;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s;
  box-shadow: var(--shadow-sm);
}

.skill-btn:hover:not(:disabled) {
  border-color: #0284c7;
  background: #f0f9ff;
  transform: translateY(-2px);
}

.skill-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.sp-cost {
  font-size: 0.75rem;
  padding: 2px 6px;
  background: #e0f2fe;
  color: #0369a1;
  border-radius: 9999px;
}

/* CIVIL SERVANT ID CARD (공무원증) */
.id-card-wrapper {
  display: flex;
  justify-content: center;
  margin: 32px 0;
}

.id-card {
  width: 360px;
  background: white;
  border: 3px solid #f59e0b;
  border-radius: 20px;
  box-shadow: 0 20px 40px -10px rgba(245, 158, 11, 0.35);
  overflow: hidden;
  position: relative;
  transition: transform 0.3s;
}

.id-card:hover {
  transform: translateY(-6px);
}

.id-header {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  padding: 18px;
  text-align: center;
  color: white;
}

.id-header-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  letter-spacing: 2px;
}

.id-header-sub {
  font-size: 0.75rem;
  opacity: 0.9;
  letter-spacing: 1px;
}

.id-body {
  padding: 24px 20px;
  text-align: center;
}

.id-photo-frame {
  width: 110px;
  height: 130px;
  margin: 0 auto 16px;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  box-shadow: var(--shadow-sm);
}

.id-name {
  font-size: 1.4rem;
  font-weight: 900;
  color: #0f172a;
  margin-bottom: 4px;
}

.id-dept {
  font-size: 0.92rem;
  font-weight: 700;
  color: #d97706;
  margin-bottom: 16px;
}

.id-details-table {
  width: 100%;
  border-top: 1px dashed #cbd5e1;
  border-bottom: 1px dashed #cbd5e1;
  padding: 12px 0;
  margin-bottom: 16px;
  font-size: 0.85rem;
  text-align: left;
}

.id-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
}

.id-row-label {
  color: var(--text-muted);
  font-weight: 600;
}

.id-row-val {
  font-weight: 800;
  color: var(--text-dark);
}

.id-official-stamp {
  font-family: 'Jua', serif;
  display: inline-block;
  border: 2px solid #ef4444;
  color: #ef4444;
  padding: 4px 12px;
  font-size: 0.88rem;
  font-weight: 800;
  border-radius: 6px;
  transform: rotate(-4deg);
}

/* SPEED GOLDENBELL MODE */
.speed-timer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #0f172a;
  color: white;
  padding: 14px 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 20px;
}

.speed-time-val {
  font-family: monospace;
  font-size: 1.8rem;
  font-weight: 900;
  color: #fbbf24;
}

.speed-score-val {
  font-family: monospace;
  font-size: 1.4rem;
  font-weight: 800;
}

/* MNEMONIC VAULT CARDS */
.mnemonic-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.mnemonic-card {
  background: white;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s;
}

.mnemonic-card:hover {
  border-color: #f59e0b;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.m-subject-tag {
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #475569;
}

.m-title {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 8px 0 6px;
}

.m-code-box {
  background: #fef3c7;
  color: #b45309;
  font-weight: 900;
  font-size: 1.1rem;
  padding: 8px 12px;
  border-radius: 8px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

.m-desc {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
}

/* TOAST MESSAGE */
.toast-msg {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #0f172a;
  color: white;
  padding: 14px 24px;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  font-weight: 700;
  z-index: 9999;
  display: none;
  animation: slideUp 0.3s ease;
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* CANVAS CONFETTI */
#confettiCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99999;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .hero-banner {
    flex-direction: column;
    padding: 20px;
  }
  .hero-text h1 {
    font-size: 1.6rem;
  }
  .hero-user-card {
    width: 100%;
  }
  .quiz-card {
    padding: 20px;
  }
  .tier-selector-grid {
    grid-template-columns: 1fr;
  }
  .boss-profile {
    flex-direction: column;
    text-align: center;
  }
  .id-card {
    width: 100%;
    max-width: 360px;
  }
}