/* 现代浏览器专用样式 - 保留所有炫酷效果 */

/* --- 核心变量 --- */
:root {
    --primary-color: #e91f1f;
    --transition: all 0.7s cubic-bezier(0.25, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", sans-serif;
    background-color: #fff;
    overflow-x: hidden;
    color: #333;
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 15px;
}

.section-subtitle {
    text-align: center;
    margin-bottom: 50px;
    color: #666;
}

/* --- 1. 首屏 (沉浸式) - 完整效果 --- */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.video-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
    backdrop-filter: brightness(0.6) saturate(0.7);
}

.floating-logo {
    position: absolute;
    top: 40px;
    left: 80px;
    z-index: 100;
    text-decoration: none;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 20px;
}

.company-info {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.line1, .line2 { 
    text-align: justify; 
    width: 100%; 
    margin-bottom: 2px; 
}

.line2 { 
    font-weight: bold; 
    color: rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    letter-spacing: 5px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.hero-subtitle-last {
    margin-bottom: 40px;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero-title-svg {
    width: 600px;
    max-width: 90vw;
    margin: 0 auto 20px;
    position: relative;
    overflow: hidden;
}

.hero-title-svg img {
    transition: var(--transition);
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
    animation: breathe 4s ease-in-out infinite;
}

.hero-title-svg:hover img {
    transform: scale(1.05);
    filter: drop-shadow(0 0 20px rgba(212, 175, 55, 0.6));
}

.hero-title-svg {
    animation: containerGlow 3s ease-in-out infinite;
}

@keyframes containerGlow {
    0%, 100% {
        filter: drop-shadow(0 0 15px rgba(212, 175, 55, 0.3));
    }
    50% {
        filter: drop-shadow(0 0 25px rgba(212, 175, 55, 0.6));
    }
}

@keyframes breathe {
    0% {
        transform: scale(1);
        filter: 
            drop-shadow(0 0 2px rgba(212, 175, 55, 0.1))
            drop-shadow(0 0 4px rgba(212, 175, 55, 0.05));
    }
    25% {
        transform: scale(1.01);
        filter: 
            drop-shadow(0 0 6px rgba(212, 175, 55, 0.4))
            drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
    }
    50% {
        transform: scale(1.02);
        filter: 
            drop-shadow(0 0 8px rgba(212, 175, 55, 0.7))
            drop-shadow(0 0 14px rgba(212, 175, 55, 0.3));
    }
    75% {
        transform: scale(1.01);
        filter: 
            drop-shadow(0 0 6px rgba(212, 175, 55, 0.4))
            drop-shadow(0 0 10px rgba(212, 175, 55, 0.2));
    }
    100% {
        transform: scale(1);
        filter: 
            drop-shadow(0 0 2px rgba(212, 175, 55, 0.1))
            drop-shadow(0 0 4px rgba(212, 175, 55, 0.05));
    }
}

.hero-title-svg:hover img {
    transform: scale(1.03);
    filter: 
        drop-shadow(0 0 12px rgba(212, 175, 55, 0.9))
        drop-shadow(0 0 18px rgba(212, 175, 55, 0.5));
    animation: none;
}

.hero-title-svg {
    padding: 20px;
    margin: 0 auto 20px;
    box-sizing: border-box;
    overflow: visible;
}

.hero-title-svg img {
    width: 100%;
    height: auto;
    display: block;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    z-index: 10;
    animation: fadeInUp 1s ease-out 2s both;
}

.scroll-text {
    display: block;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    opacity: 0.8;
}

.scroll-arrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.scroll-arrow span {
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #e53935;
    animation: bounce 2s infinite;
    opacity: 0.8;
}

.scroll-arrow span:nth-child(1) {
    animation-delay: 0s;
    opacity: 0.3;
}

.scroll-arrow span:nth-child(2) {
    animation-delay: 0.2s;
    opacity: 0.6;
}

.scroll-arrow span:nth-child(3) {
    animation-delay: 0.4s;
    opacity: 0.9;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
        opacity: 1;
    }
    40% {
        transform: translateY(-10px);
        opacity: 0.7;
    }
    60% {
        transform: translateY(-5px);
        opacity: 0.8;
    }
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.btn-order {
    padding: 16px 45px;
    border-radius: 50px;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    transition: var(--transition);
    border: 1px solid var(--primary-color);
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: var(--primary-color);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.btn-gold:hover {
    background: #c62828;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(198, 40, 40, 0.4);
    border-color: #c62828;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.3);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.btn-outline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px solid transparent;
    border-radius: 50px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.btn-outline:hover::after {
    border-color: var(--primary-color);
    transform: scale(1.05);
}

/* --- 2. 精湛装订工艺 (6项) - 完整Grid布局 --- */
.binding-section {
    padding: 100px 0;
}

.grid-6 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.service-card {
    background: #fff;
    border: 1px solid #f0f0f0;
    border-radius: 8px;
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding-bottom: 10px;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-img {
    height: 270px;
    position: relative;
    overflow: hidden;
    background: #f0f0f0;
}

.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.5s ease;
    transform-origin: center;
}

.service-card:hover .card-img img {
    transform: scale(1.1);
}

.card-tip {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.4s ease;
    z-index: 10;
    pointer-events: none;
}

.card-tip img {
    max-width: 150px;
    max-height: 120px;
    filter: drop-shadow(0 5px 15px rgba(0,0,0,0.3));
}

.service-card:hover .card-tip {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}



.card-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
    z-index: 5;
}

.service-card:hover .card-img::after {
    left: 100%;
}

.card-content {
    padding: 30px 20px;
}

.card-content h3 {
    font-size: 1rem;
    margin-bottom: 10px;
}

/* --- 3. 完整手风琴效果 --- */
.accordion-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-color: #000;
}

.acc-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.acc-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.accordion-section .title-container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding-top: 40px;
}

.accordion-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    height: 56%;
    gap: 25px;
    padding: 0 60px;
    margin-top: 60px;
}

.accordion-item {
    position: relative;
    flex: 1;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    transition: flex 0.8s cubic-bezier(0.25, 1, 0.3, 1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.accordion-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(0.5);
    transition: all 0.8s ease;
}

.accordion-item:hover {
    flex: 3;
}

.accordion-item:hover img {
    filter: grayscale(0);
    transform: scale(1.05);
}

.acc-info {
    position: absolute;
    bottom: 40px;
    left: 40px;
    color: #fff;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease 0.3s;
    background: linear-gradient(to right, transparent, rgba(0, 0, 0, 0.9), transparent);
    padding: 15px;
    border-radius: 8px;
}

.accordion-item:hover .acc-info {
    opacity: 1;
    transform: translateY(0);
}

.acc-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

/* --- 4. 广泛应用领域 (8项) - 完整Grid布局 --- */
.app-section {
    padding: 100px 0;
    background: #f8f8f8;
}

.grid-8 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}



.app-img {
    width: 100%;
    height: 100%;
    background: #333;
    background-size: cover;
    background-position: center;
    transition: var(--transition);
}



.app-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    cursor: pointer;
    transition: var(--transition);
}

