:root {
    --vx-bg: #f3f4f6;
    --vx-card: #ffffff;
    --vx-border: #e5e7eb;
    --vx-text-main: #111827;
    --vx-text-muted: #6b7280;
    --vx-red-point: #f43f5e;
    --vx-blue-point: #2563eb;
    --vx-green-check: #10b981;
    --vx-btn-gray: #4b5563;
    --vx-btn-gray-hover: #374151;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, "Pretendard", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; background: var(--vx-bg); color: var(--vx-text-main); line-height: 1.5; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; }

.vx-container { max-width: 1140px; margin: 0 auto; padding: 0 16px; }

/* Header */
.vx-header { background: #ffffff; border-bottom: 1px solid var(--vx-border); padding-top: 18px; }
.vx-brand-row { display: flex; align-items: center; margin-bottom: 16px; }
.vx-logo { display: inline-flex; align-items: center; gap: 8px; }
.vx-logo-m { width: 32px; height: 32px; background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%); color: #fff; font-weight: 900; font-size: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
.vx-logo-text { font-size: 22px; font-weight: 900; color: #1e1b4b; letter-spacing: -0.5px; }
.vx-logo-sub { font-size: 13px; font-weight: 600; color: #94a3b8; margin-top: 4px; }

.vx-tabs { display: flex; gap: 28px; }
.vx-tab { font-size: 15px; font-weight: 800; color: #64748b; padding-bottom: 12px; position: relative; }
.vx-tab.active { color: #4f46e5; border-bottom: 3px solid #4f46e5; }
.vx-tab:hover { color: #4f46e5; }

/* Real-time Sub Bar */
.vx-timestamp-bar { font-size: 12px; font-weight: 700; color: #ef4444; margin: 18px 0 12px 0; }

/* Section Title */
.vx-sec-title { font-size: 16px; font-weight: 900; color: #111827; display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.vx-sec-title::before { content: ""; display: inline-block; width: 4px; height: 16px; background: #ef4444; border-radius: 2px; }

/* 🌟 Layout: 2 Columns (Main ~72% / Sidebar ~28%) 🌟 */
.vx-layout-row { display: flex; gap: 20px; align-items: flex-start; margin-bottom: 30px; }
.vx-main-col { flex: 1; min-width: 0; }
.vx-side-col { width: 300px; flex-shrink: 0; display: flex; flex-direction: column; gap: 16px; }

/* 🌟 Featured Top Banner (모아겟 다크 배너 완벽 구현) 🌟 */
.vx-featured-banner { background: #181f2c; border-radius: 12px; padding: 22px 24px; color: #ffffff; display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.vx-feat-left { flex: 1; }
.vx-feat-head { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.vx-pill-yellow { background: #facc15; color: #000; font-size: 11px; font-weight: 900; padding: 3px 8px; border-radius: 4px; }
.vx-feat-name { font-size: 20px; font-weight: 900; color: #fff; }

.vx-feat-bullets { list-style: none; margin-bottom: 14px; font-size: 13px; line-height: 1.8; color: #e2e8f0; }
.vx-feat-bullets li { display: flex; align-items: center; gap: 6px; }
.vx-feat-bullets li::before { content: "✔"; color: #ef4444; font-weight: 900; font-size: 12px; }
.vx-feat-bullets b { color: #f87171; }

.vx-feat-bottom-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(0,0,0,0.3); border: 1px solid #334155; padding: 6px 12px; border-radius: 6px; font-size: 12px; font-weight: 800; color: #facc15; }

.vx-feat-right { display: flex; flex-direction: column; align-items: center; gap: 14px; padding-left: 20px; }
.vx-feat-logo { width: 140px; height: 42px; background: #fff; padding: 4px 10px; border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.vx-feat-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.vx-btn-red { background: #ef4444; color: #fff; font-size: 14px; font-weight: 900; padding: 10px 24px; border-radius: 6px; transition: background 0.2s; white-space: nowrap; box-shadow: 0 4px 10px rgba(239, 68, 68, 0.3); }
.vx-btn-red:hover { background: #dc2626; }

/* 🌟 Rankings 3x3 Clean Cards Grid 🌟 */
.vx-cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.vx-card { background: var(--vx-card); border: 1px solid var(--vx-border); border-radius: 12px; padding: 18px 16px; display: flex; flex-direction: column; justify-content: space-between; box-shadow: 0 2px 6px rgba(0,0,0,0.03); transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s; }
.vx-card:hover { transform: translateY(-3px); box-shadow: 0 6px 16px rgba(0,0,0,0.08); border-color: #cbd5e1; }

.vx-card-top { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.vx-rank-badge { background: #ffe4e6; color: #f43f5e; font-size: 11px; font-weight: 900; padding: 2px 8px; border-radius: 4px; }
.vx-card-title { font-size: 14px; font-weight: 900; color: #111827; }

.vx-card-logo-wrap { height: 46px; display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.vx-card-logo-wrap img { max-height: 100%; max-width: 130px; object-fit: contain; }

.vx-card-checks { list-style: none; margin-bottom: 16px; font-size: 12px; line-height: 1.7; color: #475569; }
.vx-card-checks li { display: flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-card-checks li::before { content: "✔"; color: var(--vx-green-check); font-weight: 900; font-size: 11px; flex-shrink: 0; }

.vx-btn-gray { background: var(--vx-btn-gray); color: #ffffff; font-size: 13px; font-weight: 800; padding: 10px 0; border-radius: 6px; text-align: center; width: 100%; display: block; transition: background 0.2s; }
.vx-card:hover .vx-btn-gray { background: var(--vx-btn-gray-hover); }

/* 🌟 Sidebar Widgets 🌟 */
.vx-side-box { background: #ffffff; border: 1px solid var(--vx-border); border-radius: 12px; padding: 18px; box-shadow: 0 2px 6px rgba(0,0,0,0.02); }
.vx-side-head { font-size: 14px; font-weight: 900; color: #111827; display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; border-bottom: 1px solid #f1f5f9; padding-bottom: 10px; }
.vx-side-sub { font-size: 11px; font-weight: 600; color: #94a3b8; }

/* Popularity Bar Chart (모아겟 바 차트 완벽 구현) */
.vx-chart-list { display: flex; flex-direction: column; gap: 10px; }
.vx-chart-item { display: flex; align-items: center; gap: 8px; font-size: 12px; }
.vx-chart-rank { width: 16px; font-weight: 900; color: #f59e0b; text-align: center; }
.vx-chart-name { width: 62px; font-weight: 800; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vx-chart-bar-wrap { flex: 1; height: 10px; background: #f1f5f9; border-radius: 5px; overflow: hidden; }
.vx-chart-bar-fill { height: 100%; background: #3b82f6; border-radius: 5px; }

/* Notice Box */
.vx-notice-item { margin-bottom: 12px; }
.vx-notice-item:last-child { margin-bottom: 0; }
.vx-notice-pill-red { background: #fee2e2; color: #ef4444; font-size: 10px; font-weight: 900; padding: 2px 6px; border-radius: 4px; display: inline-block; margin-bottom: 4px; }
.vx-notice-pill-yellow { background: #fef3c7; color: #b45309; font-size: 10px; font-weight: 900; padding: 2px 6px; border-radius: 4px; display: inline-block; margin-bottom: 4px; }
.vx-notice-txt { font-size: 12px; color: #475569; line-height: 1.5; }

/* 🌟 Accordion SEO Guide (하단 깔끔한 접이식 박스) 🌟 */
.vx-seo-accordion { background: #ffffff; border: 1px solid var(--vx-border); border-radius: 10px; margin-bottom: 30px; overflow: hidden; }
.vx-seo-header { padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; cursor: pointer; background: #ffffff; user-select: none; }
.vx-seo-title-text { font-size: 13px; font-weight: 800; color: #334155; display: flex; align-items: center; gap: 6px; }
.vx-toggle-btn { font-size: 12px; font-weight: 800; color: #64748b; background: #f1f5f9; padding: 4px 10px; border-radius: 4px; }

.vx-seo-content { display: none; padding: 24px; border-top: 1px solid var(--vx-border); background: #fafafa; font-size: 13px; color: #475569; line-height: 1.8; }
.vx-seo-content h3 { font-size: 15px; font-weight: 900; color: #0f172a; margin: 18px 0 8px 0; }
.vx-seo-content ul { padding-left: 20px; margin-bottom: 16px; list-style-type: disc; color: #2563eb; }
.vx-seo-content li span { color: #475569; }

/* SEO Posts Links */
.vx-posts-link-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-top: 16px; }
.vx-post-item-a { font-size: 12px; color: #2563eb; background: #ffffff; border: 1px solid var(--vx-border); padding: 8px 12px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: block; }
.vx-post-item-a:hover { text-decoration: underline; background: #eff6ff; }

/* Footer */
.vx-footer { background: #ffffff; border-top: 1px solid var(--vx-border); padding: 36px 0; text-align: center; }
.vx-footer-logo { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.vx-footer-desc { font-size: 12px; color: #94a3b8; line-height: 1.7; max-width: 600px; margin: 0 auto 12px auto; }
.vx-footer-contact { font-size: 12px; font-weight: 700; color: #64748b; margin-bottom: 8px; }
.vx-footer-contact a { color: #4f46e5; text-decoration: underline; }
.vx-footer-copy { font-size: 11px; color: #cbd5e1; }

/* Responsive */
@media (max-width: 1024px) {
    .vx-cards-grid { grid-template-columns: repeat(2, 1fr); }
    .vx-posts-link-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .vx-layout-row { flex-direction: column; }
    .vx-side-col { width: 100%; }
    .vx-cards-grid { grid-template-columns: 1fr; }
    .vx-featured-banner { flex-direction: column; text-align: center; gap: 16px; }
    .vx-feat-bullets li { justify-content: center; }
    .vx-feat-right { padding-left: 0; width: 100%; }
    .vx-btn-red { width: 100%; text-align: center; }
}