@font-face {
  font-family: "Katsumi";
  src: url("KATSUMI.ttf") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Roboto";
  src: url("Roboto.ttf") format("truetype");
  font-display: swap;
}

:root {
  --bg-deep: #020711;
  --bg-mid: #07111d;
  --surface: #081826;
  --surface-strong: #0d2233;
  --accent: #4de6ff;
  --accent-strong: #35b4ff;
  --accent-soft: rgba(77, 230, 255, 0.2);
  --text: #f3fcff;
  --muted: #95aab7;
  --border: rgba(77, 230, 255, 0.25);
}

* {
  box-sizing: border-box;
}

p {
  font-family: "Roboto", sans-serif;
}

body {
  margin: 0;
  font-family: "Katsumi", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(77, 230, 255, 0.16), transparent 28%),
    linear-gradient(135deg, var(--bg-deep) 0%, var(--bg-mid) 55%, #000000 100%);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 32px;
  background: #000000;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 0 25px rgba(77, 230, 255, 0.08);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 2;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  line-height: 1;
}

.logo img {
  display: block;
  height: 54px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(77, 230, 255, 0.22));
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 18px;
}

.cart-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--border);
  border-radius: 10px;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.cart-button:hover, .cart-button:focus-visible {
  color: var(--accent);
  border-color: var(--accent);
}

.cart-icon { font-size: 1.35rem; }
.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 21px;
  padding: 2px 5px;
  color: var(--bg-deep);
  background: var(--accent);
  border-radius: 999px;
  font: 700 0.75rem Arial, sans-serif;
  text-align: center;
}

.top-nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.nav-dropdown {
  position: relative;
}

.roster-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 5;
  display: grid;
  min-width: 210px;
  padding: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(2, 7, 17, 0.98);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown:hover .roster-menu,
.nav-dropdown:focus-within .roster-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.roster-menu a {
  padding: 10px 12px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.top-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

@media (max-width: 700px) {
  .top-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    gap: 0;
    padding-top: 0;
    border-top: 0;
    transition: max-height 0.35s ease, opacity 0.25s ease, padding-top 0.25s ease, border-top 0.25s ease, gap 0.25s ease;
  }

  .site-header.nav-open .top-nav {
    max-height: 360px;
    opacity: 1;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid var(--border);
  }

  .top-nav a {
    padding: 8px 0;
    letter-spacing: 0.14em;
  }

  .nav-dropdown {
    width: 100%;
  }

  .roster-menu {
    position: static;
    min-width: 0;
    margin: 0 0 4px 14px;
    padding: 0 0 0 12px;
    border-width: 0 0 0 1px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .roster-menu a {
    padding: 6px 0;
    font-size: 0.78rem;
  }
}

.top-nav a:hover,
.top-nav a:focus-visible,
.logo:hover {
  color: var(--accent);
  text-shadow: 0 0 8px rgba(77, 230, 255, 0.35);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px 9px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 5px);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: rotate(-45deg) translate(4px, -5px);
}

@media (max-width: 700px) {
  .site-header {
    padding: 18px 20px;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: flex;
  }
}

.page-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 80px;
  padding: 80px 24px 120px;
  position: relative;
  isolation: isolate;
  z-index: 1;
  flex: 1 0 auto;
  width: 100%;
}

.logo-stream {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.logo-stream img {
  position: absolute;
  left: 100%;
  width: var(--logo-size);
  height: auto;
  opacity: 0.16;
  filter: drop-shadow(0 0 10px rgba(77, 230, 255, 0.25));
  transform: rotate(var(--logo-angle));
  animation: logo-drift var(--logo-duration) linear forwards;
}

@keyframes logo-drift {
  from {
    transform: translateX(0) rotate(var(--logo-angle));
  }

  to {
    transform: translateX(-125vw) rotate(var(--logo-angle));
  }
}

.shop-coming-soon {
  width: fit-content;
  margin: 120px auto;
  padding: 12px 18px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text);
  background: var(--surface);
  font-weight: 600;
  text-align: center;
}

.hero {
  max-width: 760px;
  text-align: center;
  padding: 36px 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(8, 24, 38, 0.95), rgba(4, 13, 24, 0.86));
  box-shadow: 0 0 0 1px rgba(77, 230, 255, 0.06), 0 18px 45px rgba(0, 0, 0, 0.35);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.35em;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 10px;
}

.hero h1 {
  font-size: 2rem;
  margin: 0 0 16px;
  color: var(--text);
  text-shadow: 0 0 12px rgba(77, 230, 255, 0.15);
}

.hero p {
  font-size: 1.4rem;
  line-height: 1.7;
  color: var(--muted);
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(900px, 100%);
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 130px;
  padding: 24px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--surface), var(--surface-strong));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.stat-box.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.stat-box.is-visible:nth-child(2) {
  transition-delay: 0.12s;
}

.stat-box.is-visible:nth-child(3) {
  transition-delay: 0.24s;
}

.stat-box strong {
  color: var(--accent);
  font-size: 2rem;
  line-height: 1.2;
  text-shadow: 0 0 10px rgba(77, 230, 255, 0.2);
}

