/* 首页专用样式 */

/* 首页header增强效果 */
.home-page .site-header {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    position: relative;
}

/* header和hero section之间的过渡区域 */
.home-page .site-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    right: 0;
    height: 20px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), transparent);
    pointer-events: none;
    z-index: 999;
}

/* 英雄区域 */
.hero-section {
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
    margin-top: -20px; /* 与header的after伪元素重叠 */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.2) 50%, rgba(0, 0, 0, 0.3) 100%), url('/img/index-bg.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: -0.01em;
    color: #ffffff;
}

.hero-description {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 35px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.hero-actions {
    margin-top: 30px;
}

.btn-explore {
    background: linear-gradient(135deg, #d4af37, #ffd700);
    color: #ffffff;
    padding: 14px 35px;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.btn-explore:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
    background: linear-gradient(135deg, #b8860b, #d4af37);
}

/* 确保按钮在移动端完全可见 */
@media (max-width: 768px) {
    .btn-explore {
        margin-bottom: 20px;
        position: relative;
        z-index: 10;
    }

    .hero-section {
        padding-bottom: 80px;
    }

    .hero-content .container {
        padding: 0 15px;
    }
}

/* 推荐塔罗师区域 */
.featured-readers-section {
    padding: 60px 0;
    background: #f8f9fa;
    color: #333;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 60px;
    color: #d4af37;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #d4af37, #ffd700);
    border-radius: 2px;
}

/* 圆形塔罗师网格 */
.readers-circle-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.reader-circle-card {
    text-align: center;
    transition: all 0.3s ease;
}

.reader-circle-card:hover {
    transform: translateY(-10px);
}

.reader-circle-link {
    text-decoration: none;
    color: inherit;
    display: block;
    transition: all 0.3s ease;
    border-radius: 50%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.reader-circle-link:hover {
    transform: scale(1.05);
}

.reader-circle-link:focus {
    outline: none;
}

.reader-circle-link:active {
    outline: none;
}

.reader-circle-photo {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    border: 4px solid #d4af37;
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.reader-circle-photo:hover {
    border-color: #ffd700;
    box-shadow: 0 12px 35px rgba(255, 215, 0, 0.4);
    transform: scale(1.05);
}

.reader-circle-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    pointer-events: none;
    border-radius: 50%;
}

.default-circle-photo {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #34495e, #2c3e50);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #d4af37;
}

.reader-circle-info {
    text-align: center;
}

.reader-name {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #333;
    transition: color 0.3s ease;
}

.reader-circle-card:hover .reader-name {
    color: #d4af37;
}

.reader-experience {
    font-size: 0.95rem;
    color: #666;
    margin: 0;
    font-weight: 300;
}

/* 查看更多按钮 */
.section-footer {
    text-align: center;
    margin-top: 40px;
}

.btn-outline {
    background: transparent;
    color: #d4af37;
    border: 2px solid #d4af37;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-outline:hover {
    background: #d4af37;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* 服务说明区域 */
.services-section {
    padding: 80px 0;
    background: #f8f9fa;
    color: #333;
}

.services-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.services-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto;
}

.service-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.service-icon {
    margin-bottom: 20px;
}

.service-icon .icon {
    font-size: 3rem;
    display: inline-block;
}

.service-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.service-description {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .readers-circle-grid {
        gap: 30px;
    }
    
    .reader-circle-photo {
        width: 130px;
        height: 130px;
    }
}

@media (max-width: 768px) {
    .hero-section {
        min-height: 450px;
        margin-top: -15px; /* 移动端调整重叠距离 */
    }

    /* 移动端header过渡效果调整 */
    .home-page .site-header::after {
        height: 15px;
        bottom: -15px;
    }

    .hero-content {
        padding: 0 20px;
    }

    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 18px;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 20px;
        margin-bottom: 30px;
    }

    .hero-actions {
        margin-top: 30px;
    }

    .btn-explore {
        padding: 13px 32px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .readers-circle-grid {
        gap: 25px;
    }

    .reader-circle-photo {
        width: 120px;
        height: 120px;
    }

    .reader-name {
        font-size: 1.1rem;
    }

    .reader-experience {
        font-size: 0.9rem;
    }

    /* 服务说明区域响应式 */
    .services-section {
        padding: 60px 0;
    }

    .services-title {
        font-size: 2rem;
    }

    .services-subtitle {
        font-size: 1rem;
        padding: 0 20px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 0 20px;
    }

    .footer-links {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 400px;
        margin-top: -15px;
    }

    .hero-content {
        padding: 0 10px;
    }

    .hero-content .container {
        padding: 0 10px;
    }

    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .hero-description {
        font-size: 0.9rem;
        padding: 0 10px;
        margin-bottom: 25px;
        line-height: 1.6;
    }

    .hero-actions {
        margin-top: 25px;
        margin-bottom: 20px;
    }

    .btn-explore {
        padding: 14px 30px;
        font-size: 0.9rem;
        letter-spacing: 0.8px;
        margin-bottom: 10px;
    }

    .featured-readers-section {
        padding: 60px 0;
    }

    .readers-circle-grid {
        gap: 20px;
    }

    .reader-circle-photo {
        width: 100px;
        height: 100px;
        border-width: 3px;
    }

    .reader-name {
        font-size: 1rem;
    }

    .reader-experience {
        font-size: 0.85rem;
    }

    /* 服务说明区域小屏幕优化 */
    .services-section {
        padding: 50px 0;
    }

    .services-title {
        font-size: 1.8rem;
    }

    .services-subtitle {
        font-size: 0.95rem;
        padding: 0 15px;
    }

    .services-grid {
        padding: 0 15px;
        gap: 25px;
    }

    .service-item {
        padding: 25px 15px;
    }

    .service-title {
        font-size: 1.2rem;
    }

    .service-description {
        font-size: 0.95rem;
    }
}

/* 超小屏幕优化 */
@media (max-width: 360px) {
    .hero-section {
        min-height: 380px;
        margin-top: -10px;
    }

    /* 超小屏幕header过渡效果调整 */
    .home-page .site-header::after {
        height: 10px;
        bottom: -10px;
    }

    .hero-content {
        padding: 0 5px;
    }

    .hero-content .container {
        padding: 0 5px;
    }

    .hero-title {
        font-size: 1.8rem;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .hero-description {
        font-size: 0.85rem;
        padding: 0 5px;
        margin-bottom: 20px;
        line-height: 1.5;
    }

    .hero-actions {
        margin-top: 20px;
        margin-bottom: 15px;
    }

    .btn-explore {
        padding: 12px 25px;
        font-size: 0.85rem;
        letter-spacing: 0.5px;
    }
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reader-circle-card {
    animation: fadeInUp 0.6s ease forwards;
}

.reader-circle-card:nth-child(1) { animation-delay: 0.1s; }
.reader-circle-card:nth-child(2) { animation-delay: 0.2s; }
.reader-circle-card:nth-child(3) { animation-delay: 0.3s; }
.reader-circle-card:nth-child(4) { animation-delay: 0.4s; }
.reader-circle-card:nth-child(5) { animation-delay: 0.5s; }


