/**
 * style.css - 영어회화 단어장 메인 스타일시트
 * 위치: /assets/css/style.css
 * Color Scheme: Cosmic (우주적 컬러 스킴)
 * Design Reference: Shopify-style merchant tools
 */

/* ========== CSS 변수 (Cosmic Theme) ========== */
:root {
    /* Primary Cosmic Colors */
    --primary: #667eea;
    --primary-dark: #5a67d8;
    --primary-light: #818cf8;
    --secondary: #764ba2;
    --secondary-dark: #6b3fa0;
    --accent: #f093fb;
    --accent-glow: rgba(240, 147, 251, 0.5);

    /* Cosmic Gradient */
    --gradient-cosmic: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-aurora: linear-gradient(135deg, #f093fb 0%, #f5576c 50%, #667eea 100%);
    --gradient-nebula: linear-gradient(180deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
    --gradient-galaxy: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);

    /* Background Colors */
    --bg-dark: #0f0c29;
    --bg-medium: #1a1a2e;
    --bg-light: #16213e;
    --bg-card: rgba(26, 26, 46, 0.95);
    --bg-glass: rgba(255, 255, 255, 0.08);

    /* Text Colors */
    --text-white: #ffffff;
    --text-light: #e2e8f0;
    --text-gray: #94a3b8;
    --text-muted: #64748b;

    /* Glow Effects */
    --glow-primary: rgba(102, 126, 234, 0.5);
    --glow-secondary: rgba(118, 75, 162, 0.5);
    --glow-accent: rgba(240, 147, 251, 0.5);

    /* Status Colors */
    --success: #10b981;
    --success-glow: rgba(16, 185, 129, 0.5);
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #3b82f6;

    /* Shopify Green (Reference) */
    --shopify-green: #03C75A;

    /* Layout */
    --container-max: 1400px;
    --header-height: 80px;
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --border-radius-lg: 24px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 40px var(--glow-primary);
}

/* ========== 리셋 & 기본 스타일 ========== */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-light);
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

ul, ol {
    list-style: none;
}

/* ========== 유틸리티 클래스 ========== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ========== 파티클 캔버스 배경 ========== */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0.25;
}

/* ========== 헤더 ========== */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background: rgba(15, 12, 41, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(102, 126, 234, 0.2);
    z-index: 1000;
    transition: all var(--transition-normal);
}

.site-header.scrolled {
    background: rgba(15, 12, 41, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

/* 로고 */
.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1001;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--gradient-cosmic);
    border-radius: 12px;
    box-shadow: 0 4px 20px var(--glow-primary);
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2) 0%, transparent 50%);
}

.logo-letter {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 14px;
    color: var(--text-white);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    color: var(--text-white);
    white-space: nowrap;
}

/* 메인 네비게이션 */
.main-nav {
    display: flex;
    align-items: center;
    gap: 40px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-item {
    position: relative;
}

.nav-item > a {
    display: block;
    padding: 12px 20px;
    font-weight: 500;
    font-size: 15px;
    color: var(--text-light);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.nav-item > a:hover,
.nav-item.active > a {
    color: var(--text-white);
    background: rgba(102, 126, 234, 0.15);
}

.nav-item.active > a {
    color: var(--primary-light);
}

/* 드롭다운 메뉴 */
.has-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(26, 26, 46, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--border-radius);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

.has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 12px 16px;
    font-size: 14px;
    color: var(--text-gray);
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.dropdown-menu li a:hover {
    color: var(--text-white);
    background: rgba(102, 126, 234, 0.15);
    padding-left: 20px;
}

/* 인증 버튼 */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-auth {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--border-radius-sm);
    transition: all var(--transition-fast);
}

.btn-login {
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.2);
}

.btn-login:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary-light);
    color: var(--text-white);
}

.btn-register {
    background: var(--gradient-cosmic);
    color: var(--text-white);
    box-shadow: 0 4px 20px var(--glow-primary);
}

.btn-register:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--glow-primary);
}

.btn-mypage {
    color: var(--text-white);
    background: rgba(102, 126, 234, 0.2);
    border: 1px solid rgba(102, 126, 234, 0.3);
}

.user-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: var(--gradient-cosmic);
    border-radius: 50%;
    font-size: 12px;
    font-weight: 700;
}

.btn-logout {
    color: var(--text-gray);
    font-size: 13px;
    padding: 8px 16px;
}

.btn-logout:hover {
    color: var(--error);
}

/* 모바일 메뉴 버튼 */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    gap: 6px;
    z-index: 1001;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-white);
    border-radius: 2px;
    transition: all var(--transition-fast);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* 모바일 오버레이 */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
    transition: all var(--transition-normal);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ========== 메인 컨텐츠 ========== */
.site-main {
    position: relative;
    z-index: 1;
    min-height: calc(100vh - var(--header-height));
    padding-top: var(--header-height);
}

/* ========== 섹션 공통 스타일 ========== */
.section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(102, 126, 234, 0.15);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-light);
    margin-bottom: 20px;
}

.section-badge svg {
    width: 16px;
    height: 16px;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.section-title span {
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-desc {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========== 버튼 스타일 ========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--border-radius);
    transition: all var(--transition-normal);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-cosmic);
    color: var(--text-white);
    box-shadow: 0 8px 30px var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px var(--glow-primary);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--primary-light);
}

.btn-lg {
    padding: 20px 48px;
    font-size: 18px;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-icon {
    width: 20px;
    height: 20px;
}

/* ========== 카드 스타일 ========== */
.card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(102, 126, 234, 0.2);
    border-radius: var(--border-radius-lg);
    padding: 32px;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(102, 126, 234, 0.3);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.2);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    background: var(--gradient-cosmic);
    border-radius: var(--border-radius);
    margin-bottom: 24px;
    font-size: 28px;
    box-shadow: 0 8px 30px var(--glow-primary);
}

