/* ============================================
   SONIC JOURNEYS - Award-Winning Interface
   Transcendent soundscapes with ancient frequencies
   ============================================ */

.sonic-journeys {
    min-height: 100%;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(168, 85, 247, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 10%, rgba(232, 121, 249, 0.06) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 80%, rgba(34, 211, 238, 0.04) 0%, transparent 50%),
        linear-gradient(135deg, #0a0a0f 0%, #0d1117 50%, #0a0a0f 100%);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

/* Ambient particle dots — CSS-only background effect */
.sonic-journeys::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 15%, rgba(168, 85, 247, 0.4), transparent),
        radial-gradient(1px 1px at 30% 25%, rgba(232, 121, 249, 0.3), transparent),
        radial-gradient(1px 1px at 50% 10%, rgba(0, 255, 136, 0.25), transparent),
        radial-gradient(1px 1px at 70% 20%, rgba(34, 211, 238, 0.3), transparent),
        radial-gradient(1px 1px at 85% 30%, rgba(255, 170, 0, 0.25), transparent),
        radial-gradient(1px 1px at 15% 40%, rgba(168, 85, 247, 0.2), transparent),
        radial-gradient(1px 1px at 40% 50%, rgba(232, 121, 249, 0.2), transparent),
        radial-gradient(1px 1px at 60% 45%, rgba(0, 255, 136, 0.2), transparent),
        radial-gradient(1px 1px at 90% 55%, rgba(34, 211, 238, 0.2), transparent),
        radial-gradient(1px 1px at 25% 60%, rgba(255, 170, 0, 0.2), transparent);
    background-size: 200px 200px;
    animation: sj-ambient-drift 30s linear infinite;
    opacity: 0.6;
    pointer-events: none;
    z-index: 0;
}

@keyframes sj-ambient-drift {
    0% { transform: translateY(0) translateX(0); }
    50% { transform: translateY(-30px) translateX(15px); }
    100% { transform: translateY(0) translateX(0); }
}

/* ==========================================
   JOURNEY SELECTION VIEW
   ========================================== */

.journey-selection {
    max-width: 1400px;
    margin: 0 auto;
}

.journey-selection.hidden {
    display: none;
}

.journeys-header {
    text-align: center;
    margin-bottom: 48px;
    padding: 48px 24px 36px;
    position: relative;
    z-index: 1;
    border-bottom: 1px solid rgba(168, 85, 247, 0.12);
}

.journeys-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(600px 300px at 50% 20%, rgba(168, 85, 247, 0.06), transparent),
        radial-gradient(400px 200px at 30% 50%, rgba(232, 121, 249, 0.04), transparent),
        radial-gradient(400px 200px at 70% 50%, rgba(245, 158, 11, 0.03), transparent);
    border-radius: 16px;
    z-index: -1;
}

.journeys-header h2 {
    font-size: 3.5rem;
    font-family: 'Cinzel', serif;
    font-weight: 700;
    background: linear-gradient(135deg, #a855f7 0%, #e879f9 25%, #ffd700 50%, #22d3ee 75%, #00ff88 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 12px;
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: sj-title-shimmer 6s ease-in-out infinite;
    text-shadow: none;
}

@keyframes sj-title-shimmer {
    0%, 100% { background-position: 0% center; }
    50% { background-position: 200% center; }
}

.journeys-subtitle {
    color: rgba(255, 255, 255, 0.55);
    font-size: 1.15rem;
    font-style: italic;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: 0.04em;
}

/* Navigation to other audio experiences */
.sj-nav-links {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.sj-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 25px;
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-family: inherit;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sj-nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 255, 136, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.sj-nav-icon {
    font-size: 1.1rem;
}

.sj-nav-link.sj-external::after {
    content: '↗';
    font-size: 0.7rem;
    opacity: 0.5;
    margin-left: 4px;
}

/* Journey Cards Grid */
.journeys-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

/* Individual Journey Card */
.journey-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --gradient-1: #4a148c;
    --gradient-2: #7b1fa2;
    --gradient-3: #9c27b0;
}

.journey-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
        0 30px 60px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(168, 85, 247, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.journey-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--gradient-1);
    opacity: 0.85;
    transition: opacity 0.5s, transform 0.5s;
    transform: scale(1.05);
}

