/* Bird Radio - Dim Room Aesthetic */

:root {
    --wood-dark: #2f241f;
    --wood-light: #4b3a30;
    --metal-dark: #111516;
    --metal-light: #1f2426;
    --dial-arrow-size: 42px;
    --display-bg: #0a0d0b;
    --display-glow: #6fe7c8;
    --display-dim: #1f3a2f;
    --knob-face: #dcdfe1;
    --knob-side: #b7bdc0;
    --led-on: #ff6b6b;
    --led-off: #402020;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    user-select: none; /* Prevent selection for better app feel */
}

body {
    background-color: #050607;
    background-image: 
        /* The "jungle canopy" light rays */
        radial-gradient(circle at 20% 10%, rgba(111, 231, 200, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 90%, rgba(59, 46, 39, 0.1) 0%, transparent 50%),
        /* The leaf pattern */
        url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M50 0 C60 20 90 30 100 50 C90 70 60 80 50 100 C40 80 10 70 0 50 C10 30 40 20 50 0' fill='%230f1a15' fill-opacity='0.4'/%3E%3C/svg%3E"),
        radial-gradient(circle at 50% 50%, #0f1513 0%, #050607 100%);
    background-size: 100% 100%, 100% 100%, 40px 40px, 100% 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', sans-serif;
    overflow: hidden; /* Prevent scroll */
}

/* Decorative Jungle Elements */
.room::before,
.room::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    pointer-events: none;
    z-index: -1;
    background-repeat: no-repeat;
    background-size: contain;
    filter: blur(8px) brightness(0.3);
    opacity: 0.6;
}

.room::before {
    top: -100px;
    left: -150px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%231a3025' d='M40,-68.7C50.7,-61.2,57.4,-47.5,63.4,-34C69.4,-20.5,74.7,-7.2,73.4,5.4C72.1,18,64.2,29.9,55.4,41.1C46.6,52.3,37,62.8,25.3,67.6C13.6,72.4,-0.2,71.5,-13.9,67.7C-27.6,63.9,-41.2,57.1,-52.4,47C-63.6,36.9,-72.4,23.5,-75.6,8.7C-78.8,-6,-76.4,-22.1,-68.2,-34.9C-60,-47.7,-46,-57.2,-32.8,-63.5C-19.6,-69.8,-9.8,-72.9,2.6,-76.8C15,-80.7,29.3,-76.2,40,-68.7Z' transform='translate(100 100)' /%3E%3C/svg%3E");
    animation: leafFloat 20s ease-in-out infinite;
}

.room::after {
    bottom: -150px;
    right: -100px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%231a3025' d='M44.7,-76.4C57.3,-70.5,66.6,-57.1,72.8,-43C79,-28.9,82.1,-14.1,81.4,-0.4C80.7,13.3,76.2,25.9,69,37.6C61.8,49.3,51.9,60.1,40,68C28.1,75.9,14.1,80.9,-0.6,82C-15.3,83.1,-30.5,80.3,-43.3,73C-56.1,65.7,-66.4,53.8,-73.4,40.4C-80.4,27,-84.1,12,-83.4,-2.4C-82.7,-16.8,-77.6,-30.6,-69.1,-42.6C-60.6,-54.6,-48.7,-64.8,-35.5,-70.3C-22.3,-75.8,-7.7,-76.6,5.3,-85.8C18.3,-95,32.1,-82.3,44.7,-76.4Z' transform='translate(100 100)' /%3E%3C/svg%3E");
    animation: leafFloat 25s ease-in-out infinite reverse;
}

/* Fireflies / Dust Motes */
.fireflies {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.firefly {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #6fe7c8;
    border-radius: 50%;
    filter: blur(2px);
    box-shadow: 0 0 10px #6fe7c8;
    opacity: 0;
}

@keyframes firefly-blink {
    0%, 100% { opacity: 0; transform: scale(0.5) translate(0, 0); }
    50% { opacity: 0.6; transform: scale(1) translate(20px, -20px); }
}

@keyframes leafFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -50px) rotate(5deg); }
    66% { transform: translate(-20px, 20px) rotate(-3deg); }
}

