/**
 * Jung Word Association Test - Styles
 * Copyright 2026 - All Rights Reserved
 */

:root {
    --bg-deep: #0f0f0f;
    --bg-card: #1a1a1a;
    --bg-elevated: #252525;
    --text-primary: #f5f0e8;
    --text-secondary: #a09080;
    --text-muted: #605850;
    --accent: #c9a86c;
    --accent-dim: #8a7048;
    --accent-glow: rgba(201, 168, 108, 0.15);
    --border: #333028;
    --success: #7cb87c;
    --warning: #c9a86c;
    --error: #c87c7c;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { height: 100%; height: -webkit-fill-available; }

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-deep);
    color: var(--text-primary);
    min-height: 100vh;
    min-height: -webkit-fill-available;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(201, 168, 108, 0.08), transparent),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(138, 112, 72, 0.05), transparent);
    pointer-events: none;
    z-index: 0;
}

.app-container {
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
}

.ad-container {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}
.ad-container:empty { display: none; }
.ad-container.ad-header { border-bottom: 1px solid var(--border); min-height: 90px; }

.header {
    padding: 20px 24px;
    text-align: center;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    transition: background 0.2s ease;
}

.header:hover {
    background: var(--bg-card);
}

.header:hover h1 {
    color: var(--accent);
}

.header h1 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

.header-subtitle {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    font-style: italic;
}

.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
}

.card {
    width: 100%;
    animation: cardEnter 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cardEnter {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Intro Screen */
.intro-screen { text-align: center; }

.intro-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    margin-bottom: 24px;
    line-height: 1.2;
}

.intro-badges {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
    margin-bottom: 24px;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 12px;
    background: var(--bg-card);
    border: 1px solid var(--accent-dim);
    border-radius: 16px;
    font-size: 11px;
    color: var(--accent);
    font-weight: 500;
    white-space: nowrap;
}

.intro-quote-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    margin-bottom: 32px;
    padding: 0;
}

.jung-portrait {
    position: relative;
    width: 100%;
    max-width: 280px;
    overflow: hidden;
    background: var(--bg-deep);
}

.jung-portrait img {
    width: 100%;
    height: auto;
    display: block;
    filter: sepia(40%) contrast(1.1) brightness(0.9);
    opacity: 0.75;
}

.jung-portrait::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: 
        linear-gradient(to right, var(--bg-deep) 0%, transparent 25%),
        linear-gradient(to left, var(--bg-deep) 0%, transparent 25%),
        linear-gradient(to top, var(--bg-deep) 0%, transparent 50%);
}

.intro-quote {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-style: italic;
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 0;
    margin-top: -40px;
    line-height: 1.6;
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 2;
}

.quote-attribution {
    display: block;
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-muted);
    font-style: normal;
}

