/* Aspen General - Ralph Lauren F/W '89 × Macintosh SE × 30 Years in a Chalet */

:root {
    /* Muted Vintage Palette - subtle like video backgrounds */
    --pastel-cream: #F5F2E8;
    /* Soft muted cream */
    --pastel-pink: #E8C5C8;
    /* Desaturated coral pink */
    --pastel-peach: #E8D8C8;
    /* Muted peach */
    --pastel-mint: #B8D8CB;
    /* Soft muted mint */
    --pastel-blue: #A8C5D5;
    /* Muted powder blue */
    --pastel-yellow: #E8DDB5;
    /* Soft butter yellow */
    --pastel-lavender: #C8B8D8;
    /* Muted lavender */
    --pastel-coral: #D8A8AB;
    /* Soft coral */
    --pastel-sage: #C5D1BB;
    /* Muted sage */
    --pastel-sky: #95B8CF;
    /* Desaturated sky blue */

    /* Accent colors */
    --vintage-brown: #8B7355;
    /* Warm brown */
    --dark-text: #3A3028;
    /* Soft dark text */

    /* Kodachrome warmth overlay - more subtle */
    --film-warmth: rgba(245, 240, 230, 0.12);

    /* Legacy mappings for compatibility */
    --phosphor-white: #FFF8E7;
    --phosphor-light: #FFD4B2;
    --phosphor-mid: #B8E6D5;
    --phosphor-dark: #8B7355;
    --phosphor-black: #2C1810;
    --ski-orange: #FF8B94;
    --ski-red: #FFB5BA;
    --ski-yellow: #FFF4A3;
}

@font-face {
    font-family: 'Chicago';
    src: local('ChicagoFLF'), local('Chicago');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Geneva', 'Lucida Grande', 'Helvetica Neue', sans-serif;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    font-size: 14px;
    /* Slightly larger for readability */
    color: var(--phosphor-black);
    /* Keep current cursor as user liked it, but ensure it stands out */
    cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath d='M0 0L0 14L3 11L6 16L8 15L5 10L9 10Z' fill='%23000000' stroke='%23FFFFFF' stroke-width='1'/%3E%3C/svg%3E"), auto;
}

/* ═══════════════════════════════════════════════════════════════
   AGED CRT DESKTOP - The Chalet's forgotten screen
   ═══════════════════════════════════════════════════════════════ */

.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Vintage Kodachrome sky gradient */
    background: linear-gradient(180deg,
            #5B9DBF 0%,
            #7BA8C4 30%,
            #A8BDC9 60%,
            #C9D4D9 100%);
    z-index: -1;
}

/* Vintage Kodachrome warmth overlay */
.background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--kodachrome-warmth);
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Halftone dot grid texture - same as video overlay */
.background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23000000' fill-opacity='0.15'/%3E%3C/svg%3E");
    background-size: 3px 3px;
    pointer-events: none;
    opacity: 0.6;
    mix-blend-mode: multiply;
}


/* Vintage film glow */
.snow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background: var(--vintage-glow);
    opacity: 0.6;
}

/* ═══════════════════════════════════════════════════════════════
   CLASSIC MAC MENU BAR
   ═══════════════════════════════════════════════════════════════ */

.top-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 32px;
    /* Taller for pixel font */
    background: #FFFCF2;
    /* Winter Cream */
    border-bottom: 2px solid #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    z-index: 1000;
    box-shadow: none;
    backdrop-filter: none;
}

.nav-btn {
    background: transparent;
    border: none;
    padding: 4px 12px;
    color: #000000;
    font-family: 'Cutive Mono', monospace;
    font-size: 13px;
    /* Smaller, more precise */
    text-transform: uppercase;
    font-weight: 400;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: background 0.15s ease;
    border-radius: 3px;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.05);
    color: #000000;
}

.nav-btn:active {
    background: rgba(0, 0, 0, 0.08);
    color: #000000;
}

.mountain-icon {
    font-size: 12px;
    display: inline-block;
    animation: none;
    filter: grayscale(1) contrast(2);
}

.nav-btn-text {
    font-size: 12px;
}

.badge-icon {
    display: none;
    /* Hide modern badge */
}

