/* ============================================
   Crystal Compass - Main Stylesheet
   ============================================ */

:root {
    --bg-primary: #0a0a1a;
    --bg-secondary: #121228;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --text-primary: #f0f0f5;
    --text-secondary: #a0a0b8;
    --text-muted: #606078;
    --accent-primary: #8b5cf6;
    --accent-secondary: #ec4899;
    --accent-gold: #f59e0b;
    --border-color: rgba(255, 255, 255, 0.08);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

#energyCanvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 0; pointer-events: none;
}

/* Navigation */
.main-nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    display: flex; justify-content: space-between; align-items: center;
    padding: 1rem 2rem; transition: var(--transition); background: transparent;
}
.main-nav.scrolled {
    background: rgba(10, 10, 26, 0.9); backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
}
.nav-brand {
    display: flex; align-items: center; gap: 0.5rem;
    font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500;
}
.compass-icon { font-size: 1.8rem; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a {
    color: var(--text-secondary); text-decoration: none; font-size: 0.9rem;
    transition: var(--transition); position: relative;
}
.nav-links a:hover { color: var(--text-primary); }
.nav-links a::after {
    content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px;
    background: var(--accent-primary); transition: var(--transition);
}
.nav-links a:hover::after { width: 100%; }
.admin-link { color: var(--accent-gold) !important; }

/* Hero */
.hero {
    position: relative; min-height: 100vh; display: flex;
    align-items: center; justify-content: center;
    padding: 6rem 2rem 4rem; z-index: 1; gap: 4rem;
}
.hero-content { max-width: 600px; flex: 1; }
.hero-badge {
    display: inline-block; padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 100px; font-size: 0.85rem; color: var(--accent-primary);
    margin-bottom: 1.5rem; animation: fadeInUp 0.6s ease;
}
.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.5rem, 5vw, 4rem); font-weight: 300;
    line-height: 1.1; margin-bottom: 1.5rem;
    animation: fadeInUp 0.6s ease 0.1s both;
}
.gradient-text {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), var(--accent-gold));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-subtitle {
    font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7;
    margin-bottom: 2.5rem; animation: fadeInUp 0.6s ease 0.2s both;
}
.hero-stats {
    display: flex; align-items: center; gap: 1.5rem;
    margin-bottom: 2.5rem; animation: fadeInUp 0.6s ease 0.3s both;
}
.stat { text-align: center; }
.stat-number {
    display: block; font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem; font-weight: 600; color: var(--accent-primary); line-height: 1;
}
.stat-label {
    font-size: 0.8rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.1em;
}
.stat-divider { width: 1px; height: 40px; background: var(--border-color); }

.cta-button {
    display: inline-flex; align-items: center; gap: 0.75rem;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white; border: none; border-radius: 100px; font-size: 1rem; font-weight: 500;
    cursor: pointer; transition: var(--transition);
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
    animation: fadeInUp 0.6s ease 0.4s both;
}
.cta-button:hover {
    transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139, 92, 246, 0.5);
}
.cta-button svg { transition: var(--transition); }
.cta-button:hover svg { transform: translateX(4px); }
.hero-disclaimer {
    margin-top: 1.5rem; font-size: 0.85rem; color: var(--text-muted);
    animation: fadeInUp 0.6s ease 0.5s both;
}

/* Hero Visual */
.hero-visual { flex: 0 0 400px; display: flex; align-items: center; justify-content: center; }
.crystal-orbit { position: relative; width: 400px; height: 400px; }
.orbit-ring {
    position: absolute; border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);
}
.ring-1 { width: 200px; height: 200px; }
.ring-2 { width: 280px; height: 280px; }
.ring-3 { width: 360px; height: 360px; }
.center-crystal { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10; }
.crystal-glow {
    position: absolute; width: 80px; height: 80px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.4), transparent);
    border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);
    animation: pulse 3s ease-in-out infinite;
}
.crystal-core { font-size: 3rem; position: relative; z-index: 11; animation: float 3s ease-in-out infinite; }
.orbiting-stone { position: absolute; font-size: 1.5rem; animation: orbit 20s linear infinite; }
.stone-1 { animation-duration: 15s; top: 10%; left: 50%; transform: translateX(-50%); }
.stone-2 { animation-duration: 18s; animation-delay: -2s; top: 20%; right: 15%; }
.stone-3 { animation-duration: 22s; animation-delay: -4s; top: 50%; right: 5%; transform: translateY(-50%); }
.stone-4 { animation-duration: 20s; animation-delay: -6s; bottom: 20%; right: 15%; }
.stone-5 { animation-duration: 17s; animation-delay: -8s; bottom: 10%; left: 50%; transform: translateX(-50%); }
.stone-6 { animation-duration: 19s; animation-delay: -10s; bottom: 20%; left: 15%; }
.stone-7 { animation-duration: 21s; animation-delay: -12s; top: 50%; left: 5%; transform: translateY(-50%); }

