/* 
 * Nobel Aesthetic Design System
 * Ted.Talks.DZ IELTS Modules
 * Shared CSS for all lesson modules
 */

:root {
    /* Color Palette */
    /* Color Palette - Dark Mode */
    --canvas: #0c0a09;
    --ink: #fafaf9;
    --ink-secondary: #a8a29e;
    --ink-muted: #57534e;
    --gold: #C5A059;
    --gold-hover: #b48638;
    --gold-light: rgba(197, 160, 89, 0.2);
    --border: #292524;
    --panel: #1c1917;
    --success: #047857;
    --success-hover: #065f46;
    --alert: #be123c;
    --alert-hover: #9f1239;
    --trap-orange: #ea580c;

    /* Neutral Grays */
    --gray-light: #E7E5E4;
    --gray-medium: #d4d4d4;
    --gray-dark: #78716c;

    /* Typography */
    --font-display: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Motion */
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --duration-fast: 0.3s;
    --duration-normal: 0.6s;
}

/* Departure Board Split-Flap Animation */
@keyframes splitFlap {
    0% {
        transform: scaleY(1);
        opacity: 1;
    }

    45% {
        transform: scaleY(0);
        opacity: 0.5;
    }

    55% {
        transform: scaleY(0);
        opacity: 0.5;
    }

    100% {
        transform: scaleY(1);
        opacity: 1;
    }
}

.split-flap {
    animation: splitFlap 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Success Celebration */
@keyframes confetti {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

.celebration {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
}

.confetti-piece {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--gold);
    animation: confetti 3s ease-out forwards;
}

/* Base Styles */
body {
    font-family: var(--font-body);
    background: var(--canvas);
    color: var(--ink);
    line-height: 1.6;
}

/* Meta Label */
.meta-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--ink-muted);
}

/* Shared Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.02);
    }
}

@keyframes pulseGold {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(197, 160, 89, 0);
    }
}

@keyframes pulseGreen {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(4, 120, 87, 0.4);
    }

    50% {
        box-shadow: 0 0 0 10px rgba(4, 120, 87, 0);
    }
}

@keyframes shakeRed {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

@keyframes flashRed {

    0%,
    100% {
        background: var(--canvas);
    }

    50% {
        background: rgba(190, 18, 60, 0.2);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }

    100% {
        background-position: 1000px 0;
    }
}

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.fade-in-scale {
    animation: fadeInScale 0.4s ease-out forwards;
}

.pulse {
    animation: pulse 0.5s ease-out;
}

.pulse-gold {
    animation: pulseGold 0.6s ease-out;
}

.pulse-green {
    animation: pulseGreen 0.6s ease-out;
}

.shake-red {
    animation: shakeRed 0.3s ease-out;
}

.flash-red {
    animation: flashRed 0.5s ease-out;
}

/* Back Navigation */
.back-nav {
    position: fixed;
    top: 1.5rem;
    left: 1.5rem;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--panel);
    border: 2px solid var(--border);
    border-radius: 4px;
    /* v7.0: Minimal radius (was 12px) */
    color: var(--ink-secondary);
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s var(--ease-smooth);
}

.back-nav:hover {
    border-color: var(--gold);
    color: var(--gold);
    transform: translateX(-4px);
}

.back-nav svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Common Button Styles - v7.0 Compliant */
.btn-primary {
    background: var(--gold);
    color: var(--canvas);
    /* v7.0: BLACK (--canvas is dark mode black) */
    padding: 1rem 2rem;
    border-radius: 4px;
    /* v7.0: Minimal radius */
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    transition: all 0.3s var(--ease-smooth);
    border: 2px solid var(--gold);
    /* v7.0: 2px border */
    box-shadow: 0 4px 20px rgba(197, 160, 89, 0.3);
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    /* v7.0: Lift 2px */
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.5);
    color: var(--canvas);
    /* Maintain black text */
}

