/* ========================================================================
   JOGOS COMERCIAIS — Catálogo de Jogos VR para Eventos | VR Vision
   Tema escuro + acento laranja da marca, grade de cards inspirada na
   Meta Quest Store, mas com identidade própria da VR Vision.
   ======================================================================== */

:root {
    --jc-bg: #08080c;
    --jc-bg-light: #0f0f16;
    --jc-panel: #15151f;
    --jc-panel-2: #1b1b28;
    --jc-line: rgba(255, 255, 255, 0.08);
    --jc-text: #f4f4f7;
    --jc-text-dim: #9a9aa8;
    --jc-accent: var(--primary);
    --jc-accent-glow: rgba(255, 107, 0, 0.35);
    --jc-purple: #7c5cff;
}

/* ---------- base override for this page ---------- */
body.jc-page {
    background: var(--jc-bg);
    color: var(--jc-text);
}

/* Header padrão do site (fundo claro fixo) é mantido como está em todas as
   páginas — não sobrescrever aqui, ver .header em styles.css. */

/* ========================================================================
   HERO TOPO — declaração de marca com colagem de capas do catálogo ao
   fundo (em vez de blobs abstratos: a textura já conta "isso é um
   catálogo de jogos" antes de qualquer texto). Fica ACIMA do carrossel.
   ======================================================================== */
.jc-hero-top {
    position: relative;
    margin-top: 79px;
    padding: var(--space-20) 0 var(--space-16);
    overflow: hidden;
    background: var(--jc-bg);
    text-align: center;
}

.jc-hero-top-grid {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: repeat(9, 1fr);
    grid-auto-rows: 1fr;
    z-index: 0;
}

.jc-hero-top-tile { aspect-ratio: 1; overflow: hidden; }
.jc-hero-top-tile img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.85) brightness(0.8); }

.jc-hero-top-scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        radial-gradient(ellipse 65% 75% at 50% 45%, rgba(8, 8, 12, 0.96) 0%, rgba(8, 8, 12, 0.86) 45%, rgba(8, 8, 12, 0.62) 100%),
        linear-gradient(0deg, var(--jc-bg) 0%, rgba(8, 8, 12, 0.5) 12%, transparent 30%);
}

.jc-hero-top .container { position: relative; z-index: 2; }

.jc-hero-top-content { max-width: 820px; margin: 0 auto; }

.jc-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 107, 0, 0.14);
    border: 1px solid rgba(255, 107, 0, 0.35);
    border-radius: var(--radius-full);
    color: var(--primary-light);
    font-size: var(--font-size-sm);
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: var(--space-6);
}

.jc-hero-top-content h1 {
    font-size: clamp(2rem, 4.6vw, 3.4rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: var(--space-6);
    color: var(--white);
}

.jc-hero-top-content .highlight { color: var(--jc-accent); }

.jc-hero-top-subtitle {
    font-size: var(--font-size-lg);
    color: var(--jc-text-dim);
    line-height: 1.7;
    max-width: 680px;
    margin: 0 auto var(--space-8);
}

.jc-hero-top-cta { display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap; }

@media (max-width: 640px) {
    .jc-hero-top { margin-top: 72px; padding: var(--space-12) 0 var(--space-10); }
    .jc-hero-top-grid { grid-template-columns: repeat(5, 1fr); }
}

/* ========================================================================
   HERO — carrossel estilo Epic Games Store (banner rotativo + sidebar)
   ======================================================================== */
.jc-hero-carousel {
    position: relative;
    margin-top: var(--space-10);
    padding: var(--space-8) 0 0;
    background: var(--jc-bg);
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: var(--space-5);
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--space-6);
    padding-right: var(--space-6);
}

.jc-hero-stage {
    position: relative;
    height: clamp(420px, 62vh, 640px);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--jc-panel);
}

.jc-hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease;
}

.jc-hero-slide.active { opacity: 1; visibility: visible; z-index: 1; }

.jc-hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.jc-hero-slide-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(6,6,10,0.92) 0%, rgba(6,6,10,0.65) 42%, rgba(6,6,10,0.15) 75%),
                linear-gradient(0deg, rgba(6,6,10,0.85) 0%, transparent 45%);
}

.jc-hero-slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: var(--space-10);
    max-width: 620px;
}