/* Quiz Modal */
.quiz-modal {
    position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 1000;
    display: flex; align-items: center; justify-content: center;
    background: rgba(10, 10, 26, 0.95); backdrop-filter: blur(20px);
    opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.quiz-modal.active { opacity: 1; pointer-events: all; }
.quiz-container {
    width: 100%; max-width: 700px; max-height: 90vh;
    background: var(--bg-secondary); border-radius: var(--radius-lg);
    border: 1px solid var(--border-color); overflow: hidden;
    display: flex; flex-direction: column;
    transform: scale(0.95); transition: transform 0.3s ease;
}
.quiz-modal.active .quiz-container { transform: scale(1); }
.quiz-header {
    padding: 1.5rem 2rem; border-bottom: 1px solid var(--border-color);
    display: flex; align-items: center; gap: 1rem;
}
.quiz-progress { flex: 1; height: 4px; background: rgba(255, 255, 255, 0.1); border-radius: 2px; overflow: hidden; }
.progress-bar {
    height: 100%; background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px; transition: width 0.4s ease;
}
.quiz-step-indicator { font-size: 0.85rem; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.quiz-step-indicator span:first-child { color: var(--accent-primary); font-weight: 600; }
.quiz-close {
    background: none; border: none; color: var(--text-muted); font-size: 1.5rem;
    cursor: pointer; padding: 0.25rem; transition: var(--transition);
}
.quiz-close:hover { color: var(--text-primary); }
.quiz-body { flex: 1; overflow-y: auto; padding: 2rem; }
.quiz-footer {
    padding: 1.5rem 2rem; border-top: 1px solid var(--border-color);
    display: flex; justify-content: space-between; gap: 1rem;
}
.btn-prev, .btn-next {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.75rem 1.5rem; border-radius: var(--radius-sm);
    font-size: 0.95rem; font-weight: 500; cursor: pointer; transition: var(--transition);
}
.btn-prev {
    background: transparent; border: 1px solid var(--border-color); color: var(--text-secondary);
}
.btn-prev:hover:not(:disabled) { border-color: var(--text-primary); color: var(--text-primary); }
.btn-prev:disabled { opacity: 0.4; cursor: not-allowed; }
.btn-next {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none; color: white; margin-left: auto;
}
.btn-next:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4); }

/* Question Styles */
.question-container { animation: fadeInUp 0.4s ease; }
.question-header { margin-bottom: 2rem; text-align: center; }
.question-title {
    font-family: 'Cormorant Garamond', serif; font-size: 1.8rem;
    font-weight: 400; margin-bottom: 0.5rem;
}
.question-subtitle { color: var(--text-secondary); font-size: 0.95rem; }
.question-options { display: flex; flex-direction: column; gap: 0.75rem; }
.quiz-option {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem 1.25rem; background: var(--bg-card);
    border: 2px solid transparent; border-radius: var(--radius-md);
    cursor: pointer; transition: var(--transition);
}
.quiz-option:hover {
    background: var(--bg-card-hover); border-color: rgba(139, 92, 246, 0.3);
    transform: translateX(4px);
}
.quiz-option.selected {
    background: rgba(139, 92, 246, 0.1); border-color: var(--accent-primary);
}
.quiz-option.selected .option-check { opacity: 1; transform: scale(1); }
.option-emoji { font-size: 1.5rem; flex-shrink: 0; }
.option-content { flex: 1; display: flex; flex-direction: column; }
.option-label { font-weight: 500; color: var(--text-primary); }
.option-desc { font-size: 0.85rem; color: var(--text-muted); }
.option-check {
    width: 24px; height: 24px; border-radius: 50%; background: var(--accent-primary);
    color: white; display: flex; align-items: center; justify-content: center;
    opacity: 0; transform: scale(0); transition: var(--transition); flex-shrink: 0;
}

/* Color Grid */
.color-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.color-option { flex-direction: column; align-items: center; text-align: center; padding: 1.5rem 1rem; }
.color-swatch {
    width: 50px; height: 50px; border-radius: 50%; margin-bottom: 0.75rem;
    box-shadow: 0 4px 15px var(--option-color); transition: var(--transition);
}
.color-option:hover .color-swatch { transform: scale(1.1); }
.color-label { font-weight: 500; color: var(--text-primary); }
.color-desc { font-size: 0.8rem; color: var(--text-muted); }

