/* ═══════════════════════════════════════════════════════
   🎮 GameVault — Ad System & Paraguay Theme Extensions
   Red, white, blue 🇵🇾 accents + ad placements
   ═══════════════════════════════════════════════════════ */

/* ── Ad Placements ── */
.gv-ad {
    background: var(--gv-bg-card);
    border: 1px dashed var(--gv-border);
    border-radius: var(--gv-radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gv-text-muted);
    font-size: 0.85rem;
    text-align: center;
    overflow: hidden;
    min-height: 90px;
}
.gv-ad-banner {
    max-width: var(--gv-max-w);
    margin: 20px auto;
    padding: 12px;
    min-height: 90px;
}
.gv-ad-sidebar {
    min-width: 160px;
    min-height: 600px;
}
.gv-ad-interstitial {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,26,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeIn 0.3s ease;
}
.gv-ad-interstitial-content {
    max-width: 600px;
    width: 90%;
    background: var(--gv-bg-card);
    border-radius: var(--gv-radius);
    border: 1px solid var(--gv-border);
    padding: 24px;
    text-align: center;
}
.gv-ad-interstitial-close {
    margin-top: 16px;
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--gv-surface);
    border: 1px solid var(--gv-border);
    color: var(--gv-text-muted);
    cursor: pointer;
    font-weight: 600;
    transition: var(--gv-transition);
}
.gv-ad-interstitial-close:hover {
    border-color: var(--gv-neon-blue);
    color: var(--gv-neon-blue);
}
.gv-ad-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
    margin-bottom: 4px;
}

/* ── Paraguay Theme 🇵🇾 ── */
.gv-py-stripe {
    height: 4px;
    background: linear-gradient(90deg, #D52B1E 0%, #D52B1E 33.3%, #FFFFFF 33.3%, #FFFFFF 66.6%, #0038A8 66.6%, #0038A8 100%);
    border-radius: 2px;
}
.gv-hero .gv-py-stripe {
    width: 80px;
    margin: 0 auto 20px;
}
.gv-card.py-card .gv-card-thumb {
    position: relative;
}
.gv-card.py-card .gv-card-thumb::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #D52B1E, #FFFFFF, #0038A8);
}

/* ── External Games Section ── */
.gv-external-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.gv-external-card {
    position: relative;
    border-radius: var(--gv-radius);
    overflow: hidden;
    background: var(--gv-bg-card);
    border: 1px solid var(--gv-border);
    transition: var(--gv-transition);
    text-decoration: none;
    display: block;
}
.gv-external-card:hover {
    transform: translateY(-4px);
    border-color: var(--gv-neon-blue);
    box-shadow: 0 8px 30px rgba(0,212,255,0.15);
}
.gv-external-thumb {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
}
.gv-external-thumb .gv-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--gv-transition);
    font-size: 2rem;
}
.gv-external-card:hover .gv-play-overlay {
    opacity: 1;
}
.gv-external-body {
    padding: 12px;
}
.gv-external-body h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gv-white);
    margin-bottom: 4px;
}
.gv-external-body p {
    font-size: 0.75rem;
    color: var(--gv-text-muted);
}

/* ── Category page layout ── */
.gv-page-layout {
    display: flex;
    gap: 24px;
    max-width: var(--gv-max-w);
    margin: 0 auto;
    padding: 24px;
}
.gv-page-main {
    flex: 1;
    min-width: 0;
}
.gv-page-sidebar {
    width: 200px;
    flex-shrink: 0;
}
@media (max-width: 900px) {
    .gv-page-sidebar { display: none; }
}
.gv-page-sidebar .gv-ad {
    position: sticky;
    top: 100px;
}

/* ── Trending / Popular badges ── */
.gv-badge {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 8px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
}
.gv-badge-hot {
    background: linear-gradient(135deg, #ff2d78, #ff8800);
    color: #fff;
}
.gv-badge-new {
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    color: #000;
}
.gv-badge-popular {
    background: linear-gradient(135deg, #b44aff, #00d4ff);
    color: #fff;
}

/* ── More games counter ── */
.gv-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    margin: 24px 0;
    background: linear-gradient(135deg, rgba(0,212,255,0.08), rgba(180,74,255,0.08));
    border-radius: var(--gv-radius);
    border: 1px solid var(--gv-border);
}
.gv-counter strong {
    font-size: 1.8rem;
    background: linear-gradient(135deg, var(--gv-neon-blue), var(--gv-neon-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}