﻿:root {
    --bg-dark: #0f1419;
    --bg-card: #1a1f2e;
    --bg-card-hover: #232b3d;
    --text-primary: #ffffff;
    --text-secondary: #9ca3af;
    --accent-primary: #6366f1;
    --accent-secondary: #22c55e;
    --accent-warning: #f59e0b;
    --border-color: #2d3748;
    --gradient-hero: linear-gradient(135deg, #1a1f2e 0%, #0f1419 100%);
    --gradient-accent: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --font-main: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
.nav-bar {
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    text-decoration: none;
}

.nav-logo span {
    color: var(--accent-primary);
}

.nav-links {
    display: flex;
    gap: 25px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Hero Section - Compact Desktop */
.hero-section {
    background: var(--gradient-hero);
    padding: 20px 0 12px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

/* Hero Quick Jump - sticky navigation */
.hero-quick-jump {
    position: sticky;
    top: 50px;
    z-index: 99;
    background: #0f1419;
    border-bottom: 1px solid var(--border-color);
    padding: 5px 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('<?php echo $gameImageUrl; ?>') center/cover no-repeat;
    opacity: 0.15;
    filter: blur(30px);
}

.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 20px;
    align-items: start;
}

.hero-text h1 {
    font-size: 1.8rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 8px;
}

.hero-text h1 .highlight {
    background: var(--gradient-accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.hero-stats {
    display: flex;
    gap: 15px;
}

.hero-stat {
    text-align: center;
}

.hero-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--accent-secondary);
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
}

/* Game Product Card - Horizontal Layout (like earbuds card) */
.game-product-card {
    background: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: row;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Modern Game Card - Compact Glassmorphic (Hero Area) */
.modern-game-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: row;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
    max-width: 420px;
}

.modern-card-image {
    width: 100px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.modern-card-image img {
    width: 100%;
    height: 130px;
    object-fit: cover;
}

.modern-card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.2), transparent);
    pointer-events: none;
}

.modern-card-content {
    flex: 1;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.modern-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.modern-title {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1a1f2e;
    margin: 0;
    line-height: 1.2;
}

.modern-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.6rem;
    font-weight: 600;
    width: fit-content;
}

.modern-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4px;
}

.modern-stat {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 3px 0;
}

.m-icon {
    font-size: 0.75rem;
}

.m-data {
    display: flex;
    flex-direction: column;
}

.m-value {
    font-size: 0.7rem;
    font-weight: 600;
    color: #1a1f2e;
    line-height: 1.1;
}

.m-label {
    font-size: 0.55rem;
    color: #6b7280;
    text-transform: uppercase;
}

.modern-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-modern-primary {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
    padding: 5px 10px;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    text-decoration: none;
    flex: 1;
    text-align: center;
}

