/* ========== 全局重置 ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background-color: #000;
    width: 100%;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    background-color: #000;
    color: #fff;
    font-family: "Microsoft Yahei", sans-serif;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    overflow-x: hidden;
    position: relative;
    padding-bottom: 120px;
    /* 防止长链接撑爆屏幕 */
    word-break: break-all; 
    overflow-wrap: break-word;
}

/* 所有图片通用防溢出 */
img {
    max-width: 100%;
    height: auto;
}

/* ========== 顶部导航 ========== */
.top-nav {
    display: flex;
    background: #b80000;
    padding: 10px 4%;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 0;
    width: 100%;
}
.top-nav img {
    margin-right: clamp(12px, 4vw, 40px);
    height: 32px;
    object-fit: contain;
}
.nav-item {
    font-size: clamp(14px, 3.6vw, 18px);
    margin: 0 clamp(8px, 2vw, 16px);
}

/* ========== 大标题图片 ========== */
.main-title-img {
    display: block;
    width: 90%;
    max-width: 800px;
    margin: 20px auto;
}

/* ========== 简介区域 ========== */
.intro-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 0 4%;
    width: 100%;
}
.intro-img {
    width: 100%;
    height: auto;
    border: 2px solid #b80000;
    display: block;
}
.intro-text {
    background: #b80000;
    padding: 16px;
    line-height: 1.6;
    font-size: clamp(14px, 3.6vw, 16px);
    width: 100%;
}
.album-time {
    background: #b80000;
    margin: 20px 4%;
    padding: 12px;
    line-height: 1.7;
    font-size: clamp(14px, 3.6vw, 16px);
    width: calc(100% - 8%);
}

/* ========== 专辑发散图区域（电脑端） ========== */
.album-container {
    position: relative;
    width: 800px;
    max-width: 100%;
    height: 600px;
    margin: 0 auto;
    overflow: hidden; 
}

.center-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}
.center-core img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid #ff4500;
    box-shadow: 0 0 20px rgba(255, 69, 0, 0.8);
}

.hidden-radio { display: none; }

.album-item {
    position: absolute;
    width: 120px;
    height: 120px;
    z-index: auto;
}

.pos-top           { top: 5%;    left: 50%; transform: translateX(-50%); }
.pos-right-top     { top: 20%;   right: 15%; }
.pos-right-bottom  { bottom: 20%; right: 15%; }
.pos-bottom        { bottom: 5%; left: 50%; transform: translateX(-50%); }
.pos-left-bottom   { bottom: 20%; left: 15%; }
.pos-left-top      { top: 20%;   left: 15%; }

.album-label {
    display: block;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    height: 100%;
}
.album-label img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
    border: 2px solid #b80000;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.hidden-radio:checked + .album-label {
    position: relative;
    z-index: 100;
}
.hidden-radio:checked + .album-label img {
    transform: scale(1.8);
    box-shadow: 0 0 30px rgba(255, 69, 0, 0.8);
}

.album-info {
    display: none;
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 250px;
    background: rgba(0, 0, 0, 0.95);
    border: 1px solid #ff4500;
    padding: 15px;
    color: #fff;
    border-radius: 8px;
    z-index: 9999;
}
.album-info h3 { color: #ff4500; margin-bottom: 8px; font-size: 16px; }
.album-info p { font-size: 12px; line-height: 1.5; }
.hidden-radio:checked ~ .album-info { display: block; }

.pos-top .album-info,
.pos-left-top .album-info,
.pos-right-top .album-info {
    bottom: auto;
    top: 150px;
    left: 50%;
    transform: translateX(-50%);
}
.pos-right-top .album-info {
    top: 50%;
    left: -260px;
    transform: translateY(-50%);
}
.pos-bottom .album-info,
.pos-left-bottom .album-info,
.pos-right-bottom .album-info {
    bottom: 150px;
    top: auto;
}
.album-item:has(.hidden-radio:checked) { z-index: 1000; }

/* ========== 26岁的小孩 轮播（电脑端） ========== */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    height: 400px;
    margin: 50px auto;
    overflow: hidden;
}
.slider-container input[type="radio"] { display: none; }
.slide {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
#slide1:checked ~ #content1,
#slide2:checked ~ #content2,
#slide3:checked ~ #content3 {
    display: flex;
}