.intro-instruction {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.intro-instruction-title {
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 12px;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.intro-instruction-text {
    color: var(--text-primary);
    line-height: 1.7;
    font-size: 15px;
}

.intro-instruction-text em {
    color: var(--accent);
    font-style: normal;
    font-weight: 500;
}

/* Progress */
.progress-section { margin-bottom: 40px; }

.progress-bar {
    height: 2px;
    background: var(--bg-elevated);
    border-radius: 1px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--accent);
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.progress-text {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
    font-variant-numeric: tabular-nums;
}

.phase-indicator {
    text-align: center;
    margin-bottom: 8px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
}

/* Stimulus Word */
.stimulus-section {
    text-align: center;
    margin-bottom: 48px;
}

.stimulus-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.stimulus-word {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(48px, 12vw, 72px);
    font-weight: 400;
    color: var(--text-primary);
    line-height: 1.1;
    animation: wordPulse 0.3s ease-out;
}

@keyframes wordPulse {
    0% { opacity: 0; transform: scale(0.96); }
    100% { opacity: 1; transform: scale(1); }
}

.timer {
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
    opacity: 0.6;
}

/* Input Section */
.input-section { width: 100%; }

.input-wrapper { position: relative; margin-bottom: 16px; }

input[type="text"] {
    width: 100%;
    padding: 18px 20px;
    font-family: 'DM Sans', sans-serif;
    font-size: 18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

input[type="text"]::placeholder { color: var(--text-muted); }
input[type="text"]:focus {
    border-color: var(--accent-dim);
    box-shadow: 0 0 0 3px var(--accent-glow);
}

.btn {
    width: 100%;
    padding: 18px 24px;
    font-family: 'DM Sans', sans-serif;
    font-size: 16px;
    font-weight: 500;
    background: var(--accent);
    color: var(--bg-deep);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    -webkit-tap-highlight-color: transparent;
}

.btn:hover { background: #d4b478; }
.btn:active { transform: scale(0.98); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-primary);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-card); }

.btn-skip {
    background: transparent;
    color: var(--text-muted);
    border: 1px dashed var(--border);
    margin-top: 12px;
    font-size: 14px;
    padding: 14px 20px;
}
.btn-skip:hover { 
    color: var(--text-secondary);
    border-color: var(--text-muted);
    background: transparent;
}

.skip-hint {
    text-align: center;
    margin-top: 16px;
    font-size: 12px;
    color: var(--text-muted);
}

.skip-hint kbd {
    display: inline-block;
    padding: 2px 6px;
    background: var(--bg-elevated);
    border-radius: 4px;
    font-family: inherit;
    font-size: 11px;
}

/* Reproduction Phase */
.reproduction-prompt {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
    text-align: center;
}

.reproduction-question {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.reproduction-word {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    color: var(--text-primary);
}

.reproduction-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* Results */
.results-container { animation: cardEnter 0.5s cubic-bezier(0.16, 1, 0.3, 1); }

.results-header {
    text-align: center;
    margin-bottom: 32px;
}

.results-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 8px;
}

.results-subtitle {
    font-size: 14px;
    color: var(--text-secondary);
}

.analysis-content {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    line-height: 1.75;
    font-size: 15px;
    color: var(--text-primary);
}

.analysis-content strong {
    color: var(--accent);
    font-weight: 500;
}

.analysis-content p { margin-bottom: 16px; }
.analysis-content p:last-child { margin-bottom: 0; }

/* Complex Indicators Summary */
.indicators-summary {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 24px;
}

.indicator-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.indicator-value {
    font-size: 28px;
    font-weight: 600;
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

.indicator-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-top: 4px;
}

/* Error State */
.error-container { text-align: center; padding: 40px 20px; }
.error-icon { font-size: 48px; margin-bottom: 24px; }
.error-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--error);
}
.error-text { color: var(--text-secondary); line-height: 1.6; }
.error-code { 
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'SF Mono', 'Fira Code', Consolas, monospace;
}

/* Your Data Section */
.your-data-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: left;
}

.your-data-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--text-primary);
    text-align: center;
}

.your-data-stats {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-align: center;
}

.response-table-container {
    max-height: 400px;
    overflow-y: auto;
    border: 1px solid var(--border);
    border-radius: 12px;
}

.response-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.response-table th {
    background: var(--bg-elevated);
    padding: 12px 16px;
    text-align: left;
    font-weight: 500;
    color: var(--text-secondary);
    position: sticky;
    top: 0;
}

.response-table td {
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    color: var(--text-primary);
}

.response-table tr:hover td { background: var(--bg-card); }
.response-table td:last-child {
    text-align: right;
    color: var(--text-muted);
    font-variant-numeric: tabular-nums;
}

.response-table tr.indicator-slow td { color: var(--warning); }
.response-table tr.indicator-fail td { color: var(--error); }

.table-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.legend-dot.slow { background: var(--warning); }
.legend-dot.fail { background: var(--error); }

/* Share Section */
.actions-section {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.actions-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-align: center;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 12px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.action-btn:hover { background: var(--bg-card); color: var(--text-primary); }
.action-btn svg { width: 24px; height: 24px; }
.action-btn.twitter:hover { color: #1DA1F2; }
.action-btn.facebook:hover { color: #4267B2; }
.action-btn.save:hover { color: var(--accent); }

/* External Links Section */
.explore-section {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.explore-title {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
    text-align: center;
}

.explore-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.explore-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.explore-card:hover {
    border-color: var(--accent-dim);
    background: var(--bg-elevated);
    transform: translateY(-2px);
}

.explore-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    flex-shrink: 0;
    color: var(--text-secondary);
    transition: color 0.2s, border-color 0.2s;
}

.explore-icon svg {
    width: 24px;
    height: 24px;
}

.explore-card:hover .explore-icon {
    color: var(--accent);
    border-color: var(--accent-dim);
}

.explore-content {
    flex: 1;
    min-width: 0;
}

.explore-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.explore-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.explore-arrow {
    color: var(--accent-dim);
    font-size: 20px;
    transition: transform 0.2s ease;
}

.explore-card:hover .explore-arrow {
    transform: translateX(4px);
    color: var(--accent);
}

/* Loading */
.loading { text-align: center; padding: 60px 20px; }

.loading-bar {
    width: 100%;
    max-width: 280px;
    height: 4px;
    background: var(--bg-elevated);
    border-radius: 2px;
    margin: 0 auto 16px;
    overflow: hidden;
}

.loading-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-dim), var(--accent), var(--accent-dim));
    background-size: 200% 100%;
    animation: loadingBar 2s ease-in-out infinite;
    width: 0%;
    transition: width 0.3s ease-out;
}