.journey-card:hover .journey-card-bg {
    opacity: 1;
    transform: scale(1.12);
}

.journey-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.7) 60%, rgba(0,0,0,0.85) 100%);
    z-index: 1;
}

.journey-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    z-index: 2;
    transition: border-color 0.3s;
}

.journey-card:hover::after {
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: inset 0 0 30px rgba(168, 85, 247, 0.1);
}

.journey-card-content {
    position: relative;
    z-index: 3;
    padding: 28px;
    display: flex;
    flex-direction: column;
    min-height: 380px;
}

.journey-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
    animation: float 4s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.journey-name {
    font-size: 1.6rem;
    color: #ffffff;
    margin-bottom: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8);
}

.journey-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    font-style: italic;
    margin-bottom: 16px;
    text-shadow: 0 1px 8px rgba(0,0,0,0.6);
}

.journey-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 16px;
    flex-grow: 1;
    text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.journey-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.journey-duration {
    background: rgba(0, 0, 0, 0.3);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #ffffff;
}

.journey-intensity {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.journey-intensity.gentle {
    background: rgba(76, 175, 80, 0.3);
    color: #81c784;
    border: 1px solid rgba(76, 175, 80, 0.5);
}

.journey-intensity.moderate {
    background: rgba(255, 193, 7, 0.3);
    color: #ffd54f;
    border: 1px solid rgba(255, 193, 7, 0.5);
}

.journey-intensity.deep {
    background: rgba(156, 39, 176, 0.3);
    color: #ce93d8;
    border: 1px solid rgba(156, 39, 176, 0.5);
}

.journey-intensity.intense {
    background: rgba(244, 67, 54, 0.3);
    color: #ef9a9a;
    border: 1px solid rgba(244, 67, 54, 0.5);
}

.journey-headphones {
    font-size: 1.2rem;
    opacity: 0.8;
}

.journey-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.benefit-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
}

.journey-start-btn {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    padding: 14px 28px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.journey-start-btn:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Info Section */
.journeys-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    padding: 24px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.info-icon {
    font-size: 1.5rem;
}

/* ==========================================
   PLAYBACK VIEW
   ========================================== */

.journey-playback {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    min-height: calc(100vh - 200px);
}

.journey-playback.hidden {
    display: none;
}

.back-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    align-self: flex-start;
    margin-bottom: 20px;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Visualization Area */
.playback-visual {
    flex: 1;
    min-height: 400px;
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    margin-bottom: 24px;
}

#journey-canvas {
    width: 100%;
    height: 100%;
    display: block;
}

.journey-info-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    pointer-events: none;
}

.journey-info-overlay h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 8px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

#playback-phase {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    font-style: italic;
}

/* Playback Controls */
.playback-controls {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.playback-progress {
    margin-bottom: 20px;
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    cursor: pointer;
    overflow: hidden;
    margin-bottom: 8px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, #00ffcc);
    border-radius: 3px;
    width: 0%;
    transition: width 0.1s linear;
    position: relative;
}

.progress-times {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Monaco', 'Consolas', monospace;
}

.transport-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.transport-btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00ff88, #00cc66);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: #0a0a0f;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 255, 136, 0.3);
}

.transport-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 255, 136, 0.5);
}

.transport-btn:active {
    transform: scale(0.92) !important;
}

/* ── SVG play/pause icon swap (CSS-driven) ── */
.sj-play-icon {
    display: flex;
    align-items: center;
    justify-content: center;
}
.sj-icon-pause { display: none; }
.playback-controls[data-state="playing"] .sj-icon-play { display: none; }
.playback-controls[data-state="playing"] .sj-icon-pause { display: block; }

