/* ============================================================
   ZibTF 首页推荐卡片（第二版）- 黑金科技风格
   PC/Mobile 完全分离样式
   ============================================================ */

@font-face {
    font-family: 'iconfont';
    src: url('//at.alicdn.com/t/c/font_4660907_n7uhhpyzdgd.woff2?t=1724250533757') format('woff2'), url('//at.alicdn.com/t/c/font_4660907_n7uhhpyzdgd.woff?t=1724250533757') format('woff'), url('//at.alicdn.com/t/c/font_4660907_n7uhhpyzdgd.ttf?t=1724250533757') format('truetype')
}

#home_top {
    max-width: calc(100% - 0.5rem);
    margin-top: 20px !important;
    padding-top: 10px;
    width: 100%
}

@media screen and (max-width:768px) {
    #home_top {
        padding: 0;
        margin-top: 0
    }
}

.recent-top-post-group {
    border-radius: 12px;
    overflow: hidden;
    overflow-x: auto;
    width: 100%;
    margin-bottom: 0
}

.recent-post-top {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: scroll
}

.recent-post-top::-webkit-scrollbar {
    display: none
}

.recent-post-top .recent-post-item {
    display: flex;
    width: 31%;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 0.7rem;
    background: var(--header-bg);
    border-radius: 12px;
    overflow: hidden;
    min-width: 31%;
    height: 164px;
    max-height: 164px;
    border: var(--style-border-always);
    transition: .3s;
    position: relative;
    box-shadow: var(--heo-shadow-border)
}

@media screen and (max-width:768px) {
    .recent-post-top .recent-post-item {
        border-radius: 8px;
        box-shadow: none;
        clip-path: inset(0 0 0 0 round 8px);
        min-width: 200px
    }

    .recent-post-top .recent-post-item:last-child {
        margin-right: 1rem
    }
}

@media screen and (max-width:1199px) {
    .recent-post-top.recent-post-item {
        min-width: 200px !important
    }
}

@media screen and (min-width:1200px) {
    .recent-post-top .recent-post-item {
        margin-right: 0;
        margin-bottom: .5rem
    }

    .recent-post-top .recent-post-item:active {
        transform: scale(.97)
    }

    .recent-post-top {
        overflow-x: visible
    }

    .recent-top-post-group {
        overflow: visible;
        overflow-x: visible
    }
}

span.recent-post-top-text {
    position: absolute;
    top: 0;
    left: -40px;
    display: flex;
    z-index: 1;
    background: #425AEF;
    color: #fff;
    padding: 2px 8px;
    font-size: 1.5rem !important;
    border-radius: 12px 0 12px 0;
    transition: .3s;
    cursor: pointer
}

.recent-post-item:hover .recent-post-top-text {
    left: 0
}

@media screen and (min-width:1200px) {
    .recent-post-top .recent-post-item:hover {
        transform: scale(1.03)
    }

    .recent-post-top .recent-post-item:active {
        transform: scale(.97)
    }
}

@media screen and (max-width:768px) {
    .recent-top-post-group {
        border-radius: 0
    }

    .recent-post-top-text {
        display: none !important
    }

    .recent-post-top .recent-post-item .post_cover img {
        border-radius: 8px 8px 0 0 !important
    }
}

.recent-post-top .recent-post-item .post_cover a {
    height: 100px;
    overflow: hidden;
    display: flex
}

.recent-post-top .recent-post-item .post_cover img {
    object-fit: cover;
    width: 100%;
    border-radius: 12px 12px 0 0
}

.recent-post-top .recent-post-item:hover .post_cover img {
    transform: scale(1)
}

.recent-post-top .recent-post-item .recent-post-info {
    padding: .3rem .5rem .3rem .5rem !important;
    transition: .3s
}

@media screen and (max-width:1350px) {
    .recent-post-top .recent-post-item:hover .recent-post-info a {
        transition: .3s
    }
}

