/* ========================================
   明客动画 - 迪士尼风格样式表
   ======================================== */

/* CSS 变量 */
:root {
    /* 主色调 - 深蓝专业感 */
    --primary: #1e3a5f;
    --primary-light: #2d5a87;
    --primary-dark: #0f1f33;
    
    /* 强调色 */
    --accent: #e31837;
    --accent-hover: #c41230;
    
    /* 背景色 */
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    
    /* 文字色 */
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --text-muted: rgba(255, 255, 255, 0.5);
    
    /* 边框 */
    --border: rgba(255, 255, 255, 0.1);
    --border-light: rgba(255, 255, 255, 0.05);
    
    /* 间距 */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    
    /* 过渡 */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    
    /* 字体 */
    --font-heading: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* 重置样式 */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

/* 容器 */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* ========================================
   侧边栏菜单
   ======================================== */
.sidebar-menu {
    position: fixed;
    top: 0;
    left: -480px;
    width: 480px;
    height: 100vh;
    background: var(--bg-secondary);
    z-index: 2000;
    transition: left var(--transition-normal);
    display: flex;
    flex-direction: column;
}

.sidebar-menu.active {
    left: 0;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sidebar-header {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0;
    border-bottom: none;
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(8px);
}

.menu-close {
    width: 48px;
    height: 48px;
    background: #ff6b35;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    margin: 0;
    border-radius: 0;
    flex-shrink: 0;
    order: 0;
}

.menu-close:hover {
    background: #ff8555;
}

.sidebar-header .logo {
    order: 1;
}

.menu-close svg {
    width: 40px;
    height: 40px;
}

.sidebar-nav {
    flex: 1;
    padding: var(--space-lg) 0;
    display: flex;
    flex-direction: column;
}

.sidebar-link {
    padding: var(--space-md) var(--space-lg);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    transition: background var(--transition-fast);
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.sidebar-link:hover {
    background: var(--bg-card);
}

.link-cn {
    font-weight: 600;
}

.link-en {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

/* 子菜单样式 */
.sidebar-menu-item.has-submenu .sidebar-link {
    justify-content: space-between;
}

.submenu-arrow {
    width: 16px;
    height: 16px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23888' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: transform 0.3s;
}

.sidebar-menu-item.has-submenu.active .submenu-arrow {
    transform: rotate(180deg);
}

.sidebar-submenu {
    display: none;
    padding-left: var(--space-lg);
    background: rgba(255, 255, 255, 0.03);
}

.sidebar-menu-item.has-submenu.active .sidebar-submenu {
    display: block;
}

.sidebar-submenu-link {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: 1rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    transition: all var(--transition-fast);
}

.sidebar-submenu-link:last-child {
    border-bottom: none;
}

.sidebar-submenu-link:hover {
    color: var(--text-primary);
    background: var(--bg-card);
    padding-left: var(--space-lg);
}

/* 社交图标文字标签 */
.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: auto;
    padding: 8px 12px;
    border-radius: 8px;
}

.social-label {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-secondary);
    white-space: nowrap;
}

.sidebar-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--border);
}

.sidebar-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.social-links {
    display: flex;
    gap: var(--space-md);
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-card);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.social-link:hover {
    background: var(--primary-light);
    color: var(--text-primary);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   导航栏
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 48px;
    transition: all var(--transition-normal);
    background: rgba(20, 20, 20, 0.5);
    backdrop-filter: blur(8px);
    border-bottom: none;
    display: flex;
    align-items: center;
    padding-top: env(safe-area-inset-top, 0);
}

.navbar.scrolled {
    background: rgba(30, 30, 35, 0.9);
    backdrop-filter: blur(8px);
}

.nav-container {
    width: 100%;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0;
    height: 100%;
}

.nav-left .menu-toggle {
    margin-right: -16px;
}

.nav-left .logo,
.sidebar-header .logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    padding: 0;
    text-decoration: none;
}

.menu-toggle {
    width: 48px;
    height: 48px;
    background: #ff6b35;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin: 0;
    border-radius: 0;
    transition: background var(--transition-fast);
    flex-shrink: 0;
    order: 0;
}

.menu-toggle:hover {
    background: #e55a2b;
}

.menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background: white;
    transition: all var(--transition-fast);
    border-radius: 1px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-img {
    height: 72px;
    width: auto;
    display: block;
}

/* 导航栏 logo 图片 */
.navbar .logo-text-img {
    max-height: 36px;
    width: auto;
    display: block;
}

