.download-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 20px;
}
.download-header {
    background: #1d2229;
    border-radius: 18px;
    padding: 30px;
    margin-bottom: 30px;
    border: 1px solid rgba(255,255,255,0.06);
}
.download-header h1 {
    font-size: 28px;
    color: #fff;
    margin-bottom: 8px;
}
.download-header .authors {
    color: #8b949e;
    font-size: 16px;
    margin-bottom: 16px;
}
.security-banner {
    background: rgba(85, 216, 139, 0.08);
    border: 1px solid rgba(85, 216, 139, 0.15);
    border-radius: 12px;
    padding: 12px 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    font-size: 14px;
    color: #b0b8c2;
    margin-bottom: 20px;
}
.security-banner span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.auth-image-container {
    text-align: center;
    margin: 10px 0;
}
.auth-image {
    max-width: 300px;
    max-height: 150px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
}
.auth-hint {
    color: #55d88b;
    font-size: 14px;
    margin-top: 6px;
}
.auth-missing {
    background: rgba(255, 200, 0, 0.08);
    border: 1px solid rgba(255, 200, 0, 0.15);
    border-radius: 10px;
    padding: 12px;
    color: #f0c040;
    text-align: center;
}
.file-list {
    background: #1d2229;
    border-radius: 18px;
    padding: 20px 24px;
    overflow-x: auto;
}
.file-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    min-width: 700px;
}
.file-table th {
    text-align: left;
    padding: 12px 8px;
    color: #8b949e;
    font-weight: 600;
    font-size: 12px;
    text-transform: uppercase;
    border-bottom: 1px solid #2b313b;
}
.file-table td {
    padding: 12px 8px;
    border-bottom: 1px solid #21272e;
    color: #e6edf3;
}
.file-table tr:last-child td {
    border-bottom: none;
}
.file-table .file-name {
    font-weight: 500;
}
.file-table .download-count {
    color: #b0b8c2;
}
.file-table .file-date, .file-table .file-size {
    color: #8b949e;
    font-size: 13px;
}
.file-download .download-btn {
    background: var(--primary-color, #55d88b);
    border: none;
    border-radius: 6px;
    padding: 6px 16px;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}
.file-download .download-btn:hover {
    background: var(--primary-bright, #6ae09c);
    transform: scale(1.02);
}
.file-download .download-btn:active {
    transform: scale(0.95);
}
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.7);
    backdrop-filter: blur(8px);
    z-index: 10000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}
.modal-overlay.active {
    display: flex;
}
.checksum-modal {
    max-width: 500px;
    width: 100%;
    background: #1d2229;
    border-radius: 24px;
    padding: 30px 32px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 30px 60px rgba(0,0,0,0.7);
    position: relative;
}
.checksum-modal .modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 28px;
    cursor: pointer;
    transition: 0.2s;
}
.checksum-modal .modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}
.checksum-modal h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 16px;
}
.checksum-details p {
    margin: 6px 0;
    color: #e6edf3;
    font-size: 14px;
    word-break: break-all;
}
.checksum-details strong {
    color: #8b949e;
    margin-right: 8px;
}
.checksum-details span {
    font-family: monospace;
    background: #0b0f14;
    padding: 2px 8px;
    border-radius: 4px;
    color: #55d88b;
}
.captcha-section {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid #2b313b;
}
.captcha-hint {
    color: #b0b8c2;
    font-size: 14px;
    margin-bottom: 12px;
}
.captcha-row {
    display: flex;
    align-items: center;
    gap: 12px;
}
.captcha-row input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid #2b313b;
    background: rgba(255,255,255,0.04);
    color: #fff;
    font-size: 16px;
    outline: none;
    height: 44px;
}
.captcha-row input:focus {
    border-color: rgba(85,216,139,0.4);
}
.captcha-row img {
    height: 44px;
    border-radius: 8px;
    cursor: pointer;
}
.confirm-download-btn {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    background: #55d88b;
    border: none;
    border-radius: 10px;
    color: #111;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: 0.2s;
}
.confirm-download-btn:hover {
    background: #6ae09c;
}
.modal-errors {
    margin-top: 10px;
    color: #ff6b6b;
    font-size: 14px;
    min-height: 24px;
}
@media (max-width: 600px) {
    .download-header {
        padding: 20px;
    }
    .download-header h1 {
        font-size: 22px;
    }
    .file-list {
        padding: 12px 16px;
    }
    .file-table {
        font-size: 13px;
    }
    .checksum-modal {
        padding: 20px 16px;
    }
}
.no-auth-message,
.no-files-message {
    text-align: center;
    padding: 60px 20px;
    background: #1d2229;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.06);
    color: #b0b8c2;
}
.no-auth-icon {
    font-size: 64px;
    margin-bottom: 16px;
}
.no-auth-message h2 {
    color: #f0c040;
    font-size: 24px;
    margin-bottom: 12px;
}
.no-auth-message p,
.no-files-message p {
    font-size: 16px;
    margin: 6px 0;
    color: #8b949e;
}
.no-files-message {
    padding: 40px 20px;
    color: #8b949e;
}
.filter-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 24px;
    background: #1d2229;
    border-radius: 18px;
    padding: 16px 24px;
    margin-bottom: 20px;
    border: 1px solid rgba(255,255,255,0.06);
}
.filter-group {
    display: flex;
    align-items: center;
    gap: 8px;
}
.filter-group label {
    color: #8b949e;
    font-size: 14px;
    font-weight: 500;
}
.filter-group select {
    background: rgba(255,255,255,0.04);
    color: #e6edf3;
    border: 1px solid #2b313b;
    border-radius: 8px;
    padding: 6px 12px;
    font-size: 14px;
    outline: none;
    cursor: pointer;
    min-width: 100px;
}
.filter-group select:focus {
    border-color: rgba(85,216,139,0.4);
}
.filter-group select option {
    background: #1d2229;
    color: #e6edf3;
}
.clear-filters-btn {
    background: rgba(255,255,255,0.04);
    border: 1px solid #2b313b;
    border-radius: 8px;
    padding: 6px 16px;
    color: #b0b8c2;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
}
.clear-filters-btn:hover {
    background: rgba(255,255,255,0.08);
    color: #fff;
}
.filter-count {
    color: #8b949e;
    font-size: 14px;
    margin-left: auto;
}