/* Quiz Loading */
.quiz-loading { text-align: center; padding: 3rem 2rem; }
.loading-crystal { font-size: 4rem; animation: crystalSpin 2s ease-in-out infinite; margin-bottom: 1.5rem; }
.loading-title { font-family: 'Cormorant Garamond', serif; font-size: 1.8rem; margin-bottom: 0.5rem; }
.loading-text { color: var(--text-secondary); margin-bottom: 2rem; }
.loading-steps {
    display: flex; flex-direction: column; gap: 1rem;
    max-width: 300px; margin: 0 auto;
}
.loading-step {
    display: flex; align-items: center; gap: 1rem;
    padding: 0.75rem 1rem; background: var(--bg-card);
    border-radius: var(--radius-sm); opacity: 0.4; transition: var(--transition);
}
.loading-step.active { opacity: 1; background: rgba(139, 92, 246, 0.1); border: 1px solid rgba(139, 92, 246, 0.3); }
.step-icon { font-size: 1.2rem; }
.step-text { font-size: 0.9rem; }

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-8px); }
    75% { transform: translateX(8px); }
}
.quiz-option.shake { animation: shake 0.4s ease; border-color: #ef4444; }

/* Results Section */
.results-section {
    position: relative; z-index: 1; padding: 4rem 2rem;
    max-width: 1200px; margin: 0 auto;
}
.results-container { display: flex; flex-direction: column; gap: 3rem; }
.results-header { text-align: center; }
.results-badge {
    display: inline-block; padding: 0.5rem 1rem;
    background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 100px; font-size: 0.85rem; color: var(--accent-primary); margin-bottom: 1rem;
}
.results-title {
    font-family: 'Cormorant Garamond', serif; font-size: 2.5rem;
    font-weight: 300; margin-bottom: 0.5rem;
}
.results-subtitle { color: var(--text-secondary); }

/* Energy Dashboard */
.energy-dashboard { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.chakra-panel, .elements-panel {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 2rem;
}
.panel-title {
    display: flex; align-items: center; gap: 0.75rem;
    font-size: 1.1rem; font-weight: 500; margin-bottom: 1.5rem;
}
.panel-icon { font-size: 1.3rem; }

/* Chakra Chart */
.chakra-chart { display: flex; flex-direction: column; gap: 1rem; }
.chakra-bar-item { display: flex; flex-direction: column; gap: 0.25rem; }
.chakra-bar-header { display: flex; justify-content: space-between; align-items: center; }
.chakra-bar-info { display: flex; align-items: center; gap: 0.5rem; }
.chakra-dot { width: 10px; height: 10px; border-radius: 50%; }
.chakra-name { font-size: 0.9rem; font-weight: 500; }
.chakra-score { font-size: 0.85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.chakra-score.critical { color: #ef4444; }
.chakra-score.warning { color: #f59e0b; }
.chakra-score.good { color: #10b981; }
.chakra-score.excellent { color: #8b5cf6; }
.chakra-bar-track { height: 6px; background: rgba(255, 255, 255, 0.05); border-radius: 3px; overflow: hidden; }
.chakra-bar-fill { height: 100%; border-radius: 3px; transition: width 1s ease; }
.chakra-bar-meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); }

/* Elements Chart */
.elements-radar { position: relative; }
.elements-radar-svg { width: 100%; max-width: 250px; margin: 0 auto; display: block; }
.elements-labels { position: relative; height: 60px; margin-top: 1rem; }
.element-label {
    position: absolute; display: flex; flex-direction: column;
    align-items: center; font-size: 0.8rem;
}
.element-label-name { font-weight: 600; }
.element-label-score { color: var(--text-muted); font-size: 0.75rem; }
.elements-detail-list {
    display: flex; flex-direction: column; gap: 0.75rem; margin-top: 1.5rem;
}
.element-detail-item { display: flex; flex-direction: column; gap: 0.25rem; }
.element-detail-header { display: flex; align-items: center; gap: 0.5rem; }
.element-detail-color { width: 10px; height: 10px; border-radius: 50%; }
.element-detail-name { font-size: 0.9rem; font-weight: 500; flex: 1; }
.element-detail-score { font-size: 0.85rem; font-weight: 600; }
.element-detail-bar { height: 4px; background: rgba(255, 255, 255, 0.05); border-radius: 2px; overflow: hidden; }
.element-detail-fill { height: 100%; border-radius: 2px; transition: width 1s ease; }
.element-detail-meta { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--text-muted); }

/* Diagnosis Summary */
.diagnosis-summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.diagnosis-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 1.5rem; transition: var(--transition);
}
.diagnosis-card:hover { background: var(--bg-card-hover); transform: translateY(-2px); }
.card-badge {
    font-size: 0.75rem; color: var(--accent-primary); text-transform: uppercase;
    letter-spacing: 0.1em; margin-bottom: 0.75rem;
}
.card-title { font-size: 1.1rem; font-weight: 500; margin-bottom: 0.5rem; }
.card-theme {
    font-family: 'Cormorant Garamond', serif; font-size: 1.3rem;
    font-style: italic; color: var(--accent-gold); margin-bottom: 0.5rem;
}
.card-desc { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6; margin-bottom: 1rem; }
.card-stats { display: flex; gap: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--border-color); }
.card-stat { display: flex; flex-direction: column; }
.card-stat .stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; }
.card-stat .stat-value { font-size: 1.2rem; font-weight: 600; }

.state-items { display: flex; flex-direction: column; gap: 1rem; }
.state-item { display: flex; flex-direction: column; gap: 0.25rem; }
.state-label { font-size: 0.75rem; color: var(--text-muted); }
.state-value { font-size: 1.1rem; font-weight: 500; }
.state-score { font-size: 0.85rem; color: var(--text-muted); }

.symptom-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.symptom-tag, .intention-tag { padding: 0.35rem 0.75rem; border-radius: 100px; font-size: 0.8rem; }
.symptom-tag { background: rgba(239, 68, 68, 0.15); color: #ef4444; border: 1px solid rgba(239, 68, 68, 0.3); }
.intention-tag { background: rgba(16, 185, 129, 0.15); color: #10b981; border: 1px solid rgba(16, 185, 129, 0.3); }

.chakra-needs {
    padding-top: 1rem; border-top: 1px solid var(--border-color);
    font-size: 0.9rem; color: var(--text-secondary); line-height: 1.6;
}
.chakra-needs p { margin-bottom: 0.5rem; }
.chakra-needs p:last-child { margin-bottom: 0; }

/* Bracelet Recommendation */
.bracelet-showcase {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 2.5rem; overflow: hidden;
}
.showcase-header { text-align: center; margin-bottom: 2rem; }
.showcase-badge {
    display: inline-block; padding: 0.4rem 1rem;
    background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 100px; font-size: 0.8rem; color: var(--accent-gold); margin-bottom: 0.75rem;
}
.showcase-title { font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 400; margin-bottom: 0.25rem; }
.showcase-subtitle { font-size: 1rem; color: var(--text-muted); }

/* Bracelet Visual */
.bracelet-visual { position: relative; display: flex; justify-content: center; padding: 3rem 0; margin-bottom: 2rem; }
.bracelet-string {
    display: flex; align-items: center; gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: 100px; border: 1px solid rgba(139, 92, 246, 0.2); position: relative;
}
.bead {
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    position: relative; transition: var(--transition);
}
.bead:hover { transform: scale(1.2); z-index: 10; }
.bead.primary { width: 50px; height: 50px; box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); }
.bead.secondary { width: 40px; height: 40px; }
.bead.accent { width: 30px; height: 30px; }
.bead-emoji { font-size: 1.2rem; }
.bracelet-glow {
    position: absolute; width: 200px; height: 200px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2), transparent);
    border-radius: 50%; top: 50%; left: 50%; transform: translate(-50%, -50%);
    pointer-events: none; animation: pulse 4s ease-in-out infinite;
}
.bracelet-description {
    text-align: center; color: var(--text-secondary); font-size: 1rem;
    line-height: 1.7; max-width: 600px; margin: 0 auto 2rem;
}

