/* CineAHO ADHD Test Styling */

:root {
  /* Dark Theme Default */
  --bg-color: #0b0f19;
  --bg-gradient: radial-gradient(circle at top right, #111a2e, #070a12);
  --panel-bg: rgba(16, 22, 37, 0.65);
  --panel-border: rgba(255, 255, 255, 0.08);
  --panel-glow: rgba(0, 242, 254, 0.05);
  
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  
  --cyan-neon: #00f2fe;
  --cyan-glow: rgba(0, 242, 254, 0.4);
  --magenta-neon: #ff007f;
  --magenta-glow: rgba(255, 0, 127, 0.4);
  --purple-neon: #9d4edd;
  --purple-glow: rgba(157, 78, 221, 0.4);
  --yellow-neon: #ffd166;
  --yellow-glow: rgba(253, 209, 102, 0.4);
  --green-neon: #06d6a0;
  --green-glow: rgba(6, 214, 160, 0.4);

  --font-display: 'Outfit', 'Noto Sans KR', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-neon: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Light Theme Variables */
[data-theme="light"] {
  --bg-color: #f8fafc;
  --bg-gradient: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  --panel-bg: rgba(255, 255, 255, 0.8);
  --panel-border: rgba(15, 23, 42, 0.08);
  --panel-glow: rgba(15, 23, 42, 0.02);
  
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #94a3b8;
  
  --cyan-neon: #0284c7;
  --cyan-glow: rgba(2, 132, 199, 0.2);
  --magenta-neon: #db2777;
  --magenta-glow: rgba(219, 39, 119, 0.2);
  --purple-neon: #7c3aed;
  --purple-glow: rgba(124, 58, 237, 0.2);
  --yellow-neon: #d97706;
  --yellow-glow: rgba(217, 119, 6, 0.2);
  --green-neon: #059669;
  --green-glow: rgba(5, 150, 105, 0.2);

  --shadow-neon: 0 8px 32px 0 rgba(148, 163, 184, 0.15);
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background: var(--bg-color);
  background-image: var(--bg-gradient);
  color: var(--text-primary);
  font-family: var(--font-display);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  transition: var(--transition-smooth);
}

/* Header */
.app-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  margin: 1.5rem auto 0;
  width: 90%;
  max-width: 1200px;
  border-radius: 16px;
  z-index: 100;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-neon);
}

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

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

.brain-icon {
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--cyan-neon), var(--purple-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 4px rgba(0, 242, 254, 0.3));
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.logo-text span {
  font-weight: 800;
  color: var(--cyan-neon);
  text-shadow: 0 0 10px var(--cyan-glow);
}

.btn-back {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--panel-border);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: var(--transition-smooth);
}

.btn-back:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-color: var(--cyan-neon);
  box-shadow: 0 0 8px var(--cyan-glow);
}

/* Glass Panel Styling */
.glass-panel {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  box-shadow: var(--shadow-neon);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: var(--transition-smooth);
}

.glass-panel:hover {
  background-color: rgba(255, 255, 255, 0.015);
  border-color: rgba(255, 255, 255, 0.12);
}

/* App Container & Sections */
.app-container {
  flex: 1;
  width: 90%;
  max-width: 1200px;
  margin: 2rem auto;
  position: relative;
}

section {
  display: none;
  width: 100%;
}

section.active-section {
  display: block;
}

/* Lobby Container */
.lobby-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.lobby-hero {
  border-radius: 24px;
  padding: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.lobby-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 242, 254, 0.04) 0%, rgba(157, 78, 221, 0.04) 50%, transparent 100%);
  pointer-events: none;
}

.badge-new {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 0, 127, 0.15);
  color: var(--magenta-neon);
  border: 1px solid rgba(255, 0, 127, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: 0.5px;
}

.lobby-hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  color: var(--text-secondary);
  font-size: 1.15rem;
  max-width: 750px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Buttons */
.btn-primary-neon {
  background: linear-gradient(135deg, var(--cyan-neon), var(--purple-neon));
  color: #0b0f19 !important;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0, 242, 254, 0.3);
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.btn-primary-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 242, 254, 0.5), 0 0 15px var(--purple-glow);
}

