/* 塔罗牌页面样式 - 简洁清秀实用 */

/* 基础样式 */
.tarot-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 头部介绍区域 */
.tarot-header {
   
    color: #000;
    padding: 60px 30px;
    border-radius: 16px;
    margin-bottom: 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.header-main {
    flex: 1;
    min-width: 300px;
}

.tarot-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.title-icon {
    font-size: 2rem;
    opacity: 0.9;
}

.tarot-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    margin-bottom: 30px;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

.header-visual {
    flex: 1;
    min-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.floating-cards {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.card-preview {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.mystical-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.circle-symbol {
    font-size: 3rem;
    opacity: 0.8;
}

.header-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.feature-icon-wrapper {
    flex-shrink: 0;
}

.feature-icon {
    font-size: 2.5rem;
}

.feature-text h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.feature-text p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* 决策问题表单 */
.decision-form {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.form-title {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 10px;
    color: #2d3748;
}

.form-description {
    text-align: center;
    color: #718096;
    margin-bottom: 30px;
    font-size: 1rem;
}

.question-input-section {
    margin-bottom: 30px;
}

.question-input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.question-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.question-input:disabled {
    background-color: #f7fafc;
    cursor: not-allowed;
}

.question-examples {
    margin-bottom: 30px;
}

.question-examples h4 {
    margin-bottom: 15px;
    color: #4a5568;
    font-weight: 600;
}

.example-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.example-tag {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #4a5568;
}

.example-tag:hover {
    background: #667eea;
    color: white;
    border-color: #667eea;
}

/* 牌阵选择 */
.spread-selection-section {
    margin-bottom: 30px;
}

.method-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #2d3748;
}

.spread-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.spread-option {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.spread-option:hover {
    border-color: #667eea;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
}

.spread-option input[type="radio"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
}

.spread-info {
    flex: 1;
}

.spread-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.spread-description {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.spread-cards {
    color: #a0aec0;
    font-size: 0.8rem;
}

/* 占卜按钮 */
.divination-actions {
    text-align: center;
}

.start-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 16px 40px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.start-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.start-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 占卜结果区域 */
.divination-result {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.result-header {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.result-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 20px;
}

.result-meta {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.question-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: #4a5568;
}

.question-icon {
    font-size: 1.2rem;
}

.divination-summary {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.summary-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #718096;
    font-size: 0.9rem;
}

.summary-icon {
    font-size: 1rem;
}

/* 塔罗牌阵显示 */
.tarot-spread-display {
    margin-bottom: 30px;
}

.spread-layout {
    display: grid;
    gap: 30px;
    justify-items: center;
}

/* 单张牌阵 */
.spread-1 {
    grid-template-columns: 1fr;
}

/* 三张牌阵 */
.spread-2,
.spread-3,
.spread-4 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

/* 凯尔特十字 */
.spread-5 {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.spread-5 .card-position:nth-child(1) {
    grid-column: 2;
    grid-row: 1;
}

.spread-5 .card-position:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}

.spread-5 .card-position:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}

.spread-5 .card-position:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
}

.spread-5 .card-position:nth-child(5) {
    grid-column: 2;
    grid-row: 3;
}

.spread-5 .card-position:nth-child(6) {
    grid-column: 1;
    grid-row: 4;
}

.spread-5 .card-position:nth-child(7) {
    grid-column: 2;
    grid-row: 4;
}

.spread-5 .card-position:nth-child(8) {
    grid-column: 3;
    grid-row: 4;
}

.spread-5 .card-position:nth-child(9) {
    grid-column: 2;
    grid-row: 5;
}

.spread-5 .card-position:nth-child(10) {
    grid-column: 2;
    grid-row: 6;
}

.card-position {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.position-label {
    text-align: center;
    margin-bottom: 10px;
}

.position-label h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 5px;
}

.position-label p {
    color: #718096;
    font-size: 0.9rem;
    margin: 0;
}

.tarot-card {
    background: rgba(102, 126, 234, 0.03);
    border-radius: 16px;
    padding: 0;
    width: 280px;
    min-height: 350px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
    color: #2d3748;
    border: 1px solid rgba(102, 126, 234, 0.08);
}

.tarot-card.reversed {
    background: rgba(79, 172, 254, 0.03);
    border-color: rgba(79, 172, 254, 0.08);
}

.tarot-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.card-header {
    background: rgba(255, 255, 255, 0.15);
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.card-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.card-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.card-content {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.orientation-indicator {
    text-align: center;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    display: inline-block;
}

.card-meaning p {
    line-height: 1.6;
    margin-bottom: 15px;
}

.card-advice {
    margin-bottom: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-weight: 500;
}

.card-keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.keyword-tag {
    background: rgba(255, 255, 255, 0.15);
    padding: 0px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 神秘之旅 */
.mystic-journey {

    padding: 60px 30px;
    border-radius: 16px;
    text-align: center;
    margin-bottom: 40px;
}

.journey-content h2 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2d3748;
}

.journey-content p {
    font-size: 1.1rem;
    color: #4a5568;
    margin-bottom: 40px;
}

.journey-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.journey-stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-text {
    text-align: left;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 5px;
}

.stat-desc {
    font-size: 0.9rem;
    color: #718096;
}

/* 常见问题 */
.faq-section {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin-bottom: 40px;
}

.faq-container h2 {
    font-size: 1.8rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 40px;
    color: #2d3748;
}

.faq-list {
    display: grid;
    gap: 30px;
}

.faq-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 25px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #667eea;
}

.faq-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 5px;
}

.faq-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #2d3748;
}

.faq-content p {
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

/* 免责声明 */
.disclaimer {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.disclaimer-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    color: #856404;
}

.disclaimer-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.disclaimer-content p {
    margin: 0;
    font-weight: 500;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .tarot-container {
        padding: 15px;
    }

    .tarot-header {
        padding: 40px 20px;
    }

    .header-content {
        flex-direction: column;
        text-align: center;
    }

    .tarot-title {
        font-size: 2rem;
    }

    .header-stats {
        gap: 20px;
    }

    .header-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .decision-form {
        padding: 30px 20px;
    }

    .spread-options {
        grid-template-columns: 1fr;
    }

    .divination-result {
        padding: 30px 20px;
    }

    .journey-stats {
        gap: 30px;
    }

    .journey-stat {
        flex-direction: column;
        text-align: center;
    }

    .faq-item {
        flex-direction: column;
        text-align: center;
    }

    .tarot-card {
        width: 100%;
        max-width: 280px;
    }

    .spread-5 {
        grid-template-columns: 1fr;
    }

    .spread-5 .card-position {
        grid-column: auto !important;
        grid-row: auto !important;
    }
}

@media (max-width: 480px) {
    .tarot-title {
        font-size: 1.6rem;
        flex-direction: column;
        gap: 10px;
    }

    .header-stats {
        flex-direction: column;
        gap: 15px;
    }

    .journey-stats {
        flex-direction: column;
        gap: 20px;
    }
}
