/* ============================================
   반응형 스타일
   ============================================ */

@media (max-width: 1400px) {
    .page-wrapper { padding: 0 24px; }
}

@media (max-width: 900px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    
    .data-table thead { display: none; }
    
    .data-table tbody tr {
        display: block;
        background: var(--bg-secondary);
        border-radius: var(--radius-lg);
        padding: 16px;
        margin: 10px 16px;
        border: 1px solid var(--border-color);
    }
    
    .data-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .data-table td:last-child { border-bottom: none; }
    
    .data-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        font-size: 0.7rem;
        text-transform: uppercase;
    }
    
    .keyword-cell { flex-direction: column; align-items: flex-end; gap: 10px; }
    .keyword-info { text-align: right; }
    .action-btns { justify-content: flex-end; }
}

@media (max-width: 768px) {
    .page-wrapper { padding: 0 16px; }
    .header { flex-direction: column; text-align: center; }
    .header-right { flex-direction: column; width: 100%; }
    .update-badge { width: 100%; justify-content: center; }
    .social-share { justify-content: center; }
    .hero-section { padding: 24px; }
    .table-header { flex-direction: column; text-align: center; }
    .legend { justify-content: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .archive-grid { grid-template-columns: 1fr; }
}
