/* PetLeague — 2026 landing (the approved preview design), photo-light + CSP-safe */
:root {
  --bg: #f5f3ff;
  --ink: #1a1530;
  --ink-soft: #5b5374;
  --c1: #ff7a59;
  --c2: #ff4d9d;
  --c3: #7c5cfc;
  --c4: #2dd4bf;
  --c5: #ffc857;
  --glass: rgba(255, 255, 255, 0.55);
  --glass-strong: rgba(255, 255, 255, 0.72);
  --glass-brd: rgba(255, 255, 255, 0.8);
  --grad: linear-gradient(120deg, var(--c1), var(--c2) 45%, var(--c3));
  --shadow: 0 10px 40px rgba(60, 30, 90, 0.12);
  --shadow-lg: 0 24px 70px rgba(60, 30, 90, 0.18);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}
a {
  color: inherit;
  text-decoration: none;
}
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 26px;
  position: relative;
  z-index: 2;
}
.skip-link {
  position: absolute;
  left: -999px;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
  z-index: 99;
  background: #fff;
  padding: 10px 16px;
  border-radius: 10px;
}

.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  z-index: 60;
  background: var(--grad);
  background-size: 200% auto;
  box-shadow: 0 0 14px rgba(255, 77, 157, 0.5);
}

.aurora {
  position: fixed;
  inset: -20vmax;
  z-index: 0;
  filter: blur(70px);
  pointer-events: none;
  opacity: 0.85;
}
.blob {
  position: absolute;
  width: 46vmax;
  height: 46vmax;
  border-radius: 50%;
  mix-blend-mode: multiply;
  animation: drift 22s ease-in-out infinite;
}
.b1 {
  background: radial-gradient(circle, var(--c1), transparent 62%);
  top: -8vmax;
  left: -6vmax;
}
.b2 {
  background: radial-gradient(circle, var(--c3), transparent 62%);
  top: 4vmax;
  right: -10vmax;
  animation-delay: -6s;
}
.b3 {
  background: radial-gradient(circle, var(--c4), transparent 62%);
  bottom: -12vmax;
  left: 18vmax;
  animation-delay: -12s;
}
.b4 {
  background: radial-gradient(circle, var(--c5), transparent 64%);
  bottom: 0;
  right: 12vmax;
  animation-delay: -3s;
}
@keyframes drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(6vmax, 4vmax) scale(1.12);
  }
  66% {
    transform: translate(-5vmax, 3vmax) scale(0.94);
  }
}
.grain {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.45'/%3E%3C/svg%3E");
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: 'Inter';
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 24px;
  border-radius: 100px;
  border: 0;
  cursor: pointer;
  position: relative;
  transition:
    transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 0.25s;
}
.btn-primary {
  background: var(--grad);
  background-size: 180% auto;
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 77, 157, 0.4);
}
.btn-primary:hover {
  box-shadow: 0 16px 44px rgba(124, 92, 252, 0.5);
  background-position: right center;
}
.btn-glass {
  background: var(--glass-strong);
  color: var(--ink);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.nav {
  position: sticky;
  top: 14px;
  z-index: 40;
  margin: 14px auto 0;
  max-width: 1180px;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 12px 0 22px;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-radius: 100px;
  box-shadow: var(--shadow);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-size: 21px;
}
.brand .mark {
  width: 26px;
  height: 26px;
  border-radius: 9px;
  background: var(--grad);
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 15px;
  box-shadow: 0 6px 16px rgba(255, 77, 157, 0.45);
}
.nav-links {
  display: flex;
  gap: 26px;
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-soft);
}
.nav-links a:hover {
  color: var(--ink);
}
@media (max-width: 780px) {
  .nav-links {
    display: none;
  }
}