.about-btn,
.member-btn {
    background: transparent;
}

.member-btn::after {
    display: none;
}

/* ═══════════════════════════════════════════════════════════════
   CLASSIC MAC WINDOWS
   ═══════════════════════════════════════════════════════════════ */

.player-window,
.product-window {
    position: absolute;
    background: #FFFCF2;
    /* Winter Cream */
    border: 2px solid #000000;
    box-shadow: 6px 6px 0px rgba(0, 0, 0, 0.7);
    /* Sharp retro shadow */
    overflow: hidden;
    cursor: default;
    backdrop-filter: none;
    border-radius: 0;
}

/* Film warmth overlay on windows */
.player-window::after,
.product-window::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--film-warmth);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

/* ═══════════════════════════════════════════════════════════════
   FULLSCREEN VIDEO BACKGROUND
   ═══════════════════════════════════════════════════════════════ */

.video-background-container {
    position: fixed;
    top: 20px;
    /* Below menu bar */
    left: 0;
    width: 100%;
    height: calc(100vh - 20px - 80px);
    /* Minus menu bar and radio dock */
    z-index: 0;
    overflow: hidden;
}

.background-video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Vintage Kodachrome richness */
    filter:
        saturate(1.15) contrast(1.08) brightness(1.02);
}

.video-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23000000' fill-opacity='0.2'/%3E%3C/svg%3E");
    background-size: 3px 3px;
    pointer-events: none;
    mix-blend-mode: multiply;
}

.product-window {
    top: 100px;
    left: 600px;
    right: auto;
    width: 29vw;
    min-width: 320px;
    max-width: 420px;
    z-index: 100;
}

.draggable-window.dragging {
    cursor: move;
    box-shadow:
        6px 6px 0 var(--pastel-sky),
        inset -2px -2px 0 rgba(168, 216, 234, 0.3),
        inset 2px 2px 0 rgba(255, 255, 255, 0.8);
    z-index: 100 !important;
}

/* Sharp Retro Title Bar */
.window-chrome {
    background: #FFEBEE;
    /* Very light pink/warm tint for title bar? Or just Cream */
    background: #F2EFE5;
    /* Slightly darker cream */
    padding: 0;
    height: 28px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #000000;
    cursor: move;
    user-select: none;
    position: relative;
}

/* Pastel horizontal lines in title bar */
/* Pastel horizontal lines in title bar - REMOVING for clean loop */
.window-chrome::before {
    display: none;
}

.window-chrome::after {
    display: none;
}

.window-controls {
    display: flex;
    gap: 0;
    position: relative;
    z-index: 2;
    margin-left: 4px;
}

/* Pastel close button */
.control-btn {
    width: 14px;
    height: 14px;
    border-radius: 0;
    /* Square buttons for retro */
    border: 1px solid #000000;
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
}

.control-btn:hover {
    background: var(--pastel-sky);
    transform: scale(1.1);
    filter: none;
}

.control-btn:active {
    background: var(--pastel-blue);
    box-shadow: none;
}

.control-btn.close {
    background: #E8E8E8;
}

.control-btn.minimize {
    display: none;
    /* Mac SE didn't have minimize */
}

.window-title {
    flex: 1;
    text-align: center;
    color: #000000;
    font-family: 'Cutive Mono', monospace;
    font-weight: 400;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: none;
    position: relative;
    z-index: 2;
    background: transparent;
    padding: 0 8px;
    margin: 0 auto;
    max-width: fit-content;
}

/* ═══════════════════════════════════════════════════════════════
   VIDEO CONTAINER - Scanned catalog image display
   ═══════════════════════════════════════════════════════════════ */

.video-container {
    position: relative;
    background: var(--phosphor-black);
    aspect-ratio: 1/1;
    overflow: hidden;
    border-bottom: 1px solid var(--phosphor-black);
}

.video-player {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Vintage Kodachrome richness */
    filter:
        saturate(1.15) contrast(1.08) brightness(1.02);
}

/* Halftone dither overlay */
.crt-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='%232A2520' fill-opacity='0.3'/%3E%3C/svg%3E");
    background-size: 3px 3px;
    pointer-events: none;
    z-index: 2;
    animation: none;
    mix-blend-mode: multiply;
}

