/* 每次更新css时，执行：sudo /usr/local/bin/update_web.sh */
/* 避免浏览器css缓存 */

:root {
    --primary-color: #FFD700;    
    --secondary-color: #FFF9E3;  
    --accent-color: #4A3427;     
    --text-muted: #6D5446;       
    --glass-bg: rgba(255, 255, 255, 0.85); 
    --border-style: 2px dashed #FFD700;    
}
html {
    scroll-behavior: smooth; 
    height: 100vh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
}
body {
    background: var(--secondary-color);
    color: var(--accent-color);
    font-family: 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
}
body::-webkit-scrollbar { display: none; }

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass-bg);
    backdrop-filter: blur(8px);
    padding: 15px 5%;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}
.header-title { font-size: 1.5em; font-weight: bold; color: var(--accent-color); }

.bili-btn {
    background: var(--primary-color);
    color: #fff;
    padding: 8px 18px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.3);
}
.bili-btn:hover { transform: scale(1.05); background: #f0c300; }

.side-nav {
    position: fixed !important;
    right: 30px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    z-index: 9999 !important;
    
    display: flex !important;
    flex-direction: column !important;
    gap: 15px !important;
}

.section {
    min-height: 100vh;
    height: auto;
    padding: 100px 0 60px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.glass-card {
    background: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
    border: none !important;

    width: 100%;
    max-width: 1200px;
    padding: 10px 5% !important;
    box-sizing: border-box;
    margin: 0 auto !important;

    display: flex;
    flex-direction: column;
    align-items: center;
}

.decoration-q {
    position: absolute;
    z-index: 10;
    pointer-events: none; 
    animation: float-q 5s ease-in-out infinite;
}

.signature-img {
    max-width: 90%;
    width: 500px;
    height: auto;
}

.avatar-static {
    width: clamp(120px, 20vw, 220px);
    height: auto;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary-color);
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-top: max(-125px, -15vw);
}

.intro-text {
    max-width: 800px;
    text-align: center;
}

.stats-box {
    background: rgba(255, 215, 0, 0.15);
    padding: 15px 25px;
    border-radius: 20px;
    font-size: 1.2em;
    font-weight: bold;
    display: inline-block;
    margin-top: 15px;
}

.dot {
    width: 12px; height: 12px; border-radius: 50%; background: #e0e0e0;
    position: relative; transition: 0.3s; cursor: pointer; text-decoration: none;
}
.dot:hover, .dot.active { background: var(--primary-color); transform: scale(1.4); box-shadow: 0 0 10px rgba(255, 215, 0, 0.6); }
.dot::before {
    content: attr(data-title); position: absolute; right: 30px; top: 50%; transform: translateY(-50%);
    background: #4A3427; color: #fff; padding: 5px 12px; border-radius: 8px; font-size: 12px;
    opacity: 0; pointer-events: none; transition: 0.3s; white-space: nowrap;
}
.dot:hover::before { opacity: 1; right: 25px; }


.scroll-container {
    width: 100%;
    max-height: none !important; 
    overflow-y: visible !important;
    overflow-x: hidden;
    padding-right: 15px;
    box-sizing: border-box;
}
.scroll-container::-webkit-scrollbar { width: 6px; }
.scroll-container::-webkit-scrollbar-track { background: rgba(0,0,0,0.05); border-radius: 10px; }
.scroll-container::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 10px; }

.model-jump-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, #FFF9E3 0%, #fff0c0 50%, #FFF9E3 100%);
    align-items: center !important;
    justify-content: center !important;
}

.model-bg-container {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-auto-rows: 220px;
    gap: 20px;
    padding: 40px;
    box-sizing: border-box;
    z-index: 0;
    pointer-events: none;
    /*overflow: hidden;*/
    align-items: center;
    justify-items: center;
}