.hero {
  padding: 70px 0 30px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 15px;
  border-radius: 100px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.pill .live {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--c4);
  box-shadow: 0 0 0 4px rgba(45, 212, 191, 0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  50% {
    box-shadow: 0 0 0 8px rgba(45, 212, 191, 0);
  }
}
.hero h1 {
  font-size: clamp(48px, 7.2vw, 92px);
  margin: 20px 0 0;
}
.hero h1 .g {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shift 6s linear infinite;
}
@keyframes shift {
  to {
    background-position: 200% center;
  }
}
.hero p.lead {
  font-size: 19.5px;
  color: var(--ink-soft);
  max-width: 34ch;
  margin: 22px 0 30px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.stats {
  display: flex;
  gap: 28px;
  margin-top: 34px;
}
.stats .n {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-size: 26px;
}
.stats .l {
  font-size: 13px;
  color: var(--ink-soft);
}
@media (max-width: 880px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .hero p.lead {
    max-width: none;
  }
}

.tilt {
  perspective: 1000px;
}
.float {
  animation: bob 6s ease-in-out infinite;
}
@keyframes bob {
  50% {
    transform: translateY(-12px);
  }
}
.pcard {
  position: relative;
  border-radius: 30px;
  padding: 16px;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-lg);
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out;
}
.photo {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 20px;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--c2), var(--c3));
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.12);
}
.photo .mono {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-size: 110px;
  color: rgba(255, 255, 255, 0.92);
  z-index: 2;
}
.paw {
  position: absolute;
  width: 58%;
  height: 58%;
  opacity: 0.18;
  color: #fff;
}
.pcard .cap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 8px 6px;
}
.pcard .nm {
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-size: 21px;
}
.pcard .br {
  font-size: 13px;
  color: var(--ink-soft);
}
.pcard .pts {
  font-weight: 700;
  color: var(--c3);
}
.ribbon {
  position: absolute;
  top: 26px;
  left: 26px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(26, 21, 48, 0.92);
  color: #fff;
  padding: 8px 14px;
  border-radius: 100px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translateZ(50px);
}
.chip-float {
  position: absolute;
  right: -18px;
  bottom: 54px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 18px;
  background: var(--glass-strong);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  transform: translateZ(70px);
  animation: bob 5s ease-in-out infinite 0.5s;
}
.chip-float .ic {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(140deg, var(--c5), var(--c1));
  display: grid;
  place-items: center;
}
.chip-float .t {
  font-size: 12px;
  color: var(--ink-soft);
}
.chip-float .b {
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-size: 16px;
}

.marquee {
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid rgba(124, 92, 252, 0.12);
  border-bottom: 1px solid rgba(124, 92, 252, 0.12);
  margin: 26px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee .track {
  display: inline-flex;
  gap: 40px;
  white-space: nowrap;
  animation: scroll 26s linear infinite;
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-size: 22px;
  color: var(--ink-soft);
}
.marquee .dot {
  color: var(--c2);
}
@keyframes scroll {
  to {
    transform: translateX(-50%);
  }
}

.sec {
  padding: 60px 0;
}
.sec h2 {
  font-size: clamp(34px, 4.6vw, 56px);
}
.sec .kick {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c3);
  margin-bottom: 14px;
}
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}
[data-reveal].in {
  opacity: 1;
  transform: none;
}