/* 侧边栏 logo 图片 - 与导航栏保持一致 */
.sidebar-header .logo-text-img {
    max-height: 36px;
    width: auto;
    display: block;
}

.logo-subtext {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.1em;
}

.logo-subtext {
    font-size: 1.0rem;
    font-weight: 500;
    color: #ff6b35;
    letter-spacing: 0.1em;
    margin-left: 0;
    margin-top: 4px;
}

.logo-text {
    letter-spacing: -0.02em;
}

.nav-links {
    display: flex;
    gap: var(--space-xl);
}

.nav-links a {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    padding: var(--space-xs) 0;
    position: relative;
    transition: color var(--transition-fast);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition-normal);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* 移动端菜单按钮 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-normal);
}

/* ========================================
   Hero 轮播
   ======================================== */
.hero-carousel {
    position: relative;
    overflow: hidden;
    background: var(--bg-secondary);
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    background: transparent;
    overflow: hidden;
}

.carousel-slide {
    position: relative;
    width: 100%;
    display: none;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.carousel-slide.active {
    display: block;
    opacity: 1;
    visibility: visible;
}

.carousel-slide .slide-bg {
    position: relative;
    width: 100%;
    height: 85vh;
    line-height: 0;
    overflow: hidden;
}

.carousel-slide .slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: 
        linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, rgba(10, 10, 15, 0.4) 40%, transparent 70%);
    z-index: 1;
}

.slide-content {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    z-index: 2;
    text-align: center;
}

.film-title {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-xs);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.film-year {
    display: block;
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
}

/* 电影作品区缩略图样式 */
.film-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}

/* 轮播控制 */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100px;
    height: 180px;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    z-index: 10;
}

.carousel-btn:hover {
    color: white;
}

.carousel-btn.prev {
    left: 40px;
}

.carousel-btn.next {
    right: 40px;
}

.carousel-btn svg {
    width: 64px;
    height: 64px;
}

.carousel-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.carousel-dot.active {
    background: white;
    width: 36px;
    border-radius: 4px;
}

/* ========================================
   首页三图分类
   ======================================== */
.home-categories {
    width: 100%;
    padding: 0;
    margin-top: 0;
    background: var(--bg-secondary);
}

.home-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
}

.home-category-card {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
}

.home-category-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.home-category-card:hover .home-category-bg {
    transform: scale(1.08);
}

.home-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    transition: all 0.4s ease;
}

.home-category-card:hover .home-category-overlay {
    background: rgba(30, 30, 35, 0.98);
}

/* 三种颜色遮罩 */
.home-category-card:nth-child(1):hover .home-category-overlay {
    background: rgba(6, 204, 169, 0.98);
}

.home-category-card:nth-child(2):hover .home-category-overlay {
    background: rgba(208, 149, 80, 0.98);
}

.home-category-card:nth-child(3):hover .home-category-overlay {
    background: rgba(180, 130, 200, 0.98);
}

.home-category-content {
    position: absolute;
    bottom: 60px;
    left: 40px;
    z-index: 2;
    transition: all 0.4s ease;
}

.home-category-card:hover .home-category-content {
    bottom: 50%;
    left: 40px;
    transform: translateY(50%);
    text-align: left;
}

