/* 1win-pagina-oficial-ecuador.com — hoja de estilos original (tema atardecer) */

:root {
  --o1: #ff8419;
  --o2: #ff9f33;
  --o3: #ffb85c;
  --cream: #fffaf1;
  --cream-2: #fff1dc;
  --cream-3: #ffe3bd;
  --ink: #2c2a3b;
  --ink-soft: #5b5568;
  --navy: #0c2a5e;
  --navy-2: #123a7d;
  --blue: #1e6bff;
  --blue-2: #5a9bff;
  --green: #19b862;
  --green-2: #55df90;
  --yellow: #ffd23f;
  --yellow-2: #ffe685;
  --wrap: 1200px;
  --font: "Urbanist", -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: 17.5px; line-height: 1.68;
  background:
    radial-gradient(520px 380px at 10% 6%, rgba(255,255,255,.30), rgba(255,255,255,0) 70%),
    radial-gradient(560px 420px at 92% 18%, rgba(255,230,133,.45), rgba(255,230,133,0) 70%),
    linear-gradient(180deg, var(--o1) 0, var(--o2) 40%, var(--o3) 100%);
  -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(--yellow); color: #3a2a00; padding: 10px 16px; border-radius: 10px; font-weight: 800; }
.skip-link:focus { top: 12px; }

/* ============ HEADER (isla flotante) ============ */
.site-header { position: sticky; top: 0; z-index: 60; padding: 12px 0 0; }
.bar { position: relative; z-index: 62; display: flex; align-items: center; gap: 22px; padding: 10px 14px 10px 24px; border-radius: 26px; background: var(--navy); box-shadow: 0 14px 34px rgba(80,30,0,.35); }
.brand { flex: none; display: flex; align-items: center; }
.brand img { height: 34px; width: auto; }
.menu { flex: 1; }
.menu ul { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.menu a { display: inline-flex; align-items: center; gap: 9px; padding: 10px 20px; border-radius: 16px; font-weight: 800; font-size: .98rem; }
.menu a.is-app { background: linear-gradient(135deg, var(--yellow), var(--yellow-2)); color: #3a2a00; box-shadow: 0 6px 16px rgba(255,210,63,.35); }
.menu a.is-app:hover { filter: brightness(1.05); }
.menu 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: 15px; border: 2px solid rgba(255,255,255,.3); background: rgba(255,255,255,.08); cursor: pointer; padding: 0; }
.hamburger span { display: block; width: 18px; height: 2px; margin: 0 auto; background: #fff; 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: var(--navy); overflow-y: auto; padding: 108px 20px 40px; }
.drawer.is-open { display: block; }
.drawer ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 10px; }
.drawer ul a { display: flex; align-items: center; gap: 12px; padding: 18px 20px; border-radius: 18px; font-weight: 800; font-size: 1.1rem; }
.drawer ul a.is-app { background: linear-gradient(135deg, var(--yellow), var(--yellow-2)); color: #3a2a00; }
.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 26px; border-radius: 16px; font-family: inherit; font-weight: 800; font-size: 1rem; 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(--blue); outline-offset: 2px; }
.bar a:focus-visible, .drawer a:focus-visible, .hamburger:focus-visible, .site-footer a:focus-visible { outline-color: var(--yellow); }
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-2)); color: #04301a; box-shadow: 0 8px 20px rgba(25,184,98,.34); }
.btn-green:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-blue { background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; box-shadow: 0 8px 20px rgba(30,107,255,.34); }
.btn-blue:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-yellow { background: linear-gradient(135deg, var(--yellow), var(--yellow-2)); color: #3a2a00; box-shadow: 0 8px 20px rgba(255,210,63,.4); }
.btn-yellow:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.45); }
.btn-ghost:hover { background: rgba(255,255,255,.14); }
.btn-outline { background: #fff; color: var(--navy-2); border: 2px solid var(--blue-2); }
.btn-outline:hover { background: #eaf2ff; }
.btn-sm { padding: 10px 20px; font-size: .95rem; border-radius: 14px; }
.btn-lg { padding: 16px 34px; font-size: 1.07rem; }
.btn-block { width: 100%; }

/* ============ HERO (cartel) ============ */
.crumb { padding-top: 18px; }
.back-home { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 14px; background: var(--cream); border: 2px solid var(--navy); color: var(--navy); font-weight: 800; font-size: .94rem; }
.back-home:hover { background: #fff; }
.hero { padding: 24px 0 6px; }
.poster { position: relative; height: 440px; border-radius: 34px; border: 7px solid var(--cream); background: var(--navy); box-shadow: 0 22px 48px rgba(80,30,0,.35); overflow: visible; }
.poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 27px; }
.coin { position: absolute; z-index: 2; width: 132px; height: 132px; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 10px; border: 4px solid var(--cream); box-shadow: 0 12px 26px rgba(40,15,0,.4); }
.coin b { display: block; font-size: 1.7rem; line-height: 1; font-weight: 900; }
.coin small { display: block; margin-top: 5px; font-size: .74rem; line-height: 1.15; font-weight: 800; }
.cn1 { right: 34px; top: -24px; background: linear-gradient(145deg, var(--yellow), var(--yellow-2)); color: #3a2a00; transform: rotate(8deg); }
.cn2 { right: 190px; bottom: 104px; background: linear-gradient(145deg, var(--green), var(--green-2)); color: #04301a; transform: rotate(-6deg); width: 116px; height: 116px; }
.cn3 { right: 30px; bottom: 112px; background: linear-gradient(145deg, var(--blue), var(--blue-2)); color: #fff; transform: rotate(5deg); width: 112px; height: 112px; }
.panel { position: relative; z-index: 3; margin: -92px 44px 0; padding: 38px 42px 34px; border-radius: 30px; background: var(--cream); box-shadow: 0 22px 46px rgba(80,30,0,.3); }
.panel::before { content: ""; position: absolute; left: 42px; top: -7px; width: 120px; height: 14px; border-radius: 8px; background: linear-gradient(90deg, var(--blue), var(--green), var(--yellow)); }
.panel h1 { margin: 6px 0 18px; color: var(--navy); font-size: clamp(1.8rem, 3.2vw, 2.7rem); line-height: 1.1; font-weight: 900; letter-spacing: -.02em; }
.panel p { font-size: 1.06rem; }
.panel-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; }
.panel-cols p { margin-bottom: 14px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 10px; }
.panel.plain { margin: 0; }

.pay-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 9px 18px; border-radius: 14px; background: var(--cream); border: 2px solid var(--navy); color: var(--navy); font-weight: 800; font-size: .94rem; }
.pill::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--blue); transform: rotate(45deg); }
.pill:nth-child(3n+2)::before { background: var(--green); }
.pill:nth-child(3n)::before { background: var(--yellow); box-shadow: 0 0 0 1px #c99a00; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding: 24px 0 6px; -webkit-overflow-scrolling: touch; }
.chip { flex: none; padding: 9px 17px; border-radius: 14px; background: rgba(255,250,241,.9); border: 2px solid transparent; color: var(--navy); font-weight: 800; font-size: .92rem; }
.chip:hover { background: var(--blue); color: #fff; }

/* ============ ARTICLE ============ */
.article { max-width: 1000px; margin: 22px auto 0; padding: 0 20px; }
.blk { position: relative; overflow: hidden; margin: 0 0 26px; padding: 38px 42px 30px 48px; border-radius: 30px; background: var(--cream); box-shadow: 0 16px 36px rgba(110,45,0,.24); scroll-margin-top: 96px; }
.blk::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px; background: linear-gradient(180deg, var(--blue), var(--blue-2)); }
.blk.k2::before { background: linear-gradient(180deg, var(--green), var(--green-2)); }
.blk.k3::before { background: linear-gradient(180deg, var(--yellow), var(--yellow-2)); }
.blk::after { content: attr(data-n); position: absolute; right: 22px; top: 6px; font-size: 6.2rem; line-height: 1; font-weight: 900; color: rgba(30,107,255,.08); pointer-events: none; }
.blk.k2::after { color: rgba(25,184,98,.1); }
.blk.k3::after { color: rgba(255,170,0,.16); }
.blk > * { position: relative; z-index: 1; }
.blk h2 { margin: 0 0 22px; max-width: 86%; color: var(--navy); font-size: clamp(1.45rem, 2.7vw, 2rem); line-height: 1.16; font-weight: 900; letter-spacing: -.015em; }
.blk h3 { display: flex; align-items: center; gap: 12px; margin: 34px 0 14px; color: var(--blue); font-size: 1.28rem; line-height: 1.25; font-weight: 900; }
.blk h3::before { content: ""; flex: none; width: 22px; height: 8px; border-radius: 6px; background: linear-gradient(90deg, var(--yellow), var(--o1)); }
.blk p { font-size: 1.05rem; line-height: 1.76; }

.blk ul, .blk ol { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.blk ul.cols { grid-template-columns: 1fr 1fr; }
.blk li { position: relative; padding: 13px 18px 13px 56px; border-radius: 16px; font-size: 1.01rem; }
.blk ul li { background: var(--cream-2); border: 2px solid var(--cream-3); }
.blk ul li::before { content: ""; position: absolute; left: 20px; top: 20px; width: 14px; height: 14px; border-radius: 4px; background: linear-gradient(135deg, var(--blue), var(--blue-2)); transform: rotate(45deg); }
.blk ol { counter-reset: s; }
.blk ol li { counter-increment: s; background: #ecfaf2; border: 2px solid #c3ecd5; }
.blk ol li::before { content: counter(s); position: absolute; left: 14px; top: 10px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), var(--green-2)); color: #04301a; font-weight: 900; font-size: .95rem; line-height: 1; }

.table-wrap { margin: 24px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 20px; border: 3px solid var(--navy); background: #fff; }
.table-wrap table { width: 100%; border-collapse: collapse; font-size: .97rem; }
.table-wrap.wide table { min-width: 580px; }
.table-wrap th { text-align: left; padding: 14px 18px; background: var(--navy); color: var(--yellow); font-weight: 800; font-size: .9rem; letter-spacing: .02em; }
.table-wrap td { padding: 13px 18px; border-top: 1px solid #f1dcc0; vertical-align: top; background: #fffdf8; }
.table-wrap tbody tr:first-child td { border-top: 0; }
.table-wrap tbody tr:nth-child(even) td { background: var(--cream-2); }
.table-wrap td:first-child { color: var(--navy); font-weight: 800; }
.table-wrap td.url { word-break: break-all; font-size: .9rem; color: var(--ink-soft); font-weight: 600; }

.figure { margin: 26px 0; border-radius: 26px; overflow: hidden; border: 6px solid #fff; box-shadow: 0 16px 34px rgba(80,30,0,.3), 10px 10px 0 var(--yellow); }
.figure img { width: 100%; height: auto; }

.cta { margin: 30px 0 8px; padding: 28px 20px; border-radius: 26px; display: flex; justify-content: center; background: linear-gradient(120deg, #e1ecff, #def7e9 55%, #fff1b8); border: 2px dashed var(--navy-2); }
.link-row { margin: 8px 0 0; }

.faq { display: grid; gap: 12px; margin-top: 6px; }
.faq details { border-radius: 20px; background: var(--cream-2); border: 2px solid var(--cream-3); overflow: hidden; }
.faq details[open] { background: #eaf2ff; border-color: #b9d2ff; }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 19px 64px 19px 24px; color: var(--navy); font-weight: 900; font-size: 1.07rem; 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: 34px; height: 34px; border-radius: 12px; display: grid; place-items: center; background: linear-gradient(135deg, var(--yellow), var(--yellow-2)); color: #3a2a00; font-size: 1.4rem; font-weight: 900; line-height: 1; }
.faq details[open] summary::after { content: "−"; background: linear-gradient(135deg, var(--blue), var(--blue-2)); color: #fff; }
.faq .ans { padding: 0 24px 22px; }
.faq .ans p { margin: 0; }

/* ============ FOOTER ============ */
.site-footer { margin-top: 56px; padding: 48px 0 26px; background: var(--navy); color: #c9d8f5; border-top: 8px solid var(--yellow); }
.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: #a9bde6; font-size: .96rem; max-width: 340px; }
.f-col h3 { margin: 0 0 12px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--yellow); }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col a { display: inline-block; padding: 5px 0; font-size: .98rem; color: #e1ebff; }
.f-col a:hover { color: #fff; 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 rgba(255,255,255,.16); }
.f-bottom p { margin: 0; font-size: .88rem; color: #a9bde6; }
.badge-18 { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--yellow); color: var(--yellow); display: grid; place-items: center; font-weight: 900; font-size: .86rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1060px) {
  .menu, .bar-cta { display: none; }
  .hamburger { display: flex; }
  .poster { height: 360px; }
  .cn2 { right: 150px; bottom: 96px; }
  .panel { margin: -70px 20px 0; padding: 32px 28px 28px; }
  .panel-cols { grid-template-columns: 1fr; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .bar { padding: 8px 10px 8px 18px; border-radius: 22px; }
  .poster { height: 260px; border-width: 5px; border-radius: 26px; }
  .poster img { border-radius: 21px; }
  .coin { width: 96px; height: 96px; padding: 6px; border-width: 3px; }
  .coin b { font-size: 1.2rem; }
  .coin small { font-size: .62rem; }
  .cn1 { right: 12px; top: -18px; }
  .cn2 { width: 88px; height: 88px; right: 100px; bottom: 56px; }
  .cn3 { width: 84px; height: 84px; right: 10px; bottom: 60px; }
  .panel { margin: -40px 8px 0; padding: 28px 20px 24px; border-radius: 24px; }
  .panel::before { left: 20px; }
  .hero-actions .btn { width: 100%; }
  .blk { padding: 30px 20px 24px 28px; border-radius: 24px; }
  .blk::before { width: 10px; }
  .blk::after { font-size: 4.4rem; right: 12px; }
  .blk h2 { max-width: 100%; }
  .blk ul.cols { grid-template-columns: 1fr; }
  .blk h3 { font-size: 1.15rem; }
  .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; } }
