/* ==========================================================================
   Sakura Eclipse — Design Tokens
   ========================================================================== */
:root {
  --black: #050203;
  --black-soft: #0c0609;
  --surface: #140a10;
  --surface-alt: #1c0e17;
  --surface-line: #2c1520;

  --pink: #ff2d78;
  --pink-bright: #ff6fa8;
  --pink-deep: #a80f45;
  --pink-glow: rgba(255, 45, 120, 0.45);

  --white: #f8eef2;
  --gray: #b79aa6;
  --gray-dim: #7d6470;

  --gradient-pink: linear-gradient(135deg, #ff5c96 0%, #ff2d78 45%, #a80f45 100%);
  --gradient-fade: linear-gradient(180deg, rgba(5, 2, 3, 0) 0%, #050203 100%);

  --font-display: "Bebas Neue", "Oswald", sans-serif;
  --font-body: "Inter", "Noto Sans JP", sans-serif;

  --container: 1180px;
  --radius: 14px;
  --radius-sm: 8px;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Reset
   ========================================================================== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

::selection {
  background: var(--pink);
  color: var(--black);
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--black);
}
::-webkit-scrollbar-thumb {
  background: var(--surface-line);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--pink-deep);
}

/* ==========================================================================
   Utility
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section--tight {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  color: var(--pink-bright);
  text-transform: uppercase;
  margin-bottom: 16px;
}

.eyebrow::before,
.eyebrow::after {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--pink-bright);
  opacity: 0.6;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.1rem, 4.5vw, 3.2rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.05;
  margin-bottom: 16px;
}

.section-title .accent {
  color: var(--pink);
}

.section-sub {
  color: var(--gray);
  font-size: 1.02rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger.is-visible > * {
  transition-delay: calc(var(--i, 0) * 90ms);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 999px;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-pink);
  color: var(--white);
  box-shadow: 0 8px 30px -8px var(--pink-glow);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 36px -6px var(--pink-glow);
}

.btn-ghost {
  border: 1px solid var(--surface-line);
  color: var(--white);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: var(--pink);
  color: var(--pink-bright);
  transform: translateY(-3px);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--surface-line);
  color: var(--gray);
}

.tag--main {
  border-color: var(--pink);
  color: var(--pink-bright);
  background: rgba(255, 45, 120, 0.08);
}

/* ==========================================================================
   Background texture
   ========================================================================== */
.bg-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  mix-blend-mode: overlay;
  background-image: radial-gradient(circle at 20% 20%, rgba(255, 45, 120, 0.06), transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 45, 120, 0.05), transparent 45%);
}

#petal-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* ==========================================================================
   Scroll progress
   ========================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--gradient-pink);
  z-index: 999;
  transition: width 0.1s linear;
}

/* ==========================================================================
   Navbar
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 500;
  padding: 18px 0;
  transition: padding 0.35s var(--ease), background 0.35s var(--ease), border-color 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.navbar.scrolled {
  padding: 12px 0;
  background: rgba(5, 2, 3, 0.82);
  backdrop-filter: blur(14px);
  border-color: var(--surface-line);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.06em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 0 2px var(--surface-line), 0 0 22px -4px var(--pink-glow);
}

.brand-name {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-name .full {
  color: var(--white);
}

.brand-name .sub {
  font-family: var(--font-body);
  font-size: 0.6rem;
  letter-spacing: 0.32em;
  color: var(--pink-bright);
  text-transform: uppercase;
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a {
  position: relative;
  color: var(--gray);
  transition: color 0.25s var(--ease);
  padding: 6px 0;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: var(--gradient-pink);
  transition: width 0.3s var(--ease);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-actions .btn {
  padding: 11px 22px;
  font-size: 0.85rem;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  z-index: 600;
}

.hamburger span {
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 160px 24px 100px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -10%;
  background: radial-gradient(circle at 50% 38%, rgba(255, 45, 120, 0.22), transparent 55%);
  z-index: 0;
}

.hero-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(70vw, 720px);
  height: min(70vw, 720px);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px solid var(--surface-line);
  z-index: 0;
}

.hero-ring::before {
  content: "";
  position: absolute;
  inset: -60px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 45, 120, 0.18);
  animation: spin 90s linear infinite;
}

.hero-ring::after {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 46%;
  height: 46%;
  border-radius: 50%;
  border: 4px solid var(--pink);
  border-right-color: transparent;
  border-bottom-color: transparent;
  filter: drop-shadow(0 0 18px var(--pink-glow));
  animation: spin 22s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.hero-mark {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  margin: 0 auto 28px;
  box-shadow: 0 0 0 1px var(--surface-line), 0 0 60px -8px var(--pink-glow);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.hero-kicker {
  font-family: var(--font-display);
  letter-spacing: 0.4em;
  font-size: 0.85rem;
  color: var(--pink-bright);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 11vw, 8rem);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

.hero-title .line2 {
  display: block;
  background: var(--gradient-pink);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-tagline {
  margin: 26px auto 0;
  max-width: 560px;
  font-size: 1.1rem;
  color: var(--gray);
}

.hero-actions {
  margin-top: 44px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--gray-dim);
  z-index: 2;
}

.hero-scroll .stem {
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--pink), transparent);
  animation: stem 2.2s ease-in-out infinite;
}

@keyframes stem {
  0% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
  50% { transform: scaleY(1); opacity: 1; transform-origin: top; }
  100% { transform: scaleY(0.4); opacity: 0.4; transform-origin: top; }
}

/* ==========================================================================
   Marquee strip
   ========================================================================== */