.recent-post-top .recent-post-item .recent-post-info .article-title {
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    justify-content: center;
    align-items: flex-end;
    align-content: center;
    padding-top: .5rem;
    font-weight: 400;
    font-size: 1.5rem !important;
    padding: 0 !important
}

.categoryItem {
    overflow: hidden;
    transform: scale(1);
    transition: all 0.8s cubic-bezier(0.65, 0.15, 0.37, 1.19);
    height: 48%;
    border-radius: 12px
}

a.categoryButton {
    height: 100%;
    width: 100%;
    background: rgba(255, 255, 255, 0.67);
    border-radius: 12px;
    display: inline-block;
    text-align: left;
    line-height: 4em;
    font-weight: 800;
    font-size: 16px;
    color: #FFF;
    transition: all .8s cubic-bezier(.39, .575, .565, 1);
    transform: scale(1);
    overflow: hidden
}

a.categoryButton i {
    transform: scale(1.5) rotate(15deg)
}

@media screen and (min-width:1200px) {
    a.categoryButton:active {
        transform: scale(0.97)
    }
}

@media screen and (max-width:768px) {
    a.categoryButton {
        border-radius: 8px
    }

    .categoryItem {
        border-radius: 0px;
        height: 47%;
        box-shadow: none !important
    }
}

a.categoryButton:after {
    top: 45px;
    width: 1rem;
    left: 21px;
    height: 2px;
    background: #fff;
    content: "";
    border-radius: 1px;
    position: absolute
}

.categoryButtonText {
    padding-left: 21px;
    font-weight: 400
}

a.categoryButton i {
    font-size: 6rem;
    opacity: .3;
    position: absolute;
    right: 15px;
    top: 10%;
    transition: 0.5s;
    width: 100px;
    text-align: center;
    filter: blur(2px)
}

@media screen and (max-width:768px) {
    .recent-post-top .categoryGroup {
        min-width: 130px !important;
        margin-bottom: 0.5rem;
        max-height: 164px;
        overflow: hidden;
        position: relative
    }
}

.topGroup {
    display: flex
}

#bannerGroup {
    display: flex
}

div#banners {
    display: none
}

.topGroup .todayCard {
    display: none
}

