/* ===== CSS变量定义 ===== */
:root {
    /* 主色调 */
    --primary-color: #6366f1;
    --primary-hover: #4f46e5;
    --accent-color: #818cf8;
    
    /* 背景色 */
    --light-bg: #f8fafc;
    --border-color: #e2e8f0;
    
    /* 文字色 */
    --text-color: #1e293b;
    --secondary-text: #64748b;
    
    /* 状态色 */
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --error-color: #ef4444;
    
    /* 字体 */
    --font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-family-mono: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
    
    /* 间距 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    /* 圆角 */
    --border-radius-sm: 0.375rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;
    --border-radius-xl: 1rem;
    
    /* 阴影 */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* ===== 全局样式 ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* ===== 通用悬停效果 ===== */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.hover-lift:hover {
    transform: translateY(-2px);
}

.hover-lift-strong {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.hover-lift-strong:hover {
    transform: translateY(-3px);
}

/* ===== 通用阴影效果 ===== */
.shadow-primary {
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

/* ===== 无障碍辅助类 ===== */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* ===== 性能优化类 ===== */
.gpu-accelerated {
    transform: translateZ(0);
    backface-visibility: hidden;
    perspective: 1000px;
}

.smooth-scroll {
    scroll-behavior: smooth;
}

.contain-layout {
    contain: layout;
}

.contain-paint {
    contain: paint;
}

.contain-strict {
    contain: strict;
}

body {
    font-family: var(--font-family);
    width: 100%;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, var(--light-bg) 0%, #e2e8f0 100%);
    color: var(--text-color);
    line-height: 1.6;
    position: relative;
    overflow-x: hidden;
    min-height: 100vh;
    box-sizing: border-box;
    font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ===== 容器样式 ===== */
.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 80px 60px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 60px;
}

/* ===== 登录界面样式 ===== */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 20px;
}

.login-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.login-form h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.login-form p {
    color: var(--secondary-text);
    margin-bottom: 30px;
    font-size: 1rem;
}

/* 统一输入框基础样式 */
.form-input {
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: white;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.login-input {
    width: 100%;
    margin-bottom: 20px;
}

/* 统一按钮基础样式 */
.btn-primary {
    padding: 15px 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

.login-btn {
    width: 100%;
}

/* ===== 管理界面样式 ===== */
.admin-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.admin-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.admin-header h1 {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.admin-header p {
    color: var(--secondary-text);
    font-size: 1.1rem;
}

/* 退出登录按钮 - 使用错误色主题 */
.logout-btn {
    position: absolute;
    top: 0;
    right: 0;
    padding: 8px 16px;
    background: var(--error-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #dc2626;
    transform: translateY(-1px);
}

/* ===== 选项卡样式 ===== */
.tab-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.tab-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--secondary-text);
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== 统计卡片样式 ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5vw;
    margin-bottom: 40px;
    width: 100%;
    min-width: 800px;
}

.stat-card {
    background: var(--primary-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    color: white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    filter: brightness(1.1);
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: bold;
    color: white;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* ===== 版本管理样式 ===== */
.version-management {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.version-management h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.version-form {
    max-width: 800px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group textarea {
    padding: 16px 20px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
    line-height: 1.5;
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* ===== 版本控制样式 ===== */
.version-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.version-input {
    flex: 1;
    font-family: 'Courier New', monospace;
    font-weight: 600;
}

.version-btn {
    padding: 12px 16px;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.version-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.version-btn:active {
    transform: translateY(0);
}

.version-btn.minus {
    background: linear-gradient(135deg, var(--error-color), #f87171);
}

.version-btn.plus {
    background: linear-gradient(135deg, var(--success-color), #34d399);
}

/* ===== 日期控制样式 ===== */
.date-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-input {
    flex: 1;
}

/* 日期按钮和更新按钮样式 */
.date-btn {
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.date-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

/* 更新按钮现在使用 btn-primary 类，这里只保留特定样式 */
.update-btn {
    padding: 12px 24px;
    font-size: 1rem;
}

.update-btn:hover {
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.3);
}

/* ===== 反馈列表样式 ===== */
.feedback-list {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    color: white;
}

.loading, .error {
    text-align: center;
    padding: 20px;
    font-size: 1rem;
    color: var(--text-color);
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    margin: 10px 0;
}

.loading {
    color: var(--primary-color);
}

.error {
    color: var(--error-color);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid var(--error-color);
}

.feedback-list h2 {
    color: white;
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: bold;
}

.feedback-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    background: white;
    transition: all 0.3s ease;
    color: var(--text-color);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feedback-item:hover {
    background: #f8f9fa;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-color: rgba(0, 0, 0, 0.2);
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    color: var(--text-color);
}

.feedback-id {
    font-weight: bold;
    color: var(--primary-color);
}

.feedback-type {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
}

.feedback-type.bug { background: rgba(239, 68, 68, 0.1); color: #dc2626; border: 1px solid rgba(239, 68, 68, 0.3); }
.feedback-type.feature { background: rgba(16, 185, 129, 0.1); color: #059669; border: 1px solid rgba(16, 185, 129, 0.3); }
.feedback-type.improvement { background: rgba(59, 130, 246, 0.1); color: #2563eb; border: 1px solid rgba(59, 130, 246, 0.3); }
.feedback-type.other { background: rgba(245, 158, 11, 0.1); color: #d97706; border: 1px solid rgba(245, 158, 11, 0.3); }

.feedback-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 8px;
    color: var(--text-color);
}

.feedback-content {
    color: var(--secondary-text);
    margin-bottom: 15px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.feedback-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 0.85rem;
    color: var(--secondary-text);
    padding: 12px 0;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.feedback-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--secondary-text);
    padding: 4px 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.feedback-actions {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    padding-top: 12px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.resolve-btn {
    padding: 8px 16px;
    background: rgba(16, 185, 129, 0.8);
    color: white;
    border: 1px solid rgba(16, 185, 129, 0.5);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.resolve-btn:hover {
    background: rgba(16, 185, 129, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.resolve-btn:disabled {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    opacity: 0.6;
}

.delete-btn {
    padding: 8px 16px;
    background: rgba(239, 68, 68, 0.8);
    color: white;
    border: 1px solid rgba(239, 68, 68, 0.5);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.delete-btn:hover {
    background: rgba(239, 68, 68, 1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.delete-btn:disabled {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    cursor: not-allowed;
    opacity: 0.6;
}

/* ===== 筛选控制样式 ===== */
.filter-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: white;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
}

.filter-group label {
    font-size: 0.9rem;
    color: white;
    font-weight: 600;
}

.filter-group select {
    padding: 10px 14px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: white;
    color: var(--text-color);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    backdrop-filter: blur(10px);
}

.filter-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
    background: white;
}

.filter-group select:hover {
    border-color: var(--primary-color);
    background: #f8f9fa;
}

/* 下拉框选项样式 */
.filter-group select option {
    background: white;
    color: var(--text-color);
    padding: 8px 12px;
}

/* 刷新按钮 - 在筛选控制中使用特殊样式 */
.refresh-btn {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.25);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.refresh-btn:hover {
    background: rgba(255, 255, 255, 0.35);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.6);
}

/* ===== 全局消息提示样式 ===== */
.global-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    padding: 20px 30px;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 600;
    z-index: 10000;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    max-width: 400px;
    text-align: center;
    word-wrap: break-word;
}

.global-message.show {
    opacity: 1;
    visibility: visible;
}

.global-message.success {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(16, 185, 129, 0.05));
    border-color: var(--success-color);
    color: var(--success-color);
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.2);
}

.global-message.error {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(239, 68, 68, 0.05));
    border-color: var(--error-color);
    color: var(--error-color);
    box-shadow: 0 20px 40px rgba(239, 68, 68, 0.2);
}

.global-message.warning {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border-color: var(--warning-color);
    color: var(--warning-color);
    box-shadow: 0 20px 40px rgba(245, 158, 11, 0.2);
}

.global-message.info {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    border-color: #3b82f6;
    color: #3b82f6;
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.2);
}

.global-message-icon {
    display: block;
    font-size: 2.5rem;
    margin-bottom: 15px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.global-message-text {
    margin: 0;
    line-height: 1.5;
    font-weight: 500;
}

/* ===== 自定义对话框样式 ===== */
.custom-dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    z-index: 10001;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.custom-dialog {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.98));
    border-radius: 20px;
    padding: 35px;
    max-width: 550px;
    width: 100%;
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.25),
        0 10px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(25px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    animation: dialogSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.custom-dialog::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 20px 20px 0 0;
}

.custom-dialog-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    gap: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.custom-dialog-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    animation: pulse 2s infinite;
}

.custom-dialog-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-color);
    margin: 0;
    letter-spacing: -0.5px;
}

.custom-dialog-content {
    margin-bottom: 30px;
}

.custom-dialog-form-group {
    margin-bottom: 25px;
}

.custom-dialog-label {
    display: block;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    font-size: 1rem;
    letter-spacing: -0.2px;
}

.custom-dialog-input {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.custom-dialog-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.custom-dialog-textarea {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-sizing: border-box;
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
}

.custom-dialog-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.custom-dialog-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.custom-dialog-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 100px;
    position: relative;
    overflow: hidden;
}

.custom-dialog-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.custom-dialog-btn:hover::before {
    left: 100%;
}

.custom-dialog-btn.cancel {
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary-text);
    border: 2px solid var(--border-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.custom-dialog-btn.cancel:hover {
    background: var(--border-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.custom-dialog-btn.confirm {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: 2px solid var(--primary-color);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.2);
}

.custom-dialog-btn.confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
}

.custom-dialog-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

@keyframes dialogSlideIn {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(-30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes dialogSlideOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.85) translateY(-30px);
    }
}

.custom-dialog.closing {
    animation: dialogSlideOut 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== 动画效果 ===== */
@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes messageSlideOut {
    from {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
    to {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
}

.global-message.show {
    animation: messageSlideIn 0.3s ease-out;
}

.global-message.hide {
    animation: messageSlideOut 0.3s ease-in;
}

/* ===== 主页样式 ===== */
.header {
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-radius: 24px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.15),
        0 8px 16px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.logo-icon {
    font-size: 3rem;
    margin-right: 20px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.logo-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    position: relative;
    display: inline-block;
}

.logo-text h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: white;
    border-radius: 2px;
}

.logo-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 15px;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
}

/* ===== 下载区域样式 ===== */
.download-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.download-section h2 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5rem;
    text-align: center;
}

.version-info {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.92) 0%, rgba(255, 255, 255, 0.96) 100%);
    padding: 24px;
    border-radius: 16px;
    margin: 30px 0;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.06),
        0 4px 12px rgba(0, 0, 0, 0.03),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.version-info.loading {
    opacity: 0.7;
    pointer-events: none;
}

.version-info::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
    border-radius: 0 2px 2px 0;
    box-shadow: 0 1px 4px rgba(249, 115, 22, 0.2);
}

.version-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-color);
    display: flex;
    align-items: center;
    letter-spacing: -0.2px;
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.08) 0%, rgba(251, 146, 60, 0.06) 100%);
    border-radius: 10px;
    border: 1px solid rgba(249, 115, 22, 0.15);
    position: relative;
    overflow: hidden;
}

.version-number::before {
    content: '📌';
    margin-right: 12px;
    font-size: 1.2em;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.1));
}

.version-number::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.version-number:hover::after {
    left: 100%;
}

.release-date, .file-size, .version-status {
    font-size: 1rem;
    color: var(--secondary-text);
    display: flex;
    align-items: center;
    font-weight: 500;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.release-date:hover, .file-size:hover, .version-status:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    background: rgba(255, 255, 255, 0.7);
}

.release-date::after, .file-size::after, .version-status::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.4s ease;
}

