/* ============================================================
   games.css — landings de juegos (paletas propias, scoped)
   ============================================================ */

.game-page {
    --gp-bg: #0d142e;
    --gp-surface: #1a2442;
    --gp-accent: #facc4d;
    --gp-accent2: #29b8ad;
    --gp-text: #f4f6ff;
    --gp-muted: #9aa6cc;
    background: var(--gp-bg);
    color: var(--gp-text);
    font-family: var(--font-main);
}
/* Latam Match palette */
.game-page.latam {
    --gp-bg: #12162b;
    --gp-surface: #1c2140;
    --gp-accent: #ffcc33;
    --gp-accent2: #4cd964;
    --gp-cyan: #5ac8fa;
    --gp-text: #f6f7ff;
    --gp-muted: #a2a9cf;
}
/* Ley 21.719 palette (profesional, protección de datos) */
.game-page.ley {
    --gp-bg: #0b1120;
    --gp-surface: #141c30;
    --gp-accent: #22d3ee;
    --gp-accent2: #6366f1;
    --gp-amber: #facc4d;
    --gp-text: #f4f7ff;
    --gp-muted: #9fb0cf;
}
/* Virtual Camera Studio palette (macOS, cámara virtual) */
.game-page.vcs {
    --gp-bg: #070c18;
    --gp-surface: #111a2e;
    --gp-accent: #4cc2ff;
    --gp-accent2: #ff6b5e;
    --gp-text: #f2f6ff;
    --gp-muted: #97a5c4;
}
/* Jackpot palette */
.game-page.jackpot {
    --gp-bg: #05081a;
    --gp-surface: #1a2442;
    --gp-accent: #facc4d;
    --gp-accent2: #29b8ad;
    --gp-red: #d41f38;
    --gp-text: #fdf6e3;
    --gp-muted: #9aa6cc;
}

.game-page .gp-container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.game-page h1, .game-page h2, .game-page h3 { color: var(--gp-text); }
.game-page a { color: var(--gp-accent); }

/* HERO */
.gp-hero {
    position: relative;
    padding: 140px 0 70px;
    overflow: hidden;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.gp-hero-bg {
    position: absolute; inset: 0;
    background-size: cover; background-position: center;
    opacity: 0.28;
    z-index: 0;
}
.gp-hero::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(5,8,26,0.4) 0%, var(--gp-bg) 92%);
    z-index: 1;
}
.gp-hero-inner { position: relative; z-index: 2; }
.gp-logo { width: 118px; height: 118px; border-radius: 26px; box-shadow: 0 16px 50px rgba(0,0,0,0.5); margin-bottom: 22px; }
.gp-logo-wide { max-width: 320px; width: 70%; height: auto; margin-bottom: 20px; filter: drop-shadow(0 12px 30px rgba(0,0,0,0.5)); }
.gp-title { font-size: clamp(2.4rem, 6vw, 3.8rem); font-weight: 800; letter-spacing: -0.02em; }
.gp-tagline { font-size: clamp(1.2rem, 3vw, 1.7rem); font-weight: 700; color: var(--gp-accent); margin: 10px 0 14px; }
.gp-sub { color: var(--gp-muted); font-size: 1.1rem; max-width: 800px; margin: 0 auto 26px; line-height: 1.6; }
.gp-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.gp-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.gp-badge {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.78rem; font-weight: 600;
    padding: 6px 14px; border-radius: 999px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: var(--gp-muted);
}
.gp-badge .ic { font-size: 0.9rem; }
.gp-badge-hot { color: var(--gp-accent); border-color: color-mix(in srgb, var(--gp-accent) 40%, transparent); }

