/* Kickniela landing: CSS sin dependencias (sin Tailwind ni jQuery) */
@font-face {
  font-family: "Teko";
  src: url("/fonts/teko-600.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --bg: #0b1120;
  --bg-2: #111a2e;
  --card: #16213a;
  --line: #24304b;
  --text: #f1f5f9;
  --muted: #a3b1c6;
  --red: #e5243b;
  --red-2: #ff4d63;
  --green: #22c55e;
  --radius: 16px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-2); }
a:hover { color: #fff; }

h1, h2, h3, .display {
  font-family: "Teko", "Arial Narrow", Impact, sans-serif;
  font-weight: 600;
  line-height: 1;
  letter-spacing: .01em;
  margin: 0 0 .4em;
  text-wrap: balance;
}
h1 { font-size: clamp(48px, 8vw, 84px); text-transform: uppercase; }
h2 { font-size: clamp(38px, 5.5vw, 56px); text-transform: uppercase; }
h3 { font-size: 30px; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.section { padding: 72px 0; }
.section-alt { background: var(--bg-2); border-block: 1px solid var(--line); }
.eyebrow {
  display: inline-block;
  color: var(--green);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.lead { color: var(--muted); font-size: 19px; max-width: 640px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: #000; padding: 8px 12px; z-index: 99; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(11, 17, 32, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand img { width: 92px; height: auto; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; }
@media (max-width: 760px) {
  .nav { display: none; }
  .site-header .btn { margin-left: auto; }
}

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border: 0;
  white-space: nowrap;
}
.btn:hover { background: var(--red-2); color: #fff; }
.btn-sm { padding: 8px 14px; font-size: 15px; }
.btn-ghost { background: transparent; border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--card); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 12px; }
.store {
  display: inline-flex; align-items: center; gap: 10px;
  background: #000; color: #fff;
  border: 1px solid #3b4660;
  border-radius: 12px;
  padding: 9px 18px 9px 14px;
  text-decoration: none;
  line-height: 1.1;
}
.store:hover { border-color: #fff; color: #fff; }
.store svg { width: 26px; height: 26px; flex: none; }
.store small { display: block; font-size: 11px; opacity: .8; }
.store strong { font-size: 18px; }
.free-note { color: var(--muted); font-size: 14px; }
.free-note b { color: var(--green); }

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 80px;
  background:
    radial-gradient(800px 420px at 85% 10%, rgba(229, 36, 59, .22), transparent 60%),
    radial-gradient(700px 400px at 0% 100%, rgba(34, 197, 94, .12), transparent 60%);
}
.hero .wrap { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.hero h1 span { color: var(--red-2); }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero { padding-top: 40px; }
}

.phone {
  width: min(320px, 80vw);
  margin: 0 auto;
  aspect-ratio: 9 / 19;
  border-radius: 44px;
  padding: 12px;
  background: linear-gradient(160deg, #2b3550, #0d1424);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .55), inset 0 0 0 2px #3a4562;
  transform: rotate(3deg);
}
.phone-screen {
  height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #000;
}
.phone-screen img { width: 100%; height: 100%; object-fit: cover; }

/* Pasos y tarjetas */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 36px; }
@media (max-width: 860px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.card p:last-child { margin-bottom: 0; }
.card .num {
  font-family: "Teko", sans-serif;
  font-size: 44px;
  line-height: 1;
  color: var(--red-2);
}
.card h3 { margin-top: 6px; }
.card p { color: var(--muted); }

.leagues { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px; padding: 0; list-style: none; }
.leagues li {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 10px 20px;
  font-weight: 700;
}

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split img { border-radius: var(--radius); box-shadow: 0 20px 50px rgba(0, 0, 0, .45); }
.checks { list-style: none; padding: 0; margin: 0; }
.checks li { padding-left: 32px; position: relative; margin-bottom: 14px; color: var(--muted); }
.checks li b { color: var(--text); }
.checks li::before {
  content: "✓";
  position: absolute; left: 0; top: 1px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(34, 197, 94, .15);
  color: var(--green);
  font-size: 13px; font-weight: 800;
  display: grid; place-items: center;
}

/* Instagram */
.ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 32px; }
@media (max-width: 700px) { .ig-grid { grid-template-columns: repeat(2, 1fr); } }
.ig-grid a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 12px;
  background: var(--card);
}
.ig-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.ig-grid a:hover img { transform: scale(1.04); }
.ig-follow { margin-top: 24px; }

/* Blog */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; }
@media (max-width: 900px) { .posts { grid-template-columns: 1fr; } }
.post-card {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--text);
}
.post-card:hover { border-color: var(--red); color: var(--text); }
.post-card .tag { color: var(--green); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.post-card h3 { font-size: 28px; margin: 8px 0; }
.post-card p { color: var(--muted); font-size: 16px; }
.post-card .more { margin-top: auto; color: var(--red-2); font-weight: 700; }

/* FAQ */
.faq { max-width: 780px; margin: 32px auto 0; }
.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 12px;
}
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { color: var(--muted); margin: 12px 0 0; }

