:root {
  --bg-deep: #080911;
  --bg-card: #121326;
  --bg-card-hover: #191b32;
  --border-neon-purple: #3e2268;
  --border-neon-glow: rgba(168, 85, 247, 0.4);
  
  --neon-lime: #b6ff00;
  --neon-lime-hover: #c8ff2a;
  --neon-purple: #9d4edd;
  --neon-pink: #ff5c8a;
  --neon-blue: #38bdf8;
  --neon-orange: #fb923c;
  
  --text-white: #ffffff;
  --text-muted: #8b92ab;
  --text-dim: #5c627a;

  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-brush: 'Yuji Boku', 'Noto Sans JP', cursive;
  --font-display: 'Outfit', sans-serif;

  --radius-phone: 50px;
  --radius-card: 22px;
  --radius-pill: 30px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: #030407;
  color: var(--text-white);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px 16px;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(157, 78, 221, 0.15), transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(182, 255, 0, 0.08), transparent 45%);
}

/* Quick Screen Switcher Bar */
.screen-preview-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  width: 100%;
}

.view-switch-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(20, 22, 38, 0.85);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 18px;
  border-radius: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  flex-wrap: wrap;
  justify-content: center;
  z-index: 100;
}

.switch-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--neon-lime);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--neon-lime);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--neon-lime);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}

.switch-buttons {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.screen-tab-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.screen-tab-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.screen-tab-btn.active {
  background: var(--neon-lime);
  color: #080911;
  border-color: var(--neon-lime);
  box-shadow: 0 0 15px rgba(182, 255, 0, 0.4);
}

/* iPhone Device Mockup */
.iphone-mockup {
  width: 395px;
  height: 840px;
  background: var(--bg-deep);
  border-radius: var(--radius-phone);
  border: 7px solid #222538;
  box-shadow: 
    0 0 0 2px #0c0d16,
    0 25px 60px -10px rgba(0, 0, 0, 0.9),
    0 0 40px rgba(157, 78, 221, 0.25);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Dynamic Island */
.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 105px;
  height: 26px;
  background: #000;
  border-radius: 20px;
  z-index: 150;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 10px;
  gap: 8px;
}

.notch-speaker {
  width: 35px;
  height: 4px;
  background: #1a1a1a;
  border-radius: 4px;
}

.notch-camera {
  width: 9px;
  height: 9px;
  background: #0d1a33;
  border-radius: 50%;
}

/* Status Bar */
.phone-status-bar {
  padding: 14px 28px 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  font-weight: 700;
  z-index: 140;
  color: #fff;
}

.status-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.battery-icon {
  width: 22px;
  height: 11px;
  border: 1.5px solid #fff;
  border-radius: 3px;
  padding: 1px;
  position: relative;
}

.battery-icon::after {
  content: '';
  position: absolute;
  right: -3.5px;
  top: 2.5px;
  width: 2px;
  height: 4px;
  background: #fff;
  border-radius: 0 1px 1px 0;
}

.battery-level {
  width: 70%;
  height: 100%;
  background: #fff;
  border-radius: 1px;
}

/* App Viewport */
.app-viewport {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  position: relative;
  padding-bottom: 80px;
}

.app-viewport::-webkit-scrollbar {
  display: none;
}

/* Background Doodles */
.doodle-backdrop {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

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

.doodle-lime { stroke: var(--neon-lime); }
.doodle-purple { stroke: var(--neon-purple); }
.doodle-pink { stroke: var(--neon-pink); }

/* Screen Pane Management */
.screen-pane {
  display: none;
  padding: 12px 18px 24px;
  position: relative;
  z-index: 1;
  flex-direction: column;
  gap: 16px;
  animation: fadeInPane 0.25s ease;
}

.screen-pane.active {
  display: flex;
}

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

/* Neon Card Common Style */
.neon-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-neon-purple);
  border-radius: var(--radius-card);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
  position: relative;
  overflow: hidden;
}

/* Top App Header */
.screen-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2px;
}

.brand-kanji-title {
  display: flex;
  align-items: center;
  gap: 4px;
}