.jc-hero-slide-content .game-pill { align-self: flex-start; margin-bottom: var(--space-4); background: rgba(255,255,255,0.1); }
.jc-hero-slide-content h1 {
    font-size: clamp(1.8rem, 3.6vw, 2.9rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: var(--space-4);
}
.jc-hero-slide-content p {
    color: rgba(255,255,255,0.82);
    font-size: var(--font-size-base);
    line-height: 1.6;
    margin-bottom: var(--space-6);
    max-width: 520px;
}

.jc-hero-cta-row { display: flex; gap: var(--space-3); flex-wrap: wrap; }

.jc-hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(8,8,12,0.55);
    border: 1px solid rgba(255,255,255,0.18);
    color: var(--white);
    font-size: 1.4rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--transition-base), border-color var(--transition-base);
}
.jc-hero-arrow:hover { background: rgba(255,107,0,0.35); border-color: rgba(255,107,0,0.5); }
.jc-hero-prev { left: var(--space-5); }
.jc-hero-next { right: var(--space-5); }

.jc-hero-dots {
    position: absolute;
    z-index: 3;
    left: var(--space-10);
    bottom: var(--space-5);
    display: flex;
    gap: 8px;
}
.jc-hero-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.35); border: none; cursor: pointer; padding: 0; transition: background var(--transition-base), width var(--transition-base); }
.jc-hero-dot.active { background: var(--jc-accent); width: 22px; border-radius: var(--radius-full); }

.jc-hero-sidebar {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    height: clamp(420px, 62vh, 640px);
    overflow-y: auto;
    padding-right: 2px;
}
.jc-hero-sidebar::-webkit-scrollbar { width: 5px; }
.jc-hero-sidebar::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: var(--radius-full); }

.jc-hero-side-item {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3);
    border-radius: var(--radius-lg);
    background: var(--jc-panel);
    border: 1px solid transparent;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-base), border-color var(--transition-base);
}
.jc-hero-side-item:hover { background: var(--jc-panel-2); }
.jc-hero-side-item.active { border-color: rgba(255,107,0,0.45); background: var(--jc-panel-2); }

.jc-hero-side-thumb { flex: 0 0 60px; width: 60px; height: 60px; border-radius: var(--radius-md); overflow: hidden; background: var(--jc-panel-2); }
.jc-hero-side-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jc-hero-side-name { font-size: 0.86rem; font-weight: 600; color: var(--jc-text); line-height: 1.3; }

@media (prefers-reduced-motion: reduce) {
    .jc-hero-slide { transition: none; }
}

.btn-outline-light {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-4) var(--space-8);
    border-radius: var(--radius-lg);
    font-weight: 700;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.03);
    transition: all var(--transition-base);
}

.btn-outline-light:hover { background: rgba(255, 255, 255, 0.08); border-color: rgba(255, 255, 255, 0.4); transform: translateY(-2px); }

/* ========================================================================
   SUBNAV — barra de categorias estilo loja, fixa no topo ao rolar
   ======================================================================== */
.jc-subnav {
    position: sticky;
    top: 79px;
    z-index: 40;
    background: rgba(15, 15, 22, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--jc-line);
    padding: var(--space-4) 0;
}

.jc-subnav-list {
    display: flex;
    gap: var(--space-3);
    overflow-x: auto;
    scrollbar-width: none;
    justify-content: center;
    flex-wrap: wrap;
}

.jc-subnav-list::-webkit-scrollbar { display: none; }

.jc-subnav-list a {
    white-space: nowrap;
    padding: var(--space-2) var(--space-5);
    border-radius: var(--radius-full);
    font-size: var(--font-size-sm);
    font-weight: 600;
    color: var(--jc-text-dim);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--jc-line);
    transition: all var(--transition-base);
}

.jc-subnav-list a:hover { color: var(--white); border-color: rgba(255, 107, 0, 0.4); background: rgba(255, 107, 0, 0.08); }

/* ========================================================================
   SEÇÕES — estrutura comum
   ======================================================================== */
.jc-section { padding: var(--space-20) 0; }
.jc-section.alt { background: var(--jc-bg-light); }

.jc-section-head { max-width: 740px; margin: 0 auto var(--space-12); text-align: center; }

.jc-eyebrow {
    display: inline-block;
    padding: var(--space-2) var(--space-4);
    background: rgba(255, 107, 0, 0.12);
    color: var(--primary-light);
    border-radius: var(--radius-full);
    font-size: var(--font-size-xs);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: var(--space-4);
}

.jc-section-head h2 {
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: var(--space-3);
}

.jc-section-head p { color: var(--jc-text-dim); font-size: var(--font-size-base); line-height: 1.7; }
.jc-section-head .highlight { color: var(--jc-accent); }

