body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-color-primary);
    background-color: var(--bg-color-primary);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow-x: hidden;
    padding: 40px 0;
}

:root {
    --bg-color-primary: #1a1a1a;
    --bg-color-secondary: #2a2a2a;
    --text-color-primary: #fff;
    --text-color-secondary: #aaa;
    --border-color-faint: rgba(255, 255, 255, 0.1);
    --shadow-color-neon: rgba(0, 255, 0, 0.2);
    --shadow-color-neon-strong: rgba(0, 255, 0, 0.6);
    --chart-neon-green: rgba(0, 255, 0, 1);
}

.content-stack {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 1080px; 
    gap: 40px;
}

.dashboard-container {
    width: 1080px;
    min-height: 850px;
    height: auto;
    border-radius: 15px;
    background-color: var(--bg-color-secondary);
    box-shadow: 0 0 30px var(--shadow-color-neon);
    display: flex;
    overflow: hidden;
}

.panel { padding: 25px; display: flex; flex-direction: column; }
.left-panel { flex: 0 0 40%; background-color: var(--bg-color-primary); border-right: 1px solid var(--border-color-faint); }
.right-panel { flex: 1; align-items: center; justify-content: flex-start; position: relative; padding-bottom: 50px; }

.artist-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.artist-item { 
    flex: 0 0 auto; width: 85px; padding: 12px 5px; background-color: var(--bg-color-secondary); 
    border-radius: 10px; display: flex; flex-direction: column; align-items: center; cursor: pointer; transition: 0.2s; 
    box-shadow: 0 0 5px var(--shadow-color-neon);
}
.artist-item:hover { transform: translateY(-5px); box-shadow: 0 0 12px var(--shadow-color-neon-strong); }
.artist-item img { width: 55px; height: 55px; object-fit: contain; }
.artist-item span { margin-top: 8px; font-size: 0.75em; font-weight: bold; text-align: center; }

.radar-chart-container { width: 85%; max-width: 550px; height: 420px; position: relative; margin-bottom: 5px; flex-shrink: 0; }
#hexagonChart { width: 100% !important; height: 100% !important; }
.chart-title-container { text-align: center; margin-bottom: 5px; min-height: 30px; }
.default-title { font-size: 1.8em; color: var(--text-color-secondary); }

.artist-scores { display: flex; flex-direction: column; width: 95%; gap: 10px; margin-top: 0; }
.artist-score-block { display: grid; grid-template-columns: 1.8fr repeat(3, 1fr); align-items: center; background-color: var(--bg-color-primary); padding: 12px 15px; border-radius: 10px; box-shadow: 0 0 8px var(--shadow-color-neon); gap: 10px; }
.logo-name-cell { display: flex; justify-content: center; align-items: center; } /* 중앙 정렬 추가 */
.artist-score-block-img { width: 75px; height: 75px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(0, 255, 204, 0.3)); }
.metrics-column { display: flex; flex-direction: column; align-items: center; gap: 5px; }
.score-label { font-size: 0.8em; color: var(--text-color-secondary); cursor: help; }
.score-value { font-size: 1.2em; font-weight: bold; }

.ad-container-fixed { width: 1080px; min-height: 250px; display: flex; justify-content: center; align-items: center; background-color: rgba(255, 255, 255, 0.01); border: 1px dashed var(--border-color-faint); border-radius: 12px; }

/* --- 3. VOTE DASHBOARD (SPLIT CONTAINERS) --- */
.vote-container-split {
    width: 1080px;
    display: flex;
    gap: 30px;
    align-items: stretch;
}

