:root {
    --bg-color: #000000;
    --text-color: #FFFFFF;
    --text-muted: rgba(255, 255, 255, 0.6);
    --container-width: 1200px;
    --font-family: 'PingFang SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

/* Global Container */
.container {
    width: 100%;
    padding-left: 4.16vw; /* 使用视口单位替代固定像素 */
    padding-right: 4.16vw;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 34px 4.16vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    transition: background-color 0.3s, backdrop-filter 0.3s, padding 0.3s, transform 0.3s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

.header.scrolled {
    background-color: transparent;
    backdrop-filter: none;
    padding: 20px 4.16vw;
}

/* 即使在隐藏状态下，如果鼠标移入顶部区域，也显示导航栏 */
.header:hover,
.header.show-on-hover {
    transform: translateY(0) !important;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 115px;
    height: 25px;
}

.nav-list {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-item {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.nav-item.active {
    opacity: 1;
}

.nav-item:hover {
    opacity: 1;
}

/* Hide Request menu item on desktop */
.nav-item-request {
    display: none !important;
}

.dot {
    width: 3px;
    height: 3px;
    background-color: #FFFFFF;
}

.lang-switch {
    gap: 4px;
}

.icon-arrow {
    width: 12px;
    height: 12px;
}

/* Menu Toggle (Mobile) */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px; /* 稍微加大 */
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 9999 !important; /* 强制最高层级 */
    position: relative;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}

.hamburger-line {
    width: 100%;
    height: 2px;
    background-color: #FFFFFF;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* 强制在 1024px 以下显示菜单按钮 */
@media (max-width: 1024px) {
    .header {
        padding: 20px 24px; /* Adjust padding for mobile */
    }

    .logo-img {
        width: 106px; /* Figma width */
        height: auto;
    }

    .logo {
        position: relative;
        z-index: 10001; /* Ensure logo is above the full-screen menu overlay */
        top: 0;
        left: 3px;
    }

    .menu-toggle {
        display: flex !important; /* 强制显示 */
        width: 36px;
        height: 36px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid #F6F6F6;
        backdrop-filter: blur(12px);
        border-radius: 0; /* Square button */
        align-items: center;
        justify-content: center;
        padding: 0;
        gap: 6px; /* Gap between lines */
        z-index: 10001; /* Ensure toggle is above the full-screen menu overlay */
    }

    .hamburger-line {
        width: 16px;
        height: 1px; /* Thinner lines based on "strokeWeight: 1px" context or standard */
        background-color: #FFFFFF;
        transition: all 0.3s ease;
        flex-shrink: 0; /* Prevent shrinking */
    }

    /* Adjusting the flex direction for the lines inside the button */
    /* The current HTML structure has 3 spans. The CSS .menu-toggle has flex-direction: column by default in desktop styles (hidden). 
       I need to ensure it's column here too, but centered. */
    .menu-toggle {
        flex-direction: column;
        justify-content: center; /* Center vertical */
        align-items: center; /* Center horizontal */
    }
    
    /* Override the previous .menu-toggle styles inside media query if they conflict */
    
    .nav {
        position: fixed;
        top: 0;
        left: 0; /* Use left: 0 for full coverage stability */
        width: 100vw; /* Use viewport width */
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.8); /* Figma: 80% opacity black */
        backdrop-filter: blur(12.4px); /* Figma: 12.4px blur */
        display: flex;
        justify-content: center;
        align-items: center; /* Center content vertically */
        padding-top: 0;
        transform: translateX(100%); /* Start off-screen right */
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
        z-index: 9998 !important; /* 仅次于按钮 */
        visibility: hidden; /* 默认隐藏，防止误点 */
    }

    .nav.active {
        transform: translateX(0); /* Slide in to fill screen */
        visibility: visible;
    }

    .nav-list, .works-header .nav-list {
        display: flex !important; /* 强制导航列表在手机端也显示 */
        flex-direction: column;
        gap: 37px; /* Figma: 37px gap */
        text-align: center;
        padding-right: 0;
        width: 100%;
        align-items: center; /* Center items horizontally */
    }

    .nav-item {
        display: flex !important;
        font-size: 18px; /* Figma: 18px */
        justify-content: center;
        align-items: center;
        opacity: 0.5; /* Figma: Default opacity 0.5 */
        transform: translateX(20px);
        transition: opacity 0.4s ease, transform 0.4s ease;
        gap: 8px; /* Figma: 8px gap for text and dot */
        color: #FFFFFF;
    }
    
    .nav-item-request {
        display: flex !important;
    }
    
    .nav-item.active {
        opacity: 1; /* Active item opacity 1 */
    }

    .nav.active .nav-item {
        transform: translateX(0);
    }
    
    /* Dot styling */
    .nav-item .dot {
        display: block !important; /* Force display on mobile */
        width: 3px;
        height: 3px;
        background-color: #FFFFFF;
        border-radius: 0; /* Square dot per Figma "Rectangle 1" */
    }

    /* Lang switch specific adjustment */
    .lang-switch {
        gap: 4px; /* Figma: 4px gap for lang switch */
    }
    
    .lang-switch .icon-arrow {
        width: 12px;
        height: 12px;
        /* Assuming icon-arrow is the image */
    }
    .menu-toggle.active .hamburger-line:nth-child(1) {
        transform: translateY(3.5px) rotate(45deg);
    }

    .menu-toggle.active .hamburger-line:nth-child(2) {
        transform: translateY(-3.5px) rotate(-45deg);
        opacity: 1; /* Ensure visible */
    }

    .menu-toggle.active .hamburger-line:nth-child(3) {
        display: none;
    }

    /* 特别针对极小屏幕的适配 */
    @media (max-width: 480px) {
        .menu-toggle {
            display: flex !important;
        }
        .nav {
            width: 100%; /* 确保全屏覆盖 */
        }
    }

    /* 菜单项依次显现 */
    .nav.active .nav-item:nth-child(1) { transition-delay: 0.1s; }
    .nav.active .nav-item:nth-child(2) { transition-delay: 0.2s; }
    .nav.active .nav-item:nth-child(3) { transition-delay: 0.3s; }
    .nav.active .nav-item:nth-child(4) { transition-delay: 0.4s; }
    .nav.active .nav-item:nth-child(5) { transition-delay: 0.5s; }

    /* Override for active class */
    .nav.active .nav-item.active {
        opacity: 1;
    }

    .dot {
        /* display: none; - REMOVED to show dots on mobile per Figma design */
    }
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: flex-end;
    padding-bottom: 100px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25vh;
    background: linear-gradient(to bottom, transparent, #000);
    pointer-events: none;
    z-index: 2;
}

.hero-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0; /* 修改 z-index 为 0，确保它在 body 之上但被内容覆盖 */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1; /* 视频在容器最底层 */
    will-change: filter, opacity;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000; /* 使用纯黑背景 */
    backdrop-filter: blur(0px);
    z-index: 5;
    pointer-events: none;
    opacity: 0;
    will-change: opacity, backdrop-filter;
    /* 移除 CSS transition，由 JS 实时控制以实现更丝滑的滚动效果 */
}

.overlay-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.5;
}

/* Video Progress Bar */
.video-progress-container {
    position: absolute;
    bottom: 40px; /* 移回底部 */
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 8.32vw);
    max-width: 1760px;
    z-index: 10;
    will-change: opacity;
    transition: opacity 0.3s ease; /* 添加淡出过渡 */
}

.video-progress-bar {
    display: flex;
    gap: 8px;
    width: 100%;
}

.progress-segment {
    flex: 1;
    height: 2px;
    background: rgba(255, 255, 255, 0.42);
    position: relative;
    overflow: hidden;
}

.progress-segment::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress, 0%);
    background: #FFFFFF;
    transition: width 0.1s linear;
}

.progress-segment.active::after {
    width: 100%;
}

.progress-segment.current::after {
    width: var(--progress, 0%);
}

.hero-text-group {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-subtitle {
    font-size: 16px;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 300;
}

.hero-scroll-icon img {
    width: 24px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

/* Intro Section */
.intro {
    background-color: #000;
    height: 872px; /* 恢复为要求的 872px */
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    overflow: hidden;
}

.intro-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(20px); /* 默认模糊 */
}

.intro-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    z-index: 1;
    opacity: 1; /* 初始完全黑色 */
    will-change: opacity;
}

.intro-inner {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

.intro-content {
    max-width: 900px;
    margin-left: 0;
}

.intro-group {
    margin-bottom: 40px;
}

.intro-group:last-child {
    margin-bottom: 0;
}

.intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 0;
    font-weight: 300;
    letter-spacing: 0.05em;
}

.explore-more {
    align-self: flex-end; /* 按钮靠右排版 */
    margin-top: 70px; /* 与文字内容的距离为 40px */
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: #fff;
    font-size: 14px;
    letter-spacing: 0.1em;
    transition: opacity 0.3s ease;
}

.explore-more:hover {
    opacity: 0.7;
}

