/* home2026.css - 首页深色海报版式（仅 body.home-dark 生效） */

body.home-dark {
    background: #0f0f1a;
    color: #e8e8f0;
}

body.home-dark .headBg {
    display: none;
}

/* ===== 导航栏（首页内改深色） ===== */
body.home-dark .headerBox .bg {
    background: rgba(15, 15, 26, .92);
    box-shadow: 0 2px 8px rgba(0, 0, 0, .45);
}

body.home-dark .headerBox .box .logoBox .title,
body.home-dark .headerBox .box .navs .item,
body.home-dark .headerBox .box .navs a {
    color: #e8e8f0;
}

body.home-dark .headerBox .box .navs .item:hover,
body.home-dark .headerBox .box .navs a:hover {
    color: #ff4d4d;
}

body.home-dark .headerBox .box .search {
    background: #1c1c30;
    box-shadow: none;
}

body.home-dark .headerBox .box .search:after {
    border-color: rgba(255, 255, 255, .12);
    box-shadow: none;
}

body.home-dark .headerBox .box .search input {
    color: #fff;
}

body.home-dark .headerBox .box .search input::placeholder {
    color: #6b6b85;
}

body.home-dark .headerBox .box .search .btn .iconfont {
    color: #ff4d4d;
}

/* ===== 顶部大图 ===== */
.v-hero {
    position: relative;
    height: 300px;
    background: linear-gradient(180deg, #1b1b32 0%, #14142578 55%, #0f0f1a 100%), #12121f;
    overflow: hidden;
}

.v-hero::before {
    content: '';
    position: absolute;
    right: -140px;
    top: -120px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(229, 9, 20, .12) 0%, rgba(229, 9, 20, 0) 65%);
}

.v-hero-mask {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, #0f0f1a 2%, rgba(15, 15, 26, 0) 45%);
}

.v-hero-inner {
    position: relative;
    z-index: 2;
    width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 48px;
    text-align: left;
}

.v-hero-title {
    display: none;
}

.v-hero-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.v-hero-logo {
    height: 84px;
    max-width: 220px;
    object-fit: contain;
    filter: drop-shadow(0 4px 14px rgba(0, 0, 0, .5));
}

.v-hero-sitename {
    margin-top: 10px;
    color: #e8e8f0;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 2px;
}

