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

/* 西瓜播放器控制栏样式优化 */
.xgplayer {
    --xgplayer-color: #dc3232;
}

/* 限制控制栏整体大小 */
.xgplayer-controls {
    height: auto !important;
    min-height: 50px !important;
    max-height: 60px !important;
    font-size: 14px !important;
}

/* 限制 size-control 大小 */
.xgplayer-controls .xgplayer-size-control,
.xgplayer-controls .xgplayer-volume,
.xgplayer-controls .xgplayer-play,
.xgplayer-controls .xgplayer-fullscreen,
.xgplayer-controls .xgplayer-time {
    transform: scale(0.8) !important;
}

/* 声音控制按钮 */
.sound-btn {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #dc3232;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 0 15px rgba(220, 50, 50, 0.4);
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.sound-btn:hover {
    background: rgba(220, 50, 50, 0.8);
    transform: scale(1.1);
    box-shadow: 0 0 25px rgba(220, 50, 50, 0.6);
}

.sound-icon {
    font-size: 24px;
    transition: all 0.3s ease;
}

.sound-btn.muted .sound-on {
    display: none;
}

.sound-btn.muted .sound-mute {
    display: inline;
}

.sound-btn:not(.muted) .sound-mute {
    display: none;
}

.sound-btn:not(.muted) .sound-on {
    display: inline;
}

/* 美化滚动条 - Webkit 内核浏览器 */
::-webkit-scrollbar {
    width : 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background   : rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background   : linear-gradient(180deg, #dc3232, #ff6b6b);
    border-radius: 5px;
    border       : 2px solid rgba(0, 0, 0, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #ff6b6b, #ff8787);
    box-shadow: 0 0 10px rgba(220, 50, 50, 0.5);
}

::-webkit-scrollbar-corner {
    background: rgba(0, 0, 0, 0.3);
}

/* Firefox 滚动条 */
* {
    scrollbar-width: thin;
    scrollbar-color: #dc3232 rgba(0, 0, 0, 0.3);
}

body,
html {
    width      : 100%;
    height     : 100%;
    background : #000;
    font-family: 'Arial', sans-serif;
}

/* Loading 容器 */
#loading-container {
    position       : fixed;
    top            : 0;
    left           : 0;
    width          : 100%;
    height         : 100%;
    background     : linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    display        : flex;
    flex-direction : column;
    justify-content: center;
    align-items    : center;
    z-index        : 9999;
    transition     : opacity 0.8s ease-out, visibility 0.8s;
}

#loading-container.hidden {
    opacity   : 0;
    visibility: hidden;
}

/* 轮胎印记动画 */
.tire-tracks {
    position: absolute;
    width   : 100%;
    height  : 100%;
    overflow: hidden;
}

.tire-track {
    position: absolute;
    width   : 40px;
    height  : 100%;
    background: repeating-linear-gradient(0deg,
            #2a2a2a 0px,
            #2a2a2a 20px,
            transparent 20px,
            transparent 40px);
    opacity  : 0.3;
    animation: tireTrack 2s linear infinite;
}

.tire-track:nth-child(1) {
    left           : 20%;
    animation-delay: 0s;
}

.tire-track:nth-child(2) {
    left           : 80%;
    animation-delay: 0.5s;
}

@keyframes tireTrack {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(100%);
    }
}

/* 速度表 */
.speedometer {
    position     : relative;
    width        : 300px;
    height       : 300px;
    margin-bottom: 40px;
}

