:root {
    --bg-main: #030712;
    --bg-card: #0f172a;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --primary: #0ea5e9; /* 일렉트릭 사이언 */
    --primary-hover: #0284c7;
    --accent-amber: #f59e0b;
    --border-color: #1e293b;
    --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --card-hover-shadow: 0 12px 24px -4px rgba(14, 165, 233, 0.25);
}

* { 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: #030712; border-bottom: 1px solid var(--border-color); position: sticky; top: 0; z-index: 50; }
.header-container { max-width: 1160px; 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; }
.logo-pulse-dot { width: 10px; height: 10px; background: #0ea5e9; border-radius: 50%; box-shadow: 0 0 12px #0ea5e9; }
.logo-text { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.5px; }
.logo-badge { background: #1e293b; color: #38bdf8; font-size: 0.72rem; font-weight: 800; padding: 3px 7px; border-radius: 4px; border: 1px solid rgba(14, 165, 233, 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); }

/* Dashboard Hero Section */
.radar-hero-section { background: radial-gradient(circle at 50% 0%, #082f49 0%, #030712 80%); padding: 60px 20px 45px; 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(14, 165, 233, 0.15); border: 1px solid rgba(14, 165, 233, 0.4); color: #38bdf8; 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, #7dd3fc); -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: 1160px; margin: 0 auto; padding: 40px 20px 60px; }
.section-header { margin-bottom: 24px; }
.section-header h2 { font-size: 1.45rem; font-weight: 800; color: #ffffff; letter-spacing: -0.5px; }
.section-header p { color: var(--text-muted); font-size: 0.92rem; margin-top: 4px; }

/* 🌟 TOP 3 VIP 와이드 카드 🌟 */
.vip-top3-grid { display: flex; flex-direction: column; gap: 16px; margin-bottom: 36px; }
.vip-card { background: linear-gradient(135deg, #0f172a 0%, #082f49 100%); border: 1px solid rgba(14, 165, 233, 0.4); border-radius: 12px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: var(--card-shadow); transition: transform 0.2s, box-shadow 0.2s; }
.vip-card:hover { transform: translateY(-2px); box-shadow: var(--card-hover-shadow); border-color: var(--primary); }
.vip-left { display: flex; align-items: center; gap: 20px; flex: 1; }
.vip-badge-box { background: #030712; width: 56px; height: 56px; border-radius: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; border: 1px solid rgba(14, 165, 233, 0.4); }
.vip-rank-num { font-size: 1.3rem; font-weight: 900; color: #38bdf8; line-height: 1; }
.vip-rank-tag { font-size: 0.65rem; font-weight: 800; color: #94a3b8; margin-top: 3px; }
.vip-logo { width: 130px; height: 56px; background: #ffffff; border-radius: 6px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; padding: 4px; }
.vip-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vip-info { flex: 1; min-width: 220px; }
.vip-title-row { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; }
.vip-name { font-size: 1.2rem; font-weight: 800; color: #ffffff; }
.vip-speed-badge { background: rgba(14, 165, 233, 0.15); color: #38bdf8; font-size: 0.75rem; font-weight: 800; padding: 2px 8px; border-radius: 4px; border: 1px solid rgba(14, 165, 233, 0.3); }
.vip-desc { font-size: 0.88rem; color: #cbd5e1; line-height: 1.45; margin-bottom: 8px; }
.vip-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.vip-chip { background: #030712; color: #94a3b8; font-size: 0.72rem; padding: 2px 8px; border-radius: 20px; border: 1px solid #1e293b; }
.vip-right { display: flex; align-items: center; gap: 20px; flex-shrink: 0; }
.vip-benefit-box { text-align: right; }
.vip-benefit { font-size: 1.15rem; font-weight: 800; color: #38bdf8; display: block; }
.vip-rating { font-size: 0.85rem; font-weight: 700; color: var(--accent-amber); margin-top: 2px; }
.btn-gate { background: var(--primary); color: #ffffff; text-decoration: none; font-size: 0.9rem; font-weight: 700; padding: 11px 22px; border-radius: 6px; transition: background 0.2s; white-space: nowrap; }
.btn-gate:hover { background: var(--primary-hover); }

/* 🌟 4~14위 2열 컴팩트 매트릭스 그리드 🌟 */
.matrix-grid-2col { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 50px; }
.matrix-card { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; gap: 14px; transition: border-color 0.2s, transform 0.2s; }
.matrix-card:hover { border-color: #0ea5e9; transform: translateY(-2px); }
.mc-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.mc-rank { font-size: 1.05rem; font-weight: 900; color: #64748b; min-width: 24px; }
.mc-logo { width: 80px; height: 38px; background: #ffffff; border-radius: 4px; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; padding: 2px; }
.mc-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mc-info { min-width: 0; }
.mc-name { font-size: 0.98rem; font-weight: 800; color: #ffffff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-benefit { font-size: 0.82rem; color: #38bdf8; font-weight: 700; margin-top: 2px; }
.mc-btn { background: #1e293b; color: #f8fafc; text-decoration: none; font-size: 0.8rem; font-weight: 700; padding: 7px 14px; border-radius: 4px; transition: background 0.2s; white-space: nowrap; }
.mc-btn:hover { background: var(--primary); }

/* 테이블형 게시판 */
.board-table-wrap { background: var(--bg-card); border: 1px solid var(--border-color); border-radius: 10px; overflow: hidden; margin-bottom: 40px; }
.board-table { width: 100%; border-collapse: collapse; text-align: left; }
.board-table th { background: #030712; padding: 14px 20px; font-size: 0.88rem; font-weight: 700; color: #e2e8f0; border-bottom: 1px solid var(--border-color); }
.board-table td { padding: 14px 20px; font-size: 0.92rem; border-bottom: 1px solid #1e293b; color: #cbd5e1; }
.board-table tbody tr:last-child td { border-bottom: none; }
.board-table tbody tr:hover { background: #1e293b; }
.td-num { width: 70px; text-align: center; color: #38bdf8; font-weight: 700; }
.td-title a { color: #f8fafc; text-decoration: none; font-weight: 600; display: block; }
.td-title a:hover { color: #38bdf8; text-decoration: underline; }
.td-date { width: 110px; text-align: center; color: #64748b; font-size: 0.82rem; }

/* 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: #38bdf8; }
.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); }

/* 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; }

/* Footer */
.site-footer { background: #030712; color: #64748b; padding: 50px 20px 30px; border-top: 1px solid var(--border-color); }
.footer-container { max-width: 1160px; 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: 768px) {
    .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; }
    
    .radar-hero-section { padding: 36px 16px 30px; }
    .hero-title { font-size: 1.4rem; }
    .hero-desc { font-size: 0.85rem; }
    
    .page-wrapper { padding: 20px 14px 40px; }
    .vip-card { flex-direction: column; align-items: stretch; padding: 16px; gap: 14px; }
    .vip-left { flex-direction: column; align-items: stretch; gap: 10px; }
    .vip-badge-box { width: 44px; height: 44px; }
    .vip-logo { width: 110px; height: 44px; }
    .vip-right { width: 100%; justify-content: space-between; border-top: 1px solid #1e293b; padding-top: 12px; }
    
    .matrix-grid-2col { grid-template-columns: 1fr; gap: 10px; }
    .board-table-wrap { overflow-x: auto; }
    .board-table { min-width: 460px; }
    .article-view { padding: 20px 16px; }
    .article-title { font-size: 1.35rem; }
    .footer-links-grid { gap: 30px; }
}