/* ─── TOKENS ─────────────────────────────────────────────── */
:root {
  --ink:   #07110E;
  --ink2:  #0a1a14;
  --leaf:  #0A4237;
  --leaf2: #1B5E50;
  --gold:  #C5A861;
  --gold2: #A3843C;
  --dim:   #7A9088;
  --line:  rgba(255,255,255,.07);
  --lineg: rgba(197,168,97,.18);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  overflow-x: hidden;
}
img  { display: block; max-width: 100%; }
a    { color: inherit; text-decoration: none; }

/* SVG noise overlay */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 1000; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  opacity: .028;
}

/* ─── LAYOUT ─────────────────────────────────────────────── */
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 52px; }

/* ─── UTILITIES ──────────────────────────────────────────── */
.label {
  font-size: 10px; font-weight: 700; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold);
  display: flex; align-items: center; gap: 10px;
}
.label::before {
  content: ''; display: block; width: 28px; height: 1px; background: var(--gold);
}
/* Contorno: text-stroke como respaldo hueco; filtro SVG solo si html.svg-filters */
.stroke-gold {
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 2px var(--gold);
  filter: none;
}
html.svg-filters .stroke-gold {
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  -webkit-text-stroke: 0;
  filter: url(#outline-gold);
}

/* ─── REVEAL ─────────────────────────────────────────────── */
.rv  { opacity:0; transform:translateY(40px);  transition:.7s ease; }
.rvl { opacity:0; transform:translateX(-48px); transition:.7s ease; }
.rvr { opacity:0; transform:translateX(48px);  transition:.7s ease; }
.rv.on, .rvl.on, .rvr.on { opacity:1; transform:none; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn-flip {
  position: relative; display: inline-flex; overflow: hidden; cursor: pointer;
  padding: 16px 36px; background: var(--gold); color: var(--ink);
  border: none; outline: none; font-family: 'Inter', sans-serif;
  font-weight: 800; font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  transition: background .3s; white-space: nowrap;
}
.btn-flip:hover { background: #d4b877; }
.btn-flip .f, .btn-flip .b {
  display: block; transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.btn-flip .b {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  transform: translateY(110%);
}
.btn-flip:hover .f { transform: translateY(-110%); }
.btn-flip:hover .b { transform: translateY(0); }

.btn-ghost {
  position: relative; display: inline-flex; align-items: center; gap: 10px;
  padding: 15px 34px; overflow: hidden; color: #fff;
  border: 1px solid rgba(255,255,255,.2); background: transparent; cursor: pointer;
  font-family: 'Inter', sans-serif; font-weight: 700;
  font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
  transition: border-color .3s, color .3s; white-space: nowrap;
}
.btn-ghost::before {
  content: ''; position: absolute; inset: 0; background: rgba(255,255,255,.07);
  transform: translateX(-102%); transition: transform .45s cubic-bezier(.16,1,.3,1);
}
.btn-ghost:hover { border-color: rgba(255,255,255,.5); }
.btn-ghost:hover::before { transform: translateX(0); }
.btn-ghost span { position: relative; z-index: 1; }

/* ─── NAV ────────────────────────────────────────────────── */
#nav {
  position: fixed; inset: 0 0 auto 0; z-index: 500; height: 68px;
  display: flex; align-items: center; justify-content: space-between; padding: 0 52px;
  /* Solid fallback keeps hero copy from bleeding through in browsers that do not
     support backdrop-filter (or disable it for performance/accessibility). */
  background: #07110E;
  background: rgba(7,17,14,.96); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(197,168,97,.12);
  transition: background .4s, border-color .4s;
  isolation: isolate;
}
#nav.stuck {
  background: rgba(7,17,14,.96); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom-color: var(--lineg);
}
/* Inner pages: always dark nav */
body.inner-page #nav {
  background: rgba(7,17,14,.97); backdrop-filter: blur(20px);
  border-bottom-color: var(--lineg); position: relative;
}
.nav-logo { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 36px; width: 36px; object-fit: contain; }
.nav-logo-name {
  font-family: 'Bebas Neue', sans-serif; font-size: 19px; letter-spacing: 4px; color: #fff;
}
.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.5); position: relative; transition: color .2s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -3px; right: 100%;
  height: 1px; background: var(--gold); transition: right .3s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-end { display: flex; align-items: center; gap: 20px; }
