/* 是否塔罗牌占卜页面专用样式 */
.header-section {
    text-align: center;
    padding: 40px 0 20px;
}

.main-title {
    font-size: 2.5rem;
    color: #8CD867;
    margin-bottom: 5px;
    font-weight: 700;
}

.sub-title {
    font-size: 2.2rem;
    color: #333;
    margin-bottom: 30px;
    font-weight: 900;
}

.intro-text {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
    line-height: 1.6;
    color: #555;
    font-size: 1.1rem;
}

.options-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

.option-card {
    width: 350px;
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.option-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.option-header {
    text-align: center;
    margin-bottom: 20px;
}

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

.option-subtitle {
    font-size: 0.9rem;
    color: #777;
}

.option-image {
    width: 100%;
    height: 230px;
    background-color: #f0f0f0;
    border-radius: 10px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.option-image img {
    width: auto;
    height: 100%;
    object-fit: contain;
    max-width: 100%;
}

.option-description {
    margin-bottom: 20px;
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

.option-button {
    display: block;
    width: 100%;
    background-color: #8A2BE2;
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 0;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
}

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

.crown-icon {
    color: #FFD700;
    margin-right: 5px;
}

.how-to-section {
    max-width: 1000px;
    margin: 0 auto 60px;
}

.how-to-title {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: #333;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.step-card {
    width: 30%;
    min-width: 280px;
    background-color: #f9f9f9;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    flex-grow: 1;
}

.step-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 60px;
    height: 60px;
    background-color: #f0f0f0;
    border-radius: 50%;
    margin-bottom: 15px;
    font-size: 1.5rem;
    color: #8A2BE2;
}

.step-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.step-description {
    font-size: 0.95rem;
    color: #555;
    line-height: 1.5;
}

/* 适配移动设备 */
@media (max-width: 768px) {
    .options-container {
        flex-direction: column;
        align-items: center;
    }
    
    .option-card {
        width: 90%;
        max-width: 350px;
    }
    
    .steps-container {
        flex-direction: column;
        align-items: center;
    }
    
    .step-card {
        width: 90%;
        margin-bottom: 20px;
    }
}

/* 夜间模式适配 */
body.dark-mode .main-title {
    color: #9de278; /* 亮绿色调整 */
}

body.dark-mode .sub-title {
    color: #e0e0e0;
}

body.dark-mode .intro-text {
    color: #b0b0b0;
}

body.dark-mode .option-card {
    background-color: #2c2c2e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .option-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

body.dark-mode .option-subtitle {
    color: #b0b0b0;
}

body.dark-mode .option-image {
    background-color: #3a3a3c;
}

body.dark-mode .option-description {
    color: #b0b0b0;
}

body.dark-mode .option-button {
    background-color: #9d4ced; /* 更亮的紫色 */
}

body.dark-mode .option-button:hover {
    background-color: #b072f3;
}

body.dark-mode .how-to-title {
    color: #e0e0e0;
}

body.dark-mode .step-card {
    background-color: #2c2c2e;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

body.dark-mode .step-icon {
    background-color: #3a3a3c;
    color: #b072f3; /* 更亮的紫色 */
}

body.dark-mode .step-title {
    color: #e0e0e0;
}

body.dark-mode .step-description {
    color: #b0b0b0;
}
