/* ==========================================================================
   Arcade Shelf Vault - 100% Light High-Contrast Stylesheet
   Engine: Netflix-Style Category Shelves
   ========================================================================== */

:root[data-theme="shelf_arcade"],
body.theme-shelf_arcade {
    --th-primary: #dc2626;
    --th-secondary: #ef4444;
    --th-accent: #eab308;
    --th-bg-main: #fef2f2;
    --th-radius: 10px;
    background-color: var(--th-bg-main) !important;
    color: #0f172a !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

body.theme-shelf_arcade h1,
body.theme-shelf_arcade h2,
body.theme-shelf_arcade h3,
body.theme-shelf_arcade h4,
body.theme-shelf_arcade h5,
body.theme-shelf_arcade h6 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

body.theme-shelf_arcade p,
body.theme-shelf_arcade span,
body.theme-shelf_arcade li {
    color: #334155;
}

body.theme-shelf_arcade a {
    color: #dc2626;
}

/* Card Hover Elevation & Smooth Image Zoom */
body.theme-shelf_arcade .th-game-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
body.theme-shelf_arcade .th-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08) !important;
    border-color: #dc2626 !important;
}
body.theme-shelf_arcade .th-game-card img {
    transition: transform 0.25s ease;
}
body.theme-shelf_arcade .th-game-card:hover img {
    transform: scale(1.05);
}

/* Dark Hero Overrides Lock to guarantee white text visibility */
body.theme-shelf_arcade .th-hero-dark-text,
body.theme-shelf_arcade .th-hero-dark-text h1,
body.theme-shelf_arcade .th-hero-dark-text h2,
body.theme-shelf_arcade .th-hero-dark-text p,
body.theme-shelf_arcade .th-hero-dark-text span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Details / FAQ Accordion Styling */
body.theme-shelf_arcade details summary::-webkit-details-marker {
    display: none;
}
body.theme-shelf_arcade details[open] summary i.fa-chevron-down {
    transform: rotate(180deg);
    color: #dc2626 !important;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .th-shelf_arcade-layout {
        grid-template-columns: 1fr !important;
    }
    .th-shelf_arcade-sidebar {
        position: static !important;
        margin-bottom: 20px !important;
    }
    .th-shelf_arcade-bento-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 768px) {
    .th-shelf_arcade-bento-grid {
        grid-template-columns: 1fr !important;
        grid-auto-rows: auto !important;
    }
    .th-shelf_arcade-bento-grid > div {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
        aspect-ratio: 16/10 !important;
    }
}
