/* SVG Global sizing */
svg {
  width: 1em;
  height: 1em;
  display: inline-block;
  vertical-align: -0.125em;
  flex-shrink: 0;
}

.section-label svg {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0;
}

.quick-training-header svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}

.info-tip-card svg {
  width: 22px !important;
  height: 22px !important;
  flex-shrink: 0;
}

.btn-neon-lime svg {
  width: 24px !important;
  height: 24px !important;
  flex-shrink: 0;
}

.info-strip-col svg {
  width: 18px !important;
  height: 18px !important;
  flex-shrink: 0;
}

.stat-dash-card-title svg {
  width: 15px !important;
  height: 15px !important;
  flex-shrink: 0;
}

.streak-circle-flame svg,
.streak-week-dot svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0;
}

/* ==========================================================================
   RUMO A POSSE - Modern Cyberpunk / Academic Gamified Design System
   Matches the 5 reference UI screens with exact fidelity
   ========================================================================== */

:root {
  --bg-deep: #020713;
  --bg-midnight: #051024;
  --bg-navy: #071a35;
  --bg-card: rgba(8, 23, 44, 0.78);
  --bg-card-hover: rgba(13, 34, 62, 0.88);
  --bg-card-selected: #0a213e;
  
  --border-card: rgba(56, 189, 248, 0.16);
  --border-cyan-neon: #00f0ff;
  --border-lime-neon: #b7ff16;
  --border-purple: rgba(139, 92, 246, 0.45);
  
  --cyan-neon: #00f0ff;
  --cyan-bright: #38bdf8;
  --cyan-glow: rgba(0, 240, 255, 0.45);
  
  --lime-neon: #9ae600;
  --lime-bright: #a3e635;
  --lime-dark: #65a30d;
  --lime-glow: rgba(154, 230, 0, 0.55);
  
  --gold-emblem: #ffc947;
  --gold-star: #fbbf24;
  --gold-glow: rgba(255, 201, 71, 0.45);
  
  --orange-flame: #ff7828;
  --orange-glow: rgba(255, 120, 40, 0.5);
  
  --purple-accent: #a855f7;
  --purple-glow: rgba(168, 85, 247, 0.35);
  
  --text-white: #ffffff;
  --text-slate: #94a3b8;
  --text-muted: #8096b3;
  --text-dark-btn: #061a00;
  
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-pill: 9999px;
  
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.45);
  --shadow-neon-cyan: 0 0 18px rgba(0, 240, 255, 0.4);
  --shadow-neon-lime: 0 0 25px rgba(154, 230, 0, 0.5);
  
  color-scheme: dark;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  color: var(--text-white);
  background-color: var(--bg-deep);
  background-image: 
    radial-gradient(circle at 50% 5%, rgba(14, 165, 233, 0.16) 0%, transparent 60%),
    radial-gradient(circle at 90% 40%, rgba(139, 92, 246, 0.1) 0%, transparent 45%),
    linear-gradient(180deg, #020713 0%, #040e21 50%, #02050f 100%);
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
}

button, input, select {
  font: inherit;
  color: inherit;
}

button {
  border: 0;
  cursor: pointer;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s ease, filter 0.15s ease, box-shadow 0.15s ease;
}

