.brand-content {
    max-width: 100%;
    width: 100%;
    margin: 0;
    padding: 32px 200px;
}

.brand-search-section {
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.brand-header-content {
    text-align: center;
    margin-bottom: 8px;
}

.brand-page-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 12px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    letter-spacing: -0.5px;
}

.brand-page-title i {
    color: var(--primary-color);
    font-size: 28px;
}

.brand-page-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 0;
}

.brand-search-form {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 640px;
    /* 넓이 확장 */
    background: var(--bg-primary);
    border-radius: 100px;
    /* 둥글게 변경 */
    padding: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    /* 그림자 강화 */
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.brand-search-form:focus-within {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.brand-input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    background: transparent;
    color: var(--text-primary);
}

.brand-input::placeholder {
    color: var(--text-tertiary);
}

.btn-search {
    padding: 12px 24px;
    background: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-search:hover {
    background: var(--primary-hover);
}

.filter-section {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 8px 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}

.filter-btn.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.filter-btn:hover:not(.active) {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.stats-section {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.stat-item {
    background: var(--bg-primary);
    padding: 20px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    flex: 1;
    min-width: 160px;
    border: 1px solid var(--border-color);
    transition: all 0.2s ease;
}

.stat-item:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: -0.5px;
}

.products-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* 브랜드 랭킹 섹션 */
.brand-ranking-section {
    margin-top: 32px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.ranking-filters {
    display: flex;
    gap: 8px;
}

.ranking-filters .filter-btn {
    padding: 6px 12px;
    font-size: 12px;
}

.brand-ranking-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}

.brand-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 20px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.brand-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.brand-card-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.brand-rank {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 40px;
    text-align: center;
}

.brand-logo,
.brand-logo-placeholder {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    object-fit: contain;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.brand-logo-placeholder {
    font-size: 24px;
    color: var(--text-tertiary);
}

.brand-info {
    flex: 1;
    min-width: 0;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-name-en {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.brand-card-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border-color);
}

.brand-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.brand-stat .stat-label {
    font-size: 11px;
    color: var(--text-tertiary);
    margin: 0;
}

.brand-stat .stat-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.brand-card-actions {
    display: flex;
    gap: 8px;
}

.btn-view-products {
    flex: 1;
    padding: 10px 16px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-view-products:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
}

.brand-products-section {
    margin-top: 32px;
}

/* 상품 카드 스타일 (brand 페이지용) */
.product-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.2s ease;
}

.product-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.product-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.product-image {
    width: 100%;
    height: 280px;
    object-fit: cover;
    background: var(--bg-secondary);
}

.product-info {
    padding: 16px;
}

.platform-badge {
    display: inline-block;
    padding: 4px 8px;
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
}

.product-name {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-price {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.product-metrics {
    display: flex;
    gap: 8px;
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--border-color);
}

.product-metrics span {
    display: flex;
    align-items: center;
}

/* 브랜드 비교 체크박스 */
.brand-compare-checkbox {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: all 0.2s ease;
}

.brand-compare-checkbox:hover {
    background: var(--bg-secondary);
}

.brand-compare-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.brand-card.selected {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.btn-compare {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-compare:hover {
    background: var(--primary-hover);
    transform: translateY(-1px);
}

/* 브랜드 비교 섹션 */
.brand-compare-section {
    margin-top: 32px;
}

.compare-content {
    margin-top: 24px;
}

.compare-table-wrapper {
    overflow-x: auto;
    margin-bottom: 32px;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.compare-table th,
.compare-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.compare-table th {
    background: var(--bg-secondary);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.compare-table td {
    font-size: 14px;
    color: var(--text-secondary);
}

.compare-table tbody tr:hover {
    background: var(--bg-secondary);
}

.compare-brand-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.compare-brand-logo {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    object-fit: contain;
    background: var(--bg-secondary);
}

.compare-brand-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 14px;
}

.compare-brand-name-en {
    font-size: 12px;
    color: var(--text-tertiary);
    margin-top: 2px;
}

.compare-label {
    font-weight: 600;
    color: var(--text-primary);
    background: var(--bg-secondary);
    width: 150px;
}

.compare-value {
    text-align: center;
    font-weight: 500;
}

.compare-charts {
    margin-top: 32px;
}

.compare-charts h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.compare-charts .chart-container {
    margin-bottom: 32px;
    min-height: 300px;
}

.load-more-container {
    text-align: center;
    padding: 16px;
    margin-top: 8px;
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-load-more:hover:not(:disabled) {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-1px);
}

.btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-load-more i {
    font-size: 16px;
}

/* 트렌드 랭킹 섹션 */
.trend-ranking-section {
    margin-top: 32px;
}

.refresh-control {
    display: flex;
    align-items: center;
    gap: 16px;
}

.update-time {
    font-size: 13px;
    color: var(--text-secondary);
}

.update-time span {
    font-weight: 600;
    color: var(--text-primary);
}

.btn-refresh {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-primary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-refresh:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-refresh i {
    font-size: 14px;
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin-top: 24px;
}

.platform-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s ease;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.platform-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-secondary);
}

.platform-logo {
    width: 32px;
    height: 32px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    background: var(--bg-primary);
    padding: 4px;
}

.card-header h3 {
    flex: 1;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.card-header .badge {
    padding: 4px 10px;
    background: var(--primary-color);
    color: white;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ranking-list-container {
    padding: 16px;
    min-height: 200px;
    max-height: 600px;
    overflow-y: auto;
    flex: 1;
}

.ranking-list-container::-webkit-scrollbar {
    width: 6px;
}

.ranking-list-container::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: var(--radius-sm);
}

.ranking-list-container::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-sm);
}

.ranking-list-container::-webkit-scrollbar-thumb:hover {
    background: var(--text-tertiary);
}

.trend-rank-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.rank-item:hover {
    background: var(--bg-primary);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.rank-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    min-width: 32px;
    background: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.rank-item:hover .rank-badge {
    border-color: var(--primary-color);
    background: var(--primary-color);
    color: white;
}

.rank-badge.rank-1 {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-color: #ffd700;
    color: #1a1a1a;
    box-shadow: 0 2px 4px rgba(255, 215, 0, 0.3);
}

.rank-badge.rank-2 {
    background: linear-gradient(135deg, #c0c0c0 0%, #e8e8e8 100%);
    border-color: #c0c0c0;
    color: #1a1a1a;
    box-shadow: 0 2px 4px rgba(192, 192, 192, 0.3);
}

.rank-badge.rank-3 {
    background: linear-gradient(135deg, #cd7f32 0%, #e6a55d 100%);
    border-color: #cd7f32;
    color: white;
    box-shadow: 0 2px 4px rgba(205, 127, 50, 0.3);
}

.item-thumb {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.rank-item:hover .item-thumb img {
    transform: scale(1.1);
}

.item-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-brand {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.item-name {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 36px;
}

.item-price {
    font-size: 15px;
    font-weight: 700;
    color: var(--primary-color);
    margin-top: 2px;
    letter-spacing: -0.3px;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    margin: 40px auto;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    text-align: center;
    color: var(--text-secondary);
}

.error-state i {
    font-size: 48px;
    color: var(--text-tertiary);
    margin-bottom: 16px;
}

.error-state p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

/* =============================================================================
   Europe Q3-25 Hottest Brands Ranking Section
   ============================================================================= */
.europe-ranking-section {
    margin-top: 40px;
    padding: 24px;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
}

.europe-ranking-section .section-header {
    margin-bottom: 24px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
}

.europe-ranking-section .section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
}

.quarter-badge {
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-color);
    background: var(--bg-secondary);
    padding: 4px 10px;
    border-radius: var(--radius-full);
}

.section-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.europe-ranking-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.ranking-column {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.europe-ranking-section .ranking-item {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    cursor: pointer;
}

.europe-ranking-section .ranking-item:hover {
    background: var(--bg-primary);
    border-color: var(--primary-color);
    box-shadow: var(--shadow-sm);
    transform: translateX(4px);
}

.europe-ranking-section .rank {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-color);
    min-width: 28px;
    margin-right: 12px;
}

.europe-ranking-section .brand-name {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.europe-ranking-section .brand-kr {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-secondary);
}

.europe-ranking-section .change {
    font-size: 12px;
    font-weight: 600;
    min-width: 50px;
    text-align: right;
}

.europe-ranking-section .change.up {
    color: var(--success-color, #10b981);
}

.europe-ranking-section .change.down {
    color: var(--danger-color, #ef4444);
}

.europe-ranking-section .change.same {
    color: var(--text-tertiary);
}

.europe-ranking-section .change.new {
    color: var(--warning-color, #f59e0b);
    font-weight: 700;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .europe-ranking-grid {
        grid-template-columns: 1fr;
    }

    .europe-ranking-section {
        padding: 16px;
    }

    .europe-ranking-section .section-header h2 {
        font-size: 18px;
    }
}

/* Naver Volume Section Styles (Redesigned Premium) */
.naver-volume-section {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.naver-volume-section .section-header {
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.naver-volume-section .section-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid #f1f5f9;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
    border-color: transparent;
}

/* Glassmorphic decorative circles */
.stat-card::after {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    opacity: 0.1;
    z-index: 0;
}

.stat-card.blue::after {
    background: #3b82f6;
}

.stat-card.green::after {
    background: #10b981;
}

.stat-card.orange::after {
    background: #f59e0b;
}

.stat-card.purple::after {
    background: #8b5cf6;
}

.stat-content-wrapper {
    position: relative;
    z-index: 1;
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.stat-icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-icon {
    transform: scale(1.1) rotate(5deg);
}

.stat-card.blue .stat-icon {
    background: linear-gradient(135deg, #eff6ff, #dbeafe);
    color: #2563eb;
}

.stat-card.green .stat-icon {
    background: linear-gradient(135deg, #ecfdf5, #d1fae5);
    color: #059669;
}

.stat-card.orange .stat-icon {
    background: linear-gradient(135deg, #fffbeb, #fef3c7);
    color: #d97706;
}

.stat-card.purple .stat-icon {
    background: linear-gradient(135deg, #f5f3ff, #ede9fe);
    color: #7c3aed;
}

.stat-title {
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    margin-top: 4px;
}

.stat-main-value {
    margin-bottom: 8px;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: #0f172a;
    line-height: 1.1;
    letter-spacing: -0.04em;
    font-family: 'Outfit', -apple-system, sans-serif;
    /* Ensuring modern font if available */
}

.stat-sub-info {
    font-size: 13px;
    color: #94a3b8;
    background: #f8fafc;
    padding: 8px 12px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    width: fit-content;
}

.stat-sub-info span {
    color: #475569;
    font-weight: 600;
}

/* Tablet / Mobile Responsive */
@media (max-width: 1200px) {
    .volume-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .volume-stats-grid {
        grid-template-columns: 1fr;
    }

    .naver-volume-section {
        padding: 20px;
    }

    .stat-value {
        font-size: 28px;
    }
}

.stat-info {
    flex: 1;
}

.stat-title {
    display: block;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 4px;
    font-weight: 500;
}

.stat-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 2px;
}

.stat-sub {
    display: block;
    font-size: 12px;
    color: #9ca3af;
}

.related-keywords-table-wrapper h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #111827;
}

.table-scroll {
    overflow-x: auto;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
}

.volume-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    white-space: nowrap;
}

.volume-table th {
    background: #f9fafb;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #4b5563;
    border-bottom: 1px solid #e5e7eb;
}

.volume-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #374151;
}

.volume-table tbody tr:hover {
    background: #f9fafb;
}

.volume-table td:nth-child(3),
.volume-table td:nth-child(4),
.volume-table td:nth-child(5) {
    font-weight: 600;
    color: #1f2937;
}

/* Naver Trend Section Styles */
.naver-trend-section {
    margin-bottom: 40px;
    background: #fff;
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(229, 231, 235, 0.5);
}

.naver-trend-section .section-header {
    margin-bottom: 24px;
}

.naver-trend-section .section-header h2 {
    font-size: 22px;
    font-weight: 800;
    color: #1e293b;
    letter-spacing: -0.025em;
    display: flex;
    align-items: center;
    gap: 10px;
}

.trend-chart-container {
    position: relative;
    height: 350px;
    width: 100%;
}

@media (max-width: 640px) {
    .trend-chart-container {
        height: 250px;
    }

    .naver-trend-section {
        padding: 20px;
    }
}

/* Month-over-Month Change Badge */
.stat-mom-badge {
    margin-top: 12px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    width: fit-content;
}

.stat-mom-badge.up {
    background: linear-gradient(135deg, #dcfce7, #bbf7d0);
    color: #15803d;
}

.stat-mom-badge.down {
    background: linear-gradient(135deg, #fee2e2, #fecaca);
    color: #dc2626;
}

.stat-mom-badge.neutral {
    background: #f1f5f9;
    color: #64748b;
}