:root {
    --primary-color: #FF6B6B;
    --primary-hover: #FF5252;
    --primary-light: #FFE8E8;
    --primary-gradient: linear-gradient(135deg, #FF6B6B 0%, #FFA06A 100%);
    
    --bg-color: #FFFDFB; /* 아주 따뜻한 크림톤 화이트 */
    --card-bg: #FFFFFF;
    
    --text-main: #2D3436;
    --text-muted: #8395A7;
    
    --border-radius-sm: 16px;
    --border-radius-lg: 32px;
    
    /* 기존보다 부드럽고 컬러감 있는 그림자 */
    --shadow-sm: 0 4px 12px rgba(255, 107, 107, 0.08);
    --shadow-md: 0 10px 24px rgba(255, 107, 107, 0.12);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
    background-color: #F8EDED; /* 모바일 앱 컨테이너 바깥쪽 배경 */
    color: var(--text-main);
    display: flex;
    justify-content: center;
    min-height: 100vh;
}

.app-container {
    width: 100%;
    max-width: 480px;
    background-color: var(--bg-color);
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.03);
    position: relative;
    overflow-x: hidden;
}

/* Header */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #e9ecef;
}

.back-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    color: var(--text-main);
    padding: 8px 12px 8px 0;
    transition: opacity 0.2s;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
}

.back-btn:hover {
    opacity: 0.6;
}

#weather-widget {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--card-bg);
    padding: 6px 12px;
    border-radius: 999px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(255, 107, 107, 0.1);
    font-size: 0.78rem;
    white-space: nowrap;
    flex-shrink: 0;
    height: 32px;
    line-height: 32px;
}

#weather-widget #time-display,
#weather-widget #weather-display {
    display: inline-flex;
    align-items: center;
    height: 100%;
    line-height: 1;
    vertical-align: middle;
}

#weather-widget #time-display {
    font-weight: 700;
}

#weather-widget #weather-display {
    font-weight: 500;
    color: var(--text-muted);
    max-width: 160px;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Hero Section */
.hero {
    background: var(--primary-gradient);
    color: white;
    margin: 0 20px 30px;
    padding: 36px 20px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

/* Hero 내부에 약간의 장식 요소 (유리질감 원) */
.hero::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: rgba(255,255,255, 0.2);
    border-radius: 50%;
    backdrop-filter: blur(5px);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: 20px;
    width: 60px;
    height: 60px;
    background: rgba(255,255,255, 0.15);
    border-radius: 50%;
}

.hero h1 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 12px;
    line-height: 1.3;
    letter-spacing: -0.5px;
    position: relative;
    z-index: 1;
}

.hero p {
    font-size: 0.95rem;
    font-weight: 500;
    opacity: 0.95;
    position: relative;
    z-index: 1;
}

/* Main Content */
.content-list {
    padding: 0 20px 40px;
}

.section-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    padding-left: 4px;
}

/* 아코디언 카테고리 */
.category-box.collapsible.collapsed {
    cursor: pointer;
}

.category-box.collapsible .section-title {
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    margin-bottom: 0;
    padding: 4px 4px 12px;
    transition: margin-bottom 0.3s;
}

.category-box.collapsible:not(.collapsed) .section-title {
    margin-bottom: 16px;
}

.category-count {
    font-size: 0.7rem;
    font-weight: 700;
    background: var(--text-muted);
    color: white;
    padding: 2px 8px;
    border-radius: 999px;
    margin-left: 4px;
}

.category-toggle {
    margin-left: auto;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
    flex-shrink: 0;
}

.category-toggle .toggle-arrow {
    display: inline-block;
    transition: transform 0.3s;
    font-size: 0.85rem;
}

.category-box.collapsed .toggle-arrow {
    transform: rotate(-90deg);
}

.category-box.collapsible:not(.collapsed) .category-toggle {
    color: var(--primary-color);
}

/* 접힌 상태 미리보기 힌트 */
.category-peek {
    display: none;
    padding: 0;
    overflow: hidden;
}

.category-box.collapsed .category-peek {
    display: flex;
    gap: 8px;
    padding: 4px 0 0;
    flex-wrap: wrap;
}

.peek-chip {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    background: rgba(0,0,0,0.04);
    padding: 4px 10px;
    border-radius: 999px;
    white-space: nowrap;
}

.category-box .category-items {
    max-height: 2000px;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 1;
}

.category-box.collapsed .category-items {
    max-height: 0;
    opacity: 0;
}

.menu-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    padding: 18px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    color: inherit;
    margin-bottom: 14px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s cubic-bezier(0.1, 0.8, 0.1, 1), box-shadow 0.2s;
    border: 1px solid transparent;
}