.marquee {
  position: relative;
  border-top: 1px solid var(--surface-line);
  border-bottom: 1px solid var(--surface-line);
  background: var(--surface);
  overflow: hidden;
  padding: 16px 0;
}

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

.marquee-track span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray-dim);
  padding: 0 28px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.marquee-track span::after {
  content: "\2726";
  color: var(--pink);
  font-size: 0.7rem;
}

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

/* ==========================================================================
   About
   ========================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 64px;
  align-items: center;
}

.about-text p {
  color: var(--gray);
  margin-bottom: 18px;
  font-size: 1.02rem;
}

.about-text p strong {
  color: var(--white);
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.stat-card {
  padding: 28px 22px;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, var(--surface) 0%, var(--black-soft) 100%);
  text-align: center;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.stat-card:hover {
  border-color: var(--pink);
  transform: translateY(-4px);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--pink);
  line-height: 1;
}

.stat-label {
  margin-top: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-dim);
}

/* ==========================================================================
   Games grid
   ========================================================================== */
.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.game-card {
  position: relative;
  padding: 32px 24px;
  border: 1px solid var(--surface-line);
  border-radius: var(--radius);
  background: var(--surface);
  overflow: hidden;
  transition: transform 0.4s var(--ease), border-color 0.4s var(--ease);
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 0%, rgba(255, 45, 120, 0.16), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--pink);
}

.game-card:hover::before {
  opacity: 1;
}

.game-icon {
  width: 46px;
  height: 46px;
  margin-bottom: 20px;
  color: var(--pink-bright);
  position: relative;
  z-index: 1;
}

.game-icon svg {
  width: 100%;
  height: 100%;
}

.icon-badge {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid var(--pink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.01em;
  color: var(--pink-bright);
  background: rgba(255, 45, 120, 0.08);
  flex-shrink: 0;
}

.icon-badge--sm {
  width: 34px;
  height: 34px;
  font-size: 0.62rem;
}

.game-card h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 1.3rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.game-card p {
  position: relative;
  z-index: 1;
  color: var(--gray-dim);
  font-size: 0.88rem;
}

.game-card .rosters {
  position: relative;
  z-index: 1;
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--pink);
  text-transform: uppercase;
}

.game-card .rosters svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease);
}

.game-card:hover .rosters svg {
  transform: translateX(4px);
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  position: relative;
  border-radius: 24px;
  padding: 72px 40px;
  text-align: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--surface-alt), var(--black-soft));
  border: 1px solid var(--surface-line);
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(255, 45, 120, 0.25), transparent 60%);
}

.cta-band > * {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cta-band p {
  color: var(--gray);
  max-width: 480px;
  margin: 0 auto 32px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--surface-line);
  padding: 60px 0 28px;
  background: var(--black-soft);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.footer-brand p {
  color: var(--gray-dim);
  max-width: 320px;
  margin-top: 14px;
  font-size: 0.9rem;
}

.footer-cols {
  display: flex;
  gap: 64px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--gray-dim);
  font-size: 0.9rem;
  transition: color 0.25s var(--ease);
}

.footer-col a:hover {
  color: var(--pink-bright);
}

.footer-bottom {
  border-top: 1px solid var(--surface-line);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--gray-dim);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--surface-line);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), color 0.3s var(--ease);
  color: var(--gray);
}

.footer-social a:hover {
  border-color: var(--pink);
  color: var(--pink-bright);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 17px;
  height: 17px;
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--surface-line);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), border-color 0.35s var(--ease);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  border-color: var(--pink);
}

.back-to-top svg {
  width: 18px;
  height: 18px;
  color: var(--pink-bright);
}

/* ==========================================================================
   Toast
   ========================================================================== */
.toast {
  position: fixed;
  left: 50%;
  bottom: 34px;
  transform: translate(-50%, 20px);
  background: var(--surface);
  border: 1px solid var(--pink);
  color: var(--white);
  padding: 13px 22px;
  border-radius: 999px;
  font-size: 0.88rem;
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
  box-shadow: 0 10px 30px -8px var(--pink-glow);
}

.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ==========================================================================
   Page hero (interior pages)
   ========================================================================== */
.page-hero {
  padding: 170px 0 80px;
  text-align: center;
  position: relative;
}

.page-hero .eyebrow {
  justify-content: center;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  text-transform: uppercase;
  line-height: 1;
}

.page-hero h1 .accent {
  color: var(--pink);
}

