/* 1win-paraguay-apuestas.com — hoja de estilos original */

:root {
  --bg: #0b1220;
  --bg-soft: #111b2e;
  --panel: #172236;
  --panel-2: #1e2c45;
  --line: rgba(255,255,255,.08);
  --line-strong: rgba(255,255,255,.16);
  --ink: #c4cde3;
  --ink-dim: #7c88a8;
  --ink-hi: #f5f7fc;
  --azure: #2f8fff;
  --azure-2: #5cb2ff;
  --emerald: #27c281;
  --emerald-2: #4de3a4;
  --radius: 16px;
  --radius-sm: 10px;
  --wrap: 1160px;
  --sans: "Plus Jakarta Sans", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { padding-left: 1.2em; margin: 0 0 1em; }
li { margin-bottom: .45em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }

/* ============ HEADER ============ */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(11,18,32,.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 20px; }
.brand img { height: 32px; width: auto; }

.primary-nav ul { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.primary-nav a {
  display: inline-block; padding: 10px 16px; border-radius: 999px;
  font-size: .92rem; font-weight: 600; color: var(--ink-dim);
  transition: background .15s ease, color .15s ease;
}
.primary-nav a:hover { background: var(--panel); color: var(--ink-hi); }

.header-cta { display: flex; align-items: center; gap: 10px; }

.hamburger {
  display: none; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border: 1px solid var(--line-strong); border-radius: 10px;
  background: var(--panel); cursor: pointer;
}
.hamburger span { display: block; width: 18px; height: 2px; margin: 0 auto; background: var(--ink-hi); 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); }

.mobile-nav {
  display: none; position: fixed; inset: 76px 0 0 0;
  background: var(--bg-soft); z-index: 59; overflow-y: auto; padding: 26px 22px 44px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav ul { list-style: none; padding: 0; margin: 0 0 26px; display: flex; flex-direction: column; gap: 6px; }
.mobile-nav a { display: block; padding: 15px 18px; border-radius: var(--radius-sm); background: var(--panel); font-size: 1.04rem; font-weight: 600; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 11px; font-size: .95rem; font-weight: 700;
  border: none; cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
  white-space: nowrap;
}
.btn-emerald {
  background: linear-gradient(135deg, var(--emerald), var(--emerald-2));
  color: #06251a; box-shadow: 0 10px 26px rgba(39,194,129,.3);
}
.btn-emerald:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn-azure {
  background: linear-gradient(135deg, var(--azure), var(--azure-2));
  color: #fff; box-shadow: 0 10px 24px rgba(47,143,255,.28);
}
.btn-azure:hover { filter: brightness(1.08); }
.btn-ghost { background: var(--panel); color: var(--ink-hi); border: 1px solid var(--line-strong); }
.btn-ghost:hover { background: var(--panel-2); }
.btn-sm { padding: 10px 18px; font-size: .85rem; border-radius: 9px; }
.btn-block { width: 100%; }

/* ============ HERO ============ */
.hero { position: relative; padding: 58px 0 50px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; top: -160px; right: -140px;
  width: 500px; height: 500px; border-radius: 50%;
  background: radial-gradient(circle, rgba(47,143,255,.18), transparent 70%);
}
.hero::after {
  content: ""; position: absolute; bottom: -200px; left: -140px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, rgba(39,194,129,.14), transparent 70%);
}
.hero .wrap { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; }
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px; border-radius: 999px; background: var(--panel); border: 1px solid var(--line-strong);
  font-size: .8rem; font-weight: 700; color: var(--emerald-2); margin-bottom: 18px;
}
.hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.16; margin: 0 0 18px; color: var(--ink-hi); font-weight: 800; }
.hero-lead { font-size: 1.06rem; color: var(--ink); margin-bottom: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 10px; }
.hero-media { position: relative; border-radius: 20px; overflow: hidden; border: 1px solid var(--line-strong); box-shadow: 0 30px 70px rgba(0,0,0,.4); }
.hero-media img { width: 100%; }

.stats-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 30px; }
.stat-pill { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 14px 12px; text-align: center; }
.stat-pill b { display: block; font-size: 1.15rem; color: var(--emerald-2); }
.stat-pill span { font-size: .76rem; color: var(--ink-dim); }

/* ============ PAGE HEAD ============ */
.breadcrumb { padding: 18px 0 0; font-size: .85rem; color: var(--ink-dim); }
.breadcrumb a { color: var(--azure-2); font-weight: 600; }
.page-head { padding: 40px 0 30px; }
.page-head h1 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); color: var(--ink-hi); margin: 10px 0 16px; font-weight: 800; }
.page-head p { font-size: 1.03rem; max-width: 720px; }

/* ============ LAYOUT ============ */
.layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; padding: 10px 0 64px; align-items: start; }
.side-stack { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 18px; }
.side-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.side-card h4 { margin: 0 0 12px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--emerald-2); }
.side-card ol, .side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li { margin-bottom: 0; }
.side-card a { display: block; padding: 9px 11px; border-radius: 9px; font-size: .87rem; color: var(--ink); }
.side-card a:hover { background: var(--panel-2); color: var(--ink-hi); }
.side-card .btn { margin-top: 8px; }