.speedometer-bg {
    position     : absolute;
    width        : 100%;
    height       : 100%;
    border-radius: 50%;
    background   : linear-gradient(145deg, #1a1a1a, #0a0a0a);
    box-shadow   :
        0 0 60px rgba(220, 50, 50, 0.3),
        inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.speedometer-ring {
    position          : absolute;
    width             : 100%;
    height            : 100%;
    border-radius     : 50%;
    border            : 8px solid #333;
    border-top-color  : #dc3232;
    border-right-color: #dc3232;
    animation         : speedometerRotate 1.5s ease-in-out infinite;
}

@keyframes speedometerRotate {

    0%,
    100% {
        transform: rotate(-45deg);
    }

    50% {
        transform: rotate(135deg);
    }
}

.speedometer-center {
    position       : absolute;
    top            : 50%;
    left           : 50%;
    transform      : translate(-50%, -50%);
    width          : 180px;
    height         : 180px;
    border-radius  : 50%;
    background     : linear-gradient(145deg, #1a1a1a, #0a0a0a);
    display        : flex;
    flex-direction : column;
    justify-content: center;
    align-items    : center;
    box-shadow     : inset 0 0 20px rgba(0, 0, 0, 0.8);
}

.speedometer-value {
    font-size  : 3.5rem;
    font-weight: bold;
    color      : #dc3232;
    text-shadow: 0 0 20px rgba(220, 50, 50, 0.8);
    font-family: 'Courier New', monospace;
}

.speedometer-unit {
    font-size     : 1rem;
    color         : #666;
    margin-top    : 5px;
    letter-spacing: 3px;
}

/* 加载文字 */
.loading-text {
    font-size     : 2rem;
    font-weight   : bold;
    color         : #fff;
    text-transform: uppercase;
    letter-spacing: 15px;
    margin-bottom : 30px;
    text-shadow   : 0 0 30px rgba(220, 50, 50, 0.8);
}

.loading-text span {
    display  : inline-block;
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* 进度条 */
.progress-container {
    width        : 400px;
    height       : 4px;
    background   : #333;
    border-radius: 2px;
    overflow     : hidden;
    position     : relative;
}

.progress-bar {
    height         : 100%;
    background     : linear-gradient(90deg, #dc3232, #ff6b6b, #dc3232);
    background-size: 200% 100%;
    width          : 0%;
    transition     : width 0.3s ease-out;
    animation      : shimmer 2s linear infinite;
    box-shadow     : 0 0 20px rgba(220, 50, 50, 0.8);
}

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

    100% {
        background-position: -200% 0;
    }
}

/* 烟雾效果 */
.smoke {
    position      : absolute;
    width         : 100%;
    height        : 100%;
    pointer-events: none;
    overflow      : hidden;
}

.smoke-particle {
    position     : absolute;
    width        : 60px;
    height       : 60px;
    background   : radial-gradient(circle, rgba(200, 200, 200, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    filter       : blur(10px);
    animation    : smokeRise 4s ease-out infinite;
}

.smoke-particle:nth-child(1) {
    left           : 30%;
    bottom         : 20%;
    animation-delay: 0s;
}

.smoke-particle:nth-child(2) {
    left           : 70%;
    bottom         : 30%;
    animation-delay: 1s;
}

.smoke-particle:nth-child(3) {
    left           : 50%;
    bottom         : 25%;
    animation-delay: 2s;
}

@keyframes smokeRise {
    0% {
        transform: translateY(0) scale(1);
        opacity  : 0;
    }

    20% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-300px) scale(3);
        opacity  : 0;
    }
}

/* 霓虹灯边框 */
.neon-border {
    position     : absolute;
    top          : 20px;
    left         : 20px;
    right        : 20px;
    bottom       : 20px;
    border       : 3px solid transparent;
    border-radius: 10px;
    background   : linear-gradient(#0a0a0a, #0a0a0a) padding-box,
        linear-gradient(45deg, #dc3232, #ff6b6b, #dc3232) border-box;
    animation: neonPulse 2s ease-in-out infinite;
}

@keyframes neonPulse {

    0%,
    100% {
        box-shadow:
            0 0 20px rgba(220, 50, 50, 0.5),
            inset 0 0 20px rgba(220, 50, 50, 0.5);
    }

    50% {
        box-shadow:
            0 0 40px rgba(220, 50, 50, 0.8),
            inset 0 0 40px rgba(220, 50, 50, 0.8);
    }
}

/* 视频容器 */
#video-container {
    position       : fixed;
    top            : 0;
    left           : 0;
    width          : 100%;
    height         : 100%;
    background     : #000;
    display        : none;
    justify-content: center;
    align-items    : center;
    z-index        : 9998;
    opacity        : 1;
    transition     : opacity 2s ease-out;
}

#video-container.active {
    display: flex;
}

#video-container.fade-out {
    opacity       : 0;
    pointer-events: none;
}

#drift-video {
    width     : 100%;
    height    : 100%;
    object-fit: cover;
}

/* 主画面 */
#main-screen {
    position: relative;
    top     : 0;
    left    : 0;
    width   : 100%;
    height  : 100%;
    background:
        url('https://static.lucki.top/qiyun-fans/bg.jpg') center center / cover no-repeat,
        linear-gradient(135deg, rgba(10, 10, 10, 0.7) 0%, rgba(26, 26, 46, 0.5) 50%, rgba(10, 10, 10, 0.8) 100%);
    display        : none;
    flex-direction : column;
    justify-content: center;
    align-items    : center;
    z-index        : 9997;
    opacity        : 0;
    transition     : opacity 1.5s ease-out;
    overflow       : hidden;
}

/* 手机模式 */
@media (max-width: 768px) {
    #main-screen {
        height: 75%;
    }
}