button:active {
  transform: scale(0.97);
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* ==========================================================================
   App Container / Mobile Viewport Framing
   ========================================================================== */
.app {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  min-height: 100dvh;
  position: relative;
  background: 
    radial-gradient(ellipse at 50% 12%, rgba(0, 240, 255, 0.12) 0%, transparent 65%),
    radial-gradient(ellipse at 85% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, #020815 0%, #051329 55%, #020612 100%);
  box-shadow: 0 0 60px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
}

.screen {
  flex: 1;
  width: 100%;
  padding: max(16px, env(safe-area-inset-top)) 18px max(24px, env(safe-area-inset-bottom)) 18px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.screen.safe-bottom {
  padding-bottom: 96px; /* Space for sticky bottom navigation */
}

.content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

/* ==========================================================================
   Header Elements & Topbars
   ========================================================================== */
.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.back-btn {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(11, 28, 51, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: var(--cyan-bright);
  font-size: 22px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.back-btn:hover {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 12px var(--cyan-glow);
}

/* Brand Logo (from reference image) */
.brand-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
}

.top-emblem-gold {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 201, 71, 0.45));
}

/* Profile Chip on Header */
.profile-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 8px;
  background: rgba(11, 28, 51, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-pill);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

.profile-chip-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid var(--cyan-bright);
}

.profile-chip-info {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.profile-chip-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.profile-chip-role {
  font-size: 10px;
  font-weight: 600;
  color: var(--cyan-bright);
}

.profile-chip-chevron {
  color: var(--cyan-bright);
  font-size: 12px;
  margin-left: 2px;
}

/* ==========================================================================
   Steppers (2 exact variants from reference screenshots)
   ========================================================================== */

/* Variant A: Pill Dashes Stepper (Image 1 & 5) */
.stepper-dashes-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.stepper-ratio {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #ffffff;
}

.stepper-dashes {
  display: flex;
  align-items: center;
  gap: 6px;
}

.stepper-dash {
  width: 24px;
  height: 5px;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.15);
  transition: all 0.3s ease;
}

.stepper-dash.active,
.stepper-dash.done {
  background: var(--cyan-neon);
  box-shadow: 0 0 8px var(--cyan-neon);
}

/* Variant B: Connected Circles Stepper (Image 3 & 4) */
.stepper-circles {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 6px 0 16px;
  width: 100%;
}

.step-circle {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #081a32;
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: var(--text-slate);
  position: relative;
  z-index: 2;
  transition: all 0.25s ease;
}

.step-circle.done {
  background: #00d4ff;
  border-color: #00d4ff;
  color: #041427;
  font-size: 13px;
}

.step-circle.active {
  width: 32px;
  height: 32px;
  background: #061e3d;
  border: 2px solid var(--cyan-neon);
  color: #ffffff;
  font-size: 13px;
  box-shadow: 0 0 14px var(--cyan-neon);
}

.step-circle-line {
  flex: 1;
  height: 2px;
  background: rgba(56, 189, 248, 0.2);
  margin: 0 -1px;
  z-index: 1;
}

.step-circle-line.done {
  background: var(--cyan-bright);
}

/* ==========================================================================
   Typography & Glowing Headings
   ========================================================================== */
.screen-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin: 0;
}

.screen-title.center {
  text-align: center;
}

.title-glow-cyan {
  font-style: italic;
  font-weight: 900;
  color: var(--cyan-neon);
  text-shadow: 0 0 18px var(--cyan-glow), 0 0 35px rgba(0, 240, 255, 0.3);
  display: inline-block;
}

.screen-subtitle {
  font-size: 14px;
  color: var(--text-slate);
  line-height: 1.4;
  margin-top: -8px;
}

.screen-subtitle.center {
  text-align: center;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #ffffff;
  margin-top: 4px;
}

.section-label svg {
  color: var(--cyan-bright);
}

.sparkle-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: -4px 0 6px;
}

.sparkle-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.3), transparent);
}

.sparkle-divider-star {
  color: var(--cyan-bright);
  font-size: 14px;
  filter: drop-shadow(0 0 8px var(--cyan-bright));
}

/* ==========================================================================
   Cards & Glassmorphism Surfaces
   ========================================================================== */
.card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

/* Selected state with Neon Cyan border and glow */
.card-glass.selected {
  background: var(--bg-card-selected);
  border-color: var(--cyan-neon) !important;
  box-shadow: var(--shadow-neon-cyan);
}

/* Checkmark badge on top right of selected cards */
.check-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime-bright);
  color: #061a00;
  font-size: 12px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 8px rgba(163, 230, 53, 0.6);
  z-index: 5;
}

.check-badge.cyan {
  background: var(--cyan-neon);
  box-shadow: 0 0 8px var(--cyan-neon);
}

/* ==========================================================================
   Screen 1: Objective Cards (Focus, Edital, Disciplinas)
   ========================================================================== */
.hero-objective-bg {
  position: absolute;
  top: 15px;
  right: -10px;
  width: 190px;
  max-height: 180px;
  object-fit: contain;
  object-position: top right;
  pointer-events: none;
  opacity: 0.95;
  z-index: 1;
  mask-image: radial-gradient(circle at 60% 40%, black 50%, transparent 100%);
  -webkit-mask-image: radial-gradient(circle at 60% 40%, black 50%, transparent 100%);
}