.arrow-box {
    width: 48px;
    height: 48px;
        background-image: url('./assets/images/arrow.png');
    background-size: 100% 100%;
    transition: transform 0.3s ease;
    border-radius: 0; /* 根据 Figma 187:33425，它是方形的 */
}

.explore-more:hover .arrow-box {
    transform: translateX(5px);
}

.arrow-box img {
    width: 20px;
    height: 20px;
    /* qh.png 已经是黑色箭头，不需要 invert(1) */
}

/* Projects Section */
.projects {
    padding-bottom: 60px;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 80px; /* 增加顶部间距 */
    margin-bottom: 60px;
    width: 100%;
}

.section-title {
    font-size: 24px;
    font-weight: 400;
    white-space: nowrap;
    color: #fff;
}

.section-line {
    flex-grow: 1;
    height: 1px;
    background-image: linear-gradient(to right, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0) 0%);
    background-position: center;
    background-size: 2px 1px;
    background-repeat: repeat-x;
    margin-top: 4px;
    position: relative;
    display: flex;
    align-items: center;
}

.section-line::before,
.section-line::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background-color: #fff;
    top: 50%;
    transform: translateY(-50%);
}

.section-line::before {
    left: 0;
}

.section-line::after {
    right: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr); /* 升级为 12 列栅格以实现更精细的非对称布局 */
    gap: 24px;
}

.project-card {
    position: relative;
    overflow: hidden;
    background: #000;
    width: 100%;
    cursor: pointer;
}

/* 12 列栅格比例分配 */
.col-4 { grid-column: span 12; } /* 移动端默认全宽 */
.col-5 { grid-column: span 12; }
.col-7 { grid-column: span 12; }
.col-8 { grid-column: span 12; }

@media (min-width: 1024px) {
    .col-4 { grid-column: span 4; } /* 1/3 宽度 */
    .col-5 { grid-column: span 5; } /* 约 41.6% 宽度 */
    .col-7 { grid-column: span 7; } /* 约 58.3% 宽度 */
    .col-8 { grid-column: span 8; } /* 2/3 宽度 */
}

/* 比例控制：通过为同一行的元素设置统一的高度（使用 vw 确保响应式）来保证对齐 */
.project-card {
    height: 30vw; /* 基础高度 */
}

/* Row 1 高度 */
.row-1-left, .row-1-right { 
    height: 29.6vw;  
}

/* Row 2 高度 (较扁) */
.row-2-left, .row-2-right { 
    height: 29.6vw; 
}
.row-2-left{
    grid-column: span 7;
}
 .row-2-right{
    grid-column: span 5;
 }
/* Row 3 高度 (较长) */
.row-3-left, .row-3-right { 
    height: 28.2vw; 
}

/* Row 4 高度 (正方形感) */
.row-4-item { 
    height: 20vw; 
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, transform;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* 延迟动画效果 */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* 针对不同元素的微调 */
.section-header.reveal {
    transform: translateY(20px);
}

.project-card.reveal,
.work-card.reveal {
    transform: scale(0.95) translateY(30px);
}

.project-card.reveal.active,
.work-card.reveal.active {
    transform: scale(1) translateY(0);
}
/* Partners Ticker */
.partners {
    margin-bottom: 150px;
    overflow: hidden;
}

.centered-header {
    justify-content: center;
    text-align: center;
    margin-bottom: 80px;
}

.centered-header .section-title {
    margin-right: 0;
    font-size: 34px;
    font-weight: 400;
    letter-spacing: 2px;
    color: #fff;
}

.partners-ticker-wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
}

.partners-ticker {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 0;
    padding-bottom: 0px;
}

/* 渐变遮罩，使边缘淡出 */
.partners-ticker::before,
.partners-ticker::after {
    content: "";
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.partners-ticker::before {
    left: 0;
    background: linear-gradient(to right, #000 0%, transparent);
}

.partners-ticker::after {
    right: 0;
    background: linear-gradient(to left, #000 0%, transparent);
}

.ticker-track img,
.ticker-track-reverse img {
    height: 80px;
    width: auto;
    object-fit: contain;
    opacity: .8;
}

.ticker-track {
    display: flex;
    align-items: center;
    gap: 40px;
    width: max-content;
    animation: scroll-left 60s linear infinite;
}

.ticker-track-reverse {
    display: flex;
    align-items: center;
    gap: 50px;
    width: max-content;
    animation: scroll-right 60s linear infinite;
}

.partners-ticker[dir="rtl"] .ticker-track {
    animation: scroll-right 60s linear infinite;
}

@media (max-width: 768px) {
    .partners-ticker::before,
    .partners-ticker::after {
        display: none;
    }
}

/* 服务类型板块样式 */
.service-types {
    padding: 100px 0;
    background-color: #000;
}

.service-types-header {
    text-align: center;
    margin-bottom: 60px;
    padding: 0 4.16vw;
}

.service-types-header .section-title {
    font-size: 34px;
    font-weight: 400;
    margin-bottom: 20px;
    color: #fff;
}

.service-types-header .section-description {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    color: #fff;
    max-width: 900px;
    margin: 0 auto;
    white-space: pre-line;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 0 4.16vw;
}

.service-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background-color: #1a1a1a;
}

.service-cg-large {
    grid-column: span 2;
    background: transparent;
}

.cg-accordion {
    display: flex;
    gap: 12px;
    height: 480px;
    width: 100%;
}

.accordion-item {
    flex: 1;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: flex 0.8s cubic-bezier(0.25, 1, 0.33, 1);
    background-color: #1a1a1a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.accordion-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.33, 1);
}

/* 只有在容器未被hover时的active项，或者是当前hover的项，才显示完整图片 */
.cg-accordion:not(:hover) .accordion-item.active img,
.accordion-item:hover img {
    object-fit: cover;
}

/* 默认展开第一个 */
.accordion-item.active {
    flex: 5;
}

/* 鼠标移入时展开 */
.cg-accordion:hover .accordion-item {
    flex: 1;
}

.cg-accordion .accordion-item:hover {
    flex: 5;
}

.service-aigc, .service-cgi {
    height: 420px;
}

.service-aigc img, .service-cgi img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.25, 1, 0.33, 1);
}

/* 黑色遮罩和描述效果 */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: flex-end;
    padding: 30px;
    opacity: 1;
    transition: opacity 0.4s ease;
    z-index: 2;
}

.service-item:hover .service-overlay,
.accordion-item.active .service-overlay,
.accordion-item:hover .service-overlay {
    opacity: 1;
}

.service-info {
    transform: translateY(20px);
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-item:hover .service-info,
.accordion-item.active .service-info,
.accordion-item:hover .service-info {
    transform: translateY(0);
}

/* 当鼠标移入容器时，非 hover 的 active 项也隐藏文字 */
.cg-accordion:hover .accordion-item.active:not(:hover) .service-overlay {
    opacity: 0;
}

.cg-accordion:hover .accordion-item.active:not(:hover) .service-info {
    transform: translateY(20px);
}

.service-info h3 {
    font-family: 'relationship of mélodrame', serif;
    font-style: italic;
    font-size: 32px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 8px;
    line-height: 1.2;
}

.service-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

/* 服务类型视频样式 */
.service-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
    pointer-events: none;
}

/* 排除 service-cg-large 容器，只匹配直接的 service-item 和 accordion-item */
.service-item:not(.service-cg-large):hover > .service-video,
.accordion-item:hover > .service-video {
    opacity: 1;
}

/* Hover时隐藏图片 */
.service-item:hover img,
.accordion-item:hover img {
    transform: scale(1.1);
}

.accordion-item.active img {
    transform: scale(1.05);
}

.accordion-item.active:hover img {
    transform: scale(1.1);
}

/* 移动端适配 */
@media (max-width: 1023px) {
    .service-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
.row-2-left{
    grid-column: span 12;
}
.row-2-right{
    grid-column: span 12;
}
    .service-cg-large {
        grid-column: span 1;
    }

    .cg-accordion {
        flex-direction: row; /* Keep row layout on mobile */
        height: 230px; /* Match Figma height */
        gap: 2px; /* Match Figma gap */
    }

    .accordion-item {
        border-radius: 6px; /* Match Figma border radius */
    }

    .service-info h3 {
        font-size: 24px; /* Match Figma font size */
        line-height: 1.0;
        text-shadow: 0px 0px 2.5px rgba(0, 0, 0, 0.7); /* Match Figma shadow */
    }

    .service-info p {
        font-size: 12px; /* Match Figma font size */
    }

    .service-aigc, .service-cgi {
        height: 300px;
    }
}

.ticker-track img {

    object-fit: contain;

    transition: all 0.3s ease;
    image-rendering: -webkit-optimize-contrast;
}

