/* ═══════════════════════════════════════════════════════════
   주소요정 — Main Stylesheet
   Light address collection guide design
   ═══════════════════════════════════════════════════════════ */

/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ── CSS Variables ── */
:root {
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-glass: rgba(255, 255, 255, 0.04);
    --bg-glass-hover: rgba(255, 255, 255, 0.08);
    --border: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(0, 229, 160, 0.3);

    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --accent: #00e5a0;
    --accent-dim: rgba(0, 229, 160, 0.15);
    --accent-cyan: #00d4ff;
    --accent-purple: #a855f7;
    --accent-rose: #f43f5e;
    --accent-amber: #f59e0b;

    --star-filled: #fbbf24;
    --star-empty: #374151;

    --vote-up: #22c55e;
    --vote-down: #ef4444;

    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-glow: 0 0 30px rgba(0, 229, 160, 0.1);

    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --max-w: 1280px;
    --header-h: 72px;
}

/* ── Reset ── */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.25s ease;
}

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

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

input,
textarea,
select {
    font-family: inherit;
}

/* ── Background Gradient ── */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse 600px 400px at 10% 20%, rgba(0, 229, 160, 0.06), transparent),
        radial-gradient(ellipse 500px 500px at 80% 10%, rgba(0, 212, 255, 0.04), transparent),
        radial-gradient(ellipse 400px 400px at 50% 80%, rgba(168, 85, 247, 0.03), transparent);
    z-index: -1;
    pointer-events: none;
}

/* ── Layout ── */
.wrap {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 24px;
}

/* ══════════════ HEADER ══════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.3rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent), var(--accent-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #000;
    font-weight: 900;
}

.logo-text {
    color: var(--text-primary);
}

.logo-text span {
    color: var(--accent);
}

/* Navigation */
.nav-main {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-main a {
    padding: 8px 14px;
    border-radius: var(--radius-xs);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.nav-main a:hover,
.nav-main a.active {
    color: var(--accent);
    background: var(--accent-dim);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    padding: 8px;
    cursor: pointer;
}

.menu-toggle svg {
    width: 28px;
    height: 28px;
}

/* Category dropdown */
.cat-dropdown {
    position: relative;
}

.cat-dropdown-btn {
    padding: 8px 14px;
    border-radius: var(--radius-xs);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.cat-dropdown-btn:hover {
    color: var(--accent);
    background: var(--accent-dim);
}

.cat-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px;
    min-width: 220px;
    display: none;
    z-index: 100;
    box-shadow: var(--shadow);
}

.cat-dropdown-menu.show {
    display: block;
}

.cat-dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-xs);
    font-size: 0.88rem;
    color: var(--text-secondary);
}

.cat-dropdown-menu a:hover {
    background: var(--accent-dim);
    color: var(--accent);
}

.cat-icon {
    font-size: 1.1rem;
    width: 24px;
    text-align: center;
}

/* Search bar in header */
.header-search {
    display: flex;
    align-items: center;
    position: relative;
}

.header-search input {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 8px 16px 8px 40px;
    color: var(--text-primary);
    font-size: 0.88rem;
    width: 240px;
    outline: none;
    transition: all 0.3s;
}

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

.header-search input:focus {
    border-color: var(--accent);
    width: 300px;
    box-shadow: 0 0 20px rgba(0, 229, 160, 0.1);
}

.header-search svg {
    position: absolute;
    left: 14px;
    color: var(--text-muted);
    width: 16px;
    height: 16px;
    pointer-events: none;
}

/* ══════════════ HERO SECTION ══════════════ */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 229, 160, 0.08), transparent 70%);
    pointer-events: none;
}

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

.hero-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 440px);
    gap: 34px;
    align-items: center;
    text-align: left;
}

.hero-copy {
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 24px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 20px;
    border: 1px solid rgba(0, 229, 160, 0.2);
}

.hero-badge .pulse {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.5);
    }
}

.hero h1 {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 16px;
    letter-spacing: -1px;
    background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent) 70%, var(--accent-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 580px;
    margin: 0 auto 32px;
}

.hero-copy p {
    margin: 0 0 32px;
}

.hero-search {
    max-width: 560px;
    margin: 0 auto;
    position: relative;
}