/* ── Loader ring (spins on loading) ── */
.sj-play-loader {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: #00ff88;
    opacity: 0;
    pointer-events: none;
}
.playback-controls[data-state="loading"] .sj-play-loader {
    opacity: 1;
    animation: sj-spin 0.7s linear infinite;
}
.playback-controls[data-state="loading"] .sj-play-icon {
    opacity: 0.3;
}
@keyframes sj-spin { to { transform: rotate(360deg); } }

/* ── Ambient glow ring when playing ── */
.playback-controls[data-state="playing"] .transport-btn::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 255, 136, 0.12), transparent 70%);
    animation: sj-glow 2.5s ease-in-out infinite;
    pointer-events: none;
}
@keyframes sj-glow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

/* ── Mini waveform bars ── */
.sj-bars {
    display: flex;
    align-items: flex-end;
    gap: 2px;
    height: 22px;
    flex-shrink: 0;
}
.sj-bars span {
    display: block;
    width: 3px;
    border-radius: 2px;
    background: #00ff88;
    transform-origin: bottom;
    transform: scaleY(0.15);
}
.sj-bars span:nth-child(1) { height: 7px; }
.sj-bars span:nth-child(2) { height: 16px; }
.sj-bars span:nth-child(3) { height: 11px; }
.sj-bars span:nth-child(4) { height: 20px; }
.sj-bars span:nth-child(5) { height: 9px; }

.playback-controls[data-state="playing"] .sj-bars span:nth-child(1) { animation: sj-bv 0.9s ease-in-out 0.00s infinite; }
.playback-controls[data-state="playing"] .sj-bars span:nth-child(2) { animation: sj-bv 0.7s ease-in-out 0.08s infinite; }
.playback-controls[data-state="playing"] .sj-bars span:nth-child(3) { animation: sj-bv 1.1s ease-in-out 0.15s infinite; }
.playback-controls[data-state="playing"] .sj-bars span:nth-child(4) { animation: sj-bv 0.6s ease-in-out 0.05s infinite; }
.playback-controls[data-state="playing"] .sj-bars span:nth-child(5) { animation: sj-bv 0.85s ease-in-out 0.12s infinite; }

@keyframes sj-bv {
    0%, 100% { transform: scaleY(0.15); opacity: 0.5; }
    50% { transform: scaleY(1); opacity: 1; }
}

.playback-controls[data-state="paused"] .sj-bars span {
    transform: scaleY(0.3);
    transition: transform 0.3s ease;
}

.playback-controls[data-state="loading"] .sj-bars span {
    animation: sj-load-bars 0.5s ease-in-out infinite alternate;
}
@keyframes sj-load-bars {
    from { transform: scaleY(0.15); opacity: 0.3; }
    to { transform: scaleY(0.5); opacity: 0.6; }
}

/* ── Loading shimmer on progress bar ── */
.progress-load {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(0, 255, 136, 0.06);
    border-radius: 3px;
    width: 0%;
    pointer-events: none;
}
.progress-bar {
    position: relative;
}
.playback-controls[data-state="loading"] .progress-fill {
    width: 100% !important;
    background: linear-gradient(90deg, transparent 30%, rgba(0, 255, 136, 0.25) 50%, transparent 70%);
    background-size: 200% 100%;
    animation: sj-shimmer 1.5s ease-in-out infinite;
}
@keyframes sj-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ── Progress bar hover expand ── */
.progress-bar {
    transition: height 0.15s ease;
}
.progress-bar:hover {
    height: 10px;
}
.progress-fill::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    width: 10px;
    height: 10px;
    background: #00ff88;
    border-radius: 50%;
    transform: translateY(-50%) scale(0);
    transition: transform 0.15s ease;
    box-shadow: 0 0 6px rgba(0, 255, 136, 0.4);
}
.progress-bar:hover .progress-fill::after {
    transform: translateY(-50%) scale(1);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 12px;
}

.volume-icon {
    color: rgba(255, 255, 255, 0.6);
    display: flex;
    align-items: center;
}