.home-category-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.home-category-label {
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    opacity: 0.9;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

/* 响应式 */
@media (max-width: 768px) {
    .home-categories-grid {
        grid-template-columns: 1fr;
        gap: 2px;
    }
    
    .home-category-card {
        aspect-ratio: 16/9;
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(8px); }
}

/* ========================================
   按钮样式
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.75rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    border: none;
    letter-spacing: 0.02em;
}

.btn-primary {
    background: var(--accent);
    color: white;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-full {
    width: 100%;
}

/* 表单消息提示 */
.form-message {
    margin-top: var(--space-md);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 500;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* ========================================
   通用区块样式
   ======================================== */
section {
    padding: var(--space-4xl) 0;
}

/* 页面区块默认都显示，通过滚动浏览 */



.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

.section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ========================================
   电影展示
   ======================================== */
.films {
    background: var(--bg-secondary);
    padding: 0;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.films-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    padding: 0 var(--space-lg);
}

.films-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.films-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* ========================================
   参与作品
   ======================================== */
.works {
    background: var(--bg-primary);
    padding: var(--space-4xl) 0 0 0;
    margin-top: 25vh;
}

.works-header {
    text-align: center;
    margin-bottom: var(--space-4xl);
    padding: var(--space-xl) var(--space-lg) 0;
}

.works-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.works-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.works-wall {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    width: 100%;
}

.works-item {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    cursor: pointer;
}

.works-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.works-item:hover img {
    transform: scale(1.08);
}

/* 影片信息层 - 默认隐藏 */
.works-item-info {
    position: absolute;
    inset: 0;
    background: rgba(30, 30, 35, 0.95);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: var(--space-md);
}

.works-item:hover .works-item-info {
    opacity: 1;
    visibility: visible;
}

.works-item-title {
    position: absolute;
    top: calc(var(--space-md) + 8px);
    left: var(--space-md);
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.works-item-year {
    position: absolute;
    bottom: calc(var(--space-md) + 8px);
    left: var(--space-md);
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    letter-spacing: 0.1em;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
}

/* ========================================
   参与作品海报墙
   ======================================== */
.film-wall {
    width: 100%;
    padding: 0;
    margin: 0;
    background: var(--bg-primary);
}

.film-wall-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    width: 100%;
}

.film-wall-item {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    cursor: pointer;
}

.film-wall-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.film-wall-item:hover img {
    transform: scale(1.05);
}

.film-wall-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
}

.film-wall-item:hover::after {
    background: rgba(0, 0, 0, 0.2);
}

.films-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
}

.film-category-card {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    cursor: pointer;
    display: block;
}

.film-category-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.film-category-card:hover .film-category-bg {
    transform: scale(1.05);
}

.film-category-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    transition: background 0.4s ease;
}

.film-category-card:hover .film-category-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.2) 100%);
}

.film-category-content {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 2;
}

.film-category-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.film-category-label {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.film-card {
    cursor: pointer;
    transition: transform var(--transition-normal);
}

.film-card:hover {
    transform: translateY(-8px);
}

.film-thumbnail {
    position: relative;
    aspect-ratio: 2/3;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin-bottom: var(--space-md);
}

.thumbnail-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}

.film-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.film-card:hover .film-play {
    opacity: 1;
}

.film-play svg {
    width: 48px;
    height: 48px;
    color: white;
}

.film-meta h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.film-meta p {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.film-status {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    background: rgba(227, 24, 55, 0.1);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.film-status.released {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
}

.films-action {
    text-align: center;
}

/* ========================================
   绑定案例
   ======================================== */
.rigging-showcase {
    background: var(--bg-primary);
    padding: var(--space-4xl) 0;
}

.rigging-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    padding: 0 var(--space-lg);
}

.rigging-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.rigging-card {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
    border-radius: 0;
}

.rigging-card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
}

.rigging-card:hover .rigging-card-bg {
    transform: scale(1.05);
}

.rigging-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.1) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    transition: background 0.4s ease;
}

.rigging-card:hover .rigging-card-overlay {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.05) 100%);
}

.rigging-play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(255, 107, 53, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 30px rgba(255, 107, 53, 0.4);
}

.rigging-play-btn svg {
    width: 36px;
    height: 36px;
    color: white;
    margin-left: 4px;
}

.rigging-card:hover .rigging-play-btn {
    background: rgba(255, 107, 53, 1);
    transform: scale(1.1);
    box-shadow: 0 4px 40px rgba(255, 107, 53, 0.6);
}

.rigging-card-info {
    text-align: center;
    z-index: 2;
}

.rigging-card-info h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.rigging-card-label {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .rigging-card {
        aspect-ratio: 16/10;
        border-radius: 0;
    }

    .rigging-play-btn {
        width: 60px;
        height: 60px;
    }

    .rigging-play-btn svg {
        width: 28px;
        height: 28px;
    }

    .rigging-card-info h3 {
        font-size: 1.5rem;
    }
}

/* ========================================
   工具研发
   ======================================== */
.process {
    background: var(--bg-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0;
}

.tools-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    padding: var(--space-xl) var(--space-lg) 0;
}

.tools-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    width: 100%;
}

.tools-card {
    position: relative;
    aspect-ratio: 16/12;
    overflow: hidden;
    cursor: pointer;
}

.tools-image {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.tools-card:hover .tools-image {
    transform: scale(1.08);
}

.tools-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.1) 100%);
    transition: all 0.4s ease;
}

.tools-card:hover .tools-overlay {
    background: rgba(30, 30, 35, 0.98);
}