.hero-search input {
    width: 100%;
    padding: 18px 24px 18px 52px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 16px;
    font-size: 1.05rem;
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s;
}

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

.hero-search input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 40px rgba(0, 229, 160, 0.12);
}

.hero-search svg {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

.hero-search button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(135deg, var(--accent), #00c98a);
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 12px 24px;
    border-radius: 12px;
    transition: all 0.2s;
}

.hero-search button:hover {
    transform: translateY(-50%) scale(1.03);
}

.hero-copy .hero-search {
    margin: 0;
}

.hero-video-panel {
    margin: 0;
    padding: 14px;
    max-width: 460px;
    border: 1px solid rgba(0, 229, 160, 0.18);
    border-radius: 22px;
    background: linear-gradient(145deg, rgba(16, 24, 39, 0.92), rgba(10, 14, 23, 0.72));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.hero-video-frame {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    background: #05080d;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #05080d;
}

.hero-video-panel figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 4px 2px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.55;
}

.hero-video-panel figcaption strong {
    color: var(--text-primary);
    font-size: 1rem;
}

/* ══════════════ SECTIONS ══════════════ */
.section {
    padding: 48px 0;
}

.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title .icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    background: var(--accent-dim);
}

.section-more {
    font-size: 0.88rem;
    color: var(--accent);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.section-more:hover {
    gap: 8px;
}

/* ══════════════ CARDS (갤러리형 리스트) ══════════════ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 28px;
    /* 카드가 너무 붙지 않게 간격 넓힘 */
}

.review-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.review-item-wrap:hover .card-thumb img,
.review-item-wrap:hover .card-thumb video {
    transform: scale(1.05);
}

.review-item-wrap:hover .review-card {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

.card-thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-secondary);
}

.card-thumb img,
.card-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
}

.card-thumb video {
    background: var(--bg-secondary);
}

.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.6);
    color: var(--accent);
    backdrop-filter: blur(8px);
}

.card-trusted {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 8px;
    border-radius: var(--radius-xs);
    background: rgba(0, 229, 160, 0.2);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    border: 1px solid rgba(0, 229, 160, 0.3);
}

.card-body {
    padding: 10px 10px 10px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-name {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 5px 5px 0px 10px;
}

.card-excerpt {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0px 5px 0px 10px;
}

.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}

.card-meta .stars {
    font-size: 0.82rem;
}

/* ══════════════ STARS ══════════════ */
.stars {
    display: inline-flex;
    align-items: center;
    gap: 1px;
}

.star {
    color: var(--star-empty);
    font-size: 1rem;
    line-height: 1;
}

.star.filled {
    color: var(--star-filled);
}

.star.half {
    background: linear-gradient(90deg, var(--star-filled) 50%, var(--star-empty) 50%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stars-lg .star {
    font-size: 1.5rem;
}

.rating-num {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent);
    margin-left: 6px;
}

/* ══════════════ VOTE BUTTONS ══════════════ */
.vote-box {
    display: flex;
    gap: 12px;
}

.vote-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: var(--radius-xs);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all 0.2s;
}

.vote-btn:hover {
    background: var(--bg-glass-hover);
}

.vote-up:hover,
.vote-up.active {
    border-color: var(--vote-up);
    color: var(--vote-up);
}

.vote-down:hover,
.vote-down.active {
    border-color: var(--vote-down);
    color: var(--vote-down);
}

.vote-btn svg {
    width: 18px;
    height: 18px;
}

.vote-btn.voted {
    pointer-events: none;
    opacity: 0.7;
}

@keyframes vote-pop {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.vote-btn.pop {
    animation: vote-pop 0.3s ease;
}

/* ══════════════ REVIEW DETAIL ══════════════ */
.review-detail {
    padding: 40px 0 60px;
}

.review-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.review-image {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    aspect-ratio: 16/10;
}

.review-image img,
.review-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.review-category-tabs {
    display: flex;
    gap: 8px;
    margin: 0 0 24px;
    padding: 0 0 4px;
    overflow-x: auto;
    scrollbar-width: thin;
}

.review-category-tabs a {
    flex: 0 0 auto;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-secondary);
    font-size: 0.84rem;
    font-weight: 700;
    background: var(--bg-glass);
}

