/**
 * XeonLink - Main Stylesheet
 * 제온 CPU 중고 리스트 - 알리익스프레스 바로가기
 * Mobile First Responsive Design
 */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    --primary-color: #223355;
    --primary-light: #2d4a6d;
    --accent-color: #36D1DC;
    --accent-gradient: linear-gradient(135deg, #36D1DC 0%, #5B86E5 100%);
    --success-color: #22C55E;
    --warning-color: #ffc107;
    --danger-color: #ff6b6b;
    --text-color: #44464A;
    --text-light: #888;
    --bg-light: #F5F7FA;
    --bg-white: #ffffff;
    --border-color: #e0e0e0;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --transition: all 0.3s ease;
    --font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'Roboto Mono', monospace;
}

/* ============================================
   Reset & Base Styles
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    color: var(--text-color);
    background-color: var(--bg-light);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: inherit;
    border: none;
    background: none;
}

input, select, textarea {
    font-family: inherit;
    font-size: 1rem;
}

/* Skip Link for Accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary-color);
    color: white;
    padding: 8px 16px;
    z-index: 9999;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ============================================
   Header Styles
   ============================================ */
.site-header {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    max-width: 1280px;
    margin: 0 auto;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-icon {
    font-size: 1.8rem;
    color: var(--accent-color);
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-text .accent {
    color: var(--accent-color);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    position: relative;
    transition: var(--transition);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.hamburger::before {
    top: -7px;
}

.hamburger::after {
    top: 7px;
}

/* Navigation */
.main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
}

.main-nav.active {
    display: block;
}

.nav-menu {
    list-style: none;
    padding: 16px;
}

.nav-menu li {
    margin-bottom: 8px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    color: var(--text-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.nav-link:hover {
    background: var(--bg-light);
    color: var(--accent-color);
}

.nav-link i {
    width: 20px;
    text-align: center;
}

.dropdown-menu {
    display: none;
    list-style: none;
    padding-left: 40px;
    margin-top: 8px;
}

.has-dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: var(--text-light);
    font-size: 0.95rem;
}

.dropdown-menu a:hover {
    color: var(--accent-color);
}

/* User Menu */
.user-menu {
    display: none;
}

/* ============================================
   Main Content
   ============================================ */
.main-content {
    flex: 1;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.hero-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.hero-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.3;
}

.hero-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 24px;
    line-height: 1.6;
}

.hero-subtitle .subtitle-brand {
    font-weight: 700;
    color: #FFD700;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero-search {
    margin-bottom: 32px;
}

.search-form {
    display: flex;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.search-form input {
    flex: 1;
    padding: 16px 20px;
    border: none;
    font-size: 1rem;
    color: var(--text-color);
}

.search-form input::placeholder {
    color: var(--text-light);
}

.search-form button {
    padding: 16px 24px;
    background: var(--accent-color);
    color: white;
    font-size: 1.2rem;
}

.search-form button:hover {
    background: #2bc4cf;
}

.hero-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-color);
}

.stat-label {
    font-size: 0.85rem;
    opacity: 0.8;
}

.hero-visual {
    display: none;
}

.cpu-animation {
    font-size: 8rem;
    color: var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* Quick Filter Section */
.quick-filter-section {
    background: var(--bg-white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    overflow-x: auto;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    padding: 0 16px;
    min-width: max-content;
}

.filter-tab {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px;
    background: var(--bg-light);
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
    white-space: nowrap;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    outline: none;
    text-decoration: none;
}

.filter-tab.active,
.filter-tab:hover {
    background: var(--accent-gradient);
    color: white;
}

/* Generation-specific filter tab colors */
.filter-tab[href*="gen=v2"]:hover {
    background: linear-gradient(135deg, #94a3b8, #64748b);
}

.filter-tab[href*="gen=v3"]:hover {
    background: linear-gradient(135deg, #36D1DC, #5B86E5);
}

.filter-tab[href*="gen=v4"]:hover {
    background: linear-gradient(135deg, #22C55E, #16a34a);
}

.filter-tab[href*="high-core"]:hover {
    background: linear-gradient(135deg, #f97316, #ea580c);
}

.filter-tab[href*="ultra-core"]:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}

.filter-options {
    display: none;
}

.sort-select {
    padding: 10px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    background: white;
    color: var(--text-color);
}

/* CPU List Section */
.cpu-list-section {
    padding: 40px 0;
}

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

.section-title {
    font-size: 1.4rem;
    color: var(--primary-color);
}

.section-title i {
    margin-right: 10px;
    color: var(--accent-color);
}

.view-all-link {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.view-all-link:hover {
    text-decoration: underline;
}

/* CPU Grid */
.cpu-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

/* CPU Card */
.cpu-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.cpu-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.cpu-card-header {
    position: relative;
    padding: 20px;
    background: var(--bg-light);
}

.cpu-image {
    text-align: center;
}

.cpu-image img {
    max-height: 120px;
    margin: 0 auto;
}

.favorite-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-sm);
    color: var(--text-light);
    transition: var(--transition);
}

.favorite-btn:hover,
.favorite-btn.active {
    color: var(--danger-color);
}

.favorite-btn.active i {
    font-weight: 900;
}

/* Value Score Badge */
.value-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #333;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 8px rgba(255, 165, 0, 0.4);
}

.value-badge i {
    font-size: 0.9rem;
}

/* Generation Badge */
.gen-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gen-badge.gen-v2 {
    background: linear-gradient(135deg, #94a3b8, #64748b);
    color: #fff;
}

.gen-badge.gen-v3 {
    background: linear-gradient(135deg, #36D1DC, #5B86E5);
    color: #fff;
}

.gen-badge.gen-v4 {
    background: linear-gradient(135deg, #22C55E, #16a34a);
    color: #fff;
}

.gen-badge.gen-scalable {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #fff;
}

.cpu-card-body {
    padding: 20px;
}

.cpu-name {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.cpu-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.spec {
    font-size: 0.8rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 4px 10px;
    border-radius: 20px;
}

.spec i {
    margin-right: 4px;
    color: var(--accent-color);
}

.cpu-benchmark {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.benchmark-bar {
    flex: 1;
    height: 8px;
    background: var(--bg-light);
    border-radius: 4px;
    overflow: hidden;
}

.benchmark-fill {
    height: 100%;
    background: var(--accent-gradient);
    border-radius: 4px;
}

.benchmark-score {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    min-width: 60px;
    text-align: right;
}

.cpu-rating {
    display: flex;
    align-items: center;
    gap: 8px;
}

.stars {
    color: var(--warning-color);
    font-size: 0.9rem;
}

.rating-text {
    font-size: 0.85rem;
    color: var(--text-light);
}

.cpu-card-footer {
    padding: 16px 20px;
    background: var(--bg-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.cpu-price {
    display: flex;
    flex-direction: column;
}

.price-usd {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--success-color);
}

.price-krw {
    font-size: 0.85rem;
    color: var(--text-light);
}

.cpu-actions {
    display: flex;
    gap: 8px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--primary-color);
    color: white;
}

.btn-secondary:hover {
    background: var(--primary-light);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: white;
}

.btn-block {
    width: 100%;
}

.btn-lg {
    padding: 14px 28px;
    font-size: 1rem;
}

.btn-ali {
    background: linear-gradient(135deg, #ff6a00 0%, #ee0979 100%);
}

.btn-ali:hover {
    opacity: 0.9;
}

/* Load More */
.load-more-container {
    text-align: center;
    margin-top: 32px;
}

/* Categories Section */
.categories-section {
    padding: 40px 0;
    background: var(--bg-white);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 16px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: var(--transition);
}

.category-card:hover {
    background: var(--accent-gradient);
    color: white;
    transform: translateY(-4px);
}

.category-card:hover .category-icon {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--accent-color);
    margin-bottom: 12px;
    transition: var(--transition);
}

.category-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.category-count {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Comparison Section */
.comparison-section {
    padding: 40px 0;
}

.section-desc {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-top: 8px;
}

.comparison-box {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.comparison-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.comparison-slot {
    aspect-ratio: 1;
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}

.comparison-slot:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.comparison-slot i {
    font-size: 2rem;
    margin-bottom: 8px;
}

.comparison-slot span {
    font-size: 0.85rem;
}

.btn-compare {
    width: 100%;
}

/* Guide Section */
.guide-section {
    padding: 40px 0;
    background: var(--bg-white);
}

.guide-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.guide-card {
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: var(--transition);
}

.guide-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.guide-icon {
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.guide-card h3 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.guide-card p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.guide-link {
    color: var(--accent-color);
    font-weight: 500;
    font-size: 0.9rem;
}

.guide-link:hover {
    text-decoration: underline;
}

/* Recommendations Section */
.recommendations-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.recommendations-section .sub-title {
    font-size: 1rem;
    color: var(--primary-color);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.recommendations-section .sub-title i {
    color: #f59e0b;
}

.popular-recommendations {
    margin-bottom: 30px;
}

.rec-cpu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.rec-cpu-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: white;
    border-radius: var(--radius-lg);
    text-decoration: none;
    color: inherit;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.rec-cpu-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.rec-rank {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    background: var(--text-light);
    color: white;
    flex-shrink: 0;
}

.rec-cpu-card:nth-child(1) .rec-rank { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.rec-cpu-card:nth-child(2) .rec-rank { background: linear-gradient(135deg, #94a3b8, #64748b); }
.rec-cpu-card:nth-child(3) .rec-rank { background: linear-gradient(135deg, #cd7f32, #b87333); }

.rec-cpu-info {
    flex: 1;
    min-width: 0;
}

.rec-cpu-name {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rec-cpu-specs {
    font-size: 0.8rem;
    color: var(--text-light);
}

.rec-scores {
    text-align: right;
    flex-shrink: 0;
}

.rec-score-main {
    font-size: 1.1rem;
    font-weight: 700;
    color: #f59e0b;
}

.rec-score-main i {
    font-size: 0.9rem;
}

.rec-count {
    display: block;
    font-size: 0.75rem;
    color: var(--text-light);
}

.rec-tags {
    display: none;
}

/* Latest Recommendations */
.latest-rec-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.latest-rec-card {
    background: white;
    border-radius: var(--radius-md);
    padding: 16px;
    box-shadow: var(--shadow-sm);
}

.latest-rec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
}

.latest-cpu-name {
    font-weight: 600;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.95rem;
}

.latest-cpu-name:hover {
    color: var(--accent-color);
}

.latest-gen {
    font-size: 0.65rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
}

.latest-gen.gen-v4 { background: #dbeafe; color: #1d4ed8; }
.latest-gen.gen-v3 { background: #dcfce7; color: #15803d; }
.latest-gen.gen-v2 { background: #fef3c7; color: #b45309; }

.latest-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.latest-tags span {
    font-size: 0.7rem;
    padding: 3px 8px;
    background: var(--bg-light);
    color: var(--primary-color);
    border-radius: 4px;
}

.latest-comment {
    font-size: 0.85rem;
    color: var(--text-color);
    line-height: 1.4;
    margin-bottom: 12px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
}

.latest-rec-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-light);
}

.latest-user {
    display: flex;
    align-items: center;
    gap: 6px;
}

.user-rank {
    font-size: 0.65rem;
    padding: 2px 6px;
    background: var(--accent-color);
    color: white;
    border-radius: 4px;
}

.latest-likes {
    color: #ef4444;
}

.latest-likes i {
    margin-right: 4px;
}

.no-recommendations {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--radius-lg);
}

.no-recommendations i {
    font-size: 3rem;
    color: var(--text-light);
    opacity: 0.3;
    margin-bottom: 16px;
}

.no-recommendations p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Tag colors */
.tag-perf { background: #fee2e2 !important; color: #dc2626 !important; }
.tag-value { background: #dcfce7 !important; color: #16a34a !important; }
.tag-power { background: #e0f2fe !important; color: #0284c7 !important; }
.tag-gaming { background: #f3e8ff !important; color: #9333ea !important; }
.tag-work { background: #fef3c7 !important; color: #d97706 !important; }
.tag-server { background: #e0e7ff !important; color: #4f46e5 !important; }

/* Xeon CPU News Section */
.xeon-news-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.xeon-news-section .section-header {
    text-align: center;
    margin-bottom: 30px;
}

.xeon-news-section .section-title {
    color: #fff;
    margin-bottom: 8px;
}

.xeon-news-section .section-desc {
    color: rgba(255,255,255,0.7);
    font-size: 0.95rem;
}

.xeon-news-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.xeon-news-card {
    background: rgba(255,255,255,0.08);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.1);
}

.xeon-news-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.12);
    border-color: rgba(54,209,220,0.5);
}

.xeon-news-card a {
    text-decoration: none;
    color: inherit;
}

.xeon-news-image {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.xeon-news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.xeon-news-card:hover .xeon-news-image img {
    transform: scale(1.05);
}

.xeon-news-image .news-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #36D1DC 0%, #5B86E5 100%);
    color: #fff;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.xeon-news-content {
    padding: 16px;
}

.xeon-news-content h3 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.xeon-news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
}

.xeon-news-meta i {
    margin-right: 4px;
}

.xeon-news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: rgba(255,255,255,0.5);
}

.xeon-news-empty i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

@media (max-width: 1024px) {
    .xeon-news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .xeon-news-grid {
        grid-template-columns: 1fr;
    }

    .xeon-news-section {
        padding: 30px 0;
    }
}

/* News Section */
.news-section {
    padding: 40px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.news-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.news-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.news-image {
    height: 160px;
    background: var(--bg-light);
    overflow: hidden;
    position: relative;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 16px;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.news-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    color: #fff;
    background: var(--accent-color);
    padding: 3px 8px;
    border-radius: 4px;
}

.news-source {
    font-size: 0.7rem;
    color: var(--text-light);
    padding: 3px 8px;
    background: var(--bg-light);
    border-radius: 4px;
}

.news-content h3 {
    font-size: 0.95rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-content p {
    display: none;
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.5;
    margin-bottom: 10px;
}

.news-date {
    font-size: 0.75rem;
    color: var(--text-light);
}

.news-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
}

.news-empty i {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

/* Uniform News Grid - 8 Cards */
.news-grid-uniform {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.news-card-uniform {
    background: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.news-card-uniform:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.news-card-uniform .news-link {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-card-uniform .news-image {
    height: 140px;
    background: var(--bg-light);
    overflow: hidden;
}

.news-card-uniform .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-uniform:hover .news-image img {
    transform: scale(1.05);
}

.news-card-uniform .news-content {
    padding: 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-uniform .news-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.news-card-uniform .news-category {
    font-size: 0.65rem;
    padding: 2px 6px;
}

.news-card-uniform .news-source {
    font-size: 0.65rem;
    padding: 2px 6px;
}

.news-card-uniform .news-content h3 {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-card-uniform .news-date {
    font-size: 0.7rem;
    color: var(--text-light);
    margin-top: auto;
}

@media (max-width: 1200px) {
    .news-grid-uniform {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .news-grid-uniform {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card-uniform .news-image {
        height: 120px;
    }
}

@media (max-width: 576px) {
    .news-grid-uniform {
        grid-template-columns: 1fr;
    }

    .news-card-uniform .news-image {
        height: 160px;
    }
}

.news-empty p {
    font-size: 1rem;
}

/* FAQ Section */
.faq-section {
    padding: 40px 0;
    background: var(--bg-white);
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--bg-light);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-item summary {
    padding: 16px 20px;
    cursor: pointer;
    font-weight: 500;
    color: var(--primary-color);
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-color);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-answer {
    padding: 0 20px 16px;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-more {
    text-align: center;
    margin-top: 24px;
}

/* ============================================
   Footer Styles
   ============================================ */
.site-footer {
    background: var(--primary-color);
    color: white;
    padding-top: 48px;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 16px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    padding-bottom: 32px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.footer-logo .logo-kr {
    color: #36D1DC;
    font-weight: 700;
    margin-right: 4px;
}

.footer-desc {
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 16px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-color);
}

.footer-section h3 {
    font-size: 1rem;
    margin-bottom: 16px;
    color: var(--accent-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 8px;
}

.footer-links a {
    font-size: 0.9rem;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links a:hover {
    opacity: 1;
    color: var(--accent-color);
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 16px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
}

.newsletter-form button {
    padding: 12px 16px;
    background: var(--accent-color);
    color: white;
    border-radius: var(--radius-sm);
}

/* Affiliate Disclosure */
.affiliate-disclosure {
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    margin-bottom: 24px;
    text-align: center;
}

.affiliate-disclosure p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin: 0;
}

.affiliate-disclosure i {
    color: #ffc107;
    margin-right: 6px;
}

.affiliate-disclosure strong {
    color: #ffc107;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-copyright p {
    font-size: 0.85rem;
    opacity: 0.7;
    margin-bottom: 8px;
}

.footer-copyright .copyright-brand {
    color: #36D1DC;
    font-weight: 600;
    opacity: 1;
}

.footer-disclaimer {
    font-size: 0.75rem;
}

.footer-badges {
    display: flex;
    gap: 16px;
}

.footer-badges .badge-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
}

.footer-badges .badge-item i {
    color: var(--success-color);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 48px;
    height: 48px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary-color);
    color: white;
    padding: 16px;
    z-index: 9999;
}

.cookie-consent.hidden {
    display: none;
}

.cookie-content {
    max-width: 1280px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.cookie-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

.cookie-content a {
    color: var(--accent-color);
}

/* ============================================
   Responsive Styles - Tablet
   ============================================ */
@media (min-width: 768px) {
    .container {
        padding: 0 24px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .cpu-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .guide-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card.featured {
        grid-column: span 2;
        display: flex;
        flex-direction: row;
    }

    .news-card.featured .news-image {
        flex: 0 0 300px;
        height: auto;
        min-height: 200px;
    }

    .news-card.featured .news-content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 24px;
    }

    .news-card.featured .news-content h3 {
        font-size: 1.2rem;
        -webkit-line-clamp: 3;
    }

    .news-card.featured .news-content p {
        display: block;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        display: -webkit-box;
        overflow: hidden;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   Responsive Styles - Desktop
   ============================================ */
@media (min-width: 992px) {
    .mobile-menu-toggle {
        display: none;
    }

    .main-nav {
        display: block;
        position: static;
        background: none;
        box-shadow: none;
    }

    .nav-menu {
        display: flex;
        gap: 8px;
        padding: 0;
    }

    .nav-menu li {
        margin-bottom: 0;
        position: relative;
    }

    .nav-link {
        padding: 8px 16px;
    }

    .dropdown-menu {
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        min-width: 200px;
        padding: 8px 0;
        box-shadow: var(--shadow-md);
        border-radius: var(--radius-sm);
        margin-top: 0;
        padding-left: 0;
    }

    .has-dropdown:hover .dropdown-menu {
        display: block;
    }

    .dropdown-menu a {
        padding: 10px 20px;
    }

    .user-menu {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .btn-login,
    .btn-register {
        padding: 8px 16px;
        font-size: 0.9rem;
    }

    .hero-section {
        padding: 80px 0;
    }

    .hero-container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center;
        gap: 60px;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-visual {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .quick-filter-section {
        overflow: visible;
    }

    .quick-filter-section .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .filter-options {
        display: block;
    }

    .cpu-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(6, 1fr);
    }

    .guide-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .news-grid {
        grid-template-columns: 2fr 1fr 1fr;
    }

    .news-card.featured {
        grid-column: auto;
        grid-row: span 2;
        flex-direction: column;
    }

    .news-card.featured .news-image {
        flex: 0 0 auto;
        height: 220px;
    }

    .news-card.featured .news-content {
        padding: 20px;
    }

    .news-card.featured .news-content h3 {
        font-size: 1.1rem;
    }

    .footer-top {
        grid-template-columns: 2fr 1fr 1fr 1fr 2fr;
    }

    .footer-bottom {
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
    }

    .footer-badges {
        display: flex;
        gap: 12px;
    }

    .footer-badges img {
        height: 32px;
    }

    .cookie-content {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }

    .cookie-content p {
        flex: 1;
    }
}

/* ============================================
   Responsive Styles - Large Desktop
   ============================================ */
@media (min-width: 1280px) {
    .hero-title {
        font-size: 3.2rem;
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.hidden {
    display: none !important;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 24px;
}

.mb-4 {
    margin-bottom: 24px;
}

/* Alert Styles */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-md);
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.alert i {
    font-size: 1.2rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

.alert-error {
    background: rgba(255, 107, 107, 0.1);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
}

.alert-info {
    background: rgba(54, 209, 220, 0.1);
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

/* ============================================
   Live Visitors
   ============================================ */
.live-visitors {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #22C55E;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

/* ============================================
   Community Q&A Section
   ============================================ */
.community-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.qa-form-box {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.qa-form-row {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.qa-form-row:last-child {
    margin-bottom: 0;
}

.qa-form input[type="text"] {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    transition: var(--transition);
}

.qa-form input[type="text"]:focus {
    border-color: var(--accent-color);
    outline: none;
}

.qa-form input#qa-nickname {
    max-width: 150px;
}

.qa-form input#qa-cpu {
    max-width: 200px;
}

.qa-form button {
    white-space: nowrap;
}

/* Q&A List */
.qa-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.qa-loading, .qa-empty, .qa-error {
    text-align: center;
    padding: 40px;
    color: var(--text-light);
}

.qa-empty i, .qa-error i {
    font-size: 2.5rem;
    margin-bottom: 16px;
    opacity: 0.5;
}

.qa-item {
    background: #fff;
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.qa-item:hover {
    box-shadow: var(--shadow-md);
}

.qa-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.qa-nickname {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

.qa-nickname i {
    margin-right: 4px;
    opacity: 0.7;
}

.qa-cpu-tag {
    background: linear-gradient(135deg, #36D1DC 0%, #5B86E5 100%);
    color: #fff;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
}

.qa-cpu-tag i {
    margin-right: 4px;
}

.qa-time {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--text-light);
}

.qa-content {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 12px;
}

.qa-actions {
    display: flex;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.qa-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    background: #f1f5f9;
    color: var(--text-light);
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--transition);
}

.qa-btn:hover {
    background: #e2e8f0;
}

.qa-btn.qa-like.active {
    background: #fee2e2;
    color: #ef4444;
}

.qa-btn.qa-like:hover {
    background: #fee2e2;
    color: #ef4444;
}

.qa-btn.qa-report.active {
    background: #fef3c7;
    color: #d97706;
}

.qa-btn.qa-answer-toggle {
    background: #e0f2fe;
    color: #0284c7;
}

.qa-btn.qa-answer-toggle:hover {
    background: #bae6fd;
}

/* Answers */
.qa-answers {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #e2e8f0;
}

.answer-form {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.answer-form input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.9rem;
}

.answer-form input.answer-nickname {
    max-width: 100px;
}

.answer-form input:focus {
    border-color: var(--accent-color);
    outline: none;
}

.answer-form button {
    padding: 10px 16px;
    background: var(--accent-gradient);
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.answer-item {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 10px;
}

.answer-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.answer-nickname {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-color);
}

.answer-time {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-left: auto;
}

.answer-content {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 8px;
}

.answer-actions {
    display: flex;
    gap: 6px;
}

.answer-actions .qa-btn {
    padding: 4px 10px;
    font-size: 0.8rem;
}

.no-answers {
    text-align: center;
    color: var(--text-light);
    font-size: 0.9rem;
    padding: 16px;
}

.qa-load-more {
    display: block;
    margin: 24px auto 0;
}

/* Toast Notification */
.qa-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1e293b;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 0.9rem;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
}

.qa-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

.qa-toast.error {
    background: #ef4444;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .live-visitors {
        bottom: 10px;
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .qa-form-row {
        flex-wrap: wrap;
    }

    .qa-form input#qa-nickname,
    .qa-form input#qa-cpu {
        max-width: none;
        flex: 1 1 45%;
    }

    .qa-form input#qa-question {
        flex: 1 1 100%;
    }

    .qa-header {
        gap: 8px;
    }

    .qa-time {
        margin-left: 0;
        flex-basis: 100%;
        order: 3;
    }

    .answer-form {
        flex-wrap: wrap;
    }

    .answer-form input.answer-nickname {
        max-width: none;
        flex: 1;
    }

    .answer-form input.answer-text {
        flex: 1 1 100%;
    }
}