.btn-primary-neon.magenta {
  background: linear-gradient(135deg, var(--magenta-neon), var(--purple-neon));
  box-shadow: 0 4px 20px rgba(255, 0, 127, 0.3);
}

.btn-primary-neon.magenta:hover {
  box-shadow: 0 8px 30px rgba(255, 0, 127, 0.5);
}

.btn-primary-neon.purple {
  background: linear-gradient(135deg, var(--purple-neon), var(--cyan-neon));
  box-shadow: 0 4px 20px rgba(157, 78, 221, 0.3);
}

.btn-primary-neon.purple:hover {
  box-shadow: 0 8px 30px rgba(157, 78, 221, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  border: 1px solid var(--panel-border);
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-secondary:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--text-secondary);
}

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

/* Test Cards */
.test-types-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.test-type-card {
  border-radius: 20px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
}

.card-icon {
  width: 55px;
  height: 55px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.card-icon.cyan {
  background: rgba(0, 242, 254, 0.12);
  color: var(--cyan-neon);
  border: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
}

.card-icon.magenta {
  background: rgba(255, 0, 127, 0.12);
  color: var(--magenta-neon);
  border: 1px solid rgba(255, 0, 127, 0.25);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.1);
}

.card-icon.purple {
  background: rgba(157, 78, 221, 0.12);
  color: var(--purple-neon);
  border: 1px solid rgba(157, 78, 221, 0.25);
  box-shadow: 0 0 10px rgba(157, 78, 221, 0.1);
}

.test-type-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
}

.test-type-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  flex: 1;
}

.badge-time {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  border: 1px solid var(--panel-border);
  padding: 0.35rem 0.75rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Test Boxes */
.test-box {
  border-radius: 24px;
  padding: 2.5rem;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
}

.test-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 1.5rem;
}

.test-indicator {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.current-test-label {
  background: var(--cyan-neon);
  color: #0b0f19;
  font-weight: 800;
  font-size: 0.8rem;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  letter-spacing: 0.5px;
}

.current-test-label.bg-magenta {
  background: var(--magenta-neon);
}

.current-test-label.bg-purple {
  background: var(--purple-neon);
}

.test-title {
  font-size: 1.15rem;
  font-weight: 700;
}

.progress-bar-container {
  flex: 1;
  max-width: 350px;
  height: 6px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan-neon), var(--purple-neon));
  border-radius: 10px;
  width: 0;
  transition: width 0.3s ease;
  box-shadow: 0 0 8px var(--cyan-glow);
}

.page-number, .gonogo-stats, .stroop-stats {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ASRS Specific */
.asrs-body {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  flex: 1;
  justify-content: center;
  min-height: 250px;
}

.question-container {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.question-text {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--text-primary);
}

.asrs-options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
}

.btn-option {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  color: var(--text-secondary);
  padding: 1.2rem;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-align: center;
  outline: none;
}

.btn-option:hover {
  background: rgba(0, 242, 254, 0.05);
  border-color: var(--cyan-neon);
  color: var(--text-primary);
  box-shadow: 0 0 10px var(--panel-glow);
  transform: translateY(-2px);
}

.btn-option.selected {
  background: linear-gradient(135deg, rgba(0, 242, 254, 0.15), rgba(157, 78, 221, 0.15));
  border-color: var(--cyan-neon);
  color: var(--cyan-neon);
  box-shadow: 0 0 15px rgba(0, 242, 254, 0.12);
}

.test-footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--panel-border);
  padding-top: 1.5rem;
}

.test-stage-name {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Cognitive Game Wrappers */
.game-body-wrapper {
  flex: 1;
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instructions-panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 650px;
  text-align: center;
}

.rule-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 1.5rem;
  width: 100%;
}

.rule-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  text-align: left;
  padding: 0.75rem 0;
}

.rule-item:not(:last-child) {
  border-bottom: 1px solid var(--panel-border);
}

.rule-symbol {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  flex-shrink: 0;
}

.rule-symbol.go-symbol {
  background: var(--green-neon);
  box-shadow: 0 0 12px var(--green-glow);
}

.rule-symbol.nogo-symbol {
  position: relative;
  background: var(--magenta-neon);
  box-shadow: 0 0 12px var(--magenta-glow);
  border-radius: 8px;
}