.review-category-tabs a:hover,
.review-category-tabs a.active {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.review-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.review-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--radius-xs);
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.78rem;
    font-weight: 600;
    margin-bottom: 12px;
    width: fit-content;
}

.review-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.review-rating-wrap {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
    padding: 16px;
    background: var(--bg-glass);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
}

.review-rating-big {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--accent);
}

.review-excerpt {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.review-url {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--accent), #00c98a);
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
    margin-bottom: 16px;
}

.review-url:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 20px rgba(0, 229, 160, 0.3);
}

.review-content {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    line-height: 1.8;
    font-size: 1rem;
}

.review-content h2,
.review-content h3 {
    color: var(--accent);
    margin: 24px 0 12px;
}

.review-content p {
    margin-bottom: 16px;
}

.review-content img {
    display: block;
    width: min(100%, 680px);
    height: auto;
    border-radius: var(--radius-sm);
    margin: 18px auto;
}

.magazine-card {
    text-decoration: none;
}

.magazine-article-hero {
    padding: 56px 0 24px;
    background:
        linear-gradient(135deg, rgba(34, 197, 168, 0.11), rgba(248, 113, 113, 0.08)),
        var(--bg-primary);
}

.magazine-article-hero h1 {
    max-width: 880px;
    margin: 14px 0;
    font-size: clamp(2rem, 4vw, 3.35rem);
    line-height: 1.18;
}

.magazine-article-hero p {
    max-width: 780px;
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.75;
}

.magazine-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.magazine-meta span {
    padding: 6px 10px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.03);
}

.magazine-cover {
    margin: 28px 0 32px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--bg-secondary);
}

.magazine-cover img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.magazine-layout {
    display: grid;
    grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
    gap: 28px;
    align-items: start;
    padding-bottom: 56px;
}

.magazine-toc {
    position: sticky;
    top: calc(var(--header-h) + 20px);
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-glass);
}

.magazine-toc strong {
    color: var(--text-primary);
    margin-bottom: 4px;
}

.magazine-toc a {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.45;
}

.magazine-toc a:hover {
    color: var(--accent);
}

.magazine-prose {
    max-width: 860px;
}

.magazine-prose .lead {
    color: var(--text-primary);
    font-size: 1.08rem;
    border-left: 3px solid var(--accent);
    padding-left: 16px;
}

.magazine-inline-image {
    margin: 24px 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
}

.magazine-inline-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.magazine-inline-image figcaption {
    padding: 10px 14px;
    color: var(--text-muted);
    font-size: 0.88rem;
    text-align: center;
}

.magazine-table-wrap {
    margin: 24px 0;
    overflow-x: auto;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
}

.magazine-compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 680px;
    background: rgba(255, 255, 255, 0.03);
}

.magazine-compare-table th,
.magazine-compare-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    vertical-align: top;
    line-height: 1.6;
}

.magazine-compare-table th {
    color: var(--text-primary);
    background: rgba(34, 197, 168, 0.12);
    font-weight: 800;
}

.magazine-compare-table td:first-child {
    color: var(--accent);
    font-weight: 700;
    white-space: nowrap;
}

.magazine-compare-table tr:last-child td {
    border-bottom: 0;
}

.magazine-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 22px 0;
}

.magazine-check-item {
    display: flex;
    gap: 10px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    background: rgba(255, 255, 255, 0.035);
}

.magazine-check-item span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    background: rgba(34, 197, 168, 0.18);
    color: var(--accent);
    font-weight: 800;
}

.magazine-check-item p {
    margin: 0;
}

.magazine-note {
    margin: 24px 0;
    padding: 16px 18px;
    border-left: 4px solid var(--accent);
    border-radius: var(--radius-xs);
    background: rgba(34, 197, 168, 0.08);
    color: var(--text-secondary);
    line-height: 1.7;
}

.home-about-image {
    margin: 18px auto 26px;
    max-width: 820px;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    background: var(--bg-secondary);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.home-about-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.home-about-image figcaption {
    padding: 12px 16px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    text-align: center;
}

.landing-hero-image {
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-secondary);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.2);
}

.landing-hero-image img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.landing-hero-image figcaption {
    padding: 12px 14px;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    text-align: center;
}

