/* ==========================================================================
   PERSONALITY TYPE TEST APP (SOUL PRISM) MAIN STYLESHEET
   ========================================================================== */

:root {
    /* Color Palette */
    --bg-dark: #070814;
    --text-main: #f0f2ff;
    --text-muted: #9ba1c6;
    --card-bg: rgba(20, 22, 45, 0.45);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.18);
    
    /* Neomorphic Glow Theme Accents */
    --glow-emerald: #10b981;
    --glow-emerald-rgb: 16, 185, 129;
    --glow-rose: #f43f5e;
    --glow-rose-rgb: 244, 63, 94;
    --glow-cyan: #22d3ee;
    --glow-purple: #a78bfa;
    --glow-gold: #ffd700;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Outfit', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    line-height: 1.6;
}

/* ==========================================================================
   AMBIENT BACKGROUND ORBS
   ========================================================================== */
.bg-glow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.12;
    mix-blend-mode: screen;
    animation: floatOrb 25s infinite alternate ease-in-out;
}

.orb-1 {
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.6) 0%, rgba(16, 185, 129, 0) 70%);
    top: -10vw;
    left: -10vw;
    animation-duration: 28s;
}

.orb-2 {
    width: 45vw;
    height: 45vw;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.6) 0%, rgba(59, 130, 246, 0) 70%);
    bottom: -10vw;
    right: -10vw;
    animation-duration: 22s;
    animation-delay: -5s;
}

.orb-3 {
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.5) 0%, rgba(139, 92, 246, 0) 70%);
    top: 25vh;
    left: 35vw;
    animation-duration: 32s;
    animation-delay: -10s;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(6%, 10%) scale(1.1) rotate(180deg); }
    100% { transform: translate(-4%, -6%) scale(0.9) rotate(360deg); }
}

/* ==========================================================================
   FLOATING HOME BUTTON
   ========================================================================== */
.back-home-btn {
    position: absolute;
    top: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 100;
}

.back-home-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.home-icon-svg {
    width: 22px;
    height: 22px;
}

/* ==========================================================================
   AUDIO HUD CONTROL
   ========================================================================== */
.audio-hud-control {
    position: absolute;
    top: 30px;
    right: 30px;
    z-index: 100;
    display: flex;
    gap: 12px;
}

.lang-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    text-decoration: none;
    font-family: 'Outfit', sans-serif;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.lang-toggle-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.audio-toggle-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.audio-toggle-btn:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.audio-toggle-btn svg {
    width: 22px;
    height: 22px;
}

.hidden {
    display: none !important;
}

/* ==========================================================================
   MAIN APP SHELL
   ========================================================================== */
.app-container {
    width: 90%;
    max-width: 680px;
    margin: 80px auto;
    position: relative;
    z-index: 10;
}

/* Glassmorphic Card Panel */
.card {
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 28px;
    padding: 50px 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    display: none; /* Controlled via active class */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.card.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   WELCOME SCREEN STYLING
   ========================================================================== */
.icon-header {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--glow-emerald);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px auto;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
}

.main-svg-icon {
    width: 36px;
    height: 36px;
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 40%, var(--glow-emerald) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 8px;
}

.welcome-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--glow-emerald);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 35px;
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.1);
}

.welcome-intro {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 40px;
}

.welcome-intro p {
    margin-bottom: 16px;
}

.welcome-intro strong {
    color: #fff;
}

/* Info Box / Tips Grid */
.tips-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    padding: 20px 24px;
    margin-top: 28px;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 0.9rem;
}

.tip-item:last-child {
    margin-bottom: 0;
}

.tip-icon {
    font-size: 1.1rem;
}

/* Button Universal Styles */
.btn {
    width: 100%;
    padding: 16px 30px;
    border-radius: 14px;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    border: 1px solid transparent;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff;
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(16, 185, 129, 0.35);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-glow {
    position: relative;
    overflow: hidden;
}

.btn-glow::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0) 60%);
    pointer-events: none;
    transform: translate(-30%, -30%);
    transition: transform 0.5s ease;
}