.focus-row-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.focus-select-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 4px;
  border-radius: var(--radius-sm);
  background: rgba(8, 23, 44, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.18);
  position: relative;
  text-align: center;
  min-height: 86px;
}

.focus-select-card.selected {
  border-color: var(--cyan-neon);
  box-shadow: var(--shadow-neon-cyan);
  background: #09213f;
}

.focus-select-card .f-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
}

.focus-select-card.selected .f-icon {
  color: var(--gold-emblem);
  filter: drop-shadow(0 0 6px rgba(255, 201, 71, 0.5));
}

.focus-select-card .f-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-slate);
}

.focus-select-card.selected .f-label {
  color: #ffffff;
  font-weight: 800;
}

/* Edital Cards (3 columns) */
.edital-row-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.edital-select-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 6px;
  border-radius: var(--radius-sm);
  background: rgba(8, 23, 44, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.18);
  position: relative;
  text-align: center;
  min-height: 84px;
}

.edital-select-card.selected {
  border-color: var(--lime-bright) !important;
  box-shadow: 0 0 16px rgba(163, 230, 53, 0.4);
  background: #0c2338;
}

.edital-select-card .e-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
}

.edital-select-card.selected .e-icon {
  color: var(--gold-emblem);
}

.edital-select-card .e-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-slate);
}

.edital-select-card.selected .e-label {
  color: #ffffff;
  font-weight: 800;
}

/* Disciplinas em destaque Card */
.disciplines-panel {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.disciplines-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.disciplines-panel-title {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.disciplines-panel-title svg {
  color: var(--cyan-bright);
}

.disciplines-view-all {
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan-bright);
  display: flex;
  align-items: center;
  gap: 4px;
}

.disciplines-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.discipline-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.discipline-circle-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: radial-gradient(circle, #0c2c4d 0%, #061b33 100%);
  border: 1.5px solid rgba(56, 189, 248, 0.4);
  color: var(--cyan-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(56, 189, 248, 0.2);
}

.discipline-circle-btn svg {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 6px var(--cyan-bright));
}

.discipline-name {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-slate);
}

.discipline-segmented-bar {
  display: flex;
  gap: 3px;
  width: 44px;
}

.discipline-segment {
  flex: 1;
  height: 3px;
  border-radius: var(--radius-pill);
  background: rgba(56, 189, 248, 0.15);
}

.discipline-segment.filled {
  background: var(--cyan-bright);
  box-shadow: 0 0 5px var(--cyan-bright);
}

/* ==========================================================================
   Action Buttons (Neon Lime Pill & Secondary Pill)
   ========================================================================== */
.actions-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 8px;
}

