:root{color-scheme:dark;--bg:#06164c;--panel:#0b205f;--panel2:#0a1740;--line:#294a91;--cyan:#41dfff;--gold:#ffd477;--muted:#c6d2ee;--white:#f8fbff}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:radial-gradient(circle at 50% -10%,#17448c 0,#06164c 42rem);color:var(--white);font:16px/1.6 Arial,sans-serif}.wrap{width:min(1200px,calc(100% - 40px));margin:auto}.topbar{border-bottom:1px solid #31518b;background:#06164cee}.topbar-inner{height:68px;display:flex;align-items:center;justify-content:space-between}.brand{font-size:22px;font-weight:900;letter-spacing:.04em;color:var(--white);text-decoration:none}.brand span{color:var(--gold)}.topbar a.menu{color:var(--muted);font-weight:700;text-decoration:none}.crumbs{padding:18px 0;color:#aabbe0;font-size:14px}.crumbs a{color:var(--cyan);text-decoration:none}.crumbs a:hover{text-decoration:underline}.hero{padding:20px 0 34px}.eyebrow{margin:0 0 10px;color:var(--gold);font-size:12px;font-weight:900;letter-spacing:.17em;text-transform:uppercase}.hero h1{max-width:850px;margin:0;font-size:clamp(36px,6vw,64px);line-height:1.05;letter-spacing:-.045em}.hero .intro{max-width:760px;margin:18px 0 8px;color:#e1e9fa;font-size:clamp(18px,2.2vw,21px);line-height:1.6}.hero .lead{max-width:760px;margin:0;color:var(--muted);line-height:1.7}.hero-actions{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin-top:22px}.cta{display:inline-flex;padding:12px 18px;border:1px solid #fff0a8;border-radius:12px;background:linear-gradient(180deg,#ffe09a,#d79738);color:#10224a;text-decoration:none;font-weight:900}.device-note{color:#b9c9e9;font-size:14px}.category-nav{display:flex;flex-wrap:wrap;gap:9px;margin:4px 0 40px;padding:16px;border:1px solid #29457f;border-radius:16px;background:#071b50}.category-nav strong{width:100%;color:var(--gold);font-size:13px;letter-spacing:.08em;text-transform:uppercase}.category-nav a{padding:7px 12px;border:1px solid #3a5991;border-radius:999px;color:#eaf2ff;text-decoration:none;font-size:14px;font-weight:700}.category-nav a:hover,.category-nav a[aria-current=page]{border-color:var(--cyan);background:#13336d;color:#fff}.section-head{margin:0 0 18px}.section-head h2{margin:0;font-size:clamp(25px,4vw,34px);line-height:1.2}.section-head p{margin:8px 0 0;color:var(--muted)}.games{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.game-card{position:relative;overflow:hidden;display:flex;flex-direction:column;min-width:0;border:2px solid #35d9ff;border-radius:26px;background:linear-gradient(180deg,#0c2b70,#071744);color:inherit;box-shadow:0 8px 0 #03103a,0 0 18px #13d8ff33;transition:transform .2s,border-color .2s,box-shadow .2s}
.game-card:hover{transform:translateY(-4px);border-color:#8cf5ff;box-shadow:0 11px 0 #03103a,0 0 26px #13d8ff66}
.game-card:focus-within,.category-nav a:focus-visible,.cta:focus-visible,.topbar a:focus-visible{outline:3px solid #fff;outline-offset:3px}
.game-cover{position:relative;display:block;overflow:hidden;color:inherit;text-decoration:none}
.game-cover::after{content:"";position:absolute;inset:60% 0 0;background:linear-gradient(transparent,#071744)}
.game-card img{display:block;width:100%;aspect-ratio:1/1;height:auto;object-fit:cover;background:#102b67;transition:transform .25s}
.game-card:hover img{transform:scale(1.035)}
.game-copy{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;min-height:92px;margin-top:-1px;padding:9px 13px 56px;background:linear-gradient(180deg,#071744,#081b50);text-align:center}
.game-copy h3{margin:0;color:#fff;font-size:clamp(17px,2vw,23px);font-weight:900;line-height:1.15;text-transform:uppercase;letter-spacing:-.02em;text-shadow:0 3px 0 #03113e,0 0 14px #35d9ff33}
.game-actions{position:absolute;z-index:2;left:16px;right:16px;bottom:16px;display:flex;align-items:center;gap:10px;height:42px}
.game-play-action,.share-game{display:flex;align-items:center;justify-content:center;height:42px;min-height:42px;padding:0;border:2px solid #7ff3ff;border-radius:13px;background:linear-gradient(180deg,#37e6ff,#0c9ce7);color:#041b43;box-shadow:0 4px 0 #066aa4,0 0 12px #18d8ff33;font:900 14px Arial,sans-serif;text-decoration:none;line-height:1;box-sizing:border-box}
.game-play-action{flex:1;min-width:0}
.share-game{flex:none;width:42px;cursor:pointer}
.share-game svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.share-game:hover,.game-play-action:hover{filter:brightness(1.08)}
.share-game:focus-visible,.game-play-action:focus-visible{outline:3px solid #fff;outline-offset:3px}
.share-dialog{width:min(380px,calc(100% - 32px));padding:24px;border:2px solid #35d9ff;border-radius:18px;background:#081b51;color:white;font:16px Arial,sans-serif;box-shadow:0 20px 80px #0009}
.share-dialog::backdrop{background:#020919bb}
.share-dialog h2{font-size:19px;margin:0 0 18px}
.share-dialog a,.share-dialog button{display:block;width:100%;margin:10px 0;padding:12px;border:1px solid #35d9ff66;border-radius:10px;background:#12328d;color:white;text-align:center;text-decoration:none;font:700 14px Arial;cursor:pointer}
.share-notice{position:fixed;z-index:100;bottom:24px;left:50%;transform:translateX(-50%);padding:12px 20px;border:1px solid #35d9ff;border-radius:10px;background:#071747;color:white;font:700 14px Arial;box-shadow:0 5px 20px #0008}
.guide{margin:38px 0 40px;padding:22px;border:1px solid #2c4d8b;border-radius:18px;background:#091941}.guide h2{margin:0 0 8px;font-size:24px}.guide p{max-width:850px;margin:0;color:var(--muted);line-height:1.7}.end-links{display:flex;flex-wrap:wrap;gap:12px;margin:0 0 45px}.end-links a{padding:11px 15px;border:1px solid #3b5990;border-radius:11px;color:#e6efff;text-decoration:none;font-weight:800}.end-links a:hover{border-color:var(--cyan)}footer{border-top:1px solid #29457f;padding:22px 0 34px;color:#9fb0d3;font-size:13px}footer a{color:var(--cyan)}@media(max-width:760px){.games{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.game-card img{height:auto;aspect-ratio:1/1}.game-copy{min-height:82px;padding:9px 9px 48px}.game-copy h3{font-size:clamp(14px,4vw,18px)}.game-actions{left:10px;right:10px;bottom:12px;height:40px;gap:8px}.game-play-action,.share-game{height:40px;min-height:40px;border-radius:12px;font-size:12px}.share-game{width:40px}.category-nav{margin-bottom:30px}.topbar-inner{height:60px}}@media(max-width:480px){.games{grid-template-columns:1fr 1fr}.wrap{width:min(100% - 24px,1100px)}.game-card img{height:auto;aspect-ratio:1/1}.game-copy{min-height:80px;padding-inline:7px}.game-copy h3{font-size:clamp(13px,4vw,16px)}}
/* Match the Arcade premium card proportions and keep names clear above the actions. */
.game-card{height:320px;border-radius:18px}
.game-cover{display:flex;flex:1;flex-direction:column;min-height:0}
.game-card img{flex:0 0 205px;width:100%;height:205px;aspect-ratio:auto;object-fit:cover}
.game-copy{flex:1;min-height:0;height:auto;margin-top:0;padding:8px 10px 58px;align-items:center;justify-content:center}
.game-copy h3{max-width:100%;font-size:20px;font-weight:1000;line-height:1.1;letter-spacing:-.5px;text-wrap:balance;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.game-actions{left:16px;right:16px;bottom:14px;height:42px;gap:10px}
@media(max-width:760px){.game-card{height:280px}.game-card img{flex-basis:175px;height:175px}.game-copy{padding:7px 8px 50px}.game-copy h3{font-size:15.5px;line-height:1.08}.game-actions{left:10px;right:10px;bottom:10px;height:40px;gap:8px}}
@media(max-width:480px){.game-copy{padding:7px 8px 50px}.game-copy h3{font-size:15.5px}}

.game-copy h3 em{font-style:normal;color:#ffd22f;text-shadow:0 3px 0 #8b3c00}

/* Reset the browser's default list indentation so category cards center correctly. */
.games{list-style:none;margin:0;padding:0}


/* Shared VLADYERIK header: match the home page and Arcade. */
.topbar{position:sticky;top:0;z-index:20;width:100%;padding:0 18px;border-bottom:1px solid #28c7ff55;background:#071450ee;color:#fff;font-family:Arial,sans-serif}
.topbar-inner{width:100%;max-width:1180px;min-height:70px;height:auto;margin:0 auto;padding:12px 22px;display:flex;align-items:center;gap:24px}
.topbar .brand{display:block;flex:0 0 auto;min-width:max-content;white-space:nowrap;line-height:1;text-decoration:none;font-size:30px;font-weight:1000;letter-spacing:-2px;text-shadow:0 0 20px #36d9ff55}
.brand-vlad{color:#35d9ff}.brand-yerik{color:#ffb21a}
.topbar-links{display:flex;align-items:center;justify-content:flex-end;gap:16px;min-width:0;margin-left:auto;font-size:12px;line-height:1.4;font-weight:800}
.topbar-links>a{padding:7px 0;color:#fff;text-decoration:none;white-space:nowrap;transition:color .2s}
.topbar-links>a:hover,.topbar-links>a:focus-visible{color:#57e4ff}
.topbar .menu-toggle{display:none}
.nav-game-group{position:relative;min-width:0}
.nav-game-group>summary{list-style:none;cursor:pointer;white-space:nowrap;padding:7px 0;font-weight:800}
.nav-game-group>summary::-webkit-details-marker{display:none}
.nav-game-group>summary:hover,.nav-game-group>summary:focus-visible{color:#57e4ff}
.nav-game-menu{position:absolute;top:calc(100% + 12px);left:0;z-index:30;display:grid;min-width:230px;padding:8px;border:1px solid #35d9ff66;border-radius:14px;background:#071450;box-shadow:0 14px 30px #0008}
.nav-game-menu a{display:block;padding:10px 12px;border-radius:8px;color:#eaf5ff;text-decoration:none;white-space:nowrap}
.nav-game-menu a:hover,.nav-game-menu a:focus-visible{background:#153071;color:#73e9ff}
.nav-game-menu .nav-game-all{margin-bottom:5px;border-bottom:1px solid #35d9ff44;border-radius:8px 8px 0 0;color:#ffda7d;font-weight:900}
.topbar a:focus-visible,.topbar summary:focus-visible{outline:2px solid #fff;outline-offset:3px;border-radius:4px}
@media(max-width:1000px) and (min-width:801px){.topbar-inner{gap:12px;padding-inline:10px}.topbar .brand{font-size:26px}.topbar-links{gap:10px;font-size:11px}}
@media(max-width:800px){
 .topbar{padding:0;background:#071450ee}
 .topbar-inner{min-height:62px;height:62px;padding:0 22px;justify-content:space-between;gap:16px}
 .topbar .brand{font-size:26px}
 .topbar .menu-toggle{display:flex;flex:0 0 44px;width:44px;height:44px;padding:10px;flex-direction:column;align-items:center;justify-content:center;gap:5px;border:1px solid #28c7ff66;border-radius:10px;background:#10235b;color:#fff;cursor:pointer}
 .topbar .menu-toggle span{display:block;width:22px;height:2px;border-radius:2px;background:currentColor}
 .topbar-links{display:none;position:absolute;top:100%;left:0;right:0;width:100%;max-height:calc(100dvh - 62px);overflow-y:auto;margin:0;padding:10px 22px 16px;background:#071450;border-bottom:1px solid #28c7ff55;box-shadow:0 12px 24px #0006;grid-template-columns:1fr;gap:0;text-align:left;font-size:14px}
 .topbar.menu-open .topbar-links{display:grid}
 .topbar-links>a{padding:12px 10px;border-radius:8px;white-space:normal}
 .topbar-links>a:hover,.topbar-links>a:focus-visible{background:#153071}
 .nav-game-group{width:100%;padding:0 10px}
 .nav-game-group>summary{padding:12px 10px;border-radius:8px}
 .nav-game-group[open]>summary,.nav-game-group>summary:hover,.nav-game-group>summary:focus-visible{background:#153071}
 .nav-game-menu{position:static;min-width:0;margin:0 0 7px 10px;padding:5px;border:0;border-left:2px solid #35d9ff77;border-radius:0;background:#040f37b8;box-shadow:none;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px}
 .nav-game-menu a{padding:9px 10px;white-space:normal;font-size:13px}
 .nav-game-menu .nav-game-all{grid-column:1/-1}
}
/* A small category signature: color and symbol change without moving the layout. */
body[data-category="accion"]{--category-accent:#ff647d;--category-tint:rgba(255,100,125,.18);--category-icon:"⚡"}
body[data-category="aventura"]{--category-accent:#72e3a0;--category-tint:rgba(72,216,147,.18);--category-icon:"🧭"}
body[data-category="carreras"]{--category-accent:#ffc14f;--category-tint:rgba(255,179,55,.18);--category-icon:"🏁"}
body[data-category="cartas"]{--category-accent:#ff779c;--category-tint:rgba(246,78,125,.18);--category-icon:"🃏"}
body[data-category="casino"]{--category-accent:#c38aff;--category-tint:rgba(166,91,255,.2);--category-icon:"🎰"}
body[data-category="deportes"]{--category-accent:#78e8a4;--category-tint:rgba(81,213,126,.18);--category-icon:"🏆"}
body[data-category="ingenio"]{--category-accent:#61dfff;--category-tint:rgba(65,191,255,.18);--category-icon:"🧩"}
body[data-category="aprender"]{--category-accent:#ffd45f;--category-tint:rgba(255,205,66,.18);--category-icon:"📚"}
body[data-category="retro"]{--category-accent:#aa8bff;--category-tint:rgba(131,87,255,.2);--category-icon:"👾"}
.hero{position:relative;background:radial-gradient(ellipse at 91% 18%,var(--category-tint,rgba(53,217,255,.1)),transparent 43%)}
.hero .eyebrow{display:flex;align-items:center;gap:10px;color:var(--category-accent,#ffd477)}
.hero .eyebrow::before{content:var(--category-icon,"🎮");display:grid;flex:0 0 34px;width:34px;height:34px;place-items:center;border:1px solid color-mix(in srgb,var(--category-accent,#ffd477) 55%,transparent);border-radius:11px;background:color-mix(in srgb,var(--category-accent,#ffd477) 15%,#071747);font-size:17px;letter-spacing:normal;box-shadow:0 0 18px var(--category-tint,rgba(53,217,255,.1))}
.hero h1{text-shadow:0 0 28px var(--category-tint,transparent)}
.hero h1::after{content:"";display:block;width:72px;height:4px;margin-top:15px;border-radius:99px;background:linear-gradient(90deg,var(--category-accent,#35d9ff),transparent);box-shadow:0 0 18px var(--category-tint,transparent)}


/* Match the two-tone VLADYERIK wordmark from Home and Arcade. */
.topbar .brand .brand-vlad{color:#35d9ff}
.topbar .brand .brand-yerik{color:#ffb21a}
/* A low-opacity category wash gives each landing page a calm, distinct backdrop. */
body[data-category="accion"]{--category-page-wash:rgba(255,100,125,.1)}
body[data-category="aventura"]{--category-page-wash:rgba(72,216,147,.1)}
body[data-category="carreras"]{--category-page-wash:rgba(255,179,55,.1)}
body[data-category="cartas"]{--category-page-wash:rgba(246,78,125,.1)}
body[data-category="casino"]{--category-page-wash:rgba(166,91,255,.11)}
body[data-category="deportes"]{--category-page-wash:rgba(81,213,126,.1)}
body[data-category="ingenio"]{--category-page-wash:rgba(65,191,255,.1)}
body[data-category="aprender"]{--category-page-wash:rgba(255,205,66,.1)}
body[data-category="retro"]{--category-page-wash:rgba(131,87,255,.11)}
body[data-category]{background-image:radial-gradient(ellipse at 100% 0%,var(--category-page-wash,transparent) 0,transparent 38rem),radial-gradient(circle at 50% -10%,#17448c 0,#06164c 42rem)}
.hero{background:radial-gradient(ellipse at 91% 18%,var(--category-tint,rgba(53,217,255,.1)),transparent 46%),linear-gradient(115deg,rgba(255,255,255,.025),transparent 58%)}


/* Faint, category-specific full-page game artwork. Decorative only; the dark veil keeps text readable. */
body[data-category="accion"]{--category-background:url("/assets/flappy-vladi-960w.webp")}
body[data-category="aventura"]{--category-background:url("/assets/vladi-run-960w.webp")}
body[data-category="carreras"]{--category-background:url("/assets/vladi-kart-960w.webp")}
body[data-category="cartas"]{--category-background:url("/vladi-truco/assets/cover.webp?v=20261011")}
body[data-category="casino"]{--category-background:url("/assets/premium-poker-v2.webp")}
body[data-category="deportes"]{--category-background:url("/assets/vladi-futbol-960w.webp")}
body[data-category="ingenio"]{--category-background:url("/assets/vladi-ahorcado.webp?v=20261009")}
body[data-category="aprender"]{--category-background:url("/assets/vladi-palabras.webp?v=20261009")}
body[data-category="retro"]{--category-background:url("/assets/retro-space-invaders.webp?v=20261009b")}
body[data-category]{position:relative;isolation:isolate;background-color:#06164c;background-image:none}
body[data-category]::before{content:"";position:fixed;z-index:-1;inset:-18px;pointer-events:none;background-image:radial-gradient(ellipse at 100% 0%,var(--category-page-wash,transparent) 0,transparent 38rem),linear-gradient(rgba(4,13,43,.78),rgba(4,13,43,.84)),var(--category-background);background-size:cover;background-position:center;filter:blur(8px);opacity:.58}
@media(prefers-reduced-motion:reduce){body[data-category]::before{filter:blur(6px)}}

/* Tarjeta de emuladores compartida por las categorías; sin afectar los juegos. */
.retro-category-promo{display:grid;grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr);align-items:center;gap:clamp(16px,3vw,32px);margin:32px 0;padding:clamp(20px,3vw,32px);border:2px solid #50b9f5;border-radius:22px;background:linear-gradient(120deg,#133d89,#141d55 60%,#331a58);color:#fff;box-shadow:0 16px 38px #020a2d88;overflow:hidden}
.retro-category-art{position:relative;display:flex;align-items:center;justify-content:center;min-height:195px;border:2px solid #57cfff;border-radius:17px;background:radial-gradient(circle at 50% 30%,#4336a5,#0b1642 75%);overflow:hidden}
.retro-category-art:before{content:'✦　✧　✦';position:absolute;top:14px;color:#8eeaff;letter-spacing:10px;font-size:18px}
.retro-category-cabinet{position:relative;width:132px;padding:12px 10px 18px;background:linear-gradient(130deg,#248ae6,#182b91);border:5px solid #75e3ff;border-radius:16px 16px 10px 10px;transform:perspective(380px) rotateY(-8deg);box-shadow:10px 12px 0 #070b2d,0 0 30px #31d8ff77;text-align:center}
.retro-category-screen{display:flex;min-height:91px;flex-direction:column;align-items:center;justify-content:center;border:5px solid #0b153d;border-radius:9px;background:radial-gradient(circle,#4432a3,#0b0c35);font-size:19px;line-height:1.15;font-weight:1000;letter-spacing:.06em;color:#ffda58;text-shadow:0 0 9px #ffcb4c}
.retro-category-screen small{font-size:10px;color:#a4f7ff;letter-spacing:.1em}
.retro-category-controls{display:flex;justify-content:space-around;padding-top:12px;color:#ffde68;font-size:22px}
.retro-category-copy>span{font-size:12px;letter-spacing:.12em;font-weight:900;color:#75e7ff}.retro-category-copy h2{margin:8px 0 12px;font-size:clamp(28px,4vw,43px);line-height:1.1;color:#fff}.retro-category-copy h2 span{color:#ffd34d}.retro-category-copy p{margin:0 0 20px;line-height:1.6;color:#e2edff}
.retro-category-actions{display:flex;gap:12px;flex-wrap:wrap}.retro-category-actions a{display:inline-flex;justify-content:center;align-items:center;padding:12px 17px;border-radius:11px;text-decoration:none;font-weight:900;font-size:13px}.retro-category-actions a:first-child{background:linear-gradient(#ffe886,#ffc53e);color:#10214a}.retro-category-actions a:last-child{border:1px solid #76a9ff;background:#122c65;color:#fff}
@media(max-width:700px){.retro-category-promo{grid-template-columns:1fr;margin:24px 0}.retro-category-art{min-height:160px}.retro-category-actions a{flex:1 1 100%}}

/* Imagen neon original de Arcade 3.0 en las tarjetas retro de categorías. */
.retro-category-art{background:#080e29 url("https://arcade.vladyerik.com/assets/retro-arcade-neon.webp") center center/cover no-repeat!important;min-height:225px!important;isolation:isolate}
.retro-category-art::before{display:none!important}
.retro-category-art>*{display:none!important}
@media(max-width:650px){.retro-category-art{min-height:205px!important;background-position:center center!important}}

/* Rockola: mismas dimensiones, proporciones y jerarquía que la tarjeta Retro Arcade */
.rockola-category-promo{grid-template-columns:minmax(180px,.7fr) minmax(0,1.3fr)!important;gap:clamp(16px,3vw,32px)!important;margin:32px 0!important;padding:clamp(20px,3vw,32px)!important;border-width:2px!important;border-radius:22px!important;box-shadow:0 16px 38px #020a2d88!important;overflow:hidden}
.rockola-category-art{min-height:225px!important;aspect-ratio:auto!important;border:2px solid #d6a85b!important;border-radius:17px!important}
.rockola-category-copy h2{margin:8px 0 12px!important;font-size:clamp(28px,4vw,43px)!important;line-height:1.1!important}
.rockola-category-copy p{margin:0 0 20px!important;line-height:1.6!important}
.rockola-category-actions a{padding:12px 17px!important;font-size:13px!important}
@media(max-width:700px){.rockola-category-promo{grid-template-columns:1fr!important;margin:24px 0!important}.rockola-category-art{min-height:205px!important}.rockola-category-actions a{width:100%;box-sizing:border-box}}