.ticker-track img:hover {
    opacity: 1;
    transform: scale(1.1);
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scroll-right {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* 移动端适配：高度根据图片内容自适应 */
@media (max-width: 1023px) {
    .projects-grid {
        grid-template-columns: 1fr; /* 移动端通常单列显示，以便图片自适应高度 */
        gap: 20px;
    }

    .project-card,
    .row-1-left, .row-1-right,
    .row-2-left, .row-2-right,
    .row-3-left, .row-3-right,
    .row-4-item {
        height: auto; /* 移除固定高度 */
        aspect-ratio: auto; /* 移除比例限制 */
    }

    .project-img {
        position: relative; /* 允许图片撑开容器 */
        width: 100%;
        height: auto;
        display: block;
    }

    .project-video {
        height: 100%; /* 视频依然覆盖整个容器 */
    }

    .aigc-content {
        flex-direction: column;
        gap: 40px;
        min-height: auto;
        padding: 0 4.16vw;
    }

    .aigc-text-side,
    .aigc-image-side {
        flex: 1;
        width: 100%;
        max-width: 100%;
    }

    .aigc-image-side {
        height: 500px;
    }

    .aigc-grid-img {
        transform: translateY(0);
    }
}

.project-img, .project-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease, opacity 0.5s ease;
    z-index: 1;
    position: relative;
}

.project-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
}

.project-info {
    position: absolute;
    bottom: 20px;
    left: 30px;
    z-index: 3;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.project-card:hover .project-img {
    opacity: 0;
    transform: scale(1.05);
}

.project-card:hover .project-video {
    opacity: 1;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-card:hover .project-info {
    opacity: 1;
    transform: translateY(0);
}

/* 签约艺术家板块样式 */
.signed-artists {
    padding: 0 0;
    padding-bottom: 0;
    background-color: #000;
    overflow: hidden;
    padding-top: 150px;
}

.artists-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 4.16vw;
    gap: 80px;
}

.artists-text-side {
    flex: 0 0 420px;
    position: sticky;
    top: 100px;
}

.artists-text-side .section-title {
    font-size: 34px;
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 1.44;
    color: #fff;
}

.artists-description {
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 420px;
}

.artists-description .desc-main {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.96;
    margin-bottom: 0;
    white-space: pre-line;
}

.artists-description .desc-sub {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.96;
    margin-bottom: 0;
    white-space: pre-line;
}

.artists-grid-side {
    width: 50%;
    position: relative;
    height: 800px;
    overflow: hidden;
}

.artists-ticker-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 6px;
    height: auto; /* Allow content to dictate height */
    margin-top: 0; 
    will-change: transform;
}

.artists-column {
    height: 100%;
    position: relative;
    overflow: hidden;
}

.artists-column:nth-child(odd) {
    margin-top: 56px;
}

.artists-track {
    display: flex;
    flex-direction: column;
    gap: 6px;
    will-change: transform;
}

.artist-item {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 0;
    overflow: hidden;
    background: #000;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.artist-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: transform 0.4s ease, filter 0.4s ease;
    will-change: transform;
}

.artist-item:hover img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.artists-mask-top, .artists-mask-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 150px; /* 稍微增加高度使过渡更平滑 */
    pointer-events: none;
    z-index: 3;
}

.artists-mask-top {
    top: -1px; /* 向上偏移1px覆盖可能的缝隙 */
    background: linear-gradient(to bottom, 
        #000 0%, 
        #000 15%, 
        rgba(0, 0, 0, 0) 100%
    );
}

.artists-mask-bottom {
    bottom: -1px; /* 向下偏移1px覆盖可能的缝隙 */
    background: linear-gradient(to top, 
        #000 0%, 
        #000 15%, 
        rgba(0, 0, 0, 0) 100%
    );
}

/* 签约艺术家移动端适配 */
@media (max-width: 1200px) {
    .artists-ticker-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 1023px) {
    .artists-layout {
        flex-direction: column;
        gap: 40px;
    }
    
    .artists-text-side {
        flex: none;
        width: 100%;
        position: static;
    }
    
    .artists-grid-side {
        width: 100%;
        height: 500px;
    }

    .artists-ticker-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 767px) {
    .artists-grid-side {
        height: 600px; /* 增加可视区域高度 */
    }

    .artists-mask-top, 
    .artists-mask-bottom {
        height: 80px; /* 减小遮罩高度，避免遮挡过多内容 */
    }

    .artists-ticker-container {
        height: auto;
        margin-top: 0;
        grid-template-columns: repeat(5, 1fr);
        gap: 3px;
    }

    .artists-track{
        gap: 3px;
    }
    
    .artists-text-side .section-title {
        font-size: 22px;
        margin-bottom: 24px;
    }
    
    .artists-description {
        gap: 24px;
    }

    .artists-description .desc-main,
    .artists-description .desc-sub {
        font-size: 13px;
    }
}

/* Works Page Specific Header */
@media (min-width: 1025px) {
    .works-header {
        display: flex;
        justify-content: flex-start;
        align-items: center; /* 垂直居中对齐 Logo 和垂直导航 */
        padding: 40px 4.16vw;
        background-color: transparent;
        gap: 20px;
    }

    .works-header .detail-header-back {
        display: block;
    }

    .works-header .logo {
        order: 2;
    }

    .works-header .nav {
        order: 3;
        margin-left: auto;
    }

    .works-header .nav-list {
        flex-direction: column; /* 垂直排列 */
        align-items: flex-start; /* 文字左对齐 */
        gap: 12px; /* 垂直间距 */
    }

    .works-header .nav-item {
        gap: 8px;
        opacity: 0.5;
        display: flex;
        flex-direction: row; /* 点号在右边 */
        align-items: center;
        margin-right: 0;
    }

    .works-header .nav-item.active {
        opacity: 1;
    }

    .works-header .lang-switch {
        gap: 4px;
        margin-top: 8px; /* 语言切换稍微拉开一点距离 */
    }

    .works-header .dot {
        display: block;
        width: 3px;
        height: 3px;
        background-color: #FFFFFF;
    }

    .works-header .nav-item:last-child .dot,
    .works-header .lang-switch .dot {
        display: none;
    }
}

/* Works Page Styles */
.works-page {
    background-color: #000;
    color: #fff;
}

.works-filter-section {
    padding-top: 240px;
    padding-bottom: 60px;
}