.review-body-media {
    max-width: 500px;
    margin: 0 auto 20px;
    text-align: center;
}

.review-body-media-frame {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 20px;
    background: #05080d;
    border: 1px solid var(--border);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.16);
}

.review-body-media-frame img,
.review-body-media-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #05080d;
}

.review-body-media figcaption {
    margin-top: 7px;
    padding: 0 2px 1px;
    color: var(--text-muted);
    font-size: 0.78rem;
    text-align: center;
}

.content-video-panel {
    margin: 28px auto 32px;
    max-width: 760px;
    padding: 12px;
    border: 1px solid rgba(0, 229, 160, 0.16);
    border-radius: 20px;
    background: linear-gradient(145deg, rgba(16, 24, 39, 0.9), rgba(10, 14, 23, 0.72));
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.26);
}

.content-video-frame {
    overflow: hidden;
    aspect-ratio: 16 / 9;
    border-radius: 14px;
    background: #05080d;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.content-video-frame video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    background: #05080d;
}

.content-video-panel figcaption {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 4px 2px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
}

.content-video-panel figcaption strong {
    color: var(--text-primary);
    font-size: 1rem;
}

/* ══════════════ COMMENTS ══════════════ */
.comments-section {
    margin-top: 48px;
}

.comment-form {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 24px;
}

.comment-form h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
}

.form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.form-input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}

.form-input:focus {
    border-color: var(--accent);
}

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

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

.form-submit {
    padding: 12px 28px;
    border-radius: var(--radius-xs);
    background: linear-gradient(135deg, var(--accent), #00c98a);
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.form-submit:hover {
    transform: translateY(-1px);
}

.star-select {
    display: flex;
    gap: 4px;
    margin-bottom: 12px;
    direction: rtl;
}

.star-select input {
    display: none;
}

.star-select label {
    font-size: 1.6rem;
    color: var(--star-empty);
    cursor: pointer;
    transition: color 0.15s;
}

.star-select label:hover,
.star-select label:hover~label,
.star-select input:checked~label {
    color: var(--star-filled);
}

.comment-item {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
    margin-bottom: 12px;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-nick {
    font-weight: 700;
    color: var(--accent);
    font-size: 0.92rem;
}

.comment-time {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.comment-text {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ══════════════ TRUSTED SITES ══════════════ */
.trusted-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 20px;
}

.trusted-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.trusted-card:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.trusted-img {
    width: 72px;
    height: 72px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    background: var(--bg-secondary);
}

.trusted-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.trusted-info {
    flex: 1;
}

.trusted-name {
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 4px;
}

.trusted-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.trusted-tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.7rem;
    font-weight: 700;
    margin-top: 6px;
}

/* ══════════════ CATEGORY CARDS ══════════════ */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 12px;
}

.cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all 0.3s;
}

.cat-card:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.cat-card .cat-emoji {
    font-size: 2rem;
}

.cat-card .cat-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.cat-card:hover .cat-label {
    color: var(--accent);
}

/* ══════════════ BOARD (익명 게시판) ══════════════ */
.board-table {
    width: 100%;
    border-collapse: collapse;
}

.board-table th {
    text-align: left;
    padding: 14px 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 600;
    border-bottom: 1px solid var(--border);
    background: var(--bg-glass);
}

.board-table td {
    padding: 14px 16px;
    font-size: 0.9rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-secondary);
}

.board-table tr:hover td {
    background: var(--bg-glass-hover);
}

.board-title-link {
    color: var(--text-primary);
    font-weight: 500;
}

.board-title-link:hover {
    color: var(--accent);
}

.board-write-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 20px;
    border-radius: var(--radius-xs);
    background: linear-gradient(135deg, var(--accent), #00c98a);
    color: #000;
    font-weight: 700;
    font-size: 0.88rem;
}

.board-write-btn:hover {
    transform: translateY(-1px);
}

