@import url('https://fonts.googleapis.com/css2?family=MS+Sans+Serif:wght@400;700&display=swap');

/* CSS Variables for Windows 98 Colors */
:root {
    --win98-gray: #c0c0c0;
    --win98-dark-gray: #808080;
    --win98-light-gray: #dfdfdf;
    --win98-blue: #0000ff;
    --win98-dark-blue: #000080;
    --win98-black: #000000;
    --win98-white: #ffffff;
    --win98-red: #ff0000;
    --win98-green: #008000;
    --win98-yellow: #ffff00;
}

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

body {
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 11px;
    background: #000000;
    height: 100vh;
    overflow: hidden;
    cursor: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA8AAAAPCAMAAAAMCGV4AAAACVBMVEX///8AAAAAAABoAtTjAAAAAnRSTlMA/1uRIrUAAAAfSURBVHgBYwCC/4AAIY4ACCGGgwgEBwD///8fAMCAgP8ABCwI+gAAAABJRU5ErkJggg=='), auto;
    position: relative;
}

/* Remove the old watermark effect since we now have full background logo */
body::before {
    display: none;
}

/* Desktop */
.desktop {
    width: 100vw;
    height: 100vh;
    position: relative;
    background: 
        /* Full-screen pixelated logo background */
        url('images/sticker (1).png') center center no-repeat;
    background-color: #000000;
    background-size: 
        contain; /* Logo fully visible, black fills the rest */
    background-attachment: fixed;
    /* Enhanced pixelation effects */
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    /* Additional retro CRT effects with more pixelation */
    filter: 
        contrast(1.3) 
        brightness(0.9) 
        saturate(1.1);
    /* Transform to create pixel scaling effect */
    transform: scale(1.01);
}

/* Add pixelation overlay for extra retro effect */
.desktop::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        /* Subtle pixelation pattern */
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            rgba(0,0,0,0.03) 0deg,
            transparent 1deg,
            transparent 2deg,
            rgba(0,0,0,0.03) 3deg
        ),
        /* Additional noise texture for pixelation */
        radial-gradient(
            circle at 25% 25%, 
            rgba(255,255,255,0.01) 1px,
            transparent 1px
        );
    background-size: 4px 4px, 2px 2px;
    pointer-events: none;
    z-index: 0;
    /* Pixelated rendering */
    image-rendering: -moz-crisp-edges;
    image-rendering: -webkit-crisp-edges;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

/* Add CRT scanline effect overlay */
.desktop::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent 0px,
            rgba(0,255,0,0.01) 1px,
            transparent 2px,
            transparent 4px
        );
    pointer-events: none;
    z-index: 1;
    animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0px); }
    100% { transform: translateY(4px); }
}

/* Taskbar */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 28px;
    background: var(--win98-gray);
    border-top: 2px solid var(--win98-light-gray);
    display: flex;
    align-items: center;
    z-index: 1000;
    box-shadow: inset 0 1px 0 var(--win98-white);
}

.start-button {
    height: 22px;
    background: var(--win98-gray);
    border: 1px outset var(--win98-gray);
    margin: 2px;
    padding: 2px 6px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-weight: bold;
    font-size: 11px;
}

.start-button:active {
    border: 1px inset var(--win98-gray);
}

.start-logo {
    width: 16px;
    height: 16px;
}

.taskbar-items {
    flex: 1;
    margin-left: 10px;
}

.taskbar-item {
    display: inline-block;
    height: 22px;
    background: var(--win98-gray);
    border: 1px inset var(--win98-gray);
    margin: 2px;
    padding: 2px 8px;
    line-height: 18px;
    min-width: 160px;
}

.taskbar-item.active {
    border: 1px inset var(--win98-gray);
    background: var(--win98-dark-gray);
}

.system-tray {
    margin-right: 8px;
    padding: 2px 8px;
    border: 1px inset var(--win98-gray);
    background: var(--win98-gray);
    font-size: 10px;
}