@media screen and (min-width:1200px) {
    .topGroup {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: flex-end;
        height: 338px;
        align-content: space-between;
        width: calc(50% + 0.5rem);
        position: relative
    }

    div#bannerGroup {
        width: calc(50% - 0.5rem);
        margin-right: 1rem;
        height: 338px;
        display: flex;
        flex-direction: column;
        justify-content: space-between
    }

    div#banners {
        display: flex;
        width: 100%;
        height: calc(100% - 88px);
        background: #141414 !important;
        background-color: #141414 !important;
        margin-bottom: 8px;
        border: 1px solid #333333 !important;
        border-radius: 12px;
        overflow: hidden;
        position: relative;
        flex-direction: column;
        transition: 0.3s;
        clip-path: inset(0 0 0 0 round 12px)
    }

    #banners.flink {
        margin-bottom: 0.5rem
    }

    #banners .banner-button-group {
        position: absolute;
        right: 2rem;
        top: 2rem;
        display: flex
    }

    #banners .banner-button {
        padding: 8px 12px;
        border-radius: 12px;
        display: flex;
        align-items: center;
        z-index: 1;
        transition: 0.3s;
        cursor: pointer
    }

    #banners .banner-button.secondary {
        margin-right: 1rem
    }

    #banners .banner-button i {
        margin-right: 8px;
        font-size: 1rem
    }

    /* 标题容器 */
    .banners-title {
        position: absolute;
        top: 25px;
        left: 1.7rem;
        display: flex;
        flex-direction: column;
        z-index: 2;
    }

    /* 文字颜色反白 */
    .banners-title-big {
        font-size: 36px;
        line-height: 1.2;
        font-weight: 900;
        margin-bottom: 8px;
        color: #FFFFFF !important;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    }

    .banners-title-small {
        font-size: 14px;
        line-height: 1.6;
        margin-top: 10px;
        color: #BBBBBB !important;
    }

    /* 滚动图标条 */
    #banners .tech-marquee {
        position: absolute !important;
        top: 210px !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        height: 30px !important;
        overflow: hidden !important;
        display: block !important;
        z-index: 3 !important;
        mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 92%, transparent 100%);
    }

    #banners .tech-marquee .tech-track {
        display: flex !important;
        align-items: center !important;
        width: max-content !important;
        animation: tech-scroll 16s linear infinite !important;
        flex-wrap: nowrap !important;
    }

    #banners .tech-marquee .tech-icon {
        width: 26px !important;
        height: 26px !important;
        margin-right: 22px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        flex-shrink: 0 !important;
    }

    #banners .tech-marquee .tech-icon img {
        width: 26px !important;
        height: 26px !important;
        object-fit: contain !important;
        opacity: 0.3 !important;
        filter: grayscale(100%) brightness(2) !important;
        transition: all 0.3s ease !important;
    }

    #banners .tech-marquee:hover .tech-icon img {
        opacity: 1 !important;
        filter: grayscale(0%) brightness(1.1) drop-shadow(0 0 8px rgba(255, 255, 255, 0.8)) !important;
    }

    @keyframes tech-scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); }
    }

    #banner-hover {
        position: absolute;
        width: 100%;
        height: 100%;
        top: 0;
        left: 0;
        padding-left: 0.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        opacity: 0;
        z-index: 10;
        transition: all 0.4s cubic-bezier(0.71, 0.15, 0.16, 1.15);
        pointer-events: none;
    }

    .bannerText {
        color: #fff;
        font-size: 3.5rem;
        line-height: 3.5rem;
        font-weight: bold;
        margin-top: 15px
    }

    .banner-righticon {
        font-size: 4rem;
        opacity: 0.6
    }

    #banners:hover #banner-hover {
        opacity: 1;
        padding-left: 2rem;
        background: rgba(66, 89, 239, 0.85);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        transition: all 0.3s ease;
        cursor: pointer;
        pointer-events: auto;
    }

    #banners #banner-hover i {
        font-size: 70px;
        opacity: 0.5;
        color: #fff;
    }

    .topGroup .todayCard {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 1;
        top: 0;
        left: 0;
        border-radius: 12px;
        margin-left: 0.5rem;
        overflow: hidden;
        transition: 0.3s;
        display: flex;
        cursor: pointer;
        pointer-events: all
    }

    .topGroup .todayCard::after {
        position: absolute;
        content: '';
        width: 100%;
        height: 100%;
        top: 0;
        left: 0
    }

    .topGroup .todayCard.hide {
        opacity: 0;
        pointer-events: none
    }

    .topGroup .todayCard .todayCard-info {
        position: absolute;
        bottom: 2rem;
        left: 2rem;
        z-index: 2;
        max-width: 60%;
        transition: 0.3s
    }

    .topGroup .todayCard.hide .todayCard-info {
        bottom: 1rem;
        opacity: 0
    }

    .topGroup .todayCard .todayCard-info .todayCard-tips {
        opacity: 0.8;
        font-size: 0.6rem
    }

    .topGroup .todayCard .todayCard-info .todayCard-title {
        font-size: 28px;
        font-weight: bold;
        line-height: 36px;
        color: rgba(50, 51, 53, 0.8)
    }

    .topGroup .banner-button-group {
        position: absolute;
        right: 2rem;
        bottom: 2rem;
        display: flex;
        transition: 0.3s
    }

    .topGroup .todayCard.hide .banner-button-group {
        bottom: 1rem
    }

    .topGroup .banner-button {
        border-radius: 20px;
        display: flex;
        align-items: center;
        z-index: 1;
        transition: 0.3s;
        cursor: pointer;
        backdrop-filter: saturate(180%) blur(20px) !important;
        -webkit-backdrop-filter: blur(20px);
        transform: translateZ(0);
        height: 40px;
        width: 118px;
        justify-content: center
    }

    .topGroup .topGroup .banner-button i {
        margin-right: 8px;
        font-size: 22px
    }

    .topGroup .todayCard .todayCard-cover {
        position: absolute;
        min-width: 100%;
        min-height: 100%;
        top: 0;
        left: 0;
        background-size: cover;
        z-index: -1;
        transition: 0.3s
    }

    .topGroup .todayCard.hide .todayCard-cover {
        transform: scale(1.2)
    }
}