.release-date:hover::after, .file-size:hover::after, .version-status:hover::after {
    left: 100%;
}

.release-date::before {
    content: '📅';
    margin-right: 12px;
    font-size: 1.1em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.file-size::before {
    content: '📁';
    margin-right: 12px;
    font-size: 1.1em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.version-status::before {
    content: '🔄';
    margin-right: 12px;
    font-size: 1.1em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
}

.release-date:hover::before, .file-size:hover::before, .version-status:hover::before {
    transform: scale(1.05);
}

.version-status.normal::before {
    content: '✅';
}

.version-status.updating::before {
    content: '🔄';
}

.version-status.stopped::before {
    content: '⏹️';
}

.version-status.normal {
    color: var(--success-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.06) 0%, rgba(52, 211, 153, 0.04) 100%);
    border-color: rgba(16, 185, 129, 0.2);
}

.version-status.updating {
    color: var(--warning-color);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.06) 0%, rgba(251, 191, 36, 0.04) 100%);
    border-color: rgba(245, 158, 11, 0.2);
}

.version-status.stopped {
    color: var(--error-color);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.06) 0%, rgba(248, 113, 113, 0.04) 100%);
    border-color: rgba(239, 68, 68, 0.2);
}

.version-announcement {
    font-size: 1rem;
    color: var(--text-color);
    display: flex;
    align-items: flex-start;
    font-weight: 500;
    padding: 16px 18px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08) 0%, rgba(129, 140, 248, 0.06) 100%);
    border-radius: 12px;
    border: 1px solid rgba(99, 102, 241, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    line-height: 1.5;
    word-wrap: break-word;
    white-space: pre-wrap;
}