/* BOTONES */
.gp-btn {
    display: inline-flex; align-items: center; gap: 9px;
    padding: 14px 26px; border-radius: 12px;
    font-weight: 700; font-size: 1rem;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
    border: none; cursor: pointer;
}
.gp-btn .ic { font-size: 1.15rem; }
.game-page .gp-btn-primary { background: var(--gp-accent); color: #1a1200; box-shadow: 0 8px 24px color-mix(in srgb, var(--gp-accent) 35%, transparent); }
.game-page .gp-btn-primary:hover { transform: translateY(-2px); color: #1a1200; }
.game-page .gp-btn-green { background: var(--gp-accent2); color: #052012; box-shadow: 0 8px 24px color-mix(in srgb, var(--gp-accent2) 35%, transparent); }
.game-page .gp-btn-green:hover { transform: translateY(-2px); color: #052012; }
.game-page .gp-btn-outline { background: rgba(255,255,255,0.05); color: var(--gp-text); border: 1px solid rgba(255,255,255,0.18); }
.game-page .gp-btn-outline:hover { transform: translateY(-2px); color: var(--gp-text); background: rgba(255,255,255,0.1); }
.game-page .gp-btn-soon { background: rgba(255,255,255,0.08); color: var(--gp-muted); cursor: default; border: 1px dashed rgba(255,255,255,0.25); }

/* SECTIONS */
.gp-section { padding: 64px 0; }
.gp-section-alt { background: color-mix(in srgb, var(--gp-surface) 55%, var(--gp-bg)); }
.gp-eyebrow { text-align: center; font-family: var(--font-mono); color: var(--gp-accent2); font-size: 0.85rem; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 8px; }
.gp-h2 { text-align: center; font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 12px; }
.gp-lead { text-align: center; color: var(--gp-muted); max-width: 880px; margin: 0 auto 40px; line-height: 1.6; }

/* FEATURES */
.gp-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.gp-feature {
    background: var(--gp-surface);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 22px;
    transition: transform .2s ease, border-color .2s ease;
}
.gp-feature:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--gp-accent) 40%, transparent); }
.gp-feature-ic {
    width: 46px; height: 46px; border-radius: 12px;
    display: grid; place-items: center;
    background: color-mix(in srgb, var(--gp-accent) 16%, transparent);
    color: var(--gp-accent);
    margin-bottom: 14px;
}
.gp-feature-ic .ic { font-size: 1.4rem; }
.gp-feature h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.gp-feature p { color: var(--gp-muted); font-size: 0.9rem; line-height: 1.55; }

/* GALLERY */
.gp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}
.gp-gallery img {
    width: 100%; height: auto; display: block;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 10px 30px rgba(0,0,0,0.35);
    transition: transform .25s ease;
}
.gp-gallery img:hover { transform: scale(1.03); }
.gp-gallery-wide { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }

/* REGIONS (Latam) */
.gp-regions {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 14px;
}
.gp-region {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    aspect-ratio: 4/3;
    border: 1px solid rgba(255,255,255,0.08);
}
.gp-region img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gp-region:hover img { transform: scale(1.08); }
.gp-region-label {
    position: absolute; inset: auto 0 0 0;
    padding: 22px 12px 10px;
    background: linear-gradient(0deg, rgba(0,0,0,0.85), transparent);
    font-size: 0.85rem;
}
.gp-region-label strong { display: block; color: #fff; font-size: 0.92rem; }
.gp-region-label span { color: var(--gp-muted); font-size: 0.75rem; }
.gp-region-num {
    position: absolute; top: 8px; left: 8px;
    width: 24px; height: 24px; border-radius: 50%;
    display: grid; place-items: center;
    background: var(--gp-accent); color: #1a1200;
    font-size: 0.72rem; font-weight: 800;
}

/* RESPONSIBLE / NOTE */
.gp-note {
    max-width: 760px; margin: 0 auto;
    background: color-mix(in srgb, var(--gp-red, var(--gp-accent)) 10%, var(--gp-surface));
    border: 1px solid color-mix(in srgb, var(--gp-red, var(--gp-accent)) 35%, transparent);
    border-radius: 14px;
    padding: 22px 24px;
    display: flex; gap: 16px; align-items: flex-start;
}
.gp-note .ic { font-size: 1.5rem; color: var(--gp-accent); flex-shrink: 0; margin-top: 2px; }
.gp-note p { color: var(--gp-muted); font-size: 0.9rem; line-height: 1.6; }
.gp-note strong { color: var(--gp-text); }

/* CTA FINAL */
.gp-final { text-align: center; padding: 80px 0; }
.gp-final h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 14px; }
.gp-final p { color: var(--gp-muted); margin-bottom: 28px; }