.btn-primary:active {
    transform: translateY(0);
    /* v7.0: Return to position */
}

.btn-primary:focus,
.btn-primary:focus-visible {
    outline: 2px solid var(--gold);
    /* v7.0: 2px gold outline */
    outline-offset: 2px;
}

.btn-secondary {
    padding: 1rem 2rem;
    border: 2px solid var(--border);
    /* v7.0: 2px border */
    border-radius: 4px;
    /* v7.0: Minimal radius */
    background: transparent;
    color: var(--ink-secondary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    transition: all 0.3s var(--ease-smooth);
    cursor: pointer;
}

.btn-secondary:hover {
    border-color: var(--gold);
    color: var(--gold);
    background: rgba(197, 160, 89, 0.05);
}

.btn-secondary:active {
    transform: translateY(0);
    /* v7.0: Consistent behavior */
}

.btn-secondary:focus,
.btn-secondary:focus-visible {
    outline: 2px solid var(--gold);
    /* v7.0: 2px gold outline */
    outline-offset: 2px;
}

/* Success Button - v7.0: Can keep white text on green */
.btn-success {
    background: var(--success);
    color: white;
    padding: 1rem 2rem;
    border-radius: 4px;
    /* v7.0: Minimal radius */
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    transition: all 0.3s var(--ease-smooth);
    border: 2px solid var(--success);
    /* v7.0: 2px border */
    box-shadow: 0 4px 20px rgba(4, 120, 87, 0.3);
    cursor: pointer;
}

.btn-success:hover {
    background: var(--success-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(4, 120, 87, 0.5);
}

.btn-success:active {
    transform: translateY(0);
    /* v7.0: Return to position */
}

.btn-success:focus,
.btn-success:focus-visible {
    outline: 2px solid var(--success);
    /* v7.0: 2px green outline */
    outline-offset: 2px;
}

/* Card Styles - v7.0: Minimal radius */
.card {
    background: var(--panel);
    border: 2px solid var(--border);
    border-radius: 4px;
    /* v7.0: Minimal radius (was 16px) */
    padding: 1.5rem;
    transition: all var(--duration-fast) var(--ease-smooth);
}

.card:hover {
    border-color: var(--gold);
    box-shadow: 0 10px 40px rgba(197, 160, 89, 0.15);
    transform: translateY(-4px);
}

.card:focus,
.card:focus-visible {
    outline: 2px solid var(--gold);
    /* v7.0: 2px gold outline */
    outline-offset: 2px;
}

/* Links - v7.0 Focus States */
a:focus,
a:focus-visible {
    outline: 2px solid var(--gold);
    /* v7.0: 2px gold outline */
    outline-offset: 2px;
}

/* Input Focus States - v7.0 Compliant */
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: 2px solid var(--gold);
    /* v7.0: 2px gold outline */
    outline-offset: 2px;
    border-color: var(--gold);
}

/* Timer Bar */
.timer-bar {
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.timer-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--gold) 0%, #a8893d 100%);
    transition: width var(--duration-fast) linear;
}

.timer-progress.critical {
    background: linear-gradient(90deg, var(--alert-red) 0%, #9f1239 100%);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    gap: 1rem;
}

.stat-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1rem;
    text-align: center;
}