.btn-modern-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.btn-modern-secondary {
    color: #6366f1;
    font-size: 0.65rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.btn-modern-secondary:hover {
    text-decoration: underline;
}

/* About Game Section - Collapsible */
.about-game-hero {
    margin-top: 15px;
    padding: 12px 15px;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 10px;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.about-game-hero h4 {
    font-size: 0.8rem;
    color: var(--text-primary);
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.about-game-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    max-height: 60px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.about-game-text.expanded {
    max-height: 500px;
}

.read-more-toggle {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.65rem;
    cursor: pointer;
    margin-top: 8px;
    transition: all 0.2s;
}

.read-more-toggle:hover {
    background: var(--accent-primary);
    color: white;
}

.game-card-left {
    width: 160px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    border-right: 1px solid #e5e7eb;
    background: #fafafa;
}

.game-card-image {
    width: 120px;
    height: 160px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-bottom: 10px;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-genre-badge {
    background: rgba(99, 102, 241, 0.15);
    color: #6366f1;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 6px;
}

.game-release-date {
    font-size: 0.7rem;
    color: #6b7280;
}

.game-card-right {
    flex: 1;
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
}

.game-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #6366f1;
    margin: 0 0 12px 0;
}

.game-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px 30px;
    padding: 15px;
    background: #f9fafb;
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    margin-bottom: 15px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.spec-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
}

.spec-text {
    font-size: 0.85rem;
    color: #374151;
    /* allowed to wrap */
}

.game-card-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: auto;
}

.btn-game-details {
    color: #6366f1;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.btn-game-details:hover {
    text-decoration: underline;
}

.btn-view-laptops {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.btn-view-laptops:hover {
    background: linear-gradient(135deg, #d97706, #b45309);
}

/* Game Description Box - Compact */
.game-description-box {
    margin-top: 8px;
    padding-top: 6px;
    border-top: 1px solid var(--border-color);
}

.desc-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 10px 0;
}

.desc-bullets li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.desc-bullets li::before {
    content: 'â€¢';
    position: absolute;
    left: 0;
    color: var(--accent-primary);
    font-weight: bold;
}

.game-description-box p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0 0 10px 0;
}

.read-more-btn {
    background: transparent;
    border: 1px solid var(--accent-primary);
    color: var(--accent-primary);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
}

.read-more-btn:hover {
    background: var(--accent-primary);
    color: white;
}

.game-page-link {
    display: inline-block;
    margin-top: 12px;
    padding: 8px 16px;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.game-page-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

/* Budget Selector */
.budget-selector {
    background: var(--bg-card);
    margin: 20px auto 40px;
    max-width: 1000px;
    border-radius: 16px;
    padding: 25px 30px;
    position: relative;
    z-index: 10;
    border: 1px solid var(--border-color);
}

.budget-selector h3 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Quick Jump Links Slider */
.quick-jump-wrapper {
    background: #0f1419;
    border-bottom: 1px solid var(--border-color);
}

.quick-jump-slider {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 8px 20px;
    max-width: 1280px;
    margin: 0 auto;
}

.quick-jump-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-secondary);
    white-space: nowrap;
    transition: all 0.2s ease;
    flex: 1;
    justify-content: center;
    max-width: 140px;
}

.quick-jump-link:hover {
    background: var(--gradient-accent);
    border-color: transparent;
    color: white;
}

.jump-icon {
    font-size: 1rem;
}

.jump-text {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Tablet - start horizontal scroll */
@media (max-width: 900px) {
    .quick-jump-wrapper {
        max-width: 100%;
        box-sizing: border-box;
    }

    .quick-jump-slider {
        justify-content: flex-start;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 8px 15px;
        max-width: 100%;
        box-sizing: border-box;
    }

    .quick-jump-slider::-webkit-scrollbar {
        display: none;
    }

    .quick-jump-link {
        flex: 0 0 auto;
        scroll-snap-align: start;
        max-width: none;
        padding: 6px 12px;
    }
}

/* Mobile - compact */
@media (max-width: 600px) {
    .quick-jump-wrapper {
        top: 70px;
    }

    .quick-jump-slider {
        padding: 6px 10px;
        gap: 5px;
    }

    .quick-jump-link {
        padding: 5px 10px;
        border-radius: 6px;
    }

    .jump-icon {
        font-size: 0.85rem;
    }

    .jump-text {
        font-size: 0.55rem;
    }
}

/* Very small screens */
@media (max-width: 400px) {
    .quick-jump-slider {
        padding: 5px 8px;
        gap: 4px;
    }

    .quick-jump-link {
        padding: 4px 8px;
    }

    .jump-icon {
        font-size: 0.8rem;
    }

    .jump-text {
        font-size: 0.5rem;
    }
}

/* Scroll offset for sticky headers (nav ~60px + quick-jump ~45px) */
[id] {
    scroll-margin-top: 120px;
}

@media (max-width: 600px) {
    [id] {
        scroll-margin-top: 100px;
    }
}

.budget-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.budget-btn {
    padding: 12px 20px;
    background: transparent;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.budget-btn:hover {
    border-color: var(--accent-primary);
    background: rgba(99, 102, 241, 0.1);
    color: var(--text-primary);
}

.budget-btn.active {
    background: var(--gradient-accent);
    border-color: transparent;
    color: white;
}

.budget-btn .price {
    font-size: 1rem;
    font-weight: 600;
}

.budget-btn .label {
    font-size: 0.7rem;
    opacity: 0.8;
}

/* System Requirements */
.sys-reqs-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.sys-reqs-section h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sys-reqs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.sys-req-item {
    background: rgba(99, 102, 241, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid var(--accent-primary);
}

.sys-req-item dt {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 5px;
}

.sys-req-item dd {
    font-weight: 600;
    color: var(--text-primary);
}

/* Equivalent Laptop Specs Section */
.equivalent-specs-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.equivalent-specs-section h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.equiv-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.equiv-specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.equiv-spec-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 12px;
    padding: 18px;
    text-align: center;
    transition: transform 0.2s, border-color 0.2s;
}

.equiv-spec-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-primary);
}