/* Start Menu */
.start-menu {
    position: fixed;
    bottom: 28px;
    left: 2px;
    width: 200px;
    background: var(--win98-gray);
    border: 2px outset var(--win98-gray);
    display: none;
    z-index: 1001;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.start-menu-header {
    background: linear-gradient(90deg, var(--win98-blue) 0%, var(--win98-dark-blue) 100%);
    color: white;
    padding: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.start-menu-item {
    padding: 4px 24px;
    cursor: pointer;
    font-size: 11px;
}

.start-menu-item:hover {
    background: var(--win98-blue);
    color: white;
}

.start-menu-separator {
    height: 1px;
    background: var(--win98-dark-gray);
    margin: 2px 8px;
}

/* Windows */
.window {
    position: absolute;
    background: var(--win98-gray);
    border: 2px outset var(--win98-gray);
    min-width: 400px;
    min-height: 300px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 
        2px 2px 4px rgba(0,0,0,0.8),
        inset 1px 1px 0 rgba(255,255,255,0.8);
    z-index: 100;
}

.main-window {
    width: 800px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 101;
    /* Extra shadow for main window */
    box-shadow: 
        4px 4px 8px rgba(0,0,0,0.9),
        inset 1px 1px 0 rgba(255,255,255,0.8);
}

.window-header {
    height: 18px;
    background: linear-gradient(90deg, var(--win98-blue) 0%, var(--win98-dark-blue) 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px;
    font-size: 11px;
    font-weight: bold;
}

.window-title {
    display: flex;
    align-items: center;
    gap: 4px;
    padding-left: 4px;
}

.window-icon {
    width: 16px;
    height: 16px;
}

.window-controls {
    display: flex;
}

.window-control {
    width: 16px;
    height: 14px;
    background: var(--win98-gray);
    border: 1px outset var(--win98-gray);
    font-size: 8px;
    font-weight: bold;
    cursor: pointer;
    margin-left: 1px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.window-control:active {
    border: 1px inset var(--win98-gray);
}

.window-control.close:hover {
    background: var(--win98-red);
    color: white;
}

.window-content {
    padding: 16px;
    flex: 1;
    overflow-y: auto;
    background: var(--win98-gray);
}

/* Typography */
h1 {
    font-size: 28px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 8px;
    text-shadow: 2px 2px 0px var(--win98-dark-gray);
}

h2 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 12px;
    color: var(--win98-black);
    text-decoration: underline;
}

h3 {
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--win98-dark-blue);
}

/* Glitch Text Effect */
.glitch-text {
    position: relative;
    color: var(--win98-red);
    font-family: 'Courier New', monospace;
    font-size: 36px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: glitch 2s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -2px); }
    20% { transform: translate(2px, 2px); }
    30% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    50% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    70% { transform: translate(-2px, 2px); }
    80% { transform: translate(2px, -2px); }
    90% { transform: translate(-2px, -2px); }
}

/* Buttons */
.retro-button {
    background: var(--win98-gray);
    border: 2px outset var(--win98-gray);
    padding: 4px 12px;
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    margin: 2px;
    min-width: 80px;
}

.retro-button:hover {
    background: var(--win98-light-gray);
}

.retro-button:active {
    border: 2px inset var(--win98-gray);
}

.retro-button.small {
    padding: 2px 8px;
    font-size: 10px;
    min-width: 60px;
}

.button-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
    max-width: 400px;
}

.button-grid .retro-button {
    padding: 12px;
    font-size: 12px;
    min-height: 50px;
}

/* Separator */
.separator {
    height: 2px;
    background: var(--win98-dark-gray);
    margin: 16px 0;
    border-top: 1px inset var(--win98-gray);
}

/* Welcome Section */
.welcome-section {
    text-align: center;
    margin-bottom: 24px;
}

.welcome-text {
    font-size: 12px;
    line-height: 1.4;
    margin: 16px 0;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Animated Section */
.animated-section {
    text-align: center;
    border: 2px inset var(--win98-gray);
    padding: 16px;
    background: var(--win98-white);
    margin-top: 24px;
}

.animated-gif {
    width: 64px;
    height: 64px;
    animation: bounce 1s infinite alternate;
}

@keyframes bounce {
    0% { transform: translateY(0px); }
    100% { transform: translateY(-10px); }
}

.marquee-text {
    background: var(--win98-black);
    color: var(--win98-yellow);
    font-weight: bold;
    padding: 4px;
    margin-top: 16px;
    font-family: 'Courier New', monospace;
    overflow: hidden;
    position: relative;
    width: 100%;
}

.marquee-inner {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marqueeScroll 14s linear infinite;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

/* About Window Styles */
.about-content {
    font-size: 11px;
    line-height: 1.4;
}

.member-list {
    list-style: none;
    margin: 12px 0;
}

.member-list li {
    margin: 4px 0;
    padding: 4px 8px;
    background: var(--win98-white);
    border: 1px inset var(--win98-gray);
}

.bio-text {
    margin-top: 16px;
    padding: 8px;
    background: var(--win98-white);
    border: 1px inset var(--win98-gray);
    font-style: italic;
}

/* Shows Window Styles */
.shows-list {
    margin: 16px 0;
}

.show-item {
    display: flex;
    align-items: center;
    padding: 8px;
    margin: 8px 0;
    background: var(--win98-white);
    border: 1px inset var(--win98-gray);
    gap: 12px;
}

.show-date {
    font-weight: bold;
    color: var(--win98-red);
    min-width: 80px;
    font-family: 'Courier New', monospace;
    font-size: 10px;
}

.show-venue {
    font-weight: bold;
    flex: 1;
}

.show-details {
    font-size: 10px;
    color: var(--win98-dark-gray);
    flex: 1;
}

.shows-note {
    font-size: 10px;
    font-style: italic;
    color: var(--win98-dark-gray);
    text-align: center;
    margin-top: 16px;
}

/* Merch Window Styles */
.merch-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 16px 0;
}

.merch-item {
    text-align: center;
    padding: 12px;
    background: var(--win98-white);
    border: 2px inset var(--win98-gray);
}

.merch-image {
    font-size: 48px;
    margin-bottom: 8px;
}

.merch-item h3 {
    font-size: 12px;
    margin-bottom: 4px;
}

.merch-item p {
    font-size: 10px;
    color: var(--win98-dark-gray);
    margin-bottom: 8px;
}

.price {
    font-weight: bold;
    color: var(--win98-green);
    font-size: 14px;
    margin-bottom: 8px;
}

.merch-note {
    margin-top: 16px;
    padding: 8px;
    background: var(--win98-yellow);
    border: 1px solid var(--win98-black);
    font-size: 10px;
}

/* Music & Links Window Styles */
.links-section {
    margin: 16px 0;
}

.link-category {
    margin: 24px 0;
}

.link-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 12px 0;
}

