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

:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-card: #ffffff;
    --accent: #ff6b6b;
    --accent-hover: #ff8787;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --border-color: #e5e5e5;
    --border-radius: 12px;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

.header {
    background: var(--bg-primary);
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.header-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-logo img {
    height: 42px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

.header-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent) 0%, #ffd93d 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 13px;
    margin-top: 4px;
}

@media (max-width: 600px) {
    .header-left {
        gap: 10px;
    }
    
    .header-logo img {
        height: 32px;
        max-width: 120px;
    }
    
    .logo {
        font-size: 22px;
    }
    
    .subtitle {
        font-size: 11px;
    }
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

/* ========== Header统计信息 ========== */
.header-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px;
    background: rgba(0, 0, 0, 0.03);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.header-stat {
    display: flex;
    align-items: center;
    gap: 4px;
}

.header-stat-value {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent);
}

.header-stat-label {
    font-size: 11px;
    color: var(--text-secondary);
}

/* 搜索框样式 */
.header-search {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(0, 0, 0, 0.08);
    transition: all 0.2s;
}

.header-search:focus-within {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(102, 126, 234, 0.15);
}

.header-search .search-icon {
    color: var(--text-secondary);
    flex-shrink: 0;
}

.header-search input {
    border: none;
    outline: none;
    background: transparent;
    font-size: 13px;
    color: var(--text);
    width: 100px;
    transition: width 0.2s;
}

.header-search input::placeholder {
    color: var(--text-secondary);
}

.header-search input:focus {
    width: 140px;
}

.header-stat:first-child .header-stat-value {
    color: #667eea;
}

@media (max-width: 900px) {
    .header-stats {
        padding: 5px 10px;
        gap: 8px;
    }
    .header-stat-value {
        font-size: 13px;
    }
    .header-stat-label {
        font-size: 10px;
    }
    .header-search {
        padding: 3px 8px;
    }
    .header-search input {
        width: 70px;
        font-size: 12px;
    }
    .header-search input:focus {
        width: 90px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 16px 12px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 12px;
    }
    
    .header-left {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        width: 100%;
    }
    
    .header-logo img {
        height: 36px;
    }
    
    .header-text {
        align-items: center;
    }
    
    .logo {
        font-size: 20px;
    }
    
    .subtitle {
        font-size: 11px;
        text-align: center;
    }
    
    .header-right {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        width: 100%;
    }
    
    .header-stats {
        order: 1;
        width: auto;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header-search {
        order: -1;
        width: 100%;
        margin-bottom: 6px;
    }
    
    .header-search input {
        width: 100%;
    }
    
    .user-info {
        justify-content: center;
    }
    
    .btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .btn-outline {
        font-size: 12px;
        padding: 6px 12px;
    }
}

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.user-name {
    font-size: 14px;
    font-weight: 500;
}

.vip-badge {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #fff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
}

/* ========== 幻灯片样式 ========== */
.slider-container {
    display: none;
    max-width: 1400px;
    margin: 20px auto;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--bg-secondary);
}

.slider-wrapper {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 25%;
}

.slider-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.slider-slide.active {
    opacity: 1;
    z-index: 1;
}

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
}

.slider-slide a {
    display: block;
    width: 100%;
    height: 100%;
}

/* 美化左右切换按钮 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.95);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    color: #333;
    font-size: 20px;
    font-weight: bold;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.slider-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    color: var(--accent);
}

.slider-arrow:active {
    transform: translateY(-50%) scale(1.05);
}

.slider-prev {
    left: 20px;
}

.slider-next {
    right: 20px;
}

.slider-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background: white;
}

.slider-dot:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ========== 公告滚动栏样式 ========== */
.announcement-bar {
    display: none;
    max-width: 1400px;
    margin: 0 auto 20px;
    padding: 0 20px;
}

