:root {
    --bg-main: #f8fafc;
    --bg-card: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --primary: #d97706; /* 골드 앰버 */
    --primary-hover: #b45309;
    --accent-indigo: #4f46e5;
    --dark-slate: #0f172a;
    --border-color: #e2e8f0;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
    --card-hover-shadow: 0 12px 24px -4px rgba(217, 119, 6, 0.15), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
}

/* Live Ticker Bar */
.live-ticker-bar {
    background: #0f172a;
    color: #cbd5e1;
    font-size: 0.78rem;
    padding: 6px 20px;
    border-bottom: 1px solid #1e293b;
    overflow: hidden;
}

.ticker-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.ticker-label {
    background: #d97706;
    color: #ffffff;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
}

/* Header */
.site-header {
    background: #ffffff;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--text-main);
}

.logo-badge {
    background: var(--dark-slate);
    color: #f59e0b;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
}

.logo-text {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.site-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 22px;
}

.nav-link {
    text-decoration: none;
    color: #475569;
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary);
}

/* Split Showcase Hero Section */
.hero-matrix-section {
    background: linear-gradient(135deg, #0f172a 0%, #1e1b4b 50%, #1e293b 100%);
    color: #ffffff;
    padding: 50px 20px;
    border-bottom: 1px solid #334155;
}

.hero-matrix-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
}

.hero-left-content {
    display: flex;
    flex-direction: column;
}

.hero-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(217, 119, 6, 0.2);
    border: 1px solid rgba(217, 119, 6, 0.4);
    color: #fbbf24;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    width: fit-content;
    margin-bottom: 16px;
}

.hero-main-title {
    font-size: 2.2rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 12px;
    letter-spacing: -0.6px;
}

.hero-sub-desc {
    font-size: 0.98rem;
    color: #cbd5e1;
    line-height: 1.6;
    margin-bottom: 24px;
}

/* Live Search Box */
.hero-search-bar {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 6px 12px;
    margin-bottom: 16px;
}

.hero-search-bar input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-size: 0.92rem;
    width: 100%;
    padding: 6px 8px;
}

.hero-search-bar input::placeholder {
    color: #94a3b8;
}

.btn-search-trigger {
    background: #d97706;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.82rem;
    cursor: pointer;
    white-space: nowrap;
}

.quick-category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.cat-tab-chip {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.cat-tab-chip:hover, .cat-tab-chip.active {
    background: #d97706;
    color: #ffffff;
    border-color: #d97706;
}

/* Right Showcase Card (1위 추천 전용 VIP 카드) */
.showcase-vip-card {
    background: rgba(15, 23, 42, 0.85);
    border: 2px solid #d97706;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    position: relative;
}

.vip-ribbon {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 900;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
}

.vip-top-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 14px;
}

.vip-logo-box {
    width: 100px;
    height: 48px;
    background: #ffffff;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.vip-logo-box img {
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

.vip-title-info h3 {
    font-size: 1.2rem;
    font-weight: 800;
    color: #ffffff;
}

.vip-title-info p {
    font-size: 0.8rem;
    color: #fbbf24;
    font-weight: 700;
}

.vip-specs-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 10px;
    margin-bottom: 16px;
    text-align: center;
}

.spec-cell span {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
}

.spec-cell strong {
    font-size: 0.85rem;
    color: #ffffff;
}

.btn-vip-action {
    display: block;
    background: #d97706;
    color: #ffffff;
    text-align: center;
    padding: 11px 0;
    border-radius: 6px;
    font-weight: 800;
    font-size: 0.9rem;
    text-decoration: none;
    transition: background 0.2s;
}

.btn-vip-action:hover {
    background: #b45309;
}

/* Main Container */
.main-content {
    min-height: calc(100vh - 350px);
}

.page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px 60px;
}

.section-header {
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.section-header p {
    color: var(--text-muted);
    font-size: 0.92rem;
    margin-top: 4px;
}

/* TOP 3 Podium 3-Column Premium Cards */
.top3-podium-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.podium-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--card-shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    border: 1px solid var(--border-color);
}