.play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.app-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}



.zh-title {
    border-left: 3px solid var(--primary-color);
    padding-left: 12px;
    font-weight: bold;
}

/* 工厂视频展示区域 */
.factory-video-section {
    margin: 60px 0;
    width: 100%;
}

.factory-video-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 比例 */
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition);
}

.factory-video-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.factory-video-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.factory-video-poster {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.factory-video-container:hover .factory-video-poster {
    transform: scale(1.05);
}

.factory-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    cursor: pointer;
    transition: var(--transition);
}

.factory-play-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.factory-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 视频控制面板 */
.video-controls {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 4;
}

.factory-video-container:hover .video-controls {
    opacity: 1;
}

.control-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.2s ease;
}

/* 机器轮播图拖动提示 */
.machine-carousel-hint {
    text-align: center;
    padding: 15px 0 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    user-select: none;
}

.machine-progress-indicator {
    text-align: center;
    padding: 5px 0 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-weight: 500;
    user-select: none;
}

.drag-hint {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    transition: all 0.3s ease;
}

.drag-hint:hover {
    background: rgba(0, 0, 0, 0.5);
    color: rgba(255, 255, 255, 0.9);
}

/* 移动端提示样式调整 */
@media (max-width: 768px) {
    .machine-carousel-hint {
        padding: 10px 0 5px;
        font-size: 12px;
    }
    
    .drag-hint {
        padding: 6px 12px;
        font-size: 11px;
    }
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.progress-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.progress-bar {
    flex: 1;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
}

.progress {
    position: absolute;
    height: 100%;
    background: #e91f1f;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s ease;
}

.progress-handle {
    position: absolute;
    top: 50%;
    left: 0%;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.progress-bar:hover .progress-handle {
    opacity: 1;
}

.time-display {
    color: #fff;
    font-size: 12px;
    font-family: monospace;
    min-width: 90px;
    text-align: center;
}

/* --- 5. 实力工厂 - 完整效果 --- */

.factory-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.factory-mask {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 0;
}

.factory-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 100%;
}

.factory-stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-bottom: 60px;
}