.nav-socials { display: flex; align-items: center; gap: 16px; }
.nav-ig {
  display: flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); transition: opacity .2s;
}
.nav-ig:hover { opacity: .7; }
.nav-yt, .nav-tt, .nav-fb {
  display: flex; align-items: center; justify-content: center;
  color: var(--gold); transition: opacity .2s;
}
.nav-yt:hover, .nav-tt:hover, .nav-fb:hover { opacity: .7; }
#hbg {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  margin: 0;
  background: transparent;
  border: 0;
  color: inherit;
  line-height: 0;
}
#hbg span {
  display: block; width: 24px; height: 1.5px; background: #fff;
  transition: transform .3s, opacity .3s;
  transform-origin: center;
}
#hbg[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#hbg[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
#hbg[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ─── PAGE HERO (inner pages) ────────────────────────────── */
.page-hero {
  position: relative; min-height: 520px;
  display: flex; align-items: flex-end; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 35%;
  filter: brightness(.18);
}
.page-hero-ov {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(5,42,34,.97) 0%, rgba(7,17,14,.80) 100%);
}
.page-hero--team .page-hero-bg {
  background-position: center 18%;
  filter: brightness(.82) saturate(.92);
  transform: scale(1.02);
}
.page-hero--team .page-hero-ov {
  background:
    linear-gradient(90deg, rgba(7,17,14,.94) 0%, rgba(7,17,14,.78) 32%, rgba(7,17,14,.25) 68%, rgba(7,17,14,.12) 100%),
    linear-gradient(0deg, rgba(7,17,14,.72) 0%, transparent 46%);
}
.page-hero--league .page-hero-bg {
  background-position: center 50%;
  filter: brightness(.78) saturate(.92);
  transform: scale(1.02);
}
.page-hero--league .page-hero-ov {
  background:
    linear-gradient(90deg, rgba(7,17,14,.95) 0%, rgba(7,17,14,.76) 31%, rgba(7,17,14,.24) 66%, rgba(7,17,14,.10) 100%),
    linear-gradient(0deg, rgba(7,17,14,.74) 0%, transparent 48%);
}
.page-hero-body {
  position: relative; z-index: 2; padding: 0 52px 56px;
}
.page-hero-h {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(64px, 8vw, 112px);
  letter-spacing: 3px; line-height: .88; margin-top: 14px;
}
.page-hero-h .stroke-gold { display: block; }
.page-hero-sub {
  font-size: 13px; color: rgba(255,255,255,.4); max-width: 480px;
  line-height: 1.8; margin-top: 16px; font-weight: 400;
}