/* ===== 游客提示条 ===== */
.guest-tip {
    background: rgba(85, 216, 139, 0.08);
    border-left: 4px solid #55d88b;
    padding: 10px 16px;
    margin: -10px 0 20px 0;
    border-radius: 4px;
    font-size: 14px;
    color: #b0d4c0;
}
.guest-tip a {
    color: #55d88b;
    text-decoration: underline;
}
.guest-tip a:hover {
    color: #6ae09c;
}

/* ===== 注册引导模态框 ===== */
.register-guide-modal {
    max-width: 460px;
    width: 100%;
    background: #1d2229;
    border-radius: 24px;
    padding: 40px 36px;
    border: 1px solid rgba(255,255,255,0.06);
    box-shadow: 0 30px 60px rgba(0,0,0,0.7);
    position: relative;
    text-align: center;
}
.register-guide-modal .modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: rgba(255,255,255,0.4);
    font-size: 28px;
    cursor: pointer;
    transition: 0.2s;
}
.register-guide-modal .modal-close:hover {
    color: #fff;
    transform: rotate(90deg);
}

/* 礼物盒图标 - 清新绿色 */
.register-guide-icon {
    font-size: 52px;
    color: #55d88b;
    margin-bottom: 12px;
}

.register-guide-content h3 {
    color: #fff;
    font-size: 24px;
    margin-bottom: 8px;
}
.register-guide-content > p {
    color: #8b949e;
    font-size: 15px;
    margin-bottom: 16px;
}
.register-guide-content ul {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    text-align: left;
    display: inline-block;
}
.register-guide-content ul li {
    color: #e6edf3;
    padding: 6px 0;
    font-size: 15px;
}
.register-guide-content ul li i {
    color: #55d88b;
    margin-right: 10px;
    width: 18px;
}
.register-guide-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 4px;
}
.register-guide-actions a {
    display: block;
    padding: 12px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: 0.2s;
}

/* QQ按钮 - QQ蓝 */
.btn-qq {
    background: #12b7f5;
    color: #fff;
}
.btn-qq:hover {
    background: #0ea3db;
}
.btn-qq i {
    margin-right: 8px;
}

/* 注册按钮 - 绿色 */
.btn-register {
    background: #55d88b;
    color: #1d2229;
}
.btn-register:hover {
    background: #6ae09c;
}

/* 登录按钮 - 低调 */
.btn-login {
    background: rgba(255,255,255,0.06);
    color: #b0b8c2;
    border: 1px solid rgba(255,255,255,0.08);
}
.btn-login:hover {
    background: rgba(255,255,255,0.10);
    color: #fff;
}

.register-guide-footer {
    color: #8b949e;
    font-size: 13px;
    margin-top: 16px;
}