.version-announcement:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(129, 140, 248, 0.08) 100%);
}

.version-announcement::before {
    content: '📢';
    margin-right: 12px;
    font-size: 1.1em;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-top: 2px;
}

.version-announcement:hover::before {
    transform: scale(1.1);
}

.download-button-container {
    text-align: center;
    margin: 35px 0;
    position: relative;
}

.download-button-container .download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: white;
    color: var(--primary-color) !important;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 24px rgba(249, 115, 22, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    min-width: 240px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1;
}

.download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 40px;
    background: white;
    color: var(--primary-color) !important;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 8px 24px rgba(249, 115, 22, 0.15),
        0 4px 12px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 2px solid var(--primary-color);
    cursor: pointer;
    min-width: 240px;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.5px;
    text-align: center;
    line-height: 1;
}

.download-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.download-button:hover::before {
    left: 100%;
}

.download-button:hover {
    transform: translateY(-3px) scale(1.02);
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    color: white !important;
    box-shadow: 
        0 12px 32px rgba(249, 115, 22, 0.4),
        0 6px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: var(--primary-color);
}

.download-button:active {
    transform: translateY(-1px) scale(0.98);
}

.download-button::after {
    content: '↓';
    margin-left: 12px;
    font-size: 1.3rem;
    font-weight: bold;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.system-requirements {
    margin-top: 30px;
    padding: 25px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.05) 0%, rgba(251, 146, 60, 0.08) 100%);
    border-radius: 16px;
    border: 1px solid rgba(249, 115, 22, 0.15);
    box-shadow: 
        0 4px 16px rgba(249, 115, 22, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.system-requirements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0.6;
}