.equiv-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.equiv-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.equiv-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-secondary);
    line-height: 1.4;
}

/* Buying Guide Section (Unique Content per Tier) */
.buying-guide-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
}

.buying-guide-section h3 {
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.buying-guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
}

.guide-card {
    padding: 18px;
    border-radius: 12px;
    border-left: 4px solid;
}

.guide-card.tip {
    background: rgba(99, 102, 241, 0.1);
    border-left-color: var(--accent-primary);
}

.guide-card.warning {
    background: rgba(245, 158, 11, 0.1);
    border-left-color: var(--accent-warning);
}

.guide-card.recommendation {
    background: rgba(34, 197, 94, 0.1);
    border-left-color: var(--accent-secondary);
}

.guide-icon {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.guide-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 600;
}

.guide-card p {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.5;
    margin: 0;
}

/* Laptops Grid */
.laptops-section {
    padding: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.laptop-count-badge {
    background: var(--accent-secondary);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.laptop-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.laptop-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.laptop-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.laptop-card-img {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.laptop-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.laptop-card:hover .laptop-card-img img {
    transform: scale(1.05);
}

.laptop-price-tag {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: var(--accent-secondary);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.laptop-card-content {
    padding: 20px;
}

.laptop-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.4;
    color: var(--text-primary);
}

.laptop-specs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.laptop-spec {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.laptop-spec-icon {
    width: 28px;
    height: 28px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.btn-amazon {
    display: block;
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
    color: #111;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-amazon:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 153, 0, 0.4);
}

/* No Laptops Message */
.no-laptops {
    text-align: center;
    padding: 80px 20px;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--border-color);
}

.no-laptops h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.no-laptops p {
    color: var(--text-secondary);
    margin-bottom: 25px;
}

.btn-primary {
    display: inline-block;
    padding: 14px 30px;
    background: var(--gradient-accent);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
}

/* Related Games */
.related-games-section {
    padding: 50px 0;
    border-top: 1px solid var(--border-color);
}

.related-games-section h3 {
    font-size: 1.25rem;
    margin-bottom: 25px;
}

.related-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.related-game-card {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: transform 0.2s;
    text-decoration: none;
}

.related-game-card:hover {
    transform: translateY(-5px);
}

.related-game-card img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.related-game-card h4 {
    padding: 12px;
    font-size: 0.85rem;
    color: var(--text-primary);
    text-align: center;
}

/* FAQ Section */
.faq-section {
    padding: 50px 0;
}

.faq-section h3 {
    font-size: 1.25rem;
    margin-bottom: 25px;
    text-align: center;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 20px;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--accent-primary);
}

.faq-item[open] summary::after {
    content: 'âˆ’';
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Footer */
.site-footer {
    background: #0a0d12;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-primary);
}

.footer-copyright {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-affiliate {
    margin-top: 10px;
    font-size: 0.75rem;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Responsive - Mobile Friendly */
@media (max-width: 900px) {
    body {
        overflow-x: hidden;
    }

    /* Prevent any element from causing horizontal scroll */
    *,
    *::before,
    *::after {
        max-width: 100vw;
        box-sizing: border-box;
    }

    /* Table wrapper for horizontal scroll */
    table,
    .performance-table,
    .compare-specs-table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        max-width: 100%;
    }

    .container,
    section,
    div {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .hero-section {
        padding: 40px 0 15px;
        width: 100%;
        max-width: 100vw;
    }

    .hero-content {
        display: flex;
        flex-direction: column;
        text-align: center;
        width: 100%;
        padding: 0 15px;
        box-sizing: border-box;
    }

    /* Order for mobile: hero-text, quick-jump, game-card */
    .hero-text {
        order: 1;
        width: 100%;
    }

    .modern-game-card {
        order: 2;
        max-width: 100%;
        width: 100%;
    }

    .about-game-hero {
        order: 3;
        grid-column: auto !important;
    }

    .hero-quick-jump {
        top: 70px;
    }

    .hero-game-card {
        order: 3;
        display: flex;
        flex-direction: row;
        margin: 0 auto 20px;
        max-width: 100%;
        width: 100%;
    }

    .hero-game-card img {
        width: 100px;
        height: 130px;
        border-radius: 12px 0 0 12px;
        flex-shrink: 0;
    }

    .hero-game-info {
        padding: 12px;
        text-align: left;
        overflow: hidden;
    }

    .hero-text h1 {
        font-size: 1.5rem;
        word-wrap: break-word;
    }

    .hero-stats {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px;
    }

    .hero-stat-value {
        font-size: 1.5rem;
    }

    .game-meta-tag {
        font-size: 0.65rem;
        padding: 3px 8px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .buying-guide-grid {
        grid-template-columns: 1fr;
    }

    .equiv-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sys-reqs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 0 15px;
    }

    .budget-buttons {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }

    .budget-btn {
        flex: 0 0 calc(33% - 8px);
        padding: 10px 8px;
    }

    .budget-btn .price {
        font-size: 0.85rem;
    }

    .budget-btn .label {
        font-size: 0.6rem;
    }

    .laptop-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }

    .nav-search-container {
        max-width: 180px;
        margin: 0 10px;
    }

    #game-search-input {
        padding: 8px 12px;
        font-size: 0.8rem;
    }

    .hero-section {
        padding: 25px 15px;
    }

    .hero-text h1 {
        font-size: 1.4rem;
    }

    .hero-game-card {
        max-width: 100%;
    }

    .hero-game-card img {
        width: 80px;
        height: 106px;
    }

    .equiv-specs-grid {
        grid-template-columns: 1fr 1fr;
    }

    .equiv-spec-card {
        padding: 12px;
    }

    .equiv-value {
        font-size: 0.8rem;
    }

    .guide-card {
        padding: 14px;
    }

    .guide-card p {
        font-size: 0.85rem;
    }

    .laptop-card-image img {
        height: 160px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 400px) {
    .budget-btn {
        flex: 0 0 calc(50% - 6px);
    }

    .equiv-specs-grid {
        grid-template-columns: 1fr;
    }

    .sys-reqs-grid {
        grid-template-columns: 1fr;
    }

    .hero-game-card {
        flex-direction: column;
        text-align: center;
    }

    .hero-game-card img {
        width: 100%;
        height: 150px;
        border-radius: 12px 12px 0 0;
    }

    .hero-game-info {
        text-align: center;
    }
}

/* Trust & Authority Section */
.trust-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 20px 25px;
    margin: 20px auto;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-stats {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.trust-stat {
    text-align: center;
}

.trust-stat-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-primary);
}

.trust-stat-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.trust-social {
    display: flex;
    gap: 12px;
}

.trust-social a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.trust-social a:hover {
    background: var(--accent-primary);
    color: white;
    border-color: transparent;
}

/* Performance Prediction Section */
.performance-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px 30px;
    margin: 30px auto;
    max-width: 1000px;
    border: 1px solid var(--border-color);
}

.performance-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.performance-table {
    width: 100%;
    border-collapse: collapse;
}

.performance-table th,
.performance-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.performance-table th {
    background: rgba(99, 102, 241, 0.1);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.performance-table td {
    font-size: 0.95rem;
}

.fps-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.85rem;
}

.fps-excellent {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.fps-good {
    background: rgba(99, 102, 241, 0.2);
    color: #6366f1;
}

.fps-playable {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.fps-low {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Laptop Filters */
.laptop-filters {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.filters-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.filters-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.filter-reset {
    background: none;
    border: none;
    color: var(--accent-primary);
    cursor: pointer;
    font-size: 0.8rem;
}

.filters-grid {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.filter-select {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text-primary);
    font-size: 0.85rem;
    min-width: 140px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-primary);
}

/* Share & Community Section */
.share-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 25px 30px;
    margin: 30px auto;
    max-width: 1000px;
    border: 1px solid var(--border-color);
    text-align: center;
}

.share-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.share-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
}

.share-btn-twitter {
    background: #1DA1F2;
    color: white;
}

.share-btn-facebook {
    background: #1877F2;
    color: white;
}

.share-btn-reddit {
    background: #FF4500;
    color: white;
}

.share-btn-copy {
    background: var(--bg-dark);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Enhanced Footer */
.enhanced-footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: 40px 20px 30px;
    margin-top: 50px;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.footer-section h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--text-primary);
}

.footer-section a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    margin-bottom: 8px;
    transition: color 0.2s;
}

.footer-section a:hover {
    color: var(--accent-primary);
}

.footer-social-links {
    display: flex;
    gap: 12px;
    margin-top: 10px;
}

.footer-social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--bg-dark);
    border-radius: 8px;
    font-size: 1.1rem;
}

