/* CSS Variables */
:root {
    --primary-red: #ff1a1a;
    --secondary-red: #d10000;
    --racing-black: #1a1a1a;
    --racing-silver: #e0e0e0;
    --tech-blue: #00f3ff;
    --tech-blue-glow: rgba(0, 243, 255, 0.7);
    --tech-dark: rgba(10, 10, 20, 0.8);
    --tech-darker: rgba(5, 5, 15, 0.9);
}

/* 主要内容布局 */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

/* 背景效果 */
body {
    position: relative;
    background-color: #0a0a14;
    overflow-x: hidden;
}

/* 赛车背景网格 */
.racing-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -2;
    background: 
        linear-gradient(90deg, transparent 99.5%, rgba(255, 0, 0, 0.05) 100%),
        linear-gradient(0deg, transparent 99.5%, rgba(255, 0, 0, 0.05) 100%);
    background-size: 50px 50px;
    perspective: 1000px;
}

/* 光晕效果 */
.glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 30, 0, 0.05) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    filter: blur(40px);
    opacity: 0.5;
    transition: transform 0.8s ease-out;
}

/* 赛车轨道效果 */
.track-effect {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: repeating-linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.01),
        rgba(255, 255, 255, 0.01) 30px,
        rgba(0, 0, 0, 0) 30px,
        rgba(0, 0, 0, 0) 60px
    );
    transform: perspective(500px) rotateX(65deg);
    transform-origin: bottom;
    z-index: -1;
    animation: trackMove 5s linear infinite;
    opacity: 0.4;
}

@keyframes trackMove {
    from { background-position: 0 0; }
    to { background-position: -60px 0; }
}

/* 移动设备适配 - 背景效果 */
@media (max-width: 768px) {
    .racing-bg, .speed-lines-container, .track-effect {
        display: none; /* Hide these elements on mobile */
    }
    
    .glow {
        opacity: 0.2;
        width: 300px;
        height: 300px;
    }
}

/* Banner样式 */
.banner {
    background-image: url('../images/banner.jpg');
    background-size: cover;
    background-position: center;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

/* 热门游戏区域 */
.hot-racing-games {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 1rem 1rem;
    background: rgba(10, 10, 20, 0.7);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 1px solid rgba(255, 30, 0, 0.05);
}

.hot-racing-games h2 {
    font-size: 1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
    margin-left: 2.08rem;
    color: var(--tech-blue);
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.7), 0 0 15px rgba(0, 243, 255, 0.5);
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 0.2em 0.5em;
    font-family: 'Orbitron', sans-serif;
}

.hot-racing-games h2::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -10px;
    width: 20px;
    height: 2px;
    background: var(--tech-blue);
    box-shadow: 0 0 10px 2px rgba(0, 243, 255, 0.7);
}

.hot-racing-games h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    right: -10px;
    width: 20px;
    height: 2px;
    background: var(--tech-blue);
    box-shadow: 0 0 10px 2px rgba(0, 243, 255, 0.7);
    left: auto;
    transform: none;
}

/* 游戏卡片网格布局 */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 1.5rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* 游戏卡片样式 - 科技感蓝色版 */
.game-card {
    background: linear-gradient(145deg, #14141f, #0a0a14);
    border: 2px solid var(--tech-blue);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    height: 380px;
    display: flex;
    flex-direction: column;
    transform: translateY(0);
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.3s ease;
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5), 0 0 10px rgba(0, 255, 255, 0.2) inset;
}

.game-card-link {
    text-decoration: none;
    color: inherit;
}

/* 科技感点缀 */
.game-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 50%, rgba(0, 255, 255, 0.1) 50%),
        linear-gradient(0deg, transparent 50%, rgba(0, 255, 255, 0.1) 50%);
    background-size: 20px 20px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* 蓝光扫过效果 */
.game-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 255, 255, 0.4),
        transparent
    );
    transform: skewX(-25deg);
    transition: left 0.7s ease;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0, 255, 255, 0.7), 0 0 25px rgba(0, 255, 255, 1);
    border: 2px solid var(--tech-blue);
}