/* ========================================================================
   PILL de categoria + badge de marca (compartilhados)
   ======================================================================== */
.game-pill {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--jc-line);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--jc-text-dim);
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 11px;
    border-radius: var(--radius-full);
    background: var(--gradient-primary);
    color: var(--white);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    box-shadow: 0 4px 14px var(--jc-accent-glow);
}

/* ========================================================================
   SEÇÃO 1 — Showcase (cards grandes)
   ======================================================================== */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: var(--space-8);
}

.showcase-card {
    background: var(--jc-panel);
    border: 1px solid var(--jc-line);
    border-radius: var(--radius-2xl);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

/* card inteiro clicável (envolve mídia+corpo) — usado nas Seções 1/2/4, cujos
   17 jogos sempre têm página própria. */
.jc-card-link { display: block; color: inherit; text-decoration: none; }

.showcase-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 107, 0, 0.35);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 107, 0, 0.08);
}

.showcase-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--jc-panel-2); }
.showcase-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.showcase-card:hover .showcase-media img { transform: scale(1.06); }

.showcase-media::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(10, 10, 15, 0.75) 100%);
}

.showcase-body { padding: var(--space-6); }
.showcase-body .game-pill { margin-bottom: var(--space-3); }
.showcase-body h3 { font-size: var(--font-size-xl); font-weight: 700; color: var(--white); margin: var(--space-2) 0 var(--space-3); }
.showcase-body p { color: var(--jc-text-dim); font-size: 0.92rem; line-height: 1.65; }

/* ========================================================================
   SEÇÃO 2 — Grade padrão (Top Jogos / Originais)
   ======================================================================== */
.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: var(--space-6);
}

.game-card {
    background: var(--jc-panel);
    border: 1px solid var(--jc-line);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 107, 0, 0.3);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.game-card-media { position: relative; aspect-ratio: 16/9; overflow: hidden; background: var(--jc-panel-2); }
.game-card-media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.5s ease; }
.game-card:hover .game-card-media img { transform: scale(1.07); }
.game-card-media .brand-badge { position: absolute; top: 10px; left: 10px; }

.game-card-body { padding: var(--space-5); }
.game-card-body .game-pill { margin-bottom: var(--space-2); }
.game-card-body h3 { font-size: 1.02rem; font-weight: 700; color: var(--white); margin: var(--space-2) 0 var(--space-2); }
.game-card-body p { color: var(--jc-text-dim); font-size: 0.85rem; line-height: 1.55; }

/* ---- variação "brand" sem foto (originais VR Vision sem material fotográfico) ---- */
.game-card-media--brand {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, #201033 0%, #2a1220 55%, #170e28 100%);
}