.footer-bottom {
    max-width: 1200px;
    margin: 30px auto 0;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.affiliate-disclosure {
    font-size: 0.75rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 15px;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .trust-section {
        flex-direction: column;
        text-align: center;
    }

    .trust-stats {
        justify-content: center;
    }

    .trust-social {
        justify-content: center;
    }

    .performance-table th,
    .performance-table td {
        padding: 8px 10px;
        font-size: 0.8rem;
    }

    .filters-grid {
        flex-direction: column;
    }

    .filter-select {
        width: 100%;
    }
}

/* Enhanced Laptop Card Content */
.laptop-card-expanded {
    display: none;
    padding: 15px 0 0;
    border-top: 1px solid var(--border-color);
    margin-top: 15px;
}

.laptop-card-expanded.show {
    display: block;
}

.expanded-spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 15px;
}

.expanded-spec {
    background: var(--bg-dark);
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
}

.expanded-spec-label {
    color: var(--text-secondary);
    font-size: 0.7rem;
    text-transform: uppercase;
    margin-bottom: 3px;
}

.expanded-spec-value {
    color: var(--text-primary);
    font-weight: 500;
}

.game-compatibility {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(99, 102, 241, 0.1) 100%);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
}

.game-compatibility-title {
    font-size: 0.75rem;
    color: var(--accent-secondary);
    font-weight: 600;
    margin-bottom: 5px;
}