/* landscape strip */
.gp-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gp-strip img { width: 100%; height: 180px; object-fit: cover; border-radius: 12px; border: 1px solid rgba(255,255,255,0.08); }

.gp-back { display: inline-flex; align-items: center; gap: 6px; color: var(--gp-muted); font-size: 0.85rem; margin-top: 40px; }
.gp-back:hover { color: var(--gp-text); }

@media (max-width: 600px) {
    .gp-strip { grid-template-columns: 1fr; }
    .gp-strip img { height: 200px; }
}

/* ============================================================
   Video en marco de iPhone (landing de juego)
   ============================================================ */
.gp-video-row { display: flex; align-items: center; gap: 52px; flex-wrap: wrap; justify-content: center; }
.gp-video-copy { flex: 1; min-width: 280px; max-width: 540px; }
.gp-video-copy .gp-eyebrow, .gp-video-copy .gp-h2, .gp-video-copy .gp-lead { text-align: left; margin-left: 0; margin-right: 0; }
.gp-video-copy .gp-lead { margin-bottom: 26px; max-width: none; }
.gp-phone {
    position: relative; width: 286px; flex-shrink: 0;
    padding: 12px; border-radius: 46px;
    background: linear-gradient(155deg, #23232a, #0a0a0f);
    box-shadow: 0 40px 90px rgba(0,0,0,0.62), 0 0 0 1px rgba(255,255,255,0.06) inset;
}
.gp-phone::before {
    content: ""; position: absolute; inset: -40px; z-index: -1; border-radius: 50%;
    background: radial-gradient(ellipse at center, color-mix(in srgb, var(--gp-accent) 32%, transparent), transparent 68%);
    filter: blur(42px);
}
.gp-phone video { width: 100%; display: block; border-radius: 34px; aspect-ratio: 9 / 19.5; object-fit: cover; background: #000; }
.gp-phone-notch { position: absolute; top: 25px; left: 50%; transform: translateX(-50%); width: 90px; height: 27px; background: #000; border-radius: 15px; z-index: 2; }
@media (prefers-reduced-motion: no-preference) {
    .gp-phone { animation: gpFloat 6.5s ease-in-out infinite; }
    @keyframes gpFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-13px); } }
}
@media (max-width: 600px) { .gp-phone { width: 244px; } }

/* Marco de iPhone horizontal (para juegos landscape como Jackpot) */
.gp-phone-landscape { width: 100%; max-width: 540px; border-radius: 34px; padding: 11px; }
.gp-phone-landscape video { aspect-ratio: 19.5 / 9; border-radius: 24px; }
.gp-phone-landscape .gp-phone-notch { top: 50%; left: 22px; transform: translateY(-50%); width: 24px; height: 84px; border-radius: 12px; }

/* ============================================================
   Ley 21.719 landing — extras
   ============================================================ */