.game-card-media--brand.brand-1 { background: linear-gradient(150deg, #2a1500 0%, #3a1a00 55%, #1a0d00 100%); }
.game-card-media--brand.brand-2 { background: linear-gradient(150deg, #0e2233 0%, #123048 55%, #08151f 100%); }
.game-card-media--brand.brand-3 { background: linear-gradient(150deg, #241a33 0%, #2f2148 55%, #140d1f 100%); }
.game-card-media--brand.brand-4 { background: linear-gradient(150deg, #241000 0%, #331800 55%, #180a00 100%); }

.game-card-media--brand svg { width: 46%; max-width: 90px; height: auto; color: rgba(255, 255, 255, 0.85); }

/* ========================================================================
   SEÇÃO 3 — Catálogo completo, trilhos por categoria (estilo loja)
   ======================================================================== */
.catalog-category { margin-bottom: var(--space-12); }
.catalog-category:last-child { margin-bottom: 0; }

.catalog-category-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: var(--space-4);
    margin-bottom: var(--space-5);
}

.catalog-category-head h3 { font-size: var(--font-size-xl); font-weight: 700; color: var(--white); }
.catalog-category-head span { font-size: var(--font-size-sm); color: var(--jc-text-dim); }

.game-rail-wrap { position: relative; }

.game-rail {
    display: flex;
    gap: var(--space-4);
    overflow-x: auto;
    padding-bottom: var(--space-3);
    scroll-snap-type: x proximity;
    scroll-behavior: smooth;
}

.jc-rail-arrow {
    position: absolute;
    top: calc(50% - var(--space-3));
    transform: translateY(-50%);
    z-index: 3;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(8, 8, 12, 0.78);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: var(--white);
    font-size: 1.1rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all var(--transition-base), opacity var(--transition-base);
}
.jc-rail-arrow:hover { background: rgba(255, 107, 0, 0.4); border-color: rgba(255, 107, 0, 0.55); }
.jc-rail-arrow:disabled { opacity: 0; pointer-events: none; }
.jc-rail-arrow-prev { left: 6px; }
.jc-rail-arrow-next { right: 6px; }

@media (max-width: 640px) {
    .jc-rail-arrow { display: none; }
}

.game-rail::-webkit-scrollbar { height: 6px; }
.game-rail::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.15); border-radius: var(--radius-full); }
.game-rail::-webkit-scrollbar-track { background: transparent; }

.game-tile {
    flex: 0 0 178px;
    scroll-snap-align: start;
}

/* botão que abre o modal de info (jogos "long-tail", sem página própria) —
   reset pra parecer o mesmo bloco clicável que .jc-card-link nas outras seções */
.game-tile-open {
    display: block;
    width: 100%;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    text-align: left;
    color: inherit;
    font-family: inherit;
    cursor: pointer;
}

.game-tile-media {
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--jc-panel-2);
    border: 1px solid var(--jc-line);
    margin-bottom: var(--space-3);
    transition: transform var(--transition-base), border-color var(--transition-base);
}

.game-tile-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.game-tile:hover .game-tile-media { transform: translateY(-4px) scale(1.03); border-color: rgba(255, 107, 0, 0.4); }

.game-tile h4 { font-size: 0.86rem; font-weight: 600; color: var(--white); line-height: 1.3; margin-bottom: 2px; }
.game-tile p { font-size: 0.74rem; color: var(--jc-text-dim); line-height: 1.4; }

/* ========================================================================
   BLOCO FINAL — Kiosk Player
   ======================================================================== */
.kiosk-section { padding: var(--space-20) 0 var(--space-24); }

.kiosk-panel {
    position: relative;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: linear-gradient(120deg, #12131c 0%, #1c1430 55%, #101820 100%);
    border: 1px solid rgba(255, 107, 0, 0.25);
    padding: var(--space-16) var(--space-10);
    display: grid;
    grid-template-columns: auto 1fr;
    gap: var(--space-12);
    align-items: center;
}

.kiosk-panel::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 50% 60% at 15% 30%, rgba(255, 107, 0, 0.18) 0%, transparent 60%),
                radial-gradient(ellipse 40% 50% at 90% 80%, rgba(124, 92, 255, 0.14) 0%, transparent 55%);
    pointer-events: none;
}

.kiosk-visual {
    position: relative;
    z-index: 1;
    width: 150px;
    height: 220px;
    margin: 0 auto;
    border-radius: 22px;
    background: linear-gradient(160deg, #23242f 0%, #15151d 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kiosk-visual::before {
    content: '';
    position: absolute;
    inset: 14px 14px 34px 14px;
    border-radius: 12px;
    background: linear-gradient(160deg, rgba(255, 107, 0, 0.35), rgba(124, 92, 255, 0.25));
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.kiosk-visual::after {
    content: '';
    position: absolute;
    bottom: 14px; left: 50%;
    transform: translateX(-50%);
    width: 36px; height: 6px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.25);
}

.kiosk-visual svg { position: relative; z-index: 2; width: 42px; height: 42px; color: #fff; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4)); }

.kiosk-content { position: relative; z-index: 1; }
.kiosk-content .brand-badge { margin-bottom: var(--space-4); }
.kiosk-content h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--white); margin-bottom: var(--space-4); }
.kiosk-content p { color: var(--jc-text-dim); font-size: 1rem; line-height: 1.7; max-width: 620px; margin-bottom: var(--space-7); }
.kiosk-cta { display: flex; gap: var(--space-4); flex-wrap: wrap; }

/* ========================================================================
   RESPONSIVO
   ======================================================================== */
@media (max-width: 900px) {
    .kiosk-panel { grid-template-columns: 1fr; text-align: center; padding: var(--space-12) var(--space-6); }
    .kiosk-content p { margin-left: auto; margin-right: auto; }
    .kiosk-cta { justify-content: center; }
}

@media (max-width: 900px) {
    .jc-hero-carousel { grid-template-columns: 1fr; padding-left: var(--space-4); padding-right: var(--space-4); }
    .jc-hero-sidebar { flex-direction: row; overflow-x: auto; overflow-y: hidden; height: auto; padding-bottom: 4px; }
    .jc-hero-side-item { flex: 0 0 210px; }
}

@media (max-width: 640px) {
    .jc-hero-carousel { margin-top: 72px; }
    .jc-hero-stage { height: 420px; }
    .jc-hero-slide-content { padding: var(--space-6); max-width: 100%; }
    .jc-hero-arrow { width: 36px; height: 36px; font-size: 1.1rem; }
    .jc-subnav { top: 0; }
    .game-tile { flex-basis: 148px; }
    .showcase-grid, .game-grid { grid-template-columns: 1fr 1fr; gap: var(--space-4); }
    .jc-filter-selects { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
    .showcase-grid, .game-grid { grid-template-columns: 1fr; }
}

/* ========================================================================
   PÁGINA INDIVIDUAL DE JOGO (/jogos/<slug>.html)
   ======================================================================== */
.gd-breadcrumb {
    padding: 148px 0 0;
    font-size: 0.82rem;
    color: var(--jc-text-dim);
}
.gd-breadcrumb a { color: var(--jc-text-dim); }
.gd-breadcrumb a:hover { color: var(--jc-accent); }
.gd-breadcrumb span { color: var(--jc-text-dim); opacity: .5; margin: 0 6px; }
.gd-breadcrumb strong { color: var(--jc-text); font-weight: 500; }

.gd-hero {
    padding: var(--space-8) 0 var(--space-16);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-10);
    align-items: start;
}

.gd-media-main {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: var(--radius-2xl);
    overflow: hidden;
    background: var(--jc-panel-2);
    border: 1px solid var(--jc-line);
    box-shadow: 0 30px 60px rgba(0,0,0,0.45);
}
.gd-media-main img, .gd-media-main video { width: 100%; height: 100%; object-fit: cover; display: block; background: #000; }
.gd-media-main.gd-media-brand { display: flex; align-items: center; justify-content: center; }
.gd-media-main.gd-media-brand svg { width: 28%; max-width: 130px; height: auto; color: rgba(255,255,255,0.9); }

.gd-info { position: sticky; top: 100px; }
.gd-info .brand-badge { margin-bottom: var(--space-3); }
.gd-info .game-pill { margin-bottom: var(--space-4); }
.gd-info h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 800; color: var(--white); line-height: 1.2; margin-bottom: var(--space-4); }
.gd-info .gd-pitch { color: var(--jc-text-dim); font-size: 1rem; line-height: 1.7; margin-bottom: var(--space-7); }
.gd-cta-row { display: flex; flex-direction: column; gap: var(--space-3); }
.gd-cta-row .btn, .gd-cta-row .btn-outline-light { width: 100%; }

.gd-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: var(--space-3);
    margin-top: var(--space-6);
}
.gd-gallery-item {
    aspect-ratio: 16/9;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--jc-line);
    cursor: pointer;
    transition: border-color var(--transition-base), transform var(--transition-base);
}
.gd-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gd-gallery-item:hover { border-color: rgba(255,107,0,0.5); transform: translateY(-3px); }

.gd-section { padding: var(--space-4) 0 var(--space-12); }
.gd-section h2 { font-size: var(--font-size-xl); font-weight: 700; color: var(--white); margin-bottom: var(--space-3); }
.gd-section p { color: var(--jc-text-dim); line-height: 1.75; max-width: 760px; }

.gd-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-6);
}
.gd-stat-card {
    background: var(--jc-panel);
    border: 1px solid var(--jc-line);
    border-radius: var(--radius-lg);
    padding: var(--space-5);
}
.gd-stat-card svg { width: 22px; height: 22px; color: var(--jc-accent); margin-bottom: var(--space-3); }
.gd-stat-card .gd-stat-label { display: block; font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.5px; color: var(--jc-text-dim); margin-bottom: 4px; }
.gd-stat-card .gd-stat-value { font-size: 0.95rem; font-weight: 600; color: var(--white); line-height: 1.4; }
.gd-stat-card .gd-stat-headline { display: block; font-size: 1.05rem; font-weight: 800; color: var(--jc-accent); margin-bottom: 3px; }
.gd-stat-card .gd-stat-detail { display: block; font-size: 0.78rem; font-weight: 500; color: var(--jc-text-dim); line-height: 1.45; }
.gd-stats-note { margin-top: var(--space-4); font-size: 0.8rem; color: var(--jc-text-dim); opacity: 0.75; font-style: italic; }