#main-screen::before {
    content : '';
    position: absolute;
    top     : -50%;
    left    : -50%;
    right   : -50%;
    bottom  : -50%;
    background:
        radial-gradient(ellipse at center,
            rgba(220, 50, 50, 0.15) 0%,
            transparent 60%),
        radial-gradient(ellipse at 30% 20%,
            rgba(100, 100, 255, 0.1) 0%,
            transparent 40%),
        radial-gradient(ellipse at 70% 80%,
            rgba(255, 100, 100, 0.08) 0%,
            transparent 50%);
    animation     : auraPulse 8s ease-in-out infinite;
    pointer-events: none;
    z-index       : 1;
}

#main-screen::after {
    content : '';
    position: absolute;
    top     : 0;
    left    : 0;
    right   : 0;
    bottom  : 0;
    background:
        repeating-linear-gradient(transparent,
            transparent 50px,
            rgba(220, 50, 50, 0.03) 50px,
            rgba(220, 50, 50, 0.03) 51px);
    pointer-events: none;
    z-index       : 2;
    animation     : scanLine 15s linear infinite;
}

#main-screen.active {
    display: flex;
    opacity: 1;
}

@keyframes auraPulse {

    0%,
    100% {
        transform: scale(1) rotate(0deg);
        opacity  : 0.6;
    }

    50% {
        transform: scale(1.1) rotate(2deg);
        opacity  : 1;
    }
}

@keyframes scanLine {
    0% {
        transform: translateY(0);
    }

    100% {
        transform: translateY(100px);
    }
}

/* 氛围粒子层 */
.main-screen-particles {
    position      : absolute;
    top           : 0;
    left          : 0;
    width         : 100%;
    height        : 100%;
    pointer-events: none;
    z-index       : 3;
}

.particle {
    position     : absolute;
    background   : radial-gradient(circle, rgba(255, 255, 255, 0.8), transparent 70%);
    border-radius: 50%;
    filter       : blur(1px);
    animation    : particleFloat 20s ease-in-out infinite;
    opacity      : 0;
}

.particle:nth-child(1) {
    width             : 4px;
    height            : 4px;
    top               : 20%;
    left              : 15%;
    animation-delay   : 0s;
    animation-duration: 15s;
}

.particle:nth-child(2) {
    width             : 6px;
    height            : 6px;
    top               : 60%;
    left              : 80%;
    animation-delay   : 2s;
    animation-duration: 22s;
}

.particle:nth-child(3) {
    width             : 3px;
    height            : 3px;
    top               : 40%;
    left              : 30%;
    animation-delay   : 4s;
    animation-duration: 18s;
}

.particle:nth-child(4) {
    width             : 5px;
    height            : 5px;
    top               : 80%;
    left              : 50%;
    animation-delay   : 1s;
    animation-duration: 25s;
}

.particle:nth-child(5) {
    width             : 4px;
    height            : 4px;
    top               : 30%;
    left              : 70%;
    animation-delay   : 3s;
    animation-duration: 20s;
}

.particle:nth-child(6) {
    width             : 7px;
    height            : 7px;
    top               : 70%;
    left              : 20%;
    animation-delay   : 5s;
    animation-duration: 28s;
}

.particle:nth-child(7) {
    width             : 3px;
    height            : 3px;
    top               : 50%;
    left              : 85%;
    animation-delay   : 2s;
    animation-duration: 16s;
}

.particle:nth-child(8) {
    width             : 5px;
    height            : 5px;
    top               : 15%;
    left              : 45%;
    animation-delay   : 4s;
    animation-duration: 24s;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) translateX(0);
        opacity  : 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.4;
    }

    50% {
        transform: translateY(-100px) translateX(50px);
    }
}

