/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    overflow-x: hidden;
    background: linear-gradient(135deg, #1a1a1a 0%, #000000 50%, #2c2c2c 100%);
    min-height: 100vh;
}

/* 字体样式 */
.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-playfair {
    font-family: 'Playfair Display', serif;
}

.font-montserrat {
    font-family: 'Montserrat', sans-serif;
}

/* 电影胶片背景 */
.film-strip {
    position: absolute;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 50px,
        rgba(212, 175, 55, 0.1) 50px,
        rgba(212, 175, 55, 0.1) 60px
    );
    animation: film-roll 20s linear infinite;
    pointer-events: none;
}

@keyframes film-roll {
    0% { transform: translateX(-100px); }
    100% { transform: translateX(100px); }
}

/* 自定义动画 */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spin-reverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes bounce-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes gradient-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(212, 175, 55, 0.3); }
    50% { box-shadow: 0 0 40px rgba(212, 175, 55, 0.6); }
}

.animate-spin-slow {
    animation: spin-slow 8s linear infinite;
}

.animate-spin-reverse {
    animation: spin-reverse 6s linear infinite;
}

.animate-bounce-slow {
    animation: bounce-slow 3s ease-in-out infinite;
}

.animate-glow {
    animation: glow 2s ease-in-out infinite;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #d4af37, #b8941f);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #f4e4a6, #d4af37);
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 玻璃态效果 */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* 悬停效果增强 */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.2);
}

/* 渐变文字效果 */
.gradient-text {
    background: linear-gradient(135deg, #d4af37, #f4e4a6, #b8941f);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
}

/* 卡片阴影效果 */
.card-glow {
    transition: all 0.3s ease;
}

.card-glow:hover {
    box-shadow: 
        0 0 20px rgba(212, 175, 55, 0.2),
        0 0 40px rgba(244, 228, 166, 0.1),
        0 0 60px rgba(184, 148, 31, 0.05);
}

/* 按钮特效 */
.btn-creative {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, #d4af37, #f4e4a6);
    border: none;
    color: black;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-creative::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn-creative:hover::before {
    left: 100%;
}

.btn-creative:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.4);
}

/* 导航栏特效 */
.nav-blur {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* 3D变换效果 */
.transform-3d {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.rotate-y {
    transform: rotateY(15deg);
    transition: transform 0.3s ease;
}

.rotate-y:hover {
    transform: rotateY(0deg);
}

/* 电影院效果 */
.cinema-effect {
    position: relative;
    overflow: hidden;
}

.cinema-effect::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(90deg, 
            rgba(0,0,0,0.8) 0%, 
            transparent 10%, 
            transparent 90%, 
            rgba(0,0,0,0.8) 100%),
        linear-gradient(0deg, 
            rgba(0,0,0,0.6) 0%, 
            transparent 20%, 
            transparent 80%, 
            rgba(0,0,0,0.6) 100%);
    pointer-events: none;
}

/* 聚光灯效果 */
.spotlight {
    position: relative;
    overflow: hidden;
}

.spotlight::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: spotlight-move 8s ease-in-out infinite;
}

@keyframes spotlight-move {
    0%, 100% { transform: translate(-50%, -50%); }
    25% { transform: translate(-30%, -30%); }
    50% { transform: translate(-70%, -70%); }
    75% { transform: translate(-40%, -60%); }
}

/* 胶片效果 */
.film-grain {
    position: relative;
}

.film-grain::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 3px 3px;
    opacity: 0.3;
    animation: grain 0.2s steps(10) infinite;
}

@keyframes grain {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-1px, -1px); }
    20% { transform: translate(1px, -1px); }
    30% { transform: translate(-1px, 1px); }
    40% { transform: translate(1px, 1px); }
    50% { transform: translate(-1px, 0); }
    60% { transform: translate(1px, 0); }
    70% { transform: translate(0, -1px); }
    80% { transform: translate(0, 1px); }
    90% { transform: translate(-1px, -1px); }
}

/* 镜头光晕效果 */
.lens-flare {
    position: relative;
}

.lens-flare::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 20%;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    animation: flare-pulse 3s ease-in-out infinite;
}

