/* =====================================================
   StepMaster — shadcn/ui Design System (Vanilla CSS)
   ===================================================== */

/* ---------- 1. shadcn CSS Custom Properties ---------- */
:root {
    /* Semantic tokens (shadcn convention: HSL values without hsl()) */
    --background: 0 0% 100%;
    --foreground: 240 10% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 240 10% 3.9%;
    --popover: 0 0% 100%;
    --popover-foreground: 240 10% 3.9%;
    --primary: 240 5.9% 10%;
    --primary-foreground: 0 0% 98%;
    --secondary: 240 4.8% 95.9%;
    --secondary-foreground: 240 5.9% 10%;
    --muted: 240 4.8% 95.9%;
    --muted-foreground: 240 3.8% 46.1%;
    --accent: 240 4.8% 95.9%;
    --accent-foreground: 240 5.9% 10%;
    --destructive: 0 84.2% 60.2%;
    --destructive-foreground: 0 0% 98%;
    --border: 240 5.9% 90%;
    --input: 240 5.9% 90%;
    --ring: 240 5.9% 10%;
    --radius: 0.5rem;

    /* Brand (StepMaster yellow — kept as-is) */
    --brand: #FFD12A;
    --brand-foreground: #1a1a1a;
    --brand-hover: #f0c000;

    /* Legacy aliases (for compatibility with existing HTML references) */
    --color-primary-blue: hsl(var(--primary));
    --color-accent-yellow: var(--brand);
    --color-dark-grey: hsl(var(--foreground));
    --color-light-grey: hsl(var(--muted));
    --color-white: #ffffff;
    --color-red-alert: hsl(var(--destructive));
    --color-green-success: #16a34a;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after {
    box-sizing: border-box;
    border-color: hsl(var(--border));
}

html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 400;
    font-size: 1rem;
    line-height: 1.6;
    background-color: hsl(var(--background));
    color: hsl(var(--foreground));
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-weight: 700;
    letter-spacing: -0.025em;
    line-height: 1.2;
}

/* ---------- 3. Page System ---------- */
.page { display: none; }
.page.active { display: block; }

/* ---------- 4. Navigation (shadcn sticky header) ---------- */
#main-nav {
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid hsl(var(--border));
    box-shadow: none;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: hsl(var(--muted-foreground));
    transition: color 0.15s ease;
    text-decoration: none;
}
.nav-link:hover {
    color: hsl(var(--foreground));
}

/* Nav dropdown refinement */
#main-nav .absolute.bg-white {
    background-color: hsl(var(--popover));
    border: 1px solid hsl(var(--border));
    border-radius: var(--radius);
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
}
#main-nav .absolute.bg-white a:hover {
    background-color: hsl(var(--accent));
    color: hsl(var(--accent-foreground));
}

/* ---------- 5. Hero Section ---------- */
.hero-bg {
    position: relative;
    overflow: hidden;
    background-image:
        linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.65) 100%),
        url('https://metamotion.io/stepmaster/wp-content/uploads/2025/07/ComfyUI_00220_-low.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 52vh;
    display: flex;
    align-items: center;
}

.hero-bg h1 {
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    border: 1px solid rgba(255,255,255,0.3);
    background-color: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.25rem;
}
.hero-badge .dot {
    width: 6px; height: 6px;
    border-radius: 9999px;
    background-color: var(--brand);
    display: inline-block;
}

.hero-content { position: relative; z-index: 1; }

/* ---------- 6. Buttons (shadcn Button) ---------- */

/* Primary — solid dark (shadcn default) */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    border: none;
    cursor: pointer;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    box-shadow: 0 1px 2px rgba(0,0,0,0.08);
    white-space: nowrap;
}
.btn-primary:hover {
    background-color: hsl(240 5.9% 20%);
    box-shadow: 0 4px 8px rgba(0,0,0,0.12);
    transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); }