.kanji-brush-brand {
  font-family: var(--font-brush), var(--font-jp);
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  color: #ffffff;
  text-shadow: 0 0 14px rgba(255, 255, 255, 0.5);
}

.brand-latin {
  font-family: var(--font-brush), var(--font-body);
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
}

.sparkle-star {
  color: var(--neon-purple);
  font-size: 1.1rem;
  animation: rotateSparkle 6s linear infinite;
}

@keyframes rotateSparkle {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-round-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
}

.btn-emoji {
  font-size: 1rem;
}

.dot-badge {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 6px;
  height: 6px;
  background: var(--neon-pink);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--neon-pink);
}

/* Exact User Avatar Badge in Top Right */
.user-avatar-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-lime), #10b981);
  padding: 1.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(182, 255, 0, 0.3);
}

.avatar-exact-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Hero Character Section with Exact Artwork */
.hero-character-section {
  position: relative;
  min-height: 175px;
  display: flex;
  align-items: center;
  border-radius: 20px;
  overflow: visible;
}

.hero-image-wrapper {
  position: absolute;
  right: -10px;
  top: -12px;
  width: 215px;
  height: 185px;
  z-index: 1;
  pointer-events: none;
}

.hero-exact-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.7));
}

.hero-overlay-text {
  max-width: 190px;
  z-index: 2;
}

.hero-greeting-kanji {
  font-family: var(--font-brush), var(--font-jp);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-brush-line {
  width: 110px;
  height: 4px;
  background: linear-gradient(90deg, var(--neon-lime), transparent);
  border-radius: 4px;
  margin: 6px 0 10px;
}

.hero-subtext {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.4;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.highlight-green {
  color: var(--neon-lime);
  font-weight: 800;
}

/* Daily Step CTA Card */
.daily-step-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: #111226;
}

.step-badge-pill {
  align-self: flex-start;
  background: var(--neon-purple);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 0.03em;
}

.step-card-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-info-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}

.lesson-num-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: #c084fc;
  display: flex;
  align-items: center;
  gap: 4px;
}

.step-title {
  font-family: var(--font-jp);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.3;
}

.furigana {
  font-size: 0.85rem;
}

.step-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.step-progress-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.progress-label {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.progress-bar-track {
  width: 90px;
  height: 6px;
  background: #252843;
  border-radius: 6px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: var(--neon-lime);
  border-radius: 6px;
  box-shadow: 0 0 8px var(--neon-lime);
}

.progress-pct {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--neon-lime);
}

/* Exact Kanji Splash Box */
.kanji-splash-box {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.kanji-splash-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(182, 255, 0, 0.4));
}

/* Lime Brush Buttons */
.btn-lime-brush {
  width: 100%;
  background: var(--neon-lime);
  color: #07080e;
  border: none;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 900;
  padding: 13px 20px;
  border-radius: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(182, 255, 0, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-lime-brush:hover {
  transform: translateY(-2px);
  background: var(--neon-lime-hover);
  box-shadow: 0 8px 25px rgba(182, 255, 0, 0.55);
}

.btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.2s ease;
}

.btn-lime-brush:hover .btn-arrow {
  transform: translateX(4px);
}

/* Quick Stats Row */
.stats-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.stat-mini-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-neon-purple);
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.stat-icon-flame {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 6px rgba(255, 92, 138, 0.6));
}