.gd-lightbox {
    display: none;
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(5,5,10,0.94);
    align-items: center; justify-content: center;
    backdrop-filter: blur(8px);
}
.gd-lightbox.active { display: flex; }
.gd-lightbox img { max-width: 92vw; max-height: 86vh; border-radius: var(--radius-lg); box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.gd-lightbox-close {
    position: absolute; top: 22px; right: 26px;
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
    color: #fff; font-size: 1.3rem; display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.gd-lightbox-close:hover { background: rgba(255,107,0,0.3); }

.gd-related { padding: var(--space-4) 0 var(--space-20); }
.gd-related h2 { font-size: var(--font-size-lg); font-weight: 700; color: var(--white); margin-bottom: var(--space-5); }

@media (max-width: 900px) {
    .gd-hero { grid-template-columns: 1fr; }
    .gd-info { position: static; }
    .gd-stats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .gd-stats { grid-template-columns: 1fr 1fr; }
    .gd-breadcrumb { padding-top: 132px; }
}

/* ========================================================================
   APP OFICIAL — badge de loja + visual de hero + status de lançamento
   Usado em kiosk-player.html, no destaque da home (index.html) e na seção
   Kiosk Player de jogos-comerciais.html. Ícone da loja é um traço próprio
   (headset), não o logo da Meta — só o link aponta pra Meta Quest Store.
   ======================================================================== */
.store-badge {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: var(--space-3);
    padding: 10px 22px 10px 16px;
    background: #050506;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    color: var(--white);
    text-decoration: none;
    transition: transform var(--transition-base), border-color var(--transition-base), background var(--transition-base);
}
.store-badge:hover { transform: translateY(-2px); border-color: rgba(255, 107, 0, 0.5); background: #0c0c0e; }
.store-badge svg { width: 27px; height: 27px; flex-shrink: 0; color: var(--jc-accent); }
.store-badge-text { display: flex; flex-direction: column; line-height: 1.25; }
.store-badge-eyebrow { font-size: 0.66rem; color: rgba(255, 255, 255, 0.6); letter-spacing: 0.3px; }
.store-badge-name { font-size: 1.02rem; font-weight: 700; }
.store-badge.store-badge-sm { padding: 7px 16px 7px 12px; }
.store-badge.store-badge-sm svg { width: 21px; height: 21px; }
.store-badge.store-badge-sm .store-badge-name { font-size: 0.88rem; }

.release-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    background: rgba(255, 107, 0, 0.1);
    border: 1px solid rgba(255, 107, 0, 0.35);
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--jc-text);
}
.release-pill-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--jc-accent); box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.22); flex-shrink: 0; }
.release-pill[data-kiosk-release="live"] { background: rgba(46, 204, 113, 0.1); border-color: rgba(46, 204, 113, 0.35); }
.release-pill[data-kiosk-release="live"] .release-pill-dot { background: #2ECC71; box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.22); }

/* Visual de hero — recria a tela de espera do app (o "attract loop" real:
   ícone parado, pulsando devagar, esperando o próximo participante) em vez
   de usar screenshot da loja (Meta bloqueia scraping de imagem — ver AGENTS.md). */
.gd-media-main.kiosk-app-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-5);
    background:
        radial-gradient(ellipse 60% 65% at 50% 40%, rgba(255, 107, 0, 0.18) 0%, transparent 65%),
        linear-gradient(160deg, #12131c 0%, #0a0a10 100%);
}
.kiosk-app-rings {
    position: absolute;
    width: 150px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.kiosk-app-ring {
    position: absolute;
    inset: 0;
    border-radius: 28px;
    border: 1.5px solid rgba(255, 107, 0, 0.45);
    animation: kioskPulse 2.8s ease-out infinite;
}
.kiosk-app-ring.delay { animation-delay: 1.4s; }
@keyframes kioskPulse {
    0%   { transform: scale(0.72); opacity: 0.9; }
    100% { transform: scale(2); opacity: 0; }
}
.kiosk-app-lockup { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: var(--space-5); }
/* .gd-media-main img (regra base, width/height:100%) tem 1 classe + 1 elemento de
   especificidade — precisa de 2 classes aqui pra ganhar, senão o logo estica pro
   tamanho do container inteiro. */
.kiosk-app-lockup .kiosk-app-logo { width: 148px; height: auto; filter: drop-shadow(0 12px 30px rgba(0, 0, 0, 0.5)); }
.kiosk-app-sub { font-size: 1.05rem; font-weight: 700; color: var(--jc-accent); letter-spacing: 0.3px; }
.kiosk-app-visual-caption { position: relative; z-index: 1; font-size: 0.76rem; color: var(--jc-text-dim); text-align: center; padding: 0 var(--space-8); margin-top: calc(-1 * var(--space-3)); }
@media (prefers-reduced-motion: reduce) {
    .kiosk-app-ring { animation: none; opacity: 0.3; }
}

/* Lista de recursos ("como funciona") — sobrepõe .gd-section p de propósito
   (vem depois no arquivo), cards precisam de texto claro, não o dim padrão. */
.gd-feature-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-4);
    margin-top: var(--space-6);
}
.gd-feature-item {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-5);
    background: var(--jc-panel);
    border: 1px solid var(--jc-line);
    border-radius: var(--radius-lg);
}
.gd-feature-item svg { width: 20px; height: 20px; color: var(--jc-accent); flex-shrink: 0; margin-top: 2px; }
.gd-feature-item p { color: var(--jc-text); font-size: 0.88rem; line-height: 1.55; margin: 0; max-width: none; }