.works-filter-list {
    display: flex;
    justify-content: flex-start;
    gap: 40px;
    overflow-x: auto;
    padding-bottom: 10px;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.works-filter-list::-webkit-scrollbar {
    display: none;
}

.filter-item {
    background: none;
    border: none;
    color: #fff;
    font-size: 16px;
    font-weight: 400;
    cursor: pointer;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    white-space: nowrap;
    position: relative;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-item .dot {
    opacity: 1; /* Inherits parent opacity if we want it to fade */
}

.filter-item:hover,
.filter-item.active {
    opacity: 1;
}

/* Remove the old bullet point logic */
.filter-item.active::before {
    display: none;
}

.works-grid-section {
    padding-bottom: 100px;
}

}

.works-skeleton {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
    padding-bottom: 100px;
}

.works-skeleton .skeleton-card {
   
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.5s ease-in-out infinite;
    border-radius: 4px;
    overflow: hidden;
}

.works-skeleton .skeleton-card-8 {
    grid-column: span 8;
    aspect-ratio: 1075 / 602;
}

.works-skeleton .skeleton-card-4 {
    grid-column: span 4;
    aspect-ratio: 537.5 / 602;
}

.works-skeleton .skeleton-card-3 {
    grid-column: span 3;
    aspect-ratio: 385 / 687;
}

@keyframes skeleton-shimmer {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.works-skeleton.hidden {
    display: none;
}

@media (max-width: 1024px) {
    .works-skeleton .skeleton-card {
        grid-column: span 6;
    }
}

@media (max-width: 768px) {
    .works-skeleton .skeleton-card {
        grid-column: span 12;
        aspect-ratio: 16 / 9;
    }
}

.works-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 12px;
}

.work-card {
    position: relative;
    overflow: hidden;
    background-color: #111;
}

/* 12-item Repeatable Pattern: 8+4, 3+3+3+3, 4+8, 3+3+3+3 */
/* Row 1: 8 + 4 */
/* To ensure height alignment in a 12-column grid, the aspect-ratio (W/H) must be proportional to the column span.
   If height is H, then span 8 ratio = 8/H, span 4 ratio = 4/H. Thus Ratio_8 = 2 * Ratio_4.
   Figma Base: 1075 / 602. We use this for span 8, and calculate span 4 to match. */
.works-grid .work-card:nth-child(12n+1) {
    grid-column: span 8;
    aspect-ratio: 1075 / 602;
}
.works-grid .work-card:nth-child(12n+2) {
    grid-column: span 4;
    aspect-ratio: 537.5 / 602; /* Proportional to 1075/602 (exactly half width) */
}

/* Row 2: 3 + 3 + 3 + 3 */
.works-grid .work-card:nth-child(12n+3),
.works-grid .work-card:nth-child(12n+4),
.works-grid .work-card:nth-child(12n+5),
.works-grid .work-card:nth-child(12n+6) {
    grid-column: span 3;
    aspect-ratio: 385 / 687; /* All same span, naturally aligned */
}

/* Row 3: 4 + 8 */
.works-grid .work-card:nth-child(12n+7) {
    grid-column: span 4;
    aspect-ratio: 537.5 / 602;
}
.works-grid .work-card:nth-child(12n+8) {
    grid-column: span 8;
    aspect-ratio: 1075 / 602;
}

/* Row 4: 3 + 3 + 3 + 3 */
.works-grid .work-card:nth-child(12n+9),
.works-grid .work-card:nth-child(12n+10),
.works-grid .work-card:nth-child(12n+11),
.works-grid .work-card:nth-child(12n+12) {
    grid-column: span 3;
    aspect-ratio: 385 / 687;
}

.work-media {
    position: relative;
    width: 100%;
    height: 100%;
    cursor: pointer;
    overflow: hidden;
}

.work-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.work-info {
    position: absolute;
    bottom: 20px;
    left: 40px;
    z-index: 2;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-title {
    font-size: 1.17em;
    font-weight: 400;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 0.05em;
}

.work-category {
    font-size: 14px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
}

/* Hover Effects */
.work-card {
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.6s ease;
}

.work-card:hover {
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.work-card:hover .work-video {
    opacity: 1;
    transform: scale(1.1);
}

.work-card:hover .work-overlay {
    opacity: 1;
}

.work-card:hover .work-info {
    opacity: 1;
    transform: translateY(0);
}

.work-card:hover .work-img {
    transform: scale(1.1);
    opacity: 0.3; /* 降低图片透明度，让视频更突出 */
}

/* Responsive Works */
@media (max-width: 1024px) {
    .work-card.large, 
    .work-card.small,
    .works-grid .work-card:nth-child(n) {
        grid-column: span 6;
    }
    
    .work-title {
        font-size: 22px;
    }
    
    .work-info {
        bottom: 20px;
        left: 20px;
    }
}

@media (max-width: 768px) {
    .work-card.large, 
    .work-card.small,
    .works-grid .work-card:nth-child(n) {
        grid-column: span 12;
    }
    
    .works-filter-list {
        gap: 20px;
        flex-wrap: wrap;
        overflow-x: visible;
        padding-bottom: 0;
    }
    
    .works-filter-section {
        padding-top: 120px;
        padding-bottom: 30px;
    }
    
    .filter-item {
        font-size: 14px;
    }
}

.project-category {
    font-size: 16px;
    color: #fff;
    font-weight: 400;
    letter-spacing: 0.05em;
}

/* AIGC Section */
.aigc-section {
    position: relative;
    padding: 0;
    height: 100vh; /* 恢复单屏高度，不卡顿 */
    overflow: hidden;
}

.aigc-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 120px;
    height:100%;
    padding: 0 5vw;
    max-width: 1800px;
    margin: 0 auto;
}
.aigc-content .aigc-text-side .section-title{
    font-size: 34px;
    font-weight: 400;
    margin-bottom: 24px;
    color: #FFFFFF;
}
.aigc-content .aigc-text-side .section-description {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.96;
    margin-bottom: 64px;
    color: #FFFFFF;
    white-space: pre-line;
}
.view-works-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.3s;
    padding-bottom: 4px;
    
}
.aigc-content .aigc-text-side  .view-works-link:hover {
    opacity: 1;
    
}
.aigc-text-side {
    flex: 0 1 688px; /* 固定宽度或根据内容收缩 */
}

.aigc-title {
    font-size: 34px;
    font-weight: 400;
    margin-bottom: 24px;
    color: #fff;
    letter-spacing: 0.05em;
}

.aigc-desc {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.8;
    color: rgba(255, 255, 255);
    margin-bottom: 48px;
    white-space: pre-line;
}

.aigc-link-wrapper {
    position: relative;
    display: inline-block;
}

.aigc-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    opacity: .5;
    text-decoration: none;
    font-size: 16px;
    transition: opacity 0.3s;
}


.aigc-link:hover {
    opacity: 0.8;
}

.link-arrow {
    font-size: 20px;
    transition: transform 0.3s ease;
}

.aigc-link:hover .link-arrow {
    transform: translateX(5px);
}

.link-underline {
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: #fff;
    opacity: 0.3;
}

.aigc-image-side {
    flex: 0 1 770px;
    position: relative;
    height: 100vh; /* 窗口高度撑满视口 */
    overflow: hidden; /* 核心：作为窗口裁剪内容 */
    border-radius: 4px;
    background: #000; /* 确保背景是黑色 */
}

.aigc-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 0 2px;
    width: 100%;
    position: absolute; /* 改为绝对定位，便于 JS 精确控制位移 */
    top: 0;
    left: 0;
    will-change: transform;
    z-index: 1; /* 确保在背景之上 */
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.aigc-column {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.col-2{
    transform: translateY(-200px);
}
.aigc-column img {
    width: 100%;
    height: 412px; /* 减小图片高度，使布局更紧凑 */
    object-fit: cover;
    border-radius: 0;
    transition: transform 0.4s cubic-bezier(0.2, 0, 0.2, 1), 
                filter 0.4s ease, 
                box-shadow 0.4s ease;
    filter: brightness(0.8); /* 默认稍微暗一点，为变亮留出空间 */
    cursor: pointer;
    display: block;
}

.aigc-column img:hover {
    transform: scale(1); /* 悬停放大 */
    filter: brightness(1.1); /* 悬停变亮 */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

/* 遮罩样式大幅减弱，提高可见度 */
.aigc-mask-top,
.aigc-mask-bottom {
    position: absolute;
    left: 0;
    width: 100%;
    height: 120px; /* 从 250px 减小到 120px */
    z-index: 100; /* 显著提高层级，确保在图片之上 */
    pointer-events: none;
}

.aigc-mask-top {
    top: 0;
    background: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, 0.8) 20%, rgba(0, 0, 0, 0) 100%);
}

.aigc-mask-bottom {
    bottom: 0;
    background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.8) 20%, rgba(0, 0, 0, 0) 100%);
}

.awards.container {
    max-width: 1400px; /* 进一步缩小最大宽度，确保在大屏幕下也能看到明显的边距 */
    width: 90%; /* 使用 90% 的宽度，确保两侧各有 5% 的留白 */
  
    padding-top: 0px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box;
    position: relative;
    height: 100vh;
}

.awards .section-header {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin-bottom: 60px; /* 稍微减小间距 */
    width: 100%;
    padding-top: 0px !important;
}

.awards .section-title {
    font-size: 34px;
    font-weight: 400;
    color: #FFFFFF;
    margin: 0;
}

.awards .section-line {
    display: none;
}

.awards-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px; /* 减小间隙以防止溢出 */
    background: transparent;
    position: relative;
    width: 100%;
    margin: 0 auto;
}

/* 十字光晕容器 */
.cross-halo {
    position: absolute;
    width: 250px;
    height: 250px;
    pointer-events: none;
    opacity: 0;
    z-index: 10;
    transform: translate(-50%, -50%) scale(0);
    transition: 
        opacity 0.2s ease-out,
        transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: opacity, transform;
}

@media (max-width: 900px) {
    .cross-halo {
        width: 180px;
        height: 180px;
    }
}

@media (max-width: 600px) {
    .cross-halo {
        width: 120px;
        height: 120px;
    }
}

/* 横向光带 */
.cross-halo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 1.5px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), rgba(255,255,255,0.6), rgba(255,255,255,0.3), transparent);
    transform: translateY(-50%);
    box-shadow: 0 0 15px 2px rgba(255,255,255,0.3);
}

/* 纵向光带 */
.cross-halo::after {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1.5px;
    height: 100%;
    background: linear-gradient(180deg, transparent, rgba(255,255,255,0.3), rgba(255,255,255,0.6), rgba(255,255,255,0.3), transparent);
    transform: translateX(-50%);
    box-shadow: 0 0 15px 2px rgba(255,255,255,0.3);
}

/* 光晕激活状态 */
.cross-halo.active {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.1); /* 恢复原始比例，不加长度 */
}

.award-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: transparent;
    width: 100%; /* 确保宽度不超出格子 */
    padding: 10px; /* 减小内边距 */
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
    border: none;
    position: relative;
    z-index: 1;
}

.award-item.floating {
    /* transform: translateY(-8px) scale(1.02); */
    z-index: 2;
}

.award-item:hover {
    background: transparent;
    opacity: 0.8;
}

.award-logo {
    height: 60px;
    width: 100%;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.award-logo img {
    max-height: 100%;
    max-width: 85%;
    object-fit: contain;
}

.award-name {
    font-size: 14px;
    color: #FFFFFF;
    line-height: 1.4;
    margin: 0;
    font-weight: 300;
}

/* Responsive for Awards */
@media (max-width: 1200px) {
    .awards-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }
}

@media (max-width: 900px) {
    .awards-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .awards.container {
        padding: 60px 0 !important;
    }
    .awards .section-title {
        font-size: 28px;
    }
}

