@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500&display=swap');

html {
    font-size: 16px; /* 将由 JS 脚本动态调整 */
}

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Noto Sans JP', sans-serif;
    height: 100vh;
    overflow: hidden;
}

#fire-canvas {
    position: fixed;
    z-index: 0;
    top: 0; left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
}

.content-card {
    position: relative;
    z-index: 1;
    margin: auto;
    top: 10%;
    max-width: 44rem;
    padding: 2rem 2.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    text-align: center;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,0.3);
    color: #f0a8a8;
    animation: fadeIn 2s ease;
}

h1 {
    font-size: 1.5rem;
    margin-bottom: 0.625rem;
    color: #e89595;
}

h2 {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    color: #ffd5c0;
}

.status {
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.25);
    padding: 0.75rem;
    border-radius: 0.5rem;
    display: inline-block;
    color: #fff;
    box-shadow: 0 0 0.25rem rgba(0,0,0,0.5);
}

#music-btn {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: transform 0.3s ease;
}
.rotating-icon.playing {
    animation: spin 5s linear infinite;
}
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(1.875rem); }
    to { opacity: 1; transform: translateY(0); }
}

.background-blur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('adele_optimized.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(0.75rem);
    z-index: -2;
}

.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.3);
    z-index: -1;
}

#clock-visualizer {
    position: relative;
    display: block;
    margin: 3.75rem auto -1.875rem auto;
    z-index: 2;
    width: 18.75rem;
    height: 18.75rem;
    border-radius: 50%;
    backdrop-filter: blur(0.25rem);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 1.5rem rgba(255, 180, 200, 0.4);
    border: 0.125rem solid rgba(255, 200, 220, 0.4);
}

/* 可选移动端小屏优化 */
@media (max-width: 768px) {
    .content-card {
        padding: 1.5rem 1rem;
        top: 6%;
        max-width: 90%;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1rem;
    }

    .status {
        font-size: 0.95rem;
        padding: 0.625rem;
    }

    #clock-visualizer {
        width: 14rem;
        height: 14rem;
        margin: 2.5rem auto -1rem auto;
    }

    #music-btn {
        width: 3.25rem;
        height: 3.25rem;
        right: 1rem;
        bottom: 1rem;
    }
}