/* ==========================================
   Quelle Config — Gaming Dark Theme CSS
   ========================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&family=JetBrains+Mono:wght@400;600&display=swap');

/* ---------- CSS Variables ---------- */
:root {
    --primary: #0077B6;
    --primary-light: #00A8E8;
    --primary-dark: #005A8C;
    --secondary: #90E0EF;
    --secondary-dark: #48CAE4;
    --accent: #00F0FF;
    --bg-dark: #0a0e17;
    --bg-card: #111827;
    --bg-card-hover: #1a2332;
    --bg-surface: #0f1520;
    --bg-input: #1a2332;
    --text-primary: #f0f4f8;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1e293b;
    --border-light: #2d3a4f;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --ig-orange: #f97316;
    --amazon-orange: #ff9900;
    --radius: 12px;
    --radius-sm: 8px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 30px rgba(0, 119, 182, 0.15);
    --transition: 0.25s ease;
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --container: 1200px;
    --header-height: 72px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-dark);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

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

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

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

/* ---------- Container ---------- */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Header / Nav ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.92);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: var(--header-height);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--text-primary);
    text-decoration: none;
}

.logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.logo span {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

/* Mobile menu */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
}

/* ---------- Hero ---------- */
.hero {
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: visible;
    z-index: 10;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 119, 182, 0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 119, 182, 0.15);
    border: 1px solid rgba(0, 119, 182, 0.3);
    color: var(--secondary);
    font-size: 0.85rem;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 999px;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.hero h1 .gradient,
.hero .hero-highlight .gradient {
    background: linear-gradient(135deg, var(--secondary), var(--accent), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .hero-highlight {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
}

/* ---------- Search Bar ---------- */
.search-box {
    max-width: 640px;
    margin: 0 auto;
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 18px 24px 18px 56px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1.1rem;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box input::placeholder {
    color: var(--text-muted);
}

.search-box input:focus {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.search-box .search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
}

.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
    box-shadow: var(--shadow);
}

.search-results.active {
    display: block;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    cursor: pointer;
    transition: background var(--transition);
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-primary);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--bg-card-hover);
}

.search-result-item img {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.search-result-item .result-info h4 {
    font-size: 0.95rem;
    font-weight: 600;
}

.search-result-item .result-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ---------- Section Headings ---------- */
.section-title {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 40px;
}

/* ---------- Game Cards Grid ---------- */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    text-decoration: none;
    color: var(--text-primary);
    display: block;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.game-card-cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: var(--bg-surface);
}

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

.game-card-body h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.game-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.game-card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 3px 10px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 999px;
    background: rgba(0, 119, 182, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(0, 119, 182, 0.25);
}

.tag--genre {
    background: rgba(144, 224, 239, 0.1);
    color: var(--secondary-dark);
    border-color: rgba(144, 224, 239, 0.2);
}

/* ---------- Spec Table ---------- */
.specs-table-wrapper {
    overflow-x: auto;
    margin: 32px 0;
}

.specs-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
}