.model-bg-item {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.model-bg-item img {
    display: block;
    object-fit: cover;
    border-radius: 10px;
    transition: all 0.8s ease;
    filter: drop-shadow(0 4px 10px rgba(74, 52, 39, 0.2));
}

.model-jump-section:hover .model-bg-deco {
    opacity: 0.6;
    filter: drop-shadow(0 8px 20px rgba(74, 52, 39, 0.2));
}

.model-jump-card {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    width: min(85vw, 520px);
    padding: 55px 45px;
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    text-decoration: none;
    color: var(--accent-color);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.model-jump-card:hover {
    transform: translateY(-10px) scale(1.03);
    background: transparent !important;
    box-shadow: none !important;
}

.model-jump-card h2 {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    color: var(--accent-color);
    letter-spacing: 2px;
}

.model-jump-card p {
    margin: 0;
    color: var(--text-muted);
    font-size: 1.05rem;
    text-align: center;
    line-height: 1.6;
}

.model-jump-btn {
    margin-top: 8px;
    background: var(--primary-color);
    color: #fff;
    padding: 14px 40px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    display: inline-block;
}

.model-jump-card:hover .model-jump-btn {
    background: #f0c300;
    transform: scale(1.08);
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
}

@media (max-width: 768px) {
    .model-jump-card {
        padding: 40px 25px;
        gap: 14px;
    }
    .model-bg-deco {
        border-radius: 6px;
    }
}

.model-img-fix {
    width: 100% !important;
    max-width: 400px; 
    height: auto !important;
    aspect-ratio: auto;
    object-fit: contain; 
    border-radius: 15px;
    cursor: pointer;
    transition: transform 0.3s;
}

.model-img {
    width: 100%; max-width: 800px; border-radius: 20px; transition: all 0.3s ease;
    cursor: pointer; box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.model-img:hover { transform: scale(1.02); box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3); }
.model-img.expanded {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);    
    z-index: 9999;
    max-width: 90vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 0 100px rgba(0,0,0,0.5);
}

/* ========== 工坊橱窗 ========== */
.workshop-card {
    flex-direction: row !important;
    align-items: center !important;
    gap: 60px;
    max-width: 1100px;
    padding: 40px 5% !important;
}

.workshop-left {
    flex: 1;
    max-width: 420px;
    width: 100%;
}

.carousel-box {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 2px solid rgba(255, 215, 0, 0.2);

    /*padding: 5px;
    box-sizing: border-box;

    display: flex;
    align-items: center;
    justify-content: center;*/
}

.carousel-slide {
    position: absolute;
    top: 40px;
    left: 40px;
    width: calc(100% - 80px);
    height: calc(100% - 80px);
    object-fit: contain;
    object-position: center center;
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}

.carousel-slide.active {
    opacity: 1;
}

.workshop-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.workshop-right h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    color: var(--accent-color);
    margin: 0;
    letter-spacing: 2px;
}

.workshop-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
    max-width: 420px;
}

.workshop-stats {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    margin: 8px 0;
}

.stats-num {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.3);
}

.stats-label {
    font-size: 1rem;
    color: var(--text-muted);
    letter-spacing: 2px;
}

