@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

body {
    font-family: 'Noto Sans SC', sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

.section-title {
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 25px;
    font-weight: 600;
}

.section-title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
}

.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.吉日-card {
    border-left: 4px solid #ff6b6b;
}

.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.btn-horoscope {
    background: linear-gradient(90deg, #ff6b6b, #ee5a24);
    transition: all 0.3s ease;
}

.btn-horoscope:hover {
    background: linear-gradient(90deg, #ee5a24, #ff6b6b);
    transform: scale(1.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .footer-nav {
        padding: 10px 0;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 30px;
    height: 30px;
    border: 3px solid rgba(255, 107, 107, 0.3);
    border-radius: 50%;
    border-top-color: #ff6b6b;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 滚动动画 */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.active {
    opacity: 1;
    transform: translateY(0);
}

/* 黄道吉日标记 */
.auspicious-day {
    position: relative;
}

.auspicious-day::before {
    content: '吉日';
    position: absolute;
    top: -5px;
    right: -5px;
    background-color: #ff6b6b;
    color: white;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 10px;
}

/* 日历样式 */
.calendar-day {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 2px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.calendar-day:hover {
    background-color: #f0f0f0;
}

.calendar-day.selected {
    background-color: #ff6b6b;
    color: white;
}

.calendar-day.auspicious {
    border: 2px solid #ff6b6b;
}