/* Calculadora Stake — design system: "papel + tinta" editorial data desk.
   Light warm paper, ink outlines, hard offset shadows, lime/cobalt data accents, mono numerals. */
:root {
  --paper: #f3efe4;
  --paper-2: #ebe5d6;
  --card: #fffcf4;
  --ink: #15161b;
  --ink-2: #4b4e58;
  --ink-3: #7b7e88;
  --line: #15161b;
  --soft-line: #d6cfbd;
  --lime: #c6f135;
  --lime-2: #e6fa9c;
  --cobalt: #2c46f5;
  --cobalt-2: #dfe4ff;
  --coral: #ff6a45;
  --coral-2: #ffe1d8;
  --mint: #1fb37a;
  --shadow: 4px 4px 0 var(--ink);
  --shadow-sm: 2px 2px 0 var(--ink);
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1180px;
  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Inter", "Segoe UI", system-ui, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", monospace;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--paper);
  background-image: radial-gradient(var(--soft-line) 1px, transparent 1px);
  background-size: 22px 22px;
  color: var(--ink);
  font: 400 17px/1.65 var(--f-body);
  overflow-x: hidden;
  overflow-wrap: break-word;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cobalt); text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--f-display); line-height: 1.12; letter-spacing: -0.02em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.6vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.35rem); font-weight: 800; margin-top: 0; }
h3 { font-size: 1.25rem; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { padding-left: 1.3em; margin: 0 0 1em; }
li { margin-bottom: .35em; }
strong { font-weight: 700; }
mark { background: var(--lime); color: var(--ink); padding: 0 .2em; border-radius: 4px; }
abbr[title] { text-decoration: underline dotted; cursor: help; }
time, data, output, .num { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- masthead ---------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1.5px solid var(--line);
}
.masthead-in { max-width: var(--wrap); margin: 0 auto; padding: 12px 20px; display: flex; align-items: center; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font: 800 1.2rem/1 var(--f-display); color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo svg { flex: none; }
.logo span { white-space: nowrap; }
.mainnav { margin-left: auto; }
.mainnav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.mainnav a { display: block; padding: 8px 12px; border-radius: 999px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.mainnav a:hover { background: var(--paper-2); }
.mainnav a[aria-current="page"], .mainnav a[aria-current="true"] { background: var(--ink); color: var(--lime); }
.mainnav .nav-app { display: none; }
.foot .btn { margin-top: 6px; }
.navtoggle { display: none; background: var(--card); border: 1.5px solid var(--line); border-radius: 10px; padding: 7px; line-height: 0; color: var(--ink); box-shadow: var(--shadow-sm); cursor: pointer; }
.navtoggle[aria-expanded="true"] { background: var(--ink); color: var(--lime); }
.foot-cta { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- conversión ---------- */
main > section.promo {
  max-width: calc(var(--wrap) - 40px); margin: 28px auto; padding: 28px 32px;
  display: grid; grid-template-columns: 1fr auto; gap: 18px 28px; align-items: center;
  background: var(--lime); border: 1.5px solid var(--line); border-radius: var(--radius-lg); box-shadow: 6px 6px 0 var(--ink);
  position: relative; overflow: hidden;
}
main > section.promo::after { content: ""; position: absolute; right: -40px; top: -40px; width: 160px; height: 160px; border-radius: 50%; border: 18px solid rgba(21,22,27,.07); pointer-events: none; }
.promo h2 { font-size: clamp(1.35rem, 2.6vw, 1.75rem); margin: 0 0 6px; }
.promo p { margin: 0 0 10px; max-width: 62ch; }
.promo-facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.promo-facts li { margin: 0; font: 700 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .04em; background: var(--card); border: 1.5px solid var(--line); border-radius: 999px; padding: 6px 10px; }
.promo .btn { background: var(--ink); color: var(--lime); box-shadow: 4px 4px 0 var(--cobalt); position: relative; z-index: 1; }
.promo .btn:hover { color: var(--lime); box-shadow: 6px 6px 0 var(--cobalt); }
.result > .btn { justify-self: start; margin-top: 4px; }
.ticket { grid-template-rows: auto auto 1fr auto auto; }
.tk-go { margin: 0 20px 18px; justify-self: start; }
.stickybar { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 700 1rem/1 var(--f-body); padding: 14px 22px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--lime); color: var(--ink);
  box-shadow: var(--shadow); cursor: pointer; text-decoration: none;
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-1px, -1px); box-shadow: 6px 6px 0 var(--ink); color: var(--ink); }
.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: var(--card); }
.btn.ink { background: var(--ink); color: var(--lime); }
.btn.sm { padding: 9px 14px; font-size: .9rem; box-shadow: var(--shadow-sm); border-radius: 10px; }
.chip {
  font: 600 .88rem/1 var(--f-body); padding: 9px 14px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink); cursor: pointer;
}
.chip[aria-pressed="true"], .chip[aria-selected="true"] { background: var(--ink); color: var(--lime); }