/* Vibrant Neon Lime Pill Button (Primary CTA) */
.btn-neon-lime {
  width: 100%;
  min-height: 58px;
  padding: 14px 24px;
  border-radius: var(--radius-pill);
  background: linear-gradient(180deg, #b9f713 0%, #8fe400 50%, #76d100 100%);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 
    0 0 25px var(--lime-glow),
    inset 0 2px 4px rgba(255, 255, 255, 0.65),
    inset 0 -2px 4px rgba(0, 0, 0, 0.3);
  color: var(--text-dark-btn);
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  position: relative;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

.btn-neon-lime:hover {
  filter: brightness(1.08);
  box-shadow: 0 0 32px var(--lime-glow);
}

.btn-neon-lime svg,
.btn-neon-lime .btn-icon {
  width: 22px;
  height: 22px;
}

.btn-neon-lime .btn-chevron {
  font-size: 20px;
  font-weight: 900;
  margin-left: auto;
}

/* Dark Pill Button (Secondary Action) */
.btn-dark-pill {
  width: 100%;
  min-height: 48px;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  background: rgba(11, 23, 44, 0.85);
  border: 1.5px solid var(--border-purple);
  color: #c4b5fd;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-dark-pill:hover {
  border-color: #a855f7;
  color: #ffffff;
  box-shadow: 0 0 14px var(--purple-glow);
}

.btn-link-cyan {
  background: transparent;
  color: var(--cyan-bright);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
}

.btn-link-cyan:hover {
  color: var(--cyan-neon);
  text-shadow: 0 0 8px var(--cyan-bright);
}

/* ==========================================================================
   Screen 2: Home Dashboard (Image 2)
   ========================================================================== */
.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.home-hero-layout {
  display: flex;
  gap: 12px;
  align-items: stretch;
  position: relative;
  min-height: 200px;
  margin-bottom: 6px;
}

.home-character-art {
  width: 150px;
  height: auto;
  max-height: 215px;
  object-fit: contain;
  object-position: bottom left;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 20px rgba(0, 0, 0, 0.6));
}

.home-hero-cards {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Hexagon Level 1 Badge */
.level-badge-card {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.level-hexagon {
  width: 46px;
  height: 52px;
  background: linear-gradient(180deg, #09274c, #051833);
  border: 2px solid var(--gold-emblem);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 14px rgba(255, 201, 71, 0.4);
}

.level-hexagon-star {
  font-size: 10px;
  color: var(--gold-star);
  line-height: 1;
}

.level-hexagon-num {
  font-size: 20px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.level-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.level-info-title {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.level-progress-bar {
  width: 100%;
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.level-progress-fill {
  height: 100%;
  border-radius: var(--radius-pill);
  background: var(--cyan-neon);
  box-shadow: 0 0 8px var(--cyan-neon);
}

.level-xp-text {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-slate);
}

.level-xp-text b {
  color: var(--cyan-neon);
}

/* Posse Card */
.posse-card {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.posse-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.posse-tag {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--cyan-neon);
}

.posse-seal-circle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: radial-gradient(circle, #0c2b4d 0%, #06162a 100%);
  border: 1.5px solid var(--gold-emblem);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-emblem);
  box-shadow: 0 0 12px rgba(255, 201, 71, 0.35);
}

.posse-percentage {
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
}

.posse-desc {
  font-size: 11px;
  color: var(--text-slate);
  margin-top: 2px;
}

.posse-link {
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan-bright);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

/* 3 Stat Cards Row */
.stat-cards-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.stat-dash-card {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-radius: var(--radius-sm);
  background: rgba(8, 23, 44, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.16);
}

.stat-dash-card-title {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stat-dash-card-title svg {
  width: 14px;
  height: 14px;
}

.stat-dash-card-desc {
  font-size: 10px;
  color: var(--text-slate);
  line-height: 1.2;
}

.stat-dash-card-desc b {
  color: var(--gold-emblem);
}

.stat-dash-card-val {
  font-size: 16px;
  font-weight: 900;
  color: #ffffff;
}

.stat-streak-dots {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}

.streak-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 1.5px solid rgba(56, 189, 248, 0.3);
}

.streak-dot.filled {
  background: var(--orange-flame);
  border-color: var(--orange-flame);
  box-shadow: 0 0 8px var(--orange-flame);
}

.stat-gold-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: rgba(255, 201, 71, 0.15);
  border: 1px solid rgba(255, 201, 71, 0.6);
  color: var(--gold-emblem);
  font-size: 10px;
  font-weight: 800;
}

/* Treino Rápido Section */
.quick-training-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-training-header {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.quick-training-header svg {
  color: var(--cyan-bright);
}

.quick-training-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.quick-training-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 6px;
  border-radius: var(--radius-sm);
  background: rgba(8, 23, 44, 0.85);
  border: 1.5px solid rgba(56, 189, 248, 0.3);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffffff;
}

.quick-training-btn.cyan {
  border-color: var(--cyan-bright);
  color: #ffffff;
}

.quick-training-btn.blue {
  background: #093466;
  border-color: #1e60aa;
  color: #ffffff;
}

.quick-training-btn.purple {
  border-color: var(--purple-accent);
  color: #ffffff;
}

.quick-training-btn svg {
  width: 16px;
  height: 16px;
}

/* Bottom Ad Banner */
.ad-banner-pill {
  width: 100%;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  background: rgba(10, 24, 46, 0.7);
  border: 1px dashed rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--text-slate);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* ==========================================================================
   Bottom Navigation Bar (Fixed across screens)
   ========================================================================== */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: 68px;
  background: rgba(3, 13, 26, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  z-index: 100;
  padding-bottom: env(safe-area-inset-bottom);
}

.nav-item-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--text-slate);
  font-size: 10px;
  font-weight: 700;
  position: relative;
  transition: all 0.2s ease;
}

.nav-item-btn svg {
  width: 22px;
  height: 22px;
}

.nav-item-btn.active {
  color: var(--cyan-neon);
}

.nav-item-btn.active svg {
  filter: drop-shadow(0 0 8px var(--cyan-neon));
}

.nav-item-btn.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 20%;
  right: 20%;
  height: 3px;
  border-radius: var(--radius-pill);
  background: var(--cyan-neon);
  box-shadow: 0 0 10px var(--cyan-neon);
}

/* ==========================================================================
   Screen 3: Routine Sliders & Toggles (Image 3)
   ========================================================================== */
.routine-card {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.routine-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.routine-icon-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.routine-circle-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(11, 35, 64, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
}

.routine-circle-icon svg {
  width: 20px;
  height: 20px;
}

.routine-text-group h3 {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
}

.routine-text-group p {
  font-size: 11px;
  color: var(--text-slate);
}

.routine-value-badge {
  font-size: 18px;
  font-weight: 900;
  color: var(--cyan-neon);
}

.routine-value-badge small {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-slate);
}

/* Interactive Slider Row */
.routine-slider-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-step-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: rgba(12, 32, 59, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-step-btn:hover {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 8px var(--cyan-glow);
}

.routine-range-input {
  flex: 1;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.routine-range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--cyan-neon);
  box-shadow: 0 0 10px var(--cyan-neon);
  cursor: pointer;
}

/* Routine Selector Pill (< Adaptativa >) */
.routine-selector-pill {
  width: 100%;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: rgba(6, 18, 36, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 800;
  color: var(--cyan-bright);
}

/* Toggle Switch Row */
.toggle-switch-card {
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.ios-toggle-switch {
  width: 48px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.15);
  position: relative;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
}

.ios-toggle-switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.ios-toggle-switch.active {
  background: var(--lime-bright);
  box-shadow: 0 0 12px rgba(163, 230, 53, 0.5);
}

.ios-toggle-switch.active::after {
  transform: translateX(22px);
}

/* Streak Banner Card */
.streak-banner-card {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-color: rgba(255, 120, 40, 0.3) !important;
}

.streak-banner-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.streak-banner-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.streak-circle-flame {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle, #3d1b06 0%, #170902 100%);
  border: 1.5px solid var(--orange-flame);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-flame);
  box-shadow: 0 0 16px var(--orange-glow);
}

.streak-banner-days {
  text-align: right;
  line-height: 1.1;
}

.streak-banner-days .days-num {
  font-size: 26px;
  font-weight: 900;
  color: var(--gold-star);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
}

.streak-banner-days .days-label {
  font-size: 11px;
  font-weight: 800;
  color: var(--gold-star);
}

.streak-weekly-dots {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.streak-week-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(11, 28, 51, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange-flame);
}

.streak-week-dot.active {
  background: radial-gradient(circle, #441f0a 0%, #1f0b03 100%);
  border-color: var(--orange-flame);
  box-shadow: 0 0 10px var(--orange-glow);
}

/* ==========================================================================
   Screen 4: Test Initial (Image 4)
   ========================================================================== */
.test-hero-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 180px;
  margin-bottom: 4px;
}

.test-student-img {
  width: 150px;
  height: 180px;
  object-fit: contain;
  object-position: bottom left;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.6));
}

