@import "./common.css";
/* 英雄区域 */
.hero {
    padding: 60px 0 0;
}
.hero-content {
    flex: 1;
}
.hero-title {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6bc9, #7b68ee, #6be7ff);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
}
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.hero-subtitle {
    font-size: 1.2em;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.6;
}
.hero-actions {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    padding: 80px 0;
}
.zodiac-wheel {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
}
.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle, var(--bg-card) 30%, transparent 70%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(123, 104, 238, 0.3);
    animation: rotate 40s linear infinite;
}

.zodiac-sign {
    position: absolute;
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform-origin: center;
    text-align: center;
    font-size: 1.8rem;
    border-radius: 50%;
    cursor: pointer;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    z-index: 1;
}
.zodiac-sign:hover {
    transform: scale(1.2);
    box-shadow: 0 0 20px currentColor;
}
/* 中心圆 */
.center-circle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b0764, #7c3aed);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 0 25px rgba(124, 58, 237, 0.7);
    z-index: 10;
    border: 3px solid #a78bfa;
}
/* 连接线 */
.line {
    position: absolute;
    width: 2px;
    background-color: rgba(167, 139, 250, 0.3);
    transform-origin: top center;
    top: 50%;
    left: 50%;
    z-index: 0;
}
/* 动画效果 */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(167, 139, 250, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(167, 139, 250, 0);
    }
}

.pulse {
    animation: pulse 2s infinite;
}
.info-panel {
    flex: 1;
    width: 100%;
    max-width: 500px;
    background: rgba(20, 20, 50, 0.7);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 1px solid #2a2a5a;
    margin: 0 auto;
}

.info-title {
    text-align: center;
    font-size: 1.6rem;
    margin-bottom: 25px;
    color: #a78bfa;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.selected-sign {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #2a2a5a;
}

.selected-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    color: white;
}

.selected-details h3 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.selected-dates {
    color: #a5a5d6;
    font-size: 1rem;
}

.selected-desc {
    line-height: 1.6;
    color: #c7c7e8;
}
/* 功能展示区域 */
.daily-horoscope {
    padding: 40px 0;
}
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}
.section-title::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(
        to right,
        transparent,
        var(--primary),
        transparent
    );
}
.section-subtitle {
    text-align: center;
    color: var(--text-gray);
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1.1rem;
}
.daily-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}
.daily-card {
    background-color: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    transition:
        transform 0.3s,
        box-shadow 0.3s;
    border: 1px solid rgba(123, 104, 238, 0.1);
    position: relative;
    overflow: hidden;
}
.daily-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
}
.daily-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}
.daily-bar {
    padding-left: 80px;
    position: relative;
    margin-bottom: 20px;
}
.daily-icon {
    width: 70px;
    height: 70px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    position: absolute;
    left: 0;
    top: 0;
}
.daily-title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}
.daily-desc {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 30px;
    line-clamp: 4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    display: -webkit-box;
}
.daily-tag {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.home-foot h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
}
.home-foot a {
    color: var(--text-gray);
    text-decoration: none;
    transition: color 0.3s;
}
.home-foot a:hover {
    color: var(--tertiary);
}

/* 响应式设计 */
@media (max-width: 992px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }
    .hero-image {
        flex-direction: column;
    }
    .zodiac-wheel {
        width: 300px;
        height: 300px;
        margin-bottom: 40px;
    }
}
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }
    .daily-grid {
        grid-template-columns: 1fr;
    }
    .hero-actions {
        justify-content: center;
    }
}