.room {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

/* Radio Case */
.radio-case {
    position: relative;
    width: 800px;
    max-width: 95vw;
    height: auto;
    background: linear-gradient(to bottom, #1d2123, #121516);
    border-radius: 12px;
    box-shadow: 
        0 20px 50px rgba(0,0,0,0.8),
        inset 0 1px 1px rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    padding: 2.5rem;
    gap: 2.5rem;
    transform: rotateX(2deg); /* Subtle 3D effect */
    border: 8px solid #3b2e27; /* Wood trim */
}

/* Wood texture overlay */
.radio-case::before {
    content: '';
    position: absolute;
    top: -8px; left: -8px; right: -8px; bottom: -8px;
    border: 8px solid #2f241f;
    border-radius: 12px;
    pointer-events: none;
    box-shadow: 
        inset 0 0 20px rgba(0,0,0,0.8),
        inset 0 0 40px rgba(15, 26, 21, 0.4); /* Jungle tint */
    z-index: 10;
}

/* Add some subtle vines climbing the case */
.radio-case::after {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 100px;
    height: 100px;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 90 Q 20 50 50 10 Q 80 40 90 0' stroke='%231f3a2f' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='50' cy='10' r='3' fill='%231f3a2f'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 15;
    pointer-events: none;
    transform: rotate(-15deg);
}

/* Antenna */
.antenna {
    position: absolute;
    top: -120px;
    right: 60px;
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.antenna-rod {
    width: 4px;
    height: 100px;
    background: linear-gradient(to bottom, #888, #555, #333);
    border-radius: 2px;
    box-shadow: 
        1px 0 0 rgba(255,255,255,0.1),
        -1px 0 2px rgba(0,0,0,0.3);
    transform: rotate(-5deg);
    transform-origin: bottom center;
}

.antenna-tip {
    width: 8px;
    height: 8px;
    background: radial-gradient(circle at 30% 30%, #666, #333);
    border-radius: 50%;
    margin-top: -2px;
    box-shadow: 0 0 4px rgba(0,0,0,0.5);
    transform: translateX(-2px);
}

.antenna-status {
    position: absolute;
    top: 0.75rem; /* Mid-ish alongside antenna */
    left: calc(100% + 2.5rem); /* Nudge to the right without fixed px */
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: rgba(230, 184, 0, 0);
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
    text-shadow: 0 0 8px rgba(230, 184, 0, 0.5);
    transition: color 0.15s ease, opacity 0.15s ease;
    pointer-events: none;
    opacity: 0;
}

.antenna-status.show {
    color: rgba(230, 184, 0, 0.8);
    opacity: 1;
    animation: tuning-pulse 1.5s ease-in-out infinite;
}

@keyframes tuning-pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* Screws */
.screw {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #555;
    border-radius: 50%;
    box-shadow: inset 1px 1px 2px rgba(0,0,0,0.5);
    z-index: 11;
}
.screw::after {
    content: '';
    position: absolute;
    top: 50%; left: 50%;
    width: 100%; height: 2px;
    background: #333;
    transform: translate(-50%, -50%) rotate(45deg);
}
.screw-tl { top: 10px; left: 10px; }
.screw-tr { top: 10px; right: 10px; }
.screw-bl { bottom: 10px; left: 10px; }
.screw-br { bottom: 10px; right: 10px; }

/* Display Area */
.radio-display-bezel {
    width: 100%;
    background: #000;
    padding: 4px;
    border-radius: 6px;
    box-shadow: 0 2px 5px rgba(255,255,255,0.05);
    height: 200px; /* Slightly taller */
}

.radio-display {
    width: 100%;
    height: 100%;
    background: var(--display-bg);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    padding: 1rem;
    display: flex;
    gap: 1.5rem;
    color: var(--display-glow);
    font-family: 'Space Mono', monospace;
    text-transform: uppercase;
}

/* Grid overlay */
.display-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: 
        linear-gradient(rgba(15, 56, 15, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 56, 15, 0.1) 1px, transparent 1px);
    background-size: 10px 10px;
    pointer-events: none;
    z-index: 1;
}

/* Glass reflection/glare */
.display-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 40%, rgba(255,255,255,0.02) 100%);
    pointer-events: none;
    z-index: 2;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

.sonogram-view {
    flex: 0 0 40%;
    background: #0b120f;
    border: 1px solid var(--display-dim);
    position: relative;
    overflow: hidden;
    /* Static noise effect when empty */
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.15'/%3E%3C/svg%3E");
}

#sonogramImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0; /* Hidden by default until loaded */
    filter: sepia(100%) hue-rotate(50deg) saturate(300%) contrast(1.2);
    mix-blend-mode: screen;
    transition: opacity 0.5s ease;
}

.track-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
    z-index: 1;
    min-width: 0; /* Enable text wrapping in flex child */
}

.info-row {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.label {
    font-size: 0.6rem;
    color: var(--display-dim);
    letter-spacing: 1px;
}

.value {
    font-size: 1.1rem;
    text-shadow: 0 0 5px rgba(51, 255, 0, 0.4);
    line-height: 1.2;
    word-break: break-word;
}

.location-value {
    font-size: 0.75rem;
    opacity: 0.9;
    line-height: 1.4;
}


/* Controls Area */
.radio-controls {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
}

.controls-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    padding: 0 1rem;
    padding-left: 4rem;
}

.tuner-group {
    width: 100%;
    align-items: stretch;
}

.control-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

/* Region Dial - Scrollable frequency-dial style */
.region-dial-container {
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.region-dial-window {
    flex: 1;
    background: #0d1110;
    border-radius: 6px;
    padding: 3px;
    box-shadow: inset 0 3px 8px rgba(0,0,0,0.7), 0 1px 0 rgba(255,255,255,0.06);
    position: relative;
    overflow: hidden;
    height: 70px;
}

/* Indicator line - centered in the visible window */
.region-dial-indicator {
    position: absolute;
    top: 0;
    left: 50%;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, #ff3333, #ff5555, #ff3333);
    box-shadow: 0 0 8px rgba(255, 51, 51, 0.6);
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
}

.region-dial-scroll {
    display: flex;
    align-items: center;
    height: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    /* Padding is set dynamically by JS to allow all options to center under the indicator */
    cursor: grab;
}

.region-dial-scroll::-webkit-scrollbar {
    display: none;
}

.region-dial-scroll:active {
    cursor: grabbing;
}

.region-option {
    flex-shrink: 0;
    width: 130px;
    text-align: center;
    font-size: 0.8rem;
    font-weight: 600;
    font-family: 'Space Mono', monospace;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem 0.25rem;
    transition: all 0.25s ease;
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

.region-option:hover {
    color: #888;
}

.region-option.active {
    color: #e6b800;
    text-shadow: 0 0 10px rgba(230, 184, 0, 0.7), 0 0 20px rgba(230, 184, 0, 0.3);
    font-size: 0.9rem;
}

/* Dial arrow buttons */
.dial-arrow {
    background: #1c2224;
    border: 1px solid #2b3235;
    color: #9aa5a9;
    font-size: 1rem;
    width: var(--dial-arrow-size);
    height: var(--dial-arrow-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.dial-arrow:hover {
    background: #242c2f;
    color: #d4e7df;
}

.dial-arrow:active {
    transform: translateY(1px);
    box-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

/* Glass reflection on dial */
.region-dial-window::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to bottom, rgba(255,255,255,0.04), transparent);
    pointer-events: none;
    z-index: 5;
}

/* Fade edges for scroll effect */
.region-dial-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, 
        #111 0%, 
        transparent 15%, 
        transparent 85%, 
        #111 100%
    );
    pointer-events: none;
    z-index: 8;
}

/* Knob labels removal override */
.knob-labels {
    display: none;
}

/* Control Labels */
.control-label {
    font-size: 0.7rem;
    color: #888;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: 0.5rem;
    text-align: center;
}

.control-hint {
    font-size: 0.5rem;
    color: #555;
    letter-spacing: 0.5px;
    text-transform: lowercase;
    margin-top: 0.2rem;
    text-align: center;
    font-style: italic;
}

/* Knobs */
.knob-container {
    position: relative;
    width: 140px; /* Increased to fit labels */
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.small-knob {
    width: 60px;
    height: 60px;
    cursor: pointer;
}

.knob-body {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #444, #1a1a1a);
    box-shadow: 
        0 5px 15px rgba(0,0,0,0.5),
        inset 0 1px 1px rgba(255,255,255,0.2);
    position: relative;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 2.5, 0.6, 0.8); /* Bouncy transition */
    z-index: 2;
}

.small-knob .knob-body {
    width: 40px;
    height: 40px;
}

/* Knob Marker */
.knob-marker {
    position: absolute;
    top: 5px;
    left: 50%;
    width: 4px;
    height: 15px;
    background: #fff;
    transform: translateX(-50%);
    border-radius: 2px;
    box-shadow: 0 0 2px rgba(255,255,255,0.5);
}

.small-knob .knob-marker {
    height: 10px;
    width: 3px;
    top: 3px;
}

/* Knob Labels */
.knob-labels {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.k-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(var(--angle)) translateY(-68px);
    font-size: 0.55rem;
    color: #555;
    pointer-events: auto; /* Allow clicking labels */
    cursor: pointer;
    transition: color 0.2s, text-shadow 0.2s;
    font-weight: 600;
    width: 60px;
    text-align: center;
    letter-spacing: 0.5px;
}

.k-label:hover {
    color: #aaa;
}

.k-label.active {
    color: #fff;
    text-shadow: 0 0 5px #fff;
}

/* Playback Buttons */
.playback-group {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
    justify-content: center;
}

/* Skip buttons (prev/next) */
.btn-skip {
    background: linear-gradient(to bottom, #303738, #1f2526);
    border: 1px solid #3a4446;
    border-radius: 8px;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #c7d3d1;
    transition: all 0.15s ease;
    box-shadow: 
        0 3px 0 #111,
        0 4px 8px rgba(0,0,0,0.4);
}

.btn-skip svg {
    display: block;
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.btn-skip:hover {
    background: linear-gradient(to bottom, #384243, #262d2f);
    color: #e6f2ee;
}

.btn-skip:active {
    transform: translateY(2px);
    box-shadow: 
        0 1px 0 #111,
        0 2px 4px rgba(0,0,0,0.4);
}

/* Main Play Button - Big and obvious */
.btn-play {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    position: relative;
}

.btn-play-inner {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(145deg, #2d3435, #191e1f);
    border: 3px solid #3a4446;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 
        0 6px 0 #0a0a0a,
        0 8px 20px rgba(0,0,0,0.6),
        inset 0 2px 3px rgba(255,255,255,0.1);
    transition: all 0.15s ease;
}

.btn-play:hover .btn-play-inner {
    background: linear-gradient(145deg, #353e40, #1f2527);
    border-color: #4a5557;
}

.btn-play:active .btn-play-inner {
    transform: translateY(3px);
    box-shadow: 
        0 2px 0 #0a0a0a,
        0 3px 10px rgba(0,0,0,0.6),
        inset 0 2px 3px rgba(255,255,255,0.1);
}

/* Play icon inside button */
.play-icon {
    width: 32px;
    height: 32px;
    color: #888;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-icon svg {
    width: 100%;
    height: 100%;
}

.btn-play:hover .play-icon {
    color: #ccc;
}

.btn-play.playing .play-icon {
    color: var(--display-glow);
}

/* LED Ring around play button */
.led-ring {
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid var(--led-off);
    transition: all 0.3s ease;
    pointer-events: none;
}

.led-ring.on {
    border-color: var(--led-on);
    box-shadow: 
        0 0 10px var(--led-on),
        0 0 20px rgba(255, 51, 51, 0.3);
}

/* Legacy LED styles (kept for compatibility) */
.led {
    width: 8px;
    height: 8px;
    background: var(--led-off);
    border-radius: 50%;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.5);
    transition: background 0.1s, box-shadow 0.1s;
}

.led.on {
    background: var(--led-on);
    box-shadow: 0 0 5px var(--led-on);
}


/* Toast */
.toast {
    position: fixed;
    top: 2rem;
    right: 2rem;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 0.8rem 1.2rem;
    border-radius: 4px;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    border-left: 3px solid var(--display-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
    z-index: 100;
}

.toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Mobile Responsiveness */
@media (max-width: 850px) {
    .radio-case {
        width: 100%;
        height: auto;
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        padding: 1rem;
        gap: 1rem;
    }
    
    .radio-display-bezel {
        height: 150px;
    }
    
    .radio-controls {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .speaker-grill {
        display: none; /* Hide speaker on mobile to save space */
    }
}

/* Start Overlay */
.start-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(5, 6, 7, 0.4) 100%); /* Subtle vignette instead of solid */
    backdrop-filter: blur(3px); /* Much softer blur */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    transition: opacity 1.5s ease, visibility 1.5s;
    cursor: pointer;
}

.start-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

.start-content {
    text-align: center;
    color: #fff;
    font-family: 'Inter', sans-serif;
    padding: 0; /* Remove padding */
    background: none; /* Remove background card */
    border: none; /* Remove border */
    box-shadow: none; /* Remove shadow */
    backdrop-filter: none; /* Remove inner blur */
}

.start-icon {
    font-size: 2.5rem; /* Smaller icon */
    margin-bottom: 1rem;
    opacity: 0.5; /* Dimmer */
    filter: drop-shadow(0 0 10px rgba(111, 231, 200, 0.2));
}

.click-instruction {
    margin-top: 1.5rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.7rem; /* Smaller text */
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--display-glow);
    opacity: 0.4;
    animation: pulse-text 3s ease-in-out infinite; /* Slower, gentler pulse */
}

@keyframes pulse-text {
    0%, 100% { opacity: 0.3; transform: translateY(0); }
    50% { opacity: 0.6; transform: translateY(-2px); }
}

/* Footer */
.site-footer {
    position: fixed;
    bottom: 1.5rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    font-family: 'Space Mono', monospace;
    font-size: 0.65rem;
    color: #555;
    letter-spacing: 0.5px;
    z-index: 100;
}

.site-footer a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.site-footer a:hover {
    color: var(--display-glow);
}

.footer-separator {
    color: #444;
}

.github-link {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.github-link svg {
    display: block;
}
