 * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }        
        :root {
            --metal-color: #e6e8fa;
            --wood-color: #90ee90;
            --water-color: #87ceeb;
            --fire-color: #ff7f7f;
            --earth-color: #d2b48c;
            --noble-color: #9370db;      /* 贵人色 - 紫色系 */
            --cooperation-color: #1e90ff; /* 合作色 - 蓝色系 */
            --wealth-color: #ffd700;      /* 招财色 - 金色系 */
            --consumption-color: #a9a9a9;  /* 消耗色 - 灰色系 */
            --unfavorable-color: #8b0000;  /* 不利色 - 深红色系 */
            --primary-color: #8b4513;
            --secondary-color: #654321;
            --light-bg: #f9f5f0;
            --text-dark: #333333;
            --text-light: #666666;
            --white: #ffffff;
            --shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        }
        
        body {
            font-family: 'Noto Sans SC', sans-serif;
            line-height: 1.6;
            color: var(--text-dark);
            background-color: var(--light-bg);
        }
        
        h1, h2, h3, h4 {
            font-family: 'Noto Serif SC', serif;
            color: var(--primary-color);
            margin-bottom: 1rem;
        }
        strong{
                font-family: 'Noto Serif SC', serif;
            }
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }
        
        /* 头部样式 */
        /* header {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 1.5rem 0;
            box-shadow: var(--shadow);
            position: sticky;
            top: 0;
            z-index: 100;
        }
        
        .header-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
        } */
        
        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .logo i {
            font-size: 2rem;
        }
        
        .logo h1 {
            color: var(--white);
            font-size: 1.8rem;
        }
        
        nav ul {
            display: flex;
            list-style: none;
            gap: 1.5rem;
        }
        
        nav a {
            color: var(--white);
            text-decoration: none;
            font-weight: 500;
            transition: all 0.3s ease;
            padding: 5px 10px;
            border-radius: 4px;
        }
        
        nav a:hover, nav a.active {
            background-color: rgba(255, 255, 255, 0.2);
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--white);
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        /* 主要内容区 */
        main {
            padding: 2rem 0;
        }
        
        .hero {
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            color: var(--white);
            padding: 3rem 0;
            text-align: center;
            border-radius: 10px;
            /* margin-bottom: 2.5rem; */
            box-shadow: var(--shadow);
        }
        
        .hero h2,.hero h1 {
            color: var(--white);
            font-size: 2.2rem;
            margin-bottom: 1rem;
        }
        
        .hero p {
            font-size: 1.1rem;
            max-width: 800px;
            margin: 0 auto 1.5rem;
            opacity: 0.9;
        }
        
        /* 今日推荐卡片 */
        .today-recommendation {
            background-color: var(--white);
            border-radius: 10px;
            padding: 2rem;
            margin-bottom: 2.5rem;
            box-shadow: var(--shadow);
        }
        
        .recommendation-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
            border-bottom: 2px solid var(--light-bg);
            padding-bottom: 1rem;
            flex-wrap: wrap;
            gap: 15px;
        }
        
        .recommendation-header h2 {
            margin-bottom: 0;
        }
        
        .today-element {
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .element-icon {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-dark);
            font-weight: bold;
            font-size: 1.1rem;
        }
        
        .element-metal {
            background-color: var(--metal-color);
        }
        
        .element-wood {
            background-color: var(--wood-color);
        }
        
        .element-water {
            background-color: var(--water-color);
        }
        
        .element-fire {
            background-color: var(--fire-color);
        }
        
        .element-earth {
            background-color: var(--earth-color);
        }
        
        /* 黄历信息 */
        .huangli-info {
            background-color: rgba(139, 69, 19, 0.05);
            border-radius: 10px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
            border-left: 4px solid var(--primary-color);
        }
        
        .huangli-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1rem;
            margin-top: 1rem;
        }
        
        .huangli-item {
            display: flex;
            flex-direction: column;
        }
        
        .huangli-label {
            font-size: 0.85rem;
            color: var(--text-light);
            margin-bottom: 0.3rem;
        }
        
        .huangli-value {
            font-weight: 500;
            color: var(--text-dark);
        }
        
        /* 五行颜色分类 - 改为每行一个 */
        .color-recommendations {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .color-row {
            display: flex;
            align-items: center;
            padding: 1.5rem;
            border-radius: 10px;
            color: var(--text-dark);
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s ease;
        }
        
        .color-row:hover {
            transform: translateY(-3px);
        }
        
        .color-row.noble {
            background-color: rgba(147, 112, 219, 0.15);
            border-left: 5px solid var(--noble-color);
        }
        
        .color-row.cooperation {
            background-color: rgba(30, 144, 255, 0.15);
            border-left: 5px solid var(--cooperation-color);
        }
        
        .color-row.wealth {
            background-color: rgba(255, 215, 0, 0.15);
            border-left: 5px solid var(--wealth-color);
        }
        
        .color-row.consumption {
            background-color: rgba(169, 169, 169, 0.15);
            border-left: 5px solid var(--consumption-color);
        }
        
        .color-row.unfavorable {
            background-color: rgba(139, 0, 0, 0.1);
            border-left: 5px solid var(--unfavorable-color);
        }
        
        .color-icon {
            font-size: 2rem;
            margin-right: 1.5rem;
            width: 60px;
            text-align: center;
        }
        
        .color-row.noble .color-icon {
            color: var(--noble-color);
        }
        
        .color-row.cooperation .color-icon {
            color: var(--cooperation-color);
        }
        
        .color-row.wealth .color-icon {
            color: var(--wealth-color);
        }
        
        .color-row.consumption .color-icon {
            color: var(--consumption-color);
        }
        
        .color-row.unfavorable .color-icon {
            color: var(--unfavorable-color);
        }
        
        .color-content {
            flex: 1;
        }
        
        .color-content h3 {
            margin-bottom: 0.5rem;
            font-size: 1.3rem;
        }
        
        .color-swatches {
            display: flex;
            gap: 15px;
            margin-top: 0.8rem;
        }
        
        .color-swatch-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 10px 20px;
            background-color: #ffffff;
            border-radius: 20px;
        }
        
        .color-swatch {
            width: 50px;
            height: 50px;
            border-radius: 8px;
            border: 3px solid rgba(255, 255, 255, 0.7);
            cursor: pointer;
            transition: transform 0.2s ease;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }
        
        .color-swatch:hover {
            transform: scale(1.1);
        }
        
        .color-swatch-name {
            font-size: 0.85rem;
            /* margin-top: 5px; */
            text-align: center;
            font-weight: 500;
        }
        
        /* 日期选择器 */
        .date-selector-section {
            background-color: var(--white);
            border-radius: 10px;
            padding: 2rem;
            margin-bottom: 2.5rem;
            box-shadow: var(--shadow);
        }
        
        .date-selector-container {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 20px;
            margin-top: 1.5rem;
        }
        
        .date-input-group {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            justify-content: center;
            align-items: center;
            width: 100%;
        }
        
        .date-input {
            padding: 12px 15px;
            border-radius: 8px;
            border: 2px solid #ddd;
            font-family: 'Noto Sans SC', sans-serif;
            font-size: 1rem;
            min-width: 220px;
            background-color: var(--white);
            transition: all 0.3s ease;
        }
        
        .date-input:focus {
            border-color: var(--primary-color);
            outline: none;
            box-shadow: 0 0 0 3px rgba(139, 69, 19, 0.2);
        }
        
        .date-btn {
            background-color: var(--primary-color);
            color: white;
            border: none;
            padding: 12px 24px;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 500;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }
        
        .date-btn:hover {
            background-color: var(--secondary-color);
        }
        
        .today-btn {
            background-color: var(--cooperation-color);
        }
        
        .today-btn:hover {
            background-color: #1c86ee;
        }
        
        .loading {
            display: none;
            margin-top: 10px;
            color: var(--primary-color);
        }
        
        /* 五行理论部分 */
        .five-elements-section {
            margin-bottom: 2.5rem;
        }
        
        .five-elements-section h2 {
            text-align: center;
            margin-bottom: 2rem;
        }
        
        .elements-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
            gap: 1.5rem;
        }
        
        .element-card {
            background-color: var(--white);
            border-radius: 10px;
            padding: 1.5rem;
            text-align: center;
            box-shadow: var(--shadow);
            transition: transform 0.3s ease;
        }
        
        .element-card:hover {
            transform: translateY(-5px);
        }
        
        .element-card.metal {
            border-top: 5px solid var(--metal-color);
        }
        
        .element-card.wood {
            border-top: 5px solid var(--wood-color);
        }
        
        .element-card.water {
            border-top: 5px solid var(--water-color);
        }
        
        .element-card.fire {
            border-top: 5px solid var(--fire-color);
        }
        
        .element-card.earth {
            border-top: 5px solid var(--earth-color);
        }
        
        .element-card h3 {
            margin-bottom: 0.5rem;
        }
        
        .element-card p {
            color: var(--text-light);
            font-size: 0.9rem;
        }
        
        /* 结果说明 */
        .result-explanation {
            background-color: var(--white);
            border-radius: 10px;
            padding: 1.5rem;
            /* margin-top: 2rem; */
            box-shadow: var(--shadow);
        }
        
        .result-explanation h3 {
            color: var(--primary-color);
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        /* 自动更新提示 */
        .auto-update-notice {
            background-color: rgba(30, 144, 255, 0.1);
            border-radius: 8px;
            padding: 1rem;
            margin-top: 2rem;
            display: flex;
            align-items: center;
            gap: 15px;
        }
        
        .auto-update-notice i {
            font-size: 1.5rem;
            color: var(--cooperation-color);
        }
        
        /* 理论详解部分 */
        .theory-detail {
            background-color: var(--white);
            border-radius: 10px;
            padding: 2rem;
            margin-bottom: 2.5rem;
            box-shadow: var(--shadow);
        }
        
        .theory-section {
            margin-bottom: 2rem;
        }
        
        .theory-section h3 {
            color: var(--primary-color);
            border-bottom: 2px solid var(--light-bg);
            padding-bottom: 0.5rem;
            margin-bottom: 1rem;
        }
        
        .theory-points {
            padding-left: 1.5rem;
        }
        
        .theory-points li {
            margin-bottom: 0.5rem;
        }
        
        /* 页脚 */
        footer {
            background-color: var(--primary-color);
            color: var(--white);
            padding: 2.5rem 0 1.5rem;
            text-align: center;
        }
        
        .footer-content {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 1.5rem;
        }
        
        .footer-links {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
            justify-content: center;
        }
        
        .footer-links a {
            color: var(--white);
            text-decoration: none;
            transition: opacity 0.3s ease;
        }
        
        .footer-links a:hover {
            opacity: 0.8;
        }
        
        .copyright {
            margin-top: 1.5rem;
            padding-top: 1.5rem;
            border-top: 1px solid rgba(255, 255, 255, 0.2);
            width: 100%;
            font-size: 0.9rem;
            opacity: 0.8;
        }
        
        /* 响应式设计 */
        @media (max-width: 992px) {
            .elements-grid {
                grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
            }
            
            .color-swatches {
                flex-wrap: wrap;
            }
        }
        
        @media (max-width: 768px) {
            .header-content {
                flex-direction: column;
                gap: 1rem;
            }
            
            nav ul {
                display: none;
                flex-direction: column;
                width: 100%;
                text-align: center;
                gap: 0.5rem;
            }
            
            nav ul.show {
                display: flex;
            }
            
            .mobile-menu-btn {
                display: block;
                position: absolute;
                top: 1.5rem;
                right: 20px;
            }
            
            .recommendation-header {
                flex-direction: column;
                gap: 1rem;
                align-items: flex-start;
            }
            
            .hero h2 {
                font-size: 1.8rem;
            }
            
            .date-input-group {
                flex-direction: column;
                align-items: stretch;
            }
            
            .date-input, .date-btn {
                width: 100%;
            }
            
            .color-row {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .color-icon {
                margin-right: 0;
                margin-bottom: 1rem;
            }
            
            .color-swatches {
                justify-content: flex-start;
            }
            
            .elements-grid {
                grid-template-columns: 1fr;
            }
            
            .huangli-grid {
                grid-template-columns: 1fr;
            }
            
        }
        
        @media (max-width: 480px) {
            .hero {
                padding: 2rem 0;
            }
            
            .hero h2 {
                font-size: 1.5rem;
            }
            
            .today-recommendation, .date-selector-section, .theory-detail {
                padding: 1.5rem;
            }
            
            .color-row {
                padding: 1rem;
            }
            
            .color-swatch {
                width: 40px;
                height: 40px;
            }
        }