@keyframes loadingBar {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 280px;
    margin: 0 auto;
}

.loading-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    color: var(--text-muted);
    opacity: 0.4;
    transition: opacity 0.3s, color 0.3s;
}

.loading-step.active { opacity: 1; color: var(--text-secondary); }
.loading-step.complete { opacity: 1; color: var(--success); }

.loading-step-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loading-spinner-small {
    width: 16px;
    height: 16px;
    border: 2px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
.loading-check { color: var(--success); }

/* Footer - minimal */
.footer-minimal {
    padding: 16px;
    text-align: center;
    font-size: 10px;
    color: var(--border);
    opacity: 0.4;
}

.footer-minimal a {
    color: inherit;
    text-decoration: none;
}

.footer-minimal a:hover {
    color: var(--text-muted);
}

/* Legal pages */
.legal-page {
    max-width: 600px;
    padding: 32px;
}

.legal-page h2 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.legal-page p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
}

.legal-page a {
    color: var(--accent);
    text-decoration: none;
}

.legal-page a:hover {
    text-decoration: underline;
}

/* Hide on mobile class */
@media (max-width: 767px) {
    .hide-mobile { display: none !important; }
}

/* Mobile with keyboard open - very compact */
@media (max-height: 500px) {
    .header { padding: 8px 16px; }
    .header h1 { font-size: 14px; }
    .header-subtitle { display: none; }
    .main-content { padding: 12px; justify-content: flex-start; padding-top: 8px; }
    .progress-section { margin-bottom: 8px; }
    .progress-text { margin-top: 4px; font-size: 11px; }
    .stimulus-section { margin-bottom: 12px; }
    .stimulus-word { font-size: 36px; }
    .timer { margin-top: 4px; font-size: 11px; }
    .input-wrapper { margin-bottom: 8px; }
    input[type="text"] { padding: 12px 16px; font-size: 16px; }
    .btn { padding: 12px 16px; font-size: 14px; }
    .btn-skip { padding: 10px 16px; font-size: 12px; margin-top: 6px; }
    .phase-indicator { display: none; }
}

/* Very short screens (keyboard fully open on small phones) */
@media (max-height: 400px) {
    .header { display: none; }
    .main-content { padding: 8px; padding-top: 4px; }
    .stimulus-word { font-size: 28px; }
    .progress-section { margin-bottom: 4px; }
    .stimulus-section { margin-bottom: 8px; }
    .timer { display: none; }
}