/* ─── TAPE MARQUEE ───────────────────────────────────────── */
.tape { background: var(--gold); overflow: hidden; padding: 12px 0; position: relative; z-index: 3; }
.tape-track {
  display: flex; gap: 0; animation: tape 18s linear infinite; width: max-content;
}
.tape-track:hover { animation-play-state: paused; }
@keyframes tape { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.tape-item {
  display: flex; align-items: center; gap: 0;
  font-family: 'Bebas Neue', sans-serif; font-size: 17px; letter-spacing: 4px;
  color: var(--ink); text-transform: uppercase; white-space: nowrap; padding: 0 28px;
}
.tape-sep {
  width: 6px; height: 6px; border-radius: 50%; background: rgba(7,17,14,.3); margin: 0 4px; flex-shrink: 0;
}
.tape-dark {
  background: var(--ink2); overflow: hidden; padding: 14px 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.tape-dark .tape-track { animation-direction: reverse; animation-duration: 22s; }
.tape-dark .tape-item { color: rgba(255,255,255,.12); font-size: 20px; }
.tape-dark .tape-sep { background: rgba(255,255,255,.08); }

/* ─── STATS ──────────────────────────────────────────────── */
#stats { background: var(--ink2); border-bottom: 1px solid var(--line); }
.stats-row { display: grid; grid-template-columns: repeat(5, 1fr); }
.stat {
  padding: 48px 24px; text-align: center;
  border-right: 1px solid var(--line); position: relative; overflow: hidden;
}
.stat:last-child { border-right: none; }
.stat-n {
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(44px, 5vw, 68px);
  line-height: 1; letter-spacing: 1px;
  background: linear-gradient(150deg, var(--gold) 0%, #e8cf94 50%, var(--gold2) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-l { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--dim); margin-top: 6px; }
.stat-bg-n {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  font-family: 'Bebas Neue', sans-serif; font-size: 120px; line-height: 1;
  -webkit-text-stroke: 1px rgba(197,168,97,.05); color: transparent;
  pointer-events: none; user-select: none; white-space: nowrap;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
#about { padding: 120px 0; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.about-img-col { position: relative; overflow: hidden; }
.about-img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; display: block; transition: transform .6s ease; }
.about-img-col:hover .about-img { transform: scale(1.03); }
.about-img-caption {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 24px 32px;
  background: linear-gradient(to top, rgba(7,17,14,.9) 0%, transparent 100%);
  display: flex; align-items: flex-end; justify-content: space-between;
}
.about-img-caption-title { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 2px; color: #fff; line-height: 1; }
.about-img-caption-sub { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.about-text-col {
  padding: 52px 56px 52px 64px; background: var(--ink2);
  display: flex; flex-direction: column; justify-content: center;
  border-left: 1px solid var(--line);
}
.about-h { font-family: 'Bebas Neue', sans-serif; font-size: clamp(42px, 4.5vw, 68px); line-height: .9; letter-spacing: 2px; margin-bottom: 28px; }
.about-p { font-size: 14px; color: rgba(255,255,255,.55); line-height: 1.85; margin-bottom: 16px; max-width: 440px; }
.about-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.pill {
  padding: 7px 16px; border: 1px solid var(--lineg);
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold);
  transition: background .2s;
}
.pill:hover { background: rgba(197,168,97,.08); }
.about-quote {
  margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line);
  font-family: 'Bebas Neue', sans-serif; font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing: 1.5px; line-height: 1.2; color: rgba(255,255,255,.7);
}
.about-quote em { font-style: normal; color: var(--gold); }

/* ─── COMPETITIONS ───────────────────────────────────────── */
#competitions { background: var(--ink2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.comp-inner { padding: 100px 52px; max-width: 1240px; margin: 0 auto; }
.comp-head { margin-bottom: 64px; }
.comp-h { font-family: 'Bebas Neue', sans-serif; font-size: clamp(44px, 5.5vw, 80px); letter-spacing: 2px; line-height: .9; margin-top: 14px; }
.comp-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); }
.cc {
  padding: 52px 40px; border-right: 1px solid var(--line);
  position: relative; overflow: hidden; transition: background .35s;
}
.cc:last-child { border-right: none; }
.cc:hover { background: rgba(27,94,80,.2); }
.cc::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 0; height: 3px; background: var(--gold); transition: width .4s;
}
.cc:hover::after { width: 100%; }
.cc-logo { width: 100px; height: 100px; object-fit: contain; margin-bottom: 28px; transition: transform .4s, filter .4s; }
.cc:hover .cc-logo { transform: scale(1.08) translateY(-4px); filter: drop-shadow(0 12px 32px rgba(197,168,97,.3)); }
.cc-name { font-family: 'Bebas Neue', sans-serif; font-size: 38px; letter-spacing: 3px; margin-bottom: 12px; }
.cc-desc { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.75; margin-bottom: 20px; }
.cc-badge { display: inline-block; padding: 5px 12px; border: 1px solid var(--lineg); font-size: 8px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }

/* ─── CAMPEÓN / DESTACADOS ───────────────────────────────── */
#campeon,
#copa-trincher { position: relative; overflow: hidden; border-top: 1px solid var(--line); }
.camp-bg {
  position: absolute; inset: 0;
  background: url('../images/kanto/news/exodia-campeon-premier-kantoleague.webp') center 25% / cover;
  filter: brightness(.12) saturate(.3);
}
.camp-ov {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5,42,34,.98) 45%, rgba(7,17,14,.82) 100%);
}
.camp-inner {
  position: relative; z-index: 2; max-width: 1240px; margin: 0 auto;
  padding: 110px 52px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.camp-h { font-family: 'Bebas Neue', sans-serif; font-size: clamp(52px, 7vw, 100px); letter-spacing: 3px; line-height: .88; margin-top: 16px; margin-bottom: 24px; }
.camp-h .stroke-gold { display: block; }
.camp-p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.85; margin-bottom: 36px; }
.camp-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.camp-sn { font-family: 'Bebas Neue', sans-serif; font-size: 52px; letter-spacing: 1px; line-height: 1; color: var(--gold); }
.camp-sl { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.3); margin-top: 4px; }
.camp-img { position: relative; }
.camp-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.camp-badge {
  position: absolute; top: -18px; right: -18px; width: 84px; height: 84px; border-radius: 50%;
  background: var(--gold); display: flex; flex-direction: column; align-items: center; justify-content: center;
  color: var(--ink); font-family: 'Bebas Neue', sans-serif; text-align: center;
  box-shadow: 0 8px 32px rgba(197,168,97,.5);
}
.camp-badge span:first-child { font-size: 8px; letter-spacing: 1px; font-weight: 800; }
.camp-badge span:last-child { font-size: 28px; line-height: 1; }