/* Crystals Breakdown */
.crystals-breakdown { margin-bottom: 2rem; }
.breakdown-title { font-size: 1.1rem; font-weight: 500; margin-bottom: 1.5rem; text-align: center; }
.crystal-tier { margin-bottom: 1.5rem; }
.tier-label {
    display: block; font-size: 0.8rem; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.75rem;
}
.tier-stones { display: flex; flex-direction: column; gap: 0.75rem; }
.crystal-card {
    display: flex; align-items: flex-start; gap: 1rem;
    padding: 1rem; background: var(--bg-primary);
    border-radius: var(--radius-md); border: 1px solid var(--border-color);
    transition: var(--transition);
}
.crystal-card:hover { border-color: rgba(139, 92, 246, 0.3); transform: translateX(4px); }
.crystal-visual {
    width: 50px; height: 50px; border-radius: 50%; display: flex;
    align-items: center; justify-content: center; font-size: 1.5rem;
    flex-shrink: 0; box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
.crystal-info { display: flex; flex-direction: column; gap: 0.25rem; }
.crystal-name { font-weight: 500; color: var(--text-primary); }
.crystal-chakra, .crystal-element { font-size: 0.8rem; font-weight: 500; }
.crystal-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; margin-top: 0.25rem; }

/* Supplementary */
.supplementary-section {
    margin-bottom: 2rem; padding: 1.5rem;
    background: var(--bg-primary); border-radius: var(--radius-md); border: 1px solid var(--border-color);
}
.supplementary-title { font-size: 1rem; font-weight: 500; margin-bottom: 1rem; }
.supplementary-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.supplementary-card {
    display: flex; flex-direction: column; align-items: center; text-align: center;
    gap: 0.5rem; padding: 1rem; background: var(--bg-card);
    border-radius: var(--radius-sm); transition: var(--transition);
}
.supplementary-card:hover { background: var(--bg-card-hover); }
.sup-visual {
    width: 40px; height: 40px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.sup-name { font-size: 0.85rem; font-weight: 500; }
.sup-reason { font-size: 0.75rem; color: var(--text-muted); line-height: 1.4; }

/* Usage Guide */
.usage-guide {
    margin-bottom: 2rem; padding: 1.5rem;
    background: var(--bg-primary); border-radius: var(--radius-md); border: 1px solid var(--border-color);
}
.usage-title { font-size: 1rem; font-weight: 500; margin-bottom: 1rem; }
.usage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; margin-bottom: 1.5rem; }
.usage-item {
    display: flex; flex-direction: column; gap: 0.25rem;
    padding: 0.75rem; background: var(--bg-card); border-radius: var(--radius-sm);
}
.usage-icon { font-size: 1.2rem; }
.usage-label { font-size: 0.8rem; font-weight: 500; color: var(--text-primary); }
.usage-text { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.4; }
.affirmation-box {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: var(--radius-sm); border: 1px solid rgba(139, 92, 246, 0.2); text-align: center;
}
.affirmation-label {
    display: block; font-size: 0.75rem; color: var(--accent-primary);
    text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 0.5rem;
}
.affirmation-text {
    font-family: 'Cormorant Garamond', serif; font-size: 1.1rem;
    font-style: italic; color: var(--text-primary); line-height: 1.5;
}

