  :root {
            --primary-color: #d63384;
            --secondary-color: #ff6b9d;
            --success-color: #4CAF50;
            --warning-color: #ff9800;
            --danger-color: #f44336;
            --light-bg: #f8f9fa;
            --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        }
        
        body {
            font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
            background: linear-gradient(135deg, #fff5f7 0%, #fff0f5 100%);
            color: #333;
            line-height: 1.6;
        }
        
        .navbar-brand {
            font-weight: 700;
            color: var(--primary-color) !important;
        }
        
        .hero-section {
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 3.5rem 0;
            margin-bottom: 2.5rem;
            border-radius: 0 0 20px 20px;
            text-align: center;
        }
        
        .hero-title {
            font-size: 2.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
        }
        
        .hero-subtitle {
            font-size: 1.2rem;
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
        }
        
        .month-navigation {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 2rem;
            padding: 1rem;
            background-color: white;
            border-radius: 10px;
            box-shadow: var(--card-shadow);
        }
        
        .month-title {
            font-size: 1.8rem;
            font-weight: 700;
            color: var(--primary-color);
            margin: 0;
        }
        
        .btn-month {
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            color: white;
            border: none;
            padding: 0.6rem 1.5rem;
            border-radius: 30px;
            font-weight: 600;
            transition: all 0.3s ease;
        }
        
        .btn-month:hover {
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(214, 51, 132, 0.3);
        }
        
        .jiri-card {
            border: none;
            border-radius: 15px;
            box-shadow: var(--card-shadow);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 1.5rem;
            overflow: hidden;
            height: 100%;
        }
        
        .jiri-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
        }
        
        .jiri-header {
            background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
            color: white;
            padding: 1.2rem 1.5rem;
        }
        
        .jiri-date {
            font-size: 1.8rem;
            font-weight: 700;
            margin-bottom: 0.2rem;
        }
        
        .jiri-weekday {
            font-size: 1.1rem;
            opacity: 0.9;
        }
        
        .jiri-body {
            padding: 1.5rem;
        }
        
        .lunar-date {
            color: var(--primary-color);
            font-weight: 600;
            margin-bottom: 1rem;
            padding-bottom: 0.8rem;
            border-bottom: 1px dashed #eee;
        }
        
        .yi-title, .ji-title {
            font-weight: 700;
            margin-bottom: 0.5rem;
            display: flex;
            align-items: center;
        }
        
        .yi-title {
            color: var(--success-color);
        }
        
        .ji-title {
            color: var(--danger-color);
        }
        
        .yi-title i, .ji-title i {
            margin-right: 8px;
        }
        
        .yi-items, .ji-items {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 1.2rem;
        }
        
        .yi-item {
            background-color: rgba(76, 175, 80, 0.1);
            color: var(--success-color);
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        
        .ji-item {
            background-color: rgba(244, 67, 54, 0.1);
            color: var(--danger-color);
            padding: 0.4rem 0.8rem;
            border-radius: 20px;
            font-size: 0.9rem;
        }
        
        .chongsha {
            background-color: var(--light-bg);
            padding: 1rem;
            border-radius: 10px;
            margin-top: 1rem;
        }
        
        .chongsha-title {
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }
        
        .stats-box {
            background-color: white;
            border-radius: 15px;
            padding: 1.5rem;
            box-shadow: var(--card-shadow);
            margin-bottom: 2rem;
        }
        
        .stats-number {
            font-size: 3rem;
            font-weight: 700;
            color: var(--primary-color);
            line-height: 1;
        }
        
        .stats-label {
            color: #666;
            font-size: 1.1rem;
        }
        
        .feature-item {
            text-align: center;
            padding: 1.5rem;
            background-color: white;
            border-radius: 15px;
            box-shadow: var(--card-shadow);
            height: 100%;
            transition: transform 0.3s ease;
        }
        
        .feature-item:hover {
            transform: translateY(-5px);
        }
        
        .feature-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1rem;
            color: white;
            font-size: 1.5rem;
        }
        
        .footer {
            background-color: #2c3e50;
            color: white;
            padding: 2.5rem 0;
            margin-top: 3rem;
        }
        
        .note-box {
            background-color: #fff9e6;
            border-left: 4px solid var(--warning-color);
            padding: 1.2rem;
            border-radius: 8px;
            margin-top: 2rem;
        }
        
        .tip-box {
            background-color: #fce4ec;
            border-radius: 10px;
            padding: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .tip-title {
            color: var(--primary-color);
            font-weight: 700;
            margin-bottom: 1rem;
            display: flex;
            align-items: center;
        }
        
        .tip-title i {
            margin-right: 10px;
        }
        
        @media (max-width: 768px) {
            .hero-title {
                font-size: 2.2rem;
            }
            
            .jiri-date {
                font-size: 1.5rem;
            }
            
            .yi-items, .ji-items {
                gap: 6px;
            }
            
            .yi-item, .ji-item {
                padding: 0.3rem 0.6rem;
                font-size: 0.85rem;
            }
            
            .month-title {
                font-size: 1.5rem;
            }
        }
        
        .jiri-badge {
            position: absolute;
            top: 15px;
            right: 15px;

            color: white;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: 700;
        }
        
        .jiri-card-wrapper {
            position: relative;
        }
        
 .level-daji {
     background-color: #d4edda;
     color: #155724;
 }

 .level-zhongji {
     background-color: #fff3cd;
     color: #856404;
 }

 .level-xiaoji {
     background-color: #f8d7da;
     color: #721c24;
 }

 .level-ping {
     background-color: #d1ecf1;
     color: #0c5460;
 }
