:root {
    /* Color Palette - Premium Minimalist */
    --bg-color: #fcfcfc;
    --text-primary: #1a1a1a;
    --text-secondary: #666;
    --text-light: #999;
    --accent-color: #ccaa87;
    /* Light Gold/Beige */
    --accent-dark: #8c7356;
    --card-bg: #ffffff;
    --border-light: #eaeaea;
    --white: #ffffff;
    --black: #000000;

    /* Spacing */
    --spacer-xs: 8px;
    --spacer-s: 16px;
    --spacer-m: 32px;
    --spacer-l: 64px;
    --spacer-xl: 120px;

    /* Transitions */
    --transition-fast: 0.3s ease;
    --transition-smooth: 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.font-zihunbiantaoti {
    font-family: 'zihunbiantaoti', sans-serif !important;
}

.font-longzhuti {
    font-family: 'LogoSC LongZhuTi', sans-serif !important;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    /* Modern System Sans-serif */
    background-color: --bg-color;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    /* Disable the blue flash on mobile tap */
}

h1,
h2,
h3,
h4 {
    font-family: "Georgia", "Times New Roman", "Songti SC", "SimSun", serif;
    /* System Serif for headings to maintain elegance */
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    background-color: rgba(252, 252, 252, 0.9);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.logo-container .logo {
    height: 40px;
    width: auto;
}

.site-nav a {
    margin-left: 30px;
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--text-secondary);
    transition: var(--transition-fast);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.site-nav a:hover {
    color: var(--accent-color);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    color: var(--white);
    background-color: #1a1a1a;
    overflow: hidden;
}

/* Hero Media Container - 动态媒体轮播 */
.hero-media-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-media-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-color: #000;
    transition: opacity 1s ease-in-out;
}

.hero-media-item.active {
    opacity: 1;
}

.hero-media-item img,
.hero-media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

@media (max-width: 768px) {

    .hero-media-item img,
    .hero-media-item video {
        object-position: var(--bg-position, center);
    }
}

/* 图片基础状态：保持缩放（避免切换时跳回） */
.hero-media-item img {
    transform: scale(1.1);
}

/* 图片缓慢缩小效果 (Ken Burns) - 从大变小 */
.hero-media-item.active img {
    animation: heroImageZoom 5s ease-out forwards;
}

@keyframes heroImageZoom {
    from {
        transform: scale(1.1);
    }

    to {
        transform: scale(1);
    }
}

/* 视频封面图层（在视频加载时显示） */
.hero-video-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

/* 视频层 */
.hero-video {
    position: relative;
    z-index: 2;
    transition: opacity 0.8s ease-in-out;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.hero-content .subtitle:last-of-type {
    margin-bottom: 2rem;
}

/* Hero Scroll animation equivalent to cta button */
.hero-scroll {
    position: absolute;
    bottom: 2.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
    opacity: 0;
    animation: fadeIn 1.5s ease-out 1s forwards;
    text-decoration: none;
    cursor: pointer;
}

.hero-scroll span {
    font-size: 0.65rem;
    color: var(--text-light);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

.hero-scroll:hover span {
    color: var(--accent-color);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--accent-color), transparent);
    animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
    0% {
        transform: scaleY(0);
        transform-origin: top;
    }

    50% {
        transform: scaleY(1);
        transform-origin: top;
    }

    50.01% {
        transform: scaleY(1);
        transform-origin: bottom;
    }

    100% {
        transform: scaleY(0);
        transform-origin: bottom;
    }
}


/* Animation Classes */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s forwards cubic-bezier(0.215, 0.610, 0.355, 1.000);
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Portfolio Section (The Accordion) */
.portfolio-section {
    position: relative;
    padding: var(--spacer-xl) 0;
    /* Removing side padding for full width */
    background-color: #111;
    color: #fff;
    min-height: 100vh;
    /* Increased height */
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

/* Dynamic Background */
.portfolio-dynamic-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: background-image 0.5s ease-in-out;
    /* Note: background-image transition support varies, often requires opacity hack, but we'll try simple first or JS crossfade. 
       Actually, standard CSS doesn't smooth-transition bg-image easily. 
       We will use a JS opacity crossfade trick or just accept instant switch for now with the overlay masking it.
       To make it premium, we might rely on the overlay being heavy. 
    */
    z-index: 0;
}

.portfolio-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    /* 70% opacity black */
    backdrop-filter: blur(8px);
    /* Optional: adds a bit more premium glass feel to the bg */
    z-index: 1;
    pointer-events: none;
}

.section-container {
    position: relative;
    z-index: 2;
    width: 100%;
    /* padding: 0 5%; Removed to allow accordion to be full width */
}

.portfolio-section .section-header,
.portfolio-tabs {
    max-width: 1400px;
    /* Or suitable container width */
    margin-left: auto;
    margin-right: auto;
    padding: 0 5%;
}

