/* Padel Rank · web 2.0 (portada corta + Tutoriales).
   La marca es oscura siempre, igual que la app y el resto de la web. */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #050b04; --bg-2: #0a160a; --bg-3: #0f1f0f; --line: #1c2e1c;
  --text: #ffffff; --dim: #B0D080; --muted: #8FBB8F; --faint: #4A6045;
  --lime: #9DC554; --lime-glow: #b8e063; --gold: #FFD700; --gold-2: #FF8C00;
  --ink: #0E1F00;
  color-scheme: dark;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --bg: #050b04; } }
:root[data-theme="dark"] { --bg: #050b04; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
  background: var(--bg); color: var(--text);
  line-height: 1.5; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { max-width: 1120px; margin: 0 auto; padding: 0 16px; position: relative; z-index: 1; }
@media (min-width: 720px) { .container { padding: 0 32px; } }
.display { font-family: 'Space Grotesk', 'Inter', sans-serif; letter-spacing: -0.04em; }
.mono-cap { font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 2.5px; color: var(--lime); }
.grad {
  background: linear-gradient(120deg, var(--lime) 0%, var(--gold) 60%, var(--lime-glow) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  background-size: 200% 200%; animation: shimmer 8s ease infinite;
}
@keyframes shimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; border-radius: 6px; }

/* Fondo pista */
.bg-court { position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(157,197,84,0.12), transparent 60%),
    radial-gradient(ellipse 60% 40% at 85% 25%, rgba(255,215,0,0.05), transparent 70%); }
.bg-grid { position: absolute; inset: 0; opacity: 0.4;
  background-image: linear-gradient(rgba(157,197,84,0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(157,197,84,0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse at top, black 0%, transparent 70%);
  mask-image: radial-gradient(ellipse at top, black 0%, transparent 70%); }

/* NAV */
.nav { position: sticky; top: 0; z-index: 50; padding: 12px 0;
  background: rgba(5,11,4,0.78); backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(28,46,28,0.5); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; white-space: nowrap; flex-shrink: 0; }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 2px rgba(255,215,0,0.6), 0 0 20px 4px rgba(255,215,0,0.35); }
.nav-links { display: none; gap: 26px; font-size: 14px; font-weight: 600; color: var(--dim); margin-left: auto; margin-right: 8px; }
.nav-links a { transition: color .15s; white-space: nowrap; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--lime); }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-cta { padding: 8px 16px; background: var(--lime); color: var(--bg); border-radius: 999px; font-weight: 800; font-size: 14px; white-space: nowrap;
  transition: transform .15s, box-shadow .15s; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(157,197,84,0.45); }
.drop { position: relative; }
.drop > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; min-width: 36px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg-2);
  color: var(--dim); font-size: 13px; font-weight: 800; letter-spacing: .5px; }
.drop > summary::-webkit-details-marker { display: none; }
.drop > summary svg { width: 18px; height: 18px; }
.drop[open] > summary, .drop > summary:hover { border-color: rgba(157,197,84,0.6); color: var(--lime); }
.drop-panel { position: absolute; right: 0; top: calc(100% + 10px); width: 240px; max-width: calc(100vw - 32px);
  background: #0b170b; border: 1px solid rgba(157,197,84,0.3); border-radius: 18px; padding: 10px;
  box-shadow: 0 18px 50px rgba(0,0,0,0.6); display: grid; gap: 2px; }
.drop-panel a { display: block; padding: 10px 12px; border-radius: 10px; font-size: 15px; font-weight: 600; color: #fff; }
.drop-panel a:hover { background: rgba(157,197,84,0.1); color: var(--lime); }
.drop-panel a.active, .drop-panel a[aria-current="page"] { color: var(--lime); }
.drop-sep { height: 1px; background: var(--line); margin: 6px 4px; }
.drop-langs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.drop-langs a { text-align: center; padding: 8px 4px; font-size: 13px; font-weight: 800; letter-spacing: .5px; color: var(--muted); border: 1px solid var(--line); }
.drop-langs a.active { color: var(--lime); border-color: rgba(157,197,84,0.5); background: rgba(157,197,84,0.12); }
.lang-drop { display: none; }
.lang-drop .drop-panel { width: 200px; }
.menu-drop .drop-panel { width: 260px; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .lang-drop { display: block; }
  .menu-drop { display: none; }
}

/* STORE BADGES */
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: inline-flex; align-items: center; gap: 12px; padding: 13px 22px;
  background: #fff; color: var(--bg); border-radius: 16px; font-weight: 700; border: 1px solid transparent;
  box-shadow: 0 0 0 2px rgba(157,197,84,0.6), 0 0 30px rgba(157,197,84,0.25);
  transition: transform .2s, box-shadow .2s; }
