* {
    
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(to bottom, #a93839, #a93839);
    color: #a93839;
    min-height: 100vh;
    padding-top: 0px; /* 為頂部播放器留出空間 */
}

/* 頂部固定播放器樣式 */
.top-audio-player {
    
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: #672726;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    
   
}

.player-title {
    display: flex;
    align-items: center;
    gap: 15px;
}

.music-icon {
    width: 40px;
    height: 40px;
    background: #ff6b6b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.title-text1 h3 {
    color: white;
    font-size: 14px;
    margin-bottom: 0px;
}

.title-text1 p {
    color: white;
    font-size: 12px;
    opacity: 0.8;
}

/* 自定義音訊控制欄 */
.audio-container {
    flex-grow: 1;
    max-width: 600px;
    margin: 0 20px;
}

.custom-audio-controls {
    display: flex;
    align-items: center;
    gap: 15px;

    padding: 10px 15px;
    border-radius: 30px;
}

/* 自定義控制按鈕 */
.control-btn {
    background: #ff6b6b;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.3s;
}

.control-btn:hover {
    background: #ff5252;
    transform: scale(1.1);
}

/* 自定義進度條 */
.progress-container {
    flex-grow: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-display {
    font-size: 14px;
    min-width: 100px;
    text-align: center;
    font-family: 'Courier New', monospace;
}

.progress-bar {
    flex-grow: 1;
    height: 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #ff6b6b;
    border-radius: 3px;
    transition: width 0.1s;
}

/* 音量控制 */
.volume-control {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-icon {
    color: white;
    font-size: 18px;
}

.volume-slider {
    width: 80px;
    height: 5px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: #ff6b6b;
    cursor: pointer;
}

/* 狀態指示器 */
.player-status {
    background: rgba(0, 0, 0, 0.3);
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 180px;
}

.status-icon {
    font-size: 16px;
}

.muted-indicator {
    color: #ff6b6b;
    font-weight: bold;
}

/* 內容區域 */
.content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
}

.content h1 {
    text-align: center;
    margin-bottom: 30px;
    color: #4db6ac;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.unmute-notice {
    background: rgba(255, 107, 107, 0.1);
    border: 2px dashed #ff6b6b;
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
    text-align: center;
}

.unmute-btn {
    background: linear-gradient(45deg, #ff6b6b, #ff8e53);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 18px;
    border-radius: 50px;
    cursor: pointer;
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.unmute-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 25px;
    transition: transform 0.3s;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.12);
}

.card h3 {
    color: #81c784;
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.card p {
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* 響應式設計 */
@media (max-width: 768px) {
    .top-audio-player {
        flex-direction: column;
        height: auto;
        padding: 15px;
        gap: 15px;
    }
    
    .audio-container {
        width: 100%;
        margin: 10px 0;
    }
    
    .player-status {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    body {
        padding-top: 0px;
    }
}

@media (max-width: 480px) {
    .custom-audio-controls {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .content h1 {
        font-size: 1.8rem;
    }
}

/* 雪花效果 */
.snowflake {
    position: fixed;
    top: -20px;
    color: white;
    font-size: 20px;
    opacity: 0.7;
    z-index: -1;
    animation: fall linear infinite;
}

@keyframes fall {
    to {
        transform: translateY(100vh);
    }
}

.container {
    position: relative;
    
    
}

#snowCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

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

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f9f9f9;
   
}



h1 {
    color: #2c3e50;
    margin-bottom: 10px;
}

.description {
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto 20px;
}

/* 走马灯容器 */
.marquee-banner {
    width: 100%;
    height: 150px;
    position: relative;
    background-color: #2c3e50;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 走马灯轨道 */
.marquee-track {
    display: flex;
    height: 100%;
    position: absolute;
    animation: scroll 30s linear infinite;
}

/* 走马灯项目 */
.marquee-item {
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.marquee-item img {
    height: 100%;
    width: auto;
    object-fit: cover;
}

/* 动画定义 */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .marquee-banner {
        height: 200px;
    }
}

@media (max-width: 480px) {
    .marquee-banner {
        height: 150px;
    }
    
    h1 {
        font-size: 24px;
    }
}