.stat-icon-face {
  font-size: 1.8rem;
  filter: drop-shadow(0 0 6px rgba(182, 255, 0, 0.6));
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-title {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.stat-number-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-number-row strong {
  font-size: 1.1rem;
}

.text-lime { color: var(--neon-lime); }

.arrow-mini {
  color: var(--text-muted);
  font-size: 1rem;
}

.stat-caption {
  font-size: 0.62rem;
  color: var(--text-dim);
}

/* 40-Day Challenge Timeline Box */
.timeline-challenge-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.timeline-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fuji-mini-icon {
  font-size: 1.5rem;
}

.sub-lead {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.timeline-header h4 {
  font-size: 0.95rem;
  font-weight: 800;
}

.day-counter-badge {
  background: var(--neon-purple);
  padding: 6px 12px;
  border-radius: 12px;
  text-align: right;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.curr-day {
  font-size: 0.88rem;
  font-weight: 800;
  color: #fff;
}

.total-days {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
}

.timeline-track-wrapper {
  position: relative;
  padding: 6px 8px;
}

.timeline-line {
  position: absolute;
  top: 14px;
  left: 20px;
  right: 20px;
  height: 3px;
  background: #282b48;
}

.timeline-line-active {
  height: 100%;
  background: var(--neon-lime);
  box-shadow: 0 0 8px var(--neon-lime);
}

.timeline-nodes {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.timeline-node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.node-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--neon-lime);
  color: #07080e;
  font-size: 0.68rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}

.node-dot-pulse {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--neon-lime);
  box-shadow: 0 0 10px var(--neon-lime);
  border: 3px solid var(--bg-deep);
}

.node-ring {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #3b4260;
  background: var(--bg-deep);
}

.node-label {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.node-label.highlight {
  color: var(--neon-lime);
  font-weight: 800;
}

/* Recommended Practice Section */
.section-block {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.section-title-row h3 {
  font-size: 0.95rem;
  font-weight: 800;
}

.sparkle-purp {
  color: var(--neon-purple);
}

.see-all-link {
  font-size: 0.72rem;
  color: var(--neon-purple);
  text-decoration: none;
  font-weight: 700;
}

.practice-cards-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.practice-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-neon-purple);
  border-radius: 14px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}

.practice-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 2px;
  position: relative;
}

.bg-purp { background: #5b21b6; color: #fff; }
.bg-blue { background: #0284c7; color: #fff; }
.bg-orange { background: #ea580c; color: #fff; }
.bg-cyan { background: #0f766e; color: #fff; }

.pencil-sub {
  position: absolute;
  bottom: -2px;
  right: -2px;
  font-size: 0.75rem;
}

.practice-item-card strong {
  font-size: 0.68rem;
  line-height: 1.2;
}

.card-desc {
  font-size: 0.55rem;
  color: var(--text-muted);
}

.star-rating {
  font-size: 0.6rem;
  color: var(--neon-lime);
  font-weight: 700;
  margin-top: 2px;
}

/* ========================================================== */
/* SCREEN 2: JOURNEY ROADMAP SPECIFICS                        */
/* ========================================================== */
.journey-header-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  position: relative;
}

.journey-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.kanji-huge-brush {
  font-family: var(--font-brush), var(--font-jp);
  font-size: 2.4rem;
  font-weight: 900;
}

.journey-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
  line-height: 1.3;
}

.journey-mascot-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-top: -15px;
}

.speech-bubble-neon {
  background: var(--neon-blue);
  color: #07080e;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 6px 12px;
  border-radius: 16px 16px 2px 16px;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.5);
}

.mascot-mini-hero {
  width: 44px;
  height: 44px;
  position: relative;
}

/* Roadmap Vertical Timeline Steps */
.roadmap-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-left: 6px;
}

.vertical-connector-line {
  position: absolute;
  top: 25px;
  bottom: 25px;
  left: 36px;
  width: 2.5px;
  background: var(--neon-purple);
  z-index: 1;
}

.roadmap-step-card {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 2;
}

.step-number-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #17182c;
  border: 2px solid var(--border-neon-purple);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex-shrink: 0;
}

.step-num {
  position: absolute;
  top: -6px;
  left: -4px;
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--neon-purple);
}

.step-glyph {
  font-size: 1.2rem;
}

.step-details-box {
  flex: 1;
  background: #111226;
  border: 1.5px solid var(--border-neon-purple);
  border-radius: 18px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  position: relative;
}

.step-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.step-top-row h4 {
  font-size: 0.95rem;
  font-weight: 800;
}

.badge-cleared {
  background: var(--neon-lime);
  color: #07080e;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 8px;
}

.badge-almost {
  background: #7c3aed;
  color: #fff;
  font-size: 0.65rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 8px;
}