.btn-primary:focus-visible {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

/* Brand CTA variant — yellow */
.btn-brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 0.875rem;
    padding: 0.625rem 1.5rem;
    border-radius: var(--radius);
    background-color: var(--brand);
    color: var(--brand-foreground);
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.1s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.btn-brand:hover {
    background-color: var(--brand-hover);
    transform: translateY(-1px);
}

/* Hero White button */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-weight: 700;
    font-size: 0.9375rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    background-color: #ffffff;
    color: #111111;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.btn-hero-primary:hover {
    background-color: hsl(var(--secondary));
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

/* Hero Outline button */
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius);
    background-color: transparent;
    color: hsl(var(--foreground));
    border: 1px solid hsl(var(--border));
    cursor: pointer;
    text-decoration: none;
    letter-spacing: -0.01em;
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn-secondary:hover {
    background-color: hsl(var(--accent));
    border-color: hsl(var(--muted-foreground));
    transform: translateY(-1px);
}
.btn-secondary:focus-visible {
    outline: 2px solid hsl(var(--ring));
    outline-offset: 2px;
}

/* Hero Outline (white border, on dark background) */
.btn-hero-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-weight: 600;
    font-size: 0.9375rem;
    padding: 0.75rem 1.75rem;
    border-radius: var(--radius);
    background-color: rgba(255,255,255,0.1);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.5);
    cursor: pointer;
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn-hero-outline:hover {
    background-color: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.8);
    transform: translateY(-1px);
}

/* Ghost text link */
.btn-text-link {
    display: inline-flex;
    align-items: center;
    font-family: 'Inter', 'Noto Sans KR', sans-serif;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.625rem 0.75rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    transition: color 0.15s ease;
    cursor: pointer;
    border-radius: var(--radius);
    background: transparent;
    border: none;
}
.btn-text-link:hover { color: #ffffff; text-decoration: underline; }

/* ---------- 7. Cards (shadcn Card) ---------- */
.card-style {
    background-color: hsl(var(--card));
    color: hsl(var(--card-foreground));
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) + 4px);
    box-shadow: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    overflow: hidden;
    padding: 0;
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity 0.4s ease,
        transform 0.4s ease,
        box-shadow 0.2s ease,
        border-color 0.2s ease;
}
.card-style.card-visible {
    opacity: 1;
    transform: translateY(0);
}
.card-style:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.08), 0 2px 6px rgba(0,0,0,0.05);
    border-color: hsl(var(--muted-foreground) / 0.3);
    transform: translateY(-2px);
}
.card-style:hover .card-image-container img {
    transform: scale(1.03);
}

/* Staggered entrance */
.card-style:nth-child(1) { transition-delay: 0.05s; }
.card-style:nth-child(2) { transition-delay: 0.1s; }
.card-style:nth-child(3) { transition-delay: 0.15s; }
.card-style:nth-child(4) { transition-delay: 0.05s; }
.card-style:nth-child(5) { transition-delay: 0.1s; }
.card-style:nth-child(6) { transition-delay: 0.15s; }