.crt-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Scan line artifacts */
    background: repeating-linear-gradient(0deg,
            transparent 0px,
            transparent 1px,
            rgba(42, 37, 32, 0.1) 1px,
            rgba(42, 37, 32, 0.1) 2px);
}

/* Warm aged tint overlay */
.crt-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--phosphor-light);
    mix-blend-mode: screen;
    opacity: 0.15;
    pointer-events: none;
    z-index: 3;
}

/* TV Static / Channel Change Effect */
.static-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
}

.static-overlay.active {
    opacity: 1;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    animation: staticFlicker 0.1s steps(5) infinite;
}

@keyframes staticFlicker {
    0% {
        filter: contrast(1.5) brightness(1.0);
    }

    50% {
        filter: contrast(1.3) brightness(1.1);
    }

    100% {
        filter: contrast(1.6) brightness(0.95);
    }
}

.video-info {
    position: absolute;
    bottom: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    z-index: 4;
    pointer-events: none;
}

.channel-indicator,
.resolution {
    background: var(--phosphor-white);
    color: var(--phosphor-black);
    padding: 2px 6px;
    font-size: 10px;
    font-family: 'Monaco', 'Courier', monospace;
    border: 1px solid var(--phosphor-black);
    text-shadow: none;
    box-shadow: none;
    letter-spacing: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.signal-dot {
    width: 6px;
    height: 6px;
    border-radius: 0;
    background: var(--phosphor-black);
    box-shadow: none;
    animation: blinkSlow 2s steps(1) infinite;
}

@keyframes blinkSlow {

    0%,
    49% {
        opacity: 1;
    }

    50%,
    100% {
        opacity: 0;
    }
}

.video-controls {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 5;
    opacity: 0;
    transition: opacity 0.2s;
    background: var(--phosphor-white);
    border: 1px solid var(--phosphor-black);
    padding: 4px;
}

.video-container:hover .video-controls {
    opacity: 1;
}

.video-btn {
    background: var(--phosphor-white);
    border: 1px solid var(--phosphor-black);
    border-radius: 0;
    color: var(--phosphor-black);
    width: 28px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: none;
    box-shadow:
        inset -1px -1px 0 var(--phosphor-mid),
        inset 1px 1px 0 var(--phosphor-light);
    text-shadow: none;
    backdrop-filter: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-btn::before {
    display: none;
}

.video-btn:hover {
    background: var(--phosphor-black);
    color: var(--phosphor-white);
    transform: none;
    box-shadow: inset 0 0 0 1px var(--phosphor-black);
}

.video-btn:active {
    background: var(--phosphor-black);
    color: var(--phosphor-white);
}

/* ═══════════════════════════════════════════════════════════════
   TRACK INFO - RL Catalog style typography
   ═══════════════════════════════════════════════════════════════ */

.track-info {
    background: var(--phosphor-white);
    padding: 12px;
    border-bottom: 1px solid var(--phosphor-black);
    box-shadow: none;
}

.now-playing {
    color: #000000;
    font-size: 9px;
    font-weight: normal;
    letter-spacing: 2px;
    margin-bottom: 4px;
    font-family: 'Geneva', 'Helvetica Neue', sans-serif;
    text-transform: uppercase;
    text-shadow: none;
}

.blink {
    animation: blinkSlow 1.5s steps(1) infinite;
}

.track-details {
    color: #000000;
    font-size: 14px;
    font-weight: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: 'Times New Roman', 'Palatino', 'Garamond', serif;
    font-style: italic;
    text-shadow: none;
}

/* ═══════════════════════════════════════════════════════════════
   ENTER SPLASH SCREEN
   ═══════════════════════════════════════════════════════════════ */

.enter-splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
    overflow: hidden;
}

/* Video background on splash screen */
.splash-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    /* Vintage Kodachrome richness */
    filter:
        saturate(1.15) contrast(1.08) brightness(1.02);
}

/* Halftone dot texture on enter screen */
.enter-splash::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='4' height='4' viewBox='0 0 4 4' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23000000' fill-opacity='0.2'/%3E%3C/svg%3E");
    background-size: 3px 3px;
    pointer-events: none;
    opacity: 0.6;
    mix-blend-mode: multiply;
    z-index: 2;
}