/* 光斑效果 */
.bokeh-overlay {
    position      : absolute;
    top           : 0;
    left          : 0;
    width         : 100%;
    height        : 100%;
    pointer-events: none;
    z-index       : 4;
    background    :
        radial-gradient(circle at 20% 30%,
            rgba(220, 50, 50, 0.08) 0%,
            transparent 40%),
        radial-gradient(circle at 80% 70%,
            rgba(100, 150, 255, 0.06) 0%,
            transparent 35%),
        radial-gradient(circle at 40% 60%,
            rgba(255, 100, 100, 0.05) 0%,
            transparent 30%);
    animation: bokehPulse 10s ease-in-out infinite;
}

@keyframes bokehPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* 网格透视层 */
.perspective-grid {
    position      : absolute;
    bottom        : 0;
    left          : 0;
    width         : 100%;
    height        : 40%;
    pointer-events: none;
    z-index       : 5;
    background-image:
        linear-gradient(rgba(220, 50, 50, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 50, 50, 0.06) 1px, transparent 1px);
    background-size   : 100px 100px;
    transform         : perspective(800px) rotateX(60deg) scaleY(1.5);
    transform-origin  : center bottom;
    mask-image        : linear-gradient(to top, rgba(0, 0, 0, 1) 0%, transparent 80%);
    -webkit-mask-image: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, transparent 80%);
    animation         : gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 400px;
    }
}

/* 边缘光晕 */
.edge-glow {
    position      : absolute;
    top           : 0;
    left          : 0;
    right         : 0;
    bottom        : 0;
    pointer-events: none;
    z-index       : 6;
    box-shadow    :
        inset 0 0 150px rgba(0, 0, 0, 0.9),
        inset 0 0 60px rgba(220, 50, 50, 0.2);
    animation: edgeGlowPulse 6s ease-in-out infinite;
}

@keyframes edgeGlowPulse {

    0%,
    100% {
        box-shadow:
            inset 0 0 150px rgba(0, 0, 0, 0.9),
            inset 0 0 60px rgba(220, 50, 50, 0.2);
    }

    50% {
        box-shadow:
            inset 0 0 180px rgba(0, 0, 0, 0.85),
            inset 0 0 80px rgba(220, 50, 50, 0.3);
    }
}

/* 速度光带 */
.speed-streaks {
    position      : absolute;
    top           : 0;
    left          : 0;
    width         : 100%;
    height        : 100%;
    pointer-events: none;
    z-index       : 7;
}

.streak {
    position: absolute;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.1),
            transparent);
    height   : 2px;
    animation: streakMove 3s linear infinite;
    opacity  : 0;
}

.streak:nth-child(1) {
    top            : 30%;
    left           : -100px;
    width          : 200px;
    animation-delay: 0s;
}

.streak:nth-child(2) {
    top            : 50%;
    left           : -150px;
    width          : 300px;
    animation-delay: 0.8s;
}

.streak:nth-child(3) {
    top            : 70%;
    left           : -80px;
    width          : 150px;
    animation-delay: 1.5s;
}

.streak:nth-child(4) {
    top            : 40%;
    left           : -200px;
    width          : 250px;
    animation-delay: 2.2s;
}

.streak:nth-child(5) {
    top            : 60%;
    left           : -120px;
    width          : 180px;
    animation-delay: 3s;
}

@keyframes streakMove {
    0% {
        transform: translateX(0);
        opacity  : 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.3;
    }

    100% {
        transform: translateX(120vw);
        opacity  : 0;
    }
}

.supercar-img {
    position : absolute;
    z-index  : 10;
    width    : 90%;
    bottom   : 0;
    max-width: 1200px;
    min-width: 600px;
    opacity  : 0;
    transform: translateY(100px) scale(0.9);
    filter   : blur(20px);
    transition: opacity 1.2s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1.2s cubic-bezier(0.19, 1, 0.22, 1),
        filter 1.2s ease;
}

.supercar-img.enter {
    opacity  : 1;
    transform: translateY(0) scale(1);
    filter   : blur(0);
}

.character-img {
    position  : absolute;
    z-index   : 20;
    max-height: 100vh;
    right     : 0;
    transform : translateX(-10%) translateX(300px);
    max-width : 80vw;
    bottom    : 0;
    opacity   : 0;
    filter    : blur(15px);
    transition: opacity 1.4s cubic-bezier(0.19, 1, 0.22, 1),
        transform 1.4s cubic-bezier(0.19, 1, 0.22, 1),
        filter 1.4s ease;
}