.game-page.ley .gp-hero-bg {
    opacity: 1;
    background:
        radial-gradient(70% 60% at 20% 0%, rgba(34,211,238,0.18), transparent 60%),
        radial-gradient(60% 60% at 85% 20%, rgba(99,102,241,0.20), transparent 60%),
        radial-gradient(50% 50% at 50% 100%, rgba(168,85,247,0.12), transparent 70%);
}
.game-page.ley .gp-title .grad {
    background: linear-gradient(90deg, #22d3ee, #6366f1, #a855f7);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
/* Barra de estadísticas de urgencia (ámbar) */
.ley-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
    max-width: 820px; margin: 34px auto 0;
}
.ley-stat {
    background: rgba(250,204,77,0.06);
    border: 1px solid rgba(250,204,77,0.22);
    border-radius: 16px; padding: 18px 16px; text-align: center;
}
.ley-stat .num { display: block; font-size: clamp(1.5rem, 4vw, 2.1rem); font-weight: 800; color: #facc4d; letter-spacing: -0.02em; }
.ley-stat .lbl { display: block; margin-top: 4px; font-size: 0.82rem; color: var(--gp-muted); line-height: 1.35; }

/* Callout de la ley */
.ley-callout {
    display: flex; gap: 16px; align-items: flex-start;
    background: rgba(250,204,77,0.07);
    border: 1px solid rgba(250,204,77,0.28);
    border-left: 3px solid #facc4d;
    border-radius: 16px; padding: 22px 24px;
    max-width: 900px; margin: 0 auto;
}
.ley-callout .ic { color: #facc4d; flex-shrink: 0; width: 26px; height: 26px; margin-top: 2px; }
.ley-callout p { color: var(--gp-muted); line-height: 1.65; margin: 0; }
.ley-callout strong { color: var(--gp-text); }

/* Galería de teléfonos (screenshots verticales) */
.ley-shots {
    display: flex; gap: 22px; justify-content: center; flex-wrap: wrap;
}
.ley-shot {
    width: 220px; border-radius: 30px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.45);
    background: #000;
}
.ley-shot img { display: block; width: 100%; height: auto; }
.ley-shot-cap { text-align: center; font-size: 0.82rem; color: var(--gp-muted); padding: 10px 8px 12px; }

/* Sección "cómo te ayuda" — pasos */
.ley-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; margin-top: 8px; }
.ley-step {
    background: var(--gp-surface); border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px; padding: 22px 20px;
}
.ley-step .stnum {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 10px; margin-bottom: 12px;
    font-weight: 800; color: #0b1120;
    background: linear-gradient(135deg, #22d3ee, #6366f1);
}
.ley-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.ley-step p { color: var(--gp-muted); font-size: 0.92rem; line-height: 1.55; }

@media (max-width: 620px) {
    .ley-stats { grid-template-columns: 1fr; gap: 12px; }
    .ley-shot { width: 46%; min-width: 150px; }
}

.game-page .gp-disclaimer {
    max-width: 640px; margin: 20px auto 0;
    font-size: 0.8rem; color: var(--gp-muted); line-height: 1.55; opacity: 0.85;
}

/* ============================================================
   Virtual Camera Studio landing — extras
   ============================================================ */
.game-page.vcs .gp-hero-bg { opacity: 0.5; }
.game-page.vcs .gp-hero::after {
    background: linear-gradient(180deg, rgba(7,12,24,0.55) 0%, rgba(7,12,24,0.85) 55%, var(--gp-bg) 100%);
}
.game-page.vcs .gp-title .grad {
    background: linear-gradient(90deg, #4cc2ff, #6f8cff, #ff6b5e);
    -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.game-page.vcs .gp-btn-primary { color: #04101f; box-shadow: 0 8px 24px rgba(76,194,255,0.32); }
.game-page.vcs .gp-btn-primary:hover { color: #04101f; }

/* Barra de cifras (reusa .ley-stats con paleta azul) */
.game-page.vcs .ley-stat { background: rgba(76,194,255,0.06); border-color: rgba(76,194,255,0.22); }
.game-page.vcs .ley-stat .num { color: #4cc2ff; }

/* Callout azul */
.game-page.vcs .vcs-callout { background: rgba(76,194,255,0.07); border-color: rgba(76,194,255,0.26); border-left-color: #4cc2ff; }
.game-page.vcs .vcs-callout .ic { color: #4cc2ff; }

/* Pasos con degradado azul */
.game-page.vcs .ley-step .stnum { background: linear-gradient(135deg, #4cc2ff, #6f8cff); color: #04101f; }

/* Chips de apps compatibles */
.vcs-compat { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.vcs-chip {
    display: inline-flex; align-items: center;
    padding: 11px 20px; border-radius: 999px;
    background: var(--gp-surface);
    border: 1px solid rgba(255,255,255,0.09);
    font-weight: 600; font-size: 0.95rem; color: var(--gp-text);
    transition: transform .2s ease, border-color .2s ease;
}
.vcs-chip:hover { transform: translateY(-2px); border-color: rgba(76,194,255,0.45); }
.vcs-chip-more { background: transparent; color: var(--gp-muted); font-weight: 500; border-style: dashed; }

/* Capturas de ventana Mac (horizontales, con pie de foto) */
.vcs-shots { display: grid; grid-template-columns: repeat(auto-fit, minmax(330px, 1fr)); gap: 24px; }
.vcs-shot { margin: 0; }
.vcs-shot img {
    width: 100%; height: auto; display: block;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 18px 46px rgba(0,0,0,0.5);
    transition: transform .25s ease;
}
.vcs-shot img:hover { transform: translateY(-4px); }
.vcs-shot figcaption { color: var(--gp-muted); font-size: 0.87rem; line-height: 1.5; padding: 12px 4px 0; }

/* Marco de ventana Mac (para el video demo) */
.vcs-window {
    position: relative; width: 100%; max-width: 620px; flex-shrink: 0;
    border-radius: 14px; overflow: hidden;
    background: #1b1f27;
    border: 1px solid rgba(255,255,255,0.09);
    box-shadow: 0 34px 80px rgba(0,0,0,0.6);
}
.vcs-window-bar { display: flex; gap: 8px; align-items: center; height: 30px; padding: 0 13px; background: #23272f; }
.vcs-window-bar i { width: 11px; height: 11px; border-radius: 50%; background: #4a5060; }
.vcs-window-bar i:nth-child(1) { background: #ff5f57; }
.vcs-window-bar i:nth-child(2) { background: #febc2e; }
.vcs-window-bar i:nth-child(3) { background: #28c840; }
.vcs-window video { display: block; width: 100%; height: auto; background: #000; }
/* Videotutorial de YouTube con carga diferida (facade) */
.vcs-tut { padding-top: 56px; }
.vcs-yt {
    position: relative; width: 100%; aspect-ratio: 16 / 9;
    border-radius: 16px; overflow: hidden;
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: 0 34px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(76,194,255,0.14);
    background: #000;
}
.vcs-yt iframe { width: 100%; height: 100%; display: block; border: 0; }
.vcs-yt-btn {
    position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer;
    background: none; display: block; width: 100%; height: 100%;
}
.vcs-yt-btn img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.vcs-yt-btn::after {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(circle at center, rgba(0,0,0,.18), rgba(0,0,0,.42));
    opacity: 0; transition: opacity .3s ease;
}
.vcs-yt-btn:hover img { transform: scale(1.02); }
.vcs-yt-btn:hover::after { opacity: 1; }
.vcs-yt-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 96px; z-index: 2; transition: transform .25s ease;
    filter: drop-shadow(0 10px 26px rgba(0,0,0,.6));
}
/* Halo oscuro detrás del play: la miniatura tiene texto e imágenes debajo */
.vcs-yt-play::before {
    content: ""; position: absolute; top: 50%; left: 50%;
    width: 260px; height: 260px; transform: translate(-50%,-50%);
    border-radius: 50%; background: radial-gradient(circle, rgba(0,0,0,.62), transparent 68%);
    z-index: -1;
}
.vcs-yt-play svg { width: 100%; height: auto; display: block; }
.vcs-yt-play .p { fill: #212121; opacity: .82; transition: fill .25s ease, opacity .25s ease; }
.vcs-yt-play .t { fill: #fff; }
.vcs-yt-btn:hover .vcs-yt-play { transform: translate(-50%,-50%) scale(1.08); }
@media (max-width: 700px) { .vcs-yt-play { left: 50%; } }
.vcs-yt-btn:hover .vcs-yt-play .p { fill: #ff0000; opacity: 1; }
.vcs-yt-btn:focus-visible { outline: 3px solid var(--gp-accent); outline-offset: 3px; }
@media (max-width: 600px) { .vcs-yt-play { width: 74px; } }

/* Variante ancha: el demo ocupa todo el contenedor de la sección */
.vcs-window-wide { max-width: 100%; margin: 0 auto; }
.game-page.vcs .gp-disclaimer { margin-top: 18px; }

/* Planes gratis / Pro */
.vcs-plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 820px; margin: 0 auto; }
.vcs-plan {
    position: relative;
    background: var(--gp-surface);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px; padding: 28px 26px;
}
.vcs-plan-pro { border-color: rgba(76,194,255,0.4); box-shadow: 0 0 0 1px rgba(76,194,255,0.12), 0 20px 50px rgba(76,194,255,0.08); }
.vcs-plan h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 4px; }
.vcs-plan-price { font-size: clamp(1.8rem, 4vw, 2.3rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 18px; }
.vcs-plan-pro .vcs-plan-price { color: #4cc2ff; }
.vcs-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.vcs-plan li { display: flex; gap: 10px; align-items: flex-start; color: var(--gp-muted); font-size: 0.92rem; line-height: 1.5; }
.vcs-plan li .ic { flex-shrink: 0; width: 18px; height: 18px; margin-top: 2px; color: var(--gp-accent); }
.vcs-plan-tag {
    position: absolute; top: -13px; right: 20px;
    display: inline-flex; align-items: center; gap: 6px;
    padding: 5px 13px; border-radius: 999px;
    background: linear-gradient(135deg, #4cc2ff, #6f8cff); color: #04101f;
    font-size: 0.76rem; font-weight: 800; letter-spacing: 0.3px;
}
.vcs-plan-tag .ic { width: 14px; height: 14px; }

@media (max-width: 620px) {
    .vcs-shots { grid-template-columns: 1fr; }
    .vcs-chip { font-size: 0.87rem; padding: 9px 16px; }
}

/* Evita overflow horizontal por el glow del dispositivo en móvil */
.game-page { overflow-x: clip; }

/* ─────────────────────────────────────────────────────────────
   CuantoCobro — landing de la app
   El rojo de marca se declara a nivel de página para que .gp-note,
   .gp-btn-primary y el resto de piezas compartidas lo hereden sin
   duplicar reglas.
   ───────────────────────────────────────────────────────────── */
.game-page.cuantocobro {
    --gp-red: #d92027;
    --gp-accent: #ef4d52;
    --gp-accent2: #d92027;
}

/* Botonera bajo el copy del video */
.cc-videoswitch { display: flex; flex-wrap: wrap; gap: 12px; }

/* Tarjetas de oficio con sus plantillas de ejemplo */
.cc-trades {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 18px;
    margin: 28px 0;
}
.cc-trade {
    background: var(--gp-surface, rgba(255,255,255,.04));
    border: 1px solid var(--gp-border, rgba(255,255,255,.10));
    border-radius: 16px;
    padding: 20px 22px;
}
.cc-trade h3 {
    display: flex; align-items: center; gap: 9px;
    font-size: 1rem; margin: 0 0 12px;
    color: var(--gp-text);
}
.cc-trade h3 svg { width: 18px; height: 18px; color: var(--gp-accent); flex-shrink: 0; }
.cc-trade ul { list-style: none; margin: 0; padding: 0; }
.cc-trade li {
    position: relative; padding-left: 16px;
    font-size: .88rem; line-height: 1.75; color: var(--gp-muted);
}
.cc-trade li::before {
    content: "";
    position: absolute; left: 0; top: .72em;
    width: 5px; height: 5px; border-radius: 50%;
    background: var(--gp-accent);
}

/* Galería de capturas, cada una dentro de un marco de teléfono.
   Scroll horizontal con snap: en móvil se pasa el dedo, en escritorio se ven
   tres a la vez y se arrastra para el resto. */
.cc-shots {
    display: flex; gap: 30px; margin-top: 34px;
    overflow-x: auto; padding: 20px 4px 26px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.cc-shot { margin: 0; flex: 0 0 auto; scroll-snap-align: center; text-align: center; }
/* El marco compartido, encogido: el glow y el flotado vienen de .gp-phone. */
.cc-shot-phone { width: 210px; padding: 9px; border-radius: 34px; }
.cc-shot-phone img {
    width: 100%; height: auto; display: block;
    border-radius: 26px; background: #000;
}
.cc-shot-phone .gp-phone-notch { top: 19px; width: 68px; height: 20px; border-radius: 11px; }
.cc-shot figcaption {
    margin-top: 16px; font-size: .84rem; font-weight: 600;
    color: var(--gp-muted);
}
/* Sin flotado en la galería: cinco teléfonos subiendo y bajando marea. */
.cc-shot-phone { animation: none !important; }

/* FAQ desplegable. <details> nativo: sin JavaScript y accesible por
   teclado desde el primer momento. */
.cc-faq { margin-top: 26px; display: grid; gap: 12px; }
.cc-faq details {
    background: var(--gp-surface, rgba(255,255,255,.04));
    border: 1px solid var(--gp-border, rgba(255,255,255,.10));
    border-radius: 14px;
    padding: 16px 20px;
}
.cc-faq summary {
    cursor: pointer; font-weight: 600; color: var(--gp-text);
    font-size: .95rem; list-style: none;
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.cc-faq summary::-webkit-details-marker { display: none; }
.cc-faq summary::after {
    content: "+"; color: var(--gp-accent);
    font-size: 1.3rem; line-height: 1; flex-shrink: 0;
    transition: transform .18s ease;
}
.cc-faq details[open] summary::after { content: "−"; }
.cc-faq details p {
    margin: 12px 0 0; color: var(--gp-muted);
    font-size: .9rem; line-height: 1.7;
}

@media (max-width: 640px) {
    .cc-video { max-width: 260px; }
    .cc-shots img { width: 180px; }
}

/* Hero de CuantoCobro: sin imagen de fondo, así que el ambiente lo pone un par
   de resplandores en CSS. Pesa 0 KB y no hay una petición más que bloquee. */
.game-page.cuantocobro .gp-hero {
    position: relative;
    background:
        radial-gradient(ellipse 70% 50% at 20% -10%, color-mix(in srgb, var(--gp-red) 26%, transparent), transparent 70%),
        radial-gradient(ellipse 60% 45% at 85% 5%, color-mix(in srgb, #ff7a45 18%, transparent), transparent 68%);
}
.game-page.cuantocobro .gp-title .grad {
    background: linear-gradient(120deg, #ef4d52, #ff8a4c);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Las cifras del hero, con el rojo de marca en vez del amarillo por defecto. */
.game-page.cuantocobro .ley-stat .num {
    background: linear-gradient(120deg, #ef4d52, #ff8a4c);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent;
}
/* Las tarjetas de oficio se levantan al pasar por encima: da sensación de
   catálogo navegable en vez de lista estática. */
@media (prefers-reduced-motion: no-preference) {
    .cc-trade { transition: transform .18s ease, border-color .18s ease; }
    .cc-trade:hover {
        transform: translateY(-4px);
        border-color: color-mix(in srgb, var(--gp-accent) 45%, transparent);
    }
}

/* Segunda línea del H1: la marca manda visualmente, pero el encabezado también
   tiene que contener la frase que la gente escribe en el buscador. */
.gp-title-sub {
    display: block; margin-top: 12px;
    font-size: clamp(.95rem, 2.4vw, 1.18rem);
    font-weight: 500; line-height: 1.45;
    letter-spacing: 0;
    color: var(--gp-muted);
    -webkit-text-fill-color: currentColor;
}