.v-hero-main {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.v-hero-heading {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 34px;
}

.v-hero-cat {
    font-size: 34px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #fff;
    background: linear-gradient(90deg, #ffffff 0%, #ffd9d9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform .15s;
}

.v-hero-cat:hover {
    transform: translateY(-3px);
    background: linear-gradient(90deg, #ff4d4d 0%, #ff9a9a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.v-hero-desc,
.v-hero-actions,
.v-hero-btn {
    display: none;
}

.v-hero-search {
    margin-top: 0;
    width: 620px;
    height: 54px;
    background: rgba(255, 255, 255, .96);
    border-radius: 999px;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(0, 0, 0, .45);
}

.v-hero-search input {
    flex: 1;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 8px 0 26px;
    font-size: 16px;
    color: #222;
}

.v-hero-search input::placeholder {
    color: #9a9aae;
}

.v-hero-search .btn {
    width: 86px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.v-hero-search .btn .iconfont {
    font-size: 26px;
    font-weight: bold;
    color: #e50914;
}

/* 语录轮播 */
.v-hero-quote {
    margin-top: 18px;
    width: 620px;
    max-width: 100%;
    text-align: center;
    color: #ffd9d9;
    font-size: 16px;
    letter-spacing: 2px;
    opacity: 1;
    transition: opacity .4s ease;
    min-height: 24px;
}

.v-hero-quote::before {
    content: '「 ';
    color: #ff4d4d;
}

.v-hero-quote::after {
    content: ' 」';
    color: #ff4d4d;
}

.v-hero-quote.fade {
    opacity: 0;
}

/* ===== 海报分区 ===== */
.v-wrap {
    width: 1200px;
    margin: 0 auto;
    padding: 10px 0 30px;
    text-align: left;
}

.v-section {
    margin-top: 34px;
}

.v-sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.v-sec-title {
    font-size: 22px;
    font-weight: 700;
    color: #fff;
    display: flex;
    align-items: center;
}

.v-sec-title::before {
    content: '';
    width: 6px;
    height: 22px;
    border-radius: 3px;
    background: linear-gradient(180deg, #e50914, #ff4d4d);
    margin-right: 12px;
}

.v-sec-more {
    color: #8a8aa0;
    font-size: 14px;
}

.v-sec-more:hover {
    color: #ff4d4d;
}

.v-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 18px 16px;
}

.v-card {
    display: block;
    min-width: 0;
}

.v-card-img {
    position: relative;
    aspect-ratio: 2 / 3;
    border-radius: 10px;
    overflow: hidden;
    background: #1c1c30;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .25s;
}

.v-card:hover .v-card-img img {
    transform: scale(1.06);
}

.v-card:hover .v-card-name {
    color: #ff4d4d;
}

.v-card-txt {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #8a8aa0;
    font-size: 13px;
    padding: 0 10px;
    text-align: center;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
}

.v-card-img img {
    position: relative;
    z-index: 1;
}

.v-card-rank {
    position: absolute;
    left: 0;
    top: 0;
    width: 34px;
    height: 34px;
    border-radius: 10px 0 10px 0;
    background: linear-gradient(135deg, #e50914, #ff4d4d);
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v-card-rank.r1 { background: linear-gradient(135deg, #e50914, #ff7a45); }
.v-card-rank.r2 { background: linear-gradient(135deg, #b8860b, #ffb700); }
.v-card-rank.r3 { background: linear-gradient(135deg, #6c6c7a, #9a9ab0); }

.v-card-name {
    margin-top: 8px;
    font-size: 14px;
    color: #dcdce6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ===== 页脚（首页内改深色） ===== */
body.home-dark .friendlink-wrapper {
    color: #8a8aa0;
}

body.home-dark .friendlink-wrapper .friendlink-box {
    background: #161627;
    box-shadow: none;
}

body.home-dark .friendlink-wrapper .friendlink-title {
    color: #c6c6d6;
}

body.home-dark .friendlink-wrapper .friendlink-title i {
    color: #8a8aa0;
}

body.home-dark .friendlink-wrapper .friendlink-list a {
    color: #8a8aa0;
    background: #1c1c30;
}

body.home-dark .friendlink-wrapper .friendlink-list a:hover {
    background: #26263e;
    color: #c6c6d6;
}

body.home-dark .footerBox {
    color: #6b6b85;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

body.home-dark .footerBox .box p {
    color: #6b6b85;
}

/* ===== 响应式 ===== */
@media (max-width: 1240px) {
    .v-wrap,
    .v-hero-inner {
        width: auto;
        padding-left: 20px;
        padding-right: 20px;
    }
}

@media (max-width: 1024px) {
    .v-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .v-hero {
        height: 260px;
    }
    .v-hero-heading {
        gap: 4px 18px;
    }
    .v-hero-cat {
        font-size: 22px;
    }
    .v-hero-logo {
        height: 60px;
    }
}

@media (max-width: 640px) {
    .v-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 14px 10px;
    }
    .v-hero {
        height: auto;
        padding: 36px 20px;
    }
    .v-hero-inner {
        flex-direction: column;
        gap: 22px;
    }
    .v-hero-main {
        width: 100%;
        align-items: center;
    }
    .v-hero-heading {
        justify-content: center;
        gap: 4px 14px;
    }
    .v-hero-cat {
        font-size: 17px;
        letter-spacing: 1px;
    }
    .v-hero-logo {
        height: 52px;
    }
    .v-hero-sitename {
        font-size: 16px;
    }
    .v-hero-search {
        width: 100%;
        height: 46px;
    }
    .v-hero-quote {
        font-size: 13px;
        margin-top: 14px;
    }
    .v-hero-search .btn {
        height: 46px;
    }
    .v-sec-title {
        font-size: 18px;
    }
}