.announcement-container {
    background: linear-gradient(135deg, #fff9e6 0%, #fff3cc 100%);
    border: 1px solid #ffd700;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.15);
}

.announcement-icon {
    padding: 12px 16px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
    color: #8b6914;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.announcement-content {
    flex: 1;
    height: 44px;
    overflow: hidden;
    position: relative;
    padding: 0 16px;
}

.announcement-list {
    position: absolute;
    width: 100%;
    animation: announcementScroll 8s linear infinite;
}

.announcement-item {
    height: 44px;
    line-height: 44px;
    color: #8b6914;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.announcement-item a {
    color: #d48806;
    text-decoration: none;
    font-weight: 500;
}

.announcement-item a:hover {
    text-decoration: underline;
}

@keyframes announcementScroll {
    0% { transform: translateY(0); }
    20% { transform: translateY(0); }
    25% { transform: translateY(-44px); }
    45% { transform: translateY(-44px); }
    50% { transform: translateY(-88px); }
    70% { transform: translateY(-88px); }
    75% { transform: translateY(-132px); }
    95% { transform: translateY(-132px); }
    100% { transform: translateY(0); }
}

/* 公告少于等于2条时的样式 */
.announcement-list.single {
    animation: none;
}

.announcement-list.double {
    animation: announcementScrollDouble 6s linear infinite;
}

@keyframes announcementScrollDouble {
    0% { transform: translateY(0); }
    40% { transform: translateY(0); }
    50% { transform: translateY(-44px); }
    90% { transform: translateY(-44px); }
    100% { transform: translateY(0); }
}

/* ========== 排序栏 ========== */
.sort-bar {
    background: var(--bg-secondary);
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.sort-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.sort-stats {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 10px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    width: fit-content;
}

.sort-item {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    color: var(--text-secondary);
}

.sort-item:hover {
    background: rgba(102, 126, 234, 0.08);
    color: var(--text);
}

.sort-item.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 500;
}

.sort-item svg {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .sort-bar {
        padding: 10px 0;
    }
    
    .sort-container {
        padding: 0 12px;
    }
    
    .sort-stats {
        padding: 5px 10px;
        gap: 6px;
        width: 100%;
        justify-content: center;
    }
    
    .sort-item {
        padding: 5px 8px;
        font-size: 12px;
        gap: 4px;
    }
    
    .sort-item svg {
        width: 12px;
        height: 12px;
    }
}

@media (max-width: 480px) {
    .sort-item span {
        display: none;
    }
    
    .sort-item {
        padding: 8px 12px;
    }
    
    .sort-item svg {
        width: 16px;
        height: 16px;
    }
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* ========== 按钮样式 ========== */
.btn-primary {
    background: linear-gradient(135deg, var(--accent) 0%, #ff8787 100%);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #eaeaea;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--bg-secondary);
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 15px;
}

.masonry {
    display: flex;
    gap: 15px;
    width: 100%;
    align-items: flex-start;
}

.masonry-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

@media (max-width: 1024px) {
    .masonry { gap: 12px; }
    .masonry-column { gap: 12px; }
}

@media (max-width: 768px) {
    .container { padding: 15px 10px; }
    .masonry { gap: 10px; }
    .masonry-column { gap: 10px; }
    
    /* 手机端卡片横图比例 */
    .card img {
        aspect-ratio: 16/9 !important;  /* 横图比例 16:9 */
        object-fit: cover;
        min-height: auto !important;
        height: auto !important;
    }
}

.card {
    margin-bottom: 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: #1a1a2e;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}

.card img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease, opacity 0.4s ease;
    background: #1a1a2e;
    min-height: 200px;
}

.card img.lazy-loading {
    opacity: 0.3;
    min-height: 200px;
    transition: opacity 0.4s ease;
    filter: blur(2px);
}

.card img.lazy-loaded {
    opacity: 1;
    min-height: auto;
    filter: blur(0);
    transition: opacity 0.4s ease, filter 0.4s ease;
}

.card:hover img {
    transform: scale(1.02);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    padding: 60px 12px 12px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover .card-overlay {
    opacity: 1;
}

.card-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
}

#backToTopBtn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--primary-color, #4a6cf7);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 999;
    transition: opacity 0.3s, transform 0.3s;
    opacity: 0.85;
}
#backToTopBtn:hover {
    opacity: 1;
    transform: scale(1.1);
}

.card-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    color: white;
    padding: 0;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.card-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card-btn:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.card-btn:hover::before {
    opacity: 1;
}

.card-btn:active {
    transform: scale(1.05);
}

.card-btn.btn-preview {
    background: rgba(102, 126, 234, 0.4);
    border-color: rgba(102, 126, 234, 0.5);
}

.card-btn.btn-preview:hover {
    background: rgba(102, 126, 234, 0.6);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.card-btn.btn-download-card {
    background: rgba(255, 107, 107, 0.4);
    border-color: rgba(255, 107, 107, 0.5);
}

.card-btn.btn-download-card:hover {
    background: rgba(255, 107, 107, 0.6);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

.card-btn svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
}

.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 40px;
    color: var(--text-secondary);
    font-size: 14px;
}

.hidden {
    display: none !important;
}

.loading.hidden {
    display: none;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.load-more {
    height: 1px;
}

/* ========== 加载完毕提示 ========== */
.end-message {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 50px 20px;
    margin-bottom: 30px;
}

.end-divider {
    flex: 1;
    max-width: 120px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
}

.end-text {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 1px;
    white-space: nowrap;
    padding: 8px 20px;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid var(--border-color);
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
}

/* ========== 预览导航按钮 ========== */
.modal-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.modal-nav-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.modal-nav-prev {
    left: 20px;
}

.modal-nav-next {
    right: 20px;
}

@media (max-width: 768px) {
    .modal-nav-btn {
        width: 40px;
        height: 40px;
    }
    
    .modal-nav-prev {
        left: 10px;
    }
    
    .modal-nav-next {
        right: 10px;
    }
}

.modal-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    z-index: 1;
    animation: modalIn 0.3s ease;
}

@keyframes modalIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.modal-image {
    max-width: 100%;
    max-height: 80vh;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    transition: opacity 0.25s ease;
}

.modal-info {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.info-item svg {
    opacity: 0.6;
}

.modal-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
    padding: 0 10px;
}

.btn-download, .btn-close {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    min-width: 140px;
}

.btn-download {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 50%, #ff6b6b 100%);
    background-size: 200% 200%;
    color: white;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: gradientShift 3s ease infinite;
}

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

.btn-download:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

.btn-download:active {
    transform: translateY(-1px);
}

.btn-download:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.2);
    animation: none;
    background: linear-gradient(135deg, #ccc 0%, #999 100%);
}