.system-requirements h3 {
    color: var(--primary-color);
    font-size: 1.2rem;
    margin-bottom: 20px;
    text-align: center;
    font-weight: 700;
    letter-spacing: -0.3px;
}


.requirement-icon {
    font-size: 1.5rem;
    margin-right: 12px;
    flex-shrink: 0;
}

.requirement-text {
    flex: 1;
}

.requirement-text strong {
    display: block;
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.requirement-text span {
    color: var(--secondary-text);
    font-size: 0.85rem;
}

.license-section {
    margin: 20px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.license-input-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}


.license-input {
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    min-width: 300px;
    flex: 1;
    max-width: 500px;
    transition: all 0.3s ease;
    background: white;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align-last: center;
    -webkit-text-align-last: center;
    -moz-text-align-last: center;
}

.license-input {
    min-width: 450px;
    max-width: 650px;
    padding: 18px 28px;
}

.license-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.license-input::placeholder {
    text-align: center;
    color: #999;
}

.license-input::-webkit-input-placeholder {
    text-align: center;
}

.license-input::-moz-placeholder {
    text-align: center;
}

.license-input:-ms-input-placeholder {
    text-align: center;
}

.verify-button {
    padding: 15px 24px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 120px;
    white-space: nowrap;
    flex-shrink: 0;
}

.verify-button {
    padding: 18px 32px;
    font-size: 1.1rem;
    min-width: 160px;
}

.verify-button:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
}

