/* 心灵花园 - 塔罗疗愈空间样式 */

/* CSS变量定义 - 疗愈色彩方案 */
:root {
    /* 主色调 - 温暖治愈 */
    --primary-color: #e8b4a0;      /* 温暖桃色 */
    --secondary-color: #d4a5a5;    /* 柔和玫瑰色 */
    --accent-color: #a8c8a8;       /* 清新绿色 */
    --warm-gold: #f4d03f;          /* 温暖金色 */
    --soft-lavender: #c8a2c8;      /* 柔和薰衣草色 */
    
    /* 背景色系 */
    --bg-primary: #fef7f0;         /* 温暖米白色 */
    --bg-secondary: #f8f2e8;       /* 柔和米色 */
    --bg-tertiary: #f0e6d2;        /* 浅米色 */
    --bg-card: rgba(255, 255, 255, 0.8); /* 半透明白色 */
    
    /* 文字颜色 */
    --text-primary: #5d4e37;       /* 深棕色 */
    --text-secondary: #8b7355;     /* 中棕色 */
    --text-light: #a68b5b;         /* 浅棕色 */
    --text-white: #ffffff;         /* 白色 */
    
    /* 边框和阴影 */
    --border-color: rgba(232, 180, 160, 0.3);
    --shadow-soft: 0 4px 20px rgba(232, 180, 160, 0.15);
    --shadow-medium: 0 8px 30px rgba(232, 180, 160, 0.2);
    --shadow-strong: 0 12px 40px rgba(232, 180, 160, 0.25);
    
    /* 渐变 */
    --gradient-warm: linear-gradient(135deg, #e8b4a0, #d4a5a5);
    --gradient-soft: linear-gradient(135deg, #f8f2e8, #f0e6d2);
    --gradient-healing: linear-gradient(135deg, #a8c8a8, #c8a2c8);
    
    /* 字体（统一全站风格，优先使用 assets/typography.css 中的定义） */
    --font-sans: "Inter", "Noto Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    --font-serif: "Noto Serif SC", ui-serif, Georgia, "Times New Roman", Times, serif;
    --font-primary: var(--font-sans);
    --font-heading: var(--font-serif);
}

/* 基础重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 疗愈背景 */
.healing-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--gradient-soft);
    overflow: hidden;
}

/* 温暖光晕 */
.warm-glow {
    position: absolute;
    top: 20%;
    left: 10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(232, 180, 160, 0.3), transparent);
    border-radius: 50%;
    animation: gentle-pulse 8s ease-in-out infinite;
}

.warm-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    right: 20%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(168, 200, 168, 0.2), transparent);
    border-radius: 50%;
    animation: gentle-pulse 6s ease-in-out infinite reverse;
}

/* 动态闪耀星星 */
.twinkling-stars {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.star {
    position: absolute;
    color: #E8E8E8;
    font-size: 1rem;
    opacity: 0;
    animation: twinkle 6s ease-in-out infinite;
    text-shadow: 0 0 8px rgba(232, 232, 232, 0.6), 0 0 15px rgba(255, 192, 203, 0.4);
    filter: drop-shadow(0 0 6px rgba(232, 232, 232, 0.5)) drop-shadow(0 0 12px rgba(255, 192, 203, 0.3));
}

.star-1 { top: 15%; left: 15%; animation-delay: 0s; animation-duration: 8s; }
.star-2 { top: 25%; left: 75%; animation-delay: 1s; animation-duration: 7.5s; }
.star-3 { top: 35%; left: 25%; animation-delay: 2s; animation-duration: 9s; }
.star-4 { top: 45%; left: 85%; animation-delay: 3s; animation-duration: 8.5s; }
.star-5 { top: 55%; left: 35%; animation-delay: 4s; animation-duration: 7s; }
.star-6 { top: 65%; left: 65%; animation-delay: 5s; animation-duration: 8.2s; }
.star-7 { top: 75%; left: 45%; animation-delay: 6s; animation-duration: 7.8s; }
.star-8 { top: 85%; left: 55%; animation-delay: 7s; animation-duration: 8.8s; }
.star-9 { top: 20%; left: 50%; animation-delay: 8s; animation-duration: 7.2s; }
.star-10 { top: 40%; left: 60%; animation-delay: 9s; animation-duration: 8.7s; }
.star-11 { top: 60%; left: 20%; animation-delay: 10s; animation-duration: 7.9s; }
.star-12 { top: 80%; left: 80%; animation-delay: 11s; animation-duration: 8.3s; }

/* 柔和光点 */
.soft-lights {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.light {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--warm-gold);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--warm-gold);
    animation: twinkle-gentle 3s ease-in-out infinite;
}