.portfolio-section .section-header {
    text-align: center;
    margin-bottom: var(--spacer-l);
    position: relative;
    z-index: 3;
}

.portfolio-section .section-header h2 {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.portfolio-section .section-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Accordion Logic */
.portfolio-accordion {
    display: flex;
    justify-content: center;
    height: 60vh;
    /* Increased height significantly */
    min-height: 600px;
    width: 100%;
    max-width: 100%;
    /* Full Width */
    margin: 0 auto;
    gap: 0;
    /* Seamless */
}

/* When only 1 item, center it with max-width */
.portfolio-accordion:has(.accordion-item:only-child) {
    max-width: 60%;
    min-width: 600px;
}

.accordion-item {
    position: relative;
    flex: 1;
    height: 100%;
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: flex 0.8s cubic-bezier(0.25, 1, 0.5, 1), filter 0.3s;
    /* Slower, smoother expansion */
    overflow: hidden;
    background-color: #222;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    /* White divider line between items */
}

.accordion-item:last-child {
    border-right: none;
}

/* When only 1 item, no divider needed */
.accordion-item:only-child {
    border-right: none;
}

/* Set background image via JS or inline style, but here we use a class approach logic helper in CSS as well */
.accordion-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s;
    z-index: 1;
}

/* Hover/Active State logic */

/* When hovering an item, that item expands.
   All OTHER items (including .active) shrink to flex: 1 */

/* Default active state when nothing is hovered */
.accordion-item.active {
    flex: 6;
    filter: brightness(1.0);
    cursor: default;
}

/* When accordion is hovered, shrink ALL items (including active) to flex: 1 */
.portfolio-accordion:hover .accordion-item {
    flex: 1;
}

/* The hovered item expands to flex: 10 */
.accordion-item:hover {
    flex: 10 !important;
    filter: brightness(1.1);
}

.accordion-item:hover::before,
.accordion-item.active::before {
    background-color: rgba(0, 0, 0, 0);
}

/* When accordion is hovered, darken ALL non-hovered items (including active) */
.portfolio-accordion:hover .accordion-item:not(:hover)::before {
    background-color: rgba(0, 0, 0, 0.3);
}

/* Tabs Interface (New) */
.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 10px 20px;
    background: transparent;
    border: none;
    color: #888;
    cursor: pointer;
    font-family: "Georgia", "Times New Roman", "Songti SC", "SimSun", serif;
    font-size: 0.8rem;
    /* Reduced size */
    transition: all 0.3s ease;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tab-btn:hover {
    color: #fff;
}

.tab-btn.active {
    background: transparent;
    color: var(--accent-color);
    border: none;
    font-weight: bold;
}

/* Tab text responsive - Desktop default: Show full text, hide short text */
.tab-text-full {
    display: inline;
}

.tab-text-short {
    display: none;
}

.tab-pane {
    display: none;
    /* Hidden by default */
    width: 100%;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

/* Ensure active item stays expanded even when likely hovering others? 
   Actually, "accordion" usually means only one big at a time.
   If I hover Item B while Item A is active, Item B should grow. Item A should shrink?
   Yes, standard behavior. 
   But if I play a video in Item A, shrinking it might hide the video?
   The user said "click to play".
   If playing, maybe we should LOCK the size?
   Let's keep it simple: Hover grows. Active grows. 
   If I hover B, B grows (flex 4). A (active, flex 8) stays big? No, flex rules mean they share space.
   8 vs 4 vs 1 vs 1 vs 1. 
   This is fine.
*/

/* Content inside the item (Label vertical vs horizontal) */
.item-label {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    color: white;
    opacity: 0.8;
    transition: opacity 0.3s;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
}

.item-label .index {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 4px;
}

.item-label .title {
    font-size: 1.1rem;
    font-family: "Georgia", "Times New Roman", "Songti SC", "SimSun", serif;
}

/* When compressed, maybe hide title or rotate? For simplicity, we just keep it */
.accordion-item:not(:hover):not(.active) .item-label {
    opacity: 0.0;
    /* Hide label on collapsed items for cleaner look */
}

/* When accordion is hovered, hide ALL non-hovered item labels (including active) */
.portfolio-accordion:hover .accordion-item:not(:hover) .item-label {
    opacity: 0.0;
}

/* The Video Container inside */
.item-content {
    width: 100%;
    height: 100%;
    position: relative;
    display: block;
    /* Always visible - show poster image */
}

.accordion-item:hover .item-content,
.accordion-item.active .item-content {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.video-container {
    width: 100%;
    height: 100%;
    /* background: #000; Removed black to avoid flash */
}

.video-placeholder {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

/* 封面图片（支持 123pan 鉴权） */
.video-placeholder .poster-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: var(--bg-position, center);
    z-index: 0;
}

.video-placeholder .play-trigger {
    z-index: 1;
}

.play-trigger {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    cursor: pointer;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
}

.accordion-item:hover .play-trigger {
    opacity: 1;
    transform: scale(1);
}

/* If the Accordion is being hovered, hide the Active item's trigger if it's NOT the one being hovered */
.portfolio-accordion:hover .accordion-item.active:not(:hover) .play-trigger {
    opacity: 0;
    transform: scale(0.8);
}

/* If no hover on accordion, Active item shows trigger */
.accordion-item.active .play-trigger {
    opacity: 1;
    transform: scale(1);
}

.play-trigger:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1) !important;
    /* Override the suppression */
    opacity: 1 !important;
}