.menu-card:-webkit-any-link {
    color: inherit;
}

.menu-card:active {
    transform: scale(0.96) translateY(2px);
    box-shadow: 0 2px 8px rgba(255, 107, 107, 0.05);
}

.menu-card.highlight {
    border: 1px solid var(--primary-color);
    background: linear-gradient(to right, #ffffff, var(--primary-light));
    box-shadow: var(--shadow-md);
}

/* 아이콘 컨테이너를 완전한 원형으로 */
.menu-icon {
    font-size: 1.8rem;
    margin-right: 18px;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-light);
    border-radius: 50%;
    flex-shrink: 0;
}

.menu-info h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-main);
}

.menu-info p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}

/* Common UI Elements */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 16px 24px;
    border-radius: 999px; /* 버튼도 알약 형태로 둥글게 */
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    width: 100%;
    transition: all 0.2s;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-main);
    border: 1px solid #E2E8F0;
    box-shadow: none;
}
.btn-secondary:hover {
    background: #F8FAFC;
    transform: translateY(-2px);
    border-color: #CBD5E1;
}

/* Forms & Inputs */
input[type="text"], input[type="number"], select {
    width: 100%;
    padding: 16px;
    border: 2px solid #E2E8F0;
    border-radius: var(--border-radius-sm);
    font-size: 1.05rem;
    margin-bottom: 14px;
    transition: all 0.2s;
    outline: none;
    color: var(--text-main);
    background: #FAFAFA;
}

input:focus, select:focus {
    border-color: var(--primary-color);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* Test Layout */
.test-container {
    padding: 8px 24px 24px;
    text-align: center;
}

.question-box {
    background: var(--card-bg);
    padding: 40px 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    min-height: 220px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--primary-light);
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--primary-light);
    border-radius: 4px;
    margin-bottom: 30px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--primary-gradient);
    width: 0%;
    transition: width 0.4s cubic-bezier(0.1, 0.8, 0.1, 1);
    border-radius: 4px;
}

.answer-btn {
    display: block;
    width: 100%;
    background: var(--card-bg);
    border: 2px solid var(--primary-light);
    padding: 18px 20px;
    border-radius: var(--border-radius-sm);
    margin-bottom: 14px;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    line-height: 1.4;
}

.answer-btn:hover, .answer-btn:active {
    border-color: var(--primary-color);
    background: var(--primary-light);
    transform: scale(0.98);
}

/* Receipt Style Result */
.receipt {
    background: #FFF;
    padding: 30px 24px;
    border-radius: 0;
    box-shadow: var(--shadow-md);
    position: relative;
    border-left: 2px dashed #E2E8F0;
    border-right: 2px dashed #E2E8F0;
    margin-bottom: 30px;
    margin-top: 24px;
}

/* 영수증 위아래 지그재그 패턴 */
.receipt::before, .receipt::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 12px;
    background-size: 24px 24px;
}