/* ─── CLASIFICACIÓN ──────────────────────────────────────── */
#clasificacion { padding: 100px 0; }
.clas-wrap { display: grid; grid-template-columns: 5fr 6fr; gap: 80px; align-items: start; }
.clas-left-h { font-family: 'Bebas Neue', sans-serif; font-size: clamp(44px, 5vw, 72px); letter-spacing: 2px; line-height: .9; margin-top: 16px; margin-bottom: 20px; }
.clas-left-p { font-size: 14px; color: rgba(255,255,255,.45); line-height: 1.8; margin-bottom: 28px; }
.clas-tabs { display: flex; gap: 0; border: 1px solid var(--line); width: fit-content; }
.clas-tab {
  padding: 10px 24px; cursor: pointer;
  font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--dim); border-right: 1px solid var(--line);
  transition: background .2s, color .2s;
}
.clas-tab:last-child { border-right: none; }
.clas-tab.on, .clas-tab:hover { background: rgba(197,168,97,.08); color: var(--gold); }
.clas-table { border: 1px solid var(--line); }
.clas-thead {
  display: grid; grid-template-columns: 36px 1fr 40px 40px 40px 48px;
  padding: 10px 16px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.02);
}
.clas-th { font-size: 8px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); text-align: center; }
.clas-th:nth-child(2) { text-align: left; }
.clas-tr {
  display: grid; grid-template-columns: 36px 1fr 40px 40px 40px 48px;
  padding: 14px 16px; border-bottom: 1px solid var(--line);
  align-items: center; transition: background .2s;
}
.clas-tr:last-child { border-bottom: none; }
.clas-tr:hover { background: rgba(197,168,97,.04); }
.clas-tr.gold-row { border-left: 2px solid var(--gold); }
.clas-pos { font-family: 'Bebas Neue', sans-serif; font-size: 16px; color: var(--dim); text-align: center; }
.clas-tr.gold-row .clas-pos { color: var(--gold); }
.clas-team { display: flex; align-items: center; gap: 10px; min-width: 0; }
.clas-logo { width: 26px; height: 26px; object-fit: contain; flex-shrink: 0; }
.clas-name { font-size: 12px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.clas-td { font-family: 'Bebas Neue', sans-serif; font-size: 15px; text-align: center; color: rgba(255,255,255,.6); }
.clas-td.pts { font-size: 18px; color: #fff; }
.clas-note { padding: 14px 16px; text-align: center; font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); border-top: 1px solid var(--line); background: var(--ink2); }
.clas-note span { color: var(--gold); }
.clas-empty { display: flex; align-items: center; justify-content: center; min-height: 360px; }
.clas-empty-inner { max-width: 320px; text-align: center; padding: 40px 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.clas-empty-inner svg { color: var(--gold); opacity: .6; }
.clas-empty-label { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.clas-empty-p { font-size: 13px; color: rgba(255,255,255,.45); line-height: 1.7; }

/* ─── TEAMS ──────────────────────────────────────────────── */
#teams { padding: 80px 0; overflow: hidden; }
.teams-head { padding: 0 52px; margin-bottom: 52px; display: flex; align-items: flex-end; justify-content: space-between; }
.teams-h { font-family: 'Bebas Neue', sans-serif; font-size: clamp(44px, 5vw, 72px); letter-spacing: 2px; line-height: .9; }
.teams-count {
  font-family: 'Bebas Neue', sans-serif; font-size: 80px; letter-spacing: -2px; line-height: 1;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px rgba(197,168,97,.4);
  filter: none;
}
html.svg-filters .teams-count {
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  -webkit-text-stroke: 0;
  filter: url(#outline-gold-soft);
}
.mq { overflow: hidden; padding: 8px 0; }
.mq-track {
  display: flex; gap: 12px; animation: scroll 28s linear infinite; width: max-content;
}
.mq-track:hover { animation-play-state: paused; }
@keyframes scroll { to { transform: translateX(-50%); } }
.tc {
  flex-shrink: 0; width: 164px; background: var(--ink2); border: 1px solid var(--line);
  padding: 24px 14px; text-align: center; transition: border-color .3s, transform .3s, background .3s;
}
.tc:hover { border-color: var(--lineg); background: rgba(197,168,97,.05); transform: translateY(-6px); }
.tc img { width: 72px; height: 72px; object-fit: contain; margin: 0 auto 14px; transition: transform .3s; }
.tc:hover img { transform: scale(1.1); }
.tc-name { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--dim); line-height: 1.4; }

/* ─── GALLERY ────────────────────────────────────────────── */
#gallery { overflow: hidden; }
.gallery-head { padding: 80px 52px 52px; max-width: 1240px; margin: 0 auto; display: flex; align-items: flex-end; justify-content: space-between; }
.gallery-h { font-family: 'Bebas Neue', sans-serif; font-size: clamp(44px, 5vw, 72px); letter-spacing: 2px; line-height: .9; }
.gal { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 300px 300px; gap: 2px; }
.gi { overflow: hidden; position: relative; cursor: pointer; }
.gi:first-child { grid-row: span 2; }
.gi img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.16,1,.3,1); }
.gi:hover img { transform: scale(1.07); }
.gi::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(7,17,14,.75), transparent 50%); opacity: 0; transition: opacity .35s; }
.gi:hover::after { opacity: 1; }
.gi-label { position: absolute; bottom: 16px; left: 16px; z-index: 2; font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: rgba(255,255,255,.85); opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; pointer-events: none; }
.gi:hover .gi-label { opacity: 1; transform: none; }