/* Branding */
.brand-header {
    background: linear-gradient(135deg, var(--ink) 0%, var(--ink-secondary) 100%);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.brand-header h1 {
    font-family: var(--font-display);
    font-style: italic;
    font-size: 2.5rem;
}

/* Brand Logo Component */
.brand-logo {
    display: inline-flex;
    align-items: baseline;
    gap: 0.15em;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: inherit;
}

.brand-logo .brand-ted {
    color: var(--ink);
}

.brand-logo .brand-talks {
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    animation: brandBreathe 3s ease-in-out infinite;
}

.brand-logo .brand-dz {
    color: var(--ink);
    text-transform: uppercase;
}

@keyframes brandBreathe {

    0%,
    100% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
    }

    50% {
        opacity: 0.85;
        text-shadow: 0 0 20px rgba(197, 160, 89, 0.6);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .back-nav {
        top: 1rem;
        left: 1rem;
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* ============================================
   TIER 1: AWE-INDUCING ANIMATIONS
   ============================================ */

/* Staggered Entrance - Children animate in sequence */
@keyframes staggerFadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stagger-in>* {
    opacity: 0;
    animation: staggerFadeIn 0.6s var(--ease-smooth) forwards;
}

.stagger-in>*:nth-child(1) {
    animation-delay: 0.05s;
}

.stagger-in>*:nth-child(2) {
    animation-delay: 0.1s;
}

.stagger-in>*:nth-child(3) {
    animation-delay: 0.15s;
}

.stagger-in>*:nth-child(4) {
    animation-delay: 0.2s;
}

.stagger-in>*:nth-child(5) {
    animation-delay: 0.25s;
}

.stagger-in>*:nth-child(6) {
    animation-delay: 0.3s;
}

.stagger-in>*:nth-child(7) {
    animation-delay: 0.35s;
}

.stagger-in>*:nth-child(8) {
    animation-delay: 0.4s;
}

.stagger-in>*:nth-child(9) {
    animation-delay: 0.45s;
}

.stagger-in>*:nth-child(10) {
    animation-delay: 0.5s;
}

/* Departure Board Text Effect */
@keyframes departureReveal {
    0% {
        transform: rotateX(-90deg);
        opacity: 0;
    }

    50% {
        transform: rotateX(-45deg);
        opacity: 0.5;
    }

    100% {
        transform: rotateX(0);
        opacity: 1;
    }
}

.departure-text {
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transform-origin: center bottom;
    animation: departureReveal 0.8s var(--ease-smooth) forwards;
}

.departure-text-stagger>* {
    display: inline-block;
    animation: departureReveal 0.4s var(--ease-smooth) forwards;
    opacity: 0;
}

.departure-text-stagger>*:nth-child(1) {
    animation-delay: 0.05s;
}

.departure-text-stagger>*:nth-child(2) {
    animation-delay: 0.1s;
}

.departure-text-stagger>*:nth-child(3) {
    animation-delay: 0.15s;
}

.departure-text-stagger>*:nth-child(4) {
    animation-delay: 0.2s;
}

.departure-text-stagger>*:nth-child(5) {
    animation-delay: 0.25s;
}

/* Gold Breathing Pulse - For active/focus states */
@keyframes goldBreathe {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4),
            0 4px 20px rgba(197, 160, 89, 0.2);
    }

    50% {
        box-shadow: 0 0 0 8px rgba(197, 160, 89, 0),
            0 8px 30px rgba(197, 160, 89, 0.4);
    }
}

.gold-breathe {
    animation: goldBreathe 2s ease-in-out infinite;
}

/* Hero Text Glow */
@keyframes textGlow {

    0%,
    100% {
        text-shadow: 0 0 10px rgba(197, 160, 89, 0.3);
    }

    50% {
        text-shadow: 0 0 25px rgba(197, 160, 89, 0.6),
            0 0 50px rgba(197, 160, 89, 0.3);
    }
}

.text-glow {
    animation: textGlow 3s ease-in-out infinite;
}

/* ============================================
   TIER 2: INTERACTION FEEDBACK
   ============================================ */

/* Correct Answer - Green Sweep */
@keyframes correctSweep {
    0% {
        background: linear-gradient(90deg,
                rgba(4, 120, 87, 0.3) 0%,
                transparent 0%);
    }

    100% {
        background: linear-gradient(90deg,
                rgba(4, 120, 87, 0.15) 0%,
                rgba(4, 120, 87, 0.15) 100%);
    }
}

@keyframes checkmarkBounce {
    0% {
        transform: scale(0) rotate(-45deg);
        opacity: 0;
    }

    50% {
        transform: scale(1.3) rotate(-45deg);
    }

    100% {
        transform: scale(1) rotate(-45deg);
        opacity: 1;
    }
}

.correct-answer {
    animation: correctSweep 0.5s ease-out forwards;
    border-color: var(--success) !important;
}

.checkmark-bounce {
    animation: checkmarkBounce 0.4s var(--ease-smooth) forwards;
}

/* Incorrect Answer - Shake & Flash */
@keyframes incorrectShake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-8px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(8px);
    }
}

