/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body, html {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* Desktop Environment & Background Wallpaper */
#desktop {
    position: relative;
    width: 100vw;
    height: 100vh;
    background: url('https://i.ibb.co/Z1MnpYYk/241307-2160x3840-samsung-4k-manchester-city-fc-background.jpg') no-repeat center center fixed;
    background-size: cover;
}

/* Bottom Taskbar / Dock */
#taskbar {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(10, 25, 47, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(108, 171, 221, 0.3);
    padding: 10px 20px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

#os-title {
    color: #6CABDD;
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 1px;
    margin-right: 10px;
    text-shadow: 0 0 10px rgba(108, 171, 221, 0.5);
}

.taskbar-btn {
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.taskbar-btn:hover {
    background: rgba(108, 171, 221, 0.25);
    color: #6CABDD;
}

/* OS Window Frames (Hidden by default, centered on screen) */
.window {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(108, 171, 221, 0.2);
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    z-index: 10;
}

/* Welcome Modal (Visible by default on load) */
#welcome-window {
    display: block;
}

/* Window Header Bar */
.window-header {
    background: rgba(0, 45, 98, 0.8);
    color: #ffffff;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(108, 171, 221, 0.2);
    cursor: move;
}

.close-btn {
    background: transparent;
    border: none;
    color: #ff5f56;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.1s;
}

.close-btn:hover {
    transform: scale(1.2);
}

/* Window Content Body */
.window-body {
    padding: 18px;
    color: #e2e8f0;
    font-size: 13px;
    line-height: 1.5;
}

.window-body h3 {
    color: #6CABDD;
    margin-bottom: 10px;
    font-size: 16px;
}

/* Specific App Components Styling */
.fixture-card, .spotify-embed-container, .gallery-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 12px;
    border-radius: 8px;
    margin-top: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.live-badge {
    background: #6CABDD;
    color: #001f3f;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 11px;
}

#gallery-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.gallery-controls {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.gallery-controls button, #welcome-action-btn, #wallpaper-btn, #theme-btn {
    background: #6CABDD;
    color: #001f3f;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: opacity 0.2s;
}

.gallery-controls button:hover, #welcome-action-btn:hover, #wallpaper-btn:hover, #theme-btn:hover {
    opacity: 0.85;
}