.game-compatibility-text {
    font-size: 0.85rem;
    color: var(--text-primary);
}

.laptop-card-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.btn-expand {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.btn-expand:hover {
    background: var(--bg-dark);
    color: var(--text-primary);
}

.btn-compare {
    background: var(--accent-primary);
    border: none;
    color: white;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
    flex: 1;
}

.btn-compare:hover {
    background: #5558e8;
}

.btn-compare.added {
    background: var(--accent-secondary);
}

/* Floating Compare Bar */
.compare-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 2px solid var(--accent-primary);
    padding: 15px 20px;
    display: none;
    align-items: center;
    justify-content: space-between;
    z-index: 1000;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
}

.compare-bar.show {
    display: flex;
}

.compare-items {
    display: flex;
    gap: 10px;
}

.compare-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-dark);
    padding: 8px 12px;
    border-radius: 8px;
}

.compare-item img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
}

.compare-item-name {
    font-size: 0.8rem;
    max-width: 120px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.compare-item-remove {
    background: rgba(239, 68, 68, 0.2);
    border: none;
    color: #ef4444;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 0.7rem;
}

.compare-actions {
    display: flex;
    gap: 10px;
}

.btn-compare-now {
    background: var(--accent-primary);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-compare-now:hover {
    background: #5558e8;
}

.btn-clear-compare {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
}

/* Comparison Modal */
.compare-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.compare-modal.show {
    display: flex;
}

.compare-modal-content {
    background: var(--bg-card);
    border-radius: 16px;
    max-width: 1000px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 25px;
}

.compare-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.compare-modal-title {
    font-size: 1.3rem;
    font-weight: 700;
}

.compare-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
}

.compare-table th,
.compare-table td {
    padding: 15px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.compare-table th {
    background: var(--bg-dark);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--text-secondary);
}

.compare-table th.laptop-header {
    vertical-align: top;
    padding: 20px 15px;
}

.compare-laptop-img {
    width: 120px;
    height: 90px;
    object-fit: contain;
    margin-bottom: 12px;
    border-radius: 8px;
    background: var(--bg-dark);
    padding: 8px;
}

.compare-laptop-name {
    font-weight: 600;
    font-size: 0.85rem;
    margin-bottom: 8px;
    line-height: 1.3;
    max-width: 180px;
}

.compare-laptop-price {
    color: var(--accent-secondary);
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 12px;
}

.compare-cell-best {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-secondary);
    font-weight: 600;
}