@keyframes incorrectFlash {

    0%,
    100% {
        background-color: transparent;
    }

    25%,
    75% {
        background-color: rgba(190, 18, 60, 0.2);
    }
}

.incorrect-answer {
    animation: incorrectShake 0.5s ease-out,
        incorrectFlash 0.5s ease-out;
    border-color: var(--alert) !important;
}

/* Number Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.count-animation {
    animation: countUp 0.3s var(--ease-smooth) forwards;
}

/* XP Pop-up Float */
@keyframes xpFloat {
    0% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translateY(-50px) scale(1.2);
    }
}

.xp-popup {
    position: absolute;
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    font-size: 1rem;
    color: var(--gold);
    text-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
    pointer-events: none;
    animation: xpFloat 1s ease-out forwards;
}

/* Progress Bar Fill Animation */
@keyframes progressFill {
    from {
        width: 0;
    }
}

.progress-fill-animate {
    animation: progressFill 1s var(--ease-smooth) forwards;
}

/* Word Count Pulse on Update */
@keyframes wordCountPulse {
    0% {
        transform: scale(1);
        color: var(--ink-secondary);
    }

    50% {
        transform: scale(1.15);
        color: var(--gold);
    }

    100% {
        transform: scale(1);
        color: var(--ink-secondary);
    }
}

.word-count-pulse {
    animation: wordCountPulse 0.3s ease-out;
}

/* ============================================
   ENHANCED CELEBRATIONS
   ============================================ */

/* Gold Particle Burst */
@keyframes particleBurst {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }

    100% {
        opacity: 0;
        transform: translate(var(--tx, 50px), var(--ty, -50px)) scale(0);
    }
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gold);
    pointer-events: none;
    animation: particleBurst 0.8s ease-out forwards;
}

/* Screen Flash on Success */
@keyframes screenFlash {
    0% {
        opacity: 0;
    }

    20% {
        opacity: 0.15;
    }

    100% {
        opacity: 0;
    }
}

.screen-flash {
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(197, 160, 89, 0.3) 0%,
            transparent 100%);
    pointer-events: none;
    z-index: 9998;
    animation: screenFlash 0.6s ease-out forwards;
}

/* Achievement Toast Slide-in */
@keyframes toastSlideIn {
    from {
        transform: translateX(120%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(120%);
        opacity: 0;
    }
}

.achievement-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--panel);
    border: 2px solid var(--gold);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(197, 160, 89, 0.2);
    z-index: 10000;
    animation: toastSlideIn 0.5s var(--ease-smooth) forwards;
}

.achievement-toast.hide {
    animation: toastSlideOut 0.5s var(--ease-smooth) forwards;
}

.achievement-toast .toast-icon {
    font-size: 1.5rem;
}

.achievement-toast .toast-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--ink);
}

/* Timer Urgency Pulse */
@keyframes timerUrgent {

    0%,
    100% {
        color: var(--gold);
        text-shadow: 0 0 10px rgba(197, 160, 89, 0.5);
    }

    50% {
        color: var(--alert);
        text-shadow: 0 0 20px rgba(190, 18, 60, 0.8);
    }
}

.timer-urgent {
    animation: timerUrgent 0.5s ease-in-out infinite;
}

/* Circular Timer Ring */
.timer-ring {
    --progress: 100;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: conic-gradient(var(--gold) calc(var(--progress) * 1%),
            var(--border) calc(var(--progress) * 1%));
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.timer-ring::before {
    content: '';
    position: absolute;
    width: 90px;
    height: 90px;
    background: var(--canvas);
    border-radius: 50%;
}

.timer-ring .timer-value {
    position: relative;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--ink);
}