.match {
  position: relative;
  border-radius: 34px;
  padding: 4px;
  background: var(--grad);
  background-size: 200% 200%;
  animation: shift 8s linear infinite;
  box-shadow: var(--shadow-lg);
}
.match-inner {
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.84);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 40px clamp(20px, 4vw, 52px);
}
.match-head {
  text-align: center;
  margin-bottom: 30px;
}
.match-head .tag {
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c2);
  margin-bottom: 12px;
}
.stage {
  display: grid;
  grid-template-columns: 1fr 64px 1fr;
  gap: 20px;
  align-items: start;
}
.fighter {
  border-radius: 22px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fighter:hover {
  transform: translateY(-6px) scale(1.015);
}
.fighter .ph {
  position: relative;
  aspect-ratio: 1/1;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.fighter .ph .mono {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-size: 80px;
  color: rgba(255, 255, 255, 0.92);
  z-index: 2;
}
.fighter.a .ph {
  background: linear-gradient(150deg, var(--c1), var(--c2));
}
.fighter.b .ph {
  background: linear-gradient(150deg, var(--c4), var(--c3));
}
.fighter .meta {
  padding: 14px 16px 4px;
}
.fighter .meta .nm {
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-size: 19px;
}
.fighter .meta .br {
  font-size: 13px;
  color: var(--ink-soft);
}
.pick {
  display: block;
  width: calc(100% - 24px);
  margin: 8px 12px 14px;
  padding: 12px;
  border: 0;
  border-radius: 100px;
  cursor: pointer;
  font-family: 'Inter';
  font-weight: 700;
  font-size: 14.5px;
  color: #fff;
  background: var(--grad);
  background-size: 200% auto;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.pick:hover {
  box-shadow: 0 12px 28px rgba(255, 77, 157, 0.4);
}
.pick:active {
  transform: scale(0.96);
}
.bar {
  height: 8px;
  border-radius: 100px;
  background: rgba(26, 21, 48, 0.08);
  margin: 10px 12px 6px;
  overflow: hidden;
}
.bar > i {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 100px;
  background: var(--grad);
  transition: width 1s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.pct {
  margin: 0 12px 14px;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
}
.result {
  display: none;
}
.stage.voted .result {
  display: block;
}
.stage.voted .pick {
  display: none;
}
.vs {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-size: 22px;
  text-align: center;
  padding-top: 80px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.match-foot {
  text-align: center;
  margin-top: 26px;
  font-size: 14px;
  color: var(--ink-soft);
}
@media (max-width: 720px) {
  .stage {
    grid-template-columns: 1fr;
  }
  .vs {
    padding: 8px 0;
  }
}
.heart {
  position: fixed;
  z-index: 9000;
  pointer-events: none;
  font-size: 24px;
  animation: floatUp 1s ease-out forwards;
}
@keyframes floatUp {
  to {
    transform: translateY(-90px) scale(1.6);
    opacity: 0;
  }
}

.proof {
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 34px;
}
.avis {
  display: flex;
}
.avis .av {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--bg);
  margin-left: -12px;
  box-shadow: var(--shadow);
  display: grid;
  place-items: center;
  color: #fff;
  font-family: 'Bricolage Grotesque';
  font-weight: 700;
  font-size: 16px;
}
.avis .av:first-child {
  margin-left: 0;
}
.proof .txt {
  font-size: 14.5px;
  color: var(--ink-soft);
}
.proof .txt b {
  color: var(--ink);
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 18px;
  margin-top: 36px;
}
.tile {
  border-radius: 26px;
  padding: 24px;
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 0.25s,
    box-shadow 0.25s;
}
.tile:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.tile .ico {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
}
.tile h3 {
  font-size: 22px;
}
.tile p {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin: 6px 0 0;
}
.t-wide {
  grid-column: span 2;
}
.t-tall {
  grid-row: span 2;
}
.i1 {
  background: linear-gradient(140deg, var(--c1), var(--c2));
}
.i2 {
  background: linear-gradient(140deg, var(--c3), var(--c4));
}
.i3 {
  background: linear-gradient(140deg, var(--c2), var(--c3));
}
.i4 {
  background: linear-gradient(140deg, var(--c5), var(--c1));
}
.tile.feature {
  background: linear-gradient(150deg, rgba(124, 92, 252, 0.94), rgba(255, 77, 157, 0.94));
  color: #fff;
}
.tile.feature p {
  color: rgba(255, 255, 255, 0.85);
}
.tile.feature .big {
  font-family: 'Bricolage Grotesque';
  font-weight: 800;
  font-size: 52px;
  line-height: 1;
}
@media (max-width: 880px) {
  .bento {
    grid-template-columns: repeat(2, 1fr);
  }
  .t-tall {
    grid-row: span 1;
  }
}

footer {
  margin-top: 46px;
  padding: 50px 0 44px;
}
.foot-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, var(--c3), var(--c2));
  border-radius: 34px;
  padding: clamp(34px, 5vw, 64px);
  color: #fff;
  text-align: center;
  box-shadow: var(--shadow-lg);
}
.foot-card h2 {
  font-size: clamp(32px, 4.6vw, 56px);
}
.foot-card p {
  color: rgba(255, 255, 255, 0.88);
  max-width: 44ch;
  margin: 14px auto 26px;
}
.foot-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 40px;
  color: var(--ink-soft);
  font-size: 14px;
  flex-wrap: wrap;
  gap: 14px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  .blob,
  .marquee .track,
  .hero h1 .g,
  .match,
  .float,
  .chip-float {
    animation: none !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