.specs-table th,
.specs-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.specs-table thead th {
    background: rgba(0, 119, 182, 0.1);
    color: var(--secondary);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.specs-table thead th:first-child {
    border-radius: var(--radius) 0 0 0;
}

.specs-table thead th:last-child {
    border-radius: 0 var(--radius) 0 0;
}

.specs-table tbody tr:last-child td {
    border-bottom: none;
}

.specs-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.specs-table td:first-child {
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.spec-col-min { color: var(--warning); }
.spec-col-rec { color: var(--success); }
.spec-col-ultra { color: var(--accent); }

/* ---------- FPS Grid ---------- */
.fps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.fps-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: border-color var(--transition);
}

.fps-card:hover {
    border-color: var(--primary);
}

.fps-card h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.fps-value {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.fps-excellent .fps-value { color: var(--success); }
.fps-good .fps-value { color: #4ade80; }
.fps-ok .fps-value { color: var(--warning); }
.fps-bad .fps-value { color: var(--danger); }

.fps-label {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.fps-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    background: rgba(255, 193, 7, 0.08);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: var(--radius-sm);
    padding: 10px 16px;
    margin-top: 12px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.fps-res {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
    font-size: 0.8rem;
}

.fps-res span {
    color: var(--text-muted);
}

.fps-res strong {
    font-family: var(--font-mono);
}

/* ---------- GPU Checker Widget ---------- */
.gpu-checker {
    background: linear-gradient(135deg, rgba(0, 119, 182, 0.08), rgba(144, 224, 239, 0.05));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 40px;
    text-align: center;
    margin: 48px 0;
}

.gpu-checker h2 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.gpu-checker p {
    color: var(--text-secondary);
    margin-bottom: 24px;
}

.gpu-select {
    width: 100%;
    max-width: 400px;
    padding: 14px 20px;
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2394a3b8' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.gpu-select:focus {
    border-color: var(--primary);
    outline: none;
}

.gpu-result {
    margin-top: 24px;
    padding: 24px;
    border-radius: var(--radius);
    display: none;
}

.gpu-result.active {
    display: block;
}

.gpu-result.good {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.gpu-result.ok {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.gpu-result.bad {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.gpu-result .verdict-icon {
    font-size: 2.5rem;
    margin-bottom: 8px;
}

.gpu-result .verdict-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.gpu-result .verdict-details {
    color: var(--text-secondary);
    margin-top: 8px;
    font-size: 0.95rem;
}

/* ---------- Prices Table ---------- */
.prices-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
    overflow: hidden;
}

.prices-table th,
.prices-table td {
    padding: 14px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.prices-table thead th {
    background: rgba(0, 119, 182, 0.08);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.prices-table tbody tr:last-child td {
    border-bottom: none;
}

.prices-table tbody tr:hover {
    background: var(--bg-card-hover);
}

.prices-table tr.row-affiliate {
    background: rgba(249, 115, 22, 0.04);
}

.prices-table tr.row-affiliate:hover {
    background: rgba(249, 115, 22, 0.08);
}

.price-current {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--success);
}

.price-original {
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-decoration: line-through;
    font-size: 0.85rem;
}

.price-discount {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
}

.btn-deal {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: #fff;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    transition: background var(--transition);
}

.btn-deal:hover {
    background: var(--primary-light);
    color: #fff;
}

/* ---------- FAQ Accordion ---------- */
.faq-section {
    margin: 48px 0;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    background: none;
    border: none;
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: background var(--transition);
}

.faq-question:hover {
    background: var(--bg-card-hover);
}

.faq-question .faq-toggle {
    font-size: 1.2rem;
    color: var(--primary);
    transition: transform var(--transition);
}

.faq-item.open .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
    max-height: 500px;
    padding: 0 24px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---------- GPU Hub Cards ---------- */
.gpu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.gpu-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    color: var(--text-primary);
    transition: transform var(--transition), border-color var(--transition);
}

.gpu-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
}

.gpu-card-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.gpu-card-icon.nvidia { background: linear-gradient(135deg, #76b900, #5a8f00); }
.gpu-card-icon.amd { background: linear-gradient(135deg, #ed1c24, #b8161b); }
.gpu-card-icon.intel { background: linear-gradient(135deg, #0071c5, #005a9e); }

.gpu-card-info h3 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.gpu-card-info span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---------- Compare Section ---------- */
.compare-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 24px;
    align-items: start;
    margin: 32px 0;
}

.compare-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
}

.compare-vs {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--primary);
    padding-top: 40px;
}

.compare-stat {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.compare-stat:last-child {
    border-bottom: none;
}

.compare-stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.compare-stat-value {
    font-family: var(--font-mono);
    font-weight: 700;
}

.compare-stat-value.winner {
    color: var(--success);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--text-muted);
}

.breadcrumb a:hover {
    color: var(--secondary);
}

.breadcrumb .sep {
    color: var(--border-light);
}

/* ---------- Game Hero ---------- */
.game-hero {
    position: relative;
    padding: 48px 0 40px;
    margin-bottom: 32px;
}

.game-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    filter: blur(20px);
    z-index: 0;
}

.game-hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.game-cover {
    width: 200px;
    min-width: 200px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    object-fit: cover;
    aspect-ratio: 3/4;
    background: var(--bg-card);
}

.game-info {
    flex: 1;
}

.game-info h1 {
    font-size: 2.2rem;
    font-weight: 900;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.game-meta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.game-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.game-meta-item i {
    color: var(--primary);
}

.game-description {
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
}

.game-description.truncated {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-main);
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #fff;
}

.btn-primary:hover {
    background: var(--primary-light);
    color: #fff;
    transform: translateY(-1px);
}

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

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--secondary);
}

.btn-ghost {
    background: rgba(0, 119, 182, 0.1);
    color: var(--secondary);
}

.btn-ghost:hover {
    background: rgba(0, 119, 182, 0.2);
}

/* ---------- Similar Games ---------- */
.similar-games {
    margin: 48px 0;
}

/* ---------- Page Section ---------- */
.page-section {
    padding: 48px 0;
}

.page-section + .page-section {
    border-top: 1px solid var(--border);
}

/* ---------- Performance Analysis ---------- */
.perf-analysis {
    line-height: 1.8;
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 800px;
}
.perf-analysis p {
    margin-bottom: 14px;
}
.perf-analysis p:last-child {
    margin-bottom: 0;
}
.perf-analysis strong {
    color: var(--text-primary);
}

/* ---------- Footer ---------- */
.site-footer {
    background: var(--bg-surface);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
    margin-top: 80px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-about h3 {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.footer-about p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

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

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

.footer-col ul a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-col ul a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* ---------- Scroll Reveal ---------- */
.reveal-on-scroll {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* ---------- GPU Hero Card ---------- */
.gpu-hero-card {
    width: 200px;
    min-height: 220px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
    box-shadow: var(--shadow);
}
.gpu-hero-card-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary);
}
.gpu-hero-card.nvidia .gpu-hero-card-accent { background: #76b900; }
.gpu-hero-card.amd .gpu-hero-card-accent { background: #ed1c24; }
.gpu-hero-card.intel .gpu-hero-card-accent { background: #0071c5; }
.gpu-hero-card-icon {
    font-size: 3rem;
    margin-bottom: 12px;
}
.gpu-hero-card-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-align: center;
}
.gpu-hero-card-brand {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
}
.gpu-hero-card-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
}
.gpu-hero-card-spec {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ---------- Tier Badge ---------- */
.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
}

.tier-1 { background: rgba(148, 163, 184, 0.15); color: #94a3b8; }
.tier-2 { background: rgba(34, 197, 94, 0.15); color: #22c55e; }
.tier-3 { background: rgba(0, 119, 182, 0.15); color: #00A8E8; }
.tier-4 { background: rgba(168, 85, 247, 0.15); color: #a855f7; }

/* ---------- Metacritic Badge ---------- */
.metacritic {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.9rem;
}

.metacritic.high { background: rgba(34, 197, 94, 0.2); color: var(--success); border: 2px solid var(--success); }
.metacritic.mid { background: rgba(245, 158, 11, 0.2); color: var(--warning); border: 2px solid var(--warning); }
.metacritic.low { background: rgba(239, 68, 68, 0.2); color: var(--danger); border: 2px solid var(--danger); }

/* ---------- Empty State ---------- */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
    color: var(--border-light);
}

.empty-state h2 {
    font-size: 1.3rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

/* ---------- 404 Page ---------- */
.page-404 {
    text-align: center;
    padding: 120px 20px;
}

.page-404 h1 {
    font-size: 6rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 16px;
}

/* ---------- Loading Skeleton ---------- */
.skeleton {
    background: linear-gradient(90deg, var(--bg-card) 25%, var(--bg-card-hover) 50%, var(--bg-card) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ==========================================
   AFFILIATION — Instant Gaming + Amazon
   ========================================== */

/* --- Instant Gaming Banner --- */
.ig-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0.05));
    border: 1px solid rgba(249, 115, 22, 0.3);
    border-radius: var(--radius);
    padding: 20px 24px;
    flex-wrap: wrap;
}

.ig-banner-left {
    display: flex;
    align-items: center;
    gap: 14px;
}

.ig-banner-left img {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.ig-banner-left strong {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: var(--ig-orange);
}

.ig-banner-left span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.ig-banner-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.ig-price {
    font-family: var(--font-mono);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--ig-orange);
}

/* --- Instant Gaming Button --- */
.btn-ig {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--ig-orange), #ea580c);
    color: #fff !important;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
    border: none;
    cursor: pointer;
}

.btn-ig:hover {
    background: linear-gradient(135deg, #ea580c, #c2410c);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(249, 115, 22, 0.35);
    color: #fff !important;
}

/* --- Amazon Widget --- */
.amazon-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.amazon-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(255, 153, 0, 0.08);
    border-bottom: 1px solid var(--border);
}

.amazon-logo {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 1rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

.amazon-tag {
    font-size: 0.7rem;
    font-weight: 600;
    background: rgba(255, 153, 0, 0.15);
    color: var(--amazon-orange);
    padding: 2px 8px;
    border-radius: 999px;
    border: 1px solid rgba(255, 153, 0, 0.3);
}

.amazon-widget-body {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px;
    flex-wrap: wrap;
}

.amazon-widget-info strong {
    display: block;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.amazon-hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- Amazon Button --- */
.btn-amazon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--amazon-orange), #e68900);
    color: #111 !important;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-amazon:hover {
    background: linear-gradient(135deg, #e68900, #cc7a00);
    color: #111 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(255, 153, 0, 0.3);
}

/* --- Amazon Cards Grid --- */
.amazon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.amazon-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition);
}

.amazon-card:hover {
    border-color: var(--amazon-orange);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.amazon-card-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
}

.amazon-card-label {
    flex: 1;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.amazon-card-cta {
    font-size: 0.8rem;
    color: var(--amazon-orange);
    font-weight: 700;
    white-space: nowrap;
}

/* --- GPU Specs Grid (2 cols) responsive --- */
.gpu-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .compare-grid {
        grid-template-columns: 1fr;
    }

    .compare-vs {
        padding-top: 0;
    }

    .gpu-specs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: var(--header-height);
        left: 0;
        right: 0;
        bottom: 0;
        background: var(--bg-dark);
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        z-index: 999;
    }

    .nav-links.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .game-hero-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .game-cover {
        width: 160px;
        min-width: 160px;
    }

    .game-info h1 {
        font-size: 1.6rem;
    }

    .game-meta {
        justify-content: center;
    }

    .gpu-checker {
        padding: 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .fps-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }

    .gpu-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }

    .ig-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ig-banner-right {
        width: 100%;
    }

    .btn-ig {
        width: 100%;
        justify-content: center;
    }

    .amazon-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .fps-grid {
        grid-template-columns: 1fr 1fr;
    }

    .amazon-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Misc ---------- */
.text-gradient {
    background: linear-gradient(135deg, var(--secondary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

mark {
    background: rgba(0, 240, 255, 0.15);
    color: var(--accent);
    padding: 2px 4px;
    border-radius: 3px;
}

::selection {
    background: var(--primary);
    color: #fff;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}