/* ══════════════ ADMIN ══════════════ */
.admin-login {
    max-width: 420px;
    margin: 100px auto;
    padding: 40px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.admin-login h1 {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 28px;
    color: var(--accent);
}

.admin-form .form-group {
    margin-bottom: 16px;
}

.admin-form label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.admin-form .form-input {
    width: 100%;
}

.admin-form .form-submit {
    width: 100%;
    margin-top: 8px;
}

.admin-dashboard {
    padding: 40px 0;
}

.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.stat-card {
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px;
    text-align: center;
}

.stat-num {
    font-size: 2rem;
    font-weight: 900;
    color: var(--accent);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-bottom: 2px solid var(--border);
}

.admin-table td {
    padding: 12px 16px;
    font-size: 0.88rem;
    border-bottom: 1px solid var(--border);
}

.admin-table tr:hover td {
    background: var(--bg-glass-hover);
}

.btn-edit,
.btn-delete {
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.78rem;
    font-weight: 600;
    cursor: pointer;
}

.btn-edit {
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid rgba(0, 229, 160, 0.3);
}

.btn-delete {
    background: rgba(239, 68, 68, 0.1);
    color: var(--accent-rose);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.review-form {
    max-width: 800px;
}

.review-form .form-group {
    margin-bottom: 20px;
}

.review-form label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.review-form select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
}

.review-form select:focus {
    border-color: var(--accent);
}

.review-form textarea {
    min-height: 200px;
}

.file-upload {
    border: 2px dashed var(--border);
    border-radius: var(--radius-sm);
    padding: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.file-upload:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.file-upload input {
    display: none;
}

.file-preview {
    margin-top: 12px;
    max-width: 200px;
    max-height: 180px;
    border-radius: var(--radius-xs);
    object-fit: cover;
    display: block;
}

.media-delete-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 8px 10px;
    border: 1px solid rgba(248, 113, 113, 0.28);
    border-radius: var(--radius-xs);
    color: #fecaca;
    background: rgba(127, 29, 29, 0.14);
    font-size: 0.84rem;
    cursor: pointer;
}

.rating-select {
    display: flex;
    gap: 8px;
}

.rating-select label {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-xs);
    cursor: pointer;
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.rating-select input {
    display: none;
}

.rating-select input:checked+label,
.rating-select label:hover {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: var(--accent);
}

/* ══════════════ PAGINATION ══════════════ */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.page-btn,
.page-num {
    padding: 8px 14px;
    border-radius: var(--radius-xs);
    background: var(--bg-glass);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.88rem;
    font-weight: 500;
    transition: all 0.2s;
}

.page-btn:hover,
.page-num:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.page-num.active {
    background: var(--accent);
    color: #000;
    border-color: var(--accent);
    font-weight: 700;
}

.page-dots {
    color: var(--text-muted);
}

/* ══════════════ FOOTER ══════════════ */
.site-footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 48px 0 32px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 32px;
}

.footer-brand {}

.footer-brand .logo {
    margin-bottom: 12px;
}

.footer-brand p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding: 4px 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ══════════════ SEARCH RESULTS ══════════════ */
.search-results h2 {
    margin-bottom: 24px;
}

.search-results .result-count {
    color: var(--accent);
    font-weight: 700;
}

.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.no-results .icon {
    font-size: 3rem;
    margin-bottom: 16px;
}