/* ---------- layout ---------- */
main { display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.crumbs { max-width: var(--wrap); margin: 0 auto; padding: 18px 20px 0; font-size: .88rem; }
.crumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.crumbs li { margin: 0; color: var(--ink-3); }
.crumbs li + li::before { content: "/"; margin-right: 6px; color: var(--ink-3); }
.crumbs a { color: var(--ink-2); }
main > section, main > article > section, main > article > header, main > header { max-width: var(--wrap); margin: 0 auto; padding: 56px 20px; }
main > article > section + section, main > section + section { padding-top: 24px; }
main > header { padding-top: 34px; padding-bottom: 8px; }
main > header + section { padding-top: 28px; }
main > header .lead { max-width: 64ch; }
main > header.has-img { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); column-gap: 44px; align-items: center; }
main > header.has-img > * { grid-column: 1; }
main > header.has-img > .hero-img { grid-column: 2; grid-row: 1 / span 6; }
main > header.has-img h1 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.hero-img, .block-img { display: block; }
.hero-img img, .block-img img { display: block; width: 100%; height: auto; border: 1.5px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); background: var(--paper); }
.block-img { max-width: 980px; margin: 28px auto 0; }
@media (max-width: 620px) { .block-img { max-width: 520px; } }

/* hero */
.hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding-top: 40px !important; }
.hero h1 em { font-style: normal; background: linear-gradient(transparent 58%, var(--lime) 58%); }
.lead { font-size: 1.18rem; color: var(--ink-2); max-width: 58ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.meta-line { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .88rem; color: var(--ink-2); }
.meta-line li { margin: 0; }
.meta-line li::before { content: ""; display: inline-block; vertical-align: middle; margin: -2px 7px 0 0; width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

/* card / panel */
.panel { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); padding: 28px; }
.panel.lime { background: var(--lime-2); }
.panel.cobalt { background: var(--cobalt); color: #fff; }
.panel.cobalt a { color: var(--lime); }
.panel.ink { background: var(--ink); color: var(--paper); }
.panel.ink h2, .panel.ink h3 { color: var(--paper); }
.panel > :last-child { margin-bottom: 0; }
.panel dl { margin: 0; }
.panel dt { font: 700 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.panel dd { margin: 2px 0 12px; font-weight: 600; }

/* bento grid */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; list-style: none; padding: 0; margin: 28px 0 0; }
.bento > li { margin: 0; }
.bento .w2 { grid-column: span 2; } .bento .w3 { grid-column: span 3; } .bento .w4 { grid-column: span 4; } .bento .w6 { grid-column: span 6; }
.tile { height: 100%; display: flex; flex-direction: column; gap: 8px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); transition: transform .15s, box-shadow .15s; }
.tile:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.tile h3 { margin: 0; }
.tile h3 a { color: var(--ink); text-decoration: none; }
.tile h3 a::after { content: " →"; color: var(--cobalt); }
.tile p { margin: 0; color: var(--ink-2); font-size: .97rem; }
.tile .big { font: 700 2rem/1 var(--f-mono); margin-top: auto; }
.tile.lime { background: var(--lime); } .tile.cobalt { background: var(--cobalt); color: #fff; } .tile.cobalt p, .tile.cobalt h3 a { color: #fff; } .tile.cobalt h3 a::after { color: var(--lime); }
.tile.coral { background: var(--coral-2); }

/* two columns prose + widget */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.split.wide-left { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
.prose { max-width: 70ch; }
.prose h3 { margin-top: 1.6em; }
.prose ul li::marker { color: var(--cobalt); }
.prose ol li::marker { font-family: var(--f-mono); font-weight: 700; color: var(--cobalt); }

/* section header row */
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 16px; margin-bottom: 8px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 0; color: var(--ink-2); max-width: 52ch; }

/* ---------- countdown strip ---------- */
.ticker { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1.5px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: var(--card); box-shadow: var(--shadow); list-style: none; padding: 0; margin: 0; }
.ticker > li { margin: 0; padding: 20px 22px; display: grid; gap: 4px; }
.ticker > li + li { border-left: 1.5px solid var(--line); }
.ticker h3 { font-size: 1rem; margin: 0; font-family: var(--f-body); font-weight: 700; }
.ticker p { margin: 0; font-size: .86rem; color: var(--ink-2); }
.ticker .clock { font: 700 1.65rem/1.1 var(--f-mono); letter-spacing: -.02em; }
.ticker > li:first-child { background: var(--lime); }
.clock span { display: inline-block; min-width: 1.4em; }
.clock small { font-size: .55em; color: var(--ink-2); margin: 0 .35em 0 .1em; font-weight: 600; }

/* ---------- forms / calculators ---------- */
.calc { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; }
.calc-grid { display: grid; grid-template-columns: 1.1fr .9fr; }
.calc form { padding: 26px; display: grid; gap: 16px; align-content: start; }
.calc fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 14px; }
.calc legend { font: 800 1.15rem var(--f-display); margin-bottom: 4px; padding: 0; }
.field { display: grid; gap: 6px; }
.field label, .field .label { font-weight: 600; font-size: .92rem; }
.field small { color: var(--ink-3); font-size: .8rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input[type="number"], input[type="text"], input[type="date"], select {
  width: 100%; font: 600 1rem var(--f-mono); color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--line); border-radius: 10px; padding: 11px 12px;
}
input[type="number"]:focus, select:focus { background: #fff; }
input[type="range"] { width: 100%; accent-color: var(--cobalt); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; border: 0; padding: 0; margin: 0; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.seg span { display: inline-block; padding: 8px 12px; border: 1.5px solid var(--line); border-radius: 999px; font: 600 .86rem var(--f-body); background: var(--paper); }
.seg input:checked + span { background: var(--ink); color: var(--lime); }
.seg input:focus-visible + span { outline: 3px solid var(--cobalt); outline-offset: 2px; }
.result { background: var(--ink); color: var(--paper); padding: 26px; display: grid; gap: 14px; align-content: start; }
.result h3 { color: var(--lime); margin: 0; font-size: 1rem; font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .06em; }
.result dl { margin: 0; display: grid; gap: 0; }
.result dl > div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #3b3e48; }
.result dt { color: #c9c6bd; font-size: .92rem; }
.result dd { margin: 0; font: 700 1.05rem var(--f-mono); text-align: right; }
.result .hero-num { font: 800 clamp(2rem, 4.5vw, 2.9rem)/1 var(--f-mono); color: var(--lime); }
.result p { font-size: .88rem; color: #c9c6bd; margin: 0; }
.verdict { padding: 12px 14px; border-radius: 10px; font-weight: 700; font-size: .95rem; background: #2a2c34; }
.verdict.good { background: var(--mint); color: #fff; } .verdict.bad { background: var(--coral); color: #fff; } .verdict.meh { background: #e6b422; color: var(--ink); }
.meter { height: 12px; border-radius: 999px; background: #2a2c34; overflow: hidden; border: 1px solid #3b3e48; }
.meter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--lime), var(--mint)); transition: width .3s; }
.note { font-size: .86rem; color: var(--ink-2); border-left: 3px solid var(--cobalt); padding: 2px 0 2px 12px; margin: 12px 0 0; }

/* tables */
.tbl-wrap { overflow-x: auto; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); margin: 18px 0; }
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
caption { text-align: left; padding: 14px 16px 6px; font-weight: 700; font-family: var(--f-display); }
th, td { text-align: left; padding: 11px 16px; border-bottom: 1px solid var(--soft-line); vertical-align: top; }
thead th { background: var(--ink); color: var(--paper); font-size: .82rem; text-transform: uppercase; letter-spacing: .05em; font-family: var(--f-mono); font-weight: 600; }
tbody tr:last-child > * { border-bottom: 0; }
tbody tr:hover { background: var(--lime-2); }
td.num, th.num { text-align: right; white-space: nowrap; }
tr[aria-current="true"] { background: var(--lime); }

/* steps: ordered list as a track */
ol.steps { list-style: none; counter-reset: s; padding: 0; display: grid; gap: 14px; margin: 22px 0; }
ol.steps > li { counter-increment: s; position: relative; padding: 18px 20px 18px 74px; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); margin: 0; }
ol.steps > li::before { content: counter(s, decimal-leading-zero); position: absolute; left: 18px; top: 16px; font: 800 1.4rem var(--f-mono); color: var(--cobalt); }
ol.steps h3 { margin: 0 0 4px; font-size: 1.08rem; }
ol.steps > li, .bento > li, .tickets > li, .flips > li, .faq details { min-width: 0; overflow-wrap: anywhere; }
ol.steps p { margin: 0; color: var(--ink-2); }

/* checklist */
ul.checks { list-style: none; padding: 0; display: grid; gap: 10px; }
ul.checks li { padding-left: 34px; position: relative; margin: 0; }
ul.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 6px; background: var(--lime); border: 1.5px solid var(--line); display: grid; place-items: center; font: 800 .8rem var(--f-mono); }
ul.crosses li::before { content: "✕"; background: var(--coral-2); }

/* FAQ */
.faq { display: grid; gap: 12px; margin-top: 22px; }
.faq details { background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); }
.faq summary { cursor: pointer; padding: 16px 52px 16px 20px; font: 700 1.05rem var(--f-display); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; translate: 0 -50%; width: 26px; height: 26px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; font: 700 1rem var(--f-mono); background: var(--lime); }
.faq details[open] summary::after { content: "–"; background: var(--ink); color: var(--lime); }
.faq details > p, .faq details > ul, .faq details > ol { margin: 0; padding: 0 20px 16px; color: var(--ink-2); }
.faq details > ul, .faq details > ol { padding-left: 40px; }

/* tabs */
[role="tablist"] { display: flex; flex-wrap: wrap; gap: 8px; margin: 20px 0 16px; }
[role="tabpanel"] { animation: fade .25s ease; }
[role="tabpanel"][hidden] { display: none; }
@keyframes fade { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

/* flip cards: myth vs reality */
.flips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; padding: 0; margin: 22px 0 0; }
.flips > li { margin: 0; }
.flip { width: 100%; min-height: 190px; text-align: left; font: inherit; color: var(--ink); background: var(--coral-2); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); cursor: pointer; display: grid; align-content: start; gap: 10px; }
.flip b { font: 700 .78rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; }
.flip span { font: 700 1.08rem/1.35 var(--f-display); }
.flip[aria-pressed="true"] { background: var(--lime-2); }
.flip .real { display: none; font: 400 .97rem/1.55 var(--f-body); }
.flip[aria-pressed="true"] .myth { display: none; }
.flip[aria-pressed="true"] .real { display: block; }

