html,
body {
    height: 100%;
}

body {
    font-family: "Avenir Next", "PingFang SC", "Hiragino Sans GB", "Microsoft Yahei", sans-serif;
    letter-spacing: 0.06em;
    margin: 0;
    overflow: hidden;
    color: #fdf6f2;
}

a {
    color: inherit;
}

.body--ready {
    background: linear-gradient(160deg, rgb(203, 235, 219) 0%, rgb(55, 148, 192) 0%);
}

.body--ready1 {
    background: linear-gradient(160deg, rgb(203, 235, 219) 0%, rgb(55, 148, 192) 30%);
}

.body--ready2 {
    background: linear-gradient(160deg, rgb(203, 235, 219) 0%, rgb(55, 148, 192) 60%);
}

.body--ready3 {
    background: linear-gradient(160deg, rgb(203, 235, 219) 0%, rgb(55, 148, 192) 90%);
}

.body--ready4 {
    background: linear-gradient(160deg, rgb(203, 235, 219) 0%, rgb(55, 148, 192) 120%);
}

.canvas {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    margin: 0;
    z-index: 1;
}

.heart-layer {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: auto;
    overflow: hidden;
}

.heart-particle {
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(255, 224, 212, 0.74);
    text-shadow: 0 0 12px rgba(255, 166, 186, 0.5);
    will-change: transform, opacity;
    pointer-events: auto;
    cursor: pointer;
}

.heart-fragment {
    position: absolute;
    left: 0;
    top: 0;
    color: rgba(255, 238, 232, 0.92);
    text-shadow: 0 0 8px rgba(255, 173, 200, 0.58);
    pointer-events: none;
    will-change: transform, opacity;
}

.overlay {
    position: fixed;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 22px;
    pointer-events: none;
}

.jiajia {
    margin-top: 44px;
    text-align: center;
    pointer-events: auto;
}

img#logo {
    width: 138px;
    height: 138px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid rgba(255, 246, 241, 0.82);
    box-shadow: 0 16px 36px rgba(23, 32, 53, 0.44);
    transition: transform 0.9s ease, box-shadow 0.5s ease;
}

#logo:hover {
    box-shadow: 0 0 18px rgba(255, 255, 255, 0.88);
    transform: rotate(360deg) scale(1.03);
}

.info-panel {
    width: min(720px, calc(100vw - 28px));
    margin-bottom: 14px;
    text-align: center;
    background: rgba(28, 23, 34, 0.42);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 18px;
    padding: 16px 14px 14px;
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 46px rgba(11, 18, 37, 0.35);
    pointer-events: auto;
}

.text {
    margin: 0;
    width: 100%;
    font-weight: 600;
    font-size: clamp(1rem, 3.2vw, 1.45rem);
    line-height: 1.7;
}

.text_tip {
    margin: 10px 0 12px;
    width: 100%;
    font-size: clamp(0.72rem, 2.5vw, 0.9rem);
    color: rgba(255, 235, 225, 0.92);
}

.now-playing {
    margin: 10px 0 6px;
    font-size: clamp(0.78rem, 2.5vw, 0.96rem);
    color: rgba(255, 244, 236, 0.95);
}

#songName {
    color: #ffe0d3;
    font-weight: 650;
}

.control-btn {
    pointer-events: auto;
    border: 1px solid rgba(255, 255, 255, 0.34);
    background: rgba(255, 255, 255, 0.12);
    color: #fff6f2;
    border-radius: 999px;
    padding: 8px 14px;
    font-size: 0.85rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.control-btn:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.56);
}

.primary-btn {
    min-width: 154px;
    background: linear-gradient(135deg, #ff8a72, #ff5f9a);
    border-color: rgba(255, 255, 255, 0.55);
    font-weight: 650;
    letter-spacing: 0.08em;
    box-shadow: 0 8px 18px rgba(255, 98, 132, 0.38);
    animation: pulse-btn 1.7s ease-in-out infinite;
}

.primary-btn:hover {
    background: linear-gradient(135deg, #ff9b87, #ff70a8);
    box-shadow: 0 10px 24px rgba(255, 98, 132, 0.52);
}

@keyframes pulse-btn {
    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

.back-home {
    align-self: flex-start;
}

.music {
    width: 0;
    height: 0;
    overflow: hidden;
}

@media (max-width: 640px) {
    .overlay {
        padding: 16px;
    }

    .jiajia {
        margin-top: 34px;
    }

    img#logo {
        width: 114px;
        height: 114px;
    }

    .info-panel {
        border-radius: 14px;
        padding: 14px 12px;
    }
}