.btn-close {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-close:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0.1) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-close:active {
    transform: translateY(-1px);
}

.vip-tip {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 165, 0, 0.1) 100%);
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-size: 13px;
    text-align: center;
    margin-top: 16px;
    backdrop-filter: blur(10px);
}

.vip-tip a {
    color: #ffd700;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.vip-tip a:hover {
    color: #ffec8b;
    text-decoration: underline;
}

/* ========== 移动端响应式 ========== */
@media (max-width: 600px) {
    /* 幻灯片移动端适配 */
    .slider-container {
        margin: 15px auto;
        padding: 0 15px;
        border-radius: 12px;
    }
    
    .slider-wrapper {
        padding-bottom: 50%;
    }
    
    .slider-arrow {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .slider-prev {
        left: 10px;
    }
    
    .slider-next {
        right: 10px;
    }
    
    .slider-dots {
        bottom: 10px;
    }
    
    .slider-dot {
        width: 6px;
        height: 6px;
    }
    
    .slider-dot.active {
        width: 18px;
    }
    
    /* 公告栏移动端适配 */
    .announcement-bar {
        margin: 0 auto 15px;
        padding: 0 15px;
    }
    
    .announcement-icon {
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .announcement-content {
        height: 36px;
        padding: 0 12px;
    }
    
    .announcement-item {
        height: 36px;
        line-height: 36px;
        font-size: 13px;
    }
    
    @keyframes announcementScroll {
        0% { transform: translateY(0); }
        20% { transform: translateY(0); }
        25% { transform: translateY(-36px); }
        45% { transform: translateY(-36px); }
        50% { transform: translateY(-72px); }
        70% { transform: translateY(-72px); }
        75% { transform: translateY(-108px); }
        95% { transform: translateY(-108px); }
        100% { transform: translateY(0); }
    }
    
    @keyframes announcementScrollDouble {
        0% { transform: translateY(0); }
        40% { transform: translateY(0); }
        50% { transform: translateY(-36px); }
        90% { transform: translateY(-36px); }
        100% { transform: translateY(0); }
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 12px;
        padding: 0;
    }
    
    .btn-download, .btn-close {
        width: 100%;
        padding: 14px 24px;
    }
    
    .modal-info {
        flex-direction: column;
        gap: 8px;
        padding: 10px 16px;
    }
    
    .info-item {
        justify-content: center;
    }
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    padding: 20px;
}

.auth-box {
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
    width: 100%;
    max-width: 400px;
}

.auth-title {
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 30px;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
}

.form-error {
    color: #e74c3c;
    font-size: 13px;
    margin-top: 8px;
}

.auth-switch {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

.auth-switch a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 500;
    color: var(--text-secondary);
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.tab.active {
    color: var(--accent);
    border-bottom-color: var(--accent);
}

.admin-container {
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-title {
    font-size: 24px;
    font-weight: 700;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 4px;
}

.data-table {
    width: 100%;
    background: var(--bg-primary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    border-collapse: collapse;
}

.data-table th, .data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 13px;
    text-transform: uppercase;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background: var(--bg-secondary);
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.badge-vip {
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 100%);
    color: #fff;
}

.badge-user {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

.badge-admin {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.action-btns {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 6px;
}

.btn-danger {
    background: #fee;
    color: #e74c3c;
    border: 1px solid #fcc;
}

.btn-danger:hover {
    background: #fdd;
}

.btn-success {
    background: #efe;
    color: #27ae60;
    border: 1px solid #cfc;
}

.btn-success:hover {
    background: #dfd;
}

/* ========== 登录/注册弹窗 ========== */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.auth-modal-box {
    position: relative;
    background: var(--bg-primary);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    margin: 20px;
    animation: authModalIn 0.3s ease;
}

@keyframes authModalIn {
    from {
        transform: scale(0.9) translateY(-20px);
        opacity: 0;
    }
    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.auth-close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 24px;
    line-height: 1;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-close-btn:hover {
    background: var(--accent);
    color: white;
    transform: rotate(90deg);
}

.auth-tabs {
    display: flex;
    border-radius: 12px;
    background: var(--bg-secondary);
    padding: 4px;
    margin-bottom: 24px;
}

.auth-tab {
    flex: 1;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: var(--bg-primary);
    color: var(--accent);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-block {
    width: 100%;
    padding: 14px 24px;
}

@media (max-width: 480px) {
    .auth-modal-box {
        padding: 30px 24px;
        margin: 16px;
        max-width: calc(100% - 32px);
        border-radius: 16px;
    }
    
    .auth-title {
        font-size: 20px;
    }
    
    .auth-subtitle {
        font-size: 13px;
    }
    
    .auth-tab {
        padding: 10px;
        font-size: 13px;
    }
    
    .form-label {
        font-size: 13px;
    }
    
    .form-input {
        padding: 12px;
        font-size: 14px;
    }
}

/* 加载更多按钮 */
.load-more-container {
    display: flex;
    justify-content: center;
    padding: 30px 20px 50px;
}

.load-more-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.load-more-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.load-more-btn:active {
    transform: translateY(0);
}

.load-more-btn svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-3px);
    }
    60% {
        transform: translateY(-2px);
    }
}