.podium-card.rank-1 { border-top: 4px solid #f59e0b; }
.podium-card.rank-2 { border-top: 4px solid #94a3b8; }
.podium-card.rank-3 { border-top: 4px solid #b45309; }

.podium-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--card-hover-shadow);
}

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

.medal-badge {
    font-size: 0.75rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 4px;
    color: #ffffff;
}

.medal-1 { background: #d97706; }
.medal-2 { background: #64748b; }
.medal-3 { background: #92400e; }

.podium-score {
    font-size: 0.85rem;
    font-weight: 800;
    color: #d97706;
}

.podium-body-title {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.podium-benefit-text {
    font-size: 0.95rem;
    font-weight: 800;
    color: #4f46e5;
    margin-bottom: 12px;
}

.podium-logo-box {
    width: 100%;
    height: 60px;
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.podium-logo-box img {
    max-width: 85%;
    max-height: 70%;
    object-fit: contain;
}

.btn-podium-action {
    background: #0f172a;
    color: #ffffff;
    text-align: center;
    padding: 10px 0;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    display: block;
    margin-top: 14px;
    transition: background 0.2s;
}

.btn-podium-action:hover {
    background: #d97706;
}

/* High-Density Comparison Matrix Table (1~14위 전체 비교표) */
.matrix-table-container {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow-x: auto;
    margin-bottom: 50px;
    box-shadow: var(--card-shadow);
}

.spec-matrix-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    text-align: left;
    min-width: 800px;
}

.spec-matrix-table th {
    background: #f8fafc;
    color: #475569;
    font-weight: 700;
    padding: 14px 16px;
    border-bottom: 2px solid var(--border-color);
}

.spec-matrix-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.matrix-row:hover {
    background: #fffbeb;
}

.rank-pill-cell {
    font-weight: 900;
    color: #0f172a;
    font-size: 0.95rem;
}

.site-thumb-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-thumb-group img {
    width: 70px;
    height: 32px;
    object-fit: contain;
    border: 1px solid #f1f5f9;
    border-radius: 4px;
}

.site-thumb-group strong {
    font-size: 0.95rem;
    color: #0f172a;
}

.benefit-cell {
    font-weight: 800;
    color: #4f46e5;
}

.speed-cell {
    font-weight: 700;
    color: #059669;
}

.btn-table-action {
    background: #0f172a;
    color: #ffffff;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 6px;
    display: inline-block;
    transition: background 0.2s;
    white-space: nowrap;
}

.btn-table-action:hover {
    background: #d97706;
}

/* SEO Content Box */
.seo-content-box {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 36px;
    margin-bottom: 50px;
    line-height: 1.8;
}

.seo-content-box h2 {
    font-size: 1.35rem;
    font-weight: 800;
    margin: 28px 0 12px;
    color: var(--text-main);
}

.seo-content-box h2:first-child {
    margin-top: 0;
}

.seo-content-box h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 18px 0 8px;
    color: #0f172a;
}

.seo-content-box p {
    color: #475569;
    margin-bottom: 14px;
    font-size: 0.95rem;
}

.seo-content-box ul {
    margin: 12px 0 18px 24px;
    color: #475569;
}

.seo-content-box li {
    margin-bottom: 6px;
}

/* Post Card Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 50px;
}

.post-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 22px;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.2s, box-shadow 0.2s;
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-hover-shadow);
}

.post-cat-badge {
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.post-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 8px;
    color: var(--text-main);
}

.post-summary {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 14px;
    flex: 1;
}

.post-meta {
    font-size: 0.78rem;
    color: #94a3b8;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid #f1f5f9;
    padding-top: 10px;
}

/* Article Detail */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.article-header {
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.article-title {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.35;
}

.article-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    gap: 16px;
}

.article-body {
    line-height: 1.85;
    font-size: 1rem;
    color: #334155;
}

.article-body h2 {
    font-size: 1.3rem;
    font-weight: 800;
    margin: 30px 0 12px;
    color: var(--text-main);
}

.article-body p {
    margin-bottom: 14px;
}

/* Footer */
.site-footer {
    background: #0f172a;
    color: #94a3b8;
    padding: 50px 20px 30px;
    border-top: 1px solid #1e293b;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.footer-brand h3 {
    color: #ffffff;
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.footer-desc {
    max-width: 400px;
    font-size: 0.82rem;
    margin-top: 8px;
    line-height: 1.5;
    color: #cbd5e1;
}

.footer-links-grid {
    display: flex;
    gap: 60px;
}

.footer-col h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

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

.footer-col a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 0.82rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
    font-size: 0.78rem;
    text-align: center;
    color: #64748b;
}

.disclaimer-text {
    margin-top: 6px;
    font-size: 0.72rem;
    color: #64748b;
}

@media (max-width: 900px) {
    .hero-matrix-container {
        grid-template-columns: 1fr;
    }
    .top3-podium-grid {
        grid-template-columns: 1fr;
    }
}