/* promo tickets */
.tickets { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; list-style: none; padding: 0; margin: 22px 0 0; }
.tickets > li { margin: 0; }
.ticket { position: relative; height: 100%; display: grid; grid-template-rows: auto 1fr auto; background: var(--card); border: 1.5px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.ticket::before, .ticket::after { content: ""; position: absolute; top: 58px; width: 10px; height: 18px; background: var(--paper); border: 1.5px solid var(--line); }
.ticket::before { left: -1.5px; border-left: 0; border-radius: 0 10px 10px 0; } .ticket::after { right: -1.5px; border-right: 0; border-radius: 10px 0 0 10px; }
.tickets { grid-template-columns: repeat(auto-fill, minmax(min(280px, 100%), 1fr)); }
.ticket footer { flex-wrap: wrap; }
.ticket header { padding: 16px 20px; border-bottom: 1.5px dashed var(--line); display: flex; justify-content: space-between; gap: 10px; align-items: center; }
.ticket .cat { font: 700 .72rem var(--f-mono); text-transform: uppercase; letter-spacing: .08em; padding: 5px 8px; border-radius: 6px; background: var(--paper-2); border: 1px solid var(--line); }
.ticket .cat.casino { background: var(--lime); } .ticket .cat.deportes { background: var(--cobalt-2); } .ticket .cat.vip { background: var(--coral-2); }
.ticket h3 { font-size: 1.12rem; margin: 0; padding: 16px 20px 0; }
.ticket p { margin: 6px 20px 14px; color: var(--ink-2); font-size: .94rem; }
.ticket footer { padding: 12px 20px 16px; display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: .86rem; }
.ticket footer .clock { font: 700 .98rem var(--f-mono); white-space: nowrap; }
.soon { color: var(--coral); font-weight: 700; }

/* calendar */
.cal-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 14px; }
.cal-head h3 { margin: 0; font-size: 1.5rem; }
.cal .n { font: 600 .7rem var(--f-mono); color: var(--ink-3); }
.cal-nav { display: flex; gap: 8px; }
.cal-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cal { display: grid; grid-template-columns: repeat(7, 1fr); border: 1.5px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); box-shadow: var(--shadow); }
.cal .dow { background: var(--ink); color: var(--paper); font: 600 .78rem var(--f-mono); text-transform: uppercase; padding: 8px; text-align: center; }
.cal button.day { min-height: 92px; border: 0; border-right: 1px solid var(--soft-line); border-bottom: 1px solid var(--soft-line); background: transparent; text-align: left; padding: 8px; font: inherit; cursor: pointer; display: flex; flex-direction: column; gap: 4px; color: var(--ink); }
.cal button.day:hover { background: var(--lime-2); }
.cal button.day[aria-pressed="true"] { background: var(--lime); }
.cal button.day.other { color: var(--ink-3); background: var(--paper); }
.cal button.day.today .d { background: var(--ink); color: var(--lime); }
.cal .d { font: 700 .9rem var(--f-mono); width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; }
.cal .dots { display: flex; flex-wrap: wrap; gap: 3px; }
.cal .dot { width: 9px; height: 9px; border-radius: 50%; border: 1px solid var(--ink); }
.dot.casino { background: var(--lime); } .dot.deportes { background: var(--cobalt); } .dot.vip { background: var(--coral); } .dot.fin { background: var(--ink); }
.cal .tag { font: 600 .68rem/1.2 var(--f-body); background: var(--ink); color: var(--paper); border-radius: 4px; padding: 2px 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 100%; }
.legend { display: flex; flex-wrap: wrap; gap: 14px; list-style: none; padding: 0; margin: 12px 0 0; font-size: .85rem; color: var(--ink-2); }
.legend li { margin: 0; display: inline-flex; align-items: center; gap: 6px; }
.daylist { margin-top: 18px; }
.daylist h3 { font-size: 1.15rem; }
.daylist ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.daylist li { margin: 0; padding: 14px 16px; background: var(--card); border: 1.5px solid var(--line); border-radius: 12px; display: grid; gap: 6px; }
.daylist .acts { display: flex; flex-wrap: wrap; gap: 8px; }