.step-sub {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.step-bar {
  width: 100%;
  height: 5px;
  background: #252843;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 4px;
}

.step-bar-fill {
  height: 100%;
  background: var(--neon-lime);
}

.pct-tag {
  align-self: flex-end;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--neon-lime);
}

/* Active Glowing Step 04 (26) */
.here-now-pointer {
  position: absolute;
  top: -18px;
  left: 2px;
  color: var(--neon-lime);
  font-size: 0.68rem;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  z-index: 10;
}

.curved-arrow {
  font-size: 1rem;
  display: block;
}

.active-lime-bubble {
  background: #0f101f;
  border: 2.5px solid var(--neon-lime);
  box-shadow: 0 0 15px rgba(182, 255, 0, 0.5);
}

.step-current-number {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--neon-lime);
}

.glowing-border {
  border-color: #8b5cf6;
  box-shadow: 0 0 18px rgba(139, 92, 246, 0.4);
}

.torii-neon-icon {
  font-size: 1.3rem;
}

.locked-step {
  opacity: 0.5;
}

/* Journey Summary Footer */
.journey-summary-footer {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 8px;
  padding: 12px;
}

.sum-col {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sum-title {
  display: block;
  font-size: 0.58rem;
  color: var(--text-muted);
}

.sum-col strong {
  font-size: 0.78rem;
}

.sub-val {
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* ========================================================== */
/* SCREEN 3: INTERACTIVE LESSON SPECIFICS                     */
/* ========================================================== */
.lesson-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-back-arrow {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
}

.lesson-header-title {
  font-family: var(--font-brush), var(--font-jp);
  font-size: 1.2rem;
  font-weight: 900;
}

.lesson-streak-pill {
  font-size: 0.78rem;
  font-weight: 700;
  color: #ff7597;
}

.lesson-stepper-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.lesson-stepper-dots .dot {
  width: 14px;
  height: 6px;
  border-radius: 6px;
  background: #2a2d48;
}

.lesson-stepper-dots .dot.active {
  width: 24px;
  background: var(--neon-lime);
  box-shadow: 0 0 8px var(--neon-lime);
}

.lesson-hero-banner {
  padding: 14px 16px;
}

.banner-badge {
  display: inline-block;
  background: var(--neon-purple);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 10px;
  margin-bottom: 6px;
}

.banner-content-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.banner-title-brush {
  font-family: var(--font-brush), var(--font-jp);
  font-size: 2.2rem;
  font-weight: 900;
  line-height: 1;
}

.brush-lime-under {
  width: 90px;
  height: 4px;
  background: var(--neon-lime);
  border-radius: 4px;
  margin: 4px 0 8px;
}

.banner-sub {
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.banner-mascot-peace {
  width: 50px;
  height: 50px;
  position: relative;
}

/* Vocab Main Card */
.vocab-main-card {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.vocab-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.vocab-badge-tag {
  background: #4c1d95;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
}

.big-hiragana-display {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.calligraphy-text {
  font-family: var(--font-brush), var(--font-jp);
  font-size: 3.2rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.05em;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.romaji-audio-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.romaji-text {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  color: #a855f7;
  letter-spacing: 0.05em;
}

.audio-speaker-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #7c3aed;
  border: none;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(124, 58, 237, 0.6);
  transition: transform 0.15s ease;
}

.audio-speaker-btn:hover {
  transform: scale(1.15);
}

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

/* Usage Dialogue */
.usage-dialogue-box {
  background: #090a16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.usage-badge {
  align-self: flex-start;
  background: #312e81;
  color: #c7d2fe;
  font-size: 0.62rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 8px;
}

.dialogue-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dialogue-lines {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.dialogue-row {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
}

.speaker-tag {
  color: var(--neon-lime);
}

.phrase-jp {
  font-weight: 700;
}

.phrase-rom {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.doodle-friends-greeting {
  text-align: center;
  font-size: 1.1rem;
}

.lesson-tip-box {
  background: rgba(168, 85, 247, 0.1);
  border: 1px solid rgba(168, 85, 247, 0.3);
  border-radius: 12px;
  padding: 10px 12px;
}

.tip-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 800;
  color: #c084fc;
  margin-bottom: 4px;
}

.tip-text {
  font-size: 0.75rem;
  line-height: 1.4;
}

.tip-sub {
  color: var(--text-muted);
}

/* ========================================================== */
/* SCREEN 4: PERSIAPAN JEPANG SPECIFICS                       */
/* ========================================================== */
.prep-main-title {
  font-family: var(--font-brush), var(--font-body);
  font-size: 1.9rem;
  font-weight: 900;
  line-height: 1.1;
}

/* Circular Gauge Widget */
.readiness-gauge-card {
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.gauge-meter-wrapper {
  width: 90px;
  height: 90px;
  position: relative;
  flex-shrink: 0;
}

.circular-chart {
  display: block;
  margin: 0 auto;
  max-width: 100%;
}

.circle-bg {
  fill: none;
  stroke: #252843;
  stroke-width: 3.8;
}

.circle-fill {
  fill: none;
  stroke-width: 3.8;
  stroke: var(--neon-lime);
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px var(--neon-lime));
  transform: rotate(-90deg);
  transform-origin: 50% 50%;
}

.gauge-center-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.score-num {
  font-size: 1.5rem;
  font-weight: 900;
}

.score-denom {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.gauge-info-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.gauge-category {
  font-size: 0.68rem;
  color: var(--neon-purple);
  font-weight: 700;
}

.gauge-status-title {
  font-size: 1.15rem;
  font-weight: 800;
}

.gauge-desc {
  font-size: 0.68rem;
  color: var(--text-muted);
  line-height: 1.3;
  margin-bottom: 6px;
}

.btn-lime-small {
  align-self: flex-start;
  background: var(--neon-lime);
  color: #07080e;
  border: none;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Skills List */
.skills-grid-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.skill-card-item {
  background: var(--bg-card);
  border: 1px solid var(--border-neon-purple);
  border-radius: 14px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.skill-icon-wrap {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.icon-purple { background: #581c87; }
.icon-pink { background: #831843; }
.icon-orange { background: #7c2d12; }
.icon-blue { background: #1e3a8a; }
.icon-green { background: #14532d; }

.skill-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.skill-info strong {
  font-size: 0.82rem;
}

.skill-info span {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.skill-gauge-pct {
  font-size: 0.78rem;
  font-weight: 800;
}

.pct-green { color: var(--neon-lime); }
.pct-pink { color: var(--neon-pink); }
.pct-orange { color: var(--neon-orange); }
.pct-blue { color: var(--neon-blue); }

.chevron-right {
  color: var(--text-muted);
}

/* Missions Carousel */
.mission-cards-carousel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.mission-item {
  border-radius: 14px;
  padding: 10px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mission-purple { background: #2e1065; }
.mission-orange { background: #431407; }
.mission-blue { background: #172554; }
.mission-dark { background: #18181b; }

.mission-item strong {
  font-size: 0.65rem;
  line-height: 1.2;
}

.mission-meta {
  font-size: 0.55rem;
  color: var(--text-muted);
}

.mission-foot {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 2px;
}

.xp-badge {
  font-size: 0.6rem;
  font-weight: 800;
  color: var(--neon-lime);
}

.check-circle-green {
  color: var(--neon-lime);
  font-size: 0.75rem;
}

/* Bottom App Navigation Dock */
.app-bottom-nav {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 68px;
  background: #090a16;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-around;
  align-items: center;
  z-index: 100;
  padding-bottom: 8px;
}

.nav-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-tab-btn:hover, .nav-tab-btn.active {
  color: #fff;
}

.nav-tab-btn.active .nav-icon {
  color: var(--neon-lime);
}

.nav-tab-btn.active .nav-label {
  color: var(--neon-lime);
  font-weight: 800;
}

.nav-icon {
  font-size: 1.15rem;
}

.nav-label {
  font-size: 0.62rem;
  font-weight: 600;
}

.nav-journey-badge {
  position: relative;
}

.nav-label.highlight {
  color: var(--neon-lime);
}