.game-card:hover::before {
    opacity: 0.7;
}

.game-card:hover::after {
    left: 150%;
}

/* 游戏缩略图适应调整 */
.game-thumbnail {
    width: 100%;
    height: 180px;
    display: block;
    object-fit: cover;
}

/* 游戏信息部分 */
.game-info {
    padding: 0.8rem;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.game-info h3 {
    color: var(--tech-blue);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 500;
    font-family: 'Eurostile', sans-serif;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
    text-transform: uppercase;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-info p {
    color: rgba(255, 255, 255, 0.7);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 0.5rem;
}

/* 角落装饰 */
.game-card .game-info::before {
    content: '';
    position: absolute;
    width: 10px;
    height: 3px;
    background: var(--tech-blue);
    box-shadow: 0 0 20px 8px rgba(0, 255, 255, 1);
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.3s ease, width 0.3s ease;
}

.game-card .game-info::after {
    content: '';
    position: absolute;
    width: 3px;
    height: 10px;
    background: var(--tech-blue);
    box-shadow: 0 0 20px 8px rgba(0, 255, 255, 1);
    top: 10px;
    right: 10px;
    opacity: 0;
    transition: opacity 0.3s ease, height 0.3s ease;
}

.game-card:hover .game-info::before {
    opacity: 1;
    width: 20px;
}

.game-card:hover .game-info::after {
    opacity: 1;
    height: 20px;
}

/* 游戏卡片中的排名和难度 */
.game-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 15px;
    border-top: 1px solid rgba(0, 255, 255, 0.3);
    margin-top: auto;
    background-color: rgba(0, 10, 20, 0.7);
    border-radius: 5px;
}

.game-rank, .game-difficulty {
    color: var(--tech-blue);
    text-shadow: 0 0 8px rgba(0, 255, 255, 0.9);
    font-family: 'DS-Digital', monospace;
    letter-spacing: 1px;
    width: 100%;
    text-align: center;
}

.game-rank {
    font-size: 20px;
    font-weight: 600;
}

.game-difficulty {
    color: #f39c12;
}

.racing-games-intro {
    margin: 4rem auto 2rem;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    max-width: 1200px;
}

.racing-games-intro h3 {
    color: #1a1a1a;
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    position: relative;
    font-family: 'Racing Sans One', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.racing-games-intro h3::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #ff3838, #ff8c00);
    border-radius: 4px;
}

.intro-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
    padding: 0 1rem;
}

.experience-block,
.benefits-block,
.reminder-block {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.experience-block:hover,
.benefits-block:hover,
.reminder-block:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.intro-content h4 {
    color: #ff3838;
    font-size: 1.6rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.8rem;
    border-bottom: 2px solid #f0f0f0;
    font-family: 'Racing Sans One', 'Microsoft YaHei', 'PingFang SC', sans-serif;
    position: relative;
}

.intro-content h4::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #ff3838;
}

.intro-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.intro-content li {
    margin: 1.2rem 0;
    padding-left: 2rem;
    position: relative;
    line-height: 1.8;
    color: #444;
    font-size: 1.1rem;
    transition: transform 0.2s ease;
}

.intro-content li:hover {
    transform: translateX(5px);
}

.intro-content li::before {
    content: '🏁';
    position: absolute;
    left: 0;
    color: #ff3838;
    font-size: 1.2rem;
}

.reminder-block {
    background: linear-gradient(145deg, #fff5f5, #fff);
    border: 1px solid #ffe0e0;
}

.reminder-block h4 {
    color: #e74c3c;
}

.reminder-block li::before {
    content: '⚠️';
}

@media (max-width: 1024px) {
    .intro-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .racing-games-intro {
        padding: 2rem 1.5rem;
        margin: 3rem 1rem;
    }

    .intro-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .racing-games-intro h3 {
        font-size: 1.8rem;
    }

    .intro-content h4 {
        font-size: 1.4rem;
    }

    .intro-content li {
        font-size: 1rem;
        margin: 1rem 0;
    }
}

.racing-games-advantages {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 1rem;
    background: var(--tech-darker);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 255, 255, 0.3);
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.advantages-container {
    border-radius: 25px;
    padding: 3rem 2rem;
}

.advantages-container h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--tech-blue);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.9), 0 0 20px rgba(0, 243, 255, 0.7);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding: 0.4em 0.7em;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    font-size: 1.5rem;
    text-align: center;
}

