/* ===================== Home Page ===================== */
.hero-section {
    min-height: calc(100vh - 60px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1.5rem;
    position: relative;
}

.hero-content { max-width: 700px; }

.hero-taiji {
    width: 180px;
    height: 180px;
    margin: 0 auto 2.5rem;
    animation: taiji-spin 40s linear infinite, gold-glow 4s ease-in-out infinite;
    position: relative;
    z-index: 10;
    filter: brightness(1.15) contrast(1.2);
}

.hero-taiji::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    z-index: -1;
    background: radial-gradient(circle at center, 
        rgba(212, 168, 83, 0.08) 0%,
        rgba(212, 168, 83, 0.03) 25%,
        transparent 60%);
    animation: pulse 4s ease-in-out infinite alternate;
    box-shadow: 
        0 0 20px rgba(212, 168, 83, 0.15),
        0 0 40px rgba(212, 168, 83, 0.08);
}

.hero-taiji::after {
    content: '';
    position: absolute;
    top: -25px;
    left: -25px;
    right: -25px;
    bottom: -25px;
    border-radius: 50%;
    z-index: -2;
    background: radial-gradient(circle at center, 
        rgba(212, 168, 83, 0.04) 0%,
        rgba(212, 168, 83, 0.01) 20%,
        transparent 45%);
    animation: pulse 6s ease-in-out infinite alternate;
    animation-delay: 1.5s;
}

.hero-taiji svg {
    width: 100%;
    height: 100%;
    filter: 
        drop-shadow(0 0 1px rgba(255, 255, 255, 0.4))
        drop-shadow(0 0 3px rgba(255, 255, 255, 0.2));
}

.hero-taiji svg path[fill="#FFFFFF"] {
    filter: drop-shadow(0 0 0.5px rgba(255, 255, 255, 0.6));
}

/* 移除太极图的过渡效果，保持简洁 */

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

@keyframes pulse {
    0% { 
        opacity: 0.3;
        transform: scale(0.97);
        box-shadow: 0 0 25px rgba(212, 168, 83, 0.15);
    }
    100% { 
        opacity: 0.6;
        transform: scale(1.03);
        box-shadow: 0 0 50px rgba(212, 168, 83, 0.25);
    }
}

@keyframes gold-glow {
    0% { 
        filter: drop-shadow(0 0 10px rgba(212, 168, 83, 0.4))
               drop-shadow(0 0 20px rgba(212, 168, 83, 0.2))
               drop-shadow(0 0 30px rgba(212, 168, 83, 0.1));
    }
    50% { 
        filter: drop-shadow(0 0 20px rgba(212, 168, 83, 0.8))
               drop-shadow(0 0 40px rgba(212, 168, 83, 0.4))
               drop-shadow(0 0 60px rgba(212, 168, 83, 0.2));
    }
    100% { 
        filter: drop-shadow(0 0 10px rgba(212, 168, 83, 0.4))
               drop-shadow(0 0 20px rgba(212, 168, 83, 0.2))
               drop-shadow(0 0 30px rgba(212, 168, 83, 0.1));
    }
}

/* 太极图悬停效果已移除 */

.hero-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #D4A853, #F5E6C8, #C49B3C, #F5E6C8, #D4A853);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    letter-spacing: 0.15em;
    text-shadow: 0 0 30px rgba(212, 168, 83, 0.3);
    position: relative;
    display: inline-block;
}

.hero-title::after {
    content: '炳文';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 30%, rgba(212, 168, 83, 0.1) 50%, transparent 70%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    z-index: 1;
    animation: title-glow 3s ease-in-out infinite alternate;
}

@keyframes title-glow {
    0% { opacity: 0.3; }
    100% { opacity: 0.7; }
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Feature Cards */
.features-section {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.section-title p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-gold), transparent);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.2rem;
}

.feature-card p {
    font-size: 0.85rem;
    line-height: 1.7;
}

/* Bazi Section */
.bazi-section {
    padding: 4rem 0;
    position: relative;
    z-index: 2;
}

.bazi-intro {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.bazi-intro h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.bazi-intro p {
    font-size: 0.95rem;
    line-height: 2;
    margin-bottom: 1rem;
}

.bazi-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
}

@media (max-width: 768px) {
    .bazi-items {
        grid-template-columns: repeat(2, 1fr);
    }
}

.bazi-item {
    padding: 1.5rem;
    text-align: center;
}

.bazi-item .label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.bazi-item .value {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.8rem;
    color: var(--primary-gold);
    text-shadow: 0 0 15px rgba(212, 168, 83, 0.4);
}

.bazi-item .bazi-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 0.5rem;
}

.bazi-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.bazi-feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.feature-icon-small {
    color: var(--primary-gold);
    font-size: 0.6rem;
}

/* Footer */
.site-footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* Floating particles animation */
.particles {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-gold);
    border-radius: 50%;
    opacity: 0;
    animation: particle-float linear infinite;
    box-shadow: 0 0 5px rgba(212, 168, 83, 0.8);
}

.particle:nth-child(2n) {
    background: #F5E6C8;
    width: 2px;
    height: 2px;
}

.particle:nth-child(3n) {
    background: #C49B3C;
    width: 4px;
    height: 4px;
}

@keyframes particle-float {
    0% { 
        opacity: 0; 
        transform: translateY(100vh) translateX(0) scale(0); 
    }
    10% { 
        opacity: 0.8; 
        transform: translateY(90vh) translateX(10px) scale(0.5);
    }
    50% { 
        opacity: 1; 
        transform: translateY(50vh) translateX(-5px) scale(1);
        box-shadow: 0 0 8px rgba(212, 168, 83, 1);
    }
    90% { 
        opacity: 0.8; 
        transform: translateY(10vh) translateX(5px) scale(0.8);
    }
    100% { 
        opacity: 0; 
        transform: translateY(-10vh) translateX(0) scale(0); 
    }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2rem; }
    .hero-taiji { width: 80px; height: 80px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .features-grid { grid-template-columns: 1fr; }
}