.tags-group-icon {
    width: 120px;
    height: 120px;
    border-radius: 30px
}

.tags-group-all {
    display: flex;
    transform: rotate(-30deg)
}

.tags-group-all.nowrapMove {
    transform: rotate(0);
    padding-bottom: 2rem
}

.tags-group-wrapper {
    margin-top: 5rem;
    display: flex;
    flex-wrap: nowrap;
    animation: rowup 30s linear infinite
}

.nowrapMove .tags-group-wrapper {
    margin-top: 7rem;
    animation: rowup 120s linear infinite
}

.tags-group-icon-pair .tags-group-icon:nth-child(even) {
    margin-top: 1rem;
    transform: translate(-60px)
}

.tags-group-icon-pair {
    margin-left: 1rem
}

.tags-group-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 66px;
    font-weight: 700
}

.nowrapMove .tags-group-icon {
    border-radius: 50%
}

.tags-group-icon img {
    width: 60%
}

.nowrapMove .tags-group-icon img {
    min-width: 100%;
    min-height: 100%;
    border-radius: 50%;
    object-fit: cover
}

.categoryItem:hover i {
    opacity: .8;
    transition: .8s;
    transition-delay: .15s;
    transform: scale(1.03) rotate(0);
    font-size: 4rem;
    filter: blur(0)
}

@media screen and (min-width:1200px) {
    .categoryItem:hover i {
        transform: scale(1.03) rotate(0)
    }
}

.recent-post-top .categoryGroup {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 200px;
    padding-bottom: 10px
}

.categoryGroup .categoryItem:nth-child(3) {
    display: none
}

@media screen and (min-width:1200px) {
    .recent-post-top .categoryGroup {
        flex-direction: row;
        height: 90px;
        margin-top: 0;
    }

    .categoryItem {
        width: calc(100% / 3 - .33rem);
        height: 100%;
        margin-right: .5rem
    }

    .categoryItem:last-child {
        margin-right: 0
    }

    .categoryItem:hover {
        width: 50%
    }

    .categoryGroup .categoryItem:nth-child(3) {
        display: flex
    }
}

