:root {
  --pink: #ff3d81;
  --orange: #ff8a3d;
  --yellow: #ffd93d;
  --gradient: linear-gradient(135deg, var(--pink) 0%, var(--orange) 55%, var(--yellow) 100%);
  --ink: #1c1533;
  --muted: #6b6480;
  --bg: #fffaf5;
  --card-bg: #ffffff;
  --tint: #fff1f5;
  --shadow-sm: 0 4px 14px rgba(28, 21, 51, 0.08);
  --shadow-md: 0 12px 30px rgba(28, 21, 51, 0.12);
  --shadow-lg: 0 20px 45px rgba(28, 21, 51, 0.18);
  --radius: 20px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Poppins', sans-serif;
  margin: 0;
}

a { color: inherit; }

/* Decorative shapes */
.deco {
  position: absolute;
  pointer-events: none;
}

.deco-bolt path {
  fill: url(#grad-brand);
}

.deco-bolt-1 {
  width: 46px;
  top: 14%;
  left: 8%;
  opacity: 0.55;
  animation: floatBolt 5s ease-in-out infinite;
  animation-delay: -1s;
}

.deco-bolt-2 {
  width: 34px;
  bottom: 12%;
  right: 10%;
  opacity: 0.4;
  animation: floatBolt 4.5s ease-in-out infinite;
}

.deco-squiggle path {
  stroke: url(#grad-brand);
}

.deco-squiggle-1 {
  width: 130px;
  top: 22%;
  right: 6%;
  opacity: 0.5;
  animation: floatSquiggle 6s ease-in-out infinite;
}

.deco-squiggle-2 {
  width: 110px;
  bottom: 18%;
  left: 6%;
  opacity: 0.4;
  animation: floatSquiggle 7s ease-in-out infinite;
  animation-delay: -2s;
}

.deco-blob {
  border-radius: 50%;
  filter: blur(40px);
  animation: blobMove 10s ease-in-out infinite;
}

.deco-blob-1 {
  width: 220px;
  height: 220px;
  top: -60px;
  left: 20%;
  background: var(--pink);
  opacity: 0.25;
}

.deco-blob-2 {
  width: 260px;
  height: 260px;
  bottom: -80px;
  right: 15%;
  background: var(--yellow);
  opacity: 0.3;
  animation-delay: -4s;
}

@keyframes floatBolt {
  0%, 100% { transform: translateY(0) rotate(-15deg); }
  50% { transform: translateY(-16px) rotate(-5deg); }
}

@keyframes floatSquiggle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(10px) rotate(-6deg); }
}

@keyframes blobMove {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(24px, -18px) scale(1.08); }
}

.squiggle-underline {
  display: block;
  width: 90px;
  height: 16px;
  margin: 10px auto 0;
}

.squiggle-underline path {
  stroke: url(#grad-brand);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 300;
  background: rgba(255, 250, 245, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(28, 21, 51, 0.06);
  transition: background 0.2s ease, border-color 0.2s ease;
}

.site-header:has(.nav-toggle[aria-expanded="true"]) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
}

.site-header:has(.nav-toggle[aria-expanded="true"]) .brand {
  opacity: 0;
  pointer-events: none;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.brand-name {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: var(--ink);
  font-size: 1.15rem;
}

.logo circle {
  transition: transform 0.3s ease;
  transform-origin: center;
}

.brand:hover .logo circle {
  animation: pulseBolt 0.6s ease;
}

@keyframes pulseBolt {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.12); }
}

.nav-toggle {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 210;
}

