/* ==========================================================================
   Vector Wave Pro - Flagship Stylesheet
   Color Palette: Vibrant Teal (#00a8a8), Warm Orange (#ea580c), Dark Charcoal (#181e29)
   Engine: PlayArcade Vector Wave 2.0
   100% High-Contrast, Crystal-Clear Typography & Policy Compliance
   ========================================================================== */

:root[data-theme="vector_wave"],
body.theme-vector_wave,
body[data-theme="vector_wave"] {
    --vw-primary: #00a8a8;
    --vw-primary-hover: #008a8a;
    --vw-secondary: #00b4d8;
    --vw-accent: #ea580c;
    --vw-accent-warm: #f97316;
    --vw-dark: #181e29;
    --vw-bg-main: #f8fafc;
    --vw-surface: #ffffff;
    --vw-border: #e2e8f0;
    --vw-radius: 14px;
    
    /* Global Variables Override */
    --primary: #00a8a8 !important;
    --primary-hover: #008a8a !important;
    --accent: #ea580c !important;
    --bg-main: #f8fafc !important;
    --bg-surface: #ffffff !important;
    --bg-card: #ffffff !important;
    --bg-card-hover: #f1f5f9 !important;
    --bg-footer: #0f172a !important;
    --border-subtle: #e2e8f0 !important;
    --border-strong: #cbd5e1 !important;
    --text-main: #0f172a !important;
    --text-muted: #334155 !important;
    --text-subtle: #64748b !important;
    
    background-color: #f8fafc !important;
    color: #0f172a !important;
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
}

/* Base Headings & Text Color Overrides for 100% High Contrast */
body.theme-vector_wave h1,
body.theme-vector_wave h2,
body.theme-vector_wave h3,
body.theme-vector_wave h4,
body.theme-vector_wave h5,
body.theme-vector_wave h6,
body[data-theme="vector_wave"] h1,
body[data-theme="vector_wave"] h2,
body[data-theme="vector_wave"] h3,
body[data-theme="vector_wave"] h4 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

body.theme-vector_wave p,
body.theme-vector_wave li,
body[data-theme="vector_wave"] p,
body[data-theme="vector_wave"] li {
    color: #334155 !important;
}

/* Explicit High-Contrast Fix for Game Guide, Typography & Editorial Sections */
body.theme-vector_wave .game-guide-card,
body.theme-vector_wave .game-guide-body,
body.theme-vector_wave .typography-content,
body.theme-vector_wave .seo-article-body,
body.theme-vector_wave .vw-guide-showcase,
body.theme-vector_wave .vw-bottom-content,
body[data-theme="vector_wave"] .game-guide-card,
body[data-theme="vector_wave"] .game-guide-body,
body[data-theme="vector_wave"] .typography-content {
    color: #1e293b !important;
}

body.theme-vector_wave .game-guide-body h2,
body.theme-vector_wave .game-guide-body h3,
body.theme-vector_wave .game-guide-body h4,
body.theme-vector_wave .typography-content h2,
body.theme-vector_wave .typography-content h3,
body.theme-vector_wave .typography-content h4,
body.theme-vector_wave .vw-guide-card h3,
body.theme-vector_wave .vw-guide-card h4,
body[data-theme="vector_wave"] .game-guide-body h2,
body[data-theme="vector_wave"] .game-guide-body h3,
body[data-theme="vector_wave"] .typography-content h2,
body[data-theme="vector_wave"] .typography-content h3 {
    color: #0f172a !important;
    font-weight: 800 !important;
}

body.theme-vector_wave .game-guide-body p,
body.theme-vector_wave .game-guide-body li,
body.theme-vector_wave .typography-content p,
body.theme-vector_wave .typography-content li,
body.theme-vector_wave .vw-guide-card p,
body.theme-vector_wave .vw-guide-summary,
body.theme-vector_wave .vw-faq-answer,
body[data-theme="vector_wave"] .game-guide-body p,
body[data-theme="vector_wave"] .typography-content p {
    color: #334155 !important;
    line-height: 1.75;
}