.character-img.enter {
    opacity  : 1;
    transform: translateX(-10%) translateX(0);
    filter   : blur(0);
}

/* 背景网格 */
.grid-bg {
    position: absolute;
    width   : 100%;
    height  : 100%;
    background-image:
        linear-gradient(rgba(220, 50, 50, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(220, 50, 50, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity        : 0.3;
}

/* 火花效果 */
.sparks {
    position      : absolute;
    width         : 100%;
    height        : 100%;
    pointer-events: none;
}

.spark {
    position     : absolute;
    width        : 4px;
    height       : 4px;
    background   : #ff6b6b;
    border-radius: 50%;
    animation    : sparkFly 1.5s ease-out infinite;
}

.spark:nth-child(1) {
    left           : 20%;
    top            : 60%;
    animation-delay: 0s;
}

.spark:nth-child(2) {
    left           : 80%;
    top            : 70%;
    animation-delay: 0.3s;
}

.spark:nth-child(3) {
    left           : 30%;
    top            : 80%;
    animation-delay: 0.6s;
}

.spark:nth-child(4) {
    left           : 70%;
    top            : 65%;
    animation-delay: 0.9s;
}

@keyframes sparkFly {
    0% {
        transform: translate(0, 0) scale(1);
        opacity  : 1;
    }

    100% {
        transform: translate(calc(-100vw * var(--direction, 1)), -300px) scale(0);
        opacity  : 0;
    }
}

/* 标语 */
.slogan {
    position      : absolute;
    top           : 10%;
    left          : 50%;
    transform     : translateX(-50%);
    z-index       : 30;
    font-size     : 2.5rem;
    font-weight   : bold;
    color         : #fff;
    text-transform: uppercase;
    letter-spacing: 10px;
    text-shadow   :
        0 0 20px rgba(220, 50, 50, 0.8),
        0 0 40px rgba(220, 50, 50, 0.5),
        0 0 60px rgba(220, 50, 50, 0.3);
    opacity        : 0;
    animation      : sloganAppear 1.5s ease-out forwards;
    animation-delay: 0.8s;
}

.fixed-title {
    position   : absolute;
    left       : -10px;
    top        : -10px;
    font-size  : 180px;
    color      : #fff;
    opacity    : .2;
    font-family: 黑体;
}

@keyframes sloganAppear {
    0% {
        opacity  : 0;
        transform: translateX(-50%) translateY(-30px);
        filter   : blur(10px);
    }

    100% {
        opacity  : 1;
        transform: translateX(-50%) translateY(0);
        filter   : blur(0);
    }
}

@media (max-width: 768px) {
    .slogan {
        font-size     : 1.5rem;
        letter-spacing: 5px;
        top           : 8%;
    }

    .fixed-title {
        font-size: 100px;
    }
}

/* 标语屏幕 */
#slogan-screen {
    position       : relative;
    width          : 100%;
    height         : 100vh;
    background     : linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #0a0a0a 100%);
    display        : none;
    justify-content: center;
    align-items    : center;
    overflow       : hidden;
    opacity        : 0;
    transition     : opacity 1.5s ease-out;
}

#slogan-screen.visible {
    display: flex;
    opacity: 1;
}

#slogan-screen::before {
    content : '';
    position: absolute;
    top     : -50%;
    left    : -50%;
    right   : -50%;
    bottom  : -50%;
    background:
        radial-gradient(ellipse at center,
            rgba(220, 50, 50, 0.15) 0%,
            transparent 60%),
        radial-gradient(ellipse at 30% 20%,
            rgba(100, 100, 255, 0.1) 0%,
            transparent 40%);
    animation     : auraPulse 8s ease-in-out infinite;
    pointer-events: none;
}

/* 标语屏幕中的标语文字 */
#slogan-screen .slogan-text {
    font-size     : 4rem;
    font-weight   : bold;
    color         : #fff;
    text-transform: uppercase;
    letter-spacing: 20px;
    text-shadow   :
        0 0 30px rgba(220, 50, 50, 0.9),
        0 0 60px rgba(220, 50, 50, 0.6),
        0 0 90px rgba(220, 50, 50, 0.4),
        0 0 120px rgba(220, 50, 50, 0.2);
    animation : sloganTextPulse 3s ease-in-out infinite;
    z-index   : 10;
    text-align: center;
}