.rule-symbol.nogo-symbol::before, .rule-symbol.nogo-symbol::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 3px;
  background: #0b0f19;
  border-radius: 2px;
}
.rule-symbol.nogo-symbol::before {
  transform: translate(-50%, -50%) rotate(45deg);
}
.rule-symbol.nogo-symbol::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.rule-desc {
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.instruction-notes {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.game-screen {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  width: 100%;
}

/* Go/No-Go Canvas */
#gonogo-canvas {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--panel-border);
  border-radius: 20px;
  max-width: 100%;
  box-shadow: inset 0 0 20px rgba(0,0,0,0.4);
}

.mobile-tap-area {
  display: none;
  width: 100%;
  max-width: 400px;
  height: 80px;
  background: linear-gradient(135deg, rgba(255,0,127,0.1), rgba(0,242,254,0.1));
  border: 1px dashed var(--panel-border);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  color: var(--text-secondary);
  user-select: none;
  touch-action: manipulation;
}

@media (max-width: 768px) {
  .mobile-tap-area {
    display: flex;
  }
}

/* Stroop Specifics */
.stroop-stimulus-box {
  width: 100%;
  max-width: 400px;
  height: 180px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stroop-word {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: 2px;
}

.stroop-choices-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
  max-width: 400px;
}

.btn-choice-color {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--panel-border);
  color: var(--text-primary);
  padding: 1.2rem;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.btn-number {
  font-size: 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.btn-choice-color.choice-red { border-color: rgba(239, 71, 111, 0.3); }
.btn-choice-color.choice-green { border-color: rgba(6, 214, 160, 0.3); }
.btn-choice-color.choice-blue { border-color: rgba(0, 242, 254, 0.3); }
.btn-choice-color.choice-yellow { border-color: rgba(255, 209, 102, 0.3); }

.btn-choice-color.choice-red:hover { background: rgba(239, 71, 111, 0.1); border-color: #ef476f; box-shadow: 0 0 10px rgba(239, 71, 111, 0.2); }
.btn-choice-color.choice-green:hover { background: rgba(6, 214, 160, 0.1); border-color: #06d6a0; box-shadow: 0 0 10px rgba(6, 214, 160, 0.2); }
.btn-choice-color.choice-blue:hover { background: rgba(0, 242, 254, 0.1); border-color: #00f2fe; box-shadow: 0 0 10px rgba(0, 242, 254, 0.2); }
.btn-choice-color.choice-yellow:hover { background: rgba(255, 209, 102, 0.1); border-color: #ffd166; box-shadow: 0 0 10px rgba(255, 209, 102, 0.2); }

/* Stroop example helper styles */
.example-box-row {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.example-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
  padding: 0.5rem 1rem;
  border-radius: 8px;
}

.example-text {
  font-size: 1.2rem;
  font-weight: 800;
}

.arrow-indicator {
  color: var(--text-muted);
}

.btn-preview-color {
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: #0b0f19;
}

.bg-green { background-color: var(--green-neon); }
.bg-yellow { background-color: var(--yellow-neon); }
.bg-red { background-color: var(--magenta-neon); }
.bg-blue { background-color: var(--cyan-neon); }

.text-green-value { color: var(--green-neon); }
.text-yellow-value { color: var(--yellow-neon); }

/* Countdown Overlay */
.countdown-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-color);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  gap: 1rem;
}

.countdown-num {
  font-size: 5.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--cyan-neon), var(--purple-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: countdownPulse 1s infinite;
}

.countdown-tip {
  color: var(--text-secondary);
  font-size: 0.95rem;
  text-align: center;
  max-width: 320px;
}

@keyframes countdownPulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(0.8); opacity: 0.5; }
}

/* Loading / Scoring Container */
.loading-animation-wrapper {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
}

.big-brain-icon {
  font-size: 4rem;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, var(--cyan-neon), var(--purple-neon));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.radar-scan {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 2px dashed var(--cyan-neon);
  box-shadow: 0 0 15px var(--cyan-glow);
  animation: spin 3s linear infinite;
}

@keyframes spin {
  100% { transform: rotate(360deg); }
}

.loading-title {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.loading-desc {
  color: var(--text-secondary);
  font-size: 1rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* Report View */
.report-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.report-header-panel {
  border-radius: 20px;
  padding: 2.2rem;
}

.report-title-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 1.5rem;
  margin-bottom: 2rem;
}

.badge-report {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(0, 242, 254, 0.1);
  color: var(--cyan-neon);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-bottom: 0.65rem;
}

.report-title-row h1 {
  font-size: 2.2rem;
  font-weight: 800;
}

.report-meta {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.summary-result-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .summary-result-grid {
    grid-template-columns: 1fr;
  }
}

.result-gauge-card {
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.result-gauge-card h3, .result-profile-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 0.75rem;
  width: 100%;
  text-align: left;
}

.gauge-svg-wrapper {
  position: relative;
  width: 180px;
  height: 100px;
  margin-top: 1rem;
}

.gauge-svg {
  width: 100%;
  height: 100%;
}

.gauge-bg {
  stroke: rgba(255, 255, 255, 0.05);
}

.gauge-fill-cyan {
  stroke: var(--cyan-neon);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 6px var(--cyan-glow));
}

.gauge-fill-magenta {
  stroke: var(--magenta-neon);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 6px var(--magenta-glow));
}

.gauge-fill-yellow {
  stroke: var(--yellow-neon);
  stroke-linecap: round;
  transition: stroke-dashoffset 1s cubic-bezier(0.4, 0, 0.2, 1);
  filter: drop-shadow(0 0 6px var(--yellow-glow));
}

.gauge-val-box {
  position: absolute;
  bottom: 0px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: baseline;
  gap: 2px;
}

.gauge-number {
  font-size: 2.2rem;
  font-weight: 800;
}

.gauge-unit {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.gauge-status-bar {
  margin-top: 0.5rem;
}

.status-badge {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #0b0f19;
  padding: 0.4rem 1.2rem;
  border-radius: 30px;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.05);
}

.mini-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  color: #0b0f19;
}

