/**
 * can_i_run.css - Supplemental styles for "Can My PC Run [Game]?" checker pages
 * Loaded AFTER pc_build.css — inherits all CSS variables and base styles
 * Version 1.0
 */

/* ============================================
   CROSS-LINK BOX (on pc_for_game pages)
   ============================================ */
.cross-link-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.08) 0%, rgba(99, 102, 241, 0.04) 100%);
    border: 1px solid rgba(79, 70, 229, 0.2);
    border-radius: 14px;
    padding: 16px 24px;
    margin: 0 0 32px 0;
    flex-wrap: wrap;
}

[data-theme="dark"] .cross-link-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(99, 102, 241, 0.05) 100%);
    border-color: rgba(99, 102, 241, 0.25);
}

.cross-link-box span {
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.cross-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--accent-primary);
    color: white !important;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

.cross-link-btn:hover {
    background: var(--accent-secondary);
    color: white !important;
    transform: translateX(3px);
}

/* ============================================
   CHECKER HERO (extends .hero-section)
   ============================================ */
.checker-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

/* ============================================
   SPEC REQUIREMENTS SUMMARY (Min/Rec cards)
   ============================================ */
.spec-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 48px;
}

@media (max-width: 700px) {
    .spec-summary-grid {
        grid-template-columns: 1fr;
    }
}

.spec-summary-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 18px;
    padding: 24px;
    box-shadow: var(--shadow-card);
}

.spec-summary-card.minimum {
    border-top: 4px solid var(--accent-warning);
}

.spec-summary-card.recommended {
    border-top: 4px solid var(--accent-success);
}

.spec-summary-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    padding: 4px 12px;
    border-radius: 20px;
}

.spec-summary-card.minimum .spec-summary-label {
    background: rgba(217, 119, 6, 0.12);
    color: var(--accent-warning);
}

.spec-summary-card.recommended .spec-summary-label {
    background: rgba(22, 163, 74, 0.12);
    color: var(--accent-success);
}

.spec-summary-row {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.9rem;
}

.spec-summary-row:last-child {
    border-bottom: none;
}

.spec-summary-key {
    font-weight: 600;
    color: var(--text-muted);
    min-width: 70px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding-top: 2px;
}

.spec-summary-val {
    color: var(--text-primary);
    font-weight: 500;
    flex: 1;
    line-height: 1.4;
}

/* ============================================
   CHECKER FORM SECTION
   ============================================ */
.checker-section {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 36px;
    margin-bottom: 40px;
    box-shadow: var(--shadow-card);
}

.checker-section-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.checker-section-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 28px;
}

.checker-fields-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 28px;
}

.checker-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.checker-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.checker-label .field-icon {
    font-size: 1rem;
}

.checker-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-primary);
    border: 1.5px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 0.92rem;
    font-family: inherit;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2394a3b8' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.checker-select:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.checker-select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.checker-submit-btn {
    width: 100%;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    color: white;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    letter-spacing: 0.3px;
}

.checker-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.35);
}

.checker-submit-btn:active {
    transform: translateY(0);
}

.checker-submit-btn .btn-arrow {
    transition: transform 0.2s;
}

.checker-submit-btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ============================================
   RESULTS PANEL
   ============================================ */
.checker-results-panel {
    display: none;
    animation: slideInUp 0.4s ease;
}

.checker-results-panel.visible {
    display: block;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overall verdict banner */
.verdict-banner {
    border-radius: 18px;
    padding: 28px 32px;
    margin-bottom: 28px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.verdict-banner::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: radial-gradient(circle at 20% 50%, white 1px, transparent 1px);
    background-size: 24px 24px;
}

.verdict-banner.verdict-pass {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    color: white;
}

.verdict-banner.verdict-warn {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    color: white;
}

.verdict-banner.verdict-fail {
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: white;
}

.verdict-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.3));
}

.verdict-title {
    font-size: 1.7rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.verdict-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

/* Per-component result rows */
.results-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.result-row {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 16px 20px;
    display: grid;
    grid-template-columns: 36px 120px 1fr auto;
    align-items: center;
    gap: 14px;
    transition: all 0.2s;
}

.result-row:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-card);
}

@media (max-width: 600px) {
    .result-row {
        grid-template-columns: 36px 1fr auto;
        grid-template-rows: auto auto;
    }

    .result-bar-wrap {
        grid-column: 1 / -1;
    }
}

.result-row-icon {
    font-size: 1.4rem;
    text-align: center;
}

.result-row-label {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.result-row-label small {
    display: block;
    font-weight: 400;
    color: var(--text-muted);
    font-size: 0.78rem;
    margin-top: 2px;
}

.result-bar-wrap {
    flex: 1;
}

.result-bar-track {
    height: 8px;
    background: var(--meter-bg);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 4px;
}

.result-bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    width: 0;
}