/* ============================================
   JOURNEY THEME: MEANINGFUL FEEDBACK
   ============================================ */

/* Cleared Stamp (replaces +XP popup) */
@keyframes stampIn {
    0% {
        transform: translate(-50%, -50%) scale(2) rotate(-15deg);
        opacity: 0;
    }

    50% {
        transform: translate(-50%, -50%) scale(1.1) rotate(0deg);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(1) rotate(0deg);
        opacity: 1;
    }
}

@keyframes stampFade {

    0%,
    70% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: translate(-50%, -50%) translateY(-20px);
    }
}

.journey-cleared {
    position: fixed;
    z-index: 10000;
    pointer-events: none;
    text-align: center;
    transform: translate(-50%, -50%);
    animation: stampIn 0.4s var(--ease-smooth) forwards,
        stampFade 1.5s ease-out 0.4s forwards;
}

.cleared-stamp {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--success);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    padding: 0.5rem 1rem;
    box-shadow: 0 0 30px rgba(4, 120, 87, 0.5);
}

.cleared-check {
    font-size: 1.5rem;
    color: white;
}

.cleared-text {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: white;
    text-transform: uppercase;
}

.cleared-message {
    margin-top: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: var(--ink-secondary);
}

/* Checkpoint Passed State */
.checkpoint-passed {
    border-color: var(--success) !important;
    background: rgba(4, 120, 87, 0.1) !important;
}

/* Checkpoint Missed State */
@keyframes gentleShake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-4px);
    }

    75% {
        transform: translateX(4px);
    }
}

.checkpoint-missed {
    animation: gentleShake 0.3s ease-out;
    border-color: var(--alert) !important;
}

/* Checkpoint Overlay (replaces confetti) */
.checkpoint-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    animation: fadeIn 0.3s ease-out;
}

.checkpoint-card {
    background: var(--panel);
    border: 2px solid var(--gold);
    border-radius: 16px;
    padding: 2.5rem 3rem;
    text-align: center;
    max-width: 420px;
    box-shadow: 0 0 60px rgba(197, 160, 89, 0.3);
}

.checkpoint-divider {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.6rem;
    color: var(--gold);
    letter-spacing: 0;
    opacity: 0.5;
}

.checkpoint-icon {
    font-size: 2.5rem;
    margin: 1rem 0;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}

.checkpoint-title {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gold);
    margin: 0.5rem 0;
}

.checkpoint-progress {
    margin: 1.5rem 0;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.progress-label {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    color: var(--ink-secondary);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.progress-bar {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.875rem;
    color: var(--gold);
    letter-spacing: 0.1em;
}

.checkpoint-message {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: var(--ink);
    margin: 1.5rem 0;
    line-height: 1.6;
}

.checkpoint-continue {
    background: var(--gold);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    cursor: pointer;
    transition: all 0.3s var(--ease-smooth);
    margin-top: 0.5rem;
}

.checkpoint-continue:hover {
    background: var(--gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.4);
}

/* Journey Toast (replaces achievement toast) */
.journey-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: var(--panel);
    border: 1px solid var(--border);
    border-left: 3px solid var(--success);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    animation: toastSlideIn 0.4s var(--ease-smooth) forwards;
}

.journey-toast.simple {
    border-left-color: var(--gold);
}

.journey-toast.hide {
    animation: toastSlideOut 0.4s var(--ease-smooth) forwards;
}

.journey-toast .toast-check {
    font-size: 1.25rem;
    color: var(--success);
}

.journey-toast.simple .toast-check {
    color: var(--gold);
}

.journey-toast .toast-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.journey-toast .toast-status {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ink);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.journey-toast .toast-hint {
    font-size: 0.75rem;
    color: var(--ink-secondary);
}