/* Price Section */
.price-section { text-align: center; padding-top: 1.5rem; border-top: 1px solid var(--border-color); }
.price-tag { display: flex; align-items: baseline; justify-content: center; gap: 0.25rem; margin-bottom: 0.5rem; }
.price-currency { font-size: 1.5rem; color: var(--text-secondary); }
.price-value { font-family: 'Cormorant Garamond', serif; font-size: 3rem; font-weight: 600; color: var(--accent-primary); }
.price-suffix { font-size: 1rem; color: var(--text-muted); }
.price-note { font-size: 0.85rem; color: var(--text-muted); }

/* Results Actions */
.results-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.btn-chat, .btn-shop, .btn-retake {
    display: flex; align-items: center; gap: 1rem;
    padding: 1.25rem 1.5rem; border-radius: var(--radius-md);
    border: 1px solid var(--border-color); background: var(--bg-card);
    color: var(--text-primary); cursor: pointer; transition: var(--transition); text-align: left;
}
.btn-chat:hover, .btn-shop:hover { background: var(--bg-card-hover); border-color: var(--accent-primary); transform: translateY(-2px); }
.btn-icon { font-size: 1.5rem; flex-shrink: 0; }
.btn-text { display: flex; flex-direction: column; }
.btn-text strong { font-weight: 500; }
.btn-text small { font-size: 0.85rem; color: var(--text-muted); }
.btn-retake { grid-column: 1 / -1; justify-content: center; background: transparent; color: var(--text-muted); }
.btn-retake:hover { color: var(--text-primary); border-color: var(--text-muted); }

/* Disclaimer */
.results-disclaimer {
    text-align: center; padding: 1.5rem;
    background: rgba(239, 68, 68, 0.05); border-radius: var(--radius-md);
    border: 1px solid rgba(239, 68, 68, 0.1);
}
.results-disclaimer p { font-size: 0.85rem; color: var(--text-muted); line-height: 1.6; }

/* How It Works */
.how-it-works {
    position: relative; z-index: 1; padding: 6rem 2rem;
    max-width: 1200px; margin: 0 auto;
}
.section-header { text-align: center; margin-bottom: 4rem; }
.section-label {
    display: inline-block; padding: 0.4rem 1rem;
    background: rgba(139, 92, 246, 0.15); border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 100px; font-size: 0.8rem; color: var(--accent-primary); margin-bottom: 1rem;
}
.section-title { font-family: 'Cormorant Garamond', serif; font-size: 2.5rem; font-weight: 300; margin-bottom: 0.75rem; }
.section-subtitle { color: var(--text-secondary); font-size: 1.1rem; }

.method-cards { display: grid; grid-template-columns: 1fr 0.8fr 1fr; gap: 2rem; align-items: stretch; }
.method-card {
    background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); padding: 2.5rem; text-align: center; transition: var(--transition);
}
.method-card:hover { background: var(--bg-card-hover); transform: translateY(-4px); box-shadow: 0 0 40px rgba(139, 92, 246, 0.15); }
.fusion-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-color: rgba(139, 92, 246, 0.3); display: flex; flex-direction: column; justify-content: center;
}
.method-icon { font-size: 3rem; margin-bottom: 1rem; }
.fusion-symbol { font-size: 3rem; color: var(--accent-primary); margin-bottom: 1rem; }
.method-card h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 500; margin-bottom: 0.75rem; }
.method-card p { color: var(--text-secondary); font-size: 0.95rem; line-height: 1.7; margin-bottom: 1.5rem; }
.method-colors { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; }
.method-colors span { padding: 0.35rem 0.75rem; border-radius: 100px; font-size: 0.75rem; color: white; font-weight: 500; }

/* Admin Section */
.admin-section { position: relative; z-index: 1; padding: 4rem 2rem; max-width: 1200px; margin: 0 auto; }
.admin-toggle {
    display: flex; align-items: center; justify-content: center; gap: 0.5rem;
    padding: 1rem; background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-md); cursor: pointer; transition: var(--transition);
    color: var(--text-muted); font-size: 0.9rem;
}
.admin-toggle:hover { background: var(--bg-card-hover); color: var(--text-primary); }
.admin-toggle svg { transition: transform 0.3s ease; }
.admin-content {
    margin-top: 1rem; background: var(--bg-card); border: 1px solid var(--border-color);
    border-radius: var(--radius-lg); overflow: hidden;
}
.admin-login { padding: 2.5rem; text-align: center; max-width: 400px; margin: 0 auto; }
.admin-login h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; margin-bottom: 1.5rem; }
.admin-login input {
    width: 100%; padding: 0.75rem 1rem; background: var(--bg-primary);
    border: 1px solid var(--border-color); border-radius: var(--radius-sm);
    color: var(--text-primary); font-size: 1rem; text-align: center; letter-spacing: 0.5em;
    margin-bottom: 1rem; transition: var(--transition);
}
.admin-login input:focus { outline: none; border-color: var(--accent-primary); }
.admin-login input.error { border-color: #ef4444; animation: shake 0.4s ease; }
.admin-login button {
    width: 100%; padding: 0.75rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none; border-radius: var(--radius-sm); color: white; font-size: 1rem;
    font-weight: 500; cursor: pointer; transition: var(--transition);
}
.admin-login button:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4); }
.login-hint { margin-top: 1rem; font-size: 0.8rem; color: var(--text-muted); }