body.theme-vector_wave .game-guide-body strong,
body.theme-vector_wave .typography-content strong {
    color: #0f172a !important;
}

/* Vector Wave Top Banner */
.vector-wave-header-top {
    position: relative;
    z-index: 1001;
    background: #ffffff;
    line-height: 0;
}
.vector-wave-header-top svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
}

/* Vector Wave Footer Transition */
.vector-wave-footer-transition {
    position: relative;
    z-index: 5;
    margin-top: 40px;
    line-height: 0;
}
.vector-wave-footer-transition svg {
    filter: drop-shadow(0 -4px 6px rgba(0,0,0,0.05));
}

/* Footer Definite Dark Styling & High-Contrast Links */
body.theme-vector_wave .site-footer,
body[data-theme="vector_wave"] .site-footer,
.th-vector_wave-footer {
    background: #0f172a !important;
    color: #f8fafc !important;
}

body.theme-vector_wave .site-footer h4,
body[data-theme="vector_wave"] .site-footer h4 {
    color: #ffffff !important;
    font-weight: 800 !important;
}

body.theme-vector_wave .site-footer a,
body[data-theme="vector_wave"] .site-footer a {
    color: #cbd5e1 !important;
    transition: color 0.15s ease;
}

body.theme-vector_wave .site-footer a:hover,
body[data-theme="vector_wave"] .site-footer a:hover {
    color: #00b4d8 !important;
}

body.theme-vector_wave .site-footer p,
body.theme-vector_wave .site-footer span,
body[data-theme="vector_wave"] .site-footer p,
body[data-theme="vector_wave"] .site-footer span {
    color: #94a3b8 !important;
}

/* Hero Spotlight Section */
.vw-hero-spotlight {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--vw-radius);
    padding: 30px 32px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 32px;
    align-items: center;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
}
@media (max-width: 991px) {
    .vw-hero-spotlight {
        grid-template-columns: 1fr;
        padding: 24px 20px;
        gap: 24px;
    }
}
.vw-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, rgba(0,168,168,0.12), rgba(0,180,216,0.12));
    color: #008a8a;
    border: 1px solid rgba(0,168,168,0.3);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

/* Mini Trending Cards under Hero */
.vw-hero-mini-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
}
.vw-hero-mini-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 8px 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}
.vw-hero-mini-card:hover {
    background: #ffffff;
    border-color: #00a8a8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,168,168,0.15);
}
.vw-hero-mini-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.vw-hero-mini-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.vw-hero-mini-info {
    min-width: 0;
    flex: 1;
}
.vw-hero-mini-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: #0f172a !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.25;
}
.vw-hero-mini-cat {
    font-size: 0.72rem;
    color: #00a8a8 !important;
    font-weight: 700;
    text-transform: uppercase;
}

/* Trust / Feature Metrics Strip */
.vw-trust-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}
@media (max-width: 991px) {
    .vw-trust-strip {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 540px) {
    .vw-trust-strip {
        grid-template-columns: 1fr;
    }
}
.vw-trust-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: 0 2px 6px rgba(15,23,42,0.03);
}
.vw-trust-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