/* ─── FEATURES ───────────────────────────────────────────── */
#features { background: var(--ink2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feat-inner { padding: 100px 52px; max-width: 1240px; margin: 0 auto; }
.feat-head { display: flex; align-items: flex-end; gap: 40px; margin-bottom: 72px; }
.feat-head-left { flex: 1; }
.feat-h { font-family: 'Bebas Neue', sans-serif; font-size: clamp(44px, 5.5vw, 80px); letter-spacing: 2px; line-height: .9; margin-top: 16px; }
.feat-pronto { padding: 6px 14px; border: 1px solid var(--lineg); display: inline-block; margin-top: 16px; font-size: 9px; font-weight: 800; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.feat-head-right { max-width: 280px; font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.75; }
.feat-list { display: flex; flex-direction: column; }
.feat-row { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 0; border-top: 1px solid var(--line); padding: 32px 0; align-items: start; transition: background .2s; }
.feat-row:last-child { border-bottom: 1px solid var(--line); }
.feat-row:hover { background: rgba(255,255,255,.02); }
.feat-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 48px; letter-spacing: -1px; line-height: 1; padding-top: 4px;
  color: transparent;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1.5px rgba(197,168,97,.4);
  filter: none;
  transition: -webkit-text-stroke-color .2s, filter .2s, color .2s;
}
html.svg-filters .feat-num {
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
  -webkit-text-stroke: 0;
  filter: url(#outline-gold-soft);
}
.feat-row:hover .feat-num {
  -webkit-text-stroke-color: var(--gold);
}
html.svg-filters .feat-row:hover .feat-num {
  filter: url(#outline-gold);
}
.feat-name { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 1.5px; line-height: 1; padding-right: 40px; align-self: center; transition: color .2s; }
.feat-row:hover .feat-name { color: var(--gold); }
.feat-desc { font-size: 13px; color: rgba(255,255,255,.4); line-height: 1.75; align-self: center; }

/* ─── COURTS ─────────────────────────────────────────────── */
#courts { background: var(--ink2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.courts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.courts-text { padding: 80px 64px 80px 52px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid var(--line); }
.courts-h { font-family: 'Bebas Neue', sans-serif; font-size: clamp(42px, 4.5vw, 64px); letter-spacing: 2px; line-height: .9; margin-top: 14px; margin-bottom: 24px; }
.courts-p { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.8; margin-bottom: 14px; }
.courts-pronto { display: inline-flex; align-items: center; gap: 10px; margin-top: 32px; padding: 12px 22px; border: 1px solid var(--lineg); font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.courts-img-col { position: relative; overflow: hidden; min-height: 520px; }
.courts-img-col img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.courts-img-col:hover img { transform: scale(1.03); }

/* ─── PRÓXIMAMENTE ───────────────────────────────────────── */
#proximamente { position: relative; overflow: hidden; }
.prox-bg-img { position: absolute; inset: 0; background: url('../images/kanto/courts/banner.jpg') center / cover; filter: brightness(.07); }
.prox-ov { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(5,42,34,.99) 40%, rgba(7,17,14,.9) 100%); }
.prox-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; padding: 120px 52px; max-width: 1240px; margin: 0 auto; }
.prox-h { font-family: 'Bebas Neue', sans-serif; font-size: clamp(60px, 8vw, 112px); letter-spacing: 4px; line-height: .85; margin-top: 18px; margin-bottom: 24px; }
.prox-h .stroke-gold { display: block; }
.prox-sub { font-size: 14px; color: rgba(255,255,255,.5); line-height: 1.85; margin-bottom: 40px; max-width: 400px; }
.prox-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.prox-right { display: flex; flex-direction: column; align-items: center; gap: 36px; }
.prox-logo { width: clamp(160px, 18vw, 240px); filter: drop-shadow(0 20px 80px rgba(197,168,97,.4)); animation: float 5s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-14px)} }
.prox-badge { display: flex; align-items: center; gap: 14px; padding: 16px 26px; border: 1px solid var(--lineg); }
.prox-badge-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); animation: blink 2s infinite; }
.prox-badge-text p { font-family: 'Bebas Neue', sans-serif; font-size: 20px; letter-spacing: 3px; color: var(--gold); }
.prox-badge-text small { font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.3); }

