body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    transition: background-image 0.5s ease;
    background-color: #f0f0f0; /* 浅色默认背景 */
}

/* 暗色模式下的默认背景色 */
.dark {
    background-color: #1a1a1a;
}

h1 {
    text-align: center;
    font-size: 3em;
    margin-top: 40px;
}

.file-item {
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.2s ease;
}

.folder-text {
    color: #2563eb;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.folder-text:hover {
    color: #1d4ed8;
    background-color: #f3f4f6;
    text-decoration: underline;
}

.folder-text:active {
    background-color: #e5e7eb;
    transform: translateY(1px);
}

.back-button {
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.back-button:hover {
    background-color: #e0e7ff;
}

@media (max-width: 640px) {
    .max-w-4xl {
        max-width: 100%;
    }
    .file-item {
        padding: 3px 4px;
    }
    
    .folder-text {
        font-size: 0.9rem;
    }
}

/* 时钟样式 */
#htmer_time {
    text-align: center;
    margin-top: 50px;
    font-size: 1em;
    background: linear-gradient(90deg, #FF0000, #FF4000, #FF8000, #FFBF00, #FFFF00, #BFFF00, #80FF00, #40FF00, #00FF00, #00FF40, #00FF80, #00FFBF, #00FFFF, #00BFFF, #0080FF, #0040FF, #0000FF, #4000FF, #8000FF, #BF00FF, #FF00FF, #FF00BF, #FF0080, #FF0040);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: rainbow 3s ease-in-out infinite;
}

@keyframes rainbow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 播放器容器样式 */
.player-container {
    text-align: center;
    margin: 20px 0;
}

.player-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* 播放器显示控制 */
#springFestivalPlayer,
#october7thPlayer,
#nationalDayMusicPlayer {
    display: none;
}

/* 页脚样式 */
.footer {
    text-align: center;
    opacity: 0.7;
    margin-top: 20px;
    padding: 10px 0;
    color: white;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.footer-row {
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-icon {
    width: 16px;
    height: 16px;
}

.footer-link {
    color: white;
    text-decoration: none;
}

.footer-link.highlight {
    color: rgb(248, 5, 142);
}

.footer-link.black {
    color: black;
}

/* 导航栏样式 */
.border-b.border-gray-200.bg-transparent {
    background-color: #000000 !important;
}

/* 欢迎回来文本样式 */
.text-gray-800.font-medium {
    color: #ff0000 !important;
    white-space: nowrap;
    animation: marquee 10s linear infinite;
    display: inline-block;
    padding-left: 100%;
}

@keyframes marquee {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* 备案信息样式 */
.ICP-info {
    text-align: center;
    padding: 10px 0;
}

.ICP-info-content {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ICP-icon {
    width: 20px;
    height: 20px;
}

.ICP-link {
    color: white;
    font-size: 14px;
    text-decoration: none;
}