#playback-volume {
    width: 120px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255, 255, 255, 0.1);
    appearance: none;
    cursor: pointer;
}

#playback-volume::-webkit-slider-thumb {
    appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00ff88;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

/* Frequency Display */
.frequency-display {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.freq-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    border: 1px solid var(--freq-color, #00ff88);
}

.freq-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--freq-color, #00ff88);
    box-shadow: 0 0 8px var(--freq-color, #00ff88);
    animation: freq-pulse 1.5s infinite;
}

@keyframes freq-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.freq-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.freq-hz {
    font-size: 0.75rem;
    color: var(--freq-color, #00ff88);
    font-family: 'Monaco', 'Consolas', monospace;
}

/* ==========================================
   MOBILE RESPONSIVE
   ========================================== */

@media (max-width: 768px) {
    .sonic-journeys {
        padding: 16px;
    }

    .journeys-header h2 {
        font-size: 1.8rem;
    }

    .journeys-grid {
        grid-template-columns: 1fr;
    }

    .journey-card-content {
        padding: 20px;
        min-height: 320px;
    }

    .journey-icon {
        font-size: 2.5rem;
    }

    .journey-name {
        font-size: 1.3rem;
    }

    .journeys-info {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    .playback-visual {
        min-height: 300px;
    }

    .journey-info-overlay {
        padding: 20px;
    }

    .journey-info-overlay h2 {
        font-size: 1.5rem;
    }

    .transport-btn {
        width: 56px;
        height: 56px;
    }

    .transport-controls {
        gap: 12px;
    }

    .sj-bars {
        display: none;
    }

    #playback-volume {
        width: 80px;
    }
}

/* ==========================================
   SLEEP JOURNEY STYLES
   ========================================== */

/* SLEEP category badge */
.journey-category-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 4;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(100, 120, 180, 0.4);
    color: rgba(140, 160, 220, 0.9);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
}

/* Sleep card dark variant */
.journey-card--sleep .journey-card-bg {
    opacity: 0.95;
}

.journey-card--sleep::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.journey-card--sleep:hover {
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 40px rgba(60, 80, 140, 0.15);
}

.journey-card--sleep .journey-start-btn {
    background: linear-gradient(135deg, rgba(60, 80, 140, 0.2), rgba(40, 50, 100, 0.1));
    border-color: rgba(100, 120, 180, 0.3);
}

.journey-card--sleep .journey-start-btn:hover {
    background: linear-gradient(135deg, rgba(80, 100, 160, 0.3), rgba(50, 60, 120, 0.15));
    border-color: rgba(120, 140, 200, 0.4);
}

/* Sleep intensity badge */
.journey-intensity.sleep {
    background: rgba(60, 80, 140, 0.3);
    color: rgba(140, 160, 220, 0.9);
    border: 1px solid rgba(80, 100, 160, 0.4);
}

/* Sleep benefit tags */
.journey-card--sleep .benefit-tag {
    background: rgba(60, 80, 140, 0.15);
    border: 1px solid rgba(80, 100, 160, 0.2);
}

/* ==========================================
   ANIMATIONS & EFFECTS
   ========================================== */

/* Shimmer effect removed — conflicts with image overlay gradient */

/* Breathing glow on active journey */
.journey-card.active {
    animation: breathing-glow 4s infinite;
}

@keyframes breathing-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 255, 136, 0.2); }
    50% { box-shadow: 0 0 40px rgba(0, 255, 136, 0.4); }
}

/* Loading state */
.journey-loading {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.journey-loading::after {
    content: '';
    width: 48px;
    height: 48px;
    border: 3px solid rgba(0, 255, 136, 0.3);
    border-top-color: #00ff88;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Focus states for accessibility */
.journey-card:focus-visible,
.journey-start-btn:focus-visible,
.transport-btn:focus-visible {
    outline: 2px solid #00ff88;
    outline-offset: 4px;
}

/* Smooth transitions for everything */
* {
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