/* Bloco técnico compacto ("nome do arquivo define a projeção") */
.gd-tech-note {
    margin-top: var(--space-6);
    padding: var(--space-5) var(--space-6);
    background: var(--jc-bg);
    border: 1px solid var(--jc-line);
    border-radius: var(--radius-lg);
}
.gd-tech-note h3 { font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: var(--space-3); }
.gd-tech-note code {
    background: var(--jc-panel-2);
    border: 1px solid var(--jc-line);
    border-radius: var(--radius-sm);
    padding: 1px 7px;
    font-size: 0.82rem;
    color: var(--jc-accent);
}
.gd-tech-note ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.gd-tech-note li { font-size: 0.86rem; color: var(--jc-text-dim); line-height: 1.5; }

@media (max-width: 640px) {
    .kiosk-app-logo { width: 132px; }
    .store-badge { padding: 9px 18px 9px 14px; }
}

/* ========================================================================
   BARRA DE FILTRO — busca + categoria (chips) + duração/jogadores/facilidade (selects)
   Filtra só a Seção 3 (Catálogo Completo / long-tail) — Seções 1/2/4 são
   vitrines curadas pequenas e ficam sempre visíveis.
   ======================================================================== */
.jc-filter-bar {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    margin-bottom: var(--space-10);
    padding: var(--space-5);
    background: var(--jc-panel);
    border: 1px solid var(--jc-line);
    border-radius: var(--radius-xl);
}

