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

body {
    font-family: 'Noto Serif SC', serif;
    height: 100vh;
    overflow: hidden;
    position: relative;
    background: #000;
}

.bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    transition: opacity 1s ease-in-out;
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(2px);
    z-index: 2;
}

.content {
    position: relative;
    z-index: 3;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    padding: 2rem;
}

.date-container {
    margin-bottom: 3rem;
}

.date-top {
    font-size: 1.25rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    opacity: 0.9;
    margin-bottom: 0.5rem;
}

.date-subtitle {
    font-size: 0.875rem;
    font-weight: 300;
    opacity: 0.7;
    letter-spacing: 0.05em;
}

.date-number {
    font-size: clamp(6rem, 15vw, 12rem);
    font-weight: 200;
    line-height: 1;
    margin: 2rem 0;
    letter-spacing: -0.05em;
}

.quote-container {
    max-width: 600px;
    margin: 2rem 0;
}

.quote-text {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.quote-author {
    font-size: 1rem;
    font-weight: 300;
    opacity: 0.8;
    text-align: right;
    font-style: italic;
}

.refresh-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.refresh-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(180deg);
}

.music-player {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    z-index: 10;
}

.music-btn {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 1rem;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.music-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.music-panel {
    position: absolute;
    bottom: 4rem;
    left: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 1rem;
    width: 300px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.music-panel.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

@media (max-width: 768px) {
    .content {
        padding: 1rem;
    }
    
    .date-top {
        font-size: 1rem;
    }
    
    .date-subtitle {
        font-size: 0.75rem;
    }
    
    .quote-text {
        font-size: 1.25rem;
    }
    
    .refresh-btn {
        top: 1rem;
        right: 1rem;
        padding: 0.5rem;
    }
    
    .music-player {
        bottom: 1rem;
        left: 1rem;
    }
    
    .music-panel {
        width: 250px;
        left: 50%;
        transform: translateX(-50%);
    }
}