.auspicious-directions-container {
    max-width: 600px;
    margin: 20px auto;
    padding: 20px;
    background: linear-gradient(135deg, #fdfcfb 0%, #f5f7fa 100%);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    font-family: 'Microsoft YaHei', sans-serif;
}

.ad-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eaeaea;
}

.ad-header h3 {
    color: #d4af37;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

.ad-date-form {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.ad-date-form input[type="date"] {
    padding: 8px 12px;
    border: 2px solid #d4af37;
    border-radius: 8px;
    font-size: 16px;
}

.ad-date-form button {
    padding: 8px 20px;
    background: #d4af37;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.ad-date-form button:hover {
    background: #b8941f;
}

.ad-current-date {
    font-size: 18px;
    color: #333;
}

.ad-ganzhi {
    color: #d4af37;
    font-weight: bold;
    margin-left: 10px;
}

.ad-directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.ad-direction-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
}

.ad-direction-item:hover {
    transform: translateY(-5px);
}

.ad-caishen {
    border-top: 5px solid #ffd700;
}

.ad-xishen {
    border-top: 5px solid #ff6b6b;
}

.ad-fushen {
    border-top: 5px solid #51cf66;
}

.ad-taisui {
    border-top: 5px solid #868e96;
}

.ad-direction-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.ad-direction-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.ad-direction-value {
    font-size: 24px;
    color: #d4af37;
    font-weight: bold;
}

.ad-tips {
    background: #fff9e6;
    padding: 20px;
    border-radius: 12px;
    border-left: 5px solid #ffd700;
}

.ad-tips h4 {
    color: #333;
    margin-bottom: 15px;
}

.ad-tips ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.ad-tips li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: #666;
}

.ad-tips li:before {
    content: "•";
    color: #d4af37;
    font-size: 20px;
    position: absolute;
    left: 0;
    top: 5px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .ad-directions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .ad-directions-grid {
        grid-template-columns: 1fr;
    }
    
    .ad-date-form {
        flex-direction: column;
    }
}

/* 财神位横幅样式 */
.caishen-banner {
    background: linear-gradient(135deg, #fdf6e3 0%, #f5e6ca 100%);
    padding: 40px 0;
    border-bottom: 3px solid #d4af37;
}

.banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.date-info {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.today-date {
    font-size: 28px;
    color: #333;
    font-weight: bold;
    margin-bottom: 10px;
}

.lunar-info {
    font-size: 18px;
    color: #d4af37;
    background: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    border: 1px solid #d4af37;
}

.directions-info {
    flex: 2;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
}

.direction-card {
    background: white;
    padding: 20px;
    border-radius: 15px;
    text-align: center;
    min-width: 180px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.direction-card:hover {
    transform: translateY(-10px);
}

.card-icon {
    font-size: 40px;
    margin-bottom: 10px;
}

.direction-card h3 {
    color: #333;
    margin: 10px 0;
    font-size: 18px;
}

.direction-card .direction {
    font-size: 24px;
    color: #d4af37;
    font-weight: bold;
    margin: 10px 0;
}

.direction-card .suggestion {
    font-size: 12px;
    color: #666;
    font-style: italic;
    margin-top: 10px;
}