/* 全局样式 */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Microsoft YaHei', sans-serif;
    line-height: 1.6;
}

/* 导航栏样式 */
.navbar {
    background-color: rgba(33, 37, 41, 0.95) !important;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

/* 英雄区域样式 */
.hero-section {
    height: 100vh;
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #fdbb2d);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('/assets/images/pattern.png');
    opacity: 0.1;
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

/* 服务卡片样式 */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-10px);
}

.card-body {
    padding: 2rem;
}

.card-title {
    color: var(--primary-color);
    margin: 1rem 0;
}

/* 动画效果 */
[data-aos] {
    pointer-events: none;
}

[data-aos].aos-animate {
    pointer-events: auto;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        height: 80vh;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
}

/* 页脚样式 */
footer {
    background-color: var(--dark-color);
}

footer h5 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

/* 按钮样式 */
.btn-primary {
    background-color: var(--primary-color);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,123,255,0.3);
}

/* 裸眼3D歌词效果 */
.lyrics-3d-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #000;
    perspective: 4000px;
}

/* 科技感隧道效果 */
.tunnel {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 300%;
    height: 300%;
    transform: translate(-50%, -50%) rotateX(60deg);
    background: 
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.8) 100%),
        linear-gradient(90deg, rgba(0,255,255,0.2) 1px, transparent 1px),
        linear-gradient(0deg, rgba(0,255,255,0.2) 1px, transparent 1px);
    background-size: 100% 100%, 40px 40px, 40px 40px;
    animation: tunnel-move 15s linear infinite;
    z-index: 1;
}

.tunnel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.9) 100%),
        linear-gradient(45deg, rgba(255,0,255,0.2) 1px, transparent 1px),
        linear-gradient(-45deg, rgba(255,0,255,0.2) 1px, transparent 1px);
    background-size: 100% 100%, 60px 60px, 60px 60px;
    animation: tunnel-move 20s linear infinite reverse;
}

.tunnel::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.95) 100%),
        linear-gradient(90deg, rgba(0,255,255,0.3) 2px, transparent 2px),
        linear-gradient(0deg, rgba(0,255,255,0.3) 2px, transparent 2px);
    background-size: 100% 100%, 80px 80px, 80px 80px;
    animation: tunnel-move 25s linear infinite;
}

/* 战机效果 */
.fighter {
    position: absolute;
    width: 100px;
    height: 40px;
    background: linear-gradient(90deg, 
        rgba(0,255,255,0.8) 0%,
        rgba(255,0,255,0.8) 50%,
        rgba(0,255,255,0.8) 100%
    );
    clip-path: polygon(0% 50%, 20% 0%, 80% 0%, 100% 50%, 80% 100%, 20% 100%);
    filter: blur(1px);
    z-index: 4;
    opacity: 0;
}

.fighter::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 200%;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%,
        rgba(255,255,255,0.8) 50%,
        transparent 100%
    );
    transform: translateY(-50%);
}

.fighter::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center,
        rgba(255,255,255,0.8) 0%,
        transparent 70%
    );
    transform: translateY(-50%);
}

.fighter-1 {
    top: 20%;
    left: -100px;
    animation: fighter-fly-1 8s linear infinite;
}

.fighter-2 {
    top: 30%;
    right: -100px;
    animation: fighter-fly-2 10s linear infinite;
}

.fighter-3 {
    top: 40%;
    left: -100px;
    animation: fighter-fly-3 12s linear infinite;
}

.grid-background {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    transform: translate(-50%, -50%) rotateX(60deg);
    background: 
        linear-gradient(90deg, rgba(255,255,255,0.1) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    animation: grid-move 20s linear infinite;
    z-index: 2;
    mix-blend-mode: screen;
}

.lyrics-3d-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    animation: float 6s ease-in-out infinite;
    z-index: 3;
}

.lyrics-3d-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    font-size: 6rem;
    font-weight: bold;
    text-transform: uppercase;
    white-space: nowrap;
    transition: transform 0.1s ease-out;
    text-shadow: 0 0 20px rgba(255,255,255,0.5);
}

/* 红色层 */
.lyrics-3d-layer.red {
    color: #ff0000;
    text-shadow: 
        0 0 20px rgba(255,0,0,0.8),
        0 0 40px rgba(255,0,0,0.4),
        0 0 60px rgba(255,0,0,0.2);
    animation: pulse-red 4s ease-in-out infinite;
}

/* 蓝色层 */
.lyrics-3d-layer.blue {
    color: #0000ff;
    text-shadow: 
        0 0 20px rgba(0,0,255,0.8),
        0 0 40px rgba(0,0,255,0.4),
        0 0 60px rgba(0,0,255,0.2);
    animation: pulse-blue 4s ease-in-out infinite;
}

/* 白色层 */
.lyrics-3d-layer.white {
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(255,255,255,0.8),
        0 0 40px rgba(255,255,255,0.4),
        0 0 60px rgba(255,255,255,0.2);
    animation: pulse-white 4s ease-in-out infinite;
}

@keyframes tunnel-move {
    0% {
        transform: translate(-50%, -50%) rotateX(60deg) translateZ(0) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) rotateX(60deg) translateZ(-200px) scale(1.2);
    }
    100% {
        transform: translate(-50%, -50%) rotateX(60deg) translateZ(0) scale(1);
    }
}

@keyframes fighter-fly-1 {
    0% {
        transform: translateX(0) translateZ(0) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 200px)) translateZ(-500px) scale(2);
        opacity: 0;
    }
}

@keyframes fighter-fly-2 {
    0% {
        transform: translateX(0) translateZ(-500px) scale(2);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(-100vw - 200px)) translateZ(0) scale(0.5);
        opacity: 0;
    }
}

@keyframes fighter-fly-3 {
    0% {
        transform: translateX(0) translateZ(0) scale(0.5);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateX(calc(100vw + 200px)) translateZ(-500px) scale(2);
        opacity: 0;
    }
}

@keyframes grid-move {
    0% {
        transform: translate(-50%, -50%) rotateX(60deg) translateY(0);
    }
    50% {
        transform: translate(-50%, -50%) rotateX(60deg) translateY(-20px);
    }
    100% {
        transform: translate(-50%, -50%) rotateX(60deg) translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(-50%, -50%) translateY(0) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) translateY(-30px) scale(1.1);
    }
}

@keyframes pulse-red {
    0%, 100% {
        opacity: 1;
        transform: translateZ(200px) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateZ(250px) scale(1.1);
    }
}

@keyframes pulse-blue {
    0%, 100% {
        opacity: 1;
        transform: translateZ(-200px) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateZ(-250px) scale(1.1);
    }
}

@keyframes pulse-white {
    0%, 100% {
        opacity: 1;
        transform: translateZ(0) scale(1);
    }
    50% {
        opacity: 0.9;
        transform: translateZ(50px) scale(1.05);
    }
}

/* 音频播放器样式 */
.audio-player {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1001;
    background: rgba(0, 0, 0, 0.7);
    padding: 15px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
}

.audio-player audio {
    width: 300px;
    height: 40px;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .lyrics-3d-layer {
        font-size: 3.5rem;
    }
    
    .audio-player {
        width: 90%;
        padding: 10px;
    }
    
    .audio-player audio {
        width: 100%;
    }
    
    .fighter {
        width: 60px;
        height: 24px;
    }
} 