.test-shield-img {
  width: 135px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 201, 71, 0.45));
}

.test-features-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.test-feature-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
}

.test-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(11, 35, 64, 0.9);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cyan-bright);
  flex-shrink: 0;
}

.test-feature-text h3 {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
}

.test-feature-text p {
  font-size: 11px;
  color: var(--text-slate);
}

.info-tip-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-color: rgba(56, 189, 248, 0.25);
}

.info-tip-card svg {
  color: var(--cyan-bright);
  flex-shrink: 0;
}

.info-tip-card h4 {
  font-size: 12px;
  font-weight: 800;
  color: var(--cyan-bright);
}

.info-tip-card p {
  font-size: 11px;
  color: var(--text-slate);
}

.info-tip-card .tip-chevron {
  color: var(--text-slate);
  margin-left: auto;
}

/* ==========================================================================
   Screen 5: Avatar Selection (Image 5)
   ========================================================================== */
.avatar-2x3-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.avatar-portrait-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border-radius: var(--radius-md);
  background: rgba(8, 23, 44, 0.85);
  border: 1.5px solid rgba(56, 189, 248, 0.2);
  padding: 6px 4px 10px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.avatar-portrait-card.selected {
  border-color: var(--cyan-neon) !important;
  box-shadow: var(--shadow-neon-cyan);
  background: #09213f;
}