/* ─── PARTNERS ───────────────────────────────────────────── */
#partners { border-top: 1px solid var(--line); background: var(--ink); padding: 60px 0; }
.partners-label { font-size: 9px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--dim); text-align: center; margin-bottom: 48px; }
.pmq { overflow: hidden; }
.pmq-track { display: flex; gap: 72px; align-items: center; animation: scroll 22s linear infinite; width: max-content; }
.pmq-track:hover { animation-play-state: paused; }
.plogo { height: 30px; max-width: 110px; object-fit: contain; flex-shrink: 0; opacity: .75; transition: opacity .25s; }
.plogo:hover { opacity: 1 !important; }

/* ─── FOOTER ─────────────────────────────────────────────── */
#footer { background: #030a07; border-top: 1px solid var(--line); padding: 72px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 56px; padding-bottom: 52px; border-bottom: 1px solid var(--line); }
.fb-logo { height: 48px; width: 48px; object-fit: contain; margin-bottom: 18px; }
.fb-name { font-family: 'Bebas Neue', sans-serif; font-size: 22px; letter-spacing: 4px; margin-bottom: 12px; }
.fb-desc { font-size: 13px; color: var(--dim); line-height: 1.75; margin-bottom: 22px; }
.fb-socials { display: flex; gap: 10px; margin-bottom: 22px; }
.fb-si { width: 34px; height: 34px; border: 1px solid var(--line); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); transition: all .2s; }
.fb-si:hover { border-color: var(--lineg); color: var(--gold); background: rgba(197,168,97,.06); }
.fb-tag { font-size: 10px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); }
.fc h4 { font-size: 9px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; color: var(--dim); margin-bottom: 22px; }
.fc ul { list-style: none; }
.fc li { font-size: 13px; color: rgba(255,255,255,.45); margin-bottom: 12px; transition: color .2s; cursor: pointer; }
.fc li:hover { color: rgba(255,255,255,.85); }
.foot-bot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; }
.foot-copy, .foot-addr { font-size: 11px; color: rgba(255,255,255,.2); }