.stat-box span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 1rem;
  text-align: center;
}

.home-preview {
  width: min(1100px, 100%);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.home-preview.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.home-preview h2 {
  margin: 0 0 22px;
  color: var(--accent);
  font-size: 1.8rem;
  text-align: center;
}

.home-shop,
.home-about,
.home-rosters {
  padding: 28px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(8, 24, 38, 0.95), rgba(4, 13, 24, 0.86));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.home-shop {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.home-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
}

.home-product {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.home-product-media {
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: radial-gradient(circle, rgba(77, 230, 255, 0.16), transparent 68%);
}

.home-product-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.home-product p {
  margin: 12px 0 0;
  color: var(--text);
  font-size: 1rem;
  text-align: center;
}

.shop-all {
  margin-top: 22px;
  color: var(--accent);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.shop-all:hover,
.shop-all:focus-visible {
  color: var(--text);
  text-shadow: 0 0 8px rgba(77, 230, 255, 0.35);
}

.home-about-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.4fr);
  gap: 20px;
  align-items: start;
}

.home-staff h3,
.home-about-summaries h3 {
  margin: 0 0 10px;
  color: var(--accent);
  font-size: 1.15rem;
}

.home-staff .staff-grid {
  grid-template-columns: 1fr;
  gap: 12px;
}

.home-staff .player-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  align-items: center;
  margin: 0;
}

.home-staff .player-avatar-wrap {
  aspect-ratio: 1;
  padding: 10px;
}

.home-staff .player-details {
  padding: 12px 12px 12px 0;
}

.home-staff .player-details h2 {
  margin: 0 0 4px;
  font-size: 1rem;
  text-align: left;
}

.home-staff .player-details p,
.home-about-summaries p {
  margin: 0;
  color: var(--muted);
  font-family: "Roboto", sans-serif;
  font-size: 0.9rem;
  line-height: 1.5;
}

.home-about-summaries {
  display: grid;
  gap: 12px;
}

.home-about-summaries article {
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(7, 17, 29, 0.72);
}

.home-roster-icons {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
  justify-items: center;
}

.home-roster-game {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: inherit;
  text-decoration: none;
}

.home-roster-game img {
  width: min(160px, 100%);
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(77, 230, 255, 0.22));
}

.home-roster-flags {
  display: flex;
  gap: 10px;
}

.home-roster-flags a {
  font-size: 1.6rem;
  line-height: 1;
  text-decoration: none;
}

.home-socials .page-section {
  margin: 0;
  width: 100%;
}