/* New Layout - Side by Side Laptops */
.compare-laptops-header {
    display: flex;
    gap: 15px;
    margin-bottom: 0;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
    padding: 20px;
    justify-content: center;
}

.compare-laptop-card {
    flex: 1;
    max-width: 280px;
    text-align: center;
    position: relative;
    padding: 15px;
    background: white;
    border-radius: 10px;
    border: 1px solid #e0e0e0;
}

.compare-remove-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #dc3545;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.compare-remove-btn:hover {
    background: #c82333;
    transform: scale(1.1);
}

.compare-laptop-img {
    width: 140px;
    height: 100px;
    object-fit: contain;
    margin: 0 auto 15px;
}

.compare-laptop-name {
    font-size: 1rem;
    font-weight: 600;
    color: #0066cc;
    margin-bottom: 10px;
    text-decoration: none;
    display: block;
}

.compare-laptop-name:hover {
    text-decoration: underline;
}

.compare-laptop-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #333;
}

/* Overview Section Header */
.compare-section-header {
    background: linear-gradient(135deg, #0066cc 0%, #0052a3 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 8px 8px 0 0;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.compare-section-header::before {
    content: 'â„¹ï¸';
    font-size: 1.1rem;
}

/* Specs Table - Aligned Layout */
.compare-specs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
    table-layout: fixed;
}

.compare-specs-table tr {
    border-bottom: 1px solid #e0e0e0;
}

.compare-specs-table tr:nth-child(odd) {
    background: #f8f9fa;
}

.compare-specs-table tr:nth-child(even) {
    background: white;
}

.compare-specs-table td {
    padding: 16px 15px;
    text-align: center;
    color: #333;
    vertical-align: middle;
}

.compare-specs-table .spec-label {
    width: 100px;
    min-width: 80px;
    font-weight: 700;
    color: #333;
    background: #e9ecef !important;
    text-align: center;
}

.compare-specs-table .spec-value {
    flex: 1;
    text-align: center;
}

.compare-specs-table .spec-value.best {
    color: var(--accent-secondary);
    font-weight: 600;
}

/* Amazon Links Row */
.compare-amazon-row {
    background: #fff3cd !important;
    border-top: 2px solid #ffc107;
}

.compare-amazon-row td {
    padding: 20px;
}

.compare-amazon-btn {
    display: inline-block;
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
    color: #000;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.compare-amazon-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 153, 0, 0.4);
    color: #000;
}

/* Winner Badge */
.compare-winner-badge {
    display: inline-block;
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 10px;
}

/* Verdict Section */
.compare-verdict {
    background: linear-gradient(135deg, #e8f4fd 0%, #d4edda 100%);
    border-radius: 12px;
    padding: 25px;
    margin-top: 25px;
    text-align: center;
    border: 1px solid #bee5eb;
}

.compare-verdict-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #333;
}

.compare-verdict-text {
    color: #555;
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* Compare Search Box */
.compare-search-container {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px dashed #0066cc;
    border-radius: 12px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
}

.compare-search-title {
    font-size: 0.9rem;
    color: #0066cc;
    font-weight: 600;
    margin-bottom: 12px;
}

.compare-search-wrapper {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.compare-search-input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    border: 2px solid #0066cc;
    border-radius: 8px;
    font-size: 0.95rem;
    background: white;
    color: #333;
    outline: none;
    transition: all 0.2s;
}

.compare-search-input:focus {
    border-color: #0052a3;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.2);
}

.compare-search-input::placeholder {
    color: #999;
}

.compare-search-icon {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #0066cc;
    font-size: 1.1rem;
}

.compare-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-top: 5px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    display: none;
}

.compare-search-results.show {
    display: block;
}

.compare-search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid #f0f0f0;
}

.compare-search-result:last-child {
    border-bottom: none;
}