.advantages-container h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 243, 255, 0.3), rgba(0, 243, 255, 0.9) 50%, rgba(0, 243, 255, 0.3) 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    transform: none;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.advantage-card {
    background: rgba(20, 20, 35, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 50%, rgba(0, 255, 255, 0.05) 50%),
        linear-gradient(0deg, transparent 50%, rgba(0, 255, 255, 0.05) 50%);
    background-size: 20px 20px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 255, 255, 0.2), 0 0 15px rgba(0, 255, 255, 0.4);
    border-color: rgba(0, 255, 255, 0.6);
}

.advantage-card:hover::before {
    opacity: 0.5;
}

.advantage-card h3 {
    font-family: 'Eurostile', sans-serif;
    color: var(--tech-blue);
    letter-spacing: 1px;
    position: relative;
    margin-top: 1rem;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
    width: 100%;
    display: block;
}

.advantage-card p {
    color: #ffffff;
    position: relative;
    z-index: 1;
    line-height: 1.8;
}

.advantage-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(10, 10, 20, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    font-size: 2rem;
}

.advantage-icon::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.3) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.advantage-card:hover .advantage-icon::after {
    opacity: 1;
}

/* FAQ部分 */
.racing-games-faq {
    padding: 3rem 0;
    position: relative;
    background: rgba(0, 0, 0, 0.6);
    max-width: 1200px;
    margin: 2rem auto;
}

.faq-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    background: var(--tech-darker);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 255, 255, 0.3);
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.faq-container h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--tech-blue);
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.9), 0 0 20px rgba(0, 243, 255, 0.7);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding: 0.4em 0.7em;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    margin-top: 60px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
}

.faq-container h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 243, 255, 0.3), rgba(0, 243, 255, 0.9) 50%, rgba(0, 243, 255, 0.3) 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    transform: none;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 1.5rem;
    padding: 1.5rem;
}

.faq-item {
    background: rgba(20, 20, 35, 0.7);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

.faq-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 50%, rgba(0, 255, 255, 0.05) 50%),
        linear-gradient(0deg, transparent 50%, rgba(0, 255, 255, 0.05) 50%);
    background-size: 20px 20px;
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 25px rgba(0, 255, 255, 0.2), 0 0 15px rgba(0, 255, 255, 0.4);
    border-color: rgba(0, 255, 255, 0.6);
}

.faq-item:hover::before {
    opacity: 0.5;
}

.faq-question {
    display: flex;
    align-items: center;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
}

.question-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(10, 10, 20, 0.8);
    border: 1px solid rgba(0, 255, 255, 0.4);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
    margin-right: 1rem;
    color: var(--tech-blue);
    font-weight: bold;
    font-size: 1rem;
    font-family: 'Digital-7', 'DS-Digital', monospace;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.8);
}

.faq-question h3 {
    font-family: 'Eurostile', sans-serif;
    color: var(--tech-blue);
    letter-spacing: 1px;
    position: relative;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
    font-size: 1rem;
    margin: 0;
    flex: 1;
}

.faq-answer {
    position: relative;
    z-index: 1;
    padding-left: 2.5rem;
    border-left: 1px dashed rgba(0, 255, 255, 0.3);
    margin-left: 0.9rem;
}