.vote-panel-container {
    background-color: var(--bg-color-secondary);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 25px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.vote-left-box { flex: 1; background-color: var(--bg-color-primary); border: 1px solid var(--border-color-faint); }

/* OVERLAY (Fixed sizing and centering) */
.voted-overlay {
    position: absolute; 
    top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(15, 15, 15, 0.9); /* Darker for focus */
    display: none; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    z-index: 100;
}
.voted-overlay.active { display: flex; }
.voted-overlay img { width: 150px; height: 150px; object-fit: contain; margin-bottom: 20px; }
.voted-countdown-clock { font-family: 'Courier New', Courier, monospace; font-size: 2.5em; font-weight: bold; color: var(--chart-neon-green); letter-spacing: 2px; text-shadow: 0 0 15px var(--chart-neon-green); }

.vote-artist-grid.voted-bg { opacity: 0.5; filter: grayscale(0.3); pointer-events: none; }

.vote-hero-logo-only { width: 100%; display: flex; justify-content: center; align-items: center; padding: 15px 0; margin-bottom: 15px; border-bottom: 1px solid var(--border-color-faint); }
.vote-hero-logo-only img { width: 90px; height: 90px; object-fit: contain; filter: drop-shadow(0 0 15px var(--chart-neon-green)); }

.vote-list-title, .vote-result-header { font-size: 1.1em; font-weight: bold; color: var(--text-color-secondary); margin-bottom: 15px; text-align: center; text-transform: uppercase; }

.vote-artist-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 10px; }
.vote-artist-item { 
    flex: 0 0 auto;
    width: 85px; 
    background-color: var(--bg-color-secondary); 
    padding: 12px 5px; 
    border-radius: 10px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    cursor: pointer; 
    transition: 0.2s; 
    position: relative;
    box-shadow: 0 0 5px var(--shadow-color-neon);
}

.vote-artist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 12px var(--shadow-color-neon-strong);
    border: 1px solid var(--chart-neon-green);
}

.vote-artist-item img { width: 55px; height: 55px; object-fit: contain; }
.vote-artist-item span { margin-top: 8px; font-size: 0.75em; font-weight: bold; text-align: center; }

.leader-row {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 5px 0;
}

.leader-rank { font-weight: 900; font-size: 1.1em; width: 25px; color: var(--text-color-secondary); text-align: center; }

.leader-name { 
    font-size: 0.85em; 
    font-weight: bold; 
    width: 120px; 
    text-align: center; 
    white-space: nowrap; 
    overflow: hidden; 
    text-overflow: ellipsis; 
}

.leader-bar-bg { 
    flex: 1; 
    height: 12px; 
    background-color: #222; 
    border-radius: 6px; 
    overflow: hidden; 
}

.leader-bar-fill { height: 100%; transition: width 1s ease-in-out; border-radius: 6px; }
.leader-pct { font-size: 0.8em; font-weight: bold; width: 40px; text-align: right; color: var(--chart-neon-green); }

/* Final Ad Wrapper */
.final-ad-wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 40px 0;
    margin-top: 20px;
}

/* Mobile Responsive */
@media (max-width: 1080px) {
    .content-stack { width: 100vw; padding: 0; gap: 20px; }
    .dashboard-container, .ad-container-fixed, .vote-container-split { width: 100%; border-radius: 0; }
    .dashboard-container, .vote-container-split { flex-direction: column; height: auto; min-height: auto; }
    .vote-panel-container { width: 100%; height: auto; min-height: auto; border-radius: 0; border-right: none; border-left: none; margin-bottom: 20px; }
    .vote-left-box { border-bottom: 1px solid var(--border-color-faint); padding: 20px; }
    .vote-right-box { padding: 20px; }
    .vote-artist-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-height: none; overflow-y: visible; }
    .vote-artist-item { padding: 10px 5px; }
    .vote-artist-item img { width: 45px; height: 45px; }
}

/* --- GLOBAL NAVIGATION --- */
.main-nav {
    width: 100%;
    max-width: 1080px;
    margin: 20px auto;
    background: rgba(15, 15, 15, 0.75);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 16px;
    padding: 15px 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.nav-logo {
    font-size: 24px;
    font-weight: 900;
    color: var(--chart-neon-green);
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(0, 255, 204, 0.5);
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    margin-left: 30px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--chart-neon-green);
    text-shadow: 0 0 8px var(--chart-neon-green);
}

/* --- GLOBAL FOOTER --- */
.main-footer {
    width: 100%;
    max-width: 1080px;
    margin: 80px auto 0;
    padding: 40px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    color: #666;
    font-size: 13px;
    box-sizing: border-box;
}

/* --- UNIFIED CARD SYSTEM (Blog, Reports, Carousel) --- */
.blog-card, .artist-card-item, .carousel-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    box-sizing: border-box;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.blog-card:hover, .artist-card-item:hover, .carousel-card:hover {
    background: rgba(0, 255, 204, 0.1);
    border-color: var(--chart-neon-green);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(0, 255, 204, 0.3);
}