/* === 分类按钮：深色背景优化版 === */
a.categoryButton.heo_one {
    background: linear-gradient(135deg, #2980b9 0%, #3498db 100%) !important;
    border: none;
    box-shadow: 0 4px 20px rgba(41, 128, 185, 0.5);
}

a.categoryButton.heo_two {
    background: linear-gradient(135deg, #d35400 0%, #e67e22 100%) !important;
    border: none;
    box-shadow: 0 4px 20px rgba(211, 84, 0, 0.5);
}

a.categoryButton.heo_three {
    background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%) !important;
    border: none !important;
    box-shadow: 0 4px 20px rgba(13, 148, 136, 0.5);
}

a.categoryButton.heo_three:hover {
    background: linear-gradient(135deg, #14b8a6 0%, #2dd4bf 100%) !important;
    box-shadow: 0 4px 25px rgba(20, 184, 166, 0.6);
}

a.categoryButton:hover {
    background-position: 100% 0
}

[data-theme=dark] a.categoryButton.bikan {
    background: linear-gradient(to right, #0653b8, #2fcbff);
    background-size: 200%
}

[data-theme=dark] a.categoryButton.heo_two {
    background: linear-gradient(to right, #e22a16, #da980c);
    background-size: 200%
}

[data-theme=dark] a.categoryButton.heo_three {
    background: linear-gradient(to right, #099e74, #0ea4a4);
    background-size: 200%
}

/* === TodayCard：毛玻璃高级质感 === */
.topGroup .todayCard {
    background: rgba(20, 20, 20, 0.6) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.topGroup .todayCard .todayCard-title {
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(to right, #fff, #ccc);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* === 右侧文章卡片：微交互 === */
.recent-post-top .recent-post-item {
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.recent-post-top .recent-post-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

@keyframes rowup {
    from {
        transform: translateX(0)
    }

    to {
        transform: translateX(-50%)
    }
}

#recent-post-top .recent-post-item .post_cover {
    width: 100%
}

#recent-posts>.recent-post-item>.recent-post-info>.article-meta-wrap {
    position: absolute;
    bottom: 16px;
    transition: .3s;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    left: 0;
    padding: 0 32px;
    white-space: nowrap
}

img {
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none
}

.mobile-header .hover-show {
    float: right
}

.heo_one>.icon-star-smile-fill:after {
    font-family: iconfont;
    content: '\e628'
}

.heo_two>.icon-fire-fill:after {
    font-family: iconfont;
    content: '\e699'
}

.heo_three>.icon-book-mark-fill:after {
    font-family: iconfont;
    content: '\e72c'
}

.banner-button-group:hover {
    background-color: #1856fb;
    border-radius: 50%
}

.icon-right::after {
    content: '\e6c9';
    font-family: iconfont;
    color: #fff
}

.todayCard-info>h5 {
    color: #fff
}

/* ============================================================
   💻 电脑端 3D立方体旋转幻灯片 - 黑金科技风格
   ============================================================ */
.cube3d-scene {
    width: 100%;
    height: 100%;
    perspective: 1200px;
    margin-left: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border-radius: 12px;
}

.cube3d-box {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(-300px);
}

.cube3d-face {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #1F1F1F;
    border-radius: 12px;
    text-decoration: none;
    backface-visibility: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    border: 1px solid #333333;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.cube3d-face.has-bg {
    background-size: cover;
    background-position: center;
}

.cube3d-face.has-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20,20,20,0.6) 0%, rgba(31,31,31,0.4) 100%);
    z-index: 1;
}

.cube3d-face[data-face="0"] { transform: rotateY(0deg) translateZ(300px); }
.cube3d-face[data-face="1"] { transform: rotateY(90deg) translateZ(300px); }
.cube3d-face[data-face="2"] { transform: rotateY(180deg) translateZ(300px); }
.cube3d-face[data-face="3"] { transform: rotateY(270deg) translateZ(300px); }

.cube3d-text {
    font-size: 3.5rem;
    font-weight: 900;
    color: #FFFFFF;
    text-shadow: 0 4px 30px rgba(0,0,0,0.8);
    letter-spacing: 6px;
    line-height: 1.4;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

.cube3d-text2 {
    font-size: 2rem;
    font-weight: 700;
    color: #D1D5DB;
    text-shadow: 0 4px 30px rgba(0,0,0,0.6);
    letter-spacing: 4px;
    margin-top: 1rem;
    text-align: center;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* 悬停效果 - 爱马仕橙强调 */
.cube3d-face:hover {
    box-shadow: 0 25px 80px rgba(0,0,0,0.8), 0 0 30px rgba(255,126,0,0.15);
    border-color: rgba(255,126,0,0.3);
}

.cube3d-face:hover .cube3d-text {
    text-shadow: 0 4px 30px rgba(255,126,0,0.4);
}

/* 装饰性角标 */
.cube3d-face::after {
    content: '';
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, #FF7E00, #FFD700);
    border-radius: 2px;
    z-index: 2;
    opacity: 0.8;
}

/* 移动端隐藏电脑端3D立方体 */
@media screen and (max-width: 1199px) {
    .cube3d-scene {
        display: none;
    }
}

@media screen and (min-width: 1200px) {
    .topGroup {
        width: calc(50% + 0.5rem);
        height: calc(338px + 0.5rem);
    }
}

/* ================= 📱 移动端 V3.0 最终修复 ================= */

/* 1. 外层容器：透明，只负责占位 */
#home_top.mobile-only {
    padding: 0 !important;
    background: transparent !important;
}

.mobile-cube-swiper {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    overflow: visible !important;
}

/* 2. 通用卡片样式 (Slide)：真正的实体方块 */
.mobile-card-slide {
    background: linear-gradient(145deg, #1a1a1a 0%, #0d0d0d 100%) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    position: relative !important;
}

/* 卡片背景装饰 */
.card-bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 126, 0, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 215, 0, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* 顶部金色装饰线 */
.mobile-card-slide::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 60px !important;
    height: 3px !important;
    background: linear-gradient(90deg, transparent, #FF7E00, #FFD700, #FF7E00, transparent) !important;
    border-radius: 0 0 3px 3px !important;
    z-index: 5 !important;
}

.mobile-inner {
    width: 100%;
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 20px 15px;
}

/* 3. 按钮美化：图标与文字分离 */
.m-btn-row {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    padding: 0 10px !important;
    gap: 12px !important;
}

.m-btn-item {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    background: rgba(255,255,255,0.03) !important;
    border: 1px solid rgba(255,255,255,0.05) !important;
    border-radius: 12px !important;
    padding: 15px 0 !important;
    text-decoration: none !important;
    transition: all 0.2s !important;
}

.m-btn-item:active {
    transform: scale(0.95) !important;
    background: rgba(255,255,255,0.08) !important;
}

/* 图标容器：增加光晕 */
.btn-icon-box {
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 8px !important;
    font-size: 20px !important;
}

/* 具体的颜色定义 (黑金风格的高亮) */
.color-blue {
    background: rgba(52, 152, 219, 0.15) !important;
    color: #3498db !important;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.2) !important;
}

.color-orange {
    background: rgba(255, 126, 0, 0.15) !important;
    color: #FF7E00 !important;
    box-shadow: 0 0 15px rgba(255, 126, 0, 0.2) !important;
}

.color-green {
    background: rgba(46, 204, 113, 0.15) !important;
    color: #2ecc71 !important;
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.2) !important;
}

.m-btn-item span {
    color: #ccc !important;
    font-size: 12px !important;
    font-weight: 500 !important;
}

/* 4. 标题文字优化 */
.m-title {
    font-size: 24px !important;
    font-weight: 900 !important;
    color: #fff !important;
    margin-bottom: 5px !important;
    letter-spacing: 1px !important;
    background: linear-gradient(135deg, #FFFFFF 0%, #FFD700 50%, #FF7E00 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.m-desc {
    color: rgba(255,255,255,0.5) !important;
    font-size: 12px !important;
    margin-bottom: 25px !important;
}

/* 5. 修复海报 Slide 的遮罩 */
.slide-mask {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0,0,0,0.4) !important;
    z-index: 1 !important;
}

.mobile-slide-link {
    z-index: 2 !important;
    position: relative !important;
    text-align: center !important;
    text-decoration: none !important;
    padding: 25px !important;
    display: block !important;
}

.mobile-text1 {
    display: block !important;
    font-size: 26px !important;
    font-weight: 900 !important;
    color: #fff !important;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
    letter-spacing: 4px !important;
    margin-bottom: 10px !important;
    line-height: 1.3 !important;
}

.mobile-text2 {
    display: block !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: rgba(255, 215, 0, 0.9) !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5) !important;
    letter-spacing: 2px !important;
}

/* 分页器 - 金色主题 */
.mobile-cube-swiper .swiper-pagination {
    bottom: 12px !important;
}

.mobile-cube-swiper .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    opacity: 1 !important;
    transition: all 0.3s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.mobile-cube-swiper .swiper-pagination-bullet-active {
    background: linear-gradient(90deg, #FF7E00, #FFD700) !important;
    width: 24px !important;
    border-radius: 4px !important;
    border: none !important;
    box-shadow: 0 0 10px rgba(255, 126, 0, 0.5) !important;
}

/* 3D 立方体阴影 */
.mobile-cube-swiper .swiper-cube-shadow {
    background: rgba(0, 0, 0, 0.6) !important;
}

/* 立方体侧面阴影 */
.mobile-cube-swiper .swiper-slide-shadow-left,
.mobile-cube-swiper .swiper-slide-shadow-right {
    background: linear-gradient(to left, rgba(0,0,0,0.6), transparent) !important;
}

/* 左侧Banner暗黑风格强化 */
#banners,
.banner-left {
    background-color: #141414 !important;
    overflow: hidden;
    position: relative;
}

#banners .bg-pattern,
.banner-left .bg-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    opacity: 0.15;
    filter: grayscale(100%) contrast(1.5);
    mix-blend-mode: overlay;
    pointer-events: none;
}

#banners .banners-title,
#banners .tech-marquee,
#banners #banner-hover,
.banner-left .content-wrapper {
    position: relative;
    z-index: 2;
}

#banners > *:not(.bg-pattern) {
    position: relative;
    z-index: 1;
}


/* ================= 🚀 终极黑金皮肤包 ================= */

/* 1. 黑金渐变底色 (针对无图卡片) */
.mobile-card-slide:not([style*="url"]) {
    /* 模拟高级磨砂黑金质感 */
    background: radial-gradient(circle at 10% 20%, #2a2a2a 0%, #141414 90%) !important;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8) !important;
}

/* 2. 顶部流光金线 (点睛之笔) */
.mobile-card-slide:not([style*="url"])::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%; /* 只有中间亮 */
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, #FF7E00, transparent);
    box-shadow: 0 0 10px rgba(255, 126, 0, 0.6);
    opacity: 0.9;
    z-index: 10;
}

/* 3. 文字颜色升级 */
/* 主标题：纯白 + 浮雕 */
.mobile-text1 {
    color: #FFFFFF !important;
    text-shadow: 0 5px 15px rgba(0,0,0,0.8) !important;
    font-weight: 900 !important;
}

/* 副标题：流沙金渐变 (关键！) */
.mobile-text2 {
    background: linear-gradient(90deg, #FFD700, #FF7E00) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #FFD700 !important; /* 兼容性保底 */
    font-weight: 600 !important;
    margin-top: 8px !important;
    opacity: 1 !important;
}


/* ================= 💻 电脑端 V3.0 黑金视觉同步 ================= */

/* 1. 给电脑端立方体穿上"黑曜石"皮肤 */
/* 针对没有背景图的面（也就是纯文字广告位） */
.cube3d-face:not(.has-bg) {
    /* 深邃的黑灰渐变，消除纯黑的廉价感 */
    background: radial-gradient(circle at 10% 20%, #2a2a2a 0%, #141414 90%) !important;
    /* 增加内发光，让方块看起来厚实 */
    box-shadow: inset 0 0 40px rgba(0,0,0,0.9), 0 20px 60px rgba(0,0,0,0.6) !important;
    /* 极细的微光边框 */
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
}

/* 2. 顶部流光金线 (电脑端加宽版) */
.cube3d-face:not(.has-bg)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%; /* 电脑屏幕大，金线拉长一点 */
    height: 2px;
    background: linear-gradient(90deg, transparent, #FFD700, #FF7E00, transparent);
    box-shadow: 0 0 15px rgba(255, 126, 0, 0.8); /* 光晕更强 */
    opacity: 0.9;
    z-index: 10;
}

/* 3. 主标题文字：极致浮雕感 */
.cube3d-text {
    color: #FFFFFF !important;
    text-shadow: 0 5px 20px rgba(0,0,0,1) !important; /* 投影加深 */
    font-weight: 900 !important;
    letter-spacing: 4px !important;
}

/* 4. 副标题文字：流沙金渐变 */
.cube3d-text2 {
    /* 核心：文字金光渐变 */
    background: linear-gradient(90deg, #FFD700, #FF7E00) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: #FFD700 !important;
    font-weight: 700 !important;
    margin-top: 1.5rem !important; /* 间距拉开一点 */
    font-size: 1.8rem !important; /* 字体加大，电脑上才看得清 */
    opacity: 1 !important;
    text-shadow: none !important; /* 去掉阴影，保留金属光泽 */
}

/* 5. 鼠标悬停特效 (交互感) */
.cube3d-face:hover {
    /* 悬停时边框变亮 */
    border-color: rgba(255, 126, 0, 0.4) !important;
}

.cube3d-face:hover::before {
    box-shadow: 0 0 25px rgba(255, 126, 0, 1);
    opacity: 1;
}


/* ================= 📱 移动端文字精修 (V3.1 Pro) ================= */

/* 1. 全局字体修正 (防止手机用默认土味字体) */
.mobile-card-slide {
    font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif !important;
}

/* 2. 主标题：加大、加硬、加立体感 */
.mobile-text1 {
    font-size: 30px !important; /* 加大字号 */
    line-height: 1.2 !important;
    letter-spacing: 2px !important; /* 手机上间距不能太大，否则显散 */
    margin-bottom: 8px !important;
    /* 极致浮雕投影 (让字凸出来) */
    text-shadow: 0 2px 0 #cccccc, 0 5px 10px rgba(0,0,0,0.5) !important;
    /* 确保垂直居中 */
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}

/* 3. 副标题：流光金 (更亮、更锐利) */
.mobile-text2 {
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    margin-top: 6px !important;
    /* 升级版土豪金渐变 (对比度更高) */
    background: linear-gradient(180deg, #FFF8D6 0%, #FFC600 50%, #FF9900 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    /* 如果渐变失效的保底色 */
    color: #FFC600 !important;
    /* 增加一点底部距离 */
    padding-bottom: 2px;
}


/* ================= 💻 电脑端顶部间距修复 ================= */
@media screen and (min-width: 768px) {
    #home_top.pc-home-top {
        margin-top: -20px !important; /* 核心修改：改为 -20px */
        padding-top: 10px !important;
    }
}


/* ================= 📱 移动端 1:1 复刻 PC 白金质感 (V3.5) ================= */

/* 1. 主标题：纯白 + 深邃投影 (和 PC 保持一致) */
.mobile-text1 {
    color: #FFFFFF !important; /* 强制纯白 */
    background: none !important; /* 关掉之前的流光背景 */
    -webkit-text-fill-color: #FFFFFF !important; /* 关掉文字透明填充 */
    font-size: 30px !important;
    font-weight: 900 !important;
    letter-spacing: 2px !important;
    line-height: 1.2 !important;
    margin-bottom: 6px !important;
    /* 复刻 PC 的深邃投影 (去掉之前的灰色浮雕，改用黑色柔光) */
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8) !important;
    filter: none !important; /* 去掉光晕，保持干净 */
}

/* 2. 副标题：90度横向流光金 (修正渐变方向) */
.mobile-text2 {
    /* 核心修改：从 180deg 改为 90deg，和 PC 端完全一致 */
    background: linear-gradient(90deg, #FFD700, #FF7E00) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    margin-top: 8px !important;
    opacity: 1 !important;
    /* 稍微加一点发光，提升手机上的易读性 */
    filter: drop-shadow(0 0 5px rgba(255, 126, 0, 0.3));
}
