/* Base Styles */
:root {
    --primary-color: #9c6db8; /* Purple - representing amethyst/spiritual energy */
    --secondary-color: #f7d7f0; /* Light pink - representing rose quartz/love energy */
    --accent-color: #4fd1c5; /* Turquoise - representing healing/calming energy */
    --dark-color: #2d3748;
    --light-color: #f8f9fa;
    --text-color: #333;
    --heading-font: 'Playfair Display', serif;
    --body-font: 'Poppins', sans-serif;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--body-font);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--light-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

section {
    padding: 5rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header and Navigation */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: white;
    box-shadow: var(--box-shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    min-height: 60px;
}

.main-nav {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.main-nav a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
}

.main-nav a:hover {
    color: var(--primary-color);
    background-color: rgba(156, 109, 184, 0.1);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 80%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    text-align: center;
    padding: 8rem 2rem 4rem;
    position: relative;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/crystal-pattern.svg');
    background-size: cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.brand-name {
    font-family: 'Alex Brush', cursive;
    font-size: 4rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 1rem;
    letter-spacing: 2px;
}

.sara-crystal-font {
    font-family: 'Alex Brush', cursive;
}

.sara-crystal-font-cn {
    font-family: 'Alex Brush', cursive;
}

.sara-crystal-font.large, .sara-crystal-font-cn.large {
    font-size: 4rem;
}

.sara-crystal-font.medium, .sara-crystal-font-cn.medium {
    font-size: 3rem;
}

.sara-crystal-font.small, .sara-crystal-font-cn.small {
    font-size: 2rem;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.hero h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-button {
    background-color: white;
    color: var(--primary-color);
    border: none;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: var(--box-shadow);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.hero-channels {
    margin-top: 3rem;
    position: relative;
    z-index: 2;
}

.channel-options {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.channel-option {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    color: white;
    transition: var(--transition);
    backdrop-filter: blur(5px);
}

.channel-option:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: white;
}

/* Problem Section */
.problem {
    background-color: white;
    padding: 5rem 2rem;
}

.problem h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.challenge-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.challenge-card {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.challenge-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.challenge-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* About Us Section */
.about-us {
    background-color: var(--secondary-color);
    padding: 5rem 2rem;
}

.about-us h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.about-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 4rem auto;
}

.about-intro p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.8;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.about-feature {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    text-align: center;
}

.about-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.about-feature h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.about-feature p {
    color: #666;
    line-height: 1.6;
}

/* Crystal Guide Section */
.crystal-guide {
    background-color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.crystal-guide h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.crystal-guide > p {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.crystal-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.crystal-category {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    text-align: left;
}

.crystal-category h3 {
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    color: var(--primary-color);
    text-align: center;
}

.crystal-category ul li {
    margin-bottom: 0.8rem;
}

.crystal-category ul li a {
    display: block;
    padding: 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
}

.crystal-category ul li a:hover {
    background-color: rgba(156, 109, 184, 0.1);
    transform: translateX(5px);
}

.featured-crystals {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 2rem 7rem 2rem;
    position: relative;
}

.featured-crystals h3 {
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.crystal-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.crystal-card {
    background-color: var(--light-color);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.crystal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.crystal-card img {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 1rem;
    background-color: white;
}

.crystal-card h4 {
    font-size: 1.2rem;
    padding: 1rem 1rem 0.5rem;
    color: var(--primary-color);
}

.crystal-card p {
    padding: 0 1rem 1.5rem;
    font-size: 0.9rem;
}

/* Crystal Matching Section */
.crystal-matching {
    background-color: var(--secondary-color);
    padding: 5rem 2rem;
    text-align: center;
}

.crystal-matching h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.crystal-matching > p {
    max-width: 700px;
    margin: 0 auto 3rem;
}

.matching-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
}

.matching-option {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.matching-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.matching-option h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.matching-option p {
    margin-bottom: 1.5rem;
}

/* AI命理分析模块特殊宽度 */
.matching-option-wide {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .matching-option-wide {
        grid-column: span 1;
    }
}

.secondary-button {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition);
}

.secondary-button:hover {
    background-color: var(--accent-color);
}

.matching-diagram {
    max-width: 800px;
    margin: 0 auto;
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.matching-diagram img {
    max-width: 100%;
    margin-bottom: 1.5rem;
    border-radius: 4px;
}

/* Technology Section */
.technology {
    background-color: white;
    padding: 5rem 2rem;
}

.technology h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.tech-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.tech-feature {
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.tech-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.tech-feature h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

/* Testimonials Section */
.testimonials {
    background-color: var(--secondary-color);
    padding: 5rem 2rem;
}

.testimonials h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.testimonial-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonial-card {
    background-color: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
    display: flex;
    gap: 1rem;
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
}

.testimonial-icon {
    font-size: 2rem;
    line-height: 1;
}

.testimonial-content {
    flex: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 1rem;
}

.testimonial-author {
    font-weight: 600;
    color: var(--primary-color);
}

/* Contact Section */
.contact {
    background-color: white;
    padding: 5rem 2rem;
    text-align: center;
}

.contact h2 {
    font-size: 2.2rem;
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--light-color);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: var(--box-shadow);
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: white;
    padding: 4rem 2rem 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
}

.footer-section h3 {
    color: white;
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
}

.footer-section ul li {
    margin-bottom: 0.8rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul li a:hover {
    color: var(--accent-color);
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin: 0 auto;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Styles */
@media (max-width: 768px) {
    section {
        padding: 4rem 1.5rem;
    }
    
    header {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.5rem 1rem;
        min-height: auto;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
        width: 100%;
        order: 1;
    }

    .main-nav a {
        text-align: center;
        padding: 0.4rem 0.6rem;
        font-size: 0.85rem;
        flex: 0 0 auto;
        min-width: auto;
    }

    .language-selector {
        justify-content: center;
        gap: 0.2rem;
        order: 2;
        margin-top: 0.5rem;
    }

    .brand-name {
        font-size: 3rem;
    }

    .sara-crystal-font.large, .sara-crystal-font-cn.large {
        font-size: 3rem;
    }

    .sara-crystal-font.medium, .sara-crystal-font-cn.medium {
        font-size: 2.5rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 1rem;
    }
    
    header {
        padding: 0.4rem 0.8rem;
        min-height: auto;
        gap: 0.4rem;
    }
    
    .main-nav {
        gap: 0.3rem;
        justify-content: center;
    }
    
    .main-nav a {
        padding: 0.3rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .language-selector {
        margin-left: 0;
        gap: 0.15rem;
        margin-top: 0.4rem;
    }
    
    .lang-btn {
        padding: 2px 5px;
        font-size: 10px;
        min-width: 26px;
    }
    
    .hero {
        padding: 6rem 1rem 3rem;
    }

    .brand-name {
        font-size: 2.5rem;
    }

    .sara-crystal-font.large, .sara-crystal-font-cn.large {
        font-size: 2.5rem;
    }

    .sara-crystal-font.medium, .sara-crystal-font-cn.medium {
        font-size: 2rem;
    }

    .sara-crystal-font.small, .sara-crystal-font-cn.small {
        font-size: 1.5rem;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero h2 {
        font-size: 1.3rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .channel-option {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Language Selector Styling */
.language-selector {
    display: flex;
    align-items: center;
    justify-self: end;
    gap: 0.25rem;
}

.lang-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 4px 8px;
    margin: 0 2px;
    cursor: pointer;
    font-size: 12px;
    border-radius: 4px;
    transition: all 0.3s ease;
    min-width: 32px;
    text-align: center;
}

.lang-btn:hover {
    background-color: #f0f0f0;
}

.lang-btn.active {
    background-color: #4a90e2;
    color: white;
    border-color: #4a90e2;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .language-selector {
        margin-left: 8px;
    }
    
    .lang-btn {
        padding: 3px 6px;
        font-size: 11px;
        min-width: 28px;
    }
}

/* 确保移动端导航按钮完全隐藏 */
.mobile-nav-toggle,
.hamburger-menu,
.menu-toggle,
.nav-toggle {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* 确保导航栏始终可见 */
.main-nav {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
    transform: none !important;
}

/* 竖屏模式优化 */
@media screen and (orientation: portrait) and (max-width: 768px) {
    header {
        flex-direction: column !important;
        gap: 0.5rem !important;
        padding: 0.5rem 1rem !important;
        min-height: auto !important;
    }
    
    .main-nav {
        justify-content: center !important;
        width: 100% !important;
        order: 1 !important;
        flex-wrap: wrap !important;
    }
    
    .language-selector {
        justify-content: center !important;
        order: 2 !important;
        margin-top: 0.5rem !important;
        margin-left: 0 !important;
    }
}

/* 小屏竖屏模式进一步优化 */
@media screen and (orientation: portrait) and (max-width: 480px) {
    header {
        gap: 0.4rem !important;
        padding: 0.4rem 0.8rem !important;
    }
    
    .main-nav {
        gap: 0.3rem !important;
    }
    
    .language-selector {
        margin-top: 0.4rem !important;
        gap: 0.15rem !important;
    }
}

/* Android设备强制竖屏布局 */
@media screen and (max-width: 768px) and (-webkit-min-device-pixel-ratio: 1) and (orientation: portrait) {
    header {
        flex-direction: column !important;
        gap: 0.2rem !important;
        padding: 0.2rem 1rem !important;
        min-height: auto !important;
    }
    
    .main-nav {
        justify-content: center !important;
        width: 100% !important;
        order: 1 !important;
        flex-wrap: wrap !important;
        margin-bottom: 0.1rem !important;
    }
    
    .language-selector {
        justify-content: center !important;
        order: 2 !important;
        margin-top: 0.1rem !important;
        margin-left: 0 !important;
        width: 100% !important;
    }
}

/* Android小屏设备强制竖屏布局 */
@media screen and (max-width: 480px) and (-webkit-min-device-pixel-ratio: 1) and (orientation: portrait) {
    header {
        gap: 0.15rem !important;
        padding: 0.15rem 0.8rem !important;
    }
    
    .main-nav {
        gap: 0.15rem !important;
        margin-bottom: 0.05rem !important;
    }
    
    .language-selector {
        margin-top: 0.05rem !important;
        gap: 0.08rem !important;
    }
}

/* 客户评估系统样式 */
.assessment-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.assessment-content {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.assessment-content h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.assessment-content > p {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.question h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.option-label {
    display: flex;
    align-items: center;
    padding: 1rem;
    border: 2px solid rgba(156, 109, 184, 0.2);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.option-label:hover {
    border-color: var(--primary-color);
    background: rgba(156, 109, 184, 0.05);
}

.option-label input[type="radio"] {
    margin-right: 1rem;
    transform: scale(1.2);
}

.option-label span {
    font-size: 1.1rem;
    color: var(--text-color);
}

.assessment-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.assessment-buttons button {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#prev-question {
    background: rgba(156, 109, 184, 0.2);
    color: var(--primary-color);
}

#next-question, #get-recommendations {
    background: var(--primary-color);
    color: white;
}

.assessment-buttons button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 推荐结果样式 */
.recommendations h3 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.recommended-crystals {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.recommended-crystal {
    border: 2px solid rgba(156, 109, 184, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.recommended-crystal:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.recommended-crystal img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
}

.recommended-crystal h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.crystal-benefits {
    text-align: left;
    margin: 1rem 0;
}

.crystal-benefits strong {
    color: var(--primary-color);
}

.crystal-benefits ul {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
}

.crystal-benefits li {
    color: var(--text-color);
    margin-bottom: 0.3rem;
}

.learn-more-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background: #3fb8ac;
    transform: translateY(-2px);
}

.assessment-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.print-btn, .close-btn {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.print-btn {
    background: var(--accent-color);
    color: white;
}

.close-btn {
    background: rgba(156, 109, 184, 0.2);
    color: var(--primary-color);
}

.print-btn:hover, .close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 开始评估按钮 */
.start-assessment-btn {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 2rem auto;
    display: block;
    box-shadow: 0 4px 15px rgba(156, 109, 184, 0.3);
}

.start-assessment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(156, 109, 184, 0.4);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .assessment-content {
        padding: 2rem 1.5rem;
        width: 95%;
    }
    
    .assessment-buttons {
        flex-direction: column;
    }
    
    .assessment-actions {
        flex-direction: column;
    }
    
    .recommended-crystals {
        grid-template-columns: 1fr;
    }
}

/* 水晶匹配系统区域样式 */
.crystal-matching-section {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(156, 109, 184, 0.1), rgba(79, 209, 197, 0.1));
    border-radius: 20px;
    margin: 2rem auto;
    max-width: 1200px;
}

.crystal-matching-section h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.crystal-matching-section p {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* 详细水晶信息弹窗样式 */
.crystal-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.crystal-detail-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.close-detail {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 2rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.close-detail:hover {
    color: var(--primary-color);
}

.crystal-detail-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 2rem;
    padding: 2rem;
    border-bottom: 1px solid rgba(156, 109, 184, 0.2);
}

.crystal-detail-header img {
    width: 100%;
    max-width: 200px;
    height: 200px;
    object-fit: contain;
    border-radius: 15px;
    background: rgba(156, 109, 184, 0.05);
    padding: 1rem;
}

.crystal-basic-info h2 {
    color: var(--primary-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.crystal-description {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.crystal-properties-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.property-item {
    background: rgba(156, 109, 184, 0.05);
    padding: 0.8rem;
    border-radius: 8px;
    font-size: 0.9rem;
}

.property-item strong {
    color: var(--primary-color);
}

.crystal-detail-tabs {
    display: flex;
    background: rgba(156, 109, 184, 0.05);
    border-bottom: 1px solid rgba(156, 109, 184, 0.2);
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.tab-btn.active {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.tab-btn:hover {
    background: rgba(156, 109, 184, 0.1);
}

.crystal-detail-body {
    padding: 2rem;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* 疗愈功效标签页 */
.healing-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.healing-category {
    background: rgba(156, 109, 184, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-color);
}

.healing-category h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.healing-category ul {
    list-style: none;
    padding: 0;
}

.healing-category li {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.healing-category li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* 使用方法标签页 */
.usage-methods {
    display: grid;
    gap: 1.5rem;
}

.usage-item {
    border: 1px solid rgba(156, 109, 184, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.usage-item:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.usage-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.usage-item p {
    color: var(--text-color);
    line-height: 1.6;
}

/* 保养指南标签页 */
.care-instructions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.care-section {
    background: rgba(79, 209, 197, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.care-section h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.care-section ul {
    list-style: none;
    padding: 0;
}

.care-section li {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.care-section li::before {
    content: '◆';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

/* 搭配建议标签页 */
.combinations {
    display: grid;
    gap: 1rem;
    margin-bottom: 2rem;
}

.combination-item {
    background: rgba(156, 109, 184, 0.05);
    padding: 1.2rem;
    border-radius: 10px;
    border-left: 4px solid var(--primary-color);
}

.combination-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.combination-item p {
    color: var(--text-color);
    margin: 0;
}

.suitability {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-top: 2rem;
}

.suitable, .not-suitable {
    padding: 1.5rem;
    border-radius: 12px;
}

.suitable {
    background: rgba(79, 209, 197, 0.05);
    border-left: 4px solid var(--accent-color);
}

.not-suitable {
    background: rgba(255, 107, 107, 0.05);
    border-left: 4px solid #ff6b6b;
}

.suitable h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.not-suitable h4 {
    color: #ff6b6b;
    margin-bottom: 1rem;
}

.suitable ul, .not-suitable ul {
    list-style: none;
    padding: 0;
}

.suitable li, .not-suitable li {
    color: var(--text-color);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.suitable li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.not-suitable li::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: #ff6b6b;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .crystal-detail-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .crystal-properties-grid {
        grid-template-columns: 1fr;
    }
    
    .crystal-detail-tabs {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: 1 1 50%;
    }
    
    .healing-categories,
    .care-instructions {
        grid-template-columns: 1fr;
    }
    
    .suitability {
        grid-template-columns: 1fr;
    }
}

/* 四个功能模块的样式 */

/* 1. 个人能量档案样式 */
.energy-profile-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2500;
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 700px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.close-profile {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-profile:hover {
    color: var(--primary-color);
}

.profile-steps {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    padding: 0 1rem;
}

.step {
    flex: 1;
    text-align: center;
    padding: 0.8rem;
    background: rgba(156, 109, 184, 0.1);
    border-radius: 20px;
    margin: 0 0.5rem;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.step.active {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
}

.form-section h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input, .form-group select {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(156, 109, 184, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.personality-questions .question-group {
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(156, 109, 184, 0.05);
    border-radius: 10px;
}

.personality-questions p {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.personality-questions label {
    display: block;
    margin-bottom: 0.8rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.personality-questions label:hover {
    background: rgba(156, 109, 184, 0.1);
}

.assessment-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(79, 209, 197, 0.05);
    border-radius: 10px;
}

.slider-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 0.5rem;
}

.slider-container input[type="range"] {
    flex: 1;
    height: 6px;
    background: rgba(156, 109, 184, 0.2);
    border-radius: 3px;
    outline: none;
}

.slider-value {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    min-width: 30px;
    text-align: center;
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    padding: 0.8rem;
    background: rgba(156, 109, 184, 0.05);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-group label:hover {
    background: rgba(156, 109, 184, 0.1);
    transform: translateY(-2px);
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.8rem;
    transform: scale(1.2);
}

.profile-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    gap: 1rem;
}

.profile-navigation button {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

#prev-step {
    background: rgba(156, 109, 184, 0.2);
    color: var(--primary-color);
}

#next-step, #generate-profile {
    background: var(--primary-color);
    color: white;
}

.profile-navigation button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 2. 风水水晶匹配样式 */
.fengshui-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2500;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fengshui-content {
    background: white;
    border-radius: 20px;
    max-width: 1000px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.close-fengshui {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    cursor: pointer;
    z-index: 10;
    transition: color 0.3s ease;
}

.close-fengshui:hover {
    color: var(--primary-color);
}

.fengshui-content h2 {
    color: var(--primary-color);
    text-align: center;
    padding: 2rem 2rem 1rem;
    margin: 0;
    font-family: 'Playfair Display', serif;
}

.fengshui-tabs {
    display: flex;
    background: rgba(156, 109, 184, 0.05);
    border-bottom: 1px solid rgba(156, 109, 184, 0.2);
}

.fengshui-tab {
    flex: 1;
    padding: 1rem;
    border: none;
    background: transparent;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.fengshui-tab.active {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

.fengshui-tab:hover {
    background: rgba(156, 109, 184, 0.1);
}

#fengshui-content-area {
    padding: 2rem;
}

.directions-layout h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.bagua-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.bagua-section {
    background: rgba(156, 109, 184, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(156, 109, 184, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
}

.bagua-section:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.bagua-section h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.bagua-section .element {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.bagua-section .purpose {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-style: italic;
}

.recommended-crystals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.crystal-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* 3. 星座水晶对应样式 */
.zodiac-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2500;
    display: flex;
    justify-content: center;
    align-items: center;
}

.zodiac-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 2rem;
}

.close-zodiac {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-zodiac:hover {
    color: var(--primary-color);
}

.zodiac-content h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.zodiac-selector h3 {
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.zodiac-card {
    background: rgba(156, 109, 184, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    border: 2px solid rgba(156, 109, 184, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.zodiac-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.zodiac-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.zodiac-card p {
    color: var(--text-color);
    margin: 0;
}

/* 4. 水晶组合搭配样式 */
.combinations-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2500;
    display: flex;
    justify-content: center;
    align-items: center;
}

.five-elements-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2500;
    display: flex;
    justify-content: center;
    align-items: center;
}

.five-elements-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.close-five-elements {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
    z-index: 2501;
}

.close-five-elements:hover {
    color: var(--primary-color);
}

.combinations-content {
    background: white;
    border-radius: 20px;
    max-width: 1000px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 2rem;
}

.close-combinations {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-combinations:hover {
    color: var(--primary-color);
}

.combinations-content h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.combinations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.combination-card {
    background: rgba(156, 109, 184, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 2px solid rgba(156, 109, 184, 0.2);
    transition: all 0.3s ease;
}

.combination-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.combination-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.combo-crystals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.crystal-chip {
    background: var(--accent-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.combo-effect {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.combo-usage {
    color: var(--text-color);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.combo-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.combo-btn:hover {
    background: #8a5aa0;
    transform: translateY(-2px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .profile-content, .fengshui-content, .zodiac-content, .combinations-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .profile-steps {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .step {
        margin: 0;
    }
    
    .bagua-grid {
        grid-template-columns: 1fr;
    }
    
    .zodiac-grid, .combinations-grid {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .fengshui-tabs {
        flex-direction: column;
    }
}

/* 结果页面和详情页面的额外样式 */

/* 个人档案结果页面样式 */
.profile-results {
    padding: 1rem 0;
}

.energy-analysis {
    margin-bottom: 2rem;
}

.analysis-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.analysis-item {
    background: rgba(156, 109, 184, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(156, 109, 184, 0.2);
}

.analysis-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
}

.analysis-item p {
    color: var(--text-color);
    line-height: 1.5;
}

.crystal-recommendations {
    margin-bottom: 2rem;
}

.recommended-crystals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.recommended-crystal {
    background: rgba(79, 209, 197, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(79, 209, 197, 0.2);
    text-align: center;
}

.recommended-crystal h4 {
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.recommended-crystal p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.profile-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.print-profile, .save-profile {
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.print-profile {
    background: rgba(156, 109, 184, 0.2);
    color: var(--primary-color);
}

.save-profile {
    background: var(--accent-color);
    color: white;
}

.print-profile:hover, .save-profile:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 房间配置样式 */
.rooms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.room-card {
    background: rgba(156, 109, 184, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(156, 109, 184, 0.2);
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.room-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.room-card h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

.room-card p {
    color: var(--text-color);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.room-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.room-btn:hover {
    background: #8a5aa0;
    transform: translateY(-2px);
}

/* 房间配置详情模态框样式 */
.room-detail-modal {
    display: flex;
    position: fixed;
    z-index: 2600;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.room-detail-content {
    background: white;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 800px;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(30px);
    opacity: 0;
    transition: all 0.3s ease;
}

.close-room-detail {
    position: absolute;
    top: 15px;
    right: 20px;
    color: #667eea;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 2601;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-room-detail:hover {
    background-color: rgba(102, 126, 234, 0.1);
    transform: rotate(90deg);
}

.room-detail-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 20px 20px 0 0;
    text-align: center;
    position: relative;
}

.room-detail-header h2 {
    margin: 0 0 1rem 0;
    font-size: 1.8rem;
    font-weight: 600;
}

.room-description {
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.5;
    margin: 0;
}

.room-detail-body {
    padding: 2rem;
}

.config-section {
    margin-bottom: 2.5rem;
}

.config-section h3 {
    color: #667eea;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(102, 126, 234, 0.2);
}

.crystal-config-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.crystal-config-item {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05), rgba(118, 75, 162, 0.05));
    border: 2px solid rgba(102, 126, 234, 0.15);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.crystal-config-item:hover {
    border-color: #667eea;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.crystal-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.8rem;
}

.crystal-position,
.crystal-size,
.crystal-effect {
    margin-bottom: 0.6rem;
    padding: 0.3rem 0;
    line-height: 1.4;
}

.crystal-position {
    color: #764ba2;
    font-weight: 600;
}

.crystal-size {
    color: #5f27cd;
    font-style: italic;
}

.crystal-effect {
    color: #2f3542;
    background: rgba(102, 126, 234, 0.08);
    padding: 0.5rem;
    border-radius: 8px;
    border-left: 3px solid #667eea;
}

.secondary-crystals {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.secondary-crystal-item {
    background: rgba(118, 75, 162, 0.08);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #764ba2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.secondary-crystal-item:hover {
    background: rgba(118, 75, 162, 0.15);
    transform: translateX(5px);
}

.secondary-crystal-item .crystal-name {
    font-weight: 600;
    color: #764ba2;
    margin: 0;
}

.secondary-crystal-item .crystal-position {
    color: #667eea;
    margin: 0;
}

.secondary-crystal-item .crystal-effect {
    color: #2f3542;
    font-style: italic;
    margin: 0;
    background: none;
    padding: 0;
    border: none;
}

.placement-list,
.tips-list {
    list-style: none;
    padding: 0;
}

.placement-list li,
.tips-list li {
    background: rgba(102, 126, 234, 0.05);
    margin-bottom: 0.8rem;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #667eea;
    line-height: 1.5;
    position: relative;
}

.placement-list li::before {
    content: "📍";
    margin-right: 0.5rem;
}

.tips-list li::before {
    content: "💡";
    margin-right: 0.5rem;
}

.config-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid rgba(102, 126, 234, 0.1);
}

.action-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    min-width: 150px;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.5);
}

.action-btn:active {
    transform: translateY(0);
}

/* 个性化建议样式 */
.custom-form {
    background: rgba(156, 109, 184, 0.05);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.generate-custom-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-top: 1rem;
}

.generate-custom-btn:hover {
    background: #8a5aa0;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.custom-advice-result {
    background: rgba(79, 209, 197, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(79, 209, 197, 0.2);
}

.custom-advice-result h4 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.advice-content p {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.advice-content strong {
    color: var(--primary-color);
}

/* 星座详情样式 */
.zodiac-detail-card {
    background: rgba(156, 109, 184, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(156, 109, 184, 0.2);
    margin-top: 2rem;
}

.zodiac-detail-card h3 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.zodiac-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.zodiac-traits, .zodiac-element, .zodiac-crystals {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
}

.zodiac-traits h4, .zodiac-element h4, .zodiac-crystals h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.traits-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.trait-tag {
    background: var(--accent-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
}

.element-tag {
    background: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    font-weight: 600;
}

.crystals-detail {
    display: grid;
    gap: 1rem;
}

.crystal-detail {
    background: rgba(156, 109, 184, 0.05);
    padding: 1rem;
    border-radius: 8px;
}

.crystal-detail h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.crystal-detail p {
    color: var(--text-color);
    font-size: 0.9rem;
    line-height: 1.4;
}

.zodiac-usage {
    background: rgba(79, 209, 197, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(79, 209, 197, 0.2);
}

.zodiac-usage h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.zodiac-usage p {
    color: var(--text-color);
    line-height: 1.6;
}

/* 组合详情模态框样式 */
.combo-detail-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.combo-detail-content {
    background: white;
    border-radius: 20px;
    max-width: 800px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    padding: 2rem;
}

.close-combo-detail {
    position: absolute;
    right: 1.5rem;
    top: 1.5rem;
    font-size: 1.8rem;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-combo-detail:hover {
    color: var(--primary-color);
}

.combo-detail-content h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 2rem;
    font-family: 'Playfair Display', serif;
}

.combo-detail-info {
    display: grid;
    gap: 2rem;
}

.combo-crystals-detail, .combo-arrangement, .combo-timing, .combo-care {
    background: rgba(156, 109, 184, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 2px solid rgba(156, 109, 184, 0.2);
}

.combo-crystals-detail h3, .combo-arrangement h3, .combo-timing h3, .combo-care h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.crystal-in-combo {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.crystal-in-combo:last-child {
    margin-bottom: 0;
}

.crystal-in-combo h4 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.crystal-in-combo p {
    color: var(--text-color);
    line-height: 1.4;
    font-size: 0.9rem;
}

.combo-arrangement p, .combo-timing p, .combo-care p {
    color: var(--text-color);
    line-height: 1.6;
}

/* 响应式设计补充 */
@media (max-width: 768px) {
    .analysis-grid, .recommended-crystals-grid, .rooms-grid {
        grid-template-columns: 1fr;
    }
    
    .zodiac-info {
        grid-template-columns: 1fr;
    }
    
    .profile-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .combo-detail-content {
        width: 95%;
        padding: 1.5rem;
    }
    
    .traits-list {
        justify-content: center;
    }
}

/* 水晶百科全书样式 */
.encyclopedia-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    border-radius: 15px;
    color: white;
}

.encyclopedia-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: white;
}

.encyclopedia-header p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.encyclopedia-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    backdrop-filter: blur(5px);
    min-width: 120px;
}

.stat-number {
    display: block;
    font-size: 2rem;
    font-weight: bold;
    color: white;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

/* 搜索和筛选功能 */
.crystal-search-section {
    margin-bottom: 3rem;
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.search-container {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.crystal-search-input {
    flex: 1;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: var(--transition);
}

.crystal-search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(156, 109, 184, 0.1);
}

.search-btn {
    padding: 1rem 1.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: var(--transition);
}

.search-btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 0.8rem 1.5rem;
    background: #f8f9fa;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.filter-tab:hover {
    background: var(--secondary-color);
    border-color: var(--primary-color);
}

.filter-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* 分类展示区域 */
.crystal-categories-container {
    position: relative;
}

.category-content {
    display: none;
    animation: fadeInSmooth 0.3s ease-out;
    will-change: opacity, transform;
}

.category-content.active {
    display: block;
}

@keyframes fadeInSmooth {
    from { 
        opacity: 0; 
        transform: translateY(10px); 
    }
    to { 
        opacity: 1; 
        transform: translateY(0); 
    }
}

/* 全部分类视图 */
.category-overview {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.category-overview h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-overview p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.category-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-card h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-card p {
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.category-count {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

/* 分类标题 */
.category-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
}

.category-header h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.category-header p {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
}

/* 颜色分类样式 */
.color-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.color-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
}

.color-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.color-sample {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    border: 3px solid #e2e8f0;
}

.color-sample.clear { background: linear-gradient(45deg, #ffffff, #f8f9fa); }
.color-sample.purple { background: linear-gradient(45deg, #9c6db8, #b794d1); }
.color-sample.blue { background: linear-gradient(45deg, #4fd1c5, #63b3ed); }
.color-sample.green { background: linear-gradient(45deg, #48bb78, #68d391); }
.color-sample.yellow { background: linear-gradient(45deg, #ed8936, #f6ad55); }
.color-sample.orange { background: linear-gradient(45deg, #ff7a00, #ff9500); }
.color-sample.red { background: linear-gradient(45deg, #e53e3e, #fc8181); }
.color-sample.brown { background: linear-gradient(45deg, #8b4513, #a0522d); }
.color-sample.black { background: linear-gradient(45deg, #2d3748, #4a5568); }

.color-category h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.color-category p {
    text-align: center;
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.crystal-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.crystal-examples span {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 脉轮系统样式 */
.chakra-system {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.chakra-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
}

.chakra-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.chakra-symbol {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.chakra-item h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.chakra-color {
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.chakra-function {
    color: #666;
    margin-bottom: 1rem;
    font-style: italic;
}

.chakra-crystals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.chakra-crystals span {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 疗愈功效样式 */
.healing-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.healing-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    cursor: pointer;
}

.healing-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.healing-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.healing-category h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.healing-category p {
    text-align: center;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.healing-crystals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.healing-crystals span {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* 形成方式样式 */
.formation-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.formation-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.formation-category:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.formation-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.formation-category h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-align: center;
}

.formation-category > p {
    text-align: center;
    color: #666;
    margin-bottom: 1.5rem;
    font-style: italic;
}

.formation-description p {
    color: #555;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.formation-crystals {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1rem;
}

.formation-crystals span {
    background: var(--secondary-color);
    color: var(--primary-color);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}



/* 水晶知识小贴士 */
.crystal-tips-section {
    margin-top: 2.5rem;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--box-shadow);
}

.crystal-tips-section h3 {
    text-align: center;
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.tips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.2rem;
}

.tip-card {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid #e2e8f0;
}

.tip-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.tip-icon {
    font-size: 2rem;
    margin-bottom: 0.8rem;
}

.tip-card h4 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.tip-card p {
    color: #666;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .encyclopedia-stats {
        gap: 1rem;
    }
    
    .stat-item {
        min-width: 100px;
        padding: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .filter-tabs {
        gap: 0.5rem;
    }
    
    .filter-tab {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .category-grid,
    .color-categories,
    .chakra-system,
    .healing-categories,
    .formation-categories,
    .tips-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    
    .search-container {
        flex-direction: column;
    }
    
    .crystal-search-input,
    .search-btn {
        width: 100%;
    }
    
    .encyclopedia-header h2 {
        font-size: 2rem;
    }
    
    .category-header h3,
    .category-overview h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .crystal-search-section,
    .category-overview,
    .category-header,
    .crystal-tips-section {
        padding: 1rem;
    }
    
    .encyclopedia-header {
        padding: 1.5rem;
    }
    
    .encyclopedia-header h2 {
        font-size: 1.8rem;
    }
    
    .category-card,
    .color-category,
    .chakra-item,
    .healing-category,
    .formation-category,
    .tip-card {
        padding: 1.2rem;
    }
    
    .crystal-tips-section h3 {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .tips-grid {
        gap: 1rem;
    }
    
    .tip-icon {
        font-size: 1.8rem;
        margin-bottom: 0.6rem;
    }
    
    .tip-card h4 {
        font-size: 1rem;
        margin-bottom: 0.6rem;
    }
    
    .tip-card p {
        font-size: 0.85rem;
    }
}

/* 加载占位符样式 */
.loading-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 200px;
    color: var(--primary-color);
    font-size: 1.1rem;
    background: #f8f9fa;
    border-radius: 15px;
    border: 2px dashed #e2e8f0;
}



/* 优化水晶卡片加载 */
.crystal-card {
    opacity: 0;
    animation: cardFadeIn 0.5s ease-out forwards;
}

.crystal-card:nth-child(1) { animation-delay: 0.1s; }
.crystal-card:nth-child(2) { animation-delay: 0.2s; }
.crystal-card:nth-child(3) { animation-delay: 0.3s; }
.crystal-card:nth-child(4) { animation-delay: 0.4s; }
.crystal-card:nth-child(5) { animation-delay: 0.5s; }
.crystal-card:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 防止布局跳动 */
.featured-crystals {
    min-height: 400px;
}

.crystal-cards {
    min-height: 300px;
}

/* 优化图片加载 */
.crystal-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 1rem;
    background: #f8f9fa;
    transition: opacity 0.3s ease;
}

.crystal-card img[loading="lazy"] {
    opacity: 0;
}

.crystal-card img[loading="lazy"]:not([src=""]) {
    opacity: 1;
}

/* CTA按钮副标题样式 */
.cta-button .cta-subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    opacity: 0.9;
    display: block;
    margin-bottom: 0.2rem;
}

/* 用户反馈系统样式 */
.add-testimonial-section {
    text-align: center;
    margin-top: 3rem;
}

.add-testimonial-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    position: relative;
    overflow: hidden;
}

.add-testimonial-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
}

.testimonial-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.testimonial-modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 0;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: slideInUp 0.3s ease;
}

.testimonial-modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px 15px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonial-modal-header h3 {
    margin: 0;
    font-size: 1.3rem;
}

.close-testimonial-modal {
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-testimonial-modal:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.testimonial-form {
    padding: 2rem;
}

.testimonial-form .form-group {
    margin-bottom: 1.5rem;
}

.testimonial-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #333;
}

.testimonial-form input,
.testimonial-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.testimonial-form input:focus,
.testimonial-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.testimonial-form textarea {
    resize: vertical;
    min-height: 100px;
}

.rating-stars {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.star {
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.3;
}

.star:hover,
.star.active {
    opacity: 1;
    transform: scale(1.1);
}

.star.active {
    color: #ffd700;
}

.testimonial-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.btn-cancel,
.btn-submit {
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-cancel {
    background-color: #f8f9fa;
    color: #6c757d;
}

.btn-cancel:hover {
    background-color: #e9ecef;
}

.btn-submit {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.testimonial-card.new-testimonial {
    animation: slideInRight 0.5s ease;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(30px);
    }
}

.testimonial-rating {
    color: #ffd700;
    margin-bottom: 0.5rem;
}

.testimonial-crystal {
    font-size: 0.9rem;
    color: #667eea;
    font-weight: 500;
    margin-top: 0.5rem;
}

.testimonial-date {
    font-size: 0.8rem;
    color: #999;
    margin-top: 0.5rem;
}

/* 个性化水晶匹配特色展示样式 */
.personal-matching-featured {
    margin: 4rem 0;
    position: relative;
}

.personal-matching-container {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #48bb78 100%);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.personal-matching-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.personal-matching-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.personal-matching-info {
    flex: 1;
}

.personal-matching-info h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.personal-matching-info p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.personal-matching-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.feature-tag {
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.personal-matching-action {
    text-align: center;
}

.personal-assessment-btn {
    background: rgba(255,255,255,0.95);
    color: #667eea;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.personal-assessment-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.personal-assessment-btn:hover::before {
    left: 100%;
}

.personal-assessment-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.btn-icon {
    margin-right: 0.5rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.btn-text {
    font-weight: 700;
}

.assessment-note {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

/* AI命理分析特色展示样式 */
.ai-analysis-featured {
    margin: 4rem 0;
    position: relative;
}

.ai-analysis-container {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 50%, #6366f1 100%);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.ai-analysis-container::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

.ai-analysis-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ai-analysis-info {
    flex: 1;
}

.ai-analysis-info h3 {
    color: white;
    font-size: 2rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.ai-analysis-info p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.ai-analysis-features {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.ai-analysis-action {
    text-align: center;
}

.ai-analysis-btn {
    background: rgba(255,255,255,0.95);
    color: #8b5cf6;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
    animation: pulse 2s infinite;
}

.ai-analysis-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transition: left 0.5s;
}

.ai-analysis-btn:hover::before {
    left: 100%;
}

.ai-analysis-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.btn-icon {
    margin-right: 0.5rem;
}

.btn-text {
    font-weight: 700;
}

.analysis-note {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin-top: 1rem;
    font-style: italic;
}

@media (max-width: 768px) {
    .ai-analysis-featured {
        margin: 2rem 0;
    }
    
    .ai-analysis-container {
        padding: 2rem 1rem;
    }
    
    .ai-analysis-content {
        flex-direction: column;
        text-align: center;
    }
    
    .ai-analysis-info h3 {
        font-size: 1.5rem;
    }
    
    .ai-analysis-features {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .ai-analysis-btn {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
}

@media (max-width: 768px) {
    .personal-matching-featured {
        margin: 2rem 0;
    }
    
    .personal-matching-container {
        padding: 2rem 1rem;
    }
    
    .personal-matching-content {
        flex-direction: column;
        text-align: center;
    }
    
    .personal-matching-info h3 {
        font-size: 1.5rem;
    }
    
    .personal-matching-features {
        flex-direction: column;
        align-items: center;
    }
    
    .personal-assessment-btn {
        font-size: 1rem;
        padding: 1rem 2rem;
    }
    
        .testimonial-modal-content {
        width: 95%;
        margin: 10% auto;
    }

    .testimonial-modal-header {
        padding: 1rem;
    }

    .testimonial-form {
        padding: 1.5rem;
    }

    .testimonial-form-actions {
        flex-direction: column;
        gap: 0.5rem;
    }

    .btn-cancel,
    .btn-submit {
        width: 100%;
    }

    /* 分页导航响应式 */
    .testimonial-pagination {
        gap: 0.5rem;
        margin: 1rem 0;
        padding: 0.5rem;
    }

    .pagination-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }

    .pagination-info {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
        min-width: 70px;
    }

    /* 房间配置详情模态框响应式 */
    .room-detail-modal {
        padding: 10px;
    }

    .room-detail-content {
        width: 95%;
        max-height: 90vh;
        margin: 5% auto;
    }

    .crystal-config-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .config-actions {
        flex-direction: column;
        gap: 0.8rem;
    }

    .action-btn {
        width: 100%;
        padding: 0.8rem;
        font-size: 0.9rem;
    }

    .secondary-crystals {
        flex-direction: column;
        gap: 0.8rem;
    }

    .secondary-crystal-item {
        flex-direction: column;
        text-align: left;
        gap: 0.3rem;
    }
}

/* 分页导航样式 */
.testimonial-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
    padding: 1rem;
}

.pagination-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.pagination-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

.pagination-btn:disabled {
    background: #e9ecef;
    color: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pagination-btn:disabled:hover {
    transform: none;
    box-shadow: none;
}

.pagination-info {
    background: rgba(102, 126, 234, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    color: #667eea;
    min-width: 80px;
    text-align: center;
}

.testimonial-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

/* 精选水晶分页样式 */
.featured-crystals-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem auto;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    width: fit-content;
    max-width: 300px;
}

.featured-crystals-pagination .pagination-btn {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.2rem;
    font-weight: bold;
}

.featured-crystals-pagination .pagination-btn:hover:not(:disabled) {
    background: var(--accent-color);
    transform: scale(1.1);
}

.featured-crystals-pagination .pagination-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

.featured-crystals-pagination .pagination-info {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 500;
    min-width: 60px;
    text-align: center;
}

.featured-crystals-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
    width: 100%;
    min-height: 200px;
    justify-items: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .featured-crystals-pagination {
        margin: 1.5rem 0;
        padding: 0.8rem;
        gap: 0.8rem;
    }
    
    .featured-crystals-pagination .pagination-btn {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
    
    .featured-crystals-pagination .pagination-info {
        font-size: 0.9rem;
        min-width: 50px;
    }
    
    .featured-crystals-cards {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .featured-crystals-pagination {
        margin: 1rem 0;
        padding: 0.6rem;
        gap: 0.6rem;
    }
    
    .featured-crystals-pagination .pagination-btn {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .featured-crystals-pagination .pagination-info {
        font-size: 0.8rem;
        min-width: 45px;
    }
    
    .featured-crystals-cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Windows系统精选水晶分页优化 */
@media screen and (min-width: 769px) and (-webkit-min-device-pixel-ratio: 1) {
    .featured-crystals-pagination {
        position: relative !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 1rem !important;
        margin: 2rem auto !important;
        padding: 1rem !important;
        background: white !important;
        border-radius: 10px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
        width: fit-content !important;
        max-width: 300px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .featured-crystals-pagination .pagination-btn {
        background: var(--primary-color) !important;
        color: white !important;
        border: none !important;
        border-radius: 50% !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        transition: all 0.3s ease !important;
        font-size: 1.2rem !important;
        font-weight: bold !important;
        flex-shrink: 0 !important;
    }
    
    .featured-crystals-pagination .pagination-info {
        font-size: 1rem !important;
        color: var(--primary-color) !important;
        font-weight: 500 !important;
        min-width: 60px !important;
        text-align: center !important;
        flex-shrink: 0 !important;
        white-space: nowrap !important;
    }
    
    .featured-crystals-cards {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)) !important;
        gap: 2rem !important;
        margin-top: 1rem !important;
        width: 100% !important;
        min-height: 200px !important;
        justify-items: center !important;
    }
    
    .featured-crystals {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
    }
    
    .featured-crystals h3 {
        text-align: center !important;
        width: 100% !important;
    }
    
    #featured-crystals-container {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 1200px !important;
    }
}

/* Windows系统大屏幕优化 */
@media screen and (min-width: 1200px) and (-webkit-min-device-pixel-ratio: 1) {
    .featured-crystals-pagination {
        max-width: 400px !important;
        margin: 2rem auto !important;
    }
    
    .featured-crystals-cards {
        grid-template-columns: repeat(3, 1fr) !important;
        max-width: 1200px !important;
        margin: 1rem auto !important;
    }
}

/* Windows系统中等屏幕优化 */
@media screen and (min-width: 769px) and (max-width: 1199px) and (-webkit-min-device-pixel-ratio: 1) {
    .featured-crystals-cards {
        grid-template-columns: repeat(2, 1fr) !important;
        max-width: 800px !important;
        margin: 1rem auto !important;
    }
}

/* Windows系统header布局修复 */
@media screen and (min-width: 769px) and (-webkit-min-device-pixel-ratio: 1) {
    header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0.75rem 1.5rem !important;
        background-color: white !important;
        box-shadow: var(--box-shadow) !important;
        position: sticky !important;
        top: 0 !important;
        z-index: 100 !important;
        min-height: 60px !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
    
    .hero {
        padding: 8rem 2rem 4rem !important;
        margin-top: 0 !important;
        min-height: auto !important;
    }
    
    .brand-name {
        font-size: 4rem !important;
        margin-bottom: 1rem !important;
        line-height: 1.2 !important;
        height: auto !important;
    }
}

/* 精选水晶分页按钮右下方定位 */
.featured-crystals {
    position: relative;
}

.featured-crystals-pagination {
    position: absolute !important;
    bottom: -60px !important;
    right: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0.5rem !important;
    margin: 0 !important;
    padding: 0.5rem !important;
    background: white !important;
    border-radius: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    width: fit-content !important;
    max-width: 200px !important;
    z-index: 10 !important;
}

.featured-crystals-pagination .pagination-btn {
    background: var(--primary-color) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    font-size: 1rem !important;
    font-weight: bold !important;
    flex-shrink: 0 !important;
}

.featured-crystals-pagination .pagination-info {
    font-size: 0.9rem !important;
    color: var(--primary-color) !important;
    font-weight: 500 !important;
    min-width: 40px !important;
    text-align: center !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
}

/* Windows系统分页按钮优化 */
@media screen and (min-width: 769px) and (-webkit-min-device-pixel-ratio: 1) {
    .featured-crystals-pagination {
        bottom: -50px !important;
        right: 20px !important;
        padding: 0.4rem !important;
        gap: 0.4rem !important;
    }
    
    .featured-crystals-pagination .pagination-btn {
        width: 28px !important;
        height: 28px !important;
        font-size: 0.9rem !important;
    }
    
    .featured-crystals-pagination .pagination-info {
        font-size: 0.8rem !important;
        min-width: 35px !important;
    }
}

/* 移动端分页按钮优化 */
@media (max-width: 768px) {
    .featured-crystals-pagination {
        bottom: -50px !important;
        right: 10px !important;
        padding: 0.3rem !important;
        gap: 0.3rem !important;
        max-width: 150px !important;
    }
    
    .featured-crystals-pagination .pagination-btn {
        width: 26px !important;
        height: 26px !important;
        font-size: 0.8rem !important;
    }
    
    .featured-crystals-pagination .pagination-info {
        font-size: 0.7rem !important;
        min-width: 30px !important;
    }
}

