/* Scam Empire — web (lagartijalabs.com/scamempire). Estética Corporate Memphis del juego; sin dependencias. */
@font-face { font-family: 'Poppins'; font-weight: 600; font-display: swap; src: url('fonts/Poppins-SemiBold.ttf') format('truetype'); }
@font-face { font-family: 'Poppins'; font-weight: 800; font-display: swap; src: url('fonts/Poppins-ExtraBold.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url('fonts/Inter-Regular.ttf') format('truetype'); }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url('fonts/Inter-SemiBold.ttf') format('truetype'); }

:root {
  --bg: #ffe0e0; --panel: #ffffff; --panel-2: #fff3ee; --lilac: #e9e2ff; --ink: #1b2236; --muted: #4a5070;
  --accent: #2f4ccc; --accent-deep: #1f3399; --gold: #ffd070; --gold-deep: #d9a93e; --mint: #b8ecdc; --coral: #f95b3a;
  --good: #0a5c4a; --shadow: 0 6px 20px rgba(27, 34, 54, .13); --radius: 28px;
  color-scheme: light;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
svg.live { display: block; max-width: 100%; height: auto; overflow: visible; -webkit-tap-highlight-color: transparent; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-deep); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { font-family: 'Poppins', system-ui, sans-serif; font-weight: 800; letter-spacing: -.02em; line-height: 1.12; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 7vw, 4.4rem); }
h2 { font-size: clamp(1.7rem, 4.2vw, 2.5rem); }
h3 { font-size: 1.2rem; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
.wrap { width: min(1080px, 100% - 32px); margin-inline: auto; }

/* idioma: sin JS se ve el español (el juego está en español) */
html[lang="es"] [data-locale="en"], html[lang="en"] [data-locale="es"] { display: none !important; }

/* cabecera */
.top { position: sticky; top: 0; z-index: 10; background: rgba(233, 226, 255, .92); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom-left-radius: 24px; border-bottom-right-radius: 24px; box-shadow: 0 6px 18px rgba(27, 34, 54, .08); }
.top .wrap { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: 'Poppins', sans-serif; font-weight: 800; font-size: 1.15rem; }
.brand img { width: 40px; height: 40px; border-radius: 11px; box-shadow: 0 2px 8px rgba(27, 34, 54, .2); }
.top nav { margin-left: auto; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.top nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: .95rem; padding: 8px 12px; border-radius: 99px; }
.top nav a:hover, .top nav a[aria-current="page"] { background: #fff; color: var(--ink); }
.lang { display: inline-flex; background: #fff; border-radius: 99px; padding: 3px; box-shadow: 0 2px 8px rgba(27, 34, 54, .1); }
.lang button { border: 0; background: transparent; font: 600 .85rem 'Inter', sans-serif; color: var(--ink); padding: 6px 10px; border-radius: 99px; cursor: pointer; min-height: 32px; }
.lang button[aria-pressed="true"] { background: var(--accent); color: #fff; }
@media (max-width: 640px) { .top nav a.opt { display: none; } }

/* portada */
.hero { padding: 48px 0 24px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: 32px; align-items: center; }
.eyebrow { display: inline-block; background: var(--gold); color: var(--ink); font: 800 .85rem 'Poppins', sans-serif; padding: 4px 14px; border-radius: 99px; transform: rotate(-2deg); margin-bottom: 18px; box-shadow: 0 3px 0 var(--gold-deep); }
.hero h1 span.hl { color: var(--accent); }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 34ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 10px; }
.btn { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 24px; border-radius: 99px; font: 800 1rem 'Poppins', sans-serif; text-decoration: none; border: 0; cursor: pointer; }
.btn-main { background: var(--accent); color: #fff; box-shadow: 0 4px 0 var(--accent-deep); }
.btn-main:hover { color: #fff; transform: translateY(1px); box-shadow: 0 3px 0 var(--accent-deep); }
.btn-alt { background: var(--gold); color: var(--ink); box-shadow: 0 4px 0 var(--gold-deep); }
.btn-alt:hover { color: var(--ink); transform: translateY(1px); box-shadow: 0 3px 0 var(--gold-deep); }
.btn[aria-disabled="true"] { cursor: default; }
.note { font-size: .9rem; color: var(--muted); }
.stage { position: relative; aspect-ratio: 1 / 1.05; }
.stage .blob { position: absolute; inset: 6% 2% 8% 8%; background: var(--lilac); border-radius: 46% 54% 42% 58% / 55% 45% 55% 45%; }
.stage .blob2 { position: absolute; width: 38%; aspect-ratio: 1; right: 0; top: 4%; background: var(--gold); border-radius: 50%; opacity: .9; }
.stage .guru { position: absolute; left: 12%; bottom: 4%; width: 72%; filter: drop-shadow(0 18px 24px rgba(27, 34, 54, .18)); }
.stage .float { position: absolute; width: 17%; filter: drop-shadow(0 6px 10px rgba(27, 34, 54, .15)); }
.stage .f1 { left: 0; top: 18%; } .stage .f2 { right: 6%; top: 40%; } .stage .f3 { left: 6%; bottom: 10%; width: 14%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 820px) { .hero .wrap { grid-template-columns: 1fr; } .stage { max-width: 420px; margin: 0 auto; width: 100%; } .hero { padding-top: 28px; } }

/* secciones */
section { padding: 44px 0; }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card { background: var(--panel); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); }
.card .live { width: 64px; height: 64px; margin-bottom: 10px; }
.card p { color: var(--muted); margin: 0; }
.worlds { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.world { border-radius: var(--radius); padding: 18px 18px 20px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.world .live { height: 130px; width: 100%; object-fit: contain; }
.world h3 { margin: 0; } .world p { margin: 0; color: var(--muted); font-size: .95rem; }
.w-barrio { background: #fff; } .w-dubai { background: #fff1d6; } .w-meta { background: #ece6ff; } .w-marte { background: #ffe1d6; }
.satire { background: var(--panel-2); border-radius: var(--radius); padding: 26px; display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; box-shadow: var(--shadow); }
.satire .live { width: 96px; height: 96px; }
@media (max-width: 560px) { .satire { grid-template-columns: 1fr; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; list-style: none; padding: 0; margin: 0; }
.facts li { background: #fff; border-radius: 20px; padding: 14px 16px; box-shadow: var(--shadow); font-weight: 600; }
.facts li small { display: block; font-weight: 400; color: var(--muted); }

/* páginas de texto (privacidad, términos, soporte) */
.doc { padding: 36px 0 48px; }
.doc .paper { background: var(--panel); border-radius: var(--radius); padding: clamp(22px, 5vw, 48px); box-shadow: var(--shadow); max-width: 820px; margin: 0 auto; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.8rem); }
.doc h2 { font-size: 1.35rem; margin-top: 1.8em; }
.doc h3 { font-size: 1.05rem; margin-top: 1.2em; }
.doc ul { padding-left: 1.2em; } .doc li { margin: .3em 0; }
.meta { color: var(--muted); font-size: .95rem; }
.summary { background: var(--lilac); border-radius: 20px; padding: 16px 20px; margin: 18px 0 8px; }
.summary ul { margin: .4em 0 0; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: .6em 0 1.2em; display: block; overflow-x: auto; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid #eee3e3; vertical-align: top; }
th { font-family: 'Poppins', sans-serif; font-weight: 800; background: var(--panel-2); }
details { background: var(--panel-2); border-radius: 18px; padding: 14px 18px; margin: 10px 0; }
details summary { cursor: pointer; font-weight: 600; font-family: 'Poppins', sans-serif; }
details[open] summary { margin-bottom: 8px; }

/* pie */
footer { padding: 34px 0 48px; color: var(--muted); font-size: .95rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: space-between; border-top: 2px dashed rgba(27, 34, 54, .15); padding-top: 22px; }
footer nav { display: flex; flex-wrap: wrap; gap: 6px 18px; }
footer a { color: var(--ink); font-weight: 600; text-decoration: none; }
footer a:hover { text-decoration: underline; }
