/* AI塔罗师选择页面专用样式 */
.page-header {
    text-align: center;
    padding: 30px 0 10px;
}

.page-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.page-subtitle {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 20px;
}

.search-bar {
    max-width: 500px;
    margin: 0 auto 30px;
    display: flex;
    background: #f5f5f5;
    border-radius: 30px;
    padding: 8px 15px;
    align-items: center;
}

.search-bar input {
    flex: 1;
    border: none;
    background: transparent;
    padding: 5px 10px;
    font-size: 0.9rem;
}

.search-bar button {
    background: #8A2BE2;
    border: none;
    color: white;
    padding: 7px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    cursor: pointer;
}

/* 新添加的样式 */
.main-title {
    font-size: 1.4rem;
    color: #666;
    margin-bottom: 10px;
}

.ai-highlight {
    color: #FF69B4;
}

.free-counter-box {
    max-width: 500px;
    margin: 0 auto 20px;
    background-color: #f9f9f9;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
}

.free-counter {
    font-size: 1.1rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.refresh-icon {
    margin-left: 10px;
    color: #8A2BE2;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.refresh-icon:hover {
    transform: rotate(90deg);
}

.unlock-button {
    background: #8A2BE2;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 20px;
}

.unlock-button:hover {
    background: #7926c9;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.reset-time {
    font-size: 0.8rem;
    color: #888;
}

/* 会员订阅弹窗样式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.subscription-modal {
    background-color: white;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    overflow: hidden;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .subscription-modal {
    transform: scale(1);
}

.modal-header {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.modal-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.modal-subtitle {
    font-size: 0.9rem;
    color: #666;
}

.plan-options {
    padding: 20px;
}

.plan-option {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.plan-option:hover, .plan-option.selected {
    border-color: #8A2BE2;
    background-color: rgba(138, 43, 226, 0.05);
}

.plan-option.selected::before {
    content: " ";
    position: absolute;
    right: 15px;
    top: 15px;
    width: 10px;
    height: 10px;
    background-color: #8A2BE2;
    border-radius: 50%;
}

.plan-name {
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    justify-content: space-between;
}

.plan-price {
    color: #8A2BE2;
}

.plan-description {
    font-size: 0.85rem;
    color: #666;
}

.modal-footer {
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #eee;
}

.modal-footer button {
    border: none;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cancel-button {
    background-color: #f0f0f0;
    color: #333;
}

.cancel-button:hover {
    background-color: #e0e0e0;
}

.subscribe-button {
    background-color: #8A2BE2;
    color: white;
}

.subscribe-button:hover {
    background-color: #7926c9;
}

.term-conditions {
    font-size: 0.75rem;
    color: #888;
    text-align: center;
    padding: 0 20px 20px;
}

.reader-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.reader-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
}

.reader-image {
    width: 80px;
    height: 80px;
    background-color: #9370DB;
    border-radius: 10px;
    margin-right: 15px;
    flex-shrink: 0;
}

.reader-info {
    flex: 1;
}

.reader-name {
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
}

.reader-stars {
    color: gold;
    font-size: 0.8rem;
    margin-left: 5px;
}

.reader-description {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
}

.select-button {
    background: #8A2BE2;
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 0;
    width: 100%;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 10px;
}

.more-readers {
    text-align: center;
    margin-bottom: 30px;
}

.more-button {
    background: #f0f0f0;
    border: none;
    border-radius: 20px;
    padding: 8px 20px;
    font-size: 0.9rem;
    cursor: pointer;
}

.feature-section {
    padding: 40px 0;
    background: #f9f9f9;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.feature-card {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

.feature-card h3 {
    font-weight: 600;
    margin-bottom: 10px;
}

.feature-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}

.highlight-features {
    margin-top: 50px;
}

.highlight-feature {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.highlight-feature:nth-child(even) {
    flex-direction: row-reverse;
}

.highlight-image {
    width: 200px;
    height: 150px;
    background: linear-gradient(135deg, #84fab0, #8fd3f4);
    border-radius: 10px;
    margin: 0 20px;
    flex-shrink: 0;
}

.highlight-content h3 {
    font-weight: 600;
    margin-bottom: 10px;
}

.highlight-content p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
}

.faq-section {
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.faq-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.faq-item {
    background: white;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    margin-bottom: 15px;
}

.faq-question {
    font-weight: 600;
    margin-bottom: 10px;
}

.faq-answer {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.5;
}

.more-features {
    text-align: center;
    padding: 80px 0;
    background-color: #fff;
}

.more-features h2 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #222;
}

.more-features p {
    font-size: 1rem;
    color: #666;
    margin-bottom: 35px;
}

.more-features-button {
    background-color: #8A2BE2;
    color: white;
    border: none;
    border-radius: 30px;
    padding: 13px 30px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(138, 43, 226, 0.2);
}

.more-features-button:hover {
    background-color: #7926c9;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(138, 43, 226, 0.3);
}

@media (max-width: 768px) {
    .reader-grid, .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .highlight-feature, .highlight-feature:nth-child(even) {
        flex-direction: column;
    }
    
    .highlight-image {
        margin: 0 0 20px 0;
        width: 100%;
    }
}

/* AI塔罗牌高亮样式 */
.ai-tarot-highlight {
    color: #3498db; /* 蓝色 */
    font-weight: 700;
}

/* 开始占卜按钮容器 */
.start-divination-container {
    display: flex;
    justify-content: center;
    margin: 30px 0 40px;
}

/* 开始占卜按钮 */
.start-divination-button {
    background: linear-gradient(135deg, #8A2BE2, #5D3FD3);
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    padding: 16px 50px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(138, 43, 226, 0.3);
    transition: all 0.3s ease;
    transform: translateY(0);
    position: relative;
    overflow: hidden;
}

.start-divination-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(138, 43, 226, 0.4);
    background: linear-gradient(135deg, #9d4ced, #6a4ed9);
}

.start-divination-button:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.4);
}