.receipt::before {
    top: -12px;
    background-image: 
        linear-gradient(135deg, transparent 50%, #FFF 50%),
        linear-gradient(225deg, transparent 50%, #FFF 50%);
    background-position: 0 0, 12px 0;
}

.receipt::after {
    bottom: -12px;
    background-image: 
        linear-gradient(135deg, #FFF 50%, transparent 50%),
        linear-gradient(225deg, #FFF 50%, transparent 50%);
    background-position: 0 0, 12px 0;
}

.cross-promo,
#cross-promo {
    background: #FAFAFA;
    border-radius: var(--border-radius-sm);
    padding: 20px;
    margin-top: 28px;
    border: 1px solid #E2E8F0;
}

.cross-promo p {
    font-weight: 800;
    margin-bottom: 14px;
    color: var(--primary-color);
    font-size: 1.1rem;
}

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

/* Gradient Banner Utilities for Screenshots */
.banner-purple {
    background: linear-gradient(135deg, #6c5ce7 0%, #8c7ae6 100%);
    color: white;
}
.banner-yellow {
    background: linear-gradient(135deg, #FFC312 0%, #F79F1F 100%);
    color: white;
}
.banner-pastel {
    background: linear-gradient(135deg, #c7ecee 0%, #ffcccc 100%);
    color: var(--text-main);
}

/* Grid Layouts */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Color Themes Configuration (Override default via body class) */
body.theme-fortune {
    --primary-color: #6c5ce7;
    --primary-hover: #4834d4;
    --primary-gradient: linear-gradient(135deg, #a29bfe 0%, #6c5ce7 100%);
    --primary-light: #eef2ff;
}

body.theme-match {
    --primary-color: #ff7675;
    --primary-hover: #ff4757;
    --primary-gradient: linear-gradient(135deg, #ff7675 0%, #d63031 100%);
    --primary-light: #fff0f3;
}

body.theme-office {
    --primary-color: #e17055;
    --primary-hover: #d63031;
    --primary-gradient: linear-gradient(135deg, #fab1a0 0%, #e17055 100%);
    --primary-light: #fff4e6;
}

body.theme-random {
    --primary-color: #00b894;
    --primary-hover: #00cec9;
    --primary-gradient: linear-gradient(135deg, #55efc4 0%, #00b894 100%);
    --primary-light: #ebfcf6;
}

body.theme-test { /* For MBTI */
    --primary-color: #8c7ae6;
    --primary-hover: #7158e2;
    --primary-gradient: linear-gradient(135deg, #9c88ff 0%, #8c7ae6 100%);
    --primary-light: #f5f2ff;
}

/* Category Containers on index.html */
.category-box {
    border-radius: 24px;
    padding: 24px 20px;
    margin-bottom: 24px;
    border: 1px solid transparent;
}
.category-box:last-child {
    margin-bottom: 0px;
}
.category-box.theme-test-box     { background: #f5f2ff; border-color: #e6e0ff; }
.category-box.theme-fortune-box  { background: #eef2ff; border-color: #dce4ff; }
.category-box.theme-match-box    { background: #fff0f3; border-color: #ffe0e9; }
.category-box.theme-office-box   { background: #fff4e6; border-color: #ffe3d1; }
.category-box.theme-random-box   { background: #ebfcf6; border-color: #cdfaec; }

/* Toast Notification */
#snack-toast {
    visibility: hidden;
    min-width: 250px;
    background-color: #2d3436;
    color: #fff;
    text-align: center;
    border-radius: 999px;
    padding: 16px;
    position: fixed;
    z-index: 9999;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 0.95rem;
    font-weight: 500;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
}

#snack-toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

/* ========================================
   T/F 레벨 테스트 & 공감능력 테스트 스타일
   ======================================== */

/* 인트로 카드 */
.tf-intro-card {
    background: var(--card-bg);
    padding: 40px 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-light);
    text-align: center;
}

.tf-intro-emoji {
    font-size: 3rem;
    margin-bottom: 16px;
    letter-spacing: 8px;
}

.tf-intro-card h2 {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--text-main);
}

.tf-intro-sub {
    font-size: 1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 24px;
}

.tf-intro-card .btn {
    margin-top: 24px;
    margin-bottom: 0;
}

.tf-intro-desc {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-top: 16px;
}

/* T/F 미리보기 바 */
.tf-intro-meter {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 0 12px;
}

.tf-intro-bar {
    flex: 1;
    height: 8px;
    background: linear-gradient(to right, #ff9ff3, #c0c0c0, #48dbfb);
    border-radius: 4px;
    position: relative;
}

.tf-intro-indicator {
    width: 16px;
    height: 16px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: indicatorBounce 2s infinite ease-in-out;
}

@keyframes indicatorBounce {
    0%, 100% { left: 30%; }
    50% { left: 70%; }
}

/* 공감능력 레벨 미리보기 */
.empathy-level-preview {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    background: #f8f7ff;
    border-radius: var(--border-radius-sm);
    margin-bottom: 8px;
}

.empathy-bar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 4px 0;
}

.empathy-bar-item span {
    font-size: 1.2rem;
}

/* 질문 카운터 */
.tf-question-counter {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
    letter-spacing: 1px;
}

/* 결과 카드 */
.tf-result-card {
    background: var(--card-bg);
    padding: 32px 24px;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--primary-light);
    margin-bottom: 24px;
    text-align: center;
    animation: slideUp 0.5s cubic-bezier(0.1, 0.8, 0.1, 1);
}

.tf-result-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 20px;
}

.tf-result-percent {
    font-size: 2.4rem;
    font-weight: 900;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.tf-result-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main);
}

.tf-result-desc {
    font-size: 0.92rem;
    color: var(--text-muted);
    line-height: 1.6;
    text-align: left;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

/* T/F 게이지 바 */
.tf-gauge-wrap {
    margin-bottom: 24px;
    padding: 0 4px;
}

.tf-gauge-bar {
    width: 100%;
    height: 14px;
    background: linear-gradient(to right, #ff9ff3 0%, #e0e0e0 50%, #48dbfb 100%);
    border-radius: 7px;
    overflow: hidden;
    position: relative;
    margin-bottom: 6px;
}

.tf-gauge-fill {
    height: 100%;
    width: 0%;
    background: rgba(0,0,0,0.15);
    border-right: 4px solid var(--primary-color);
    transition: width 1.2s cubic-bezier(0.1, 0.8, 0.1, 1);
    border-radius: 7px 0 0 7px;
}

.tf-gauge-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
}

/* 태그 */
.tf-result-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-start;
}

.tf-tag {
    background: var(--primary-light);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* 공감능력 레벨 배지 */
.empathy-level-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    margin-bottom: 16px;
}

.empathy-level-icon {
    font-size: 3.5rem;
    animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.empathy-level-text {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
}

/* 공감능력 스탯 바 */
.empathy-stat-bars {
    margin: 20px 0;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
}

.empathy-stat-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.empathy-stat-row:last-child {
    margin-bottom: 0;
}

.empathy-stat-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-main);
    min-width: 56px;
    text-align: right;
}

.empathy-stat-track {
    flex: 1;
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.empathy-stat-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 5px;
    transition: width 1s cubic-bezier(0.1, 0.8, 0.1, 1);
}

.empathy-stat-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 32px;
}

/* ========================================
   광고 슬롯
   ======================================== */
/* ========================================
   결과 반응 바 (좋아요/싫어요/공유수)
   ======================================== */
.result-reactions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 14px 0;
    margin: 20px 0 4px;
    border-top: 1px solid #f1f3f5;
}

.reaction-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: 1px solid #e9ecef;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
}

.reaction-btn:active {
    transform: scale(0.95);
}

.reaction-btn.active-like {
    border-color: #ff6b6b;
    color: #ff6b6b;
    background: #fff5f5;
}

.reaction-btn.active-dislike {
    border-color: #748ffc;
    color: #748ffc;
    background: #f3f5ff;
}

.reaction-btn .reaction-icon {
    font-size: 1.1rem;
}

.reaction-btn .reaction-count {
    font-weight: 700;
    min-width: 16px;
    text-align: center;
}

.reaction-share-count {
    font-size: 0.78rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.reaction-share-count .share-icon {
    font-size: 0.9rem;
}

.ad-slot {
    margin: 16px 20px;
    min-height: 90px;
    background: #f8f9fa;
    border: 1px dashed #dee2e6;
    border-radius: var(--border-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    color: #adb5bd;
    overflow: hidden;
}

.ad-slot-top {
    min-height: 60px;
    margin-bottom: 4px;
}

.ad-slot-bottom {
    min-height: 250px;
}

/* ========================================
   푸터
   ======================================== */
.app-footer {
    padding: 24px 20px 40px;
    text-align: center;
    font-size: 0.75rem;
    color: #b2bec3;
    border-top: 1px solid #f1f3f5;
    margin-top: 20px;
}

.app-footer a {
    color: #b2bec3;
    text-decoration: none;
    transition: color 0.2s;
}

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

.app-footer .footer-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 8px;
}

.app-footer .footer-copy {
    margin-top: 4px;
}

/* ========================================
   날씨 로딩 상태
   ======================================== */
.weather-loading {
    display: inline-block;
    width: 12px;
    height: 12px;
    border: 2px solid #dee2e6;
    border-top: 2px solid var(--primary-color);
    border-radius: 50%;
    animation: weatherSpin 0.8s linear infinite;
}

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

/* ========================================
   점심 슬롯 머신
   ======================================== */
.slot-display {
    font-size: 2.2rem;
    font-weight: 900;
    padding: 40px 20px;
    background: var(--card-bg);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
    margin-bottom: 20px;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s;
    border: 1px solid var(--primary-light);
}

.slot-display.blur {
    filter: blur(3px);
}

/* ========================================
   감정 컬러 테스트 결과 카드
   ======================================== */
.color-result-card {
    padding: 40px 24px;
    border-radius: var(--border-radius-lg);
    text-align: center;
    margin-bottom: 24px;
    animation: slideUp 0.5s cubic-bezier(0.1, 0.8, 0.1, 1);
    color: white;
    box-shadow: var(--shadow-md);
}

.color-hex-badge {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    backdrop-filter: blur(4px);
}

/* ========================================
   레이더 스탯 (전생 직업 등)
   ======================================== */
.radar-stat {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.radar-stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    min-width: 40px;
    text-align: right;
    color: var(--text-main);
}

.radar-stat-bar {
    flex: 1;
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
}

.radar-stat-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 5px;
    transition: width 1s cubic-bezier(0.1, 0.8, 0.1, 1);
}

.radar-stat-value {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 28px;
}

/* ========================================
   게이지 바 (범용)
   ======================================== */
.gauge-container {
    width: 100%;
    height: 18px;
    background: #e9ecef;
    border-radius: 9px;
    overflow: hidden;
    margin: 16px 0;
}

.gauge-bar-fill {
    height: 100%;
    background: var(--primary-gradient);
    border-radius: 9px;
    width: 0%;
    transition: width 1.5s cubic-bezier(0.1, 0.8, 0.1, 1);
}
