/* 1win-sitio-ec.com — hoja de estilos original */

:root {
  --bg: #0e0f12;
  --bg-2: #0a0b0d;
  --panel: #171a1f;
  --panel-2: #1e2229;
  --panel-3: #272c35;
  --line: rgba(255,255,255,.07);
  --line-2: rgba(255,255,255,.15);
  --ink: #c9ced8;
  --hi: #f6f7f9;
  --dim: #8b93a3;
  --blue: #2c6bff;
  --blue-2: #5b8fff;
  --green: #2ec36d;
  --green-2: #5ae593;
  --amber: #f2a93b;
  --wrap: 1240px;
  --font: "Onest", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; color: var(--ink); font-family: var(--font); font-size: 16.5px; line-height: 1.7;
  background:
    radial-gradient(900px 420px at 18% -8%, rgba(44,107,255,.14), transparent 62%),
    radial-gradient(700px 360px at 92% 4%, rgba(46,195,109,.08), transparent 60%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 16px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--green); color: #04200f; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip-link:focus { top: 12px; }

/* ============ HEADER ============ */
.site-header { position: sticky; top: 0; z-index: 60; background: rgba(14,15,18,.97); border-bottom: 1px solid var(--line); }
.bar { position: relative; z-index: 62; display: flex; align-items: center; gap: 22px; min-height: 74px; }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.tabs { display: flex; align-items: center; gap: 4px; padding: 6px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.tabs ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.tabs a {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 18px; border-radius: 13px;
  font-weight: 600; font-size: .96rem; color: var(--ink); transition: background .15s ease, color .15s ease;
}
.tabs a:hover { background: var(--panel-3); color: var(--hi); }
.tabs a.is-app { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 6px 18px rgba(44,107,255,.35); }
.tabs a.is-app:hover { filter: brightness(1.08); }
.tabs svg { width: 17px; height: 17px; }
.bar-cta { display: flex; gap: 10px; margin-left: auto; }

.hamburger {
  display: none; margin-left: auto; width: 46px; height: 46px; flex-direction: column; justify-content: center; gap: 5px;
  border-radius: 13px; border: 1px solid var(--line-2); background: var(--panel-2); cursor: pointer; padding: 0;
}
.hamburger span { display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--hi); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.drawer { display: none; position: fixed; inset: 0; z-index: 61; background: #0b0c0f; overflow-y: auto; padding: 100px 20px 40px; }
.drawer.is-open { display: block; }
.drawer ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.drawer ul a { display: flex; align-items: center; gap: 12px; padding: 17px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-weight: 700; font-size: 1.06rem; color: var(--hi); }
.drawer ul a.is-app { background: linear-gradient(135deg, var(--blue), var(--blue-2)); border-color: transparent; }
.drawer ul svg { width: 20px; height: 20px; }
.drawer .d-cta { display: grid; gap: 10px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; cursor: pointer;
  padding: 13px 24px; border-radius: 13px; font-family: inherit; font-weight: 700; font-size: .96rem; line-height: 1.2;
  transition: transform .15s ease, filter .15s ease, background .15s ease; white-space: nowrap; text-align: center;
}
.btn:focus-visible, a:focus-visible, summary:focus-visible, .hamburger:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; }
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-2)); color: #04200f; box-shadow: 0 8px 24px rgba(46,195,109,.28); }
.btn-green:hover { filter: brightness(1.07); transform: translateY(-1px); }
.btn-blue { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 8px 24px rgba(44,107,255,.3); }
.btn-blue:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-dark { background: var(--panel-3); color: var(--hi); }
.btn-dark:hover { background: #313844; }
.btn-white { background: #fff; color: #0e0f12; }
.btn-white:hover { background: #e9edf5; transform: translateY(-1px); }
.btn-line { background: transparent; color: var(--hi); border: 1px solid var(--line-2); }
.btn-line:hover { background: rgba(255,255,255,.07); }
.btn-sm { padding: 10px 18px; font-size: .92rem; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: 15px; }
.btn-block { width: 100%; }

/* ============ HERO ============ */
.crumb { padding-top: 18px; }
.back-home { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 12px; background: var(--panel-2); border: 1px solid var(--line-2); font-weight: 600; font-size: .92rem; color: var(--hi); }
.back-home:hover { background: var(--panel-3); }
.hero { padding: 18px 0 8px; }
.stage { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.banner { position: relative; grid-column: span 8; min-height: 460px; border-radius: 26px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10,11,13,.94) 0%, rgba(10,11,13,.6) 36%, rgba(10,11,13,0) 66%); pointer-events: none; }
.banner-copy { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 34px 36px; }
.banner h1 { margin: 0; max-width: 780px; color: #fff; font-size: clamp(1.7rem, 3.2vw, 2.7rem); line-height: 1.12; font-weight: 800; letter-spacing: -.02em; text-shadow: 0 2px 18px rgba(0,0,0,.5); }
.side-cards { grid-column: span 4; display: grid; grid-template-rows: 1fr 1fr; gap: 16px; }
.mini { position: relative; overflow: hidden; border-radius: 26px; padding: 26px; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; border: 1px solid var(--line-2); }
.mini strong { display: block; max-width: 270px; color: #fff; font-size: 1.4rem; line-height: 1.2; font-weight: 800; letter-spacing: -.01em; }
.mini .btn { align-self: flex-start; }
.mini::before { content: ""; position: absolute; right: -50px; bottom: -60px; width: 190px; height: 190px; border-radius: 50%; opacity: .5; pointer-events: none; }
.mini > * { position: relative; }
.mini-sand { background: linear-gradient(150deg, #6f5b41, #a88a5f 55%, #cdb085); border-color: transparent; }
.mini-sand::before { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.8), transparent 65%); }
.mini-steel { background: linear-gradient(150deg, #25344d, #3b5273 60%, #55709a); border-color: transparent; }
.mini-steel::before { background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.6), transparent 65%); }

.lead { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 34px; padding: 28px 32px; border-radius: 22px; background: var(--panel); border: 1px solid var(--line); }
.lead p { margin: 0; }
.lead-actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 12px; padding-top: 6px; }
.lead.single { grid-template-columns: 1fr; }

.row-head { display: flex; align-items: center; gap: 10px; margin: 30px 0 14px; font-weight: 800; font-size: 1.35rem; color: var(--hi); }
.row-head svg { width: 18px; height: 18px; color: var(--dim); }
.games { display: flex; gap: 12px; overflow-x: auto; padding: 4px 2px 14px; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; }
.gcard {
  position: relative; flex: none; width: 176px; height: 214px; padding: 14px; border-radius: 20px; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; scroll-snap-align: start; border: 1px solid rgba(255,255,255,.12);
  transition: transform .18s ease;
}
.gcard:hover { transform: translateY(-4px); }
.gcard small { align-self: center; padding: 3px 10px; border-radius: 8px; background: rgba(255,255,255,.2); color: #fff; font-size: .68rem; font-weight: 800; letter-spacing: .06em; }
.gcard b { display: block; text-align: center; color: #fff; font-size: 1.5rem; line-height: 1.02; font-weight: 800; text-transform: uppercase; text-shadow: 0 3px 14px rgba(0,0,0,.35); }
.gcard span { align-self: center; padding: 6px 14px; border-radius: 10px; background: rgba(0,0,0,.35); color: #fff; font-size: .8rem; font-weight: 700; }
.g1 { background: linear-gradient(160deg, #2fa3f0, #1b4fd8); }
.g2 { background: linear-gradient(160deg, #8a52f2, #4a2bc4); }
.g3 { background: linear-gradient(160deg, #f6b83c, #e37a14); }
.g4 { background: linear-gradient(160deg, #35c97b, #14806a); }
.g5 { background: linear-gradient(160deg, #f0587a, #b02a55); }
.g6 { background: linear-gradient(160deg, #4d68f0, #1d2a8a); }
.g7 { background: linear-gradient(160deg, #6a7fa0, #2a3550); }
.g8 { background: linear-gradient(160deg, #f59a3a, #c2410c); }

.plat { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }
.plat div { padding: 18px 20px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line); }
.plat b { display: block; color: var(--hi); font-size: 1.1rem; }
.plat small { color: var(--dim); font-size: .88rem; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 22px 0 6px; -webkit-overflow-scrolling: touch; }
.chip { flex: none; padding: 9px 16px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-2); font-weight: 600; font-size: .9rem; color: var(--ink); }
.chip:hover { background: var(--blue); border-color: var(--blue); color: #fff; }

/* ============ ARTICLE ============ */
.article { max-width: 980px; margin: 24px auto 0; padding: 0 20px; }
.sec { position: relative; padding: 46px 0 10px; border-top: 1px solid var(--line); scroll-margin-top: 86px; }
.sec:first-child { border-top: 0; padding-top: 26px; }
.sec-head { margin-bottom: 22px; }
.num { display: block; margin-bottom: 6px; color: var(--blue-2); font-weight: 800; font-size: .86rem; letter-spacing: .14em; }
.sec h2 { margin: 0; color: var(--hi); font-size: clamp(1.55rem, 2.8vw, 2.15rem); line-height: 1.18; font-weight: 800; letter-spacing: -.015em; }
.sec h2::after { content: ""; display: block; width: 58px; height: 4px; margin-top: 14px; border-radius: 4px; background: linear-gradient(90deg, var(--blue), var(--green)); }
.sec h3 { margin: 38px 0 14px; padding-left: 14px; border-left: 4px solid var(--blue); color: var(--hi); font-size: 1.24rem; line-height: 1.3; font-weight: 700; }
.sec p { font-size: 1.03rem; line-height: 1.78; }

.sec ul, .sec ol { list-style: none; margin: 18px 0 22px; padding: 0; }
.sec ul { display: grid; gap: 10px; }
.sec ul.cols { grid-template-columns: 1fr 1fr; }
.sec ul li { position: relative; padding: 13px 16px 13px 46px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); font-size: .99rem; }
.sec ul li::before { content: ""; position: absolute; left: 18px; top: 22px; width: 10px; height: 10px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--green)); }
.sec ol { counter-reset: s; }
.sec ol li { counter-increment: s; position: relative; padding: 6px 0 22px 58px; min-height: 52px; font-size: 1rem; }
.sec ol li:last-child { padding-bottom: 6px; }
.sec ol li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), var(--green-2)); color: #04200f; font-weight: 800; font-size: .92rem; }
.sec ol li:not(:last-child)::after { content: ""; position: absolute; left: 18px; top: 42px; bottom: 2px; width: 2px; background: var(--line-2); }

.table-wrap { margin: 24px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 16px; border: 1px solid var(--line-2); background: var(--panel); }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.table-wrap.wide table { min-width: 580px; }
.table-wrap th { text-align: left; padding: 14px 18px; background: #1a2130; color: var(--blue-2); font-size: .74rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; border-bottom: 1px solid var(--line-2); }
.table-wrap td { padding: 13px 18px; border-top: 1px solid var(--line); vertical-align: top; }
.table-wrap tbody tr:first-child td { border-top: 0; }
.table-wrap tbody tr:nth-child(even) td { background: rgba(255,255,255,.025); }
.table-wrap td:first-child { color: var(--hi); font-weight: 600; }
.table-wrap td.url { word-break: break-all; font-size: .9rem; color: var(--dim); font-weight: 400; }

.figure { margin: 26px 0; border-radius: 22px; overflow: hidden; border: 1px solid var(--line-2); background: var(--panel); }
.figure img { width: 100%; height: auto; }

.cta { margin: 30px 0 10px; padding: 26px 20px; border-radius: 22px; display: flex; justify-content: center; background: linear-gradient(120deg, rgba(44,107,255,.2), rgba(46,195,109,.14)); border: 1px solid var(--line-2); }
.link-row { margin: 8px 0 0; }

.faq { display: grid; gap: 10px; margin-top: 10px; }
.faq details { border-radius: 16px; background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--panel-3); overflow: hidden; }
.faq details[open] { border-left-color: var(--blue); background: var(--panel-2); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 19px 58px 19px 22px; color: var(--hi); font-weight: 700; font-size: 1.04rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--panel-3); color: var(--hi); font-size: 1.25rem; }
.faq details[open] summary::after { content: "−"; background: var(--blue); }
.faq .ans { padding: 0 22px 20px; }
.faq .ans p { margin: 0; }

/* ============ FOOTER ============ */
.site-footer { margin-top: 56px; padding: 46px 0 26px; background: var(--bg-2); border-top: 1px solid var(--line-2); }
.f-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
.f-brand img { height: 34px; width: auto; margin-bottom: 14px; }
.f-brand p { color: var(--dim); font-size: .94rem; max-width: 340px; }
.f-col h3 { margin: 0 0 12px; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--blue-2); }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col a { display: inline-block; padding: 5px 0; font-size: .96rem; color: var(--ink); }
.f-col a:hover { color: var(--hi); text-decoration: underline; }
.f-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; border-top: 1px solid var(--line); }
.f-bottom p { margin: 0; font-size: .86rem; color: var(--dim); }
.badge-18 { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--amber); color: var(--amber); display: grid; place-items: center; font-weight: 800; font-size: .84rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1060px) {
  .tabs, .bar-cta { display: none; }
  .hamburger { display: flex; }
  .banner { grid-column: 1 / -1; min-height: 400px; }
  .side-cards { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: 1fr 1fr; }
  .lead { grid-template-columns: 1fr; }
  .plat { grid-template-columns: 1fr 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .banner { min-height: 340px; }
  .banner-copy { padding: 22px 20px; }
  .side-cards { grid-template-columns: 1fr; }
  .mini { padding: 22px; }
  .lead { padding: 22px 20px; }
  .lead-actions .btn { width: 100%; }
  .sec ul.cols { grid-template-columns: 1fr; }
  .sec h3 { font-size: 1.12rem; }
  .btn { white-space: normal; }
  .cta .btn { width: 100%; }
  .f-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