.cover-wrapper {
    position: relative;
    width: 300px; height: 300px;
    margin-right: 20px;
    z-index: 3;
    flex-shrink: 0;
}
.cover-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover; border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.5);
}

.lyrics-box {
    flex: 1;
    background-color: #b80000;
    color: #fff;
    padding: 30px 60px;
    border-radius: 5px;
    height: 250px;
    overflow-y: auto;
    z-index: 2;
}

.arrow {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    font-size: 30px;
    color: #000;
    cursor: pointer;
    z-index: 100;
    user-select: none;
    padding: 10px;
    transition: all 0.3s;
}
.arrow:hover {
    color: #faf8f7;
    transform: translateY(-50%) scale(1.2);
}
.arrow-left  { left: 350px; }
.arrow-right { right: 20px; }

/* ========== 引言区与底部红条 ========== */
.quote-section {
    position: relative;
    width: 100%;
    background-color: #000;
    padding-top: 40px;
}
.quote-text {
    position: relative;
    z-index: 10;
    width: 88%;
    margin: 0 auto;
    color: #b80000;
    font-size: clamp(16px, 4.2vw, 28px);
    font-weight: bold;
    line-height: 1.7;
    text-align: left;
    padding-bottom: 100px;
}
.quote-content { margin-bottom: 20px; }
.quote-author {
    text-align: right;
    font-size: clamp(14px, 3.8vw, 24px);
}
.red-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #b80000;
    z-index: 7;
}
.fire-bg {
    position: absolute;
    bottom: 80px;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    z-index: 6;
    pointer-events: none;
}

/* ==================================================
   ============ 移动端适配（≤820px） ============
   ================================================== */
@media (max-width: 820px) {
    .album-container {
        width: 100%;
        height: auto;
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 15px;
        padding: 24px 4%;
        place-items: center;
    }

    .center-core {
        position: static;
        transform: none;
        grid-column: 1 / -1;
        margin-bottom: 8px;
    }
    .center-core img {
        width: clamp(100px, 32vw, 150px);
        height: clamp(100px, 32vw, 150px);
    }

    .album-container .album-item {
        position: static;
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
        transform: none !important;
    }

    .hidden-radio:checked + .album-label img {
        transform: none;
        box-shadow: 0 0 0 3px #ff4500, 0 0 24px rgba(255, 69, 0, 0.9);
    }

    .album-item:has(.hidden-radio:checked) {
        grid-column: 1 / -1;
        aspect-ratio: auto;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        z-index: 1000;
        width: 100%;
    }
    .album-item:has(.hidden-radio:checked) .album-label {
        width: 140px;
        height: 140px;
        flex: 0 0 auto;
    }

    .album-container .album-info,
    .pos-top .album-info,
    .pos-right-top .album-info,
    .pos-right-bottom .album-info,
    .pos-bottom .album-info,
    .pos-left-bottom .album-info,
    .pos-left-top .album-info {
        position: static;
        transform: none;
        top: auto; right: auto; bottom: auto; left: auto;
        width: 100%;
        max-width: 340px;
        margin-top: 4px;
    }

    .slider-container {
        height: auto;
        min-height: 480px;
        margin: 30px auto;
        padding-bottom: 50px;
        width: 100%;
    }
    .slide {
        position: static;
        flex-direction: column;
        align-items: center;
        padding: 10px 4%;
        width: 100%;
    }
    #slide1:checked ~ #content1,
    #slide2:checked ~ #content2,
    #slide3:checked ~ #content3 {
        display: flex;
    }

    .cover-wrapper {
        width: clamp(180px, 62vw, 300px);
        height: auto;
        aspect-ratio: 1 / 1;
        margin: 0 0 18px 0;
    }
    .lyrics-box {
        width: 100%;
        height: auto;
        max-height: 320px;
        padding: 20px 22px;
        font-size: clamp(13px, 3.6vw, 15px);
    }

    .arrow {
        font-size: 24px;
        color: #ff4500;
        background: rgba(0, 0, 0, 0.5);
        border-radius: 50%;
        width: 38px;
        height: 38px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    .arrow-left  { left: 4px; }
    .arrow-right { right: 4px; }

    .red-bar { height: 60px; }
    .fire-bg { bottom: 60px; }
    body { padding-bottom: 100px; }
}