.social-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    text-decoration: none;
    color: var(--win98-black);
    background: var(--win98-gray);
    border: 2px outset var(--win98-gray);
    font-weight: bold;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.1s;
}

.social-button:hover {
    background: var(--win98-light-gray);
}

.social-button:active {
    border: 2px inset var(--win98-gray);
}

.social-button.bandcamp { background: #629aa0; color: white; }
.social-button.spotify { background: #1db954; color: white; }
.social-button.youtube { background: #ff0000; color: white; }
.social-button.instagram { background: #e4405f; color: white; }
.social-button.facebook { background: #1877f2; color: white; }
.social-button.twitter { background: #1da1f2; color: white; }

.button-icon {
    font-size: 16px;
}

.music-player {
    margin-top: 24px;
    padding: 16px;
    background: var(--win98-black);
    color: var(--win98-green);
    border: 2px inset var(--win98-gray);
    font-family: 'Courier New', monospace;
}

.player-display {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.track-info {
    flex: 1;
}

.track-title {
    font-weight: bold;
    color: var(--win98-yellow);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.5; }
}

.track-artist {
    font-size: 10px;
    margin-top: 2px;
}

.player-controls {
    display: flex;
    gap: 4px;
}

.player-btn {
    background: var(--win98-gray);
    border: 1px outset var(--win98-gray);
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px;
}

.player-btn:hover {
    background: var(--win98-light-gray);
}

.player-btn:active {
    border: 1px inset var(--win98-gray);
}

/* Contact Window Styles */
.contact-info {
    margin: 16px 0;
}

.contact-method {
    margin: 16px 0;
    padding: 12px;
    background: var(--win98-white);
    border: 1px inset var(--win98-gray);
}

.contact-method h3 {
    color: var(--win98-blue);
    margin-bottom: 8px;
}

.contact-method p {
    margin: 4px 0;
    font-size: 11px;
}

.contact-note {
    margin-top: 16px;
    padding: 8px;
    background: var(--win98-yellow);
    border: 1px solid var(--win98-black);
    font-size: 10px;
}

/* Placeholder images using CSS when actual images aren't available */
.start-logo,
.window-icon {
    width: 16px;
    height: 16px;
    background: var(--win98-blue);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 8px;
    font-weight: bold;
    font-family: 'Courier New', monospace;
    position: relative;
}

.start-logo::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(45deg, #ff0000 0%, #ffff00 25%, #00ff00 50%, #0000ff 75%, #ff0000 100%);
    border: 1px solid white;
    border-radius: 2px;
}

.window-icon {
    background: transparent;
}

.window-icon.main::after {
    content: "♫";
    color: var(--win98-red);
    font-size: 12px;
    position: absolute;
}

.window-icon.about::after {
    content: "i";
    color: var(--win98-blue);
    font-size: 12px;
    font-weight: bold;
    position: absolute;
}

.window-icon.shows::after {
    content: "♪";
    color: var(--win98-red);
    font-size: 12px;
    position: absolute;
}

.window-icon.merch::after {
    content: "$";
    color: var(--win98-green);
    font-size: 12px;
    font-weight: bold;
    position: absolute;
}

.window-icon.music::after {
    content: "♫";
    color: var(--win98-blue);
    font-size: 12px;
    position: absolute;
}

.window-icon.contact::after {
    content: "@";
    color: var(--win98-red);
    font-size: 12px;
    font-weight: bold;
    position: absolute;
}

.window-icon.computer::after {
    content: "";
    position: absolute;
    width: 12px;
    height: 8px;
    background: #000000;
    border: 1px solid var(--win98-gray);
    border-radius: 1px;
}

.window-icon.recycle::after {
    content: "♻";
    color: var(--win98-green);
    font-size: 12px;
    position: absolute;
}

.window-icon.browser::after {
    content: "e";
    color: var(--win98-blue);
    font-size: 12px;
    font-weight: bold;
    font-style: italic;
    position: absolute;
}

.animated-gif {
    width: 64px;
    height: 64px;
    background: linear-gradient(45deg, var(--win98-red), var(--win98-black));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    animation: bounce 1s infinite alternate, rotate 2s infinite linear;
    position: relative;
}

.animated-gif::after {
    content: "💀";
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.desktop-icon-img {
    width: 32px;
    height: 32px;
    background: var(--win98-gray);
    border: 1px outset var(--win98-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 4px;
}
.background-icons {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 10;
}

.desktop-icon {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 64px;
    text-align: center;
    cursor: pointer;
    pointer-events: all;
    padding: 4px;
    border-radius: 2px;
}

.desktop-icon:hover {
    background: rgba(0, 0, 255, 0.2);
}

.desktop-icon img {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
}

.desktop-icon span {
    font-size: 10px;
    color: white;
    text-shadow: 1px 1px 2px black;
    word-wrap: break-word;
    line-height: 1.2;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 16px;
    height: 16px;
}

::-webkit-scrollbar-track {
    background: var(--win98-gray);
    border: 1px inset var(--win98-gray);
}

::-webkit-scrollbar-thumb {
    background: var(--win98-gray);
    border: 1px outset var(--win98-gray);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--win98-light-gray);
}

::-webkit-scrollbar-corner {
    background: var(--win98-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        overflow: hidden;
        position: fixed;
        width: 100%;
        height: 100%;
    }

    .desktop {
        min-height: 100vh;
        height: 100vh;
        overflow: hidden;
        position: fixed;
        width: 100%;
    }

    /* Sub-windows fullscreen on mobile */
    .window {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: calc(100vh - 44px) !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 100vw !important;
        border: none;
        border-radius: 0;
        transform: none !important;
    }

    /* Main window is smaller / windowed on mobile */
    .main-window {
        width: 92vw !important;
        height: auto !important;
        max-height: 75vh !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 44px !important;
        margin: auto !important;
        transform: none !important;
        border: 2px outset var(--win98-gray) !important;
        border-radius: 0;
        overflow: visible;
    }

    .main-window .window-content {
        max-height: calc(75vh - 36px);
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        overscroll-behavior: contain;
    }

    /* Larger window header for touch */
    .window-header {
        height: 36px;
        padding: 4px 8px;
        font-size: 13px;
    }

    /* Bigger close/min/max buttons for touch */
    .window-control {
        width: 28px;
        height: 28px;
        font-size: 14px;
        margin-left: 4px;
    }

    .window-content {
        height: calc(100% - 36px);
        padding: 12px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        font-size: 14px;
    }

    /* Taskbar */
    .taskbar {
        height: 44px;
        z-index: 10000;
    }

    .start-button {
        height: 36px;
        padding: 4px 12px;
        font-size: 14px;
    }

    .start-logo {
        width: 20px;
        height: 20px;
    }

    .taskbar-items {
        overflow-x: auto;
        white-space: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .taskbar-item {
        min-width: 80px;
        font-size: 11px;
        height: 30px;
        line-height: 26px;
        padding: 2px 6px;
    }

    .system-tray {
        font-size: 12px;
        padding: 4px 8px;
    }

    /* Start menu */
    .start-menu {
        bottom: 44px;
        width: 70vw;
        max-width: 280px;
    }

    .start-menu-item {
        padding: 12px 24px;
        font-size: 14px;
    }

    .start-menu-header {
        padding: 12px;
        font-size: 14px;
    }

    /* Typography */
    h1 {
        font-size: 22px;
    }

    h2 {
        font-size: 16px;
    }

    .glitch-text {
        font-size: 24px;
        letter-spacing: 2px;
    }

    .welcome-text {
        font-size: 14px;
    }

    /* Buttons */
    .button-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        max-width: 100%;
    }

    .button-grid .retro-button {
        padding: 14px 8px;
        font-size: 13px;
        min-height: 48px;
    }

    .retro-button {
        padding: 10px 16px;
        font-size: 13px;
        min-width: 60px;
        min-height: 44px;
    }

    /* Merch */
    .merch-grid {
        grid-template-columns: 1fr;
    }

    /* Links */
    .link-buttons {
        flex-direction: column;
    }

    .social-button {
        padding: 12px 16px;
        font-size: 14px;
        justify-content: center;
    }

    /* Shows */
    .show-item {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Player */
    .player-display {
        flex-direction: column;
        gap: 8px;
    }

    .music-player {
        padding: 12px;
    }

    /* Reflow desktop icons into a grid on mobile instead of absolute positioning */
    .background-icons {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
        padding: 10px;
        position: fixed;
        top: 0;
        bottom: auto;
        left: 0;
        right: 0;
        z-index: 99;
        pointer-events: auto;
    }

    .desktop-icon {
        position: static !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        width: 56px;
        flex-shrink: 0;
    }

    .desktop-icon span {
        font-size: 9px;
    }

    .desktop-icon-img {
        width: 28px;
        height: 28px;
    }

    /* Hide CRT / pixelation overlays for performance on mobile */
    .desktop::before,
    .desktop::after {
        display: none;
    }

    /* Animated section */
    .animated-section {
        padding: 10px;
    }

    .marquee-text {
        font-size: 12px;
    }

    /* Member list */
    .member-list li {
        font-size: 13px;
        padding: 8px;
    }

    /* Contact */
    .contact-method {
        padding: 12px;
    }

    .contact-method p {
        font-size: 13px;
    }

    /* File system / My Computer */
    .file-item {
        padding: 10px 8px;
        font-size: 13px;
    }

    /* Browser window */
    .browser-toolbar {
        flex-wrap: wrap;
        gap: 4px;
    }

    .browser-buttons {
        display: flex;
        flex-wrap: wrap;
        gap: 4px;
    }

    .browser-btn {
        font-size: 11px;
        padding: 6px 8px;
    }
}

/* Small phones */
@media (max-width: 400px) {
    .button-grid {
        grid-template-columns: 1fr;
    }

    .glitch-text {
        font-size: 20px;
    }

    .window-content {
        padding: 8px;
    }

    .start-menu {
        width: 85vw;
    }
}

/* Additional Window Positioning */
#aboutWindow { top: 100px; left: 100px; width: 500px; height: 400px; }
#showsWindow { top: 120px; left: 120px; width: 600px; height: 450px; }
#merchWindow { top: 140px; left: 140px; width: 650px; height: 500px; }
#musicWindow { top: 160px; left: 160px; width: 580px; height: 480px; }
#contactWindow { top: 180px; left: 180px; width: 520px; height: 420px; }
#imageViewerWindow { top: 80px; left: 200px; width: 500px; height: 450px; }
#myComputerWindow { top: 80px; left: 80px; width: 600px; height: 500px; }
#recycleBinWindow { top: 200px; left: 200px; width: 550px; height: 450px; }
#internetExplorerWindow { top: 60px; left: 150px; width: 700px; height: 550px; }

/* Desktop Icon Styles */
.desktop-icon {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 64px;
    text-align: center;
    cursor: pointer;
    pointer-events: all;
    padding: 4px;
    border-radius: 2px;
    user-select: none;
}

.desktop-icon:hover {
    background: rgba(0, 0, 255, 0.2);
}

.desktop-icon.dragging {
    opacity: 0.7;
    z-index: 1000;
}

.desktop-icon img {
    width: 32px;
    height: 32px;
    margin-bottom: 4px;
}

.desktop-icon span {
    font-size: 10px;
    color: white;
    text-shadow: 1px 1px 2px black;
    word-wrap: break-word;
    line-height: 1.2;
    max-width: 60px;
}

/* Windows 98 Style Desktop Icons */
.desktop-icon-img {
    width: 32px;
    height: 32px;
    background: var(--win98-gray);
    border: 1px outset var(--win98-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    margin-bottom: 4px;
    position: relative;
}

/* Computer Icon */
.computer-icon {
    background: linear-gradient(135deg, #c0c0c0 0%, #808080 100%);
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.8),
        inset -1px -1px 0 rgba(128,128,128,0.8);
}

.computer-icon::before {
    content: "";
    position: absolute;
    width: 20px;
    height: 14px;
    background: #000000;
    border: 2px solid #c0c0c0;
    border-radius: 2px;
    top: 6px;
}

.computer-icon::after {
    content: "";
    position: absolute;
    width: 16px;
    height: 2px;
    background: #c0c0c0;
    bottom: 6px;
    border-radius: 1px;
}

/* Recycle Bin Icon */
.recycle-icon {
    background: linear-gradient(135deg, #008000 0%, #004000 100%);
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.3),
        inset -1px -1px 0 rgba(0,64,0,0.8);
}

.recycle-icon::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 20px;
    background: linear-gradient(to bottom, #40ff40 0%, #008000 100%);
    border: 1px solid #004000;
    border-radius: 0 0 4px 4px;
    top: 8px;
}

.recycle-icon::after {
    content: "♻";
    position: absolute;
    color: white;
    font-size: 12px;
    font-weight: bold;
    top: 10px;
}

/* Internet Explorer Icon */
.browser-icon {
    background: linear-gradient(135deg, #0080ff 0%, #004080 100%);
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.3),
        inset -1px -1px 0 rgba(0,64,128,0.8);
}

.browser-icon::before {
    content: "e";
    position: absolute;
    color: white;
    font-size: 18px;
    font-weight: bold;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* About Icon */
.about-icon {
    background: linear-gradient(135deg, #ff8000 0%, #804000 100%);
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.3),
        inset -1px -1px 0 rgba(128,64,0,0.8);
}

.about-icon::before {
    content: "i";
    position: absolute;
    color: white;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

/* Shows Icon */
.shows-icon {
    background: linear-gradient(135deg, #ff0080 0%, #800040 100%);
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.3),
        inset -1px -1px 0 rgba(128,0,64,0.8);
}

.shows-icon::before {
    content: "";
    position: absolute;
    width: 16px;
    height: 16px;
    background: white;
    border: 2px solid #800040;
    border-radius: 2px;
    top: 8px;
}

.shows-icon::after {
    content: "♪";
    position: absolute;
    color: #ff0080;
    font-size: 14px;
    font-weight: bold;
    top: 8px;
}

/* Merch Icon */
.merch-icon {
    background: linear-gradient(135deg, #8000ff 0%, #400080 100%);
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.3),
        inset -1px -1px 0 rgba(64,0,128,0.8);
}

.merch-icon::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 12px;
    background: white;
    border: 1px solid #400080;
    border-radius: 4px 4px 0 0;
    top: 8px;
}

.merch-icon::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 8px;
    background: #8000ff;
    border-radius: 0 0 2px 2px;
    bottom: 8px;
}

/* Music Icon */
.music-icon {
    background: linear-gradient(135deg, #ffff00 0%, #808000 100%);
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.5),
        inset -1px -1px 0 rgba(128,128,0,0.8);
}

.music-icon::before {
    content: "♫";
    position: absolute;
    color: #404000;
    font-size: 20px;
    font-weight: bold;
    text-shadow: 1px 1px 0 rgba(255,255,255,0.5);
}

/* Contact Icon */
.contact-icon {
    background: linear-gradient(135deg, #ff4000 0%, #802000 100%);
    box-shadow: 
        inset 1px 1px 0 rgba(255,255,255,0.3),
        inset -1px -1px 0 rgba(128,32,0,0.8);
}

.contact-icon::before {
    content: "";
    position: absolute;
    width: 18px;
    height: 12px;
    background: white;
    border: 1px solid #802000;
    border-radius: 2px;
    top: 8px;
}

.contact-icon::after {
    content: "@";
    position: absolute;
    color: #ff4000;
    font-size: 14px;
    font-weight: bold;
    top: 8px;
}

/* My Computer Window Styles */
.file-explorer {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.explorer-toolbar {
    background: var(--win98-gray);
    border-bottom: 1px solid var(--win98-dark-gray);
    padding: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.explorer-address {
    flex: 1;
    background: white;
    border: 1px inset var(--win98-gray);
    padding: 4px 8px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
}

.explorer-content {
    flex: 1;
    background: white;
    overflow-y: auto;
    padding: 8px;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 4px 8px;
    cursor: pointer;
    border: 1px solid transparent;
    margin: 2px 0;
}

.file-item:hover {
    background: var(--win98-blue);
    color: white;
    border: 1px dotted white;
}

.file-item:active {
    background: var(--win98-dark-blue);
}

.file-icon {
    margin-right: 8px;
    font-size: 16px;
    width: 20px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* File System Icons */
.file-icon.folder::before {
    content: "";
    width: 16px;
    height: 12px;
    background: linear-gradient(to bottom, #ffff00 0%, #c0c000 100%);
    border: 1px solid #808000;
    border-radius: 2px 2px 0 0;
    position: absolute;
}

.file-icon.folder::after {
    content: "";
    width: 14px;
    height: 2px;
    background: #c0c000;
    border: 1px solid #808000;
    border-top: none;
    position: absolute;
    bottom: 4px;
}

.file-icon.drive::before {
    content: "";
    width: 14px;
    height: 10px;
    background: linear-gradient(to bottom, #c0c0c0 0%, #808080 100%);
    border: 1px solid #404040;
    border-radius: 1px;
    position: absolute;
}

.file-icon.drive::after {
    content: "";
    width: 8px;
    height: 1px;
    background: #000000;
    position: absolute;
    top: 8px;
}

.file-icon.cd::before {
    content: "";
    width: 14px;
    height: 14px;
    background: radial-gradient(circle, #c0c0c0 30%, #404040 31%, #404040 35%, #c0c0c0 36%);
    border: 1px solid #404040;
    border-radius: 50%;
    position: absolute;
}

.file-icon.music::before {
    content: "♪";
    color: #0000ff;
    font-size: 14px;
    font-weight: bold;
    position: absolute;
}

.file-icon.text::before {
    content: "";
    width: 12px;
    height: 14px;
    background: white;
    border: 1px solid #404040;
    position: absolute;
}

.file-icon.text::after {
    content: "A";
    color: #000000;
    font-size: 8px;
    font-weight: bold;
    position: absolute;
    top: 4px;
}

.file-icon.system::before {
    content: "";
    width: 12px;
    height: 14px;
    background: #c0c0c0;
    border: 1px solid #404040;
    position: absolute;
}

.file-icon.system::after {
    content: "⚙";
    color: #404040;
    font-size: 10px;
    position: absolute;
    top: 2px;
}

.file-icon.document::before {
    content: "";
    width: 12px;
    height: 14px;
    background: white;
    border: 1px solid #404040;
    position: absolute;
}

.file-icon.document::after {
    content: "📄";
    font-size: 8px;
    position: absolute;
    top: 3px;
    left: 2px;
}

/* Email and Music Link Icons */
.email-icon::before {
    content: "✉";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: linear-gradient(45deg, #ffffff 0%, #e0e0e0 50%, #ffffff 100%);
    border: 1px outset #ffffff;
    border-radius: 2px;
    color: #800000;
    text-align: center;
    line-height: 14px;
    font-size: 12px;
    margin-right: 4px;
    text-shadow: 1px 1px 0 #ffffff;
}

.music-link-icon::before {
    content: "♪";
    display: inline-block;
    width: 16px;
    height: 16px;
    background: linear-gradient(45deg, #8080ff 0%, #4040c0 50%, #8080ff 100%);
    border: 1px outset #8080ff;
    border-radius: 2px;
    color: white;
    text-align: center;
    line-height: 14px;
    font-size: 12px;
    margin-right: 4px;
    text-shadow: 1px 1px 0 #000040;
}

.file-name {
    font-size: 11px;
}

/* Recycle Bin Window Styles */
.recycle-content {
    text-align: center;
    padding: 20px;
}

.recyclable-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.recyclable-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
    background: var(--win98-white);
    border: 2px inset var(--win98-gray);
    cursor: pointer;
}

.recyclable-item:hover {
    background: var(--win98-light-gray);
}

.recyclable-icon {
    font-size: 48px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 48px;
    height: 48px;
}

/* Recyclable Material Icons */
.recyclable-icon.can::before {
    content: "";
    width: 20px;
    height: 30px;
    background: linear-gradient(to bottom, #c0c0c0 0%, #808080 100%);
    border: 2px solid #404040;
    border-radius: 2px 2px 4px 4px;
    position: absolute;
}

.recyclable-icon.can::after {
    content: "";
    width: 24px;
    height: 2px;
    background: #404040;
    position: absolute;
    top: 8px;
    border-radius: 1px;
}

.recyclable-icon.paper::before {
    content: "";
    width: 24px;
    height: 30px;
    background: white;
    border: 1px solid #404040;
    position: absolute;
}

.recyclable-icon.paper::after {
    content: "NEWS";
    color: #000000;
    font-size: 6px;
    font-weight: bold;
    position: absolute;
    top: 8px;
}

.recyclable-icon.glass::before {
    content: "";
    width: 12px;
    height: 24px;
    background: linear-gradient(to bottom, rgba(0,128,0,0.3) 0%, rgba(0,64,0,0.5) 100%);
    border: 1px solid #404040;
    border-radius: 0 0 6px 6px;
    position: absolute;
}

.recyclable-icon.glass::after {
    content: "";
    width: 14px;
    height: 4px;
    background: #404040;
    position: absolute;
    top: 10px;
    border-radius: 2px;
}

.recyclable-icon.plastic::before {
    content: "";
    width: 16px;
    height: 20px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8) 0%, rgba(200,200,200,0.8) 100%);
    border: 1px solid #404040;
    border-radius: 0 0 8px 8px;
    position: absolute;
}

.recyclable-icon.plastic::after {
    content: "1";
    color: #000000;
    font-size: 10px;
    font-weight: bold;
    position: absolute;
    top: 16px;
}

.recyclable-icon.electronics::before {
    content: "";
    width: 20px;
    height: 12px;
    background: #000000;
    border: 1px solid #404040;
    position: absolute;
}

.recyclable-icon.electronics::after {
    content: "";
    width: 16px;
    height: 8px;
    background: #c0c0c0;
    border: 1px solid #404040;
    position: absolute;
    bottom: 14px;
}

.recyclable-icon.battery::before {
    content: "";
    width: 8px;
    height: 20px;
    background: linear-gradient(to bottom, #ff0000 0%, #800000 50%, #000000 100%);
    border: 1px solid #404040;
    border-radius: 2px;
    position: absolute;
}

.recyclable-icon.battery::after {
    content: "";
    width: 4px;
    height: 2px;
    background: #c0c0c0;
    position: absolute;
    top: 6px;
    border-radius: 1px;
}

.recyclable-name {
    font-size: 11px;
    font-weight: bold;
    color: var(--win98-dark-blue);
}

/* Internet Explorer Window Styles */
.browser-toolbar {
    background: var(--win98-gray);
    border-bottom: 1px solid var(--win98-dark-gray);
    padding: 4px 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.browser-button {
    background: var(--win98-gray);
    border: 1px outset var(--win98-gray);
    padding: 2px 8px;
    font-size: 10px;
    cursor: pointer;
}

.browser-button:hover {
    background: var(--win98-light-gray);
}

.browser-button:active {
    border: 1px inset var(--win98-gray);
}

.browser-address {
    flex: 1;
    background: white;
    border: 1px inset var(--win98-gray);
    padding: 2px 8px;
    font-family: 'Courier New', monospace;
    font-size: 11px;
}

.browser-address-bar {
    display: flex;
    align-items: center;
    padding: 2px 8px;
    gap: 4px;
}

.browser-content {
    flex: 1 !important;
    background: white;
    overflow: hidden;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.browser-viewport {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.browser-page {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
}

.browser-page iframe {
    flex: 1;
    width: 100%;
    border: none;
}

.browser-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 8px;
    background: var(--win98-gray);
    border-top: 1px solid var(--win98-dark-gray);
    font-size: 11px;
}

.geocities-page {
    background: linear-gradient(45deg, #ff69b4, #00ced1);
    color: #000080;
    font-family: 'Comic Sans MS', cursive;
    padding: 20px;
    text-align: center;
    min-height: 100%;
}

.geocities-title {
    font-size: 32px;
    color: #ff0000;
    text-shadow: 2px 2px #ffff00;
    animation: rainbow 3s infinite;
    margin-bottom: 20px;
}

@keyframes rainbow {
    0% { color: #ff0000; }
    16% { color: #ff8000; }
    33% { color: #ffff00; }
    50% { color: #00ff00; }
    66% { color: #0080ff; }
    83% { color: #8000ff; }
    100% { color: #ff0000; }
}

.under-construction {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 20px 0;
    animation: blink 1s infinite;
}

.construction-gif {
    font-size: 24px;
    animation: bounce 0.5s infinite alternate;
}

.visitor-counter {
    background: #000000;
    color: #00ff00;
    padding: 10px;
    margin: 20px auto;
    width: fit-content;
    font-family: 'Courier New', monospace;
    border: 2px solid #ffffff;
}

.guestbook {
    background: #ffffff;
    border: 3px solid #000000;
    padding: 15px;
    margin: 20px 0;
    text-align: left;
}

.guestbook h3 {
    color: #800080;
    text-decoration: underline;
}

.guestbook-entry {
    margin: 10px 0;
    padding: 8px;
    background: #ffffe0;
    border: 1px solid #cccccc;
}

.flame-text {
    color: #ff4500;
    font-weight: bold;
    text-shadow: 2px 2px #ff0000;
}

/* Extra pixelation effects - add .pixelated class to desktop for more intense effect */
.desktop.pixelated {
    filter: 
        contrast(1.5) 
        brightness(0.85) 
        saturate(1.2)
        sepia(0.1);
    transform: scale(1.02);
}

.desktop.pixelated::before {
    background-size: 6px 6px, 3px 3px;
    opacity: 0.8;
}

/* ===== New Single Splash Modal ===== */
.splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.splash-modal {
    background: var(--win98-gray);
    border: 2px outset var(--win98-gray);
    box-shadow: 4px 4px 12px rgba(0,0,0,0.9);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.splash-content {
    padding: 16px;
    text-align: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.splash-title {
    font-family: 'Courier New', monospace;
    font-size: 28px;
    color: var(--win98-red);
    letter-spacing: 3px;
    margin-bottom: 4px;
    animation: glitch 2s infinite;
}

.splash-subtitle {
    font-size: 14px;
    color: var(--win98-dark-blue);
    text-decoration: none;
    margin-bottom: 4px;
    animation: blink 1.5s infinite;
}

.splash-track-name {
    font-family: 'Courier New', monospace;
    font-size: 22px;
    color: var(--win98-black);
    text-decoration: none;
    margin-bottom: 20px;
    letter-spacing: 4px;
}

.splash-embeds {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 10px 0 14px;
}

.splash-embed-block {
    background: var(--win98-white);
    border: 2px inset var(--win98-gray);
    padding: 8px;
}

.splash-embed-block h3 {
    color: var(--win98-dark-blue);
    margin-bottom: 10px;
    font-size: 12px;
}

.splash-embed-block iframe {
    display: block;
    max-width: 100%;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 45%; /* Shorter than full 16:9 to save space */
    height: 0;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.placeholder-note {
    font-size: 10px;
    color: var(--win98-dark-gray);
    font-style: italic;
    margin-top: 8px;
}

.splash-close-btn {
    padding: 10px 28px;
    font-size: 13px;
    font-weight: bold;
    min-height: 38px;
    margin-top: 4px;
}

/* Splash responsive */
@media (max-width: 768px) {
    .splash-overlay {
        display: block;
        padding: 8px;
        overflow-y: scroll;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y;
        overscroll-behavior: contain;
    }

    .splash-modal {
        max-width: 100%;
        max-height: none;
        margin: 8px auto;
        flex-shrink: 0;
    }

    .splash-title {
        font-size: 22px;
    }

    .splash-content {
        padding: 14px;
    }

    .splash-embeds {
        gap: 14px;
        margin: 12px 0 16px;
    }

    .splash-embed-block {
        padding: 8px;
    }
}

/* Mega pixelation effect for extreme retro look */
.desktop.mega-pixelated {
    filter: 
        contrast(1.8) 
        brightness(0.8) 
        saturate(1.4)
        sepia(0.2)
        hue-rotate(5deg);
    transform: scale(1.03);
    background-size: 80% auto, 100% 100% !important;
}

.desktop.mega-pixelated::before {
    background-size: 8px 8px, 4px 4px;
    opacity: 1;
    background: 
        repeating-conic-gradient(
            from 0deg at 50% 50%,
            rgba(0,0,0,0.08) 0deg,
            transparent 2deg,
            transparent 4deg,
            rgba(0,0,0,0.08) 6deg
        ),
        radial-gradient(
            circle at 25% 25%, 
            rgba(255,255,255,0.03) 2px,
            transparent 2px
        );
}

/* Clippy styles removed */

/* Big Man Image Viewer */
.big-man-spin {
    max-width: 80%;
    max-height: 80%;
    animation: bigManSpin 2s linear infinite;
}

@keyframes bigManSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