.enter-splash.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.splash-content {
    text-align: center;
    position: relative;
    z-index: 3;
}

.splash-icon {
    font-size: 64px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.splash-title {
    font-family: 'Italianno', cursive;
    font-size: 130px;
    font-style: normal;
    font-weight: 400;
    color: #F3E5AB;
    /* Warm Champagne/Vanilla */
    letter-spacing: 0px;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(243, 229, 171, 0.4);
    text-transform: none;
    line-height: 1;
}

.splash-enter-btn {
    background: transparent;
    border: 1px solid #F3E5AB;
    color: #F3E5AB;
    font-family: 'Cutive Mono', monospace;
    font-size: 14px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 2px;
    padding: 12px 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none;
}

.splash-enter-btn:hover {
    background: rgba(243, 229, 171, 0.1);
    box-shadow: 0 0 15px rgba(243, 229, 171, 0.3);
    transform: translateY(-2px);
}

/* Product Name Global Override */
.product-name {
    font-family: 'Cutive Mono', monospace;
    font-size: 20px;
    /* Not huge */
    text-transform: uppercase;
    color: #000000;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.product-price-inline {
    font-family: 'Cutive Mono', monospace;
    font-weight: 400;
    font-size: 14px;
    color: #000000;
}


/* ═══════════════════════════════════════════════════════════════
   BOTTOM DOCKED RADIO PLAYER
   ═══════════════════════════════════════════════════════════════ */

.radio-dock {
    position: fixed;
    bottom: 20px;
    /* Floating dock look? Or stick to bottom. Let's stick to bottom but sharp */
    bottom: 0px;
    left: 0px;
    right: 0px;
    width: 100%;
    height: 80px;
    background: #FFFCF2;
    border-top: 2px solid #000000;
    z-index: 2000;
    overflow: visible;
    /* Allow shadow */
    box-shadow: 0 -4px 0px rgba(0, 0, 0, 0.2);
    backdrop-filter: none;
}

/* Film warmth on radio dock */
.radio-dock::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--film-warmth);
    pointer-events: none;
    z-index: 1;
    mix-blend-mode: overlay;
}

/* Full-width waveform behind everything */
.waveform-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;
    z-index: 1;
}

/* UI layer on top of waveform */
.radio-ui-layer {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 16px 24px;
    height: 100%;
    box-sizing: border-box;
}

/* Play button */
.audio-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #000000;
    border: none;
    color: #FFFFFF;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
    box-shadow:
        0 4px 12px rgba(168, 216, 234, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.6);
}

.audio-play-btn:hover {
    transform: scale(1.05);
    background: #333333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.audio-play-btn:active {
    transform: scale(0.95);
    background: #000000;
}

/* Track info */
.audio-track-info {
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.audio-track-title {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
    font-family: 'Cutive Mono', monospace;
    font-style: normal;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 2px;
    text-shadow: none;
    text-transform: uppercase;
}

.audio-track-artist {
    color: #000000;
    font-size: 11px;
    font-weight: 400;
    font-family: 'Cutive Mono', monospace;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-transform: uppercase;
    letter-spacing: 0;
    text-shadow: none;
}

/* Skip controls */
.audio-skip-controls {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.audio-skip-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.08);
    border: none;
    color: #000000;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: 0 2px 6px rgba(168, 216, 234, 0.3);
}