/* 特点图标网格 */
.feature-icons-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature-icon-item {
    background-color: #f8f9fa;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.feature-icon-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8A2BE2, #5D3FD3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 1.8rem;
    box-shadow: 0 5px 15px rgba(138, 43, 226, 0.3);
}

.feature-icon-item h3 {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 15px;
}

.feature-icon-item p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* 暗色模式适配 */
body.dark-mode .feature-icon-item {
    background-color: #2c2c2e;
}

body.dark-mode .feature-icon-item h3 {
    color: #f0f0f0;
}

body.dark-mode .feature-icon-item p {
    color: #b0b0b0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .feature-icons-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .start-divination-button {
        font-size: 1.1rem;
        padding: 14px 40px;
    }
}

@media (max-width: 480px) {
    .feature-icons-grid {
        grid-template-columns: 1fr;
    }
    
    .start-divination-button {
        width: 100%;
        font-size: 1rem;
        padding: 12px 30px;
    }
}

/* 会员特权卡片 */
.premium-card {
    background: linear-gradient(135deg, #2c0a4a, #420d82);
    border-radius: 15px;
    padding: 25px 30px;
    box-shadow: 0 10px 30px rgba(66, 13, 130, 0.3);
    display: flex;
    align-items: center;
    margin: 40px 0;
    transform: translateY(0);
    transition: all 0.3s ease;
}

.premium-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(66, 13, 130, 0.4);
}

.premium-icon {
    flex-shrink: 0;
    margin-right: 30px;
    filter: drop-shadow(0 5px 15px rgba(255, 215, 0, 0.5));
    animation: gentle-pulse 3s infinite alternate;
}

@keyframes gentle-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 5px 15px rgba(255, 215, 0, 0.3));
    }
    100% {
        transform: scale(1.05);
        filter: drop-shadow(0 8px 20px rgba(255, 215, 0, 0.6));
    }
}

.premium-info {
    flex: 1;
}

.premium-title {
    color: #FFD700;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.premium-description {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.premium-button {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    color: #420d82;
    border: none;
    padding: 12px 25px;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
    display: inline-flex;
    align-items: center;
}

.premium-button i {
    margin-right: 8px;
}

.premium-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 215, 0, 0.4);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .premium-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 20px;
    }
    
    .premium-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .premium-title {
        font-size: 1.3rem;
    }
    
    .premium-description {
        font-size: 0.95rem;
    }
    
    .premium-button {
        width: 100%;
        justify-content: center;
    }
}