.blog-card h3, .carousel-card h4 a, .artist-card-item span {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    text-decoration: none;
}

.blog-card p, .carousel-card p {
    color: #888;
    font-size: 13px;
    margin-top: 12px;
    line-height: 1.4;
}

/* --- BLOG CAROUSEL & CARDS --- */
.carousel-section {
    width: 100%;
    max-width: 1080px;
    margin: 60px auto;
    position: relative;
    padding: 0;
    box-sizing: border-box;
}

.carousel-viewport {
    overflow: hidden;
    width: calc(100% - 120px); 
    margin: 0 auto;
}

.carousel-container {
    display: flex;
    gap: 20px;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    will-change: transform;
    transform: translateX(0); /* Initial position */
}

/* Override for carousel card to fit grid */
.carousel-card {
    min-width: calc(33.333% - 14px);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 255, 204, 0.15);
    border: 1px solid rgba(0, 255, 204, 0.3);
    color: #fff;
    font-size: 24px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-btn:hover {
    background: var(--chart-neon-green);
    color: #000;
}

.carousel-btn.left { left: 0; }
.carousel-btn.right { right: 0; }

/* --- BLOG GRID & CARDS --- */
.blog-grid, .artist-report-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 30px;
    width: 100%;
}

/* --- BLOG MAIN CARD STYLE --- */
.blog-main-card {
    background: rgba(15, 15, 15, 0.75);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 20px;
    padding: 60px 40px;
    margin: 40px auto;
    max-width: 1080px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

/* Mobile Responsive */
@media (max-width: 1080px) {
    .content-stack { width: 100vw; padding: 0; gap: 20px; }
    .dashboard-container, .ad-container-fixed, .vote-container-split { width: 100%; border-radius: 0; }
    .dashboard-container, .vote-container-split { flex-direction: column; height: auto; min-height: auto; }
    
    /* Common panel padding for consistency */
    .panel, .vote-panel-container { padding: 25px; height: auto; min-height: auto; border-radius: 0; border-right: none; border-left: none; box-sizing: border-box; }
    .vote-panel-container { margin-bottom: 20px; }
    .vote-left-box { border-bottom: 1px solid var(--border-color-faint); }

    /* Unified Grid settings */
    .artist-list, .vote-artist-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; max-height: none; overflow-y: visible; }
    .artist-item, .vote-artist-item { width: 85px; padding: 10px 5px; flex: 0 0 auto; }
    .artist-item img, .vote-artist-item img { width: 45px; height: 45px; }

    /* Blog and Carousel adjustments */
    .carousel-section, .blog-main-card, .main-footer { max-width: 100%; padding: 0 20px; }
    .carousel-viewport { width: calc(100% - 100px); }
    .carousel-card { min-width: 50%; }
}

@media (max-width: 600px) {
    .carousel-card { min-width: 100%; }
    .carousel-btn { width: 35px; height: 35px; font-size: 18px; }
    .carousel-viewport { width: calc(100% - 80px); }
    .artist-item, .vote-artist-item { width: 75px; } /* Slightly smaller for very narrow screens */
}

/* --- COMMUNITY SECTION --- */
.community-section {
    background: rgba(15, 15, 15, 0.75);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 20px;
    padding: 40px;
    margin: 40px auto;
    max-width: 1080px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    width: 100%;
    box-sizing: border-box;
}

.community-title {
    color: var(--chart-neon-green);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#disqus_thread {
    width: 100%;
    min-height: 300px;
}

/* --- BOTTOM INTERACTION GRID (Ad + Disqus) --- */
.bottom-interaction-grid {
    display: flex;
    max-width: 1080px;
    margin: 40px auto;
    gap: 30px;
    align-items: stretch;
}