.btn-glow:hover::after {
    transform: translate(10%, 10%);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.btn-outline:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.btn-outline:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.btn-text {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-weight: 500;
    padding: 10px;
    width: auto;
}

.btn-text:hover {
    color: #fff;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon {
    transform: translateX(4px);
}

.btn-icon-left {
    transition: transform 0.3s ease;
}

.btn:hover .btn-icon-left {
    transform: translateX(-4px);
}

.disclaimer {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.25);
    text-align: center;
    margin-top: 24px;
}

/* ==========================================================================
   QUIZ CARD STYLING
   ========================================================================== */
.quiz-header {
    margin-bottom: 45px;
}

.progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.badge-dimension {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    border: 1px solid rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.08);
    color: var(--glow-emerald);
    transition: all 0.4s ease;
}

.progress-text {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    font-family: 'Outfit', sans-serif;
}

/* Progress bar track */
.progress-bar-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--glow-emerald) 0%, #34d399 100%);
    width: 0;
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.16, 1, 0.3, 1), background 0.4s ease;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.3);
}

.question-container {
    min-height: 110px;
    display: flex;
    align-items: center;
    margin-bottom: 50px;
}

.question-text {
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.6;
    text-align: center;
    width: 100%;
}

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

/* ==========================================================================
   NEUMORPHIC HORIZONTAL LIKERT SCALE
   ========================================================================== */
.likert-container {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 35px 20px;
    margin-bottom: 45px;
    text-align: center;
    position: relative;
}

.mbti-likert-scale {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 520px;
    margin: 0 auto;
}

.likert-side-label {
    font-size: 0.95rem;
    font-weight: 700;
    width: 50px;
    transition: all 0.3s ease;
}

.label-agree {
    color: var(--glow-emerald);
    text-align: left;
}

.label-disagree {
    color: var(--glow-rose);
    text-align: right;
}

.likert-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-grow: 1;
    padding: 0 20px;
    position: relative;
}

/* Connection line behind dots */
.likert-buttons::before {
    content: '';
    position: absolute;
    left: 30px;
    right: 30px;
    top: 50%;
    height: 2px;
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-50%);
    z-index: 1;
}

.likert-btn {
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.15);
    background: #0f1228;
    position: relative;
    border: 2px solid transparent;
}

/* Dot Sizing Rules */
.btn-agree-large {
    width: 46px;
    height: 46px;
    border-color: rgba(16, 185, 129, 0.3);
}
.btn-agree-medium {
    width: 36px;
    height: 36px;
    border-color: rgba(16, 185, 129, 0.25);
}
.btn-neutral {
    width: 26px;
    height: 26px;
    border-color: rgba(255, 255, 255, 0.15);
}
.btn-disagree-medium {
    width: 36px;
    height: 36px;
    border-color: rgba(244, 63, 94, 0.25);
}
.btn-disagree-large {
    width: 46px;
    height: 46px;
    border-color: rgba(244, 63, 94, 0.3);
}