/* Colors for Badges */
.bg-green { background-color: var(--green-neon); color: #0b0f19; }
.bg-yellow { background-color: var(--yellow-neon); color: #0b0f19; }
.bg-red { background-color: var(--magenta-neon); color: #f1f5f9; }

.result-profile-card {
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stats-table-wrapper {
  width: 100%;
}

.report-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.report-table th, .report-table td {
  padding: 0.8rem 1rem;
  font-size: 0.95rem;
}

.report-table th {
  border-bottom: 1px solid var(--panel-border);
  color: var(--text-muted);
  font-weight: 600;
}

.report-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

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

.report-table td.bold {
  font-weight: 700;
}

.icon-cyan { color: var(--cyan-neon); }
.icon-magenta { color: var(--magenta-neon); }
.icon-purple { color: var(--purple-neon); }

/* Report Charts Section */
.report-charts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

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

.chart-container-card {
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.chart-container-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 0.75rem;
}

.chart-canvas-wrapper {
  position: relative;
  width: 100%;
  height: 280px;
}

.radar-chart-wrapper {
  height: 280px;
}

.chart-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Evaluation Block */
.report-section-card {
  border-radius: 20px;
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
}

.report-section-card h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.report-detail-text {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
}

.report-detail-text p {
  margin-bottom: 1rem;
}

.report-detail-text strong {
  color: var(--cyan-neon);
  font-weight: 600;
}

/* Roadmap Grid */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 0.5rem;
}

.roadmap-item {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 1.8rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.step-num {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.04);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
}

.roadmap-item h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
}

.roadmap-item p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Bottom Actions */
.report-bottom-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

/* Animations */
.animate-fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

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

.hidden {
  display: none !important;
}

/* Footer */
.app-footer {
  text-align: center;
  padding: 2rem;
  margin-top: auto;
  border-top: 1px solid var(--panel-border);
}

.copyright {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Print Styles */
@media print {
  body {
    background: #fff !important;
    color: #000 !important;
  }
  .app-header, .app-footer, .report-bottom-actions {
    display: none !important;
  }
  .app-container {
    width: 100% !important;
    margin: 0 !important;
  }
  .glass-panel {
    background: none !important;
    border: 1px solid #ddd !important;
    box-shadow: none !important;
  }
  .report-wrapper {
    gap: 2rem !important;
  }
  .chart-container-card {
    page-break-inside: avoid;
  }
}