@media (max-width: 600px) {
    /* 这里的 .nav 宽度由上面的 1024px 逻辑和 480px 逻辑统一管理 */
    .awards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .awards.container {
        padding: 40px 0 !important;
        width: 95%; /* 小屏幕增加内容宽度 */
    }
    .award-logo {
        height: 40px;
        margin-bottom: 15px;
    }
    .award-name {
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .intro-text {
        font-size: 20px;
    }
    /* 移除这里的 awards-grid 覆盖，由上面的 media queries 处理 */
    .aigc-content {
        flex-direction: column;
        gap: 40px;
        padding: 0 4.16vw;
        height: auto;
        padding-bottom: 60px;
    }
    .aigc-text-side, .aigc-image-side {
        flex: none;
        width: 100%;
        max-width: 100%;
    }
    .aigc-image-side {
        height: auto;
        min-height: 300px; /* 防止内容未加载时高度塌陷 */
        max-height:700px;
    }
    .aigc-grid {
        position: relative;
        height: auto;
        top:-100px;
    }
    .aigc-column img {
        height: auto;
    }
    .col-2 {
        transform: translateY(-50px);
    }
    .aigc-column {
        animation-duration: 60s; /* Slower on mobile */
    }
}

/* CG Motion Section */
.cg-motion {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #000;
    margin-top: 120px;
    margin-bottom: 120px;
}

.cg-video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.cg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cg-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* Adjust darkness as needed */
    z-index: 2;
}

.cg-motion-content {
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 5vw;
    position: relative;
    z-index: 3;
}

.cg-motion-text {
    max-width: 414px;
}

.cg-title {
    font-size: 34px;
    font-weight: 400;
    margin-bottom: 24px;
    color: #FFFFFF;
}

.cg-desc {
    font-size: 18px;
    font-weight: 300;
    line-height: 1.96;
    margin-bottom: 64px;
    color: #FFFFFF;
}

.cg-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 400;
    color: #FFFFFF;
    text-decoration: none;
    opacity: 0.5;
    transition: opacity 0.3s;
    padding-bottom: 4px;
}

.cg-link:hover {
    opacity: 1;
}

.link-arrow {
    width: 11px;
}

@media (max-width: 1024px) {
    .cg-motion {
        height: auto;
        padding: 100px 0;
        min-height: auto;
    }
    
    .cg-motion-content {
        padding: 0 4.16vw;
    }
    
    .cg-title {
        font-size: 28px;
    }
    
    .cg-desc {
        font-size: 16px;
        margin-bottom: 40px;
    }
}

@media (max-width: 768px) {
   
    .projects-grid {
        grid-template-columns: 1fr;
    }
    .project-card.large {
        aspect-ratio: 4/3;
    }
    .intro {
        padding: 60px 20px;
    }
    .intro-text {
        font-size: 18px;
    }
    
    .cg-motion {
        height: 100vh;
        min-height: 100vh;
        padding: 0;
    }
    
    .cg-motion-content {
        padding: 0 20px;
    }
}