.ad-side-box {
    flex: 0 0 45%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.community-side-box {
    flex: 1;
    background: rgba(15, 15, 15, 0.75);
    border: 1px solid rgba(0, 255, 204, 0.2);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

@media (max-width: 1080px) {
    .bottom-interaction-grid {
        flex-direction: column;
        padding: 0 20px;
    }
    .ad-side-box, .community-side-box { width: 100%; }
}

/* --- REFINED INTERACTION BOXES (VERTICAL) --- */
.interaction-container-vertical {
    width: 1080px;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px auto;
}

.interaction-box {
    background-color: var(--bg-color-secondary);
    border-radius: 15px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    padding: 25px;
    display: flex;
    flex-direction: column;
    border: 1px solid var(--border-color-faint);
    width: 100%;
    box-sizing: border-box;
}

.interaction-disqus { flex: 1; min-height: 300px; }
.interaction-ad { align-items: center; justify-content: center; padding: 20px; }

@media (max-width: 1080px) {
    .interaction-container-vertical {
        width: 100%;
        padding: 0 20px;
    }
}

/* --- SOCIAL SHARE TOOLBAR --- */
.share-toolbar {
    display: flex;
    margin-top: 15px;
    justify-content: center;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-download { 
    background-color: var(--chart-neon-green); 
    color: #000; 
    padding: 12px 30px; /* 크기 살짝 키움 */
    font-size: 15px;
}

.share-btn i { font-size: 16px; }

/* --- BLOG TO HOME CTA BUTTON --- */
.blog-cta-container {
    max-width: 1080px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.btn-vote-main {
    display: block;
    width: 100%;
    background: linear-gradient(90deg, #00ffcc, #00ff66);
    color: #000;
    text-align: center;
    padding: 20px;
    border-radius: 15px;
    text-decoration: none;
    font-size: 20px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 255, 102, 0.2);
}

.btn-vote-main:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 255, 102, 0.4);
    filter: brightness(1.1);
}

/* --- Blog Post & Table Enhancements --- */
.blog-post {
    max-width: 850px;
    margin: 40px auto;
    line-height: 1.8;
    color: var(--text-color-primary);
    background-color: var(--bg-color-secondary);
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
}

.post-title {
    font-size: 32px;
    color: #fff;
    margin-bottom: 30px;
    text-align: center;
}

.blog-content h2 {
    color: var(--chart-neon-green);
    margin-top: 50px;
    margin-bottom: 20px;
    border-left: 4px solid var(--chart-neon-green);
    padding-left: 15px;
    font-size: 24px;
}

.data-table-container {
    margin: 35px 0;
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid var(--border-color-faint);
    background-color: var(--bg-color-primary);
}

.data-table-container table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table-container th {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 18px;
    color: var(--text-color-secondary);
    font-size: 0.85em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.data-table-container td {
    padding: 18px;
    border-top: 1px solid var(--border-color-faint);
    font-size: 1.05em;
}

.table-note {
    font-size: 0.8em;
    color: var(--text-color-secondary);
    padding: 12px 18px;
    background-color: rgba(0, 0, 0, 0.3);
    margin: 0;
    border-top: 1px solid var(--border-color-faint);
}

.conclusion {
    background: linear-gradient(145deg, #222, #111);
    padding: 35px;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    margin-top: 60px;
}

.conclusion h3 {
    color: var(--chart-neon-green);
    margin-top: 0;
}

/* --- News Timeline Styles --- */
.timeline-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
    margin-top: 60px;
}

.timeline-item {
    border-bottom: 1px solid var(--border-color-faint);
    padding-bottom: 60px;
}

.timeline-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

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

.timeline-date {
    font-size: 1.5em;
    font-weight: bold;
    color: var(--chart-neon-green);
}

.timeline-link {
    color: var(--text-color-secondary);
    text-decoration: none;
    font-size: 0.9em;
    transition: color 0.3s;
}

.timeline-link:hover {
    color: var(--text-color-primary);
}

.timeline-content .blog-content {
    background-color: #222; /* Slightly lighter than the main background */
    padding: 35px;
    border-radius: 10px;
    border: 1px solid var(--border-color-faint);
}

.timeline-content .blog-content h1 {
    font-size: 1.8em; /* H1 in timeline should be smaller */
    margin-bottom: 20px;
}

.timeline-content .blog-content h2 {
    font-size: 1.2em; /* H2 in timeline should be smaller */
    margin-top: 15px;
    margin-bottom: 10px;
    border-left: 2px solid var(--chart-neon-green);
    padding-left: 10px;
}

.timeline-content .blog-content p {
    font-size: 0.9em; /* Paragraph text in timeline */
    line-height: 1.6;
    margin-bottom: 10px;
}


