/* 1win-juego-ecuador.com — hoja de estilos original (tema violeta cristal) */

:root {
  --v1: #231058;
  --v2: #361a8a;
  --v3: #4b27b0;
  --glass: rgba(255,255,255,.07);
  --glass-2: rgba(255,255,255,.12);
  --line: rgba(255,255,255,.16);
  --line-2: rgba(255,255,255,.28);
  --ink: #e9e4ff;
  --hi: #ffffff;
  --dim: #b9aee8;
  --blue: #2f7bff;
  --blue-2: #5b9bff;
  --green: #22c36f;
  --green-2: #5ae79d;
  --sky: #52d6ff;
  --sky-2: #a2ebff;
  --navy: #0b2a55;
  --wrap: 1200px;
  --font: "Outfit", -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.7;
  background:
    radial-gradient(700px 460px at 90% -6%, rgba(82,214,255,.22), rgba(82,214,255,0) 70%),
    radial-gradient(760px 520px at -6% 18%, rgba(47,123,255,.28), rgba(47,123,255,0) 70%),
    linear-gradient(180deg, var(--v1) 0, var(--v2) 48%, var(--v3) 100%);
  background-color: var(--v2);
  -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: #04301a; 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: #1a0b45; border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px rgba(10,0,40,.4); }
.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; }
.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: 999px; font-weight: 700; font-size: .98rem; }
.menu a.is-app { background: linear-gradient(135deg, var(--sky), var(--sky-2)); color: var(--navy); box-shadow: 0 6px 20px rgba(82,214,255,.35); }
.menu a.is-app:hover { filter: brightness(1.06); }
.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: 14px; border: 1px solid var(--line-2); background: var(--glass-2); 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: #1a0b45; overflow-y: auto; padding: 104px 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: 700; font-size: 1.1rem; }
.drawer ul a.is-app { background: linear-gradient(135deg, var(--sky), var(--sky-2)); color: var(--navy); }
.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: 999px; font-family: inherit; font-weight: 700; 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(--sky); outline-offset: 2px; }
.btn-green { background: linear-gradient(135deg, var(--green), var(--green-2)); color: #04301a; box-shadow: 0 8px 24px rgba(34,195,111,.38); }
.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(47,123,255,.42); }
.btn-blue:hover { filter: brightness(1.1); transform: translateY(-1px); }
.btn-sky { background: linear-gradient(135deg, var(--sky), var(--sky-2)); color: var(--navy); box-shadow: 0 8px 24px rgba(82,214,255,.32); }
.btn-sky:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: #fff; border: 2px solid var(--line-2); }
.btn-ghost:hover { background: var(--glass-2); }
.btn-sm { padding: 10px 20px; font-size: .95rem; }
.btn-lg { padding: 16px 36px; font-size: 1.08rem; }
.btn-block { width: 100%; }