/* Category Pills Bar */
.vw-cat-pill {
    background: #ffffff;
    border: 1.5px solid #e2e8f0;
    color: #1e293b !important;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.18s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}
.vw-cat-pill:hover,
.vw-cat-pill.active {
    background: linear-gradient(135deg, #00a8a8, #00b4d8);
    border-color: #00a8a8;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0,168,168,0.3);
    transform: translateY(-2px);
}
.vw-cat-pill.active i,
.vw-cat-pill:hover i {
    color: #ffffff !important;
}

/* Game Card Modern Elevated Styling */
.vw-game-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--vw-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    display: flex;
    flex-direction: column;
}
.vw-game-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 168, 168, 0.12) !important;
    border-color: #00a8a8 !important;
}
.vw-game-thumb {
    aspect-ratio: 16 / 10;
    overflow: hidden;
    position: relative;
    background: #f1f5f9;
}
.vw-game-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.28s ease;
    display: block;
}
.vw-game-card:hover .vw-game-thumb img {
    transform: scale(1.06);
}
.vw-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.35);
    opacity: 0;
    transition: opacity 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.vw-game-card:hover .vw-play-overlay {
    opacity: 1;
}
.vw-play-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00a8a8, #00b4d8);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    box-shadow: 0 6px 18px rgba(0, 168, 168, 0.45);
    transform: scale(0.85);
    transition: transform 0.2s ease;
}
.vw-game-card:hover .vw-play-circle {
    transform: scale(1);
}
.vw-game-body {
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: space-between;
}
.vw-game-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #0f172a !important;
    line-height: 1.35;
    margin: 0 0 8px;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.vw-game-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.78rem;
    color: #64748b;
}
.vw-game-cat {
    color: #00a8a8;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.vw-game-rating {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #f59e0b;
    font-weight: 700;
}

/* Curated Genre Shelf Banner */
.vw-shelf-banner {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: var(--vw-radius);
    padding: 22px 24px;
    margin-bottom: 30px;
    box-shadow: 0 2px 10px rgba(15,23,42,0.03);
}
.vw-shelf-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    flex-wrap: wrap;
    gap: 12px;
}

/* Redesigned Bottom Content Hub */
.vw-bottom-content-hub {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: var(--vw-radius);
    padding: 36px 32px;
    margin-top: 36px;
    margin-bottom: 20px;
    box-shadow: 0 4px 18px rgba(15,23,42,0.04);
    position: relative;
    overflow: hidden;
}
.vw-bottom-content-hub::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00a8a8 0%, #00b4d8 50%, #ea580c 100%);
}

.vw-feature-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.2s ease;
}
.vw-feature-card:hover {
    background: #ffffff;
    border-color: #00a8a8;
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,168,168,0.12);
}
.vw-feature-card h3 {
    font-size: 1.05rem;
    font-weight: 800;
    color: #0f172a !important;
    margin: 0 0 8px;
    line-height: 1.35;
}
.vw-feature-card p {
    font-size: 0.88rem;
    color: #334155 !important;
    line-height: 1.6;
    margin: 0 0 14px;
}

/* FAQ Details */
.vw-faq-item {
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 20px;
    cursor: pointer;
    margin-bottom: 12px;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.vw-faq-item:hover,
.vw-faq-item[open] {
    border-color: #00a8a8;
    background: #ffffff;
}
.vw-faq-item summary {
    font-size: 0.98rem;
    font-weight: 800;
    color: #0f172a !important;
    outline: none;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.vw-faq-item summary::-webkit-details-marker {
    display: none;
}
.vw-faq-answer {
    font-size: 0.92rem;
    color: #334155 !important;
    line-height: 1.65;
    margin: 10px 0 0 28px;
}

/* Hero Banners on Dark Backgrounds: Force Crystal-Clear White Text */
body.theme-vector_wave .articles-hero-banner,
body.theme-vector_wave .articles-hero-banner h1,
body.theme-vector_wave .articles-hero-banner .articles-hero-title,
body[data-theme="vector_wave"] .articles-hero-banner h1,
body[data-theme="vector_wave"] .articles-hero-banner .articles-hero-title {
    color: #ffffff !important;
}

body.theme-vector_wave .articles-hero-banner p,
body.theme-vector_wave .articles-hero-banner .articles-hero-desc,
body[data-theme="vector_wave"] .articles-hero-banner p,
body[data-theme="vector_wave"] .articles-hero-banner .articles-hero-desc {
    color: #cbd5e1 !important;
}

body.theme-vector_wave .articles-hero-banner span,
body.theme-vector_wave .articles-hero-banner strong {
    color: #ffffff !important;
}