/* Plyr Overrides for seamless fit */
.plyr {
    height: 100%;
    width: 100%;
}



.notice-block {
    max-width: 800px;
    margin: var(--spacer-l) auto 0;
    padding: var(--spacer-m);
    background: #fafafa;
    border-left: 3px solid var(--accent-color);
    border-radius: 0 4px 4px 0;
}

.notice-block h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.notice-content p {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.8rem;
}

.sub-list {
    list-style: disc;
    margin-left: 20px;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 0.85rem;
}

/* About / Gear */
.about-section {
    padding: var(--spacer-xl) 5%;
    background-color: #fff;
}

.about-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    /* Give more space to text column */
    gap: var(--spacer-xl);
}

.info-group {
    margin-bottom: var(--spacer-m);
}

.info-group h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--accent-dark);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 5px;
    display: inline-block;
}

.gear-block h2,
.text-block h2 {
    margin-bottom: var(--spacer-m);
}

.gear-category {
    margin-bottom: 25px;
}

.gear-category h3 {
    font-size: 1rem;
    margin-bottom: 10px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.category-icon {
    font-size: 1.1rem;
}

.gear-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gear-tag {
    background: #f4f4f4;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-primary);
    border: 1px solid transparent;
    transition: all 0.2s;
}

.gear-tag:hover {
    background: #fff;
    border-color: var(--accent-color);
    color: var(--accent-dark);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.rules-list>li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 16px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.7;
}

.rules-list>li::before {
    content: '•';
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 0px;
}

/* Footer */
footer {
    background: #111;
    color: #999;
    padding: var(--spacer-l) 5%;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: var(--spacer-m);
}

.footer-logo {
    height: 40px;
    filter: brightness(0) invert(1);
    /* Make logo white */
    margin-bottom: 10px;
}

.contact-info h3 {
    color: #fff;
    margin-bottom: 10px;
    margin-top: 20px;
}

.copyright {
    font-size: 0.8rem;
    border-top: 1px solid #222;
    padding-top: 20px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {

    /* Header Adjustments */
    .site-header {
        height: 60px;
        justify-content: space-between;
        padding: 0 1.5rem;
    }

    .logo-container .logo {
        height: 28px;
    }

    .site-nav {
        display: flex;
        gap: 1.2rem;
    }

    .site-nav a {
        margin-left: 0;
        font-size: 0.75rem;
        letter-spacing: 0.1em;
    }

    /* 手机端只显示 首页 和 情绪短片 */
    .site-nav a:not(:first-child):not(:last-child) {
        display: none;
    }


    /* Mobile Desktop Hint Banner */
    .mobile-desktop-hint {
        display: flex;
        position: fixed;
        top: 60px;
        /* 紧贴header下方 */
        left: 0;
        width: 100%;
        background: linear-gradient(135deg, rgba(140, 115, 86, 0.95), rgba(204, 170, 135, 0.9));
        color: #fff;
        padding: 10px 40px 10px 16px;
        font-size: 0.8rem;
        z-index: 99;
        align-items: center;
        justify-content: center;
        gap: 8px;
        backdrop-filter: blur(8px);
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
        animation: slideDownHint 0.4s ease-out;
    }

    .mobile-desktop-hint.hide {
        animation: slideUpHint 0.3s ease-in forwards;
    }

    .mobile-desktop-hint .hint-icon {
        font-size: 1rem;
        flex-shrink: 0;
    }

    .mobile-desktop-hint .hint-text {
        text-align: center;
        line-height: 1.4;
    }

    .mobile-desktop-hint .hint-close {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: #fff;
        width: 32px;
        height: 32px;
        border-radius: 50%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0;
        transition: background 0.2s;
    }

    /* 倒计时圆圈容器 */
    .mobile-desktop-hint .countdown-ring {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        transform: rotate(-90deg);
        /* 从顶部开始 */
    }

    /* 背景圆圈 */
    .mobile-desktop-hint .countdown-ring-bg {
        fill: rgba(255, 255, 255, 0.15);
        stroke: rgba(255, 255, 255, 0.3);
        stroke-width: 2;
    }

    /* 进度圆圈 */
    .mobile-desktop-hint .countdown-ring-progress {
        fill: none;
        stroke: rgba(255, 255, 255, 0.9);
        stroke-width: 2;
        stroke-linecap: round;
        /* 圆的周长 = 2 * π * r = 2 * 3.14159 * 15 ≈ 94.25 */
        stroke-dasharray: 94.25;
        stroke-dashoffset: 0;
    }

    /* 倒计时动画 - 从完整圆圈到消失 */
    @keyframes countdown-stroke {
        from {
            stroke-dashoffset: 0;
        }

        to {
            stroke-dashoffset: 94.25;
        }
    }

    /* 关闭图标 */
    .mobile-desktop-hint .close-icon {
        position: relative;
        z-index: 1;
        font-size: 1rem;
        line-height: 1;
        font-weight: bold;
    }

    .mobile-desktop-hint .hint-close:hover,
    .mobile-desktop-hint .hint-close:active {
        background: rgba(255, 255, 255, 0.2);
    }

    .mobile-desktop-hint .hint-close:hover .countdown-ring-bg {
        fill: rgba(255, 255, 255, 0.25);
    }

    @keyframes slideDownHint {
        from {
            opacity: 0;
            transform: translateY(-100%);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes slideUpHint {
        from {
            opacity: 1;
            transform: translateY(0);
        }

        to {
            opacity: 0;
            transform: translateY(-100%);
        }
    }

    /* Hide play buttons on mobile */
    .play-trigger,
    .mobile-play-btn {
        display: none !important;
    }

    /* Hide desktop accordion on mobile */
    .portfolio-accordion {
        display: none !important;
    }

    /* Show mobile portfolio list on mobile */
    .mobile-portfolio-list {
        display: flex !important;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        white-space: nowrap;
        /* 防止标题换行 */
    }

    /* 副标题样式调整 - 两行更靠近 */
    .hero-content .subtitle {
        margin-bottom: 0.3rem;
    }

    .hero-content .subtitle:first-of-type {
        margin-top: 1rem;
        /* 让第一行副标题往下移靠近第二行 */
    }

    .hero-content .subtitle:last-of-type {
        margin-bottom: 0;
    }

    .about-container {
        grid-template-columns: 1fr;
        gap: var(--spacer-l);
    }

    .pricing-container {
        grid-template-columns: 1fr;
    }

    /* Portfolio Tabs - Mobile Optimization */
    .portfolio-tabs {
        gap: 10px;
        padding: 0 3%;
    }

    .tab-btn {
        font-size: 0.7rem;
        padding: 8px 12px;
        letter-spacing: 0.5px;
        white-space: nowrap;
    }

    /* Mobile: Show short text, hide full text */
    .tab-text-full {
        display: none !important;
    }

    .tab-text-short {
        display: inline !important;
    }
}

/* ============================== */
/* Mobile Portfolio List Layout   */
/* ============================== */

/* Hidden on desktop, shown on mobile */
.mobile-portfolio-list {
    display: none;
    flex-direction: column;
    gap: 16px;
    padding: 0 16px;
    width: 100%;
    max-width: 100%;
}

/* Individual mobile video card */
.mobile-video-card {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    overflow: hidden;
    background-color: #1a1a1a;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-video-card:active {
    transform: scale(0.98);
}

/* Poster image */
.mobile-video-card .mobile-poster {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

/* Gradient overlay for text readability */
.mobile-video-card .mobile-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Play button - centered */
.mobile-video-card .mobile-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: 2px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.mobile-video-card .mobile-play-btn svg {
    width: 28px;
    height: 28px;
    fill: white;
    margin-left: 3px;
    /* Optical centering for play icon */
}

.mobile-video-card:active .mobile-play-btn {
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%) scale(0.95);
}

/* Card info - bottom left */
.mobile-video-card .mobile-card-info {
    position: absolute;
    bottom: 12px;
    left: 16px;
    right: 16px;
    z-index: 2;
    color: white;
}

.mobile-video-card .mobile-card-info .mobile-year {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 4px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.mobile-video-card .mobile-card-info .mobile-title {
    font-size: 0.95rem;
    font-weight: 400;
    font-family: "Georgia", "Times New Roman", "Songti SC", "SimSun", serif;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
    line-height: 1.3;
}

/* Lightbox / Modal Player */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 1200px;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.loading-hint {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.8rem;
    z-index: 10;
    pointer-events: none;
    display: none;
    letter-spacing: 0.1em;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    transition: opacity 0.3s ease;
    white-space: nowrap;
}

.loading-hint.show {
    display: block;
}

/* VideoJS Fluid Override if needed, but videojs 'fluid: true' does this */