.card-title {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 12px;
}

.card-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
}

/* ========== 입력 필드 스타일 ========== */
.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    font-size: 16px;
    color: var(--text-white);
    transition: all var(--transition-fast);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.1);
    box-shadow: 0 0 0 4px var(--glow-primary);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* ========== 푸터 ========== */
.site-footer {
    position: relative;
    background: var(--bg-medium);
    border-top: 1px solid rgba(102, 126, 234, 0.1);
    z-index: 1;
    overflow: hidden;
}

.footer-particles {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center bottom, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    padding: 80px 0 60px;
}

.footer-brand {
    max-width: 320px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-desc {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-gray);
    transition: all var(--transition-fast);
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.social-link:hover {
    background: var(--gradient-cosmic);
    border-color: transparent;
    color: var(--text-white);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px var(--glow-primary);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
}

.footer-col h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    font-size: 14px;
    color: var(--text-gray);
    transition: all var(--transition-fast);
}

.footer-col ul li a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px 0;
    text-align: center;
}

.copyright {
    font-size: 14px;
    color: var(--text-gray);
    margin-bottom: 8px;
}

.footer-info {
    font-size: 13px;
    color: var(--text-muted);
}

/* ========== 슬라이더 기본 스타일 ========== */
.slider-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
}

.slider-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    flex: 0 0 100%;
    position: relative;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-white);
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10;
}

.slider-nav:hover {
    background: var(--gradient-cosmic);
    box-shadow: 0 8px 30px var(--glow-primary);
}

.slider-nav.prev {
    left: 20px;
}

.slider-nav.next {
    right: 20px;
}

.slider-nav svg {
    width: 24px;
    height: 24px;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 24px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.slider-dot.active {
    background: var(--primary);
    box-shadow: 0 0 20px var(--glow-primary);
}

.slider-dot:hover {
    background: var(--primary-light);
}

/* ========== 게임 관련 스타일 ========== */
.game-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 24px;
}

.game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding: 24px;
    background: var(--bg-card);
    border-radius: var(--border-radius);
    border: 1px solid rgba(102, 126, 234, 0.2);
}

.game-info {
    display: flex;
    gap: 40px;
}

.game-stat {
    text-align: center;
}

.game-stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-white);
    font-family: 'Poppins', sans-serif;
}

.game-stat-value.timer {
    color: var(--warning);
}

.game-stat-value.score {
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.game-stat-label {
    font-size: 13px;
    color: var(--text-gray);
    margin-top: 4px;
}

.game-progress {
    flex: 1;
    max-width: 300px;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-cosmic);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.game-card {
    background: var(--bg-card);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(102, 126, 234, 0.25);
    border-radius: var(--border-radius-lg);
    padding: 60px 40px;
    text-align: center;
    margin-bottom: 40px;
}

.game-word {
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 16px;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -1px;
}

.game-hint {
    font-size: 16px;
    color: var(--text-gray);
}

.game-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.game-option {
    padding: 24px;
    background: var(--bg-card);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    font-size: 18px;
    font-weight: 600;
    color: var(--text-white);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.game-option:hover {
    border-color: var(--primary);
    background: rgba(102, 126, 234, 0.1);
    transform: translateY(-2px);
}

.game-option.correct {
    border-color: var(--success);
    background: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.game-option.wrong {
    border-color: var(--error);
    background: rgba(239, 68, 68, 0.2);
    color: var(--error);
}

/* 랭킹 테이블 */
.ranking-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.ranking-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.ranking-table td {
    padding: 20px;
    background: var(--bg-card);
    color: var(--text-white);
    font-size: 15px;
}

.ranking-table tr td:first-child {
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.ranking-table tr td:last-child {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.ranking-table tbody tr {
    transition: all var(--transition-fast);
}

.ranking-table tbody tr:hover td {
    background: rgba(102, 126, 234, 0.1);
}

.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-weight: 800;
    font-size: 14px;
}

.rank-badge.gold {
    background: linear-gradient(135deg, #ffd700, #ffb800);
    color: #000;
}

.rank-badge.silver {
    background: linear-gradient(135deg, #c0c0c0, #a8a8a8);
    color: #000;
}

.rank-badge.bronze {
    background: linear-gradient(135deg, #cd7f32, #b8650a);
    color: #fff;
}

.rank-badge.default {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-gray);
}

/* ========== 페이지 히어로 섹션 ========== */
.page-hero {
    padding: 80px 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
}

.page-hero h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    color: var(--text-white);
    margin-bottom: 20px;
}

.page-hero p {
    font-size: 18px;
    color: var(--text-gray);
    max-width: 600px;
    margin: 0 auto;
}

/* ========== 알림/토스트 ========== */
.toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    padding: 16px 24px;
    background: var(--bg-card);
    border: 1px solid rgba(102, 126, 234, 0.3);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateY(100px);
    opacity: 0;
    transition: all var(--transition-normal);
    z-index: 9999;
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast.success {
    border-color: var(--success);
}

.toast.error {
    border-color: var(--error);
}

.toast-icon {
    font-size: 24px;
}

.toast-message {
    font-size: 15px;
    color: var(--text-white);
}

/* ========== 로딩 스피너 ========== */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid rgba(102, 126, 234, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* ========== 스크롤바 커스텀 ========== */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* ========== 선택 하이라이트 ========== */
::selection {
    background: var(--primary);
    color: var(--text-white);
}