.audio-skip-btn:hover {
    background: rgba(0, 0, 0, 0.12);
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.audio-skip-btn:active {
    transform: scale(0.95);
    background: rgba(0, 0, 0, 0.15);
}

/* ═══════════════════════════════════════════════════════════════
   MUSIC CONTROLS - Classic Mac UI
   ═══════════════════════════════════════════════════════════════ */

.music-controls {
    background: var(--phosphor-white);
    padding: 12px;
}

.progress-container {
    margin-bottom: 12px;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 12px;
    background: var(--phosphor-white);
    border: 1px solid var(--phosphor-black);
    border-radius: 0;
    overflow: visible;
    cursor: pointer;
    box-shadow:
        inset 1px 1px 0 var(--phosphor-mid),
        inset -1px -1px 0 var(--phosphor-light);
    position: relative;
}

.progress-bar:hover {
    border-color: var(--phosphor-black);
    box-shadow:
        inset 1px 1px 0 var(--phosphor-mid),
        inset -1px -1px 0 var(--phosphor-light);
}

.progress-fill {
    height: 100%;
    background:
        repeating-linear-gradient(90deg,
            var(--phosphor-black) 0px,
            var(--phosphor-black) 2px,
            var(--phosphor-white) 2px,
            var(--phosphor-white) 4px);
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: none;
    position: relative;
}

.progress-notch {
    display: none;
    /* Not classic Mac style */
}

.time-display {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: var(--phosphor-black);
    margin-top: 4px;
    font-family: 'Monaco', 'Courier', monospace;
    letter-spacing: 0;
}

.control-buttons {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.music-btn {
    background: var(--phosphor-white);
    border: 1px solid var(--phosphor-black);
    border-radius: 4px;
    color: var(--phosphor-black);
    width: 36px;
    height: 24px;
    font-size: 14px;
    cursor: pointer;
    transition: none;
    box-shadow:
        inset -1px -1px 0 var(--phosphor-mid),
        inset 1px 1px 0 var(--phosphor-light),
        1px 1px 0 var(--phosphor-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.music-btn::before {
    display: none;
}

.music-btn.primary {
    width: 48px;
    height: 28px;
    font-size: 16px;
    background: var(--phosphor-white);
    border-color: var(--phosphor-black);
}

.music-btn:hover {
    background: var(--phosphor-light);
    transform: none;
    filter: none;
}

.music-btn:active {
    background: var(--phosphor-mid);
    box-shadow:
        inset 1px 1px 0 var(--phosphor-dark),
        inset -1px -1px 0 var(--phosphor-light);
}

.volume-channel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.channel-select {
    flex: 1;
    padding: 4px 8px;
    background: var(--phosphor-white);
    border: 1px solid var(--phosphor-black);
    border-radius: 0;
    color: var(--phosphor-black);
    font-family: 'Geneva', sans-serif;
    font-size: 12px;
    cursor: pointer;
    outline: none;
    box-shadow:
        inset -1px -1px 0 var(--phosphor-mid),
        inset 1px 1px 0 var(--phosphor-light);
}

.channel-select:focus {
    outline: 1px solid var(--phosphor-black);
    outline-offset: 1px;
}

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

.volume-btn {
    background: var(--phosphor-white);
    border: 1px solid var(--phosphor-black);
    border-radius: 4px;
    color: var(--phosphor-black);
    width: 28px;
    height: 20px;
    font-size: 12px;
    cursor: pointer;
    transition: none;
    box-shadow:
        inset -1px -1px 0 var(--phosphor-mid),
        inset 1px 1px 0 var(--phosphor-light);
}

.volume-btn:hover {
    background: var(--phosphor-light);
    transform: none;
}

.volume-btn:active {
    background: var(--phosphor-mid);
}

.volume-slider {
    width: 80px;
    height: 12px;
    background: var(--phosphor-white);
    border: 1px solid var(--phosphor-black);
    border-radius: 0;
    outline: none;
    cursor: pointer;
    -webkit-appearance: none;
    box-shadow:
        inset 1px 1px 0 var(--phosphor-mid),
        inset -1px -1px 0 var(--phosphor-light);
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 12px;
    height: 18px;
    background: var(--phosphor-white);
    border: 1px solid var(--phosphor-black);
    border-radius: 0;
    cursor: pointer;
    box-shadow:
        inset -1px -1px 0 var(--phosphor-mid),
        inset 1px 1px 0 var(--phosphor-light);
}

.volume-slider::-moz-range-thumb {
    width: 12px;
    height: 18px;
    background: var(--phosphor-white);
    border: 1px solid var(--phosphor-black);
    border-radius: 0;
    cursor: pointer;
}

/* ═══════════════════════════════════════════════════════════════
   PRODUCT WINDOW - Poolsuite Style Layout
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════
   PRODUCT WINDOWS & LAYOUT
   ═══════════════════════════════════════════════════════════════ */

/* Carl's Pop-Up Desktop Styles (Moved from inline) */
#window-carls {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 340px;
}

/* Desktop Default Positions (Moved from inline to allow mobile override) */
#window-red {
    top: 20vh;
    left: 15vw;
}

#window-pinstripe {
    top: 20vh;
    left: 58vw;
}

.product-layout {
    display: flex;
    flex-direction: column;
    background: var(--phosphor-white);
}

/* Bottom - Product Info */
.product-info {
    width: 100%;
    flex-shrink: 0;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    border-top: 2px solid var(--pastel-sky);
    background: var(--pastel-cream);
    position: relative;
    z-index: 2;
}

/* Product name and price on same line */
.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Geneva', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    color: #000000;
}