/* Hover States with Glows */
.btn-agree-large:hover,
.btn-agree-medium:hover {
    transform: scale(1.15);
    border-color: var(--glow-emerald);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

.btn-disagree-large:hover,
.btn-disagree-medium:hover {
    transform: scale(1.15);
    border-color: var(--glow-rose);
    box-shadow: 0 0 15px rgba(244, 63, 94, 0.3);
}

.btn-neutral:hover {
    transform: scale(1.15);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

/* Active Selected States */
.btn-agree-large.selected {
    background: var(--glow-emerald);
    border-color: #fff;
    box-shadow: 0 0 25px rgba(16, 185, 129, 0.8), 0 0 0 4px rgba(16, 185, 129, 0.2);
}
.btn-agree-medium.selected {
    background: #34d399;
    border-color: #fff;
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.7), 0 0 0 4px rgba(52, 211, 153, 0.2);
}
.btn-neutral.selected {
    background: #9ba1c6;
    border-color: #fff;
    box-shadow: 0 0 15px rgba(155, 161, 198, 0.6), 0 0 0 3px rgba(155, 161, 198, 0.2);
}
.btn-disagree-medium.selected {
    background: #fb7185;
    border-color: #fff;
    box-shadow: 0 0 20px rgba(251, 113, 133, 0.7), 0 0 0 4px rgba(251, 113, 133, 0.2);
}
.btn-disagree-large.selected {
    background: var(--glow-rose);
    border-color: #fff;
    box-shadow: 0 0 25px rgba(244, 63, 94, 0.8), 0 0 0 4px rgba(244, 63, 94, 0.2);
}

.likert-text-feedback {
    margin-top: 25px;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.likert-text-feedback.selected {
    color: #fff;
}

/* Quiz Controls Section */
.quiz-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.quiz-controls .btn-outline {
    width: 140px;
    padding: 12px 20px;
}

/* ==========================================================================
   RESULT CARD & SPECTRAL REPORT STYLING
   ========================================================================== */
.result-header {
    text-align: center;
    margin-bottom: 35px;
}

.result-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: var(--glow-emerald);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 12px;
}

.result-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
}

/* Archetype Showcase Grid */
.archetype-showcase {
    display: flex;
    align-items: center;
    gap: 30px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 40px;
}

