:root {
    --bg-main: #06090e;
    --bg-card: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #f59e0b; /* 골드 앰버 */
    --primary-hover: #d97706;
    --accent-blue: #38bdf8;
    --border-color: #1e293b;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --card-hover-shadow: 0 12px 24px -4px rgba(245, 158, 11, 0.2);
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Pretendard', sans-serif; }
body { background-color: var(--bg-main); color: var(--text-main); line-height: 1.6; }

/* Header */
.site-header { background: #06090e; 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: 8px; text-decoration: none; color: #ffffff; font-size: 1.25rem; font-weight: 800; }
.logo-icon { font-size: 1.4rem; }
.logo-badge { background: #1e293b; color: var(--primary); font-size: 0.72rem; font-weight: 800; padding: 3px 7px; border-radius: 4px; border: 1px solid rgba(245, 158, 11, 0.3); }
.site-nav .nav-list { display: flex; list-style: none; gap: 22px; }
.nav-link { color: #94a3b8; text-decoration: none; font-weight: 600; font-size: 0.95rem; transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--primary); }

/* Split Hero Section */
.split-hero-section { background: radial-gradient(circle at 50% 0%, #1e1b4b 0%, #06090e 80%); padding: 55px 20px 40px; text-align: center; border-bottom: 1px solid var(--border-color); }
.hero-container { max-width: 860px; margin: 0 auto; }
.hero-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(245, 158, 11, 0.15); border: 1px solid rgba(245, 158, 11, 0.4); color: #fcd34d; padding: 5px 14px; border-radius: 20px; font-size: 0.8rem; font-weight: 800; margin-bottom: 16px; }
.hero-title { font-size: 2.25rem; font-weight: 900; line-height: 1.3; margin-bottom: 12px; letter-spacing: -0.5px; background: linear-gradient(to right, #ffffff, #fde68a); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.hero-desc { font-size: 1rem; color: #94a3b8; line-height: 1.6; }

/* Page Wrapper */
.main-content { min-height: calc(100vh - 350px); }
.page-wrapper { max-width: 1200px; margin: 0 auto; padding: 40px 20px 60px; }

/* 🌟 혁신적인 좌우 2열 분할 스플릿 레이아웃 🌟 */
.split-layout-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 30px; margin-bottom: 50px; align-items: start; }
.split-col-left, .split-col-right { display: flex; flex-direction: column; gap: 24px; }

/* 섹션 타이틀 */
.section-header { margin-bottom: 16px; }
.section-header h2 { font-size: 1.35rem; font-weight: 800; color: #ffffff; letter-spacing: -0.5px; display: flex; align-items: center; gap: 8px; }
.section-header p { color: var(--text-muted); font-size: 0.88rem; margin-top: 4px; }

/* 좌측: 1~14위 영화 매트릭스 카드 */
.rank-matrix-box { display: flex; flex-direction: column; gap: 12px; }
.matrix-row-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; transition: border-color 0.2s, transform 0.2s; }
.matrix-row-card:hover { border-color: var(--primary); transform: translateX(3px); }
.mrc-left { display: flex; align-items: center; gap: 14px; flex: 1; min-width: 0; }
.mrc-rank-pill { font-size: 1.05rem; font-weight: 900; color: #64748b; min-width: 24px; text-align: center; }
.mrc-rank-pill.top { color: var(--primary); }
.mrc-logo { width: 90px; height: 42px; background: #ffffff; border-radius: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; padding: 3px; }
.mrc-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mrc-info { min-width: 0; }
.mrc-name { font-size: 1.02rem; font-weight: 800; color: #ffffff; }
.mrc-desc { font-size: 0.8rem; color: #94a3b8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: 2px; }
.mrc-right { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.mrc-benefit { font-size: 0.95rem; font-weight: 800; color: var(--primary); text-align: right; }
.btn-stream { background: var(--primary); color: #000000; text-decoration: none; font-size: 0.82rem; font-weight: 800; padding: 8px 16px; border-radius: 6px; transition: background 0.2s; white-space: nowrap; }
.btn-stream:hover { background: var(--primary-hover); color: #ffffff; }

/* 우측 1: 실시간 회선 스펙 비교 데이터 시트 (표) */
.spec-datasheet-wrap { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; }
.spec-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.85rem; }
.spec-table th { background: #030712; padding: 12px 14px; font-weight: 700; color: #cbd5e1; border-bottom: 1px solid var(--border-color); }
.spec-table td { padding: 11px 14px; border-bottom: 1px solid #1e293b; color: #cbd5e1; }
.spec-table tbody tr:hover { background: #1e293b; }
.td-rank { font-weight: 900; color: var(--primary); text-align: center; width: 45px; }
.td-name { font-weight: 700; color: #ffffff; }
.td-speed { color: #38bdf8; font-weight: 700; }
.td-btn { text-align: center; width: 60px; }
.btn-table-mini { background: #1e293b; color: #fcd34d; text-decoration: none; font-size: 0.75rem; font-weight: 700; padding: 4px 8px; border-radius: 4px; display: inline-block; }
.btn-table-mini:hover { background: var(--primary); color: #000; }

/* 우측 2: 클린 테이블 게시판 (슬러그 머리말 제거됨) */
.clean-board-wrap { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; }
.clean-board-table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.88rem; }
.clean-board-table th { background: #030712; padding: 12px 14px; font-weight: 700; color: #cbd5e1; border-bottom: 1px solid var(--border-color); }
.clean-board-table td { padding: 13px 14px; border-bottom: 1px solid #1e293b; color: #cbd5e1; }
.clean-board-table tbody tr:last-child td { border-bottom: none; }
.clean-board-table tbody tr:hover { background: #1e293b; }
.td-board-num { width: 50px; text-align: center; color: var(--primary); font-weight: 700; }
.td-board-title a { color: #f8fafc; text-decoration: none; font-weight: 600; display: block; }
.td-board-title a:hover { color: var(--primary); text-decoration: underline; }
.td-board-date { width: 95px; text-align: center; color: #64748b; font-size: 0.78rem; }

/* SEO Content Box */
.seo-content-box { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 12px; padding: 32px; margin-bottom: 50px; line-height: 1.8; color: #cbd5e1; font-size: 0.92rem; }
.seo-content-box h2 { font-size: 1.3rem; font-weight: 800; margin-bottom: 12px; color: #ffffff; }
.seo-content-box h3 { font-size: 1.05rem; font-weight: 700; margin: 20px 0 8px; color: var(--primary); }
.seo-content-box ul { margin: 10px 0 16px 20px; }
.seo-content-box li { margin-bottom: 6px; }

/* 하단 1~6위 쇼케이스 */
.subpage-showcase-section { margin-top: 50px; padding-top: 36px; border-top: 2px dashed var(--border-color); }
.mini-grid-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-rank-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 8px; padding: 16px; display: flex; flex-direction: column; justify-content: space-between; }
.mini-rank-card:hover { border-color: var(--primary); }

/* Article & Static View */
.article-view { background: var(--bg-card); padding: 40px; border-radius: 12px; border: 1px solid var(--border-color); }
.article-title { font-size: 1.7rem; font-weight: 800; margin-bottom: 12px; color: #ffffff; }
.article-meta { color: #64748b; font-size: 0.85rem; margin-bottom: 24px; border-bottom: 1px solid var(--border-color); padding-bottom: 16px; }
.article-body { font-size: 1rem; line-height: 1.85; color: #cbd5e1; }
.article-body h2 { font-size: 1.25rem; font-weight: 800; margin: 26px 0 12px; color: #ffffff; }
.article-body p { margin-bottom: 14px; }

/* Detailed Footer */
.site-footer { background: #030712; color: #64748b; padding: 50px 20px 30px; border-top: 1px solid var(--border-color); }
.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-slogan { font-size: 0.85rem; color: #94a3b8; margin-bottom: 8px; }
.footer-desc { max-width: 400px; font-size: 0.8rem; line-height: 1.5; color: #64748b; }
.footer-links-grid { display: flex; gap: 50px; }
.footer-col h4 { color: #ffffff; font-size: 0.9rem; font-weight: 700; margin-bottom: 12px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col a { color: #64748b; text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
.footer-col a:hover { color: #ffffff; }
.footer-bottom { border-top: 1px solid #0f172a; padding-top: 20px; font-size: 0.78rem; text-align: center; color: #475569; }
.disclaimer-text { margin-top: 6px; font-size: 0.72rem; color: #475569; }

/* Responsive Mobile */
@media screen and (max-width: 900px) {
    .split-layout-grid { grid-template-columns: 1fr; }
    .mini-grid-3col { grid-template-columns: 1fr; }
}
@media screen and (max-width: 640px) {
    .header-container { height: auto; padding: 12px 16px; flex-direction: column; align-items: flex-start; gap: 12px; }
    .site-nav { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
    .site-nav .nav-list { display: flex; gap: 16px; white-space: nowrap; padding-bottom: 4px; }
    
    .split-hero-section { padding: 36px 16px 30px; }
    .hero-title { font-size: 1.4rem; }
    .hero-desc { font-size: 0.85rem; }
    
    .page-wrapper { padding: 20px 14px 40px; }
    .matrix-row-card { flex-direction: column; align-items: stretch; padding: 14px; gap: 10px; }
    .mrc-left { flex-direction: column; align-items: stretch; gap: 8px; }
    .mrc-right { width: 100%; justify-content: space-between; border-top: 1px solid #1e293b; padding-top: 10px; }
    
    .spec-datasheet-wrap, .clean-board-wrap { overflow-x: auto; }
    .clean-board-table { min-width: 440px; }
    .spec-table { min-width: 400px; }
    .article-view { padding: 20px 16px; }
    .footer-links-grid { gap: 30px; }
}