.light-1 { top: 15%; left: 25%; animation-delay: 0s; }
.light-2 { top: 35%; left: 75%; animation-delay: 1s; }
.light-3 { top: 55%; left: 30%; animation-delay: 2s; }
.light-4 { top: 75%; left: 80%; animation-delay: 0.5s; }
.light-5 { top: 25%; left: 60%; animation-delay: 1.5s; }

/* 能量波纹 */
.energy-waves {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.wave {
    position: absolute;
    border: 2px solid rgba(232, 180, 160, 0.3);
    border-radius: 50%;
    animation: ripple-gentle 12s ease-in-out infinite;
}

.wave-1 {
    top: 30%;
    left: 50%;
    width: 100px;
    height: 100px;
    margin: -50px 0 0 -50px;
    animation-delay: 0s;
}

.wave-2 {
    top: 30%;
    left: 50%;
    width: 200px;
    height: 200px;
    margin: -100px 0 0 -100px;
    animation-delay: 4s;
}

.wave-3 {
    top: 30%;
    left: 50%;
    width: 300px;
    height: 300px;
    margin: -150px 0 0 -150px;
    animation-delay: 8s;
}

/* 动画定义 */
@keyframes gentle-pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.1); opacity: 0.6; }
}

@keyframes twinkle {
    0%, 100% { 
        opacity: 0; 
        transform: scale(0.3) rotate(0deg); 
        text-shadow: 0 0 3px rgba(232, 232, 232, 0.2), 0 0 6px rgba(255, 192, 203, 0.1);
    }
    15% { 
        opacity: 0.3; 
        transform: scale(0.5) rotate(36deg); 
        text-shadow: 0 0 6px rgba(232, 232, 232, 0.4), 0 0 12px rgba(255, 192, 203, 0.2);
    }
    30% { 
        opacity: 0.7; 
        transform: scale(0.8) rotate(72deg); 
        text-shadow: 0 0 10px rgba(232, 232, 232, 0.6), 0 0 18px rgba(255, 192, 203, 0.3);
    }
    50% { 
        opacity: 1; 
        transform: scale(1.0) rotate(180deg); 
        text-shadow: 0 0 12px rgba(232, 232, 232, 0.8), 0 0 20px rgba(255, 192, 203, 0.5);
    }
    70% { 
        opacity: 0.8; 
        transform: scale(0.9) rotate(252deg); 
        text-shadow: 0 0 10px rgba(232, 232, 232, 0.7), 0 0 18px rgba(255, 192, 203, 0.4);
    }
    85% { 
        opacity: 0.4; 
        transform: scale(0.6) rotate(324deg); 
        text-shadow: 0 0 6px rgba(232, 232, 232, 0.5), 0 0 12px rgba(255, 192, 203, 0.3);
    }
}