/* quiz / picker */
.quiz { display: grid; gap: 16px; }
.quiz fieldset { border: 1.5px solid var(--line); border-radius: var(--radius); padding: 18px; margin: 0; background: var(--card); }
.quiz legend { font: 700 1.05rem var(--f-display); padding: 0 6px; }
.quiz-out { min-height: 120px; }
.quiz-out ul { margin: 8px 0 0; }

/* VIP ladder */
.ladder { display: grid; grid-template-columns: repeat(auto-fit, minmax(118px, 1fr)); gap: 8px; list-style: none; padding: 0; margin: 18px 0; }
.ladder li { margin: 0; }
.ladder button { width: 100%; text-align: left; padding: 12px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--card); font: inherit; cursor: pointer; display: grid; gap: 2px; }
.ladder button b { font: 700 .95rem var(--f-display); }
.ladder button small { font: 600 .74rem var(--f-mono); color: var(--ink-2); }
.ladder button[aria-pressed="true"] { background: var(--ink); color: var(--lime); }
.ladder button[aria-pressed="true"] small { color: var(--paper); }

/* stat strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 14px; list-style: none; padding: 0; margin: 24px 0 0; }
.stats li { min-width: 0; }
.stats data, .stats strong { overflow-wrap: anywhere; }
.stats li { margin: 0; padding: 18px; border-top: 3px solid var(--ink); }
.stats data, .stats strong { display: block; font: 800 1.9rem/1.1 var(--f-mono); }
.stats span { color: var(--ink-2); font-size: .9rem; }

/* callout band */
.band { max-width: var(--wrap); margin: 0 auto 56px; padding: 0 20px; }
.band > div { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center; background: var(--ink); color: var(--paper); border-radius: var(--radius-lg); padding: 30px 34px; box-shadow: 6px 6px 0 var(--cobalt); }
.band h2 { color: var(--paper); font-size: 1.6rem; margin: 0 0 6px; }
.band p { margin: 0; color: #c9c6bd; }

/* hero visual: receipt */
.receipt { background: var(--card); border: 1.5px solid var(--line); border-radius: 16px; box-shadow: 8px 8px 0 var(--ink); padding: 22px 22px 28px; font-family: var(--f-mono); rotate: 1.5deg; position: relative; }
.receipt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -10px; height: 12px; background: radial-gradient(circle at 8px -2px, transparent 8px, var(--card) 9px) 0 0 / 16px 12px repeat-x; }
.receipt h2 { font: 800 1rem var(--f-mono); text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; text-align: center; }
.receipt dl { margin: 0; }
.receipt dl > div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--soft-line); font-size: .92rem; }
.receipt dd { margin: 0; font-weight: 700; }
.receipt .total { font-size: 1.15rem; border-bottom: 0; padding-top: 12px; }
.receipt .total dd { background: var(--lime); padding: 0 6px; border-radius: 4px; }
.receipt p { font-size: .76rem; color: var(--ink-3); margin: 12px 0 0; text-align: center; }