@keyframes flare-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.2); }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .film-strip {
        display: none;
    }
    
    .text-6xl {
        font-size: 3rem;
    }
    
    .text-8xl {
        font-size: 4rem;
    }
}

/* 创意边框 */
.creative-border {
    position: relative;
    border: 2px solid transparent;
    background: linear-gradient(45deg, #d4af37, #f4e4a6) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: exclude;
    mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
}

/* 创意渐变效果 */
.creative-gradient {
    background: linear-gradient(45deg, 
        rgba(212, 175, 55, 0.1) 0%,
        rgba(244, 228, 166, 0.1) 25%,
        rgba(184, 148, 31, 0.1) 50%,
        rgba(255, 215, 0, 0.1) 75%,
        rgba(212, 175, 55, 0.1) 100%);
    background-size: 400% 400%;
    animation: creative-shift 4s ease infinite;
}

@keyframes creative-shift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* 电影票效果 */
.ticket-effect {
    position: relative;
    background: linear-gradient(45deg, #1a1a1a, #2c2c2c);
    border-left: 3px dashed #d4af37;
    border-right: 3px dashed #d4af37;
}

.ticket-effect::before,
.ticket-effect::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #000;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
}

.ticket-effect::before {
    left: -10px;
}

.ticket-effect::after {
    right: -10px;
}

/* 摄像机效果 */
.camera-focus {
    position: relative;
    border: 2px solid rgba(212, 175, 55, 0.5);
    border-radius: 50%;
    animation: focus-ring 2s ease-in-out infinite;
}

@keyframes focus-ring {
    0%, 100% { 
        border-color: rgba(212, 175, 55, 0.5);
        transform: scale(1);
    }
    50% { 
        border-color: rgba(212, 175, 55, 1);
        transform: scale(1.05);
    }
}

/* 打字机效果 */
.typewriter {
    overflow: hidden;
    border-right: 2px solid #d4af37;
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #d4af37; }
}

/* 无障碍访问增强 */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* 焦点样式 */
.focus-visible {
    outline: 2px solid #d4af37;
    outline-offset: 2px;
}

/* 打印样式 */
@media print {
    .no-print {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .bg-gradient-to-r,
    .bg-gradient-to-br {
        background: white !important;
    }
}

/* 高对比度模式 */
@media (prefers-contrast: high) {
    .text-gray-300 {
        color: #e5e5e5;
    }
    
    .text-gray-400 {
        color: #d1d1d1;
    }
    
    .border-gold\/30 {
        border-color: #d4af37;
    }
}

/* 减少动画模式 */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 创意按钮样式 */
.btn-gradient {
    background: linear-gradient(45deg, #d4af37, #f4e4a6, #b8941f, #ffd700);
    background-size: 300% 300%;
    animation: gradient-shift 3s ease infinite;
    border: none;
    color: black;
    font-weight: bold;
    transition: all 0.3s ease;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

/* 卡片悬停效果 */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
}

/* 文字动画效果 */
.text-animate {
    background: linear-gradient(45deg, #d4af37, #f4e4a6, #b8941f, #ffd700);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shift 3s ease infinite;
}

/* 创意图标动画 */
.icon-bounce {
    animation: icon-bounce 2s ease-in-out infinite;
}

@keyframes icon-bounce {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* 创意边框动画 */
.border-animate {
    position: relative;
    overflow: hidden;
}

.border-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #d4af37, transparent);
    animation: border-flow 2s linear infinite;
}

@keyframes border-flow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 创意阴影效果 */
.shadow-creative {
    box-shadow: 
        0 4px 6px -1px rgba(212, 175, 55, 0.1),
        0 2px 4px -1px rgba(244, 228, 166, 0.06);
}

.shadow-creative-lg {
    box-shadow: 
        0 10px 15px -3px rgba(212, 175, 55, 0.1),
        0 4px 6px -2px rgba(244, 228, 166, 0.05);
}

/* 创意渐变背景 */
.bg-creative-gradient {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.05) 0%,
        rgba(244, 228, 166, 0.05) 25%,
        rgba(184, 148, 31, 0.05) 50%,
        rgba(255, 215, 0, 0.05) 75%,
        rgba(212, 175, 55, 0.05) 100%);
}

/* 创意文字效果 */
.text-creative {
    background: linear-gradient(45deg, #d4af37, #f4e4a6, #b8941f);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: bold;
}

/* 创意按钮悬停效果 */
.btn-creative-hover {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-creative-hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.btn-creative-hover:hover::before {
    width: 300px;
    height: 300px;
}

/* 创意加载效果 */
.loading-dots {
    display: inline-block;
}

.loading-dots::after {
    content: '';
    animation: loading-dots 1.5s infinite;
}

@keyframes loading-dots {
    0%, 20% { content: '.'; }
    40% { content: '..'; }
    60%, 100% { content: '...'; }
}

/* 创意进度条 */
.progress-creative {
    background: linear-gradient(90deg, #d4af37, #f4e4a6, #b8941f, #ffd700);
    background-size: 200% 100%;
    animation: progress-flow 2s linear infinite;
}

@keyframes progress-flow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* 创意标签效果 */
.tag-creative {
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.1), rgba(244, 228, 166, 0.1));
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: #d4af37;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.tag-creative:hover {
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.2), rgba(244, 228, 166, 0.2));
    transform: scale(1.05);
}

/* 创意输入框效果 */
.input-creative {
    border: 2px solid transparent;
    background: linear-gradient(#1a1a1a, #1a1a1a) padding-box,
                linear-gradient(45deg, #d4af37, #f4e4a6) border-box;
    transition: all 0.3s ease;
    color: white;
}

.input-creative:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

/* 创意网格效果 */
.grid-creative {
    background-image: 
        linear-gradient(rgba(212, 175, 55, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* 创意波浪效果 */
.wave-creative {
    position: relative;
    overflow: hidden;
}

.wave-creative::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(212, 175, 55, 0.1) 50%,
        transparent 100%);
    animation: wave-flow 3s ease-in-out infinite;
}

@keyframes wave-flow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 创意脉冲效果 */
.pulse-creative {
    animation: pulse-creative 2s ease-in-out infinite;
}

@keyframes pulse-creative {
    0%, 100% { 
        transform: scale(1);
        opacity: 1;
    }
    50% { 
        transform: scale(1.05);
        opacity: 0.8;
    }
}

/* 创意旋转效果 */
.rotate-creative {
    animation: rotate-creative 10s linear infinite;
}

@keyframes rotate-creative {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* 创意闪烁效果 */
.blink-creative {
    animation: blink-creative 2s ease-in-out infinite;
}

@keyframes blink-creative {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* 电影幕布效果 */
.curtain-effect {
    position: relative;
    background: linear-gradient(90deg, 
        #8b0000 0%, 
        #dc143c 10%, 
        #dc143c 90%, 
        #8b0000 100%);
    border-top: 10px solid #d4af37;
    border-bottom: 10px solid #d4af37;
}

.curtain-effect::before,
.curtain-effect::after {
    content: '';
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, #8b0000, #dc143c);
    transition: transform 0.5s ease;
}

.curtain-effect::before {
    left: 0;
    transform-origin: left;
}

.curtain-effect::after {
    right: 0;
    transform-origin: right;
}

.curtain-effect:hover::before {
    transform: scaleX(0);
}

.curtain-effect:hover::after {
    transform: scaleX(0);
}

/* 装饰元素 */
.film-background {
    pointer-events: none !important;
    z-index: 0 !important;
}

/* 页脚样式重写 */
footer {
    position: relative;
    z-index: 100;
    background: #0a0a0a;
}

footer * {
    position: relative;
    z-index: 101;
}

footer a {
    color: #9ca3af;
    text-decoration: none;
    transition: color 0.3s ease;
    cursor: pointer;
    display: inline-block;
    position: relative;
    z-index: 102;
}

footer a:hover {
    color: #d4af37;
}

footer button {
    cursor: pointer;
    position: relative;
    z-index: 102;
}

/* 导航栏样式重写 */
nav {
    position: fixed;
    z-index: 200;
}

nav a {
    cursor: pointer;
    position: relative;
    z-index: 201;
}

nav button {
    cursor: pointer;
    position: relative;
    z-index: 201;
}

/* 背景装饰元素 */
.film-strip {
    pointer-events: none !important;
    z-index: 0 !important;
}