@keyframes twinkle-gentle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes ripple-gentle {
    0% { transform: scale(0.8); opacity: 0.8; }
    50% { transform: scale(1.2); opacity: 0.4; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* 头部样式 */
.healing-header {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

.healing-header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-icon {
    font-size: 2.5rem;
    animation: gentle-sway 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-image {
    width: 4.5rem;
    height: 4.5rem;
    object-fit: contain;
    border-radius: 0.5rem;
    animation: gentle-sway 3s ease-in-out infinite;
}

.logo-text h1 {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.logo-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 0.5rem;
}

.nav-link:hover {
    color: var(--primary-color);
    background: rgba(232, 180, 160, 0.1);
    transform: translateY(-2px);
}

.nav-link i {
    font-size: 1.2rem;
}

.nav-link span {
    font-size: 0.85rem;
    font-weight: 500;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector {
    position: relative;
}

.language-selector select {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

.language-selector select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(232, 180, 160, 0.2);
}

.user-avatar {
    font-size: 2rem;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.1);
}

/* 疗愈按钮样式 */
.healing-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 2rem;
    font-family: var(--font-primary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.healing-btn.primary {
    background: var(--gradient-warm);
    color: var(--text-white);
    box-shadow: var(--shadow-soft);
}

.healing-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.healing-btn.secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.healing-btn.secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--primary-color);
}

.healing-btn.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
    pointer-events: none;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes gentle-sway {
    0%, 100% { transform: rotate(-2deg); }
    50% { transform: rotate(2deg); }
}

/* Hero区域 */
.healing-hero {
    padding: 6rem 0;
    text-align: center;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

.hero-title {
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    font-family: var(--font-serif);
    font-size: 3.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.title-sub {
    display: block;
    font-size: 1.5rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.feature-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* 塔罗体验区域 */
.tarot-experience {
    padding: 6rem 0;
    background: var(--bg-primary);
    position: relative;
    overflow: hidden;
}

.tarot-experience::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(232, 180, 160, 0.1) 0%, 
        rgba(212, 165, 165, 0.1) 50%, 
        rgba(168, 200, 168, 0.1) 100%);
    z-index: 0;
}

.experience-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 1;
}

.experience-content {
    position: relative;
    z-index: 1;
}

.demo-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 2rem;
    box-shadow: var(--shadow-medium);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
}

.demo-header {
    text-align: center;
    margin-bottom: 2rem;
}

.demo-header h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.demo-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.master-selection, .question-input {
    margin-bottom: 2rem;
}

.master-selection label, .question-input label {
    display: block;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.master-selection select, .question-input input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.master-selection select:focus, .question-input input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(232, 180, 160, 0.2);
}

.card-display {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
}

.card-display.single-card {
    justify-content: center;
}

.card {
    width: 120px;
    height: 180px;
    position: relative;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.card.flipped {
    transform: rotateY(180deg);
}

.card-back, .card-front {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
}

.card-back {
    background: var(--gradient-warm);
    color: var(--text-white);
    overflow: hidden;
}

.card-back-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 1rem;
}

.card-front {
    background: var(--bg-primary);
    color: var(--text-primary);
    transform: rotateY(180deg);
    border: 2px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.card-front-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.8rem;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.card:hover .card-back {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.card-label {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    position: relative;
    z-index: 2;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.card-symbol {
    font-size: 2rem;
}

.reading-result {
    margin-top: 2rem;
    padding: 2rem;
    background: var(--bg-secondary);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.reading-result h4 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.reading-result.hidden {
    display: none;
}

.reading-result.show {
    display: block;
    animation: fadeInUp 0.5s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.master-greeting {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.master-greeting h5 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 600;
}

.interpretation {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-interpretation {
    padding: 1rem;
    background: var(--bg-primary);
    border-radius: 0.8rem;
    border-left: 4px solid var(--primary-color);
}

.card-interpretation h6 {
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card-interpretation p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Footer 样式 */
.healing-footer {
    background: var(--bg-secondary);
    padding: 4rem 0 2rem;
    margin-top: 6rem;
    position: relative;
    overflow: hidden;
}

.healing-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(232, 180, 160, 0.1) 0%, 
        rgba(212, 165, 165, 0.1) 50%, 
        rgba(168, 200, 168, 0.1) 100%);
    z-index: 0;
}

.footer-brand {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.brand-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.brand-logo i {
    font-size: 2.5rem;
    color: var(--primary-color);
}

.footer-logo-image {
    width: 4rem;
    height: 4rem;
    object-fit: contain;
    border-radius: 0.5rem;
}

.brand-logo h3 {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.brand-description {
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto;
}

.footer-nav {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.nav-section h4 {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.nav-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.nav-section a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    color: var(--text-secondary);
    margin: 0.25rem 0;
    font-size: 0.9rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.healing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.healing-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.healing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-healing);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.healing-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.healing-card:hover::before {
    transform: scaleX(1);
}

.healing-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--text-white);
    box-shadow: var(--shadow-soft);
}

.healing-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.healing-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.healing-tags {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.tag {
    background: var(--accent-color);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 牌阵选择区域 */
.spreads-section {
    padding: 6rem 0;
    background: var(--bg-primary);
}

.spread-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-width: 100px;
}

.category-btn:hover {
    border-color: var(--primary-color);
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.category-btn.active {
    background: var(--gradient-warm);
    border-color: var(--primary-color);
    color: var(--text-white);
}

.category-btn i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.category-btn.active i {
    color: var(--text-white);
}

.category-btn span {
    font-size: 0.9rem;
    font-weight: 500;
}

.spread-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.spread-card {
    background: var(--bg-card);
    border-radius: 1.5rem;
    text-align: center;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
}

.spread-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-healing);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.spread-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.spread-card:hover::before {
    transform: scaleX(1);
}

.spread-image {
    width: 100%;
    height: 12rem;
    margin: 0;
    overflow: hidden;
    position: relative;
}

.spread-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.spread-card:hover .spread-image img {
    transform: scale(1.05);
}

.spread-content {
    padding: 1.5rem;
    text-align: center;
}

.spread-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.spread-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    min-height: 3rem;
    opacity: 0.7;
}

/* 塔罗师区域 */
.masters-section {
    padding: 6rem 0;
    background: var(--bg-secondary);
}

.masters-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.master-card {
    background: var(--bg-card);
    border-radius: 1.5rem;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.master-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 8px 32px rgba(232, 180, 160, 0.2);
    transform: scale(1.05);
}

.master-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
}

.master-card.featured:hover {
    transform: scale(1.05) translateY(-8px);
}

.master-header {
    position: relative;
    padding: 2rem 2rem 1rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(232, 180, 160, 0.1), rgba(255, 248, 240, 0.1));
}

.master-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2.5rem;
    color: var(--text-white);
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
}

.master-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    transition: transform 0.3s ease;
}

.master-avatar:hover .master-avatar-img {
    transform: scale(1.05);
}

.master-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.master-content {
    padding: 0 2rem 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.master-info {
    text-align: center;
    margin-bottom: 1rem;
}

.master-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.master-title {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.master-style {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 1rem;
}

.master-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    flex: 1;
}

.master-description p {
    margin: 0 0 0.75rem 0;
    color: var(--text-secondary);
}

.master-description p:last-child {
    margin-bottom: 0;
}

.master-description strong {
    color: var(--primary-color);
    font-weight: 600;
}

.master-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.feature-tag {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
}

.master-info {
    margin-bottom: 1.5rem;
}

.master-name {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.master-title {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

.master-style {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-style: italic;
}

.master-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .masters-showcase {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }
    
    .master-card.featured {
        grid-column: 1 / -1;
        transform: none;
    }
    
    .master-card.featured:hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .title-main {
        font-size: 2.5rem;
    }
    
    .title-sub {
        font-size: 1.2rem;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .healing-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .healing-grid {
        grid-template-columns: 1fr;
    }
    
    .spread-grid {
        grid-template-columns: 1fr;
    }
    
    .masters-showcase {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .master-card.featured {
        transform: none;
    }
    
    .master-card.featured:hover {
        transform: translateY(-8px);
    }
    
    .spread-categories {
        gap: 0.5rem;
    }
    
    .category-btn {
        padding: 0.75rem 1rem;
        min-width: 80px;
    }
    
    .quick-start {
        flex-direction: column;
        gap: 1rem;
    }
    
    .step-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }
    
    .divination-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .divination-actions .healing-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .demo-container {
        padding: 2rem 1.5rem;
    }
    
    .card-display {
        gap: 1rem;
    }
    
    .card {
        width: 100px;
        height: 150px;
    }
    
    .card-symbol {
        font-size: 1.5rem;
    }
    
    .footer-nav {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    
    .brand-logo {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .brand-logo h3 {
        font-size: 1.5rem;
    }
    
    .logo-image {
        width: 4rem;
        height: 4rem;
    }
    
    .footer-logo-image {
        width: 3.5rem;
        height: 3.5rem;
    }
}

/* 滚动行为 */
html {
    scroll-behavior: smooth;
}

/* RTL语言支持 */
[dir="rtl"] {
    direction: rtl;
    text-align: right;
}

[dir="rtl"] .container {
    direction: rtl;
}

[dir="rtl"] .nav-menu {
    flex-direction: row-reverse;
}

[dir="rtl"] .user-section {
    flex-direction: row-reverse;
}

[dir="rtl"] .hero-actions {
    flex-direction: row-reverse;
}

[dir="rtl"] .card-display {
    flex-direction: row-reverse;
}

[dir="rtl"] .spread-categories {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-nav {
    direction: rtl;
}

[dir="rtl"] .footer-bottom {
    flex-direction: row-reverse;
}

[dir="rtl"] .footer-social {
    flex-direction: row-reverse;
}

/* 选择文本样式 */
::selection {
    background: var(--primary-color);
    color: var(--text-white);
}

/* 提问页面样式 */
.question-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-top: 2rem;
}

.question-main {
    background: var(--bg-card);
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: var(--shadow-soft);
}

.question-header {
    margin-bottom: 2rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-bottom: 1rem;
}

.back-btn:hover {
    color: var(--primary-color);
}

.question-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.question-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.question-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.question-textarea {
    width: 100%;
    min-height: 120px;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    transition: all 0.3s ease;
    font-family: inherit;
}

.question-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(232, 180, 160, 0.2);
}

.char-count {
    text-align: right;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.char-count.error {
    color: var(--error-color);
}

.master-selection {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.master-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.master-option {
    position: relative;
}

.master-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.master-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 1rem;
    background: var(--bg-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.master-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.master-option input[type="radio"]:checked + .master-card {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(232, 180, 160, 0.1), rgba(255, 248, 240, 0.1));
    box-shadow: 0 0 0 2px rgba(232, 180, 160, 0.2);
}

.master-avatar {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.master-info {
    flex: 1;
}

.master-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.master-style {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.guide-section {
    background: var(--bg-secondary);
    border-radius: 1rem;
    overflow: hidden;
}

.guide-toggle {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    cursor: pointer;
    transition: background 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.guide-toggle:hover {
    background: var(--bg-primary);
}

.guide-arrow {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.guide-arrow.rotated {
    transform: rotate(180deg);
}

.guide-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.guide-content.active {
    max-height: 500px;
}

.guide-list {
    padding: 1.5rem;
    margin: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.guide-list li {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.guide-list strong {
    color: var(--primary-color);
    font-weight: 600;
}

.guide-list span {
    color: var(--text-secondary);
    line-height: 1.6;
}

.form-actions {
    margin-top: 1rem;
}

.question-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.help-card {
    background: var(--bg-card);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
}

.help-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.example-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.example-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
    transition: background 0.3s ease;
}

.example-list li:hover {
    background: var(--bg-primary);
}

.example-list i {
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.example-list span {
    color: var(--text-secondary);
    line-height: 1.5;
    font-size: 0.9rem;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1rem;
}

.faq-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.faq-question {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.faq-answer {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.9rem;
}

/* 抽牌页面样式 */
.drawing-section {
    background: var(--bg-card);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    margin-top: 2rem;
}

.drawing-header {
    text-align: center;
    margin-bottom: 3rem;
}

.drawing-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.drawing-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.spread-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 3rem;
}

.spread-details h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.spread-details p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.master-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.master-avatar {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 1.2rem;
}

.master-details h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.master-details p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* 牌阵布局 */
.spread-layout {
    margin-bottom: 3rem;
}

.three-card-spread {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.celtic-cross-spread {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.celtic-center {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.celtic-staff {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.card-position {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.position-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    padding: 0.5rem 1rem;
    background: var(--bg-primary);
    border-radius: 1rem;
    border: 2px solid var(--border-color);
}

.card-slot {
    width: 120px;
    height: 180px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.card-slot:hover {
    transform: translateY(-5px);
}

.card-back, .card-front {
    width: 100%;
    height: 100%;
    border-radius: 0.75rem;
    position: absolute;
    top: 0;
    left: 0;
    backface-visibility: hidden;
    transition: transform 0.6s ease;
}

.card-back {
    background: var(--gradient-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 2rem;
    box-shadow: var(--shadow-medium);
    border: 2px solid var(--primary-color);
}

.card-front {
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-medium);
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.card-slot.flipped .card-back {
    transform: rotateY(180deg);
}

.card-slot.flipped .card-front {
    transform: rotateY(0deg);
}

.card-image {
    flex: 1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.card-name {
    padding: 0.75rem;
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-secondary);
    font-size: 0.9rem;
}

.drawing-actions, .reading-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.hidden {
    display: none !important;
}

/* 解读结果页面样式 */
.result-section {
    background: var(--bg-card);
    border-radius: 1.5rem;
    padding: 3rem;
    box-shadow: var(--shadow-soft);
    margin-top: 2rem;
}

.result-header {
    text-align: center;
    margin-bottom: 3rem;
}

.result-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.result-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.reading-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 3rem;
    gap: 2rem;
}

.reading-details h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.reading-details p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.1rem;
}

.drawn-cards {
    margin-bottom: 3rem;
}

.drawn-cards h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.cards-display {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.result-card {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    border: 2px solid var(--border-color);
    text-align: center;
    transition: transform 0.3s ease;
    width: 200px;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.result-card .card-image {
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
}

.result-card .card-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.result-card .card-position {
    font-size: 0.9rem;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    display: inline-block;
}

.interpretation-content {
    margin-bottom: 3rem;
}

.interpretation-header {
    margin-bottom: 2rem;
}

.interpretation-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.master-greeting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-style: italic;
    font-size: 1.1rem;
}

.master-greeting i {
    font-size: 1.2rem;
}

.interpretation-body {
    background: var(--bg-secondary);
    border-radius: 1rem;
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
}

.interpretation-text {
    line-height: 1.8;
    color: var(--text-primary);
    font-size: 1.1rem;
}

.interpretation-text p {
    margin-bottom: 1.5rem;
}

.interpretation-text p:last-child {
    margin-bottom: 0;
}

/* 卡片解读样式 */
.card-interpretation {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.card-interpretation h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.card-interpretation h4::before {
    content: '🔮';
    font-size: 1.2rem;
}

.card-meaning {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
}

.card-keywords {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    padding: 0.5rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 0.5rem;
}

.card-keywords strong {
    color: var(--primary-color);
}

.card-text {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-primary);
    font-style: italic;
}

/* 单张牌解读样式 */
.single-card-reading {
    text-align: center;
}

.single-card-reading .card-interpretation {
    max-width: 600px;
    margin: 0 auto;
    background: var(--bg-primary);
    border-radius: 1.5rem;
    padding: 2rem;
    border-left: 4px solid var(--primary-color);
    box-shadow: var(--shadow-soft);
}

.single-card-reading .card-interpretation h6 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.single-card-reading .card-interpretation h6::before {
    content: '🔮';
    font-size: 1.3rem;
}

.single-card-reading .card-interpretation p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
    text-align: left;
}

/* 数据库解读样式 */
.card-meaning, .card-keywords, .card-advice {
    background: var(--bg-secondary);
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    margin-bottom: 1rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.card-meaning strong, .card-keywords strong, .card-advice strong {
    color: var(--primary-color);
    font-weight: 600;
}

.card-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-style: italic;
    text-align: left;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border-left: 3px solid var(--primary-color);
}

/* 导师专业领域样式 */
.master-specialty {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin-top: 0.5rem;
}

/* 详细分析样式 */
.detailed-analysis {
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-left: 4px solid var(--accent-color);
}

.detailed-analysis h6 {
    color: var(--primary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.detailed-analysis h6::before {
    content: '📊';
    font-size: 1rem;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.analysis-item {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.analysis-item strong {
    color: var(--primary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

/* 情感指导样式 */
.emotional-guidance {
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    padding: 1.5rem;
    margin-top: 1.5rem;
    border-left: 4px solid var(--secondary-color);
}

.emotional-guidance h6 {
    color: var(--secondary-color);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.emotional-guidance h6::before {
    content: '💝';
    font-size: 1rem;
}

.guidance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.guidance-item {
    background: var(--bg-primary);
    padding: 1rem;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
}

.guidance-item strong {
    color: var(--secondary-color);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.action-advice {
    margin-bottom: 3rem;
}

.action-advice h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
}

.advice-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.advice-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 1.5rem;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.advice-item:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.advice-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.advice-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.advice-content p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.result-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .result-section {
        padding: 2rem;
    }

    .result-title {
        font-size: 2rem;
    }

    .reading-info {
        flex-direction: column;
        gap: 1.5rem;
    }

    .cards-display {
        gap: 1rem;
    }

    .result-card {
        width: 150px;
    }

    .result-card .card-image {
        height: 120px;
    }

    .advice-list {
        grid-template-columns: 1fr;
    }

    .result-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .question-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .question-main {
        padding: 1.5rem;
    }
    
    .question-title {
        font-size: 2rem;
    }
    
    .master-options {
        grid-template-columns: 1fr;
    }
    
    .master-card {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .master-info {
        text-align: center;
    }

    .drawing-section {
        padding: 2rem;
    }

    .drawing-title {
        font-size: 2rem;
    }

    .spread-info {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .three-card-spread {
        gap: 1rem;
    }

    .celtic-cross-spread {
        gap: 1.5rem;
    }

    .card-slot {
        width: 100px;
        height: 150px;
    }

    .drawing-actions, .reading-actions {
        flex-direction: column;
        align-items: center;
    }
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* 塔罗资源区域样式 */
.resources-section {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 6rem 0;
    position: relative;
    overflow: hidden;
}

.resources-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="stars" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="0.5" fill="%23E8E8E8" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23stars)"/></svg>') repeat;
    opacity: 0.1;
    pointer-events: none;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.resource-category {
    background: var(--bg-primary);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-soft);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resource-category::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-warm);
    border-radius: 1rem 1rem 0 0;
}

.resource-category:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
    border-color: var(--primary-color);
}

.category-header {
    text-align: center;
    margin-bottom: 2rem;
}

.category-header i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
    display: block;
}

.category-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.category-header p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin: 0;
}

.resource-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.resource-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 0.75rem;
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.resource-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.resource-item:hover::before {
    left: 100%;
}

.resource-item:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.resource-icon {
    width: 3rem;
    height: 3rem;
    background: var(--gradient-warm);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.resource-icon i {
    font-size: 1.2rem;
    color: white;
}

.resource-item:hover .resource-icon {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.resource-content {
    flex: 1;
}

.resource-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: inherit;
}

.resource-content p {
    font-size: 0.85rem;
    margin: 0;
    opacity: 0.8;
    color: inherit;
}

/* 塔罗资源区域响应式设计 */
@media (max-width: 768px) {
    .resources-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .resource-category {
        padding: 1.5rem;
    }
    
    .resource-item {
        padding: 0.75rem;
    }
    
    .resource-icon {
        width: 2.5rem;
        height: 2.5rem;
        margin-right: 0.75rem;
    }
    
    .resource-icon i {
        font-size: 1rem;
    }
}