.result-bar-fill.pass {
    background: linear-gradient(90deg, #16a34a, #22c55e);
}

.result-bar-fill.warn {
    background: linear-gradient(90deg, #d97706, #f59e0b);
}

.result-bar-fill.fail {
    background: linear-gradient(90deg, #dc2626, #ef4444);
}

.result-bar-label {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.result-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

.result-badge.pass {
    background: rgba(22, 163, 74, 0.12);
    color: var(--accent-success);
    border: 1px solid rgba(22, 163, 74, 0.3);
}

.result-badge.warn {
    background: rgba(217, 119, 6, 0.12);
    color: var(--accent-warning);
    border: 1px solid rgba(217, 119, 6, 0.3);
}

.result-badge.fail {
    background: rgba(220, 38, 38, 0.12);
    color: #dc2626;
    border: 1px solid rgba(220, 38, 38, 0.3);
}

[data-theme="dark"] .result-badge.fail {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.3);
    background: rgba(220, 38, 38, 0.18);
}

/* ============================================
   UPGRADE CTA BOXES
   ============================================ */
.upgrade-ctas-section {
    margin-bottom: 40px;
    display: none;
}

.upgrade-ctas-section.visible {
    display: block;
}

.upgrade-ctas-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.upgrade-ctas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
}

.upgrade-cta-box {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 20px;
    display: none;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-card);
}

.upgrade-cta-box.visible {
    display: flex;
}

.upgrade-cta-box-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.upgrade-cta-box-component {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.upgrade-amazon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    background: var(--gradient-amazon);
    color: white !important;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
}

.upgrade-amazon-btn:hover {
    background: linear-gradient(135deg, #e68a00 0%, #cc5200 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 153, 0, 0.35);
}

/* ============================================
   BUILD CTA SECTION (cross-link to /pc-for-[slug])
   ============================================ */
.build-guide-cta {
    background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    border-radius: 20px;
    padding: 36px;
    text-align: center;
    color: white;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

.build-guide-cta::before {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 180px;
    height: 180px;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
}

.build-guide-cta::after {
    content: '';
    position: absolute;
    bottom: -40px;
    left: -20px;
    width: 220px;
    height: 220px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.build-guide-cta-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.build-guide-cta-desc {
    font-size: 1rem;
    opacity: 0.88;
    margin-bottom: 22px;
    position: relative;
    z-index: 1;
}

.build-guide-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: white;
    color: var(--accent-primary) !important;
    border-radius: 12px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    transition: all 0.2s;
    position: relative;
    z-index: 1;
}

.build-guide-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    color: var(--accent-primary) !important;
}

/* ============================================
   HOME PAGE - "Can Your PC Run It?" section
   ============================================ */
.can-run-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.can-run-card {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    transition: all 0.3s ease;
    display: block;
}

.can-run-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-hover);
}

.can-run-card-img {
    width: 100%;
    aspect-ratio: 3/4;
    object-fit: cover;
    display: block;
}

.can-run-card-body {
    padding: 12px 14px;
}