.faq-answer p {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* 响应式适配 */
@media (max-width: 992px) {
    .advantages-grid, .faq-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .advantages-grid, .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .mobile-controls-container {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999;
        padding: 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        background: rgba(5, 5, 15, 0.6);
        backdrop-filter: blur(5px);
        border-top: 1px solid rgba(0, 243, 255, 0.3);
        height: 60px;
        box-sizing: border-box;
    }
    /*
    .mobile-controls-container:not(.mobile-view) {
        display: none;
    }*/
    
    .audio-controls {
        position: static;
        flex-direction: row;
    }
    
    .music-btn {
        width: 40px;
        height: 40px;
        margin: 0;
    }
    
    .go-top-btn {
        width: 40px;
        height: 40px;
        position: static;
        margin: 0;
        opacity: 0;
        z-index: 10;
        background: rgba(5, 5, 15, 0.8);
        border: 2px solid var(--tech-blue);
    }
    
    .go-top-btn svg {
        width: 22px;
        height: 22px;
        stroke: var(--tech-blue);
        stroke-width: 2.5;
    }
    
    .go-top-btn.visible {
        opacity: 1;
        visibility: visible;
        transform: none;
        display: flex !important;
    }
    
    .music-notification {
        bottom: 70px;
        left: 10px;
        right: 10px;
        max-width: none;
        width: auto;
        text-align: center;
    }
    
    .audio-controls .music-tooltip {
        display: none;
    }
    
    footer {
        margin-bottom: 70px;
        position: relative;
        z-index: 100;
        padding: 1.5rem 1rem;
        background-color: rgba(10, 10, 20, 0.95);
        border-top: 2px solid rgba(0, 243, 255, 0.4);
        box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
    }
    
    footer p {
        color: #00f3ff;
        text-shadow: 0 0 5px rgba(0, 243, 255, 0.7);
        font-size: 1rem;
        margin: 0;
        padding: 0;
    }
    
    /* 添加一个顶部发光效果 */
    footer::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 2px;
        background: #00f3ff;
        box-shadow: 0 0 10px 2px rgba(0, 243, 255, 0.8);
    }
}

@media (min-width: 577px) {
    .audio-controls {
        position: fixed;
        bottom: 20px;        
    }
    
    .go-top-btn {
        position: fixed;
        bottom: 80px;       
    }
}

#go-top {
    display: flex !important;
    justify-content: center;
    align-items: center;
    z-index: 1001;
    bottom: 80px;
    position: fixed;
}

.go-top-btn {
    width: 50px;
    height: 50px;
    background: var(--tech-dark);
    border: 2px solid rgba(0, 243, 255, 0.6);
    border-radius: 8px;
    color: var(--tech-blue);
    cursor: pointer;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    transition: all 0.3s ease;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    z-index: 100;
}

.go-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-top-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.7);
    border-color: var(--tech-blue);
    background: rgba(0, 243, 255, 0.2);
}

.go-top-btn svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    transition: transform 0.3s ease;
}

.go-top-btn:hover svg {
    transform: translateY(-2px);
}

  /* 音乐控制按钮样式 */
  .audio-controls {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1003;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.music-btn {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: rgba(10, 10, 20, 0.8);
    border: 2px solid rgba(0, 243, 255, 0.6);
    color: #00f3ff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.3);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
    padding: 0;
    animation: pulse-attention 2s infinite;
}

@keyframes pulse-attention {
    0%, 100% { transform: scale(1); box-shadow: 0 0 15px rgba(0, 243, 255, 0.3); }
    50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(0, 243, 255, 0.5); }
}

.music-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.7);
    border-color: #00f3ff;
    background: rgba(0, 243, 255, 0.2);
    animation: none;
}

.music-tooltip {
    position: absolute;
    background: rgba(5, 5, 15, 0.9);
    color: #00f3ff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 12px;
    bottom: 60px;
    right: 0;
    white-space: nowrap;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
    pointer-events: none;
    border: 1px solid rgba(0, 243, 255, 0.3);
    font-family: 'Digital-7', 'DS-Digital', monospace;
    text-shadow: 0 0 5px rgba(0, 243, 255, 0.5);
    z-index:1001;
}

.audio-controls:hover .music-tooltip {
    opacity: 1;
    transform: translateY(0);
}

/* 替换原来的赛车主题按钮为科技主题 */
.music-icon {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.equalizer {
    display: flex;
    align-items: flex-end;
    height: 20px;
    width: 20px;
}

.bar {
    background: #00f3ff;
    width: 3px;
    height: 10px;
    margin: 0 1px;
    border-radius: 1px;
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.8);
}