/* ============ ARTICLE ============ */
.article { min-width: 0; }
.article > p:first-child { font-size: 1.08rem; color: var(--ink-hi); }
.article h2 { font-size: 1.55rem; color: var(--ink-hi); margin: 46px 0 18px; font-weight: 800; scroll-margin-top: 96px; }
.article h2:first-of-type { margin-top: 8px; }
.article h3 { font-size: 1.14rem; color: var(--emerald-2); margin: 28px 0 12px; font-weight: 700; scroll-margin-top: 96px; }
.article p { margin: 0 0 16px; }
.article strong { color: var(--ink-hi); }

/* Icon-card grid: a distinct pattern from prior builds */
.icon-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 14px; margin: 24px 0; }
.icon-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px; display: flex; gap: 12px; align-items: flex-start;
}
.icon-card .dot {
  flex: none; width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--azure), var(--emerald));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-weight: 800; font-size: .9rem;
}
.icon-card b { display: block; color: var(--ink-hi); font-size: .95rem; margin-bottom: 3px; }
.icon-card span { font-size: .85rem; color: var(--ink-dim); }

.data-card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin: 24px 0; }
.data-card table { width: 100%; border-collapse: collapse; font-size: .89rem; }
.data-card caption { text-align: left; padding: 15px 18px 0; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--emerald-2); font-weight: 700; }
.data-card th, .data-card td { padding: 11px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.data-card thead th { color: var(--ink-hi); font-weight: 700; background: var(--panel-2); font-size: .82rem; }
.data-card tbody tr:last-child td { border-bottom: none; }
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.table-scroll .data-card { min-width: 480px; }

.pic-frame { margin: 28px 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-strong); }
.pic-frame img { width: 100%; }
.pic-frame figcaption { padding: 11px 16px; font-size: .8rem; color: var(--ink-dim); background: var(--panel); }

.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px,1fr)); gap: 12px; margin: 22px 0; }
.step-tile { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px; }
.step-tile .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, var(--azure), var(--emerald));
  color: #fff; font-weight: 800; font-size: .82rem; margin-bottom: 10px;
}
.step-tile p { margin: 0; font-size: .9rem; }

.promo-band {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(47,143,255,.1), rgba(39,194,129,.12));
  border: 1px solid var(--line-strong); border-radius: var(--radius); padding: 22px 26px; margin: 32px 0;
}
.promo-band p { margin: 0; font-weight: 700; color: var(--ink-hi); font-size: 1.02rem; }

/* ============ FAQ ============ */
.faq-list { margin: 22px 0 0; }
.faq-row { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 14px;
  padding: 19px 4px; background: none; border: none; text-align: left;
  font-size: 1rem; font-weight: 700; color: var(--ink-hi); cursor: pointer;
}
.faq-q .plus {
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center;
  font-size: .95rem; transition: transform .2s ease;
}
.faq-row[data-open="true"] .plus { transform: rotate(45deg); background: var(--emerald); border-color: var(--emerald); color: #06251a; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .25s ease; font-size: .93rem; color: var(--ink-dim); }
.faq-row[data-open="true"] .faq-a { max-height: 600px; padding-bottom: 19px; }

/* ============ CTA BANNER ============ */
.cta-banner {
  text-align: center; padding: 48px 30px; border-radius: 22px;
  background: linear-gradient(120deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-strong); margin: 54px 0 10px;
}
.cta-banner h2 { margin-top: 0; }
.cta-banner p { max-width: 520px; margin: 0 auto 24px; }

/* ============ FOOTER ============ */
.site-footer { border-top: 1px solid var(--line); background: var(--bg-soft); padding: 48px 0 28px; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; margin-bottom: 32px; }
.footer-brand img { height: 28px; margin-bottom: 14px; }
.footer-brand p { font-size: .87rem; color: var(--ink-dim); max-width: 320px; }
.footer-col h5 { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--emerald-2); margin: 0 0 12px; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col a { font-size: .9rem; color: var(--ink-dim); display: inline-block; padding: 4px 0; }
.footer-col a:hover { color: var(--ink-hi); }
.footer-bottom {
  border-top: 1px solid var(--line); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px;
}
.footer-legal { font-size: .78rem; color: var(--ink-dim); max-width: 640px; line-height: 1.5; }
.badge-18 {
  width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--emerald); color: var(--emerald);
  font-weight: 800; font-size: .82rem; display: flex; align-items: center; justify-content: center; flex: none;
}

.back-home { display: inline-flex; align-items: center; gap: 6px; font-size: .89rem; font-weight: 700; color: var(--azure-2); margin: 6px 0 20px; }
.back-home:hover { color: var(--azure); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .primary-nav { display: none; }
  .hamburger { display: flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .layout { grid-template-columns: 1fr; }
  .side-stack { position: static; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .icon-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { padding: 36px 0 34px; }
  .stats-strip { grid-template-columns: 1fr; }
  .header-cta .btn-ghost { display: none; }
  .article h2 { font-size: 1.3rem; }
  .promo-band { flex-direction: column; align-items: flex-start; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