.nav-toggle span {
  display: block;
  height: 3px;
  width: 24px;
  margin: 0 auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Section-jump menu, opened by the hamburger at every screen size */
.site-nav {
  position: fixed;
  inset: 0;
  background: var(--gradient);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  display: none;
  z-index: 200;
}

.site-nav.open {
  display: flex;
}

.site-nav a {
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  color: #fff;
  padding: 14px 32px;
  border-radius: 999px;
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  opacity: 0;
  transform: translateY(16px) scale(0.9);
  transition: transform 0.2s ease, background 0.2s ease;
}

.site-nav.open a {
  animation: navPop 0.45s ease forwards;
}

.site-nav.open a:nth-child(1) { animation-delay: 0.05s; }
.site-nav.open a:nth-child(2) { animation-delay: 0.12s; }
.site-nav.open a:nth-child(3) { animation-delay: 0.19s; }
.site-nav.open a:nth-child(4) { animation-delay: 0.26s; }

@keyframes navPop {
  from { opacity: 0; transform: translateY(16px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.06) rotate(-2deg);
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 90px 20px 60px;
}

.logo-big {
  position: relative;
  filter: drop-shadow(var(--shadow-md));
}

.hero h1 {
  position: relative;
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 900;
  margin: 18px 0 10px;
  background: var(--gradient);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}

@keyframes shimmer {
  to { background-position: 200% center; }
}

.tagline {
  position: relative;
  font-size: clamp(1.05rem, 2.5vw, 1.3rem);
  font-weight: 700;
  margin: 0 0 6px;
}

.hero-sub {
  position: relative;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0 0 34px;
}

.hero-stats {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  max-width: 700px;
  margin: 0 auto;
}

.hero-stats div {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 14px 22px;
  min-width: 130px;
  box-shadow: var(--shadow-sm);
}

.hero-stats strong {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--pink);
  margin-bottom: 4px;
}

.hero-stats span {
  font-weight: 700;
  font-size: 1rem;
}

/* Marquee ticker */
.marquee {
  position: relative;
  z-index: 5;
  overflow: hidden;
  background: var(--gradient);
  padding: 12px 0;
  transform: rotate(-1.4deg) scale(1.03);
  box-shadow: var(--shadow-md);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 16s linear infinite;
}

.marquee-track span {
  white-space: nowrap;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(0.95rem, 2.5vw, 1.2rem);
  color: #fff;
  letter-spacing: 0.5px;
}

@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  padding: 70px 20px;
}

.section.alt {
  max-width: 100%;
  background: var(--tint);
}

.section.alt > * {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  text-align: center;
}

.section-sub {
  text-align: center;
  margin: 14px 0 40px;
  color: var(--muted);
}

.about-content {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-content p { margin: 0 0 18px; }
.about-content p:last-child { margin-bottom: 0; }

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  background: var(--card-bg);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 16px;
  height: 5px;
  border-radius: 0 0 6px 6px;
  background: var(--gradient);
}

.card:hover {
  transform: translateY(-6px) rotate(-1.5deg) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.card:nth-child(even):hover {
  transform: translateY(-6px) rotate(1.5deg) scale(1.02);
}

.placeholder-badge,
.player-photo,
.merch-photo {
  transition: transform 0.3s ease;
}

.card:hover .placeholder-badge,
.card:hover .player-photo,
.card:hover .merch-photo {
  transform: rotate(-8deg) scale(1.1);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 14px 0 8px;
}

.card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0;
}

.placeholder-badge,
.player-photo,
.merch-photo {
  width: 68px;
  height: 68px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: var(--gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.player-role {
  display: inline-block;
  background: var(--gradient);
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.price {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  margin: 4px 0 8px;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: #fff;
  text-align: center;
  padding: 34px 20px;
}

.site-footer p {
  margin: 4px 0;
  font-size: 0.9rem;
}

.fine-print {
  opacity: 0.55;
  font-size: 0.78rem;
}

@media (max-width: 480px) {
  .hero { padding: 70px 16px 50px; }
  .section { padding: 50px 16px; }
  .hero-stats div { min-width: 44%; }
}

/* Scroll reveal (classes toggled by script.js) */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

.card-grid .card:nth-child(1) { transition-delay: 0s; }
.card-grid .card:nth-child(2) { transition-delay: 0.08s; }
.card-grid .card:nth-child(3) { transition-delay: 0.16s; }
.card-grid .card:nth-child(4) { transition-delay: 0.24s; }
.card-grid .card:nth-child(5) { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  .deco-bolt-1, .deco-bolt-2, .deco-squiggle-1, .deco-squiggle-2,
  .deco-blob-1, .deco-blob-2, .hero h1, .marquee-track {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