@media (max-width: 768px) {
    .cg-accordion {
        height: 260px;
        gap: 2px;
        overflow-x: auto; /* 允许横向滚动 */
        overflow-y: hidden;
        /* 隐藏滚动条 */
        scrollbar-width: none; /* Firefox */
        -ms-overflow-style: none; /* IE/Edge */
    }
    
    .cg-accordion::-webkit-scrollbar {
        display: none; /* Chrome/Safari */
    }

    /* 移除隐藏，允许所有项目参与布局 */
    .cg-accordion .accordion-item:nth-child(n+4) {
        display: block;
    }

    /* 强制移动端布局比例：设置最小宽度，确保 active 项目足够宽，其他项目也保留可见性 */
    .cg-accordion .accordion-item {
        flex: 0 0 auto !important; /* 不缩放，固定宽度由 min-width 决定 */
        min-width: 40px !important;
        width: 40px; /* 默认宽度 */
        transition: width 0.3s ease, min-width 0.3s ease;
        border-radius: 12px !important; /* 圆角 - 强制 */
        overflow: hidden !important; /* 裁剪圆角 - 强制 */
        -webkit-mask-image: -webkit-radial-gradient(white, black); /* Safari 圆角裁剪修复 */
        mask-image: radial-gradient(white, black);
        isolation: isolate; /* 进一步确保裁剪 */
        z-index: 1;
    }

    .cg-accordion .accordion-item.active {
        flex: 0 0 auto !important;
        min-width: 280px !important; /* 增加宽度 */
        width: 280px; /* 增加宽度 */
    }

    /* 确保内部图片也遵循圆角（虽然 overflow:hidden 应该处理，但为了保险） */
    .cg-accordion .accordion-item img {
        border-radius: 12px !important;
    }

    /* 禁用移动端 hover 效果 */
    .cg-accordion:hover .accordion-item,
    .cg-accordion .accordion-item:hover {
        flex: 1 !important;
    }

    .cg-accordion:hover .accordion-item.active,
    .cg-accordion .accordion-item.active:hover {
        flex: 5 !important;
    }

    .cg-accordion .service-overlay {
        padding: 12px 16px;
    }

    .cg-accordion .service-info h3 {
        font-size: 16px; /* 缩小字体 */
        margin-bottom: 2px;
        white-space: nowrap; /* 禁止换行 */
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    .cg-accordion .service-info p {
        font-size: 10px; /* 缩小字体 */
        white-space: nowrap; /* 禁止换行 */
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    /* 针对所有 service-item 的标题和描述在移动端也禁止换行并缩小字体 */
    .service-info h3 {
        font-size: 16px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }

    .service-info p {
        font-size: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 100%;
    }
    
    /* 确保容器有宽度限制，以便 ellipsis 生效 */
    .service-info {
        width: 100%;
        min-width: 0; /* Flex item overflow fix */
    }
}

.footer {
    background: linear-gradient(180deg, rgba(50, 0, 0, 1) 0%, rgba(0, 0, 0, 1) 90%);
    color: #FFFFFF;
    padding: 80px 0 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

.footer-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex: 1;
    width: 100%;
    padding: 0 80px;
}

.footer-concepts {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
}

.footer-concepts span {
    font-family: 'relationship of mélodrame', serif;
    font-size: 60px;
    font-style: italic;
    opacity: 1;
}

.concept-divider {
    width: 2px;
    height: 34px;
    background: #FFFFFF;
    opacity: 0.7;
    margin: 0 10px;
}

.footer-nav {
    display: flex;
    align-items: center;
    gap: 16px;
}

.footer-nav a {
    font-size: 18px;
    font-weight: 300;
    color: #FFFFFF;
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-nav a:hover {
    opacity: 0.7;
}

.nav-dot {
    width: 3px;
    height: 3px;
    background: #FFFFFF;
}

.footer-social {
    display: flex;
    align-items: center;
    gap: 32px;
}

.social-item {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 1;
    transition: opacity 0.3s;
}
.footer-social .social-item{
    gap: 0px;
}


.social-item img {
    width: 24px;
    height: 24px;
}

.social-item span {
    font-size: 14px;
}

.footer-bottom {
    width: 100%;
    border-top: 1px solid #5A5A5A;
    padding: 20px 30px 40px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-logo img {
    height: 16px;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.footer-logo img:hover {
    opacity: 1;
}

.footer-copyright {
    text-transform: uppercase;
    font-weight: 500;
    text-align: center;
}
.footer-link{
    color:#999
}
.footer-link-item{
    color:#999;
    transition: color 0.3s ease;
}
.footer-link-item:hover {
    color:#fff;
}
.footer-contact {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-self: end;
}

.footer-line {
    width: 1px;
    height: 16px;
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive Footer */
@media (max-width: 1024px) {
    .footer {
        padding: 80px 0 30px;
    }
    .footer-main {
        padding: 0 40px;
    }
    .footer-concepts span {
        font-size: 40px;
    }
    .footer-bottom {
        padding: 20px 20px 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-contact {
        justify-self: center;
    }
}

/* Default: Hide mobile logo */
.mobile-footer-logo {
    display: none;
}

@media (max-width: 768px) {
    /* Mobile Logo - Top Left */
    .mobile-footer-logo {
        display: block;
        position: absolute;
        top: 32px;
        left: 24px;
        opacity: 0.5;
        z-index: 10;
    }
    .mobile-footer-logo img {
        width: 106px;
        height: auto;
    }
    
    /* Hide desktop footer logo inside bottom section */
    .footer-bottom .footer-logo {
        display: none;
    }

    .footer {
        padding: 80px 0 30px;
        justify-content: center; /* Center content vertically if needed, but flex-direction is column */
    }

    .footer-main {
        padding: 0 20px;
        gap: 40px; /* Adjust gap between sections */
        margin-top: 60px; /* Push down to clear logo if needed, or adjust padding */
    }

    /* Concepts: Row layout on mobile as per Figma, adjust font size to fit */
    .footer-concepts {
        flex-direction: row; /* Change back to row */
        gap: 8px; /* Slightly reduce gap */
        align-items: center;
        justify-content: center; /* Center horizontally */
        flex-wrap: wrap; /* Allow wrap if screen is very narrow, though design prefers one line */
    }
    
    .footer-concepts span {
        font-size: 20px; /* Reduce from 32px to fit on mobile screens */
        line-height: 1.2;
        white-space: nowrap; /* Prevent word break */
    }

    .concept-divider {
        display: block; /* Show dividers */
        width: 1px;
        height: 14px; /* Adjust height for smaller font */
        background: #FFFFFF;
        opacity: 0.7;
        margin: 0 4px; /* Reduce margin */
    }

    /* Nav: Smaller font, tighter gap */
    .footer-nav {
        gap: 8px; /* Figma gap ~8.5px */
    }
    
    .footer-nav a {
        font-size: 12px; /* Figma size */
    }
    
    .nav-dot {
        width: 2px;
        height: 2px;
    }

    /* Social: Column layout */
    .footer-social {
        flex-direction: column;
        gap: 12px; /* Space between rows */
        align-items: center;
        margin-top: 20px;
    }
    
    .footer-social .social-item {
        gap: 8px; /* Icon to text gap - override desktop 0px */
        justify-content: center;
        align-items:flex-end
    }
    
    .social-item img {
        width: 16px; /* Smaller icons */
        height: 16px;
        margin-right: 0 !important; /* Remove inline style override if present */
    }
    
    .social-item span {
        font-size: 12px; /* Figma size */
        opacity: 0.6; /* Ensure opacity */
    }

    /* Footer Bottom Section */
    .footer-bottom {
        padding: 20px 0;
        display: flex;
        flex-direction: column;
        gap: 20px;
        text-align: center;
        border-top: none; /* Remove default border, handle with specific line or padding */
        position: relative;
        width: 100%;
    }

    /* Contact Info: Order 1 (Above Copyright) */
    .footer-contact {
        flex-direction: column;
        gap: 4px; /* Figma gap */
        align-items: center;
        justify-content: center;
        margin-bottom: 20px; /* Space before copyright separator */
        opacity: 0.5;
        order: 1; /* Place above copyright */
    }
    
    .footer-contact a, 
    .footer-contact span {
        font-size: 12px;
        line-height: 1.9;
    }

    .footer-line {
        display: none; /* No vertical lines in column layout */
    }

    /* Copyright: Order 2 (Bottom with separator) */
    .footer-copyright {
        font-size: 10px; /* Smaller font for copyright */
        opacity: 0.5;
        padding-top: 20px;
        border-top: 1px solid rgba(90, 90, 90, 0.75); /* Separator line */
        width: 100%;
        margin-top: 0;
        order: 2; /* Place at bottom */
    }
}

/* --- Work Detail Page Styles --- */
.work-detail-page {
    background-color: #000;
}

.work-detail-page .header {
    background: transparent;
    transition: background 0.3s ease;
    padding: 40px 60px;
}

.detail-header-title {
    font-size: 20px;
    color: #fff;
    text-decoration: none;
    font-weight: 400;
    letter-spacing: 0.05em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 60vw;
}

.detail-header-back {
    display: none;
}

.detail-header-back .back-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.detail-header-back .back-btn:hover {
    opacity: 0.7;
}

.work-detail-page .header.scrolled {
    background: transparent;
    backdrop-filter: none;
}

.detail-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
}

.detail-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.bg-blur-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(30px) brightness(0.5);
    transform: scale(1.1);
}

.detail-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    z-index: 2;
}

.detail-hero-container {
    position: relative;
    z-index: 3;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 60px;
    max-width: 100% !important;
}

.detail-hero-main-content {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.detail-media-frame {
    height: 63vh;
    aspect-ratio: auto;
    max-width: 90%;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.8);
    border-radius: 4px;
    overflow: hidden;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-hero-img {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.detail-hero-bottom {
    position: absolute;
    bottom: 60px;
    left: 60px;
    right: 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.detail-scroll-hint {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #fff;
    font-size: 13px;
    font-weight: 300;
    letter-spacing: 0.1em;
}

.scroll-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-icon img {
    width: 40px;
    height: 40px;
}

.detail-hero-info {
    text-align: right;
}

.detail-info-meta {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
}

.meta-text {
    font-size: 16px;
    font-weight: 300;
    color: #fff;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.meta-dot {
    width: 3px;
    height:3px;
    background: #fff;
    display: block;
    position: absolute;
    top: -8px;
    right: 0px;
    transform: translateY(-50%);
}

/* Detail Info Section (Updated to match Figma) */
.detail-info-section {
    padding: 120px 0;
    color: #fff;
}

.detail-info-content {
    max-width: 1400px;
    padding-left: 8.32vw; /* Deep indentation matching design */
}

.detail-info-header {
    margin-bottom: 0px;
}

.detail-info-title {
    font-size: 42px;
    font-weight: 500;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.detail-info-meta-date {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.05em;
    display: inline-block;
    position: relative;
    margin-bottom: 25px;
}

.detail-info-meta-grid {
    display: grid;
    grid-template-columns: 300px 300px;
    gap: 60px;
    margin-bottom: 40px;
}

.detail-info-full-row {
    margin-bottom: 40px;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.meta-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: none;
    letter-spacing: 0.05em;
  
}
.desc-block .meta-label{
    display: none;
}
.meta-value {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

.meta-value-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-weight: 300;
    max-width: 800px;
    text-align: justify;
    white-space: normal;
    overflow-wrap: break-word;
}

.detail-info-link {
    margin-top: 60px;
}

.meta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.meta-link:hover {
    color: #fff;
}

.link-icon {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.meta-link:hover .link-icon {
    opacity: 1;
}

/* Video Section (Updated to match Figma) */
.detail-video-section {
    height: 100vh;
    position: relative;
    overflow: hidden;
    margin-bottom: 120px;
    background: linear-gradient(180deg, rgba(10, 10, 10, 1) 0%, rgba(0, 0, 0, 1) 44%, rgba(26, 26, 26, 1) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-content-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
align-items: center;
    height: 100%;

}

.video-player-frame {
    width: 63%;
    height: 75%;
    max-width: 1482px; /* Figma 宽度 */
    aspect-ratio: 1482 / 833; /* Figma 比例 */
    position: relative;
    margin-top: 30px;
    
}

.detail-player {
    width: 100%;
    height: 90%;
    display: block;
}

/* 针对视频控制条的简单美化（如果浏览器支持） */
.detail-player::-webkit-media-controls-panel {
    background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
}

/* Gallery Section (Masonry Layout Fix) */
.detail-gallery-section {
    padding-bottom: 160px;
}

.gallery-grid-custom {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    max-width: 1560px;
    margin: 0 auto;
}

.gallery-row {
    display: flex;
    gap: 6px;
    width: 100%;
}

.gallery-item-large {
    flex: 1075;
    aspect-ratio: 1075 / 602;
    overflow: hidden;
}

.gallery-item-small {
    flex: 479;
    aspect-ratio: 479 / 602;
    overflow: hidden;
}

.gallery-row-3 {
    display: flex;
    gap: 6px;
    width: 100%;
}

.gallery-row-3 .gallery-item {
    flex: 1;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.gallery-grid-custom img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-grid-custom .reveal:hover img {
    transform: scale(1.03);
}

/* 兼容之前的 grid 样式（如果有其他地方使用） */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

/* Responsive Detail */
@media (max-width: 1024px) {
    .detail-main-title {
        font-size: 48px;
    }
    
    .detail-info-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .detail-info-right {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .work-detail-page .header {
        padding: 20px 24px;
    }

    .work-detail-page .header {
        display: flex;
        justify-content: flex-start;
        align-items: center;
        gap: 12px;
    }

    .work-detail-page .detail-header-back {
        display: block;
    }

    .work-detail-page .detail-header-back .back-btn {
        width: 32px;
        height: 32px;
    }

    .work-detail-page .detail-header-back .back-btn svg {
        width: 20px;
        height: 20px;
    }

    .detail-header-title {
        font-size: 16px;
    }

    .detail-media-frame {
        height: 50vh;
        max-width: 95%;
    }

    .detail-hero-bottom {
        bottom: 40px;
        left: 24px;
        right: 24px;
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
        gap: 0;
    }

    .detail-hero-info {
        text-align: right;
    }

    .detail-info-meta {
        align-items: flex-end;
    }

    .meta-dot {
          position: absolute;
    top: -5px;
    right: 0px;
    transform: translateY(-50%);
    }

    .detail-scroll-hint {
        gap: 10px;
        font-size: 12px;
    }

    .scroll-icon, .scroll-icon img {
        width: 32px;
        height: 32px;
    }

    .detail-main-title {
        font-size: 32px;
    }

    .detail-info-content {
        padding-left: 24px;
        padding-right: 24px;
    }

    .detail-info-header {
        margin-bottom: 40px;
    }

    .detail-info-title {
        font-size: 28px;
    }

    .detail-info-meta-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-bottom: 30px;
    }

    .meta-value-desc {
        font-size: 15px;
        line-height: 1.6;
    }
    
    .detail-info-right {
        grid-template-columns: 1fr;
    }
    
    .info-item:last-child {
        grid-column: span 1;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-item.full-width {
        grid-column: span 2;
    }
    .detail-video-section {
        height: auto;
    }

    .gallery-row, .gallery-row-3 {
        flex-direction: column;
    }

    .gallery-item-large, .gallery-item-small, .gallery-row-3 .gallery-item {
        width: 100%;
        aspect-ratio: auto;
    }
}

/* --- End Work Detail Page Styles --- */

/* Contact Page Styles */
.contact-page {
    background-color: #000;
}

.contact-hero {
    height: 800px;
    width: 100%;
    position: relative;
    overflow: hidden;
}
.contact-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25vh; /* 设定羽化高度为视口高度的 25%，确保过渡足够丝滑 */
    background: linear-gradient(to bottom, transparent, #000);
    pointer-events: none; /* 确保不干扰鼠标点击事件 */
    z-index: 2; /* 确保在视频上方，但在进度条和文字下方 */
}

.contact-hero-bg {
    width: 100%;
    height: 100%;
}

.contact-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-vector, .co-creation-vector {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-vector img, .co-creation-vector img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.8) 100%);
    z-index: 2;
}

.contact-intro-section {
    padding-top: 120px;
    padding-bottom: 120px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 120px;
    align-items: flex-start;
}

.contact-title {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 84px;
    letter-spacing: 0.05em;
    color: #fff;
    font-family: "PingFang SC", sans-serif;
    line-height: 1.2;
}

.contact-desc {
    font-size: 18px;
    line-height: 1.96;
    font-weight: 300;
    color: #fff;
    max-width: 702px;
    overflow-wrap: break-word;
    white-space: pre-line;
}

.contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 42px;
    padding-top: 93px; 
}

.info-social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    width: 100%;
}

.info-email-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    width: fit-content;
}

.info-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.info-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: brightness(0) invert(1);
}

.info-label {
    font-size: 14px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    line-height: 1.96;
}

.info-value {
    font-size: 14px;
    font-weight: 400;
    color: #fff;
    line-height: 1.96;
}

.contact-locations {
    padding-bottom: 120px;
}

.locations-footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 120px;
    align-items: flex-end;
    width: 100%;
}

.qr-section {
    display: flex;
    align-items: flex-end;
    gap: 60px;
    width: 100%;
    padding-bottom: 24px;
}

.footer-right-group {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    align-items: end;
    width: 100%;
    gap: 40px;
}

.address-section {
    display: flex;
    justify-content: flex-start;
    grid-column: span 2;
}

.other-times-section {
    display: contents;
}

.qr-code-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.qr-code {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.qr-label {
    font-size: 12px;
    color: #fff;
    white-space: nowrap;
    line-height: 1.96;
}

.location-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.location-name {
    font-size: 16px;
    color: #fff;
    line-height: 1.96;
}

.location-code {
    font-size: 16px;
    color: #fff;
    margin-left: 6px;
    line-height: 1.96;
}

.location-label {
    font-size: 16px;
    color: #fff;
    line-height: 1.96;
}

.china-time {
    padding-bottom: 24px;
    display: none; /* Hide by default (desktop) */
}

@media (max-width: 1024px) {
    .china-time {
        display: flex; /* Show on mobile/tablet */
    }
}

.address-item {
    padding-bottom: 24px;
}

.other-times-section .location-item {
    padding-bottom: 24px;
}

.partner-logos-section {
    width: 100%;
    overflow: hidden;
    padding-bottom: 160px;
}

.logos-scroll-container {
    width: 100%;
}

.logos-track {
    display: flex;
    gap: 80px;
    width: fit-content;
    padding: 0 40px;
    animation: scrollLogos 60s linear infinite;
    align-items: center;
}

.logos-track img {
    height: 32px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.logos-track img:hover {
    opacity: 1;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.co-creation-section {
    height: 586px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    margin-bottom: 150px;
}

.co-creation-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.co-creation-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.co-creation-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4); /* 降低遮罩透明度以突出背景 */
    z-index: 2;
}

.co-creation-content {
    position: relative;
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: center; /* 居中对齐 */
    width: 100%;
}

.co-creation-text {
    display: flex;
    flex-direction: column;
}

.co-creation-title {
    font-size: 34px;
    margin-bottom: 32px;
    font-weight: 400;
}

.co-creation-desc {
    font-size: 18px;
    line-height: 2.0;
    color: rgba(255, 255, 255);
    max-width: 800px;
    font-weight: 300;
}

.project-request-btn {
    display: flex;
    align-items: center;
    gap: 18px;
    cursor: pointer;
    margin-top: 120px;
    transition: all 0.3s;
}

.project-request-btn span {
    font-size: 16px;
    color: #fff;
}

.btn-arrow {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.btn-arrow img {
    width: 100%;
    height: 100%;
}

.project-request-btn:hover .btn-arrow {
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .co-creation-section {
        height: 100vh;
        padding: 0;
        margin-bottom: 0;
    }

    .co-creation-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 120px; /* Increased gap for better separation */
        height: 100%;
        justify-content: center;
        padding: 0 20px;
    }

    .co-creation-title {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .co-creation-desc {
        font-size: 15px;
        line-height: 1.8;
        max-width: 100%;
    }

    .project-request-btn {
        margin-top: 0;
        align-self: flex-end; /* Align button to the right */
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .contact-info-wrapper {
        padding-top: 0;
        gap: 30px;
    }

    .contact-desc {
        max-width: 100%; /* 手机端宽度占满 */
        font-size: 16px; /* 稍微缩小字号 */
        line-height: 1.6;
    }

    .contact-title {
        margin-bottom: 30px;
    }

    .info-social-grid {
        grid-template-columns: repeat(2, 1fr); /* 社交媒体改为 2 列 */
        width: 100%;
        gap: 30px;
    }

    .info-email-grid {
        grid-template-columns: repeat(2, 1fr); /* 邮箱改为 2 列 */
        width: 100%;
        gap: 30px;
    }

    /* Prevent email overflow in 2-column layout */
    .info-value {
        word-break: break-all;
    }

    .locations-footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        justify-items: start;
        padding-top: 40px;
        align-items: start;
    }
    .footer-right-group {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        width: 100%;
    }
    .qr-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        justify-content: flex-start;
        width: 100%;
        justify-self: start;
        padding-bottom: 0;
    }
    .qr-code-wrapper {
        align-items: flex-start;
    }
    .china-time, .address-item, .other-times-section .location-item {
        padding-bottom: 0;
    }
    .other-times-section {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
        justify-content: flex-start;
        width: 100%;
        justify-self: start;
        margin-left: 0;
    }
    .address-section {
        justify-content: flex-start;
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }
}

/* --- Project Request Page Styles --- */
.request-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-sizing: border-box;
    /* pointer-events: none; - Removed to match .header behavior */
    transition: background-color 0.3s, backdrop-filter 0.3s, padding 0.3s, transform 0.3s ease;
}

.request-header.hidden {
    transform: translateY(-100%);
}

.request-header.scrolled {
    /* Optional: add background style if needed, currently keeping transparency/default */
}

.request-header:hover,
.request-header.show-on-hover {
    transform: translateY(0) !important;
}

.request-logo {
    display: block;
    height: 24px;
    pointer-events: auto;
}

.request-logo img {
    height: 100%;
    width: auto;
}

.close-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #FFFFFF;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
    position: relative;
    background: transparent;
}

.close-btn:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.close-icon {
    width: 14px;
    height: 14px;
    position: relative;
}

.close-icon span {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 1px;
    background-color: #fff;
    transform-origin: center;
}

.close-icon span:first-child {
    transform: translate(-50%, -50%) rotate(45deg);
}

.close-icon span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.request-main {
    padding-top: 120px;
    padding-bottom: 120px;
    background-color: #000;
    min-height: 100vh;
}

.request-title-container {
    margin-bottom: 84px;
    padding: 0 60px;
    text-align: center;
}

.request-title {
    font-size: 32px;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: #fff;
    font-family: "PingFang SC", sans-serif;
}

.request-content-wrapper {
    max-width: 1275px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 495px 660px;
    gap: 120px;
    align-items: flex-start;
    padding: 0 40px;
    box-sizing: border-box;
}

.request-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.form-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-section-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.input-wrapper {
    position: relative;
    background: #111111;
    border-radius: 6px;
    padding: 16px 20px;
    transition: background 0.3s ease;
}

.input-wrapper:focus-within {
    background: #1a1a1a;
}

.input-wrapper input,
.input-wrapper textarea,
.input-wrapper select {
    width: 100%;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 14px;
    font-weight: 400;
    padding: 0;
    outline: none;
    font-family: "PingFang SC", sans-serif;
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-wrapper select {
    color: rgba(255, 255, 255, 0.4); /* Default to placeholder color */
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='white' stroke-opacity='0.5' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0px center;
}

.input-wrapper select.has-value {
    color: #fff;
}

/* 日期选择器美化 */
.input-wrapper input[type="date"] {
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
}

.input-wrapper input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1);
    opacity: 0.5;
    cursor: pointer;
    background: none;
    padding: 0;
}

.input-wrapper input[type="date"]:hover::-webkit-calendar-picker-indicator {
    opacity: 0.8;
}

.input-wrapper input[type="date"]::-webkit-input-placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.input-wrapper input[type="date"]:focus {
    color: #fff;
}

/* 自定义日期选择器样式 */
.date-input-wrapper {
    position: relative;
    cursor: pointer;
}

.date-display {
    cursor: pointer;
}

.date-display.has-value {
    color: #fff;
}

.date-picker-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1000;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 16px;
    min-width: 280px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    margin-top: 8px;
}

.date-input-wrapper.active .date-picker-dropdown {
    display: block;
}

.date-picker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    gap: 4px;
}

.date-picker-header button {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s;
}

.date-picker-header button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
}