.store:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 0 0 2px rgba(157,197,84,0.8), 0 12px 32px rgba(255,255,255,0.15); }
.store.secondary { background: var(--bg-3); color: #fff; border-color: var(--line); }
.store.secondary:hover { border-color: var(--lime); }
.store svg { width: 22px; height: 22px; flex-shrink: 0; }
.store-text { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; min-width: 0; }
.store-text small { font-size: 10px; opacity: .7; font-weight: 500; white-space: nowrap; }
.store-text strong { font-size: 15px; white-space: nowrap; }
@media (max-width: 400px) {
  .stores { gap: 10px; }
  .store { flex: 1 1 0; min-width: 0; padding: 12px 10px; gap: 8px; justify-content: center; }
  .store-text strong { font-size: 14px; }
}

/* HERO */
.hero { padding: 40px 0 24px; overflow-x: clip; }
section, footer, .nav { max-width: 100vw; }
.hero-grid { display: grid; gap: 36px; align-items: center; }
.hero-copy { text-align: center; }
.hero-logo { width: 76px; height: 76px; border-radius: 20px; margin: 0 auto 22px;
  box-shadow: 0 0 0 2px rgba(255,215,0,0.6), 0 0 40px 8px rgba(157,197,84,0.35); }
.new-tag-row { margin: 0 0 18px; }
.new-tag { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 11px; border-radius: 999px;
  font-size: 13px; font-weight: 800; letter-spacing: .2px; color: var(--lime); text-decoration: none;
  background: rgba(157,197,84,0.10); border: 1px solid rgba(157,197,84,0.45); transition: background .2s; }
.new-tag:hover { background: rgba(157,197,84,0.18); }
.new-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); }
.new-tag svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.6; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.hero h1 { font-size: clamp(40px, 11vw, 84px); font-weight: 700; line-height: 0.98; letter-spacing: -0.045em; margin-bottom: 18px; overflow-wrap: anywhere; }
.hero h1 span { display: block; }
.hero .sub { font-size: clamp(16px, 2vw, 20px); color: var(--dim); max-width: 520px; margin: 0 auto 28px; }
.hero .stores { justify-content: center; }
.trust { margin-top: 18px; font-size: 13px; color: var(--muted); }
.hero-phone { position: relative; max-width: 300px; margin: 0 auto; width: 100%; }
.hero-phone::before { content: ""; position: absolute; inset: 10% -6% 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(157,197,84,0.35), transparent 65%); filter: blur(10px); }
.shot { width: 100%; height: auto; aspect-ratio: 1120 / 1760; object-fit: cover; object-position: top;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%); mask-image: linear-gradient(180deg, #000 72%, transparent 100%); }
@media (min-width: 900px) {
  .hero { padding: 72px 0 32px; }
  .hero-grid { grid-template-columns: 1.15fr 0.85fr; gap: 48px; }
  .hero-copy { text-align: left; }
  .hero-logo { margin: 0 0 26px; }
  .hero .sub { margin-left: 0; }
  .hero .stores { justify-content: flex-start; }
  .hero-phone { max-width: 340px; }
}

/* SECCIONES */
section { position: relative; z-index: 1; }
.block { padding: 64px 0; }
.block-head { text-align: center; margin-bottom: 32px; }
.block-head h2 { font-size: clamp(30px, 6vw, 48px); font-weight: 700; line-height: 1.05; margin-top: 10px; }

/* PILARES */
.pillars { display: grid; gap: 18px; }
@media (min-width: 820px) { .pillars { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.pillar { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border: 1px solid var(--line); border-radius: 24px;
  padding: 24px 22px 0; overflow: hidden; display: flex; flex-direction: column; position: relative; }
.pillar::after { content: ""; position: absolute; inset: 0; border-radius: 24px; pointer-events: none;
  background: radial-gradient(ellipse 70% 40% at 50% 100%, rgba(157,197,84,0.14), transparent 70%); }
.pillar-top { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.pillar-num { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px; color: var(--ink); flex-shrink: 0;
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--lime-glow), #5DBB3A); box-shadow: 0 0 16px rgba(157,197,84,0.5); }
.pro-chip { margin-left: auto; font-size: 10px; font-weight: 900; letter-spacing: .6px; color: #1A0A00; flex-shrink: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); padding: 3px 9px; border-radius: 999px; }
.pillar h3 { font-family: 'Space Grotesk', sans-serif; font-size: 26px; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 8px; }
.pillar p { color: var(--dim); font-size: 15.5px; margin-bottom: 22px; }
.pillar .shot-wrap { margin: auto -6px 0; max-width: 280px; align-self: center; width: 100%; }
.pillar .shot { aspect-ratio: 1120 / 1300; }

/* CONFIANZA */
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; max-width: 640px; margin: 0 auto 28px; }
.metric { text-align: center; padding: 16px 6px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); min-width: 0; }
.metric .v { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(28px, 7vw, 40px); line-height: 1; color: var(--lime); }
.metric .l { font-size: 12.5px; color: var(--muted); margin-top: 6px; font-weight: 600; overflow-wrap: anywhere; }
.countries { text-align: center; color: var(--dim); font-size: 16px; margin: 0 auto 28px; max-width: 560px; }
.countries strong { color: #fff; }
.quote { max-width: 760px; margin: 0 auto; padding: 30px 24px; border-radius: 24px; position: relative;
  background: radial-gradient(ellipse at top left, rgba(157,197,84,0.14), transparent 60%), var(--bg-2);
  border: 1px solid rgba(157,197,84,0.3); }
.quote svg.q { width: 34px; height: 34px; color: var(--lime); margin-bottom: 12px; }
.quote blockquote { font-family: 'Space Grotesk', sans-serif; font-size: clamp(22px, 4.6vw, 32px); line-height: 1.15; letter-spacing: -0.03em; font-weight: 700; }
.quote .tr { color: var(--muted); font-size: 15px; margin-top: 10px; }
.quote .tr:empty { display: none; }
.quote .who { display: flex; align-items: center; gap: 12px; margin-top: 22px; }
.avatar { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0;
  color: var(--ink); background: linear-gradient(135deg, var(--lime-glow), #5DBB3A); }
.who strong { display: block; font-size: 15px; color: #fff; }
.who span span { font-size: 13px; color: var(--muted); }

/* PRO */
.pro { border-radius: 28px; border: 1px solid rgba(255,215,0,0.35); overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 0% 0%, rgba(255,215,0,0.12), transparent 60%), radial-gradient(ellipse 60% 60% at 100% 100%, rgba(157,197,84,0.14), transparent 60%), var(--bg-2);
  display: grid; gap: 8px; padding: 30px 22px 0; }
.trial-badge { display: inline-flex; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 900; color: #1A0A00;
  background: linear-gradient(135deg, var(--gold), var(--gold-2)); box-shadow: 0 0 22px rgba(255,215,0,0.4); }
.pro h2 { font-size: clamp(30px, 6vw, 46px); line-height: 1.05; margin: 16px 0 12px; }
.pro h2 .gold { background: linear-gradient(135deg, var(--gold), #FF8C42); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price { font-size: 16px; color: var(--dim); margin-bottom: 20px; }
.price strong { font-family: 'Space Grotesk', sans-serif; font-size: 30px; color: #fff; letter-spacing: -0.02em; }
.pro ul { list-style: none; display: grid; gap: 12px; margin-bottom: 18px; }
.pro li { display: flex; gap: 12px; align-items: flex-start; font-size: 15.5px; font-weight: 600; }
.pro li svg { width: 22px; height: 22px; flex-shrink: 0; padding: 4px; border-radius: 50%; background: rgba(157,197,84,0.18); color: var(--lime); }
.pro .fine { font-size: 15px; line-height: 1.5; color: rgba(255,255,255,.86); }
.pro .fine strong { color: #fff; }
.pro-shot { max-width: 280px; width: 100%; margin: 18px auto 0; }
.pro-shot .shot { aspect-ratio: 1120 / 1250; }
.demo-note { display: flex; gap: 10px; align-items: flex-start; margin: 18px 0 14px; padding: 12px 14px; border-radius: 14px;
  background: rgba(182,225,104,.08); border: 1px solid rgba(182,225,104,.35); color: #dfe9cf; font-size: 15px; line-height: 1.45; }
.demo-note svg { flex: none; margin-top: 2px; color: #B6E168; }
.demo-note strong { color: #fff; }
@media (min-width: 820px) {
  .pro { grid-template-columns: 1.1fr 0.9fr; padding: 48px 48px 0; gap: 40px; align-items: end; }
  .pro-copy { padding-bottom: 48px; }
  .pro-shot { margin-top: 0; max-width: 320px; }
}

/* CTA FINAL */
.cta { text-align: center; padding: 88px 0; margin-top: 40px; border-top: 1px solid var(--line);
  background: radial-gradient(ellipse at center, rgba(157,197,84,0.18), transparent 60%); }
.cta h2 { font-size: clamp(36px, 8vw, 64px); line-height: 1.02; margin-bottom: 14px; }
.cta p { color: var(--dim); font-size: 17px; margin-bottom: 30px; }
.cta .stores { justify-content: center; }

/* FOOTER */
footer { border-top: 1px solid var(--line); padding: 28px 0 36px; position: relative; z-index: 1; }
.foot { display: flex; flex-wrap: wrap; gap: 14px 24px; align-items: center; justify-content: space-between; }
.foot-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 14px; color: var(--muted); font-weight: 600; }
.foot-links a:hover { color: var(--lime); }
.foot-links .all { color: var(--lime); }
.foot-side { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.social { display: flex; gap: 14px; color: var(--muted); }
.social a:hover { color: var(--lime); }
.social svg { width: 20px; height: 20px; display: block; }
.copy { font-size: 13px; color: var(--muted); }

/* TUTORIALES */
.tut-hero { padding: 48px 0 8px; text-align: center; }
.tut-hero h1 { font-size: clamp(38px, 9vw, 68px); line-height: 1; letter-spacing: -0.045em; margin: 12px 0 14px; }
.tut-hero p { color: var(--dim); font-size: clamp(16px, 2vw, 19px); max-width: 560px; margin: 0 auto; }
.tut-grid { display: grid; gap: 18px; padding: 36px 0 12px; }
@media (min-width: 640px) { .tut-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tut-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; } }
.tut { background: linear-gradient(180deg, var(--bg-2), var(--bg)); border: 1px solid var(--line); border-radius: 22px; overflow: hidden;
  display: flex; flex-direction: column; min-width: 0; }
.tut-media { position: relative; aspect-ratio: 16 / 9; background: #000; }
.tut-media img { width: 100%; height: 100%; object-fit: cover; }
.tut-media iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tut-play { position: absolute; inset: 0; cursor: pointer; border: 0; padding: 0; background: transparent; }
.tut-play:hover, .tut-play:focus-visible { outline: 2px solid var(--lime-glow); outline-offset: -2px; }
.tut-media img { transition: filter .2s; }
.tut-media:hover img { filter: brightness(1.12); }
.tut-meta { display: flex; align-items: center; gap: 10px; }
.tut-dur { font-size: 12px; font-weight: 800; padding: 3px 9px; border-radius: 999px; color: #fff; border: 1px solid rgba(157,197,84,0.4); background: rgba(157,197,84,0.08); }
.tut-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; margin-top: 4px; }
.tut-watch { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; border: 0; border-radius: 999px; padding: 9px 16px;
  font: inherit; font-size: 14px; font-weight: 800; color: #0E1F00; background: linear-gradient(135deg, var(--lime-glow), #5DBB3A);
  box-shadow: 0 0 18px rgba(157,197,84,0.35); }
.tut-watch:disabled { opacity: .55; cursor: default; }
.tut-watch svg { width: 16px; height: 16px; }
.tut-num { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 13px; color: var(--ink);
  background: linear-gradient(135deg, var(--lime-glow), #5DBB3A); }
.tut-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tut-body h2 { font-family: 'Space Grotesk', sans-serif; font-size: 21px; line-height: 1.15; letter-spacing: -0.02em; }
.tut-body p { color: var(--dim); font-size: 15px; flex: 1; }
.tut-yt { font-size: 13.5px; font-weight: 700; color: var(--lime); }
.tut-yt:hover { text-decoration: underline; }
.tut-note { text-align: center; color: var(--muted); font-size: 13px; padding: 8px 0 0; }
.channel { margin: 40px auto 0; max-width: 760px; text-align: center; padding: 30px 22px; border-radius: 24px;
  background: radial-gradient(ellipse at top, rgba(255,0,0,0.08), transparent 60%), var(--bg-2); border: 1px solid var(--line); }
.channel h2 { font-size: clamp(24px, 5vw, 32px); margin-bottom: 16px; }
.channel a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-weight: 800;
  background: #fff; color: var(--bg); }
.channel a svg { width: 22px; height: 22px; color: #FF0000; }

@media (prefers-reduced-motion: reduce) { .grad { animation: none; } .store, .nav-cta, .tut-play span { transition: none; } }