@keyframes sloganTextPulse {

    0%,
    100% {
        text-shadow:
            0 0 30px rgba(220, 50, 50, 0.9),
            0 0 60px rgba(220, 50, 50, 0.6),
            0 0 90px rgba(220, 50, 50, 0.4),
            0 0 120px rgba(220, 50, 50, 0.2);
        opacity: 1;
    }

    50% {
        text-shadow:
            0 0 40px rgba(220, 50, 50, 1),
            0 0 80px rgba(220, 50, 50, 0.8),
            0 0 120px rgba(220, 50, 50, 0.6),
            0 0 160px rgba(220, 50, 50, 0.4);
        opacity: 0.9;
    }
}

@media (max-width: 768px) {
    #main-screen .slogan-text {
        font-size     : 1.5rem;
        letter-spacing: 5px;
        top           : 8%;
    }

    #slogan-screen .slogan-text {
        font-size     : 2rem;
        letter-spacing: 10px;
    }
}

/* ==================== 弹幕样式 ==================== */
.danmaku-container {
    position      : absolute;
    top           : 0;
    left          : 0;
    width         : 100%;
    height        : 100%;
    overflow      : hidden;
    pointer-events: none;
    z-index       : 5;
    opacity       : 0;
    transition    : opacity 1s ease;
}

.danmaku-container.visible {
    opacity: 1;
}

.danmaku-item {
    position    : absolute;
    white-space : nowrap;
    font-weight : 600;
    text-shadow : 0 0 10px rgba(0, 0, 0, 0.8);
    animation   : danmakuSlide 8s linear forwards;
    opacity     : 0.85;
    padding-left: 20px;
}

@keyframes danmakuSlide {
    0% {
        transform: translateX(100vw);
        opacity  : 0;
    }

    10% {
        opacity: 0.85;
    }

    90% {
        opacity: 0.85;
    }

    100% {
        transform: translateX(-100%);
        opacity  : 0;
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .danmaku-item {
        font-size: 14px !important;
    }
}

/* ==================== 向下滑动提示 ==================== */
.scroll-indicator {
    position      : absolute;
    bottom        : 40px;
    left          : 50%;
    transform     : translateX(-50%);
    z-index       : 30;
    display       : flex;
    flex-direction: column;
    align-items   : center;
    gap           : 20px;
    animation     : fadeInUp 1s ease-out 1s both;
}

@keyframes fadeInUp {
    from {
        opacity  : 0;
        transform: translateX(-50%) translateY(30px);
    }

    to {
        opacity  : 1;
        transform: translateX(-50%) translateY(0);
    }
}

.scroll-text {
    text-align: center;
}

.scroll-text span {
    display       : block;
    font-size     : 0.9rem;
    font-weight   : 600;
    color         : rgba(255, 255, 255, 0.8);
    letter-spacing: 8px;
    text-transform: uppercase;
    text-shadow   : 0 0 10px rgba(220, 50, 50, 0.5);
    margin-bottom : 8px;
}

.scroll-arrow {
    position: relative;
    width   : 30px;
    height  : 50px;
}

.arrow-line {
    position : absolute;
    top      : 0;
    left     : 50%;
    transform: translateX(-50%);
    width    : 2px;
    height   : 100%;
    background: linear-gradient(180deg,
            rgba(220, 50, 50, 0) 0%,
            rgba(220, 50, 50, 0.8) 40%,
            rgba(255, 107, 107, 1) 100%);
}

/* ==================== 网站底部 ==================== */
#site-footer {
    position  : relative;
    width     : 100%;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a2e 100%);
    padding   : 80px 0 40px;
    margin-top: 100px;
    border-top: 1px solid rgba(220, 50, 50, 0.2);
    opacity   : 0;
    transition: opacity 1s ease;
    visibility: hidden;
    display   : none;
}

#site-footer.visible {
    opacity   : 1;
    visibility: visible;
    display   : block;
}

.footer-container {
    max-width: 1200px;
    margin   : 0 auto;
    padding  : 0 40px;
}

.footer-content {
    display              : grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap                  : 60px;
    margin-bottom        : 60px;
}

/* 品牌区 */
.footer-brand {
    display       : flex;
    flex-direction: column;
    gap           : 20px;
}

.brand-logo {
    display    : flex;
    align-items: center;
    gap        : 15px;
}

.logo-icon {
    font-size: 2rem;
    filter   : drop-shadow(0 0 10px rgba(220, 50, 50, 0.5));
}