/* Card image container */
.card-image-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: calc(var(--radius) + 4px) calc(var(--radius) + 4px) 0 0;
    background: linear-gradient(135deg, hsl(var(--muted)) 0%, hsl(var(--secondary)) 100%);
}
.card-image-container img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Card body */
.card-content { padding: 1.25rem 1.5rem 1.5rem; }
.card-title {
    font-size: 1.0625rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: hsl(var(--foreground));
    margin-bottom: 0.5rem;
    line-height: 1.4;
}
.card-description {
    font-size: 0.8125rem;
    color: hsl(var(--muted-foreground));
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.card-description p { margin-bottom: 0.2rem; }
.card-description p:last-child { margin-bottom: 0; }
.card-cta { margin-top: 1rem; }
.card-cta .btn-primary,
.card-cta .btn-brand {
    width: 100%;
    justify-content: center;
}

/* ---------- 8. Section Headings ---------- */
.section-label {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: hsl(var(--muted-foreground));
    margin-bottom: 0.75rem;
}
.section-title {
    font-size: clamp(1.625rem, 4vw, 2.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: hsl(var(--foreground));
    line-height: 1.15;
}
.section-subtitle {
    font-size: 1rem;
    color: hsl(var(--muted-foreground));
    margin-top: 0.75rem;
    max-width: 36rem;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.65;
}

/* ---------- 9. Why Features / Comparison Cards ---------- */
.comparison-item {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.45s ease, transform 0.45s ease;
}
.comparison-item.visible {
    opacity: 1;
    transform: translateY(0);
}
.comparison-item:nth-child(1) { transition-delay: 0.05s; }
.comparison-item:nth-child(2) { transition-delay: 0.1s; }
.comparison-item:nth-child(3) { transition-delay: 0.15s; }
.comparison-item:nth-child(4) { transition-delay: 0.2s; }
.comparison-item:nth-child(5) { transition-delay: 0.25s; }
.comparison-item:nth-child(6) { transition-delay: 0.3s; }

.why-card {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    border-radius: calc(var(--radius) + 4px);
    overflow: hidden;
    transition: box-shadow 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.why-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    border-color: hsl(var(--muted-foreground) / 0.25);
    transform: translateY(-3px);
}
.why-card .card-inner-vertical {
    display: flex;
    flex-direction: column;
}
.why-card .image-container {
    width: 100%;
    background-color: hsl(var(--muted));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}
.why-card .feature-image {
    width: 72px;
    height: 72px;
    object-fit: contain;
    display: block;
    filter: grayscale(15%);
    transition: filter 0.2s ease, transform 0.2s ease;
}
.why-card:hover .feature-image {
    filter: grayscale(0%);
    transform: scale(1.08);
}
.why-card .title-container {
    padding: 1rem 1.25rem 1.25rem;
    text-align: center;
    border-top: 1px solid hsl(var(--border));
}
.why-card .feature-title-only {
    font-size: 0.9375rem;
    font-weight: 600;
    color: hsl(var(--foreground));
    margin: 0;
    letter-spacing: -0.01em;
}

/* ---------- 10. Auth Modal (shadcn Dialog) ---------- */
#auth-modal {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}
#auth-modal > div {
    border-radius: calc(var(--radius) + 4px) !important;
    border: 1px solid hsl(var(--border));
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 8px 24px rgba(0,0,0,0.08);
}

/* ---------- 11. Discount Code ---------- */
.discount-code-box {
    background-color: hsl(var(--card));
    border: 2px dashed hsl(var(--border));
    padding: 2rem 2.5rem;
    border-radius: calc(var(--radius) + 4px);
    display: inline-block;
    font-size: 2.5rem;
    font-weight: 800;
    color: hsl(var(--primary));
    letter-spacing: 4px;
    cursor: copy;
    user-select: all;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.discount-code-box:hover {
    border-color: hsl(var(--muted-foreground) / 0.4);
    box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}
.discount-code-box:active {
    transform: scale(0.98);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ---------- 12. Hero Background on Content Pages ---------- */
.hero-bg-page-header {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 1.5rem 1rem;
}

/* ---------- 13. Content Page Specific ---------- */
.module-teaser {
    position: relative;
    width: 100%;
    padding-top: 75%;
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    background-color: hsl(var(--muted));
}
.taekwondo-teaser-bg { background-color: #1e3a5f; }
.yoga-teaser-bg { background-color: #3d2b1f; }
.taichi-teaser-bg { background-color: #1a3a2a; }
.dance-teaser-bg { background-color: #2d1b4e; }
.sports-teaser-bg { background-color: #1a2f3a; }
.other-teaser-bg { background-color: #2a1f3a; }

/* Poomsae video placeholder */
.video-placeholder {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background-color: #0a0a0a;
    border-radius: calc(var(--radius) + 2px);
    overflow: hidden;
    background-size: cover;
    background-position: center;
}
.video-placeholder::before {
    content: '▶';
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3.5rem;
    color: rgba(255,255,255,0.8);
    z-index: 10;
    transition: color 0.15s ease, transform 0.15s ease;
}
.video-placeholder:hover::before {
    color: #fff;
    transform: translate(-50%, -50%) scale(1.08);
}
.poomsae-1-bg { background-image: url('https://metamotion.io/stepmaster/wp-content/uploads/2025/07/small_TK1_2560X1440.jpg'); }
.poomsae-2-bg { background-image: url('https://metamotion.io/stepmaster/wp-content/uploads/2025/07/small_TK2_2560X1440.jpg'); }
.poomsae-3-bg { background-image: url('https://metamotion.io/stepmaster/wp-content/uploads/2025/07/small_TK3_2560X1440.jpg'); }
.poomsae-4-bg { background-image: url('https://metamotion.io/stepmaster/wp-content/uploads/2025/07/small_TK4_2560X1440.jpg'); }
.poomsae-5-bg { background-image: url('https://metamotion.io/stepmaster/wp-content/uploads/2025/07/small_TK5_2560X1440.jpg'); }
.poomsae-6-bg { background-image: url('https://metamotion.io/stepmaster/wp-content/uploads/2025/07/small_TK6_2560X1440.jpg'); }
.poomsae-7-bg { background-image: url('https://metamotion.io/stepmaster/wp-content/uploads/2025/07/small_TK7_2560X1440.jpg'); }
.poomsae-8-bg { background-image: url('https://metamotion.io/stepmaster/wp-content/uploads/2025/07/small_TK8_2560X1440.jpg'); }

/* ---------- 14. Custom Alert ---------- */
.custom-alert-overlay {
    position: fixed; inset: 0;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}
.custom-alert-box {
    background-color: hsl(var(--card));
    border: 1px solid hsl(var(--border));
    padding: 1.5rem;
    border-radius: calc(var(--radius) + 4px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
    text-align: center;
    max-width: 320px;
    width: 90%;
}
.custom-alert-box button {
    background-color: hsl(var(--primary));
    color: hsl(var(--primary-foreground));
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius);
    margin-top: 1rem;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.875rem;
    border: none;
    transition: background-color 0.15s ease;
}
.custom-alert-box button:hover {
    background-color: hsl(240 5.9% 20%);
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 768px) {
    .hero-bg {
        background-attachment: scroll !important;
        min-height: 60vh;
    }
    #reel-video-2 { padding: 2rem 0; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =====================================================
   Meta Quest 연동 섹션 스타일 (TASK 02)
   ===================================================== */

/* Meta 연동 배너 */
.meta-link-banner {
    background: linear-gradient(135deg, #e8f4fd 0%, #dbeafe 100%);
    border: 1px solid #93c5fd;
    border-radius: 12px;
    padding: 20px 24px;
}

/* 구매 아이템 카드 */
.purchase-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.purchase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.purchase-card-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
}
.purchase-card-body {
    padding: 12px;
}
.purchase-card-title {
    font-weight: 700;
    font-size: 14px;
    color: #111827;
    margin-bottom: 2px;
}
.purchase-card-desc {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 6px;
}
.purchase-card-date {
    font-size: 11px;
    color: #9ca3af;
    margin-bottom: 6px;
}

/* 보유중 뱃지 */
.badge-owned {
    background: #d1fae5;
    color: #065f46;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 99px;
    display: inline-block;
}

/* 프로모 뱃지 */
.badge-promo {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.badge-new { background: #dbeafe; color: #1e40af; }
.badge-best { background: #fef3c7; color: #92400e; }

/* 추천 카드 이미지 placeholder */
.card-img-placeholder {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 32px;
}

/* 추천 카드 */
.rec-card {
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e7eb;
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.rec-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}
.rec-card-body {
    padding: 12px;
}
.rec-card-title { font-weight: 700; font-size: 14px; color: #111827; margin-bottom: 2px; }
.rec-card-desc  { font-size: 12px; color: #6b7280; margin-bottom: 6px; }
.rec-card-price { font-size: 13px; font-weight: 700; color: #4f46e5; margin-bottom: 8px; }
.rec-card-btn {
    display: block;
    width: 100%;
    padding: 8px;
    text-align: center;
    background: #111827;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.15s;
}
.rec-card-btn:hover { background: #374151; }

/* 프로모션 배너 */
.promo-banner {
    border-radius: 12px;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    color: white;
}

/* 동기화 스피너 */
.sync-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #e5e7eb;
    border-top-color: #6366f1;
    border-radius: 50%;
    animation: meta-spin 0.6s linear infinite;
}
@keyframes meta-spin {
    to { transform: rotate(360deg); }
}