.verify-button.cooldown, .download-button.cooldown {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}

.verify-button, .download-button {
    position: relative;
    overflow: hidden;
}

.verify-button::after, .download-button::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -35px 0 0 -35px;
    width: 70px;
    height: 70px;
    border-radius: 50%;
    opacity: 0;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.3);
}

.verify-button.cbutton--click::after, .download-button.cbutton--click::after {
    animation: button-effect 0.3s forwards;
}

@keyframes button-effect {
    0% {
        transform: scale3d(0.3, 0.3, 1);
    }
    25%, 50% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: scale3d(1.2, 1.2, 1);
    }
}

.license-message {
    margin-top: 10px;
    padding: 10px;
    border-radius: 6px;
    font-weight: bold;
    min-height: 20px;
}

.license-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.license-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.license-message.info {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid #3b82f6;
}

.license-message.warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
    border: 1px solid var(--warning-color);
}

.security-notice {
    margin-top: 20px;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(255, 255, 255, 0.8));
    border: 2px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.1);
    transition: all 0.3s ease;
}

.security-notice:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
}

.security-icon {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.security-text {
    color: #047857;
    font-size: 0.95rem;
    line-height: 1.5;
    text-align: center;
}

.security-text strong {
    color: #065f46;
    font-weight: 700;
}

.security-notice.warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--warning-color);
}

.security-notice.error {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--error-color);
}

.security-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.security-text {
    display: flex;
    align-items: center;
    gap: 5px;
}

.security-text strong {
    color: var(--text-color);
}

.security-text span {
    color: var(--success-color);
    font-weight: bold;
}

.security-notice.warning .security-text span {
    color: var(--warning-color);
}

.security-notice.error .security-text span {
    color: var(--error-color);
}

.download-time-clock {
    margin-top: 25px;
    text-align: center;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.7));
    border: 2px solid rgba(59, 130, 246, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.download-time-clock:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.25);
}

.clock-icon {
    font-size: 1.4rem;
    margin-right: 10px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.clock-display {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e40af;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

/* ===== 安全提示样式 ===== */
.notice {
    margin-top: 20px;
    padding: 18px 24px;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(255, 255, 255, 0.8));
    border: 2px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    color: #92400e;
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.1);
    transition: all 0.3s ease;
}

.notice:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 25px rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
}

/* ===== 主题选择器样式 ===== */
.theme-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
}

.theme-toggle {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    padding: 8px 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 60px;
}

.theme-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    background: rgba(255, 255, 255, 0.98);
}

.theme-toggle-icon {
    font-size: 1rem;
}

.theme-toggle-text {
    font-size: 0.8rem;
    color: var(--text-color);
    font-weight: 500;
}

.theme-panel {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(15px);
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.theme-panel.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.theme-panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.theme-panel-header h3 {
    font-size: 1rem;
    color: var(--text-color);
    margin: 0;
    font-weight: 600;
}

.theme-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--secondary-text);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.theme-close-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