/* 粉绿色遮罩 - 角色绑定系统 */
.tools-card:hover .tools-overlay-green {
    background: rgba(6, 204, 169, 0.98);
}

/* 淡橘黄色遮罩 - 流程自动化 */
.tools-card:hover .tools-overlay-orange {
    background: rgba(208, 149, 80, 0.98);
}

/* 紫色遮罩 - 动画辅助工具 */
.tools-card:hover .tools-overlay-purple {
    background: rgba(180, 130, 200, 0.98);
}

.tools-content {
    position: absolute;
    bottom: 60px;
    left: 40px;
    z-index: 2;
    transition: all 0.4s ease;
}

.tools-card:hover .tools-content {
    bottom: 50%;
    left: 40px;
    transform: translateY(50%);
}

.tools-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 12px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.tools-label {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* ========================================
   加入团队
   ======================================== */
.careers {
    background: #000000;
}

.careers-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.careers-content .section-title {
    margin-bottom: var(--space-lg);
}

.careers-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: var(--space-xl);
    line-height: 1.8;
}

.job-list {
    margin-bottom: var(--space-xl);
}

.job-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
}

.job-title {
    font-weight: 600;
}

.job-location {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.team-photo {
    overflow: hidden;
}

.team-photo-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.photo-placeholder {
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.3), rgba(227, 24, 55, 0.1));
    font-size: 1.25rem;
    color: var(--text-secondary);
}

/* ========================================
   关于工作室
   ======================================== */