.music-btn:not(.muted) .bar:nth-child(1) {
    animation: equalize 1s infinite;
    animation-delay: 0.1s;
}

.music-btn:not(.muted) .bar:nth-child(2) {
    animation: equalize 1s infinite;
    animation-delay: 0.3s;
}

.music-btn:not(.muted) .bar:nth-child(3) {
    animation: equalize 1s infinite;
    animation-delay: 0.5s;
}

.music-btn:not(.muted) .bar:nth-child(4) {
    animation: equalize 1s infinite;
    animation-delay: 0.7s;
}

@keyframes equalize {
    0%, 100% { height: 5px; }
    50% { height: 15px; }
}

.music-btn.muted .bar {
    height: 3px;
}

.music-btn.muted::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: #00f3ff;
    transform: rotate(45deg);
    box-shadow: 0 0 8px rgba(0, 243, 255, 0.8);
}

.music-notification {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background: rgba(5, 5, 15, 0.9);
    color: #00f3ff;
    padding: 12px 18px;
    border-radius: 5px;
    font-size: 14px;
    z-index: 1001;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
    max-width: 250px;
    border: 1px solid rgba(0, 243, 255, 0.3);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.2);
    font-family: 'Eurostile', sans-serif;
}

.music-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.music-notification-close {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: #00f3ff;
    cursor: pointer;
    font-size: 16px;
}


 /* 简化高亮条 - 只应用于社交分享部分 */
 .social-share::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 243, 255, 0.3), rgba(0, 243, 255, 0.9) 50%, rgba(0, 243, 255, 0.3) 100%);
    opacity: 0.7;
    z-index: 2;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
}

/* 社交分享标题样式 */
.share-container h3 {
    font-family: 'Orbitron', sans-serif;
    color: #00f3ff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.9), 0 0 20px rgba(0, 243, 255, 0.7);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding: 0.4em 0.7em;
    letter-spacing: 2px;
    margin-bottom: 1.5rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
}

.share-container h3::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 243, 255, 0.3), rgba(0, 243, 255, 0.9) 50%, rgba(0, 243, 255, 0.3) 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    transform: none;
}

 /* 社交分享部分样式优化 */
 .social-share {
    position: relative;
    z-index: 1;
    background: rgba(5, 5, 15, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(0, 255, 255, 0.3);
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.2);
    margin: 6rem 0 3rem 0;
    padding: 2rem 0;
}

.share-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
}

.share-container h2 {
    font-family: 'Orbitron', sans-serif;
    color: #00f3ff;
    text-shadow: 0 0 10px rgba(0, 243, 255, 0.9), 0 0 20px rgba(0, 243, 255, 0.7);
    font-weight: 700;
    position: relative;
    display: inline-block;
    padding: 0.4em 0.7em;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 5px;
    font-size: 1.5rem;
    text-transform: uppercase;
}

.share-container h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, rgba(0, 243, 255, 0.3), rgba(0, 243, 255, 0.9) 50%, rgba(0, 243, 255, 0.3) 100%);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.5);
    transform: none;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 500px;
}

.share-btn {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    background: rgba(10, 10, 20, 0.8);
    border: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.share-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        315deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: transform 0.6s ease;
    z-index: 1;
}

.share-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(var(--btn-glow), 0.5);
    border-color: rgba(var(--btn-glow), 0.6);
}

.share-btn:hover::before {
    transform: rotate(45deg) translate(100%, 100%);
}

.share-btn svg {
    width: 28px;
    height: 28px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.5));
}

.share-btn.facebook {
    --btn-glow: 24, 119, 242;
    background-color: #1877f2;
}

.share-btn.twitter {
    --btn-glow: 29, 161, 242;
    background-color: #1da1f2;
}

.share-btn.linkedin {
    --btn-glow: 0, 119, 181;
    background-color: #0077b5;
}

.share-btn.pinterest {
    --btn-glow: 230, 0, 35;
    background-color: #e60023;
}