/* ============ HERO ============ */
.crumb { padding-top: 18px; }
.back-home { display: inline-flex; align-items: center; gap: 8px; padding: 9px 18px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--line-2); color: #fff; font-weight: 600; font-size: .94rem; }
.back-home:hover { background: rgba(255,255,255,.2); }
.hero { padding: 38px 0 6px; }
.hero-grid { display: grid; grid-template-columns: 1.04fr .96fr; gap: 44px; align-items: center; }
.hero-text h1 { margin: 0 0 22px; color: #fff; font-size: clamp(1.9rem, 3.6vw, 3rem); line-height: 1.08; font-weight: 800; letter-spacing: -.02em; }
.hero-text p { font-size: 1.06rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-art { position: relative; padding: 16px; }
.hero-art::before { content: ""; position: absolute; inset: 0; border-radius: 40px; background: conic-gradient(from 210deg, var(--blue), var(--sky), var(--green), var(--blue)); opacity: .55; filter: blur(22px); }
.hero-art img { position: relative; width: 100%; aspect-ratio: 16 / 11; object-fit: cover; border-radius: 30px; border: 3px solid rgba(255,255,255,.55); box-shadow: 0 26px 60px rgba(8,0,40,.55); }
.glass-card { padding: 38px 42px 32px; border-radius: 32px; background: var(--glass); border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(8,0,40,.35); }
.glass-card h1 { margin: 0 0 20px; color: #fff; font-size: clamp(1.8rem, 3.3vw, 2.7rem); line-height: 1.1; font-weight: 800; letter-spacing: -.02em; }
.glass-card p { font-size: 1.06rem; }

.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.stat { padding: 20px 24px; border-radius: 22px; background: var(--glass); border: 1px solid var(--line); border-top: 4px solid var(--sky); }
.stat:nth-child(2) { border-top-color: var(--green-2); }
.stat:nth-child(3) { border-top-color: var(--blue-2); }
.stat b { display: block; color: #fff; font-size: 1.85rem; line-height: 1.1; font-weight: 800; }
.stat span { display: block; margin-top: 4px; color: var(--dim); font-size: .95rem; font-weight: 500; }

.pay-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 0; }
.pill { display: inline-flex; align-items: center; gap: 9px; padding: 8px 18px; border-radius: 999px; background: var(--glass-2); border: 1px solid var(--line); color: #fff; font-weight: 600; font-size: .94rem; }
.pill::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--sky); }
.pill:nth-child(3n+2)::before { background: var(--green-2); }
.pill:nth-child(3n)::before { background: var(--blue-2); }

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

/* ============ ARTICLE ============ */
.article { max-width: 980px; margin: 22px auto 0; padding: 0 20px; }
.sec { position: relative; margin: 0 0 26px; padding: 38px 42px 30px; border-radius: 32px; background: var(--glass); border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(8,0,40,.3); scroll-margin-top: 92px; }
.sec::before { content: ""; position: absolute; left: 42px; top: -1px; width: 96px; height: 4px; border-radius: 0 0 6px 6px; background: linear-gradient(90deg, var(--sky), var(--blue-2)); }
.sec.s2::before { background: linear-gradient(90deg, var(--green), var(--green-2)); }
.sec.s3::before { background: linear-gradient(90deg, var(--blue), var(--sky)); }
.sec-head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.no { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; border: 2px solid var(--sky); color: var(--sky-2); font-weight: 800; font-size: 1.02rem; box-shadow: 0 0 18px rgba(82,214,255,.35); }
.s2 .no { border-color: var(--green-2); color: var(--green-2); box-shadow: 0 0 18px rgba(90,231,157,.32); }
.s3 .no { border-color: var(--blue-2); color: #cfe0ff; box-shadow: 0 0 18px rgba(91,155,255,.4); }
.sec h2 { margin: 0; color: #fff; font-size: clamp(1.45rem, 2.7vw, 2.05rem); line-height: 1.15; font-weight: 800; letter-spacing: -.015em; }
.sec h3 { margin: 36px 0 14px; color: var(--sky-2); font-size: 1.3rem; line-height: 1.25; font-weight: 700; }
.sec h3::after { content: ""; display: block; width: 44px; height: 3px; margin-top: 8px; border-radius: 3px; background: linear-gradient(90deg, var(--green-2), var(--sky)); }
.sec p { font-size: 1.05rem; line-height: 1.78; }

.sec ul, .sec ol { list-style: none; margin: 18px 0 22px; padding: 0; display: grid; gap: 10px; }
.sec ul.cols { grid-template-columns: 1fr 1fr; }
.sec li { position: relative; padding: 13px 18px 13px 54px; border-radius: 18px; font-size: 1.01rem; background: rgba(255,255,255,.06); border: 1px solid var(--line); }
.sec ul li::before { content: ""; position: absolute; left: 20px; top: 21px; width: 12px; height: 12px; border-radius: 4px; background: linear-gradient(135deg, var(--sky), var(--blue-2)); transform: rotate(45deg); }
.sec ol { counter-reset: s; }
.sec ol li { counter-increment: s; }
.sec ol li::before { content: counter(s); position: absolute; left: 13px; 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: 800; font-size: .95rem; line-height: 1; }

.table-wrap { margin: 24px 0; overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 22px; border: 1px solid var(--line-2); background: rgba(20,6,64,.45); }
.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: linear-gradient(90deg, var(--blue-2), var(--sky)); color: var(--navy); font-weight: 800; font-size: .9rem; letter-spacing: .02em; }
.table-wrap td { padding: 13px 18px; border-top: 1px solid rgba(255,255,255,.1); vertical-align: top; color: var(--ink); }
.table-wrap tbody tr:first-child td { border-top: 0; }
.table-wrap tbody tr:nth-child(even) td { background: rgba(255,255,255,.05); }
.table-wrap td:first-child { color: #fff; font-weight: 700; }
.table-wrap td.url { word-break: break-all; font-size: .9rem; color: var(--dim); font-weight: 400; }

.figure { position: relative; margin: 28px 0; }
.figure::before { content: ""; position: absolute; inset: -8px; border-radius: 34px; background: conic-gradient(from 180deg, var(--blue), var(--sky), var(--green), var(--blue)); opacity: .45; filter: blur(18px); }
.figure img { position: relative; width: 100%; height: auto; border-radius: 26px; border: 3px solid rgba(255,255,255,.5); }

.cta { margin: 30px 0 8px; padding: 28px 20px; border-radius: 26px; display: flex; justify-content: center; background: linear-gradient(120deg, rgba(47,123,255,.28), rgba(82,214,255,.18) 50%, rgba(34,195,111,.24)); border: 1px solid var(--line-2); }
.link-row { margin: 8px 0 0; }

.faq { display: grid; gap: 12px; margin-top: 6px; }
.faq details { border-radius: 22px; background: rgba(255,255,255,.06); border: 1px solid var(--line); overflow: hidden; }
.faq details[open] { background: rgba(47,123,255,.2); border-color: var(--blue-2); }
.faq summary { list-style: none; cursor: pointer; position: relative; padding: 19px 64px 19px 24px; color: #fff; font-weight: 700; font-size: 1.08rem; 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: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--sky), var(--sky-2)); color: var(--navy); font-size: 1.4rem; font-weight: 800; line-height: 1; }
.faq details[open] summary::after { content: "−"; background: linear-gradient(135deg, var(--green), var(--green-2)); color: #04301a; }
.faq .ans { padding: 0 24px 22px; }
.faq .ans p { margin: 0; }

/* ============ FOOTER ============ */
.site-footer { margin-top: 56px; padding: 48px 0 26px; background: #170a3d; color: #d6ccff; 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: .97rem; max-width: 340px; }
.f-col h3 { margin: 0 0 12px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--sky); }
.f-col ul { list-style: none; margin: 0; padding: 0; }
.f-col a { display: inline-block; padding: 5px 0; font-size: .98rem; color: #e7e0ff; }
.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 var(--line); }
.f-bottom p { margin: 0; font-size: .88rem; color: var(--dim); }
.badge-18 { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--sky); color: var(--sky-2); display: grid; place-items: center; font-weight: 800; font-size: .86rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1060px) {
  .menu, .bar-cta { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-art { padding: 12px; }
  .stats { grid-template-columns: 1fr; margin-top: 28px; }
  .f-grid { grid-template-columns: 1fr 1fr; }
  .f-brand { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .hero { padding-top: 24px; }
  .hero-actions .btn { width: 100%; }
  .glass-card { padding: 28px 20px 24px; border-radius: 26px; }
  .sec { padding: 30px 20px 24px; border-radius: 26px; }
  .sec::before { left: 20px; }
  .sec-head { gap: 12px; }
  .no { width: 42px; height: 42px; }
  .sec ul.cols { grid-template-columns: 1fr; }
  .sec 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; } }