.workshop-btn {
    display: inline-block;
    margin-top: 8px;
    background: var(--primary-color);
    color: #fff;
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.workshop-btn:hover {
    background: #f0c300;
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

@media (max-width: 768px) {
    .workshop-card {
        flex-direction: column !important;
        gap: 40px;
    }
    .workshop-left {
        max-width: 280px;
    }
    .workshop-right {
        align-items: center;
        text-align: center;
    }
    .workshop-stats {
        align-items: center;
    }
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;     
    padding-top: 56.25%;   
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    border: 2px dashed var(--FFD700, #FFD700);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
    margin: 0 auto;      
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/*
.song-scroll-box {
    width: 100%; height: 400px; overflow-y: auto; padding-right: 10px; margin-top: 20px;
}
.song-scroll-box::-webkit-scrollbar { width: 6px; }
.song-scroll-box::-webkit-scrollbar-thumb { background: var(--primary-color); border-radius: 10px; }
.song-scroll-box::-webkit-scrollbar-track { background: rgba(255, 215, 0, 0.1); }
.song-group-title {
    font-size: 1.1em; color: #D2691E; border-bottom: 1px dashed var(--primary-color);
    padding-bottom: 5px; margin: 20px 0 10px 0;
}
.song-list-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
.song-item {
    background: white; padding: 8px; border-radius: 8px; font-size: 0.9em;
    text-align: center; border: 1px solid #fef0b3; transition: 0.3s;
}
.song-item:hover { background: var(--primary-color); color: white; transform: translateY(-2px); }
*/

/* ========== 歌单滚动展示区 ========== */
.song-section-card {
    flex-direction: row !important;
    align-items: center !important;
    gap: 60px;
    max-width: 1100px;
    padding: 40px 5% !important;
}

.song-carousel-wrapper {
    flex: 1;
    max-width: 420px;
    width: 100%;
}

.song-carousel-box {
    position: relative;
    width: 100%;
    height: 420px;
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    border: 2px solid rgba(255, 215, 0, 0.2);
}

.song-scroll-list {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;  /* ★ 上下留白让第一项和最后一项能滚到正中间 */
    box-sizing: border-box;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scrollbar-color: rgba(74, 52, 39, 0.5) transparent;
}

/* 偏黑的滚动条 */
.song-scroll-list::-webkit-scrollbar {
    display: none;
}
.song-scroll-list::-webkit-scrollbar-track {
    background: transparent;
    margin: 20px 0;
}
.song-scroll-list::-webkit-scrollbar-thumb {
    background: rgba(74, 52, 39, 0.45);  /* 偏黑/棕色 */
    border-radius: 10px;
}

.song-scroll-item {
    flex: 0 0 auto;
    height: 56px;
    line-height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    color: #6D5446;
    transition: all 0.35s ease;
    scroll-snap-align: center;
    width: 100%;
    text-align: center;
    opacity: 0.35;
    transform: scale(0.82);
    user-select: none;
    pointer-events: none;
}

/* 上下第2个（最远） */
.song-scroll-item.near {
    opacity: 0.55;
    transform: scale(0.9);
    font-size: 1.1rem;
}

/* 上下第1个（较近） */
.song-scroll-item.close {
    opacity: 0.8;
    transform: scale(1.0);
    font-size: 1.25rem;
}

/* 正中间（特殊处理） */
.song-scroll-item.active {
    font-size: 1.6rem;
    font-weight: bold;
    color: #4A3427;
    opacity: 1;
    transform: scale(1.18);
    text-shadow: 0 2px 14px rgba(255, 215, 0, 0.3);
    /*letter-spacing: 2px;*/
}

/* ========== 下载中心横向滚动 ========== */
.gallery-scroll {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 10px 40px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}

/* 隐藏横向滚动条（保持美观） */
.gallery-scroll::-webkit-scrollbar {
    height: 6px;
}
.gallery-scroll::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.03);
    border-radius: 10px;
}
.gallery-scroll::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.gallery-card {
    flex: 0 0 auto;
    width: 280px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    border: 1px solid rgba(255, 215, 0, 0.15);
    scroll-snap-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.gallery-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(255, 215, 0, 0.15);
}

.gallery-media {
    position: relative;
    width: 100%;
    height: 180px;
    background: #f8f5f0;
    overflow: hidden;
}

.gallery-media img,
.gallery-media video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.gallery-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 11px;
    pointer-events: none;
    letter-spacing: 1px;
}

.gallery-info {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    flex: 1;
}

.gallery-info h3 {
    margin: 0;
    font-size: 1.15rem;
    color: var(--accent-color);
}

.gallery-info p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
    flex: 1;
}

/* 圆形下载按钮 */
.gallery-dl-btn {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    margin-top: 8px;
    flex-shrink: 0;
}

.gallery-dl-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 215, 0, 0.5);
    background: #f0c300;
}

.gallery-dl-btn img {
    width: 22px;
    height: 22px;
    object-fit: contain;
    filter: brightness(0) invert(1);  /* 把图标变成白色，如果你的图标本来就是白色可以去掉这行 */
}

/* 移动端适配 */
@media (max-width: 768px) {
    .gallery-card {
        width: 240px;
    }
    .gallery-media {
        height: 150px;
    }
}

.content-block { width: 100%; text-align: center; }

.contact-list {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}
.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--accent-color);
    transition: transform 0.3s;
}
.contact-item:hover {
    transform: translateY(-5px);
}
.contact-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin-bottom: 15px;
    background: #f0f0f0;
}
.contact-name {
    /* font-weight: bold;*/
    font-size: 16px;
    margin-bottom: 2px;
}

.about-card { 
    flex: 1;
    min-width: 280px;
    /*background: rgba(255,215,0,0.05);*/
    padding: 15px; 
    border-radius: 25px;
    /*border: 1px dashed var(--primary-color); */
}

.about-card p {
    font-size: 20px;
}