.compare-search-result:hover {
    background: #f0f9ff;
}

.compare-search-result img {
    width: 50px;
    height: 40px;
    object-fit: contain;
    border-radius: 4px;
    background: #f5f5f5;
}

.compare-search-result-info {
    flex: 1;
    text-align: left;
}

.compare-search-result-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 3px;
}

.compare-search-result-price {
    font-size: 0.8rem;
    color: #22c55e;
    font-weight: 600;
}

.compare-search-result-specs {
    font-size: 0.7rem;
    color: #666;
}

.compare-search-loading {
    padding: 20px;
    text-align: center;
    color: #666;
}

.compare-search-no-results {
    padding: 20px;
    text-align: center;
    color: #999;
    font-size: 0.9rem;
}

/* Dark mode overrides */
@media (prefers-color-scheme: dark) {
    .compare-laptops-header {
        background: var(--bg-dark);
    }

    .compare-laptop-card {
        background: var(--bg-card);
        border-color: var(--border-color);
    }

    .compare-specs-table tr:nth-child(odd) {
        background: var(--bg-dark);
    }

    .compare-specs-table tr:nth-child(even) {
        background: var(--bg-card);
    }

    .compare-specs-table td,
    .compare-laptop-price {
        color: var(--text-primary);
    }

    .compare-specs-table .spec-label {
        background: rgba(99, 102, 241, 0.2);
        color: var(--text-primary);
    }
}

@media (max-width: 768px) {
    .compare-bar {
        flex-direction: column;
        gap: 15px;
    }

    .compare-items {
        flex-wrap: wrap;
        justify-content: center;
    }

    .compare-modal-content {
        padding: 10px;
        max-height: 95vh;
    }

    /* Mobile: Header cards side by side but smaller */
    .compare-laptops-header {
        padding: 15px 10px;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .compare-laptop-card {
        padding: 10px;
        max-width: none;
        flex: 1;
        min-width: 0;
        margin: 0 5px;
    }

    .compare-laptop-img {
        width: 70px;
        height: 55px;
        margin-bottom: 8px;
    }

    .compare-laptop-name {
        font-size: 0.75rem;
        line-height: 1.2;
        margin-bottom: 5px;
    }

    .compare-laptop-price {
        font-size: 1rem;
    }

    .compare-remove-btn {
        width: 22px;
        height: 22px;
        font-size: 0.9rem;
        top: 5px;
        right: 5px;
    }

    .compare-winner-badge {
        font-size: 0.6rem;
        padding: 2px 8px;
        margin-bottom: 5px;
    }

    /* Mobile: Specs table */
    .compare-section-header {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .compare-specs-table {
        font-size: 0.75rem;
    }

    .compare-specs-table td {
        padding: 10px 5px;
    }

    .compare-specs-table .spec-label {
        width: 80px;
        font-size: 0.7rem;
        padding: 10px 5px;
    }

    .compare-specs-table .spec-value {
        width: calc((100% - 80px) / 2);
    }

    /* Mobile: Amazon buttons */
    .compare-amazon-row td {
        padding: 12px 5px;
    }

    .compare-amazon-btn {
        padding: 8px 12px;
        font-size: 0.7rem;
    }

    /* Mobile: Verdict */
    .compare-verdict {
        padding: 15px;
        margin-top: 15px;
    }

    .compare-verdict-title {
        font-size: 0.95rem;
    }

    .compare-verdict-text {
        font-size: 0.8rem;
    }

    .laptop-card-actions {
        flex-direction: column;
    }
}

/* Extra small screens */
@media (max-width: 480px) {
    .compare-laptops-header {
        padding: 10px 5px;
    }

    .compare-laptop-card {
        padding: 8px;
    }

    .compare-laptop-img {
        width: 55px;
        height: 45px;
    }

    .compare-laptop-name {
        font-size: 0.65rem;
    }

    .compare-laptop-price {
        font-size: 0.9rem;
    }

    .compare-specs-table .spec-label {
        width: 60px;
        font-size: 0.65rem;
    }

    .compare-specs-table td {
        padding: 8px 3px;
        font-size: 0.7rem;
    }

    .compare-amazon-btn {
        padding: 6px 8px;
        font-size: 0.6rem;
    }
}