/* ─── STICKY ─────────────────────────────────────────────── */
#sticky { position: fixed; bottom: 0; left: 0; right: 0; z-index: 490; background: rgba(5,42,34,.98); backdrop-filter: blur(20px); border-top: 1px solid var(--lineg); padding: 14px 52px; display: flex; align-items: center; justify-content: space-between; gap: 16px; transform: translateY(100%); transition: transform .4s; }
#sticky.on { transform: translateY(0); }
.sticky-txt { font-size: 13px; font-weight: 500; color: rgba(255,255,255,.6); }
.sticky-txt strong { color: var(--gold); }

/* ─── ANIMATIONS ─────────────────────────────────────────── */
@keyframes blink { 0%,100%{opacity:1}50%{opacity:.3} }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .wrap { padding: 0 32px; }
  #nav { padding: 0 32px; }
  /* At tablet/small-laptop widths the complete desktop nav can collide when
     fonts or browser zoom differ. Switch to the compact menu before that point. */
  .nav-links {
    display: flex;
    position: fixed; top: 68px; left: 0; right: 0;
    background: #05110D; background: rgba(5,17,13,.99);
    backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
    flex-direction: column; padding: 8px 0 28px;
    border-bottom: 1px solid var(--line); z-index: 490;
    visibility: hidden; opacity: 0; pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .28s ease, transform .28s ease, visibility .28s;
  }
  .nav-links.open {
    visibility: visible; opacity: 1; pointer-events: auto;
    transform: none;
  }
  .nav-links li { border-bottom: 1px solid var(--line); }
  .nav-links a { display: block; padding: 16px 32px; font-size: 14px; }
  .nav-ig, .nav-socials { display: none; }
  #hbg { display: flex; }
  body.inner-page #nav { position: fixed; }
  #sticky { padding: 14px 32px; }
  .page-hero { min-height: 460px; }
  .page-hero-body { padding: 0 32px 48px; }
  .feat-inner, .comp-inner, .camp-inner { padding-left: 32px; padding-right: 32px; }
  .prox-inner { padding-left: 32px; padding-right: 32px; }
  .teams-head, .gallery-head { padding-left: 32px; padding-right: 32px; }
  .courts-text { padding-left: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .stats-row { grid-template-columns: repeat(3, 1fr); }
  .stat:nth-child(3) { border-right: none; }
  .stat:nth-child(4), .stat:nth-child(5) { border-top: 1px solid var(--line); }
  .about-grid, .clas-wrap, .courts-grid, .camp-inner, .prox-inner { grid-template-columns: 1fr; }
  .about-img { min-height: 400px; }
  .about-text-col { border-left: none; border-top: 1px solid var(--line); padding: 48px 32px; }
  .comp-cols { grid-template-columns: 1fr; }
  .cc { border-right: none; border-bottom: 1px solid var(--line); }
  .feat-row { grid-template-columns: 60px 1fr; }
  .feat-desc { display: none; }
  .feat-head { flex-direction: column; gap: 16px; }
  .feat-head-right { max-width: 100%; }
  .prox-right { flex-direction: row; justify-content: center; }
}
@media (max-width: 768px) {
  #nav { padding: 0 20px; }
  .nav-links a { display: block; padding: 16px 24px; font-size: 14px; }
  .wrap { padding: 0 20px; }
  .page-hero { min-height: 400px; padding-top: 68px; }
  .page-hero-body { padding: 0 20px 40px; }
  .page-hero--team .page-hero-bg { background-position: 60% 16%; }
  .page-hero--team .page-hero-ov {
    background:
      linear-gradient(90deg, rgba(7,17,14,.94) 0%, rgba(7,17,14,.72) 58%, rgba(7,17,14,.28) 100%),
      linear-gradient(0deg, rgba(7,17,14,.78) 0%, transparent 58%);
  }
  .page-hero--league .page-hero-bg { background-position: 52% center; }
  .page-hero--league .page-hero-ov {
    background:
      linear-gradient(90deg, rgba(7,17,14,.95) 0%, rgba(7,17,14,.72) 58%, rgba(7,17,14,.26) 100%),
      linear-gradient(0deg, rgba(7,17,14,.80) 0%, transparent 58%);
  }
  .feat-inner, .comp-inner, .camp-inner, .prox-inner { padding-left: 20px; padding-right: 20px; }
  .teams-head, .gallery-head { padding-left: 20px; padding-right: 20px; }
  .courts-text { padding: 52px 20px; }
  #sticky { padding: 12px 20px; }
  .gal { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .gi:first-child { grid-row: span 1; }
  .stats-row { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: none; }
  .stat:nth-child(3) { border-top: 1px solid var(--line); border-right: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot-bot { flex-direction: column; align-items: flex-start; gap: 6px; }
  #sticky .sticky-txt { display: none; }
}
@media (max-width: 480px) {
  .gal { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .clas-thead, .clas-tr { grid-template-columns: 24px 1fr 26px 26px 26px 34px; padding-left: 10px; padding-right: 10px; }
  .clas-logo { width: 20px; height: 20px; }
  .clas-team { gap: 6px; }
  .clas-name { font-size: 11px; }
  .clas-td { font-size: 12px; }
  .clas-td.pts { font-size: 15px; }
  .clas-th { font-size: 7px; }
}

/* ─── REDUCED MOTION ─────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .tape-track,
  .pmq-track {
    animation: none !important;
  }
  .rv, .rvl, .rvr {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  #sticky {
    transition: none !important;
  }
  .nav-links {
    transition: none !important;
  }
}