.theme-colors {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.theme-color {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.theme-color:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.theme-color.active {
    border-color: var(--text-color);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.theme-color::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.theme-color.active::after {
    opacity: 1;
}

.theme-orange { background: linear-gradient(135deg, #f97316, #fb923c); }
.theme-pink { background: linear-gradient(135deg, #ec4899, #f472b6); }
.theme-purple { background: linear-gradient(135deg, #a855f7, #c084fc); }
.theme-blue { background: linear-gradient(135deg, #3b82f6, #60a5fa); }
.theme-green { background: linear-gradient(135deg, #10b981, #34d399); }
.theme-teal { background: linear-gradient(135deg, #14b8a6, #5eead4); }
.theme-yellow { background: linear-gradient(135deg, #f59e0b, #fbbf24); }
.theme-red { background: linear-gradient(135deg, #ef4444, #f87171); }
.theme-indigo { background: linear-gradient(135deg, #6366f1, #818cf8); }

/* ===== 页脚样式 ===== */
footer {
    text-align: center;
    margin-top: 0;
    padding: 40px;
    color: var(--secondary-text);
    font-size: 0.9rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.95) 100%);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    opacity: 0.6;
}

.contact-email {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.contact-email a {
    color: var(--secondary-text);
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-email a:hover {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.feedback-link {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color)) !important;
    color: white !important;
    font-weight: 600 !important;
    padding: 10px 20px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3) !important;
    position: relative;
    overflow: hidden;
}

.feedback-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.feedback-link:hover::before {
    left: 100%;
}

.feedback-link:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4) !important;
}

.feedback-link.active {
    background: linear-gradient(135deg, var(--success-color), #34d399) !important;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3) !important;
}

.feedback-link.active:hover {
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4) !important;
}

.contact-email .separator {
    margin: 0 8px;
    color: var(--secondary-text);
    opacity: 0.6;
}

.contact-email .feedback-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
    opacity: 0.5;
    cursor: not-allowed;
}

.contact-email .feedback-link:hover {
    color: var(--primary-hover);
    text-decoration: underline;
}

.contact-email .feedback-link.active {
    opacity: 1;
    cursor: pointer;
}

/* ===== 反馈区域样式 ===== */
.feedback-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.98) 100%);
    border-radius: 24px;
    padding: 40px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 8px 16px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    margin-bottom: 0;
    display: none;
}

.feedback-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}

.feedback-section h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 20px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.feedback-section h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

.feedback-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-color);
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

.feedback-type-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.feedback-type-option {
    position: relative;
    cursor: pointer;
}

.feedback-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.feedback-type-option label {
    display: block;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    margin: 0;
}

.feedback-type-option input[type="radio"]:checked + label {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.feedback-type-option:hover label {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    width: 100%;
    margin-top: 20px;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
}

.submit-button:active {
    transform: translateY(0);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.feedback-message {
    margin-top: 15px;
    padding: 12px 16px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    display: none;
}

.feedback-message.success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.feedback-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.back-to-main {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.8);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    margin-bottom: 20px;
}

.back-to-main:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
}

.back-to-main::before {
    content: '←';
    margin-right: 8px;
    font-size: 1.1em;
}

/* ===== 动画效果 ===== */
@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ===== 反馈状态显示样式 ===== */
.feedback-status-container {
    padding: 20px 24px;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
    transition: none;
    animation: none;
    margin-top: 0;
}

.feedback-status-container:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.feedback-status-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(59, 130, 246, 0.15);
}

.feedback-status-icon {
    font-size: 1.5rem;
    color: #3b82f6;
}

.feedback-status-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e40af;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.feedback-status-content {
    min-height: 60px;
}

.feedback-item-status {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid #3b82f6;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feedback-item-status:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.15);
}

.feedback-item-status.resolved {
    border-left-color: #10b981;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(255, 255, 255, 0.9));
}

.feedback-item-status.pending {
    border-left-color: #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(255, 255, 255, 0.9));
}

.feedback-item-status.urgent {
    border-left-color: #ef4444;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1), rgba(255, 255, 255, 0.9));
}

.feedback-status-title-text {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feedback-status-type {
    font-size: 0.85rem;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.feedback-status-type.bug {
    background: rgba(239, 68, 68, 0.2);
    color: #dc2626;
}

.feedback-status-type.feature {
    background: rgba(16, 185, 129, 0.2);
    color: #059669;
}

.feedback-status-type.improvement {
    background: rgba(59, 130, 246, 0.2);
    color: #2563eb;
}

.feedback-status-type.other {
    background: rgba(107, 114, 128, 0.2);
    color: #374151;
}

.feedback-status-content-text {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.feedback-status-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.85rem;
    color: #64748b;
}

.feedback-status-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.feedback-status-resolution {
    margin-top: 12px;
    padding: 12px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1), rgba(255, 255, 255, 0.8));
    border-radius: 8px;
    border-left: 3px solid #10b981;
}

.feedback-status-resolution-title {
    font-weight: 700;
    color: #059669;
    font-size: 0.95rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.feedback-status-resolution-note {
    color: #047857;
    font-size: 0.9rem;
    line-height: 1.4;
}

.feedback-status-empty {
    text-align: center;
    padding: 30px 20px;
    color: #64748b;
}

.feedback-status-empty-icon {
    font-size: 3rem;
    margin-bottom: 12px;
    opacity: 0.6;
}

.feedback-status-empty-text {
    font-size: 1rem;
    font-weight: 500;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== 反馈管理卡片样式 ===== */
.feedback-management-card {
    margin-top: 35px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.85));
    border: 2px solid rgba(59, 130, 246, 0.2);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    animation: slideInUp 0.6s ease;
    position: relative;
}

.feedback-management-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.3), transparent);
    border-radius: 2px;
}

.feedback-management-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
}

.feedback-management-card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(59, 130, 246, 0.6), transparent);
    width: 80px;
}

.feedback-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(147, 197, 253, 0.05));
    border-bottom: 2px solid rgba(59, 130, 246, 0.15);
}

.feedback-card-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e40af;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.feedback-card-icon {
    font-size: 1.6rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.feedback-submit-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
}

.feedback-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.feedback-submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(59, 130, 246, 0.3);
}

.feedback-submit-icon {
    font-size: 1.1rem;
}

/* ===== 反馈状态显示样式 ===== */

/* 反馈链接按钮样式 */
.feedback-link-section {
    text-align: center;
    margin-top: 30px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(129, 140, 248, 0.05));
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.1);
}