@media (max-width: 700px) {
  .page-content {
    gap: 56px;
    padding-top: 56px;
  }

  .stats {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .home-shop-grid,
  .home-roster-icons {
    grid-template-columns: 1fr;
    max-width: 280px;
    margin-inline: auto;
  }

  .home-about-layout {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-stream {
    display: none;
  }

  .stat-box,
  .home-preview {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.site-footer {
  display: flex;
  flex: 0 0 112px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 112px;
  padding: 16px 32px;
  text-align: center;
  color: var(--muted);
  font-size: 1.4rem;
  background: #000000;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 2;
}

.page-section {
  max-width: 1100px;
  margin: 60px auto;
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: linear-gradient(145deg, var(--surface), var(--surface-strong));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.page-section h1 {
  margin-top: 0;
  color: var(--accent);
}

.page-section p {
  color: var(--muted);
  font-size: 1.8rem;
  line-height: 1.6;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.about-grid {
  column-count: 2;
  column-gap: 14px;
}

.about-card {
  display: block;
  break-inside: avoid;
  margin-bottom: 14px;
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(7, 17, 29, 0.72);
}

.about-card:last-child {
  margin-bottom: 0;
}

.about-card summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 1.6rem;
  font-weight: 700;
}

.about-card summary::-webkit-details-marker {
  display: none;
}

.about-card summary::after {
  content: "+";
  display: none;
  flex: 0 0 auto;
  color: var(--text);
  font-size: 1.4rem;
  line-height: 1;
}

.about-card[open] summary::after {
  content: "-";
}

.about-card summary:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 4px;
}

.about-card h2 {
  margin: 0 0 8px;
  color: var(--accent);
  font-size: 1.6rem;
}

.page-section .about-card p {
  display: block;
  margin: 0;
  font-size: 1.4rem;
  line-height: 1.55;
}

.about-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
  color: var(--muted);
  font-family: "Roboto", sans-serif;
  font-size: 1.4rem;
  line-height: 1.55;
}

.about-card li::before {
  content: "- ";
}

.about-card .staff-grid {
  grid-template-columns: 1fr;
  grid-auto-rows: 1fr;
  gap: 12px;
}

.about-card .staff-grid .player-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  align-items: center;
  height: 100%;
  margin: 0;
}

.about-card .staff-grid .player-avatar-wrap {
  aspect-ratio: 1;
  padding: 12px;
}

@media (max-width: 600px) {
  .about-card .staff-grid .player-card {
    grid-template-columns: 88px minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .about-grid {
    column-count: 1;
  }

  .about-card:last-child {
    margin-bottom: 0;
  }

  .about-card {
    padding: 18px;
  }

  .about-card summary::after {
    display: block;
  }
}

.roster-page {
  width: min(1180px, 100%);
  padding: 46px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(8, 24, 38, 0.96), rgba(4, 13, 24, 0.9));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.roster-heading { max-width: 680px; margin-bottom: 30px; }
.roster-heading h1 { margin: 0 0 12px; font-size: clamp(2.2rem, 5vw, 4.4rem); line-height: 0.95; }
.roster-heading > p:last-child { margin: 0; color: var(--muted); font-size: 1.1rem; line-height: 1.6; }
.roster-select-label { display: block; margin-bottom: 8px; color: var(--muted); font-size: 0.85rem; letter-spacing: 0.12em; text-transform: uppercase; }
.roster-select { width: min(420px, 100%); padding: 14px 16px; border: 1px solid var(--accent); border-radius: 8px; color: var(--text); background: var(--surface); font: 1rem "Katsumi", sans-serif; cursor: pointer; }
.roster-select:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.roster-status { min-height: 1.5em; margin: 24px 0 16px; color: var(--accent); font-size: 0.95rem; }
.player-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.player-card { overflow: hidden; min-width: 0; border: 1px solid var(--border); border-radius: 12px; background: rgba(7, 17, 29, 0.86); transition: transform 0.2s ease, border-color 0.2s ease; }
.player-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.player-avatar-wrap { position: relative; display: grid; place-items: center; aspect-ratio: 1; padding: 24px; background: radial-gradient(circle, rgba(77, 230, 255, 0.18), transparent 68%); }
.player-avatar { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 2px solid var(--accent); }
.captain-crown { position: absolute; top: 6px; z-index: 1; color: #ffd166; font-size: 2rem; line-height: 1; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7); }
.player-details { padding: 18px; }
.player-details h2 { margin: 0 0 8px; color: var(--text); font-size: 1.15rem; }
.player-details p { margin: 0; color: var(--muted); font-family: "Roboto", sans-serif; font-size: 0.9rem; line-height: 1.55; }

@media (max-width: 900px) { .player-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .roster-page { padding: 28px 18px; } .player-grid { grid-template-columns: 1fr; } }

.collection, .cart-page {
  width: min(1180px, 100%);
  padding: 42px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(8, 24, 38, 0.95), rgba(4, 13, 24, 0.9));
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

.collection-heading { margin-bottom: 30px; }
.collection h1, .cart-page h1 { margin: 0; color: var(--text); font-size: 2.3rem; }
.product-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.product-card { overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: rgba(7, 17, 29, 0.85); }
.product-media { position: relative; display: flex; align-items: center; justify-content: center; height: 245px; padding: 22px; background: radial-gradient(circle, rgba(77, 230, 255, 0.16), transparent 68%); }
.product-media img { max-width: 100%; max-height: 170px; object-fit: contain; }
.carousel-dots { position: absolute; bottom: 12px; display: flex; gap: 7px; }
.carousel-dot { width: 8px; height: 8px; padding: 0; border: 1px solid var(--accent); border-radius: 50%; background: transparent; cursor: pointer; }
.carousel-dot.is-active { background: var(--accent); box-shadow: 0 0 8px var(--accent); }
.product-info { padding: 18px; }
.product-info h2 { margin: 0 0 20px; font-size: 1.15rem; }
.product-buy { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.price { color: var(--accent); font-size: 1.25rem; }
.add-to-cart, .continue-shopping { padding: 10px 12px; border: 1px solid var(--accent); border-radius: 7px; color: var(--bg-deep); background: var(--accent); font: 700 0.8rem "Katsumi", sans-serif; cursor: pointer; text-decoration: none; }
.add-to-cart:hover, .continue-shopping:hover { background: var(--text); border-color: var(--text); }

.cart-page { max-width: 760px; }
.cart-page h1 { margin-bottom: 26px; }
.cart-line { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 0; border-top: 1px solid var(--border); }
.cart-line h2 { margin: 0 0 5px; font-size: 1.05rem; }
.cart-line p { margin: 0; color: var(--muted); }
.remove-item { padding: 6px 9px; border: 1px solid var(--border); border-radius: 6px; color: var(--muted); background: transparent; cursor: pointer; }
.cart-summary { display: flex; justify-content: space-between; margin: 20px 0; padding-top: 18px; border-top: 1px solid var(--border); font-size: 1.35rem; }
.cart-summary strong { color: var(--accent); }
.empty-cart { color: var(--muted); }

@media (max-width: 900px) { .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) {
  .collection, .cart-page { padding: 26px 18px; }
  .product-grid { grid-template-columns: 1fr; }
  .product-media { height: 220px; }
}

.social-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  max-width: 100%;
  flex-shrink: 0;
}

.social-logo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 120px;
  object-fit: contain;
}

.sponsorship-note {
  max-width: 720px;
  margin: 24px auto 0;
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: rgba(7, 17, 29, 0.72);
  font-size: 1rem !important;
  line-height: 1.5 !important;
  text-align: center;
}