/* ══════════════ FLASH MESSAGES ══════════════ */
.flash {
    padding: 14px 20px;
    border-radius: var(--radius-xs);
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

.flash-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.flash-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 1024px) {
    .review-hero {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-h: 64px;
    }

    .hero {
        padding: 52px 0 44px;
    }

    .hero-layout {
        grid-template-columns: 1fr;
        gap: 24px;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .hero-copy p {
        margin: 0 auto 24px;
    }

    .hero-copy .hero-search {
        margin: 0 auto;
    }

    .hero-video-panel {
        width: min(100%, 500px);
        margin: 0 auto;
        padding: 10px;
        border-radius: 18px;
    }

    .hero-video-frame {
        border-radius: 12px;
    }

    .hero-video-panel figcaption {
        text-align: left;
        font-size: 0.86rem;
    }

    .nav-main {
        display: none;
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        height: calc(100vh - var(--header-h));
        background: rgba(10, 14, 23, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 24px;
        gap: 4px;
        overflow-y: auto;
        z-index: 999;
    }

    .nav-main.open {
        display: flex;
    }

    .nav-main a,
    .cat-dropdown-btn {
        padding: 20px 24px;
        font-size: 1.1rem;
        width: 100%;
        text-align: right;
        justify-content: flex-end;
    }

    .menu-toggle {
        display: block;
    }

    .header-search {
        display: none;
    }

    .cat-dropdown {
        width: 100%;
    }

    .cat-dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0 0 0 16px;
    }

    .card-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .magazine-layout {
        grid-template-columns: 1fr;
    }

    .magazine-toc {
        position: static;
    }

    .magazine-article-hero {
        padding: 36px 0 18px;
    }

    .magazine-article-hero h1 {
        font-size: 2rem;
    }

    .magazine-checklist {
        grid-template-columns: 1fr;
    }

    .trusted-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .board-table {
        font-size: 0.82rem;
    }

    .board-table th:nth-child(3),
    .board-table td:nth-child(3),
    .board-table th:nth-child(4),
    .board-table td:nth-child(4) {
        display: none;
    }

    .review-form {
        padding: 0;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-search input {
        padding-right: 78px;
        font-size: 0.92rem;
    }

    .hero-search button {
        padding: 10px 14px;
    }

    .hero-video-panel figcaption strong {
        font-size: 0.94rem;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .cat-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .form-row {
        flex-direction: column;
    }
}

/* ── Admin sidebar ── */
.admin-layout {
    display: flex;
    min-height: calc(100vh - var(--header-h));
}

.admin-sidebar {
    width: 240px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border);
    padding: 24px 16px;
    flex-shrink: 0;
}

.admin-sidebar a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border-radius: var(--radius-xs);
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    transition: all 0.2s;
}

.admin-sidebar a:hover,
.admin-sidebar a.active {
    background: var(--accent-dim);
    color: var(--accent);
}

.admin-content {
    flex: 1;
    padding: 32px;
}

@media (max-width: 768px) {
    .admin-layout {
        flex-direction: column;
    }

    .admin-sidebar {
        width: 100%;
        padding: 12px;
        display: flex;
        gap: 4px;
        overflow-x: auto;
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

    .admin-sidebar a {
        white-space: nowrap;
    }

    .admin-content {
        padding: 20px;
    }
}

/* ── Loading spinner ── */
.spinner {
    width: 24px;
    height: 24px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}

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

/* ── Content editor (admin) ── */
.editor-toolbar {
    display: flex;
    gap: 4px;
    padding: 8px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-bottom: none;
    border-radius: var(--radius-xs) var(--radius-xs) 0 0;
}

.editor-toolbar button {
    padding: 6px 10px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-secondary);
    font-size: 0.82rem;
    transition: all 0.15s;
}

.editor-toolbar button:hover {
    color: var(--accent);
    border-color: var(--accent);
}

.editor-area {
    min-height: 300px;
    padding: 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 0 0 var(--radius-xs) var(--radius-xs);
    color: var(--text-primary);
    font-size: 0.92rem;
    outline: none;
    line-height: 1.7;
}

/* ══════════════ TAGS ══════════════ */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
    /* 메타 영역과 간격 확보 */
}

.tag-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 229, 160, 0.06);
    /* 은은한 배경 */
    border: 1px solid rgba(0, 229, 160, 0.2);
    /* 은은한 테두리 */
    color: var(--accent);
    /* 포인트 컬러 텍스트 */
    font-size: 0.72rem;
    letter-spacing: -0.2px;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.tag-badge:hover {
    background: var(--accent);
    /* 호버 시 꽉 찬 색상 */
    border-color: var(--accent);
    color: #000;
    /* 호버 시 검은색 텍스트로 눈에 띄게 */
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 229, 160, 0.25);
}

/* Address Fairy light theme override */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f6faf8;
    --bg-card: #ffffff;
    --bg-glass: rgba(255, 255, 255, 0.9);
    --bg-glass-hover: #f0f8f4;
    --border: #dce8e2;
    --border-hover: #79c8a8;
    --text-primary: #102018;
    --text-secondary: #52645a;
    --text-muted: #7b8b83;
    --accent: #139b6d;
    --accent-dim: #e7f6ef;
    --accent-cyan: #1686c2;
    --accent-purple: #6d5bd0;
    --radius: 8px;
    --radius-sm: 8px;
    --shadow: 0 10px 28px rgba(20, 70, 48, 0.08);
    --shadow-glow: 0 0 0 rgba(0, 0, 0, 0);
}