.logo-text {
    font-size     : 1.5rem;
    font-weight   : 700;
    color         : #fff;
    letter-spacing: 3px;
    text-shadow   : 0 0 20px rgba(220, 50, 50, 0.5);
}

.brand-desc {
    font-size  : 0.9rem;
    color      : rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.brand-tagline {
    display  : flex;
    gap      : 20px;
    flex-wrap: wrap;
}

.tagline-item {
    display    : flex;
    align-items: center;
    gap        : 8px;
    font-size  : 0.85rem;
    color      : rgba(255, 255, 255, 0.7);
}

.tagline-item .icon {
    font-size: 1.2rem;
}

/* 导航区块 */
.footer-nav,
.footer-social,
.footer-contact {
    display       : flex;
    flex-direction: column;
    gap           : 20px;
}

.nav-title {
    font-size     : 1rem;
    font-weight   : 600;
    color         : #fff;
    letter-spacing: 2px;
    margin-bottom : 10px;
    text-shadow   : 0 0 10px rgba(220, 50, 50, 0.3);
}

/* 快速导航链接 */
.nav-links {
    display       : flex;
    flex-direction: column;
    gap           : 12px;
}

.nav-link {
    display        : flex;
    align-items    : center;
    gap            : 12px;
    padding        : 10px 15px;
    color          : rgba(255, 255, 255, 0.7);
    text-decoration: none;
    border-radius  : 8px;
    transition     : all 0.3s ease;
    font-size      : 0.95rem;
}

.nav-link:hover {
    color     : #dc3232;
    background: rgba(220, 50, 50, 0.1);
    transform : translateX(5px);
}

.link-icon {
    font-size: 1.2rem;
}

/* 社交媒体链接 */
.social-links {
    display  : flex;
    gap      : 15px;
    flex-wrap: wrap;
}

.social-link {
    display        : flex;
    align-items    : center;
    justify-content: center;
    width          : 45px;
    height         : 45px;
    background     : rgba(255, 255, 255, 0.05);
    border-radius  : 50%;
    transition     : all 0.3s ease;
    border         : 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
    background  : rgba(220, 50, 50, 0.2);
    border-color: #dc3232;
    transform   : translateY(-5px);
    box-shadow  : 0 5px 15px rgba(220, 50, 50, 0.3);
}

.social-icon {
    font-size: 1.3rem;
}

/* 联系信息 */
.contact-info {
    display       : flex;
    flex-direction: column;
    gap           : 15px;
}

.contact-item {
    display    : flex;
    align-items: center;
    gap        : 12px;
    color      : rgba(255, 255, 255, 0.7);
    font-size  : 0.9rem;
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-text {
    word-break: break-all;
}

/* 分割线 */
.footer-divider {
    width : 100%;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(220, 50, 50, 0.3) 50%,
            transparent 100%);
    margin: 0 0 40px 0;
}

/* 版权信息 */
.footer-bottom {
    display        : flex;
    justify-content: space-between;
    align-items    : center;
    padding        : 20px 0;
}

.copyright p {
    color         : rgba(255, 255, 255, 0.5);
    font-size     : 0.85rem;
    letter-spacing: 1px;
}

.footer-credits p {
    color    : rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.heart-icon {
    display  : inline-block;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }
}

/* 返回顶部按钮 */
.back-to-top {
    position       : fixed;
    bottom         : 30px;
    right          : 30px;
    display        : flex;
    flex-direction : column;
    align-items    : center;
    gap            : 5px;
    padding        : 12px 20px;
    background     : rgba(220, 50, 50, 0.9);
    color          : #fff;
    text-decoration: none;
    border-radius  : 30px;
    transition     : all 0.3s ease;
    box-shadow     : 0 5px 20px rgba(220, 50, 50, 0.4);
    z-index        : 100;
    opacity        : 0;
    visibility     : hidden;
}

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

.back-to-top:hover {
    background: rgba(220, 50, 50, 1);
    transform : translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 50, 50, 0.6);
}

.arrow-up {
    font-size  : 1.5rem;
    font-weight: bold;
    line-height: 1;
}

