:root {
  --navy: #071a33;
  --deep: #0a2d3a;
  --ink: #102033;
  --cream: #f6f2e6;
  --mint: #dff5ea;
  --lime: #13b87a;
  --gold: #ffe143;
  --blue: #cfeeff;
  --violet: #29245d;
}

/* Final mobile overflow lock. Keep this at the very end so it wins over all earlier hero rules. */
@media (max-width: 620px) {
  html,
  body {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  body {
    position: relative;
  }

  body::before,
  body::after {
    max-width: 100vw !important;
    overflow: hidden !important;
  }

  .hero {
    width: calc(100vw - 24px) !important;
    max-width: calc(100vw - 24px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden !important;
    contain: paint !important;
  }

  .hero-art {
    left: 0 !important;
    right: 0 !important;
    inset-inline: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    transform: none !important;
    overflow: hidden !important;
  }

  .hero-art img,
  .welcome-trophy {
    max-width: 100% !important;
  }

  .hero-art img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: #f8fbff;
  font-family: Arial, Helvetica, system-ui, sans-serif;
  background:
    radial-gradient(circle at 48% 8%, rgba(255, 223, 84, 0.2), transparent 18rem),
    radial-gradient(circle at 18% 36%, rgba(255, 63, 86, 0.18), transparent 15rem),
    radial-gradient(circle at 86% 38%, rgba(19, 184, 122, 0.12), transparent 17rem),
    linear-gradient(145deg, #08080b 0%, #111018 38%, #180b12 68%, #050506 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto auto -9rem -5rem;
  width: 42vw;
  height: 64vh;
  border-radius: 45% 55% 0 0;
  background: rgba(255, 63, 86, 0.1);
  transform: skewX(-14deg);
  pointer-events: none;
}

body::after {
  inset: auto -7rem -8rem auto;
  transform: skewX(12deg);
}

.stadium-glow {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% -10%, rgba(255,255,255,.18), transparent 32rem),
    linear-gradient(64deg, transparent 34%, rgba(255,255,255,.08) 34% 37%, transparent 48%),
    linear-gradient(116deg, transparent 50%, rgba(255,255,255,.07) 56% 59%, transparent 70%),
    repeating-linear-gradient(90deg, transparent 0 6.8rem, rgba(255,255,255,.024) 6.8rem 7rem);
  opacity: 0.9;
  pointer-events: none;
}

main,
.hero,
footer,
.legal {
  position: relative;
  z-index: 1;
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.hero {
  display: grid;
  min-height: 540px;
  align-items: end;
  text-align: center;
  padding: 24px 0 28px;
}

.social-actions {
  position: absolute;
  top: 18px;
  right: 0;
  z-index: 5;
  display: flex;
  gap: 10px;
}

.social-actions a {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  color: white;
  background: rgba(10, 10, 14, 0.56);
  backdrop-filter: blur(10px);
  font-size: 0.82rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.24);
}

.social-actions a:hover {
  color: #073b2b;
  background: var(--gold);
}

.hero-art {
  position: absolute;
  inset: 0 50%;
  width: min(1240px, 112vw);
  transform: translateX(-50%);
  border-radius: 0 0 34px 34px;
  overflow: hidden;
  opacity: 0.34;
  mask-image: linear-gradient(#000 58%, transparent 100%);
  box-shadow: 0 28px 120px rgba(80, 0, 20, 0.25);
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(0.92) hue-rotate(328deg);
}

.welcome-trophy {
  position: absolute;
  top: 36px;
  left: 50%;
  z-index: 1;
  width: min(280px, 42vw);
  max-height: 470px;
  transform: translateX(-50%);
  opacity: 0.34;
  filter: blur(10px) saturate(1.08) drop-shadow(0 0 34px rgba(255, 225, 67, 0.48));
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: min(1060px, 92vw);
  height: 170px;
  transform: translateX(-50%);
  border-radius: 999px 999px 0 0;
  background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,225,67,.16), rgba(255,255,255,.18), rgba(255,255,255,.04));
  filter: blur(18px);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-bottom: 18px;
  text-shadow: 0 12px 34px rgba(87, 0, 18, 0.34);
}

.kicker,
.eyebrow {
  margin: 0;
  color: #fff1a4;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.46em;
  text-transform: uppercase;
}

.hero h1,
.board h2,
.sounds h2,
.hub-card h2 {
  margin: 8px 0 12px;
  font-family: Anton, Impact, sans-serif;
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(4.2rem, 10vw, 8rem);
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.intro {
  max-width: 700px;
  margin: 0 auto 28px;
  color: #fff7f4;
  font-size: 1.12rem;
  line-height: 1.55;
  font-weight: 800;
}

.tabs {
  display: inline-flex;
  gap: 10px;
  padding: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
}

button {
  border: 0;
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.tab,
.refresh,
.contract-box button,
.contract-box .trade,
.trade,
.song button {
  border-radius: 999px;
  min-height: 40px;
  padding: 0 22px;
  color: white;
  background: var(--lime);
  box-shadow: 0 10px 22px rgba(6, 100, 73, 0.22);
  text-decoration: none;
}

.trade {
  display: inline-grid;
  place-items: center;
}

.trade.disabled {
  opacity: 0.46;
  cursor: default;
  pointer-events: none;
  filter: grayscale(0.4);
}

.hub-trade {
  justify-self: start;
}

.live-pill {
  display: inline-grid;
  place-items: center;
  cursor: default;
  pointer-events: none;
}

a.live-pill {
  cursor: pointer;
  pointer-events: auto;
}

.tab {
  color: white;
  background: rgba(255, 255, 255, 0.24);
}

.tab.active {
  color: #073b2b;
  background: var(--gold);
}

.countdown-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  min-height: 170px;
  padding: 28px 34px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 20px;
  background:
    linear-gradient(110deg, rgba(20, 20, 26, 0.82), rgba(66, 13, 28, 0.72)),
    radial-gradient(circle at 78% 15%, rgba(255, 225, 67, 0.2), transparent 11rem);
  backdrop-filter: blur(12px);
}

.countdown-panel h2 {
  margin: 8px 0 4px;
}

.match-title {
  display: inline-grid;
  grid-template-columns: 50px auto 42px auto 50px;
  align-items: center;
  gap: 12px;
}

.match-title img {
  width: 50px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.22);
}

.match-title em {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: #6f1628;
  background: #fff1a4;
  font-family: Arial, Helvetica, system-ui, sans-serif;
  font-size: 0.76rem;
  font-style: normal;
  font-weight: 900;
}

.countdown {
  display: flex;
  gap: 12px;
}

.countdown div {
  display: grid;
  place-items: center;
  width: 82px;
  height: 78px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
}

.countdown strong {
  font-family: Anton, Impact, sans-serif;
  font-size: 2rem;
}

.countdown span {
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spotlight-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.spotlight-strip article {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 18px;
  border-radius: 18px;
  color: white;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    rgba(16, 16, 22, 0.74);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}

.spotlight-strip span {
  grid-column: 1 / -1;
  color: #ffe77a;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.spotlight-strip strong {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
  overflow: hidden;
  font-family: Anton, Impact, sans-serif;
  font-size: 1.7rem;
  font-weight: 400;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.spotlight-strip strong img {
  width: 38px;
  height: 26px;
  flex: 0 0 auto;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18);
}

.spotlight-strip em {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  color: #073b2b;
  background: var(--gold);
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-actions {
  display: inline-flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 14px;
}

.all-matches-btn,
.close-layer {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  color: #073b2b;
  background: var(--gold);
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.22);
}

.all-matches-btn.alt {
  color: white;
  background: rgba(255, 255, 255, 0.16);
}

.close-layer {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.layer-open {
  overflow: hidden;
}

.match-layer {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  padding: 24px;
  overflow: auto;
  background: rgba(0, 0, 0, 0.74);
  backdrop-filter: blur(14px);
}

.match-layer.open {
  display: block;
}

.match-schedule {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 80% 0%, rgba(255, 225, 67, 0.14), transparent 16rem),
    #09090d;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.stars-panel {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  background:
    radial-gradient(circle at 82% 0%, rgba(255, 225, 67, 0.16), transparent 16rem),
    #09090d;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.55);
}

.stars-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.star-card {
  min-height: 332px;
}

.star-player {
  margin-top: 18px;
  padding: 16px 14px;
  border: 1px solid rgba(120, 190, 220, 0.35);
  border-radius: 14px;
  background: rgba(216, 246, 255, 0.56);
}

.star-player.compact {
  margin-top: 10px;
  padding: 12px;
  background: rgba(255, 244, 223, 0.82);
}

.star-player span {
  display: block;
  color: #63728b;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.star-player strong {
  display: block;
  margin-top: 7px;
  overflow: hidden;
  color: #00614d;
  font-family: Anton, Impact, sans-serif;
  font-size: 1.9rem;
  font-weight: 400;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.star-player.compact strong {
  color: #102033;
  font-family: Arial, Helvetica, system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: none;
}

.schedule-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.schedule-list {
  display: grid;
  gap: 22px;
}

.schedule-day h3 {
  margin: 0 0 12px;
  color: #fff1a4;
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.match-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.match-card {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 85% 0%, rgba(255, 225, 67, 0.1), transparent 8rem),
    rgba(10, 10, 14, 0.66);
  min-width: 0;
}

.match-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #f3d7d7;
  font-size: 0.78rem;
  font-weight: 900;
}

.match-meta span {
  color: #fff1a4;
  text-transform: uppercase;
}

.match-teams {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.match-teams em {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  color: #073b2b;
  background: var(--gold);
  font-style: normal;
  font-weight: 900;
}

.match-team {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: white;
  text-decoration: none;
  min-width: 0;
}

.match-team img {
  width: 38px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
}

.match-team span {
  overflow: hidden;
  font-family: Arial, Helvetica, system-ui, sans-serif;
  font-size: clamp(0.86rem, 1.7vw, 1.08rem);
  line-height: 1.15;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.match-team small {
  grid-column: 2;
  color: #16c783;
  font-size: 0.76rem;
  font-weight: 900;
}

.venue {
  display: grid;
  gap: 2px;
  color: #f8dede;
  font-size: 0.9rem;
}

.venue strong {
  color: white;
}

.knockout-card {
  margin-top: 24px;
  padding: 22px;
  border-radius: 18px;
  color: #f8dede;
  background: rgba(10, 10, 14, 0.66);
}

.knockout-card h3 {
  margin: 0 0 6px;
  font-family: Anton, Impact, sans-serif;
  font-size: 2rem;
  font-weight: 400;
  text-transform: uppercase;
}

.knockout-card div {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.knockout-card span {
  padding: 9px 12px;
  border-radius: 999px;
  color: #102033;
  background: #fff1a4;
  font-size: 0.86rem;
  font-weight: 900;
}

.hub-card,
.sounds {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 34px;
  margin-top: 0;
  padding: 34px;
  color: var(--ink);
  border-top: 2px solid var(--gold);
  border-radius: 24px;
  background: linear-gradient(115deg, #fbfaf0, #e6f5f0 55%, #f5faf9);
}

.green {
  color: #00684b;
}

.hub-card h2 {
  color: #063e28;
  font-size: 3.2rem;
}

.hub-copy p {
  max-width: 730px;
  line-height: 1.65;
  font-weight: 700;
}

.contract-box {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 14px;
  align-items: center;
  max-width: 640px;
  margin-top: 20px;
  padding: 16px;
  border: 1px solid #dbe4ec;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.75);
}

.contract-box span {
  grid-column: 1 / -1;
  color: #697891;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contract-box code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-card {
  display: grid;
  gap: 22px;
  padding: 24px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 0 0 1px rgba(40, 70, 90, 0.1);
}

.market-card span,
.metric span {
  display: block;
  color: #63728b;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.market-card strong {
  display: block;
  margin-top: 8px;
  color: #082d24;
  font-family: Anton, Impact, sans-serif;
  font-size: 2rem;
  letter-spacing: 0;
}

.board {
  padding: 40px 0 8px;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.team-search {
  display: grid;
  grid-template-columns: auto minmax(220px, 360px) minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin: 0 0 20px;
}

.team-search label {
  color: #fff1a4;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.team-search input {
  min-height: 42px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: white;
  font: inherit;
  font-weight: 800;
  background: rgba(10, 10, 14, 0.58);
  outline: none;
}

.team-search input::placeholder {
  color: rgba(255, 255, 255, 0.62);
}

.team-search input:focus {
  border-color: #ffe143;
  box-shadow: 0 0 0 3px rgba(255, 225, 67, 0.16);
}

.suggestions {
  display: flex;
  gap: 8px;
  min-width: 0;
  overflow-x: auto;
  padding-bottom: 3px;
}

.suggestions button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  color: #102033;
  background: rgba(255, 255, 255, 0.9);
  font-size: 0.8rem;
  white-space: nowrap;
}

.suggestions img {
  width: 24px;
  height: 16px;
  border-radius: 4px;
  object-fit: cover;
}

.empty-results {
  grid-column: 1 / -1;
  padding: 28px;
  border-radius: 18px;
  text-align: center;
  color: #fff1a4;
  background: rgba(10, 10, 14, 0.58);
  font-weight: 900;
}

.section-head h2,
.sounds h2 {
  font-size: 3rem;
}

.section-head p,
.sounds p {
  max-width: 760px;
  color: #dbe6f7;
  line-height: 1.5;
  font-weight: 800;
}

.coin-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.coin {
  position: relative;
  overflow: hidden;
  min-height: 260px;
  padding: 20px;
  border-radius: 22px;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 8%, rgba(75, 220, 141, 0.28), transparent 7rem),
    linear-gradient(135deg, #f7f8f5, #e5faf1);
  box-shadow: 0 20px 34px rgba(0, 0, 0, 0.18);
}

.coin::before {
  content: "";
  position: absolute;
  inset: -36px -46px auto auto;
  width: 116px;
  height: 116px;
  border-radius: 999px;
  background: repeating-conic-gradient(from 10deg, rgba(255,255,255,.7) 0 10deg, rgba(255,225,67,.42) 10deg 20deg);
  opacity: 0.42;
}

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

.coin-head {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
}

.flag {
  display: grid;
  place-items: center;
  width: 58px;
  height: 42px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  overflow: hidden;
  box-shadow: 0 5px 13px rgba(20, 40, 60, 0.18);
}

.flag img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.flag::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,.38), transparent 52%);
  pointer-events: none;
}

.flag-missing {
  background:
    linear-gradient(135deg, #f5f7fb 0 45%, #dce6ef 45% 55%, #f5f7fb 55%);
}

.coin h3 {
  margin: 0;
  overflow: hidden;
  color: #093f29;
  font-family: Anton, Impact, sans-serif;
  font-size: 1.78rem;
  font-weight: 400;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.trade {
  min-height: 32px;
  padding-inline: 14px;
  font-size: 0.82rem;
}

.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.metric,
.price {
  border: 1px solid rgba(120, 190, 220, 0.35);
  border-radius: 14px;
  padding: 14px 12px;
  background: rgba(216, 246, 255, 0.56);
}

.metric.volume {
  border-color: rgba(142, 132, 255, 0.42);
  background: rgba(229, 235, 255, 0.62);
}

.metric strong {
  display: block;
  margin-top: 6px;
  color: #00614d;
  font-family: Anton, Impact, sans-serif;
  font-size: 1.86rem;
  letter-spacing: 0;
}

.metric.volume strong {
  color: var(--violet);
}

.price {
  margin-top: 10px;
  background: #fff4df;
}

.price strong {
  display: block;
  margin-top: 6px;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
}

.sync-row {
  display: block;
  align-items: center;
  margin-top: 12px;
}

.sync-row span,
.sync-row a {
  min-width: 0;
  overflow: hidden;
  color: #617188;
  font-size: 0.74rem;
  font-weight: 900;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sync-row a {
  color: #00765b;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.address {
  display: block;
  margin-top: 10px;
  overflow: hidden;
  color: #617188;
  font-size: 0.72rem;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sync-status {
  display: block;
  margin-top: 4px;
  min-height: 18px;
  color: #00765b;
  font-size: 0.72rem;
  font-weight: 900;
}

.sounds {
  margin: 26px auto 0;
  border-top: 0;
  background:
    radial-gradient(circle at 86% 20%, rgba(255, 225, 67, 0.32), transparent 9rem),
    rgba(232, 238, 242, 0.9);
}

.sounds h2 {
  color: #063e28;
}

.sounds p {
  color: #56657b;
}

.song-list {
  display: grid;
  gap: 10px;
  max-height: 300px;
  padding-right: 8px;
  overflow: auto;
}

.song {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 12px;
  background: white;
}

.song strong {
  color: #111b2f;
}

.song span {
  color: #52637a;
  font-size: 0.88rem;
}

.song button {
  min-height: 32px;
  padding-inline: 12px;
}

.player {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: 235px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(135deg, #eefbff, #fff9ec);
}

.player .note {
  color: #7060af;
  font-size: 3.5rem;
}

.player span {
  color: #63728b;
}

.youtube-link {
  display: inline-grid;
  place-items: center;
  min-height: 38px;
  margin-top: 14px;
  padding: 0 18px;
  border-radius: 999px;
  color: #073b2b;
  background: var(--gold);
  font-weight: 900;
  text-decoration: none;
}

footer {
  padding: 28px 0 40px;
  text-align: center;
  color: #fff2f2;
  font-size: 0.86rem;
  line-height: 1.55;
}

footer div {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

footer p {
  max-width: 900px;
  margin: 0 auto;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 14px;
  background: rgba(10, 10, 14, 0.58);
}

.legal {
  margin-bottom: 44px;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  color: #fff4f4;
  background: rgba(7, 7, 10, 0.72);
  line-height: 1.6;
}

.legal h2,
.legal h3 {
  margin: 20px 0 8px;
  color: #fff;
}

.legal h2 {
  margin-top: 10px;
  font-family: Anton, Impact, sans-serif;
  font-size: 2.4rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: uppercase;
}

.legal h3 {
  font-size: 1rem;
}

.legal p,
.legal li {
  color: #f8dede;
}

.legal .updated {
  color: #ffe77a;
  font-weight: 900;
}

.legal .important {
  padding: 14px 16px;
  border-radius: 12px;
  color: #261403;
  background: #ffe77a;
  font-weight: 800;
}

.legal ul {
  padding-left: 22px;
}

a {
  color: #ffe77a;
  font-weight: 900;
}

@media (max-width: 980px) {
  .coin-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-card,
  .sounds,
  .countdown-panel {
    grid-template-columns: 1fr;
  }

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

  .match-team span {
    font-size: 0.95rem;
  }

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

  .spotlight-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
  }

  main,
  .hero,
  footer {
    width: min(100% - 24px, 1160px);
    max-width: calc(100vw - 24px);
  }

  .hero h1 {
    font-size: 3.8rem;
  }

  .hero {
    min-height: 520px;
    overflow: hidden;
    contain: paint;
  }

  .social-actions {
    left: 0;
    right: 0;
    justify-content: center;
  }

  .hero-art {
    inset: 0;
    width: 100%;
    max-width: 100%;
    transform: none;
    border-radius: 0 0 24px 24px;
  }

  .hero-art img {
    width: 100%;
    max-width: 100%;
  }

  .welcome-trophy {
    top: 44px;
    left: 50%;
    width: min(260px, 70vw);
    max-width: 70vw;
    opacity: 0.42;
  }

  .intro {
    font-size: 0.92rem;
  }

  .match-title {
    grid-template-columns: 38px minmax(0, auto) 34px minmax(0, auto) 38px;
    gap: 8px;
    font-size: 1.28rem;
  }

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

  .match-title img {
    width: 38px;
    height: 26px;
  }

  .match-title em {
    width: 34px;
    height: 34px;
    font-size: 0.68rem;
  }

  .spotlight-strip article {
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  }

  .spotlight-strip strong {
    font-size: 1.18rem;
  }

  .spotlight-strip strong img {
    width: 30px;
    height: 21px;
  }

  .match-teams {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }

  .match-teams em {
    justify-self: center;
  }

  .match-team {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .match-team img {
    width: 34px;
    height: 23px;
  }

  .tabs,
  .section-head,
  .team-search,
  .countdown {
    width: 100%;
  }

  .tabs,
  .section-head,
  .team-search {
    flex-direction: column;
    align-items: stretch;
  }

  .team-search {
    display: grid;
    grid-template-columns: 1fr;
  }

  .tab,
  .refresh {
    flex: 1;
  }

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

  .countdown div {
    width: auto;
  }

  .hub-card,
  .sounds,
  .countdown-panel {
    padding: 22px;
    border-radius: 18px;
  }

  .hub-card {
    gap: 18px;
  }

  .hub-card h2 {
    font-size: 2.55rem;
  }

  .hub-copy p {
    line-height: 1.48;
    font-size: 0.96rem;
  }

  .hub-card .contract-box {
    margin-top: 14px;
    padding: 14px;
  }

  .hub-card .market-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 16px;
  }

  .hub-card .market-card div {
    min-width: 0;
    padding: 12px;
    border: 1px solid rgba(120, 190, 220, 0.3);
    border-radius: 12px;
    background: rgba(216, 246, 255, 0.5);
  }

  .hub-card .market-card strong {
    overflow-wrap: anywhere;
    font-size: 1.58rem;
  }

  .hub-card #hubStatus {
    font-family: Arial, Helvetica, system-ui, sans-serif;
    font-size: 0.86rem;
    font-weight: 900;
    line-height: 1.25;
  }

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

  .contract-box {
    grid-template-columns: 1fr;
  }
}