@media (max-width: 400px) {
    .indicators-summary { grid-template-columns: 1fr 1fr; }
    .actions-grid { grid-template-columns: repeat(3, 1fr); }
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-card); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* Desktop - Scale up UI (equivalent to ~170% zoom) */
@media (min-width: 768px) {
    .header {
        padding: 32px 40px;
    }
    
    .header h1 {
        font-size: 24px;
    }
    
    .header-subtitle {
        font-size: 14px;
        margin-top: 8px;
    }
    
    .main-content {
        padding: 48px;
        max-width: 720px;
    }
    
    .intro-title {
        font-size: 48px;
        margin-bottom: 32px;
    }
    
    .intro-badges {
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .badge {
        padding: 10px 20px;
        font-size: 14px;
        border-radius: 24px;
    }
    
    .intro-quote-section {
        gap: 0;
        margin-bottom: 30px;
    }
    
    .jung-portrait {
        max-width: 400px;
    }
    
    .intro-quote {
        font-size: 22px;
        padding: 0 24px;
        margin-top: -50px;
    }
    
    .quote-attribution {
        font-size: 16px;
        margin-top: 12px;
    }
    
    .intro-instruction {
        padding: 32px;
        margin-bottom: 48px;
        border-radius: 16px;
    }
    
    .intro-instruction-title {
        font-size: 18px;
        margin-bottom: 16px;
    }
    
    .intro-instruction-text {
        font-size: 18px;
        line-height: 1.8;
    }
    
    .btn {
        padding: 24px 32px;
        font-size: 20px;
        border-radius: 16px;
    }
    
    .btn-skip {
        padding: 18px 28px;
        font-size: 16px;
    }
    
    .progress-section {
        margin-bottom: 56px;
    }
    
    .progress-bar {
        height: 4px;
    }
    
    .progress-text {
        margin-top: 16px;
        font-size: 16px;
    }
    
    .phase-indicator {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .stimulus-section {
        margin-bottom: 64px;
    }
    
    .stimulus-label {
        font-size: 16px;
        margin-bottom: 32px;
    }
    
    .stimulus-word {
        font-size: clamp(64px, 14vw, 96px);
    }
    
    .timer {
        margin-top: 24px;
        font-size: 16px;
    }
    
    .input-wrapper {
        margin-bottom: 24px;
    }
    
    input[type="text"] {
        padding: 24px 28px;
        font-size: 22px;
        border-radius: 16px;
    }
    
    .skip-hint {
        margin-top: 24px;
        font-size: 15px;
    }
    
    .skip-hint kbd {
        padding: 4px 10px;
        font-size: 14px;
    }
    
    .reproduction-prompt {
        padding: 28px;
        margin-bottom: 32px;
        border-radius: 16px;
    }
    
    .reproduction-question {
        font-size: 18px;
        margin-bottom: 12px;
    }
    
    .reproduction-word {
        font-size: 40px;
    }
    
    .reproduction-options {
        gap: 16px;
    }
    
    .results-title {
        font-size: 44px;
        margin-bottom: 12px;
    }
    
    .results-subtitle {
        font-size: 18px;
    }
    
    .results-header {
        margin-bottom: 40px;
    }
    
    .indicators-summary {
        gap: 16px;
        margin-bottom: 32px;
    }
    
    .indicator-card {
        padding: 24px;
        border-radius: 16px;
    }
    
    .indicator-value {
        font-size: 36px;
    }
    
    .indicator-label {
        font-size: 13px;
        margin-top: 8px;
    }
    
    .analysis-content {
        padding: 36px;
        border-radius: 20px;
        font-size: 18px;
        line-height: 1.85;
    }
    
    .analysis-content p {
        margin-bottom: 20px;
    }
    
    .actions-section {
        margin-top: 40px;
        padding-top: 32px;
    }
    
    .actions-title {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .actions-grid {
        gap: 16px;
    }
    
    .action-btn {
        padding: 20px 16px;
        border-radius: 16px;
        font-size: 14px;
        gap: 12px;
    }
    
    .action-btn svg {
        width: 32px;
        height: 32px;
    }
    
    .explore-section {
        margin-top: 32px;
        padding-top: 32px;
    }
    
    .explore-title {
        font-size: 14px;
        margin-bottom: 20px;
    }
    
    .explore-grid {
        gap: 16px;
    }
    
    .explore-card {
        padding: 24px;
        border-radius: 16px;
        gap: 20px;
    }
    
    .explore-icon {
        width: 64px;
        height: 64px;
        border-radius: 14px;
    }
    
    .explore-icon svg {
        width: 32px;
        height: 32px;
    }
    
    .explore-name {
        font-size: 22px;
        margin-bottom: 6px;
    }
    
    .explore-desc {
        font-size: 15px;
    }
    
    .explore-arrow {
        font-size: 28px;
    }
    
    .your-data-section {
        margin-top: 40px;
        padding-top: 32px;
    }
    
    .your-data-title {
        font-size: 32px;
        margin-bottom: 12px;
    }
    
    .your-data-stats {
        font-size: 16px;
        margin-bottom: 24px;
    }
    
    .response-table-container {
        border-radius: 16px;
        max-height: 500px;
    }
    
    .response-table {
        font-size: 16px;
    }
    
    .response-table th {
        padding: 16px 20px;
    }
    
    .response-table td {
        padding: 14px 20px;
    }
    
    .table-legend {
        margin-top: 16px;
        font-size: 14px;
        gap: 32px;
    }
    
    .legend-dot {
        width: 10px;
        height: 10px;
    }
    
    .loading {
        padding: 80px 32px;
    }
    
    .loading-bar {
        max-width: 360px;
        height: 6px;
        margin-bottom: 24px;
    }
    
    .loading-steps {
        max-width: 360px;
        gap: 12px;
    }
    
    .loading-step {
        font-size: 16px;
        gap: 16px;
    }
    
    .loading-step-icon {
        width: 28px;
        height: 28px;
    }
    
    .loading-spinner-small {
        width: 22px;
        height: 22px;
        border-width: 3px;
    }
    
    .error-container {
        padding: 60px 32px;
    }
    
    .error-icon {
        font-size: 64px;
        margin-bottom: 32px;
    }
    
    .error-title {
        font-size: 36px;
        margin-bottom: 20px;
    }
    
    .error-text {
        font-size: 18px;
    }
    
    .error-code {
        margin-top: 16px;
        font-size: 14px;
    }
}