.page-hero p {
  margin-top: 18px;
  color: var(--gray);
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

/* ==========================================================================
   Team filters + grid
   ========================================================================== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 60px;
}

.filter-btn {
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid var(--surface-line);
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--gray);
  transition: all 0.3s var(--ease);
}

.filter-btn:hover {
  color: var(--white);
  border-color: var(--gray);
}

.filter-btn.active {
  background: var(--gradient-pink);
  color: var(--white);
  border-color: transparent;
}

.game-block {
  margin-bottom: 76px;
}

.game-block-head {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 30px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--surface-line);
}

.game-block-head h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.game-block-head span {
  color: var(--gray-dim);
  font-size: 0.85rem;
}

.roster-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.team-card {
  padding: 26px;
  border-radius: var(--radius);
  border: 1px solid var(--surface-line);
  background: linear-gradient(160deg, var(--surface) 0%, var(--black-soft) 120%);
  transition: transform 0.35s var(--ease), border-color 0.35s var(--ease);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.team-card:hover {
  transform: translateY(-5px);
  border-color: var(--pink);
}

.team-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.team-card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}

.team-card .roster-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--gray-dim);
  margin-top: auto;
}

.team-card .roster-status .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pink);
  box-shadow: 0 0 8px var(--pink-glow);
}

.roster-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.roster-player {
  font-size: 0.88rem;
}

.roster-player-link {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 8px;
  margin: 0 -8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s var(--ease);
}

.roster-player-link:hover {
  background: rgba(255, 45, 120, 0.08);
}

.roster-player-link:hover .player-name {
  color: var(--pink-bright);
}

.player-name {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-weight: 600;
}

.captain-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gradient-pink);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.62rem;
  line-height: 1;
  flex-shrink: 0;
}

.player-handle {
  color: var(--gray-dim);
  font-size: 0.8rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.roster-subs {
  padding-top: 12px;
  border-top: 1px dashed var(--surface-line);
}

.subs-label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-dim);
  margin-bottom: 9px;
}

.roster-list--subs .player-name {
  color: var(--gray);
  font-weight: 500;
}

.btn-roster-toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--surface-line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}

.btn-roster-toggle:hover {
  border-color: var(--pink);
  color: var(--pink-bright);
}

.roster-toggle-label {
  flex: 1;
  text-align: left;
}

.roster-toggle-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 999px;
  background: rgba(255, 45, 120, 0.14);
  color: var(--pink-bright);
  font-family: var(--font-body);
  font-size: 0.72rem;
}

.btn-roster-toggle .chevron {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
}

.btn-roster-toggle[aria-expanded="true"] .chevron {
  transform: rotate(180deg);
}

.roster-panel {
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  margin-top: -14px;
  padding-top: 14px;
  transition: max-height 0.35s var(--ease), margin-top 0.35s var(--ease), visibility 0s linear 0.35s;
}

.roster-panel.is-open {
  margin-top: 0;
  visibility: visible;
  transition: max-height 0.35s var(--ease), margin-top 0.35s var(--ease), visibility 0s linear 0s;
}

.captain-badge--lg {
  width: 26px;
  height: 26px;
  font-size: 0.9rem;
  vertical-align: middle;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 7px;
  border-radius: 999px;
  border: 1px solid var(--pink);
  background: rgba(255, 45, 120, 0.1);
  color: var(--pink-bright);
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.04em;
  line-height: 1.5;
  vertical-align: middle;
}

.role-badge--lg {
  padding: 4px 11px;
  font-size: 0.8rem;
}

/* ==========================================================================
   Player profile
   ========================================================================== */
.profile-section + .profile-section {
  margin-top: 34px;
  padding-top: 34px;
  border-top: 1px solid var(--surface-line);
}

.profile-heading {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.profile-bio {
  color: var(--gray);
  font-size: 1rem;
  line-height: 1.7;
}

.profile-placeholder {
  color: var(--gray-dim);
  font-size: 0.92rem;
}

.facts-list {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.facts-list li {
  position: relative;
  padding-left: 20px;
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.5;
}

.facts-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 8px;
  height: 2px;
  background: var(--pink);
}

.teammates-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.teammate-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1px solid var(--surface-line);
  color: var(--white);
  font-size: 0.85rem;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease), transform 0.25s var(--ease);
}

.teammate-chip:hover {
  border-color: var(--pink);
  color: var(--pink-bright);
  transform: translateY(-2px);
}

.teammate-chip .sub-tag {
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-dim);
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }
}

@media (max-width: 820px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--surface);
    border-left: 1px solid var(--surface-line);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    z-index: 550;
    font-size: 1.1rem;
  }

  .nav-links.open {
    transform: translateX(0);
  }

  .hamburger {
    display: flex;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand-name .sub {
    display: none;
  }

  .nav-actions {
    gap: 12px;
  }

  .nav-actions .btn-ghost {
    padding: 10px 14px;
  }

  .nav-actions .btn-ghost .btn-label {
    display: none;
  }

  .nav-actions .btn-ghost svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 88px 0;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
  }

  .cta-actions .btn {
    width: 100%;
  }
}