.feedback-link-btn {
    display: inline-flex;
    align-items: center;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.feedback-link-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.4);
    color: white;
    text-decoration: none;
}

.feedback-link-btn:active {
    transform: translateY(-1px);
}

.feedback-link-icon {
    font-size: 1.3rem;
    margin-right: 10px;
}

.feedback-link-desc {
    margin-top: 20px;
    color: var(--secondary-text);
    font-size: 1rem;
    line-height: 1.6;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}


/* ===== 扁平化设计样式 ===== */

/* 主头部样式 */
.main-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.1);
}

.hero-section {
    color: white;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
}

.logo-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-icon {
    font-size: 4rem;
    margin-bottom: 10px;
}

.logo-text h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: white;
}

.logo-text p {
    font-size: 1.2rem;
    opacity: 0.9;
    color: white;
}


/* 主要内容区域 */
.main-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

/* 通用卡片样式 */
.requirements-card,
.version-card,
.status-card,
.feedback-management-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.requirements-card:hover,
.version-card:hover,
.status-card:hover,
.feedback-management-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* 下载组合卡片样式 */
.download-group-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.download-group-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.download-group-header {
    margin-bottom: 30px;
    text-align: center;
}

.download-group-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.download-group-header p {
    color: var(--secondary-text);
    font-size: 1rem;
}

.download-group-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    align-items: start;
}

.license-verification,
.download-action,
.security-notice {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
    text-align: center;
    align-items: center;
}

.license-verification {
    gap: 0;
}

.license-form-with-time {
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
    justify-content: center;
}

.server-time-display {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--light-bg);
    padding: 15px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    width: 100%;
    max-width: 600px;
    justify-content: center;
}

.time-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.time-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-color);
    margin: 0 0 4px 0;
}

.time-content p {
    font-size: 0.85rem;
    color: var(--secondary-text);
    margin: 0;
    white-space: nowrap;
}

.license-verification:last-child,
.download-action:last-child,
.security-notice:last-child {
    margin-bottom: 0;
}

.license-verification h3,
.download-action h3,
.security-notice h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
    text-align: center;
}

.license-verification p,
.download-action p {
    color: var(--secondary-text);
    font-size: 0.95rem;
    margin-bottom: 10px;
    text-align: center;
    max-width: 400px;
}

.security-notice .notice-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.security-notice .notice-content p {
    text-align: center;
    margin: 0;
}