.product-name {
    font-weight: normal;
}

.product-price-inline {
    font-family: 'Cutive Mono', monospace;
    font-size: 14px;
    /* Reduced from 18px to match user request */
    font-weight: 400;
    white-space: nowrap;
    padding-left: 8px;
    /* Breathing room */
}

.product-description {
    font-size: 13px;
    line-height: 1.9;
    color: var(--phosphor-black);
    margin-bottom: 16px;
    font-family: 'Geneva', sans-serif;
    font-style: italic;
    text-align: left;
}

.product-details {
    margin-top: auto;
    border-top: 1px solid var(--phosphor-black);
}

.product-detail-row {
    padding: 14px 0;
    border-bottom: 1px solid var(--phosphor-black);
    font-family: 'Geneva', sans-serif;
    font-size: 12px;
    letter-spacing: 1px;
    color: var(--phosphor-black);
}

/* Top - Large Product Image */
.product-hero {
    position: relative;
    background: linear-gradient(135deg, #F5F2EC 0%, #EAE5DD 100%);
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-gallery {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.product-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-image.active {
    opacity: 1;
}

/* Arrow Navigation */
.gallery-arrows {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 12px;
    z-index: 100;
    pointer-events: none;
    /* Allow clicks through container */
}

.gallery-arrow {
    pointer-events: auto;
    /* Re-enable clicks on buttons */
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #000000;
    font-size: 14px;
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: auto;
    position: relative;
    z-index: 101;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.gallery-arrow:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.gallery-arrow:active {
    background: var(--pastel-lavender);
    color: #FFFFFF;
    transform: scale(0.95);
    box-shadow:
        2px 2px 0 var(--pastel-blue),
        inset 1px 1px 0 rgba(0, 0, 0, 0.1);
}

.product-price {
    font-size: 24px;
    color: var(--phosphor-black);
    font-weight: normal;
    margin-bottom: 16px;
    letter-spacing: 1px;
    font-family: 'Times New Roman', 'Palatino', serif;
    text-shadow: none;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0;
}

.price-currency {
    font-size: 16px;
    opacity: 1;
}

.price-cents {
    font-size: 14px;
    opacity: 1;
    align-self: baseline;
    margin-top: 0;
}

.buy-now-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #000000;
    color: #FFFFFF;
    border: none;
    padding: 12px 28px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    align-self: flex-start;
    position: relative;
    z-index: 2;
    text-transform: uppercase;
}

.btn-icon {
    font-size: 14px;
}

.buy-now-btn:hover {
    background: #333333;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.buy-now-btn:active {
    background: var(--pastel-lavender);
    transform: translateY(0);
    box-shadow:
        2px 2px 0 var(--pastel-mint),
        inset 1px 1px 0 rgba(0, 0, 0, 0.2);
}

/* ═══════════════════════════════════════════════════════════════
   AGED SCREEN EFFECTS
   ═══════════════════════════════════════════════════════════════ */

/* Dead pixel cluster - upper right */
.player-window::after {
    content: '';
    position: absolute;
    top: 45px;
    right: 12px;
    width: 3px;
    height: 3px;
    background: var(--phosphor-dark);
    box-shadow:
        4px 0 0 var(--phosphor-dark),
        0 3px 0 var(--phosphor-dark);
    pointer-events: none;
    z-index: 100;
    opacity: 0.6;
}

/* Screen edge darkening on product window */
.product-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center,
            transparent 70%,
            rgba(42, 37, 32, 0.15) 100%);
    pointer-events: none;
    z-index: 50;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE & UTILITIES
   ═══════════════════════════════════════════════════════════════ */

.dock {
    display: none;
}

@media (max-width: 768px) {
    .product-window {
        width: 320px;
        /* Base width */
        left: 50%;
        top: 15vh;
        right: auto;
        transform: translateX(-50%) scale(0.75);
        /* Center and Scale down */
        transform-origin: top center;
    }

    /* Mobile Stacking Logic */
    /* 1. Carl's Pharmacy: Bottom Layer - Dead Center */
    #window-carls {
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%) scale(0.75);
        /* True Center */
        width: 320px;
        z-index: 100;
        /* Bottom */
    }

    /* 2. Pinstripe Hat: Middle Layer - Top Right */
    #window-pinstripe {
        top: 10vh;
        bottom: auto;
        left: 60%;
        /* Push right */
        transform: translateX(-50%) scale(0.75);
        transform-origin: top center;
        z-index: 101;
        /* Middle */
    }

    /* 3. Red Hat: Top Layer - Bottom Left */
    #window-red {
        top: auto;
        bottom: 120px;
        /* Above player */
        left: 40%;
        /* Push left */
        transform: translateX(-50%) scale(0.75);
        transform-origin: bottom center;
        z-index: 102;
        /* Top */
    }

    /* Hide default offsets */
    .product-window:nth-of-type(2) {
        bottom: auto;
    }

    .audio-track-title {
        font-size: 14px;
    }

    .audio-track-artist {
        font-size: 10px;
    }

    .top-nav {
        height: 18px;
    }

    .nav-btn {
        padding: 2px 8px;
        font-size: 11px;
    }

    .background::before {
        font-size: 40px;
        letter-spacing: 8px;
    }
}