.about {
    background: var(--bg-secondary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-image-large {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.image-placeholder {
    aspect-ratio: 16/10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 600;
}

.about-content .section-title {
    margin-bottom: var(--space-lg);
}

.about-text {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.about-stats {
    display: flex;
    gap: var(--space-2xl);
    margin-top: var(--space-xl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.about-stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.875rem;
}

/* ========================================
   新闻动态
   ======================================== */
.news {
    background: var(--bg-primary);
}

.news-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: var(--space-xl);
}

.news-card.featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border);
}

.news-image {
    aspect-ratio: 16/10;
}

.news-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
}

.news-content {
    padding: var(--space-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-category {
    display: inline-block;
    color: var(--accent);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
}

.news-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    line-height: 1.3;
}

.news-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

.news-link {
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.9rem;
}

.news-link:hover {
    color: var(--accent);
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.news-item {
    padding: var(--space-md);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.news-item:hover {
    border-color: var(--primary-light);
    background: var(--bg-card);
}

.news-date {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: var(--space-xs);
}

.news-item h4 {
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.4;
}

/* ========================================
   联系我们
   ======================================== */
.contact {
    background: var(--bg-secondary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
}

.contact-info .section-title {
    margin-bottom: var(--space-md);
}

.contact-desc {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.contact-row {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.contact-label {
    color: var(--text-muted);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.contact-value {
    color: var(--text-primary);
    font-size: 1rem;
}

/* 微信二维码 */
.wechat-qrcode {
    width: 140px;
    height: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* 联系表单 */
.contact-form-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: var(--space-2xl);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-lg);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.form-group label {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input,
.form-group textarea {
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    font-family: inherit;
    transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* ========================================
   页脚
   ======================================== */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.logo-footer-img {
    height: 150px;
    width: auto;
    display: block;
}

/* ========================================
   影片详情弹窗
   ======================================== */
.film-detail-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    background: #0a0a0f;
}

.film-detail-modal.active {
    opacity: 1;
    visibility: visible;
}

.film-detail-close {
    position: absolute;
    top: 0;
    left: 0;
    width: 48px;
    height: 48px;
    background: #ff6b35;
    border: none;
    border-radius: 0;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3001;
    transition: all 0.3s ease;
}

.film-detail-close:hover {
    background: #ff8555;
}

.film-detail-close svg {
    width: 40px;
    height: 40px;
}

.film-detail-container {
    display: flex;
    width: 100%;
    height: 100%;
    position: relative;
}

.film-detail-sidebar {
    width: 100%;
    background: transparent;
    padding: 0;
    overflow-y: auto;
}

.film-detail-thumbs {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    width: 100%;
}

.film-detail-thumb {
    aspect-ratio: 2/3;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.film-detail-thumb:hover,
.film-detail-thumb.active {
    opacity: 1;
}

.film-detail-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.film-detail-content {
    position: absolute;
    top: 0;
    right: 0;
    width: 55%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    z-index: 10;
    background: #0a0a0f;
}

.film-detail-image-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.film-detail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.film-detail-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(10, 10, 15, 0.3) 60%, rgba(10, 10, 15, 0.9) 100%);
}

.film-detail-info {
    padding: 60px 60px 60px;
    background: #0a0a0f;
    margin-top: auto;
}

.film-detail-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 16px;
}

.film-detail-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
}

.film-detail-year-small {
    font-size: 0.5em;
    font-weight: 400;
    opacity: 0.7;
    margin-left: 0.3em;
}

.film-detail-desc {
    font-size: 1.1rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin-bottom: 40px;
}

.film-detail-meta {
    display: flex;
    gap: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 8px;
}

.meta-value {
    font-size: 1.1rem;
    font-weight: 500;
    color: white;
}

@media (max-width: 1024px) {
    .film-detail-content {
        width: 70%;
    }
    
    .film-detail-info {
        padding: 30px 40px 40px;
    }
}

@media (max-width: 768px) {
    .film-detail-content {
        position: relative;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .film-detail-sidebar {
        display: none;
    }
    
    .film-detail-image-wrapper {
        aspect-ratio: 16/9;
        width: 100%;
        flex-shrink: 0;
    }
    
    .film-detail-info {
        padding: 20px 24px 24px;
        margin-top: 0;
        flex: 1;
    }
}

/* ========================================
   视频弹窗
   ======================================== */
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.video-modal.active {
    opacity: 1;
    visibility: visible;
}

.video-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.9);
    cursor: pointer;
}

.video-modal-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    z-index: 1;
}

.video-modal-content video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.video-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.video-modal-close:hover {
    color: var(--accent);
}

.video-modal-close svg {
    width: 32px;
    height: 32px;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-align: center;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.footer-column h4 {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
    color: var(--text-muted);
}

.footer-column ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-column a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: color var(--transition-fast);
}

.footer-column a:hover {
    color: var(--text-primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-legal {
    display: flex;
    gap: var(--space-lg);
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.footer-legal a:hover {
    color: var(--text-primary);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 1024px) {
    .slide-content {
        padding: var(--space-3xl) var(--space-lg);
    }
    
    .film-title {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
    
    .films-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .tools-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .works-wall {
        grid-template-columns: repeat(4, 1fr);
    }

    .film-detail-thumbs {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .careers-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured {
        grid-template-columns: 1fr;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    /* 侧边栏 - 手机全宽 */
    .sidebar-menu {
        left: -100%;
        width: 100%;
        max-width: 100%;
    }

    .sidebar-menu.active {
        left: 0;
    }

    .sidebar-link {
        font-size: 1.1rem;
        padding: var(--space-md) var(--space-xl);
    }

    /* 导航栏 */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        padding: var(--space-3xl) var(--space-xl);
        gap: var(--space-lg);
        transition: right var(--transition-normal);
        border-left: 1px solid var(--border);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .mobile-menu-btn {
        display: none !important;
        z-index: 1001;
    }
    
    .mobile-menu-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .mobile-menu-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    /* Hero 轮播 */
    .carousel-slide .slide-bg {
        height: 70vh;
    }

    .carousel-btn {
        width: 44px;
        height: 80px;
    }

    .carousel-btn svg {
        width: 32px;
        height: 32px;
    }

    .carousel-btn.prev {
        left: 8px;
    }

    .carousel-btn.next {
        right: 8px;
    }

    .slide-content {
        bottom: 40px;
    }

    /* 参与影片海报墙 */
    .works-wall {
        grid-template-columns: repeat(3, 1fr);
    }

    /* 原创项目 */
    .films-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .film-category-content {
        bottom: 20px;
        left: 20px;
    }

    .film-category-content h3 {
        font-size: 1.5rem;
    }

    /* 工具研发 */
    .tools-showcase {
        grid-template-columns: 1fr;
    }

    .tools-content {
        bottom: 30px;
        left: 24px;
    }

    .tools-card:hover .tools-content {
        bottom: 50%;
        left: 24px;
    }

    .tools-content h3 {
        font-size: 1.4rem;
    }

    /* 工具研发 - 手机触摸显示效果 */
    .tools-card .tools-overlay {
        background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.1) 100%);
    }

    /* 影片详情弹窗 */
    .film-detail-thumbs {
        grid-template-columns: repeat(3, 1fr);
    }

    .film-detail-content {
        position: relative;
        width: 100%;
        height: auto;
        display: flex;
        flex-direction: column;
    }
    
    .film-detail-sidebar {
        display: none;
    }
    
    .film-detail-image-wrapper {
        aspect-ratio: 16/9;
        width: 100%;
        flex-shrink: 0;
    }
    
    .film-detail-info {
        padding: 20px 24px 24px;
        margin-top: 0;
        flex: 1;
    }

    .film-detail-meta {
        flex-wrap: wrap;
        gap: 20px;
    }

    /* 视频弹窗 */
    .video-modal-content {
        width: 96%;
    }

    .video-modal-close {
        top: -44px;
        right: 0;
        width: 36px;
        height: 36px;
    }

    .video-modal-close svg {
        width: 26px;
        height: 26px;
    }

    /* 加入我们 */
    .careers-grid,
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        justify-content: center;
        gap: var(--space-xl);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-row .form-group {
        width: 100%;
    }
    
    .form-group input,
    .form-group textarea {
        width: 100%;
        box-sizing: border-box;
    }
    
    /* 联系表单 - 手机端 */
    .contact {
        padding: var(--space-xl) var(--space-sm);
    }
    
    .contact-grid {
        display: flex;
        flex-direction: column;
        gap: var(--space-xl);
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-form-wrapper {
        padding: var(--space-md);
    }
    
    .btn-full {
        width: 100%;
    }
    
    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
        justify-items: center;
    }
    
    .footer-nav .footer-column {
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-md);
        text-align: center;
    }

    /* 页脚 logo */
    .logo-footer-img {
        height: 100px;
    }

    /* section 间距缩小 */
    section {
        padding: var(--space-3xl) 0;
    }

    .works {
        margin-top: 10vh;
    }
}

@media (max-width: 480px) {
    /* 参与影片海报墙 - 超小屏2列 */
    .works-wall {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 原创项目 - 超小屏1列 */
    .films-grid {
        grid-template-columns: 1fr;
    }

    .film-category-card {
        aspect-ratio: 16/9;
    }

    /* 影片详情缩略图 */
    .film-detail-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .carousel-btn.prev {
        left: 4px;
    }

    .carousel-btn.next {
        right: 4px;
    }

    /* 绑定案例标题 */
    .rigging-card-info h3 {
        font-size: 1.2rem;
    }

    /* 绑定案例播放按钮 */
    .rigging-play-btn {
        width: 50px;
        height: 50px;
    }
    
    /* 联系表单 - 超小屏 */
    .contact {
        padding: var(--space-lg) var(--space-sm);
    }
    
    .contact-form-wrapper {
        padding: var(--space-md);
    }
    
    /* 关于数据 */
    .about-stats {
        flex-direction: column;
        align-items: center;
        gap: var(--space-lg);
    }

    /* 页脚导航 - 保持3列居中 */
    .footer-nav {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
        justify-items: center;
    }
    
    .footer-nav .footer-column {
        text-align: center;
    }

    /* section 间距更小 */
    section {
        padding: var(--space-2xl) 0;
    }
}

/* ========================================
   手机横屏模式 - 弹窗图片显示（左右布局，右侧弹窗图片在上）
   ======================================== */
@media (max-width: 896px) and (orientation: landscape) {
    .film-detail-modal {
        display: flex !important;
    }
    
    .film-detail-modal .film-detail-container {
        display: flex;
        flex-direction: row !important;
        width: 100%;
        height: 100vh;
    }
    
    .film-detail-modal .film-detail-content {
        position: relative !important;
        width: 100% !important;
        height: 100vh !important;
        display: flex !important;
        flex-direction: column !important;
        overflow: hidden !important;
    }
    
    .film-detail-modal .film-detail-close {
        position: absolute;
        top: 0;
        left: 0;
        z-index: 3001;
    }
    
    .film-detail-modal .film-detail-image-wrapper {
        width: 100% !important;
        height: 55% !important;
        aspect-ratio: auto !important;
        flex-shrink: 0 !important;
        position: relative;
        display: block !important;
    }
    
    .film-detail-modal .film-detail-image {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        display: block !important;
    }
    
    .film-detail-modal .film-detail-info {
        width: 100% !important;
        height: 45% !important;
        overflow-y: auto !important;
        padding: 20px 30px !important;
        margin-top: 0 !important;
        box-sizing: border-box;
        flex-shrink: 0 !important;
    }
}

/* ========================================
   动画效果
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}