.avatar-portrait-img {
  width: 100%;
  height: 120px;
  object-fit: contain;
}

.avatar-portrait-name {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 4px;
}

.avatar-portrait-card.selected .avatar-portrait-name {
  color: var(--cyan-neon);
  text-shadow: 0 0 8px var(--cyan-glow);
}

/* 3-Column Info Strip under avatar grid */
.avatar-info-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 12px 8px;
  gap: 6px;
  border-radius: var(--radius-sm);
}

.info-strip-col {
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.info-strip-col svg {
  width: 16px;
  height: 16px;
  color: var(--cyan-bright);
  flex-shrink: 0;
  margin-top: 2px;
}

.info-strip-col.gold svg {
  color: var(--gold-star);
}

.info-strip-col.purple svg {
  color: var(--purple-accent);
}

.info-strip-col-text h4 {
  font-size: 11px;
  font-weight: 800;
  color: #ffffff;
}

.info-strip-col-text p {
  font-size: 9px;
  color: var(--text-slate);
  line-height: 1.25;
}

.split-actions-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 12px;
  margin-top: 8px;
}

/* ==========================================================================
   Quiz, Questions, Map, Ranking & Profile Screens Styling
   ========================================================================== */
.quiz-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.quiz-close-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(11, 28, 51, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.22);
  color: var(--text-slate);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quiz-badge {
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  background: rgba(0, 240, 255, 0.15);
  border: 1px solid rgba(0, 240, 255, 0.4);
  color: var(--cyan-neon);
  font-size: 12px;
  font-weight: 800;
}

.quiz-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.quiz-card h2 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #ffffff;
}

.answers-stack {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.answer-option-btn {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  text-align: left;
  border-radius: var(--radius-sm);
  background: rgba(8, 23, 44, 0.85);
  border: 1.5px solid rgba(56, 189, 248, 0.2);
  color: #ffffff;
  font-size: 14px;
}

.answer-option-btn:hover {
  border-color: var(--cyan-bright);
}

.answer-letter-badge {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: var(--cyan-neon);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.answer-option-btn.correct {
  border-color: var(--lime-bright) !important;
  background: rgba(22, 60, 20, 0.85);
}

.answer-option-btn.correct .answer-letter-badge {
  background: var(--lime-bright);
  color: #061a00;
}

.answer-option-btn.wrong {
  border-color: #ef4444 !important;
  background: rgba(60, 20, 20, 0.85);
}

.answer-option-btn.wrong .answer-letter-badge {
  background: #ef4444;
  color: #ffffff;
}

.feedback-banner {
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

.feedback-banner.correct {
  background: rgba(20, 50, 20, 0.9);
  border: 1px solid var(--lime-bright);
}

.feedback-banner.wrong {
  background: rgba(50, 20, 20, 0.9);
  border: 1px solid #ef4444;
}

/* Forms in Profile & Onboarding */
.input-field-wrap {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

.input-field-wrap label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-slate);
}

.input-styled {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: rgba(6, 18, 36, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #ffffff;
  font-size: 14px;
  outline: none;
}

.input-styled:focus {
  border-color: var(--cyan-neon);
  box-shadow: 0 0 10px var(--cyan-glow);
}

/* Map Path Nodes */
.map-nodes-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  padding: 20px 0;
}

.map-node-pill {
  width: 100%;
  max-width: 320px;
  padding: 14px 18px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(8, 23, 44, 0.85);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
}

.map-node-pill.active {
  border-color: var(--cyan-neon);
  box-shadow: var(--shadow-neon-cyan);
}

.map-node-pill.done {
  border-color: var(--lime-bright);
}

.node-badge-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #09213f;
  border: 1.5px solid var(--cyan-bright);
  color: var(--cyan-bright);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Generic Utilities */
.text-center { text-align: center; }
.w-full { width: 100%; }
.mt-2 { margin-top: 8px; }
.mt-4 { margin-top: 16px; }