body {
    background: #ffffff;
    color: var(--text-primary);
}

body::before {
    display: none;
}

.site-header {
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--border);
}

.hero {
    background: linear-gradient(180deg, #ffffff 0%, #f7fbf9 100%);
    border-bottom: 1px solid var(--border);
}

.fairy-hero .hero-layout {
    align-items: center;
}

.hero-copy h1,
.section-title,
.card-name,
.review-title,
.review-content h2 {
    letter-spacing: 0;
}

.hero-copy p,
.page-lead,
.section-note {
    color: var(--text-secondary);
}

.hero-image-panel,
.landing-hero-image,
.review-card,
.trusted-card,
.comment-form,
.comment-item,
.review-content,
.comments-section {
    background: #ffffff;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.hero-image-panel {
    overflow: hidden;
}

.hero-image-panel img {
    width: 100%;
    height: auto;
    display: block;
}

.card-thumb {
    background: #f4faf7;
    aspect-ratio: 16 / 10;
}

.card-thumb img,
.card-thumb video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn.primary,
.hero-search button,
.form-submit,
.review-url {
    background: #139b6d;
    color: #ffffff;
}

.btn.secondary,
.sort-btn,
.review-category-tabs a {
    border: 1px solid var(--border);
    background: #ffffff;
    color: var(--text-secondary);
}

.review-category-tabs a.active,
.review-category-tabs a:hover,
.sort-btn.active,
.sort-btn:hover,
.tag-badge,
.tag-badge:hover {
    background: var(--accent-dim);
    color: var(--accent);
    border-color: var(--border-hover);
    box-shadow: none;
}

.keyword-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero-actions,
.sort-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 18px;
}

.hero-actions {
    gap: 12px;
    align-items: center;
}

.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 800;
    font-size: 0.94rem;
    line-height: 1;
    border: 1px solid transparent;
    box-shadow: 0 10px 22px rgba(19, 155, 109, 0.18);
}

.hero-actions .btn.primary {
    background: #139b6d;
    color: #ffffff;
    border-color: #139b6d;
}

.hero-actions .btn.secondary {
    background: #ffffff;
    color: #139b6d;
    border-color: #139b6d;
    box-shadow: 0 8px 18px rgba(16, 32, 24, 0.08);
}

.hero-actions .btn:hover {
    transform: translateY(-2px);
}

.card-badge {
    background: #139b6d;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 6px 14px rgba(19, 155, 109, 0.22);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.info-grid div {
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: #ffffff;
}

.info-grid strong,
.info-grid span,
.intro-meta span {
    display: block;
}

.info-grid span,
.intro-meta {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.intro-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 10px 0 16px;
}

.empty-note {
    color: var(--text-muted);
    text-align: center;
    padding: 24px;
}

.soft-band {
    background: #f7fbf9;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.soft-band .home-feature-row,
.soft-band .home-feature-row.reverse {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.soft-band .home-feature-row.reverse .home-feature-copy,
.soft-band .home-feature-row.reverse .home-feature-media {
    order: initial;
}



.soft-band .home-feature-media img {
    aspect-ratio: 16 / 9;
    object-fit: cover;
    object-position: center;
}

.home-feature-row {
    display: grid;
    grid-template-columns: minmax(0, 0.92fr) minmax(360px, 1.08fr);
    gap: 42px;
    align-items: center;
}

.home-feature-row.reverse {
    grid-template-columns: minmax(360px, 1.08fr) minmax(0, 0.92fr);
}

.home-feature-row.reverse .home-feature-copy {
    order: 2;
}

.home-feature-row.reverse .home-feature-media {
    order: 1;
}

.section-kicker {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--accent-dim);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 800;
}

.home-feature-copy h2 {
    margin-bottom: 14px;
    color: var(--text-primary);
    font-size: clamp(1.55rem, 2.4vw, 2.3rem);
    line-height: 1.25;
    letter-spacing: 0;
}

.home-feature-copy p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.85;
}

.home-feature-media {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(16, 32, 24, 0.08);
}

.home-feature-media img {
    width: 100%;
    display: block;
}