.date-picker-header span {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    min-width: 50px;
    text-align: center;
}

.date-picker-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-bottom: 8px;
}

.date-picker-weekdays span {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    padding: 4px 0;
}

.date-picker-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}

.date-picker-days .day {
    text-align: center;
    color: #fff;
    font-size: 14px;
    padding: 8px 0;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.date-picker-days .day:hover:not(.disabled) {
    background: rgba(255, 255, 255, 0.1);
}

.date-picker-days .day.today {
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.date-picker-days .day.selected {
    background: #fff;
    color: #000;
}

.date-picker-days .day.disabled {
    color: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
}

.date-picker-days .day.other-month {
    color: rgba(255, 255, 255, 0.3);
}

.input-wrapper select:required:invalid {
    color: rgba(255, 255, 255, 0.4);
}

.input-wrapper select option {
    background-color: #111;
    color: #fff;
}

.full-width {
    grid-column: auto;
}

.input-wrapper textarea {
    min-height: 160px;
    resize: none;
}

.request-submit-container {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: #111111;
    position: relative;
}

.checkbox-text {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    font-family: "PingFang SC", sans-serif;
    letter-spacing: 0.02em;
}

.checkbox-container input:checked + .checkbox-custom::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #333333;
    border: none;
    border-radius: 6px;
    padding: 14px 48px;
    cursor: pointer;
    transition: background 0.3s;
    width: fit-content;
}

.submit-btn span {
    font-size: 14px;
    color: #fff;
    font-family: "PingFang SC", sans-serif;
}

.submit-btn:hover {
    background: #555555;
}

.submit-btn .btn-arrow {
    display: none;
}

/* Right Side Info */
.request-info-container {
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.info-block {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.info-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.05em;
}

.info-content {
    font-size: 15px;
    color: #fff;
    font-weight: 400;
    line-height: 1.4;
    font-family: "PingFang SC", sans-serif;
}

.request-social-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px 24px;
    margin-top: 8px;
}

.social-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.social-icon {
    position: absolute;
    width: 20px;
    height: 20px;
    margin-bottom: 4px;
    
   
}

.social-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.social-value {
    font-size: 15px;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
    font-weight: 400;
    display: block;
}

.email-item {
    grid-column: span 1;
    margin-top: 12px;
}

.social-value:hover {
    opacity: 0.7;
}

/* Responsive Request Page */
@media (max-width: 1360px) {
    .request-content-wrapper {
        grid-template-columns: 495px 1fr;
        gap: 80px;
        padding: 0 4.16vw;
    }
}

@media (max-width: 1024px) {
    .request-header {
        padding: 20px 24px;
    }

    .close-btn {
        width: 40px;
        height: 40px;
    }
    
    .request-main {
        padding-top: 100px;
    }
    
    .request-content-wrapper {
        grid-template-columns: 1fr;
        gap: 80px;
        padding: 0 24px;
        max-width: 600px; /* 移动端表单不宜过宽 */
    }
    
    .request-title-container {
        padding: 0 24px;
    }
}

@media (max-width: 768px) {
    .request-main {
        padding-top: 160px;
    }

    .request-social-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px 20px;
    }
    .request-social-grid div{
    
    }
    .request-social-grid div a{
        margin:0 0;
    }
    .info-label {
        font-size: 12px;
    }

    .info-content {
        font-size: 12px;
    }
    
    .input-group {
        grid-template-columns: 1fr;
    }
    
    .full-width {
        grid-column: auto;
    }
    
    .request-title {
        font-size: 20px;
        white-space: nowrap;
    }
    
    .request-form {
        gap: 40px;
    }
}