/* Animated SVG Soul Core */
.soul-core-container {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    position: relative;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.soul-core-svg {
    width: 100%;
    height: 100%;
}

.core-pulse-anim {
    animation: corePulse 3s infinite alternate ease-in-out;
    transform-origin: 60px 60px;
}

.orbit-rotate-clockwise {
    transform-origin: 60px 60px;
    animation: rotateCW 18s linear infinite;
}

.orbit-rotate-counter {
    transform-origin: 60px 60px;
    animation: rotateCCW 12s linear infinite;
}

@keyframes corePulse {
    0% { transform: scale(0.95); opacity: 0.7; }
    100% { transform: scale(1.08); opacity: 1; }
}

@keyframes rotateCW {
    to { transform: rotate(360deg); }
}

@keyframes rotateCCW {
    to { transform: rotate(-360deg); }
}

.archetype-info {
    flex-grow: 1;
}

.archetype-code {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 0.05em;
    line-height: 1.1;
    margin-bottom: 4px;
    color: var(--core-color-primary, var(--glow-emerald));
    text-shadow: 0 0 15px rgba(var(--core-color-primary-rgb, 16, 185, 129), 0.3);
}

.archetype-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.archetype-slogan {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   MBTI POLAR METERS BOARD
   ========================================================================== */
.mbti-dimensions-board {
    margin-bottom: 40px;
}

.board-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-left: 3px solid var(--core-color-primary, var(--glow-emerald));
    padding-left: 10px;
}

.dimension-meters {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.meter-wrapper {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.meter-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
}

.label-left {
    color: var(--text-muted);
}
.label-right {
    color: var(--text-muted);
}

.meter-wrapper.active-left .label-left {
    color: var(--dim-color-left, #fff);
}
.meter-wrapper.active-right .label-right {
    color: var(--dim-color-right, #fff);
}

.label-pct {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin: 0 4px;
}

/* Double-sided Progress Bar */
.mbti-bar {
    height: 8px;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
    display: flex;
}

/* Central pivot line marker */
.mbti-bar::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.15);
    z-index: 5;
    transform: translateX(-50%);
}

.mbti-bar-half {
    width: 50%;
    height: 100%;
    position: relative;
}

/* Fills from center outward */
.mbti-bar-fill-left {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(to left, var(--dim-color-left, var(--glow-emerald)), rgba(255, 255, 255, 0.05));
    width: 0;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 4px 0 0 4px;
    box-shadow: 0 0 8px var(--dim-color-left, var(--glow-emerald));
}

.mbti-bar-fill-right {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: linear-gradient(to right, var(--dim-color-right, var(--glow-cyan)), rgba(255, 255, 255, 0.05));
    width: 0;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 8px var(--dim-color-right, var(--glow-cyan));
}

/* ==========================================================================
   REPORT ACCORDION STYLING
   ========================================================================== */
.report-details {
    margin-bottom: 45px;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.accordion-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.accordion-item.active {
    border-color: rgba(var(--core-color-primary-rgb, 16, 185, 129), 0.25);
    background: rgba(var(--core-color-primary-rgb, 16, 185, 129), 0.02);
}

.accordion-header {
    width: 100%;
    padding: 20px 24px;
    background: transparent;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    color: inherit;
}

.accordion-title-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.accordion-emoji {
    font-size: 1.25rem;
}

.accordion-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
}

.accordion-arrow {
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.accordion-item.active .accordion-arrow {
    transform: rotate(180deg);
    color: var(--core-color-primary, var(--glow-emerald));
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.accordion-item.active .accordion-content {
    max-height: 500px; /* high enough for body text */
}

.accordion-content-inner {
    padding: 0 24px 24px 24px;
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.accordion-content-inner p {
    margin-bottom: 12px;
}

.accordion-content-inner p:last-child {
    margin-bottom: 0;
}

.accordion-content-inner strong {
    color: #fff;
}

/* ==========================================================================
   RESULT CARD ACTIONS
   ========================================================================== */
.result-actions {
    display: flex;
    gap: 20px;
}

.result-actions .btn-outline {
    width: 180px;
}

.result-actions .btn-primary {
    flex-grow: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN OVERRIDES
   ========================================================================== */
@media (max-width: 600px) {
    .app-container {
        margin: 40px auto;
    }
    
    .card {
        padding: 35px 20px;
        border-radius: 20px;
    }
    
    .welcome-title {
        font-size: 2rem;
    }
    
    .question-text {
        font-size: 1.15rem;
    }
    
    .mbti-likert-scale {
        flex-direction: column;
        gap: 20px;
    }
    
    .likert-buttons {
        width: 100%;
        padding: 0 10px;
    }
    
    .label-agree, .label-disagree {
        text-align: center;
        width: 100%;
    }
    
    .archetype-showcase {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .result-actions {
        flex-direction: column;
        gap: 15px;
    }
    
    .result-actions .btn-outline,
    .result-actions .btn-primary {
        width: 100%;
    }
    
    .back-home-btn, .audio-hud-control {
        top: 15px;
    }
    .back-home-btn {
        left: 15px;
        width: 40px;
        height: 40px;
    }
    .audio-hud-control {
        right: 15px;
        gap: 8px;
    }
    .audio-toggle-btn, .lang-toggle-btn {
        width: 40px;
        height: 40px;
        font-size: 11px;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */
@media print {
    body {
        background: #fff;
        color: #000;
    }
    
    .back-home-btn,
    .audio-hud-control,
    .result-actions,
    .bg-glow-container {
        display: none !important;
    }
    
    .app-container {
        width: 100%;
        max-width: 100%;
        margin: 0;
    }
    
    .card {
        background: #fff;
        border: none;
        box-shadow: none;
        color: #000;
        padding: 0;
    }
    
    .result-title, .archetype-name, .accordion-title, .board-title {
        color: #000 !important;
    }
    
    .archetype-showcase {
        background: #f3f4f6;
        border: 1px solid #e5e7eb;
        color: #000;
    }
    
    .soul-core-container {
        border-color: #d1d5db;
        background: #e5e7eb;
    }
    
    .mbti-bar {
        background: #e5e7eb;
        border: 1px solid #d1d5db;
    }
    
    .mbti-bar-fill-left, .mbti-bar-fill-right {
        box-shadow: none !important;
    }
    
    .accordion-item {
        background: #f9fafb;
        border: 1px solid #e5e7eb;
        color: #000;
    }
    
    .accordion-item.active .accordion-content {
        max-height: none !important;
    }
    
    .accordion-content-inner {
        color: #374151 !important;
    }
}