.stat-item h4 {
    font-size: 3.5rem;
    color: var(--primary-color);
}

.machine-swiper {
    width: 100%;
    padding-bottom: 50px;
}

.swiper-slide {
    border-radius: 8px;
    height: 360px;
    color: #333;
    overflow: hidden;
}

.slide-img {
    height: 290px;
    width: 100%;
    background: #444;
    object-fit: cover;
}

.slide-caption {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    background: #222;
    color: #fff;
}

/* 轮播图指示器样式优化 */
.machine-swiper .swiper-pagination-bullet,
.machine-pagination .swiper-pagination-bullet {
    background: rgba(255, 255, 255, 0.5); /* 白色半透明 */
    opacity: 0.5;
    transition: opacity 0.3s ease, background 0.3s ease;
}

.machine-swiper .swiper-pagination-bullet-active,
.machine-pagination .swiper-pagination-bullet-active {
    background: white !important; /* 活跃状态为白色 */
    opacity: 1 !important;
}

/* 确保激活状态始终可见 */
.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: white !important;
    opacity: 1 !important;
}

/* 移除所有强制样式，让Swiper自动处理 */

/* 移动端适配 */
@media (max-width: 1024px) {
    .grid-8 {
        grid-template-columns: repeat(2, 1fr);
    }

    .accordion-wrapper {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .hero-title-svg {
        width: 90%;
    }

    .hero-btns {
        flex-direction: column;
        align-items: center;
    }

    /* 移动端floating-logo改为上下布局并顶部居中 */
    .floating-logo {
        position: absolute;
        top: 20px;
        left: 50%;
        transform: translateX(-50%);
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 8px;
        z-index: 1000;
    }

    .floating-logo img {
        width: 60px;
        height: 60px;
    }

    .company-info {
        font-size: 11px;
        line-height: 1.3;
    }
    
    .line1, .line2 {
        text-align: justify;
        width: 100%;
    }

    /* binding-section移动端padding缩小到50px */
    .binding-section {
        padding: 50px 0 !important;
    }

    /* 移动端grid-6改为两列布局并等比缩放 */
    .grid-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .service-card {
        aspect-ratio: 3/4;
        overflow: hidden;
        padding-bottom: 20px;
    }

    .card-img {
        height: 60%;
    }

    .card-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .card-content {
        height: 40%;
        padding: 15px;
    }

    /* grid-6项目p标签文字缩小 */
    .card-content p {
        font-size: 0.7rem;
        line-height: 1.3;
        margin-top: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* title-container下h2在移动端移除padding-top */
    .title-container h2,
    .binding-section h2,
    .app-section h2,
    .factory-content h2{      
        font-size: 2.2rem !important;
    }
    .title-container h2{
          padding-top: 0 !important;
    }

    /* 移动端手风琴改为垂直排列三张图，保证完整显示 */
    .accordion-section {
        padding: 40px 0;
        min-height: auto;
        height: auto;
    }

    .accordion-wrapper {
        flex-direction: column;
        height: auto;
        gap: 15px;
        margin-top: 20px;
    }

    .accordion-item {
        width: 100%;
        height: 180px;
        flex: none;
    }

    .accordion-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 移动端grid-8改为两列布局并等比缩放 */
    .grid-8 {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .app-card {
        aspect-ratio: 4/3;
        overflow: hidden;
    }

    .app-card img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* 移动端grid-8改为两列布局并等比缩放 */
    .app-item {
        aspect-ratio: 1/1; /* 保持正方形比例 */
        height: 100%; /* 使用aspect-ratio控制高度 */
    }
    
    .app-video-container {
        width: 100%;
        height: 100%;
        position: relative;
    }

    /* app-section移动端padding改成50px 0 */
    .app-section {
        padding: 50px 0 !important;
    }

    /* 移动端factory-stats文字缩放优化 */
    .factory-stats {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .stat-item {
        flex: 0 0 calc(50% - 8px);
        margin-bottom: 10px;
        font-size: 0.8rem;
    }

    .stat-item h4 {
        font-size: 2rem !important;
    }

    .stat-number {
        font-size: 1.2rem;
        line-height: 1.2;
    }

    .stat-label {
        font-size: 0.6rem;
        line-height: 1.3;
    }
    
    /* factory-content标题在移动端分行显示 */
    .factory-content h2 {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .factory-title-line1,
    .factory-title-line2 {
        display: block;
        text-align: center;
        width: 100%;
    }
    
    .factory-title-line2 {
        margin-top: 5px;
    }
}

/* 尾部版权信息 */
.footer-section {
    background-color: #000;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

/* 轮播图箭头控制器样式 */
.machine-swiper .swiper-button-next,
.machine-swiper .swiper-button-prev {
    background-color: rgba(0, 0, 0, 0.5);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.machine-swiper .swiper-button-next:hover,
.machine-swiper .swiper-button-prev:hover {
    background-color: rgba(0, 0, 0, 0.7);
    opacity: 1;
}

.machine-swiper .swiper-button-next:after,
.machine-swiper .swiper-button-prev:after {
    font-size: 14px;
    color: #fff;
    font-weight: bold;
    margin: 0;
}

/* 机器轮播图拖动提示 */
.machine-carousel-hint {
    text-align: center;
    padding: 15px 0 5px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    user-select: none;
}

.footer_about {
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer_about a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
}

.footer_about a:hover {
    color: #d4af37;
}

.footer_about em {
    color: #666;
    font-style: normal;
}

.footer_icp {
    font-size: 12px;
    color: #999;
    line-height: 1.8;
}

.footer_icp a {
    color: #d4af37;
    text-decoration: none;
}

.footer_icp a:hover {
    text-decoration: underline;
}

.link-intuan {
    color: #d4af37 !important;
}

.footer_icp img {
    vertical-align: middle;
    margin-right: 5px;
    height: 16px;
}



.app-item {
    position: relative;
    width: 100%;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.app-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

/* 移动端适配：保持1:1宽高比 */
@media (max-width: 768px) {
    .app-item {
        aspect-ratio: 1/1; /* 保持正方形比例 */
        height: 100%; /* 使用aspect-ratio控制高度 */
    }
}

.app-video-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.app-video-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.app-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    padding: 70px 15px 15px;
    color: #fff;
    text-align: left;
}

.app-overlay .zh-title {
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
}