/* Mobile Service Types Text Alignment */
@media (max-width: 768px) {
    .service-types-header {
        padding: 0 10px; /* 减少内边距，增加文字可用宽度 */
        margin-bottom: 40px;
    }

    .service-types-header .section-title {
        font-size: 28px; /* 稍微缩小标题 */
        margin-bottom: 16px;
    }

    .service-types-header .section-description {
        white-space:wrap;
        line-height: 1.8;
        letter-spacing: -0.02em; /* 稍微紧凑一点 */
    }
}
/* Contact Page Mobile Spacing Adjustments */
@media (max-width: 768px) {
    .contact-grid {
        gap: 40px;
    }
    
    .contact-info-wrapper {
        gap: 20px;
    }
    
    .info-social-grid, 
    .info-email-grid {
        gap: 20px;
    }
    
    .locations-footer-grid {
        gap: 15px;
        padding-top: 30px;
    }
    
    .footer-right-group {
        gap: 16px;
        display: flex;
        flex-direction: column;
    }
    
    .address-section { 
        order: -1;
    }
    
    .address-section, 
    .other-times-section {
        gap: 16px;
    }
    
    .location-item {
        gap: 2px;
    }
    
    .location-label,
    .location-name,
    .location-code {
        font-size: 14px;
        line-height: 1.5;
    }

    .qr-section {
        gap: 8px;
    }
    
    .qr-label {
        font-size: 12px;
    }
}

.view-works-link span:first-child{
  text-decoration: underline;
}
.aigc-link span:first-child{
     text-decoration: underline;
}
/* New Work Detail Layout - Figma Aligned */

.detail-meta-container {
    display: flex;
    flex-direction: column;
    gap: 32px; /* Increased gap for better separation */
    margin-bottom: 20px;
    width: 100%;
}

.detail-meta-row {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 150px;
}

.meta-label {
    font-family: 'PingFang SC', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    letter-spacing: 0;
}

.meta-value {
    font-family: 'PingFang SC', sans-serif;
    font-size: 12px;
    color: #FFFFFF;
    line-height: 1.4;
    font-weight: 400;
}

.detail-credits {
    margin-top: 8px; /* Slight adjustment */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px; /* Distinct separation between credit roles */
}

.credits-text {
    font-family: 'PingFang SC', sans-serif;
    font-size: 12px;
    color: #FFFFFF;
    line-height: 2.0; /* Increased for readability, Figma was ~2.9 */
    opacity: 0.9;
}

.detail-description-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 60px;
    max-width: 800px;
}

.desc-block {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meta-value-desc {
    font-family: 'PingFang SC', sans-serif;
    font-size: 12px;
    color: #FFFFFF;
    line-height: 2.0;
    text-align: justify;
}

.detail-jump-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-top: 16px;
    cursor: pointer;
    width: fit-content;
}

.detail-jump-link .link-icon {
    width: 14px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
}

.detail-jump-link .link-icon img {
    filter: brightness(0) invert(1);
}

.detail-jump-link .link-text {
    font-family: 'PingFang SC', sans-serif;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.4;
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.3s ease;
}

.detail-jump-link:hover .link-text {
    color: #FFFFFF;
}

/* Mobile Responsiveness for New Layout */
@media (max-width: 768px) {
    .detail-meta-container {
        gap: 24px;
    }

    .detail-meta-row {
        gap: 24px;
        flex-direction: row; /* Keep row if space permits, or wrap */
        justify-content: space-between;
    }
    
    .meta-item {
        min-width: 45%; /* Two per row on mobile */
    }

    .detail-info-content {
        padding-left: 0; /* Reset indentation on mobile */
        padding: 0 24px;
    }

    .detail-info-title {
        font-size: 24px; /* Smaller title on mobile */
        margin-bottom: 16px;
    }

    .detail-info-section {
        padding: 60px 0;
    }

    .detail-credits {
        gap: 12px;
    }

    .credits-text {
        line-height: 1.8;
    }
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, background 0.3s ease;
    z-index: 9999;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.back-to-top svg {
    color: #fff;
    width: 24px;
    height: 24px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 24px;
        right: 24px;
        width: 44px;
        height: 44px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}