/* 卡片头部 */
.card-header {
    margin-bottom: 25px;
    text-align: center;
}

.card-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 8px;
}

.card-header p {
    color: var(--secondary-text);
    font-size: 1rem;
}

/* 系统要求网格 */
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.requirement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.requirement-item:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.requirement-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.requirement-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.requirement-content p {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

/* 版本信息网格 */
.version-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.version-info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.version-info-item:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.version-info-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.version-info-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.version-info-text strong {
    font-weight: 600;
    color: var(--text-color);
    font-size: 0.9rem;
}

.version-info-text span {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

/* 许可证表单 */
.license-form {
    display: flex;
    justify-content: center;
    width: 100%;
}

.input-group {
    display: flex;
    gap: 15px;
    width: 100%;
    max-width: 400px;
    justify-content: center;
}

.input-group .form-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-group .form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.input-group .btn-primary {
    padding: 15px 25px;
    white-space: nowrap;
}

/* 下载按钮 */
.download-actions {
    display: flex;
    justify-content: center;
    width: 100%;
}

.download-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 18px 35px;
    background: linear-gradient(135deg, var(--success-color), #059669);
    color: white;
    text-decoration: none;
    border-radius: 15px;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(16, 185, 129, 0.4);
}

.download-icon {
    font-size: 1.2rem;
}

/* 状态网格 */
.status-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.status-item:hover {
    background: #f1f5f9;
    transform: translateY(-2px);
}

.status-icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.status-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 5px;
}

.status-content p {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

/* 安全提示 */
.notice-content {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: 12px;
    padding: 20px;
}

.notice-content p {
    color: #92400e;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

/* 反馈管理 */
.feedback-actions {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
}

.feedback-submit-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.feedback-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.feedback-icon {
    font-size: 1.1rem;
}

.feedback-status-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 15px;
}

/* 页脚样式 */
.main-footer {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin-top: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-info p {
    color: var(--secondary-text);
    font-size: 0.95rem;
    margin: 0;
}

.footer-contact {
    color: var(--secondary-text);
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--primary-hover);
}

/* ===== 更新日志时间轴（后台） ===== */
.cl-timeline { margin-top: 0; }
.cl-item { position: relative; margin: 14px 0 16px; padding-left: 18px; }
.cl-line { position: absolute; left: 3px; top: 0; bottom: 0; border-left: 2px solid #e5e7eb; }
.cl-dot {
    position: absolute; left: 0; top: 10px; width: 10px; height: 10px; border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #93c5fd, #6477ff); box-shadow: 0 0 0 3px rgba(100,119,255,0.1);
}
.cl-card {
    background: #fff; border: 1px solid #eef2f7; border-radius: 10px; padding: 10px 12px;
    box-shadow: 0 2px 6px rgba(20,20,20,0.06);
}
.cl-header { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.cl-badge-version { background: #eef2ff; color: #3745ff; border-radius: 9999px; padding: 2px 8px; font-weight: 600; font-size: 12px; }
.cl-status { border-radius: 9999px; padding: 2px 8px; font-size: 12px; border: 1px solid transparent; margin-left: auto; }
.cl-status--ok { color: #10b981; background: rgba(16,185,129,0.1); border-color: #10b981; }
.cl-status--updating { color: #f59e0b; background: rgba(245,158,11,0.12); border-color: #f59e0b; }
.cl-status--stopped { color: #ef4444; background: rgba(239,68,68,0.12); border-color: #ef4444; }
.cl-body { margin-top: 8px; white-space: pre-wrap; color: #374151; line-height: 1.6; max-height: none; overflow: hidden; }
.cl-body--collapsed { max-height: 94px; }
.cl-toggle { background: #fff; border: 1px solid #e5e7eb; color: #374151; border-radius: 6px; padding: 3px 8px; cursor: pointer; font-size: 12px; margin-top: 6px; }
.cl-delete { margin-left: 8px; background: #fff; border: 1px solid #ef4444; color: #ef4444; border-radius: 6px; padding: 4px 8px; cursor: pointer; }