/* Admin Dashboard */
.admin-dashboard { padding: 2rem; }
.admin-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-color);
}
.admin-header h2 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; font-weight: 400; }
.admin-stats { display: flex; gap: 2rem; }
.admin-stat { text-align: center; }
.admin-stat-number { display: block; font-family: 'Cormorant Garamond', serif; font-size: 2rem; font-weight: 600; color: var(--accent-primary); }
.admin-stat-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; }
.admin-filters { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.admin-filters input, .admin-filters select {
    padding: 0.6rem 1rem; background: var(--bg-primary); border: 1px solid var(--border-color);
    border-radius: var(--radius-sm); color: var(--text-primary); font-size: 0.9rem; transition: var(--transition);
}
.admin-filters input:focus, .admin-filters select:focus { outline: none; border-color: var(--accent-primary); }
.admin-filters input { flex: 1; }

.admin-table-container { overflow-x: auto; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.admin-table th {
    padding: 1rem; background: var(--bg-primary); color: var(--text-muted);
    font-weight: 500; text-align: left; font-size: 0.8rem; text-transform: uppercase;
    letter-spacing: 0.05em; border-bottom: 1px solid var(--border-color);
}
.admin-table td { padding: 1rem; border-bottom: 1px solid var(--border-color); color: var(--text-secondary); }
.session-row { transition: var(--transition); }
.session-row:hover { background: var(--bg-card-hover); }
.id-badge { font-family: monospace; font-size: 0.8rem; padding: 0.25rem 0.5rem; background: var(--bg-primary); border-radius: 4px; color: var(--accent-primary); }
.chakra-tag, .element-tag {
    display: inline-flex; align-items: center; gap: 0.35rem;
    padding: 0.35rem 0.75rem; border-radius: 100px; font-size: 0.8rem; font-weight: 500;
}
.tag-dot { width: 6px; height: 6px; border-radius: 50%; }
.profile-text { font-size: 0.85rem; color: var(--text-secondary); max-width: 200px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.product-name { display: block; font-weight: 500; color: var(--text-primary); }
.product-price { font-size: 0.85rem; color: var(--accent-gold); }
.action-btn {
    padding: 0.4rem; background: var(--bg-primary); border: 1px solid var(--border-color);
    border-radius: 4px; color: var(--text-muted); cursor: pointer; transition: var(--transition);
}
.action-btn:hover { border-color: var(--accent-primary); color: var(--accent-primary); }
.empty-row td { padding: 3rem; }
.empty-state { text-align: center; }
.empty-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.empty-state p { color: var(--text-muted); }

/* Admin Detail Panel */
.admin-detail-panel {
    position: fixed; top: 0; right: 0; width: 500px; max-width: 100%; height: 100vh;
    background: var(--bg-secondary); border-left: 1px solid var(--border-color);
    z-index: 1001; overflow-y: auto; transform: translateX(100%); transition: transform 0.3s ease;
}
.admin-detail-panel.active { transform: translateX(0); }
.detail-close {
    position: absolute; top: 1rem; right: 1rem; background: none; border: none;
    color: var(--text-muted); font-size: 1.5rem; cursor: pointer; z-index: 10; transition: var(--transition);
}
.detail-close:hover { color: var(--text-primary); }
.detail-content { padding: 2rem; }
.detail-header { margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); }
.detail-id, .detail-time { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.5rem; }
.detail-label { font-size: 0.8rem; color: var(--text-muted); }
.detail-value { font-family: monospace; font-size: 0.85rem; color: var(--text-primary); }
.detail-section { margin-bottom: 2rem; padding-bottom: 2rem; border-bottom: 1px solid var(--border-color); }
.detail-section-title { font-size: 1rem; font-weight: 500; margin-bottom: 1rem; }
.detail-diagnosis-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.detail-diagnosis-card { padding: 1rem; background: var(--bg-primary); border-radius: var(--radius-sm); border: 1px solid var(--border-color); }
.detail-card-label { display: block; font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; margin-bottom: 0.5rem; }
.detail-card-value { display: block; font-size: 1.1rem; font-weight: 600; margin-bottom: 0.25rem; }
.detail-card-score { display: block; font-size: 0.85rem; color: var(--text-muted); margin-bottom: 0.5rem; }
.detail-card-desc { font-size: 0.85rem; color: var(--text-secondary); line-height: 1.5; }
.detail-cross-theme {
    padding: 1rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border-radius: var(--radius-sm); border: 1px solid rgba(139, 92, 246, 0.2);
}
.cross-label { display: block; font-size: 0.75rem; color: var(--accent-primary); text-transform: uppercase; margin-bottom: 0.25rem; }
.cross-value { display: block; font-family: 'Cormorant Garamond', serif; font-size: 1.2rem; font-style: italic; color: var(--accent-gold); margin-bottom: 0.5rem; }
.cross-desc { font-size: 0.9rem; color: var(--text-secondary); }
.detail-chakra-bars, .detail-elements-bars { display: flex; flex-direction: column; gap: 0.75rem; }
.detail-bar-item { display: flex; align-items: center; gap: 0.75rem; }
.detail-bar-name { font-size: 0.85rem; font-weight: 500; width: 100px; flex-shrink: 0; }
.detail-bar-track { flex: 1; height: 6px; background: rgba(255, 255, 255, 0.05); border-radius: 3px; overflow: hidden; }
.detail-bar-fill { height: 100%; border-radius: 3px; transition: width 1s ease; }
.detail-bar-score { font-size: 0.8rem; color: var(--text-muted); width: 40px; text-align: right; font-variant-numeric: tabular-nums; }
.detail-prescription { display: flex; flex-direction: column; gap: 1rem; }
.presc-formula, .presc-stones, .presc-targets { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem; }
.presc-label { font-size: 0.8rem; color: var(--text-muted); width: 100%; }
.presc-value { font-weight: 500; color: var(--text-primary); }
.presc-price { color: var(--accent-gold); font-weight: 600; }
.presc-stone-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.presc-stone { padding: 0.35rem 0.75rem; border-radius: 100px; font-size: 0.8rem; font-weight: 500; }
.presc-target-list { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.presc-target { padding: 0.25rem 0.5rem; background: rgba(239, 68, 68, 0.1); border: 1px solid rgba(239, 68, 68, 0.2); border-radius: 4px; font-size: 0.75rem; color: #ef4444; }
.script-box { padding: 1.5rem; background: var(--bg-primary); border-radius: var(--radius-sm); border: 1px solid var(--border-color); position: relative; }
.script-text { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7; white-space: pre-line; margin-bottom: 1rem; }
.script-copy-btn { padding: 0.5rem 1rem; background: var(--accent-primary); border: none; border-radius: var(--radius-sm); color: white; font-size: 0.85rem; cursor: pointer; transition: var(--transition); }
.script-copy-btn:hover { background: var(--accent-secondary); }
.detail-actions { display: flex; flex-direction: column; gap: 0.75rem; }
.detail-action-btn {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.75rem 1rem;
    background: var(--bg-primary); border: 1px solid var(--border-color); border-radius: var(--radius-sm);
    color: var(--text-primary); font-size: 0.9rem; cursor: pointer; transition: var(--transition);
}
.detail-action-btn:hover { border-color: var(--accent-primary); background: rgba(139, 92, 246, 0.1); }
.detail-action-btn.primary { background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary)); border-color: transparent; color: white; }
.detail-action-btn.primary:hover { transform: translateY(-1px); box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4); }

/* Footer */
.main-footer { position: relative; z-index: 1; padding: 4rem 2rem; border-top: 1px solid var(--border-color); text-align: center; }
.footer-content { max-width: 600px; margin: 0 auto; }
.footer-brand { display: flex; align-items: center; justify-content: center; gap: 0.5rem; font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; margin-bottom: 1rem; }
.footer-text { color: var(--text-secondary); margin-bottom: 1.5rem; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--text-primary); }
.footer-disclaimer { font-size: 0.8rem; color: var(--text-muted); line-height: 1.6; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.3; }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes orbit {
    from { transform: rotate(0deg) translateX(140px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(140px) rotate(-360deg); }
}
@keyframes crystalSpin {
    0%, 100% { transform: rotateY(0deg) scale(1); }
    50% { transform: rotateY(180deg) scale(1.1); }
}
.scroll-animate { opacity: 0; transform: translateY(30px); transition: all 0.6s ease; }
.scroll-animate.visible { opacity: 1; transform: translateY(0); }

/* Responsive */
@media (max-width: 1024px) {
    .hero { flex-direction: column; text-align: center; padding-top: 8rem; }
    .hero-content { max-width: 100%; }
    .hero-stats { justify-content: center; }
    .hero-visual { flex: 0 0 300px; }
    .crystal-orbit { width: 300px; height: 300px; }
    .energy-dashboard { grid-template-columns: 1fr; }
    .diagnosis-summary { grid-template-columns: 1fr; }
    .method-cards { grid-template-columns: 1fr; }
    .fusion-card { order: -1; }
}

@media (max-width: 768px) {
    .main-nav { padding: 1rem; }
    .nav-links { display: none; }
    .hero { padding: 6rem 1rem 3rem; }
    .hero-title { font-size: 2.2rem; }
    .quiz-container { max-height: 100vh; border-radius: 0; }
    .color-grid { grid-template-columns: repeat(2, 1fr); }
    .results-actions { grid-template-columns: 1fr; }
    .supplementary-grid { grid-template-columns: 1fr; }
    .usage-grid { grid-template-columns: 1fr; }
    .admin-detail-panel { width: 100%; }
    .detail-diagnosis-grid { grid-template-columns: 1fr; }
    .admin-header { flex-direction: column; gap: 1rem; align-items: flex-start; }
    .admin-stats { width: 100%; justify-content: space-between; }
    .admin-filters { flex-direction: column; }
    .admin-table-container { font-size: 0.8rem; }
    .admin-table th, .admin-table td { padding: 0.75rem 0.5rem; }
    .profile-text { max-width: 120px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.8rem; }
    .stat-number { font-size: 1.8rem; }
    .question-title { font-size: 1.4rem; }
    .quiz-option { padding: 0.75rem; }
    .option-emoji { font-size: 1.2rem; }
    .bracelet-showcase { padding: 1.5rem; }
    .showcase-title { font-size: 1.5rem; }
    .price-value { font-size: 2rem; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--border-color); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }
::selection { background: rgba(139, 92, 246, 0.3); color: var(--text-primary); }

/* Print */
@media print {
    #energyCanvas, .main-nav, .quiz-modal, .admin-section, .results-actions, .main-footer { display: none !important; }
    .results-section { display: block !important; }
}


/* Birthdate Input Styles */
.birthdate-input-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.birthdate-fields {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.birthdate-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.birthdate-field label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.birthdate-field input,
.birthdate-field select {
    padding: 0.75rem 1rem;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 1rem;
    min-width: 120px;
    transition: var(--transition);
}

.birthdate-field input:focus,
.birthdate-field select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.calculate-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    border: none;
    border-radius: var(--radius-sm);
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.calculate-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* Five Element Result Display */
.five-element-result {
    width: 100%;
    max-width: 400px;
}

.element-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1.5rem;
    border-radius: var(--radius-md);
    border: 1px solid;
    text-align: center;
}

.element-icon {
    font-size: 1.5rem;
    font-weight: 600;
}

.element-detail {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.element-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Multi-select hint */
.multi-select-hint {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 100px;
    font-size: 0.75rem;
    color: #10b981;
    margin-top: 0.5rem;
}

/* Multi-check indicator */
.multi-check {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    opacity: 0;
    transform: scale(0);
    transition: var(--transition);
}

.quiz-option.selected .multi-check {
    opacity: 1;
    transform: scale(1);
}

/* Validation error */
.validation-error {
    position: fixed;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.75rem 1.5rem;
    background: rgba(239, 68, 68, 0.9);
    color: white;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    z-index: 1001;
    animation: fadeInUp 0.3s ease;
}

/* Birth element card in results */
.birth-info-display {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.birth-date, .birth-ganzhi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-color);
}

.birth-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.birth-value {
    font-size: 0.9rem;
    color: var(--text-primary);
    font-family: monospace;
}

.element-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid;
    margin-top: 0.5rem;
}