/* CTA final */
.cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(229, 36, 59, .25), rgba(17, 26, 46, .4));
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 48px 20px;
}
.cta .stores { justify-content: center; }

/* Artículo */
.article { max-width: 760px; margin: 0 auto; padding: 48px 16px 72px; }
.article h1 { font-size: clamp(42px, 7vw, 68px); text-transform: none; }
.article h2 { font-size: 38px; text-transform: none; margin-top: 1.4em; }
.article h3 { font-size: 28px; margin-top: 1.2em; }
.article p, .article li { color: #d6dee9; }
.article li { margin-bottom: 8px; }
.article table { width: 100%; border-collapse: collapse; margin: 0 0 1.2em; font-size: 16px; }
.article th, .article td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }
.article th { background: var(--card); }
.article .table-wrap { overflow-x: auto; }
.meta { color: var(--muted); font-size: 15px; margin-bottom: 28px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 18px; }
.crumbs a { color: var(--muted); }
.callout {
  background: var(--card);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  padding: 16px 20px;
  margin: 24px 0;
}
.callout p:last-child { margin: 0; }
.article .cta { margin-top: 48px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 48px 0 32px; color: var(--muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h3 { font-family: inherit; font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--text); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: #fff; }
.legal { margin-top: 32px; font-size: 13px; }

/* Empresas */
.cta.biz { background: linear-gradient(135deg, rgba(34, 197, 94, .18), rgba(17, 26, 46, .4)); }
.cta.biz .btn { margin: 6px; }
html, body { overflow-x: clip; }
@media (max-width: 600px) { .phone { width: 230px; border-radius: 34px; } .phone-screen { border-radius: 26px; } }

/* Hero con foto de estadio */
.hero-photo {
  background:
    linear-gradient(90deg, rgba(11, 17, 32, .96) 0%, rgba(11, 17, 32, .85) 45%, rgba(11, 17, 32, .55) 100%),
    linear-gradient(0deg, var(--bg) 0%, rgba(11, 17, 32, 0) 30%),
    url("/img/estadio.webp") center / cover no-repeat;
  padding: 88px 0 104px;
}
@media (max-width: 900px) {
  .hero-photo {
    background:
      linear-gradient(180deg, rgba(11, 17, 32, .9) 0%, rgba(11, 17, 32, .8) 60%, var(--bg) 100%),
      url("/img/estadio-800.webp") center / cover no-repeat;
  }
}
.hero-card { margin: 0; }
.hero-card img {
  border-radius: 16px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  border: 1px solid rgba(255, 255, 255, .08);
}
.hero-card figcaption { color: var(--muted); font-size: 14px; margin-top: 12px; text-align: center; }
.site-header .btn-ghost { color: var(--text); }
@media (max-width: 760px) { .hide-sm { display: none; } }
.vs-table table { width: 100%; border-collapse: collapse; font-size: 16px; }
.vs-table th, .vs-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.vs-table th { color: var(--muted); font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.vs-table th:nth-child(2), .vs-table td:nth-child(2) { color: var(--text); font-weight: 700; }
.vs-table td:nth-child(3) { color: var(--muted); }
.vs-table .yes { color: var(--green) !important; }
.vs-table tr:last-child td { border-bottom: 0; }

/* Reglas */
.rules .lead { margin-bottom: 8px; }
.rules .pts {
  display: inline-block;
  font-family: "Teko", sans-serif;
  font-size: 34px;
  line-height: 1;
  color: var(--green);
  background: rgba(34, 197, 94, .12);
  border-radius: 10px;
  padding: 6px 14px 2px;
}
.rules .pts.zero { color: var(--muted); background: var(--card); }
.rules .note {
  background: rgba(250, 204, 21, .08);
  border: 1px solid rgba(250, 204, 21, .3);
  color: #fde68a;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
}
.rules .grid-2 { margin-top: 16px; }
