/* 色彩方案 */
:root {
    /* 主色调 */
    --primary-color: #1a73e8;
    --primary-hover: #1557b0;
    
    /* 辅助色 */
    --secondary-color: #f57c00;
    --secondary-hover: #ef6c00;
    --success-color: #34a853;
    --success-hover: #2d9d48;
    
    /* 中性色 */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #e0e0e0;
    --dark-gray: #3c4043;
    --black: #202124;
    
    /* 背景色 */
    --background-color: #ffffff;
    --section-background: #f8f9fa;
    
    /* 文字颜色 */
    --text-primary: #202124;
    --text-secondary: #3c4043;
    --text-light: #5f6368;
    
    /* 边框颜色 */
    --border-color: #e0e0e0;
    --border-radius: 12px;
    
    /* 字体 */
    --font-title: 'Poppins', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* 新春主题字体 */
    --font-chinese: 'Ma Shan Zheng', cursive;

    /* 动画时间 */
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
    --transition-slow: 0.8s;

    /* 阴影 */
    --shadow-light: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.15);
    --shadow-heavy: 0 8px 32px rgba(0, 0, 0, 0.2);

    /* 翻页卡片变量 (默认蓝白配色) */
    --flip-card-width: 140px;
    --flip-card-height: 180px;
    --flip-card-font-size: 90px;
    --flip-card-bg: #1e3a6e;
    --flip-card-bg-top: #2563eb;
    --flip-card-bg-bottom: #1d4ed8;
    --flip-card-text: #e0ecff;
    --flip-card-divider: rgba(0, 0, 0, 0.35);
    --flip-card-shadow: 0 15px 25px rgba(0, 0, 0, 0.5);
    --flip-card-border: rgba(255, 255, 255, 0.08);
}

/* ========== 新春主题变量 (覆盖版) ========== */
[data-theme="newyear"] {
    /* 主色调 */
    --primary-color: #c0392b; /* 中国红 */
    --primary-hover: #a93226;

    /* 辅助色 */
    --secondary-color: #f1c40f; /* 流光金 */
    --secondary-hover: #f39c12;

    /* 中性色 */
    --white: #ffffff;
    --light-gray: #fff5f5;
    --medium-gray: #d6a0a0;
    --dark-gray: #5d4037;
    --black: #2c3e50;

    /* 背景色 */
    --background-color: #8e2118; /* 深红背景 */
    --section-background: #fff5f5; /* 暖白背景 */

    /* 文字颜色 */
    --text-primary: #2c3e50;
    --text-secondary: #5d4037;
    --text-light: #8b7e74;

    /* 边框颜色 */
    --border-color: #d6a0a0;
    --border-radius: 12px;

    /* 字体 */
    --font-title: 'Ma Shan Zheng', cursive; /* 毛笔字体 */
    --font-body: 'Inter', sans-serif;

    /* 动画时间 */
    --transition-fast: 0.3s;
    --transition-medium: 0.5s;
    --transition-slow: 0.8s;

    /* 阴影 */
    --shadow-light: 0 4px 15px rgba(192, 57, 43, 0.3);
    --shadow-medium: 0 6px 20px rgba(192, 57, 43, 0.4);
    --shadow-heavy: 0 10px 30px rgba(192, 57, 43, 0.5);

    /* 翻页卡片变量 (新春红金配色) */
    --flip-card-width: 140px;
    --flip-card-height: 180px;
    --flip-card-font-size: 90px;
    --flip-card-bg: #8e2118;
    --flip-card-bg-top: #e74c3c;
    --flip-card-bg-bottom: #c0392b;
    --flip-card-text: #ffd700;
    --flip-card-divider: rgba(0, 0, 0, 0.35);
    --flip-card-shadow: 0 15px 25px rgba(139, 0, 0, 0.6);
    --flip-card-border: rgba(255, 215, 0, 0.15);
}