/* Loading Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.draggable-window {
    animation: fadeIn 0.3s ease-out;
    transition: box-shadow 0.1s ease;
}

/* Focus states - classic Mac style */
button:focus-visible {
    outline: 1px dotted var(--phosphor-black);
    outline-offset: 2px;
}

select:focus-visible {
    outline: 1px dotted var(--phosphor-black);
    outline-offset: 2px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ═══════════════════════════════════════════════════════════════
   RALPH LAUREN CATALOG TYPOGRAPHY DETAILS
   ═══════════════════════════════════════════════════════════════ */

/* Elegant serif headings in RL style */
.product-title::before {
    content: '— ';
    opacity: 0.5;
}

.product-title::after {
    content: ' —';
    opacity: 0.5;
}

/* Pre-order information */
.product-info::after {
    content: 'This item is available for pre-order. Orders will ship January 1st, 2026';
    display: block;
    margin-top: 12px;
    font-size: 10px;
    letter-spacing: 0.3px;
    color: #888888;
    font-family: 'Helvetica Neue', 'Arial', sans-serif;
    line-height: 1.5;
    font-weight: 300;
}

/* ═══════════════════════════════════════════════════════════════
   ADDITIONAL AGING EFFECTS
   ═══════════════════════════════════════════════════════════════ */

/* Vintage photo texture */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--film-grain);
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: overlay;
}


/* Selection styling - vintage */
::selection {
    background: var(--ski-orange);
    color: var(--phosphor-white);
}

/* Scrollbar styling - vintage */
::-webkit-scrollbar {
    width: 16px;
    background: var(--phosphor-light);
    border-left: 2px solid var(--phosphor-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--wood-tone);
    border: 2px solid var(--phosphor-dark);
    border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--ski-orange);
}

/* Link styling */
a {
    color: var(--aspen-sky);
    text-decoration: underline;
}

a:hover {
    background: var(--ski-orange);
    color: var(--phosphor-white);
}

/* Input placeholder */
::placeholder {
    color: var(--phosphor-mid);
    opacity: 1;
}

/* Track details italic serif for RL feel */
.track-details {
    font-style: italic;
    font-family: 'Times New Roman', 'Palatino', serif;
}

/* Delayed Appearance Animation */
.initial-hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    transform: translateY(20px);
    /* Slight slide up effect */
}

.initial-hidden.visible {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}