.jc-filter-search { position: relative; }
.jc-filter-search svg {
    position: absolute; left: var(--space-4); top: 50%; transform: translateY(-50%);
    width: 18px; height: 18px; color: var(--jc-text-dim); pointer-events: none;
}
.jc-filter-search input {
    width: 100%;
    padding: var(--space-3) var(--space-4) var(--space-3) 44px;
    background: var(--jc-bg);
    border: 1px solid var(--jc-line);
    border-radius: var(--radius-lg);
    color: var(--jc-text);
    font-family: var(--font-family);
    font-size: 0.92rem;
}
.jc-filter-search input:focus { outline: none; border-color: rgba(255,107,0,0.5); }
.jc-filter-search input::placeholder { color: var(--jc-text-dim); }

.jc-filter-chips {
    display: flex;
    gap: var(--space-2);
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.jc-filter-chips::-webkit-scrollbar { display: none; }

.jc-filter-chip {
    white-space: nowrap;
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--jc-text-dim);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--jc-line);
    cursor: pointer;
    transition: all var(--transition-base);
}
.jc-filter-chip:hover { color: var(--white); border-color: rgba(255,107,0,0.35); }
.jc-filter-chip.active { color: var(--white); background: rgba(255,107,0,0.14); border-color: rgba(255,107,0,0.5); }

.jc-filter-selects {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-3);
}

.jc-filter-select {
    padding: var(--space-3) var(--space-4);
    background: var(--jc-bg);
    border: 1px solid var(--jc-line);
    border-radius: var(--radius-lg);
    color: var(--jc-text);
    font-family: var(--font-family);
    font-size: 0.85rem;
    cursor: pointer;
}
.jc-filter-select:focus { outline: none; border-color: rgba(255,107,0,0.5); }

.jc-filter-empty {
    text-align: center;
    color: var(--jc-text-dim);
    padding: var(--space-10) 0;
    font-size: 0.95rem;
}

/* ========================================================================
   MODAL — shell de info do jogo secundário
   ======================================================================== */
.jc-modal-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(5,5,10,0.88);
    backdrop-filter: blur(8px);
    align-items: center; justify-content: center;
    padding: var(--space-6);
}
.jc-modal-overlay.active { display: flex; }