.can-run-card-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.can-run-card-chip {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(99, 102, 241, 0.1);
    color: var(--accent-primary);
    border-radius: 20px;
    padding: 3px 10px;
    font-size: 0.73rem;
    font-weight: 600;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .checker-section {
        padding: 22px 18px;
    }

    .checker-fields-grid {
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .verdict-title {
        font-size: 1.3rem;
    }

    .build-guide-cta {
        padding: 24px 20px;
    }

    .cross-link-box {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

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

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

    .spec-summary-grid {
        grid-template-columns: 1fr;
    }

    .result-row {
        grid-template-columns: 36px 1fr auto;
        grid-template-rows: auto auto;
    }
}

/* ============================================
   LIVE SEARCH COMPONENT FOR CHECKER
   ============================================ */
.checker-search {
    margin: -45px auto 24px auto;
    max-width: 600px;
    width: 100%;
    position: relative;
    z-index: 10;
}

.checker-search .search-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    border-radius: 30px;
    padding: 2px;
    background: linear-gradient(135deg, #4f46e5 0%, #ec4899 100%);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.checker-search .search-inner {
    display: flex;
    align-items: center;
    width: 100%;
    background: #1e293b;
    border-radius: 28px;
    padding: 14px 20px;
    position: relative;
}

[data-theme="light"] .checker-search .search-inner {
    background: #ffffff;
}

.checker-search .search-input {
    flex: 1;
    border: none !important;
    background: transparent !important;
    color: var(--text-primary) !important;
    font-size: 1.05rem;
    font-weight: 500;
    outline: none !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
}

/* Light theme input placeholder color */
[data-theme="light"] .checker-search .search-input::placeholder {
    color: #64748b !important;
}

.checker-search .search-icon {
    font-size: 1.2rem;
    pointer-events: none;
    color: var(--text-muted);
    transition: color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

/* Active focus glow */
.checker-search .search-wrapper:focus-within {
    background: linear-gradient(135deg, #6366f1 0%, #f43f5e 100%);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4), 0 0 15px rgba(244, 63, 94, 0.25);
}

.checker-search .search-wrapper:focus-within .search-icon {
    color: var(--accent-primary);
}

/* Autocomplete results dropdown for checker search */
#searchResultsChecker {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    max-height: 380px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

#searchResultsChecker.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#searchResultsChecker::-webkit-scrollbar {
    width: 6px;
}

#searchResultsChecker::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
}

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

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

.search-result-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.search-result-image {
    width: 44px;
    height: 58px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-title {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

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

.search-loading,
.search-no-results {
    padding: 18px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.92rem;
}

/* ============================================
   STATS BAR & COMPONENT CARDS PREMIUM LOOK
   ============================================ */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin: 0 auto 40px auto;
    position: relative;
    z-index: 5;
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px 24px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .stats-bar {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-2px);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .stat-item {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.03);
}

[data-theme="light"] .stat-item:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.06);
}

.stat-icon {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

[data-theme="light"] .stat-icon {
    background: rgba(0, 0, 0, 0.04);
    box-shadow: none;
}

.stat-text {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.stat-text strong {
    display: block;
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-top: 2px;
}

/* Requirement Cards Premium Adjustments */
.spec-summary-card {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.spec-summary-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: transparent;
}

.spec-summary-card.minimum {
    border-top: none;
    border: 1px solid rgba(217, 119, 6, 0.2);
    box-shadow: 0 4px 20px rgba(217, 119, 6, 0.05);
}

.spec-summary-card.minimum::after {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

.spec-summary-card.recommended {
    border-top: none;
    border: 1px solid rgba(16, 185, 129, 0.2);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.05);
}

.spec-summary-card.recommended::after {
    background: linear-gradient(90deg, #10b981, #059669);
}

.spec-summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.spec-summary-card.minimum:hover {
    border-color: rgba(217, 119, 6, 0.4);
    box-shadow: 0 12px 30px rgba(217, 119, 6, 0.1);
}

.spec-summary-card.recommended:hover {
    border-color: rgba(16, 185, 129, 0.4);
    box-shadow: 0 12px 30px rgba(16, 185, 129, 0.1);
}

.spec-summary-label {
    font-size: 0.8rem;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Requirement Row Styles */
.spec-summary-row {
    padding: 12px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.spec-summary-icon {
    font-size: 1.2rem;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

[data-theme="light"] .spec-summary-icon {
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.04);
}

.spec-row-os .spec-summary-icon {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
}

.spec-row-cpu .spec-summary-icon {
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

.spec-row-gpu .spec-summary-icon {
    background: rgba(236, 72, 153, 0.1);
    border-color: rgba(236, 72, 153, 0.2);
}

.spec-row-ram .spec-summary-icon {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
}

.spec-row-storage .spec-summary-icon {
    background: rgba(107, 114, 128, 0.1);
    border-color: rgba(107, 114, 128, 0.2);
}

/* Sticky Search Overrides */
.checker-search.sticky {
    position: fixed;
    top: 75px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 480px;
    margin: 0;
    z-index: 900;
    animation: slideDown 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideDown {
    from {
        transform: translate(-50%, -20px);
        opacity: 0;
    }

    to {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

.checker-search.sticky .search-wrapper {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #6366f1 0%, #f43f5e 100%);
}

.checker-search.sticky .search-inner {
    padding: 8px 16px !important;
    background: rgba(26, 26, 26, 0.85) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
}

[data-theme="light"] .checker-search.sticky .search-inner {
    background: rgba(255, 255, 255, 0.92) !important;
}

.checker-search.sticky .search-icon {
    font-size: 1.05rem;
    margin-right: 8px;
}

/* Detailed result comparisons styles */
.result-comparison-details {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    background: rgba(255, 255, 255, 0.02);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px dashed rgba(255, 255, 255, 0.06);
}

[data-theme="light"] .result-comparison-details {
    background: rgba(0, 0, 0, 0.015);
    border-color: rgba(0, 0, 0, 0.05);
}

/* ============================================
   GO TO TOP BUTTON
   ============================================ */
.go-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent-primary);
    color: white;
    border: none;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.go-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.go-to-top-btn:hover {
    background: var(--accent-secondary);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.6);
}

/* ============================================
   SPEC SUMMARY MOBILE TABS
   ============================================ */
.spec-summary-mobile-tabs {
    display: none;
}

@media (max-width: 768px) {
    .spec-summary-grid {
        display: none !important;
    }

    .spec-summary-mobile-tabs {
        display: block;
        margin-bottom: 48px;
    }

    .spec-mobile-tabs-nav {
        display: flex;
        border: 1px solid var(--border-color);
        background: var(--bg-card-hover);
        border-radius: 12px;
        margin-bottom: 20px;
        overflow: hidden;
        padding: 4px;
    }

    .spec-mobile-tab-btn {
        flex: 1;
        padding: 10px;
        background: transparent;
        border: none;
        color: var(--text-secondary);
        font-weight: 700;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.2s ease;
        text-align: center;
        border-radius: 8px;
        outline: none;
    }

    .spec-mobile-tab-btn.active {
        color: white;
        background: var(--accent-primary);
    }

    .spec-mobile-tab-panel {
        display: none;
    }

    .spec-mobile-tab-panel.active {
        display: block;
        animation: fadeIn 0.2s ease;
    }
}