#about.section {
    padding-bottom: 0 !important;
    display: flex !important;
    flex-direction: column !important;         
    justify-content: space-between !important; 
    align-items: center !important;
    height: auto !important;
    min-height: 100vh !important;
}

.about-glass-card {
    width: 100% !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    padding: 40px 20px 40px 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}

.icon-grid {
    display: flex;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    width: 100%;
    margin-top: 10px;
    padding: 0 0;
    box-sizing: border-box;
    justify-content: center;
}

.icon-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: transform 0.3s;
}

.icon-col:hover {
    transform: translateY(-5px);
}

.icon-img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    padding: 0;
    box-sizing: border-box;
}

.site-footer, footer {
    display: block !important;
    background-color: #2C2A29 !important;
    
    width: 100% !important;               
    max-width: 100% !important;
    box-sizing: border-box !important;
    
    margin: 0 !important;
    margin-top: 80px !important;          
    padding: 60px 20px !important;
    text-align: center !important;
    
    scroll-snap-align: start !important;
    scroll-snap-stop: always;   
}

/* 页脚字体颜色 */
.site-footer p, footer p {
    color: #FFF9E3 !important; 
    margin: 8px 0 !important;
    font-size: 0.9rem !important;
    opacity: 0.85 !important;
}
footer a {
    text-decoration: none;
    color: #FFF9E3;
    margin: 8px 0 !important;
    font-size: 0.9rem !important;
    opacity: 0.85 !important;
}
footer a:hover {
    text-decoration: underline;
}

.signature-img {
    max-width: 90%;
    width: min(90vw, 780px);
    height: auto;
    display: block;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    gap: 60px;
}

/* 通用大列基础 */
.footer-column {
    display: flex !important;
    flex-direction: column !important;
}

/* 金色精美标题 */
.footer-column h4 {
    color: #FFD700 !important; 
    font-size: 1.1rem;
    margin-top: 0;
    margin-bottom: 25px;
    font-weight: 600;
    letter-spacing: 1px;
}
.links-column h4 {
    text-align: left !important;
    margin-left: 0 !important;
}

/* 顺便也确保一下右侧的“关于本站”在电脑端雷打不动地向右对齐，形成对称美 */
.info-column h4 {
    text-align: right !important;
    margin-right: 0 !important;
}

/* ==================== 让快捷导航自己内部并列两列 ==================== */
.nav-columns-wrapper {
    display: flex !important;
    flex-direction: row !important; /* 强制里面的两个子列横向并排 */
    gap: 50px;                      /* 导航左小列和右小列之间的横向间距 */
}

.nav-sub-col {
    display: flex !important;
    flex-direction: column !important; /* 每个小列内部的链接继续纵向排列 */
    gap: 4px;                         /* 链接之间的上下间距 */
}

.nav-sub-col a {
    color: #FFF9E3 !important;          /* 优雅的浅奶油色 */
    text-decoration: none;
    font-size: 0.9rem;
    opacity: 0.75;
    transition: all 0.3s ease;
    text-align: left;
}

/* 鼠标悬浮小动画 */
.nav-sub-col a:hover {
    opacity: 1;
    color: #FFD700 !important;          /* 悬浮变金色 */
    padding-left: 5px;                  /* 灵动微调右移 */
}

/* ==================== 右侧：版权与备案信息 ==================== */
.info-column {
    align-items: flex-end !important;   /* 电脑端强制右大列整体靠右对齐 */
    text-align: right;
}

.info-column p {
    color: #FFF9E3 !important;
    margin: 0 0 10px 0 !important;
    font-size: 0.9rem;
    opacity: 0.75;
    line-height: 1.6;
}

.icp-link {
    color: #FFF9E3 !important;
    font-size: 0.85rem;
    opacity: 0.5;                       /* 备案号适当低调 */
    text-decoration: none;
    transition: opacity 0.3s;
    margin-top: 5px;
}

.icp-link:hover {
    opacity: 1;
    color: #FFD700 !important;
}

@media (max-width: 768px) {
    .model-img-fix {
        max-width: 280px; 
    }

    .footer-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 45px;
    }
    
    .nav-columns-wrapper {
        flex-direction: column !important;
        gap: 4px;
    }
    
    .footer-column {
        align-items: center !important;
    }
    
    .nav-sub-col a {
        text-align: center !important;
    }
    
    .info-column {
        align-items: center !important;
        text-align: center !important;
    }
}