.jc-modal {
    position: relative;
    width: 100%;
    background: var(--jc-panel);
    border: 1px solid var(--jc-line);
    border-radius: var(--radius-2xl);
    box-shadow: 0 30px 80px rgba(0,0,0,0.6);
    max-height: 88vh;
    overflow-y: auto;
    padding: var(--space-8);
}

.jc-modal-close {
    position: absolute; top: var(--space-5); right: var(--space-5); z-index: 2;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
    color: var(--white); font-size: 1.25rem; line-height: 1;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
}
.jc-modal-close:hover { background: rgba(255,107,0,0.3); }

.jc-modal h2 { font-size: var(--font-size-xl); font-weight: 800; color: var(--white); margin-bottom: var(--space-6); padding-right: var(--space-10); }

/* ---- info do jogo secundário (reaproveita .gd-stats/.gd-stat-card) ---- */
.jc-info-modal { max-width: 720px; }
.jc-info-media { aspect-ratio: 16/9; border-radius: var(--radius-xl); overflow: hidden; background: var(--jc-panel-2); margin-bottom: var(--space-6); }
.jc-info-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.jc-info-modal .game-pill { margin-bottom: var(--space-3); }
.jc-info-modal p.jc-info-pitch { color: var(--jc-text-dim); line-height: 1.7; margin-bottom: var(--space-6); }
.jc-info-modal .gd-stats { margin-top: 0; }
.jc-info-cta { display: flex; gap: var(--space-3); margin-top: var(--space-6); flex-wrap: wrap; }

/* ========================================================================
   VARIANTE "BRAND" PRO COMPONENTE DE RAIL (ícone de marca sem foto — mesmo
   recurso visual de .game-card-media--brand/.gd-media-brand, aplicado ao
   tile do rail; cada componente já define a própria variante nesse arquivo)
   ======================================================================== */
.game-tile-media--brand {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(150deg, #201033 0%, #2a1220 55%, #170e28 100%);
}
.game-tile-media--brand.brand-1 { background: linear-gradient(150deg, #2a1500 0%, #3a1a00 55%, #1a0d00 100%); }
.game-tile-media--brand.brand-2 { background: linear-gradient(150deg, #0e2233 0%, #123048 55%, #08151f 100%); }
.game-tile-media--brand.brand-3 { background: linear-gradient(150deg, #241a33 0%, #2f2148 55%, #140d1f 100%); }
.game-tile-media--brand.brand-4 { background: linear-gradient(150deg, #241000 0%, #331800 55%, #180a00 100%); }
.game-tile-media--brand svg { width: 42%; max-width: 56px; height: auto; color: rgba(255,255,255,0.85); }

/* ========================================================================
   RAILS NA HOME (index.html) — mesmo componente .game-rail/.game-tile,
   dentro de uma seção com fundo escuro explícito (index.html não tem
   body.jc-page, então o fundo escuro precisa ser declarado na seção)
   ======================================================================== */
.jc-rail-section { background: var(--jc-bg); padding: var(--space-20) 0; }
.jc-rail-section.alt { background: var(--jc-bg-light); }
.jc-rail-section .jc-section-head { max-width: 740px; margin: 0 auto var(--space-10); text-align: center; }
.jc-rail-section .jc-section-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.2rem); font-weight: 800; color: var(--white); margin-bottom: var(--space-3); }
.jc-rail-section .jc-section-head p { color: var(--jc-text-dim); line-height: 1.7; }

.jc-rail-cta {
    flex: 0 0 178px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: var(--space-3);
    aspect-ratio: 16/9;
    border-radius: var(--radius-lg);
    background: var(--jc-panel);
    border: 1px dashed var(--jc-line);
    color: var(--jc-text);
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    padding: var(--space-4);
    transition: all var(--transition-base);
}
.jc-rail-cta:hover { border-color: rgba(255,107,0,0.5); background: var(--jc-panel-2); color: var(--white); }
.jc-rail-cta svg { width: 22px; height: 22px; color: var(--jc-accent); }

.jc-rail-section-cta { display: flex; justify-content: center; gap: var(--space-4); flex-wrap: wrap; margin-top: var(--space-10); }

@media (max-width: 640px) {
    .jc-filter-selects { grid-template-columns: 1fr 1fr; }
    .jc-modal { padding: var(--space-6); }
}

@media (max-width: 420px) {
    .jc-filter-selects { grid-template-columns: 1fr; }
}