.juso-guide {
    background: #ffffff;
}

.guide-stack {
    display: grid;
    gap: 54px;
}

.guide-block {
    display: grid;
    grid-template-columns: minmax(0, 0.96fr) minmax(340px, 1.04fr);
    gap: 34px;
    align-items: center;
}

.guide-block.reverse {
    grid-template-columns: minmax(340px, 1.04fr) minmax(0, 0.96fr);
}

.guide-block.reverse .guide-copy {
    order: 2;
}

.guide-block.reverse .guide-media {
    order: 1;
}

.guide-copy h2 {
    margin: 0 0 14px;
    color: var(--text-primary);
    font-size: clamp(1.55rem, 2.3vw, 2.15rem);
    line-height: 1.28;
    letter-spacing: 0;
}

.guide-copy p {
    margin: 0 0 14px;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.85;
}

.guide-copy p:last-child {
    margin-bottom: 0;
}

.guide-media {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(16, 32, 24, 0.08);
}

.guide-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.guide-list {
    display: grid;
    gap: 10px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.guide-list li {
    position: relative;
    padding: 13px 14px 13px 36px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    color: var(--text-secondary);
    line-height: 1.55;
}

.guide-list li::before {
    content: "";
    position: absolute;
    top: 21px;
    left: 16px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #139b6d;
}

.feature-points,
.reason-grid,
.pros-cons-grid {
    display: grid;
    gap: 12px;
    margin-top: 22px;
}

.feature-points {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-points span,
.reason-grid div,
.pros-box,
.cons-box {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
}

.feature-points span {
    padding: 12px;
    color: var(--accent);
    font-weight: 800;
    text-align: center;
}

.step-list {
    display: inline-flex;
    gap: 12px;
    margin-top: 22px;
    padding: 0;
    list-style: none;
    counter-reset: fairy-step;
    flex-wrap: wrap;
    width: 100%;
}

.step-list li {
    counter-increment: fairy-step;
    display: grid;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #ffffff;
    flex: 1 1 calc(50% - 6px);
    width: 50%;
    min-width: 0;
}

.step-list li::before {
    content: counter(fairy-step);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #139b6d;
    color: #ffffff;
    font-weight: 900;
}

.step-list strong,
.reason-grid strong,
.pros-cons-grid h3 {
    display: block;
    color: var(--text-primary);
}

.step-list span,
.reason-grid span {
    display: block;
    margin-top: 3px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.55;
}

.reason-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.reason-grid div {
    padding: 16px;
}

.pros-cons-grid {
    grid-template-columns: 1fr;
}

.pros-box,
.cons-box {
    padding: 18px;
}

.pros-cons-grid h3 {
    margin-bottom: 10px;
    font-size: 1rem;
}

.pros-cons-grid ul {
    margin: 0;
    padding: 0;
    list-style: none;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.pros-cons-grid li {
    position: relative;
    padding-left: 18px;
    word-break: keep-all;
    overflow-wrap: normal;
}

.pros-cons-grid li + li {
    margin-top: 8px;
}

.pros-cons-grid li::before {
    content: "";
    position: absolute;
    top: 0.75em;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #139b6d;
}

@media (max-width: 760px) {
    .info-grid {
        grid-template-columns: 1fr;
    }

    .home-feature-row,
    .home-feature-row.reverse,
    .guide-block,
    .guide-block.reverse {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .home-feature-row.reverse .home-feature-copy,
    .home-feature-row.reverse .home-feature-media,
    .guide-block.reverse .guide-copy,
    .guide-block.reverse .guide-media {
        order: initial;
    }

    .soft-band .home-feature-media img,
    .guide-media img {
        aspect-ratio: 16 / 10;
    }

    .guide-stack {
        gap: 40px;
    }

    .guide-copy h2 {
        font-size: 1.45rem;
    }

    .feature-points,
    .reason-grid,
    .pros-cons-grid {
        grid-template-columns: 1fr;
    }

    .step-list li {
        flex-basis: calc(50% - 6px);
        width: 50%;
        padding: 12px;
    }

    .step-list li::before {
        width: 30px;
        height: 30px;
    }

    .step-list strong,
    .step-list span {
        word-break: keep-all;
        overflow-wrap: anywhere;
    }
}
