/* Core Styles */
body {
    /* overflow-x: hidden; - Removed to allow scrolling on mobile if needed */
}

/* Glassmorphism */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
}

.glass-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-4px) scale(1.01);
    box-shadow: 0 10px 40px -10px rgba(0,0,0,0.3);
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.4); }

/* Animation Delays */
.delay-100 { animation-delay: 100ms; }
.delay-200 { animation-delay: 200ms; }
.delay-300 { animation-delay: 300ms; }
.delay-400 { animation-delay: 400ms; }
.delay-500 { animation-delay: 500ms; }

/* Toast Notification */
#toast {
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease-in-out;
    transform: translateY(20px);
}
#toast.show {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

/* --- New Theme: Music Glass Card --- */
.theme-music-card .music-card-container {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.theme-music-card .music-progress-bar {
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 99px;
    position: relative;
    cursor: pointer;
}

.theme-music-card .music-progress-fill {
    height: 100%;
    background: white;
    border-radius: 99px;
    width: 65%; /* Static for now */
    position: relative;
}

.theme-music-card .music-progress-fill::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(50%, -50%);
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.snowflakes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 10;
}

/* Snow Effect */
.snowflake {
    position: absolute;
    top: -10%;
    color: #fff;
    font-size: 1em;
    font-family: Arial;
    text-shadow: 0 0 1px #000;
    user-select: none;
    z-index: 1000;
    pointer-events: none;
    animation-name: snowflakes-fall, snowflakes-shake;
    animation-duration: 12s, 3s;
    animation-timing-function: linear, ease-in-out;
    animation-iteration-count: infinite, infinite;
    animation-play-state: running, running;
}

@keyframes snowflakes-fall {
    0% { top: -10%; }
    100% { top: 100%; }
}

@keyframes snowflakes-shake {
    0% { transform: translateX(0px); }
    50% { transform: translateX(80px); }
    100% { transform: translateX(0px); }
}

/* Generate random delays for snowflakes */
.snowflake:nth-of-type(1) { left: 5%; animation-delay: 0s, 0s; }
.snowflake:nth-of-type(2) { left: 15%; animation-delay: 1s, 1s; }
.snowflake:nth-of-type(3) { left: 25%; animation-delay: 6s, 0.5s; }
.snowflake:nth-of-type(4) { left: 35%; animation-delay: 4s, 2s; }
.snowflake:nth-of-type(5) { left: 45%; animation-delay: 2s, 2s; }
.snowflake:nth-of-type(6) { left: 55%; animation-delay: 8s, 3s; }
.snowflake:nth-of-type(7) { left: 65%; animation-delay: 6s, 2s; }
.snowflake:nth-of-type(8) { left: 75%; animation-delay: 2.5s, 1s; }
.snowflake:nth-of-type(9) { left: 85%; animation-delay: 1s, 0s; }
.snowflake:nth-of-type(10) { left: 95%; animation-delay: 3s, 1.5s; }

/* Utility: Hide Scrollbar */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}