/* footer */
.foot { border-top: 1.5px solid var(--line); background: var(--ink); color: #d7d3c8; margin-top: 40px; }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 44px 20px 30px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 30px; }
.foot h2 { font-size: 1rem; color: var(--paper); font-family: var(--f-mono); text-transform: uppercase; letter-spacing: .08em; }
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot li { margin: 0; }
.foot a { color: #d7d3c8; text-decoration: none; }
.foot a:hover { color: var(--lime); }
.foot .logo { color: var(--paper); }
.foot small { display: block; font-size: .82rem; line-height: 1.55; }
.rg { max-width: var(--wrap); margin: 0 auto; padding: 18px 20px 26px; border-top: 1px solid #33363f; display: flex; flex-wrap: wrap; gap: 10px 26px; align-items: center; font-size: .84rem; }
.rg strong { color: var(--lime); }
.age { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; border: 2px solid var(--coral); color: var(--coral); font: 800 .85rem var(--f-mono); }

/* reveal */
@media (prefers-reduced-motion: no-preference) {
  .reveal { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
  .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero, .split, .split.wide-left, .calc-grid { grid-template-columns: 1fr; }
  main > header.has-img { grid-template-columns: 1fr; }
  main > header.has-img > .hero-img { grid-column: 1; grid-row: auto; margin-top: 18px; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .bento .w2, .bento .w3, .bento .w4, .bento .w6 { grid-column: span 2; }
  .bento .half { grid-column: span 1; }
  .flips { grid-template-columns: 1fr 1fr; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .receipt { rotate: 0deg; }
}
@media (max-width: 820px) {
  .navtoggle { display: inline-flex; }
  .masthead-in { gap: 10px; padding: 10px 16px; }
  .head-cta { margin-left: auto; }
  .mainnav { position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1.5px solid var(--line); display: none; margin: 0; }
  .mainnav.open { display: block; }
  .mainnav ul { flex-direction: column; padding: 10px 16px 16px; }
  .mainnav .nav-app { display: block; padding-top: 8px; }
  main > section.promo { grid-template-columns: 1fr; margin: 20px 16px; padding: 24px 20px; }
  .stickybar {
    display: flex; align-items: center; gap: 10px; position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 60;
    background: var(--ink); color: var(--paper); border: 1.5px solid var(--line); border-radius: 16px; padding: 10px 10px 10px 14px;
    box-shadow: 4px 4px 0 var(--cobalt); transform: translateY(140%); transition: transform .3s ease;
  }
  .stickybar.on { transform: none; }
  .stickybar p { margin: 0; font-size: .8rem; line-height: 1.35; flex: 1; }
  .stickybar strong { color: var(--lime); }
  .stickybar .btn { flex: none; }
  .sb-close { flex: none; background: transparent; border: 0; color: #9a978f; font-size: 1.3rem; line-height: 1; padding: 4px; cursor: pointer; }
  body.has-sb { padding-bottom: 84px; }
  .ticker { grid-template-columns: 1fr; }
  .ticker > li + li { border-left: 0; border-top: 1.5px solid var(--line); }
}
@media (max-width: 420px) {
  .masthead-in { gap: 8px; padding: 10px 12px; }
  .logo { font-size: .95rem; gap: 6px; }
  .logo svg { width: 26px; height: 26px; }
  .head-cta { padding: 8px 10px; font-size: .8rem; box-shadow: var(--shadow-sm); }
  .navtoggle { padding: 6px; }
}
@media (max-width: 340px) { .masthead-in .logo svg { display: none; } .logo span { font-size: .9rem; } }
@media (max-width: 620px) {
  body { font-size: 16px; }
  main > section, main > article > section, main > article > header, main > header { padding: 38px 16px; }
  .wrap, .crumbs, .band { padding-left: 16px; padding-right: 16px; }
  .bento { grid-template-columns: 1fr; } .bento .w2, .bento .w3, .bento .w4, .bento .w6, .bento .half { grid-column: span 1; }
  .flips, .row2 { grid-template-columns: 1fr; }
  .panel, .calc form, .result { padding: 20px; }
  .band > div { grid-template-columns: 1fr; padding: 24px; }
  .cal button.day { min-height: 58px; padding: 4px; }
  .cal .tag { display: none; }
  .foot-in { grid-template-columns: 1fr; }
  ol.steps > li { padding-left: 62px; }
}