.element-highlight .element-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.element-highlight .element-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.5;
}

/* Birthdate Input Styles */
.birthdate-input { padding: 1rem 0; }
.birthdate-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.date-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.date-field label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.date-field input {
    padding: 1rem;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1.1rem;
    text-align: center;
    transition: var(--transition);
}
.date-field input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 20px rgba(139, 92, 246, 0.2);
}
.date-field input::placeholder {
    color: var(--text-muted);
    font-size: 0.9rem;
}
.birthdate-note {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(139, 92, 246, 0.08);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-size: 0.9rem;
    color: var(--text-secondary);
}
.birthdate-note span { font-size: 1.2rem; }

/* Multi Select Styles */
.multi-select-hint {
    text-align: center;
    padding: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    margin-top: 0.5rem;
}
.multi-select-hint #selectCount {
    color: var(--accent-primary);
    font-weight: 600;
}

/* Quiz Option Selected State Enhancement */
.quiz-option.selected {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--accent-primary);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.2);
}

/* Color Option Multi Select */
.color-option.selected {
    background: rgba(139, 92, 246, 0.15);
    border-color: var(--accent-primary);
    transform: scale(1.05);
}
.color-option.selected .color-swatch {
    box-shadow: 0 0 20px var(--option-color);
}

/* Responsive Birthdate */
@media (max-width: 480px) {
    .birthdate-fields {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .date-field input {
        padding: 0.75rem;
        font-size: 1rem;
    }
}

/* Wu Xing Result Card */
.wuxing-result {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.08), rgba(236, 72, 153, 0.08));
    border-color: rgba(139, 92, 246, 0.3);
}
.wuxing-birth-info {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}
.wuxing-birth-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.3rem;
}
.wuxing-element-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    margin: 1rem 0;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}
.wuxing-element-name {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}
.wuxing-element-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
}
.wuxing-analysis {
    margin-bottom: 1rem;
}
.wuxing-analysis p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}
.wuxing-analysis .wuxing-desc {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(139, 92, 246, 0.08);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(139, 92, 246, 0.2);
    font-style: italic;
    color: var(--text-primary);
}
.wuxing-chart {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.wuxing-bar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
}
.wuxing-bar-item span:first-child {
    width: 60px;
    font-weight: 500;
}
.wuxing-bar-track {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    overflow: hidden;
}
.wuxing-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 1s ease;
}
.wuxing-bar-item span:last-child {
    width: 20px;
    text-align: right;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}