.arrow-text {
    font-size     : 0.7rem;
    letter-spacing: 2px;
    opacity       : 0.9;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap                  : 40px;
    }

    .footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 768px) {
    #site-footer {
        padding   : 60px 0 30px;
        margin-top: 60px;
    }

    .footer-container {
        padding: 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap                  : 30px;
        margin-bottom        : 40px;
    }

    .brand-logo {
        flex-direction: column;
        gap           : 10px;
    }

    .logo-text {
        font-size: 1.2rem;
    }

    .brand-tagline {
        justify-content: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap           : 15px;
        text-align    : center;
    }

    .back-to-top {
        bottom : 20px;
        right  : 20px;
        padding: 10px 15px;
    }

    .arrow-text {
        display: none;
    }
}

@media (max-width: 480px) {

    .footer-nav,
    .footer-social,
    .footer-contact {
        align-items: center;
    }

    .social-links {
        justify-content: center;
    }
}

.arrow-circle {
    position       : absolute;
    top            : 5px;
    left           : 50%;
    transform      : translateX(-50%);
    width          : 20px;
    height         : 20px;
    border         : 2px solid rgba(255, 107, 107, 0.8);
    border-radius  : 50%;
    animation      : arrowPulse 2s ease-in-out infinite;
    display        : flex;
    align-items    : center;
    justify-content: center;
}

@keyframes arrowPulse {

    0%,
    100% {
        transform: translateX(-50%) scale(1);
        opacity  : 1;
    }

    50% {
        transform: translateX(-50%) scale(1.2);
        opacity  : 0.6;
    }
}

.arrow-dot {
    width        : 6px;
    height       : 6px;
    background   : linear-gradient(135deg, #dc3232, #ff6b6b);
    border-radius: 50%;
    box-shadow   : 0 0 10px rgba(220, 50, 50, 0.8);
    animation    : arrowDot 2s ease-in-out infinite;
}

@keyframes arrowDot {

    0%,
    100% {
        transform: translateY(0);
        opacity  : 1;
    }

    50% {
        transform: translateY(5px);
        opacity  : 0.6;
    }
}

.scroll-decoration {
    display       : flex;
    flex-direction: column;
    align-items   : center;
    gap           : 6px;
    margin-top    : 15px;
}

.decoration-line {
    width : 1px;
    height: 30px;
    background: linear-gradient(180deg,
            rgba(220, 50, 50, 0.8) 0%,
            rgba(255, 107, 107, 0.4) 50%,
            rgba(220, 50, 50, 0.1) 100%);
    box-shadow: 0 0 8px rgba(220, 50, 50, 0.4);
    animation : decorationPulse 2s ease-in-out infinite;
    position  : relative;
}

.decoration-line::before,
.decoration-line::after {
    content      : '';
    position     : absolute;
    left         : 50%;
    transform    : translateX(-50%);
    width        : 3px;
    height       : 3px;
    background   : linear-gradient(135deg, #dc3232, #ff6b6b);
    border-radius: 50%;
    box-shadow   : 0 0 5px rgba(220, 50, 50, 0.8);
}

.decoration-line::before {
    top: -2px;
}

.decoration-line::after {
    bottom: -2px;
}

.decoration-line.top {
    animation-delay: 0s;
}

.decoration-line.bottom {
    animation-delay: 1s;
}

@keyframes decorationPulse {

    0%,
    100% {
        opacity  : 0.4;
        height   : 30px;
        transform: scaleY(1);
    }

    50% {
        opacity  : 0.9;
        height   : 38px;
        transform: scaleY(1.1);
    }
}

/* 滚动后隐藏 - 更流畅的过渡 */
body.scrolled .scroll-indicator {
    opacity       : 0;
    visibility    : hidden;
    pointer-events: none;
    bottom        : 20px;
    transition    : opacity 0.6s ease-out, visibility 0.6s ease-out, bottom 0.6s ease-out;
}

/* 默认状态也添加 transition，确保双向流畅 */
.scroll-indicator {
    transition : opacity 0.6s ease-out, visibility 0.6s ease-out, bottom 0.6s ease-out;
    will-change: opacity, bottom;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .scroll-indicator {
        bottom: 20px;
        gap   : 15px;
    }

    .scroll-text span {
        font-size     : 0.75rem;
        letter-spacing: 4px;
    }

    .arrow-line {
        width: 1.5px;
    }

    .arrow-circle {
        width : 16px;
        height: 16px;
    }

    .arrow-dot {
        width : 4px;
        height: 4px;
    }

    .decoration-line {
        height: 30px;
    }
}