/* below is the style.css file for the sports.php page */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

:root {
  --g9: #00250f;
  --g8: #003d1c;
  --g7: #005528;
  --g6: #006b34;
  --g5: #008542;
  --g4: #00a352;
  --g1: #d4f0e1;
  --g0: #f0faf5;
  --au: #ffb800;
  --au2: #ffc933;
  --au0: #fff4cc;
  --au6: #cc9200;
  --w: #fff;
  --s0: #f8f9fa;
  --s1: #f1f3f5;
  --s2: #e9ecef;
  --s3: #dee2e6;
  --s4: #ced4da;
  --s5: #adb5bd;
  --s6: #6c757d;
  --s7: #495057;
  --s8: #343a40;
  --s9: #212529;
  --fd: "Bebas Neue", sans-serif;
  --fb: "Plus Jakarta Sans", sans-serif;
  --r1: 8px;
  --r2: 14px;
  --r3: 22px;
}

body {
  font-family: var(--fb);
  background: var(--s0);
  color: var(--s9);
  overflow-x: hidden;
}

/* NAV */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--g9);
  border-bottom: 2px solid var(--au);
  transition: background 0.3s;
}

nav.sc {
  background: rgba(0, 37, 15, 0.97);
  backdrop-filter: blur(12px);
}

.ni {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  height: 64px;
}

.nl {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nb {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--au);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fd);
  font-size: 15px;
  color: var(--g9);
}

.nt span:first-child {
  font-family: var(--fd);
  font-size: 20px;
  color: #fff;
  letter-spacing: 2px;
  display: block;
  line-height: 1.1;
}

.nt span:last-child {
  font-size: 9px;
  color: var(--au2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nlinks {
  display: flex;
  align-items: center;
}

.nlinks a {
  display: flex;
  align-items: center;
  height: 64px;
  padding: 0 0.9rem;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.nlinks a:hover,
.nlinks a.ac {
  color: var(--au2);
  border-bottom-color: var(--au);
}

.ncta {
  background: var(--au) !important;
  color: var(--g9) !important;
  border-radius: var(--r1);
  height: auto !important;
  padding: 8px 16px !important;
  border-bottom: none !important;
  margin-left: 0.75rem;
  font-weight: 800 !important;
}

.nr {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nlang {
  display: flex;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--r1);
  padding: 3px;
  cursor: pointer;
}

.nlang span {
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.2s;
}

.nlang span.ac {
  background: var(--au);
  color: var(--g9);
}

.hbg {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}

.hbg span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.mmenu {
  display: none;
  background: var(--g9);
  padding: 1rem 1.5rem 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.mmenu.op {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.mmenu a {
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* HERO BANNER */
.hero {
  background: var(--g9);
  padding-top: 64px;
  position: relative;
  overflow: hidden;
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(
      0deg,
      transparent,
      transparent 36px,
      rgba(255, 255, 255, 0.5) 36px,
      rgba(255, 255, 255, 0.5) 37px
    ),
    repeating-linear-gradient(
      90deg,
      transparent,
      transparent 36px,
      rgba(255, 255, 255, 0.5) 36px,
      rgba(255, 255, 255, 0.5) 37px
    );
}

.hero-glow {
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 184, 0, 0.1) 0%,
    transparent 65%
  );
  top: -250px;
  right: -150px;
  pointer-events: none;
}

.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0;
  position: relative;
  z-index: 1;
}

.bc {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 0.75rem;
}

.bc a,
.bc span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.bc a:hover {
  color: var(--au2);
}

.bc-sep {
  color: rgba(255, 255, 255, 0.2);
}

.hero-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-h1 {
  font-family: var(--fd);
  font-size: clamp(48px, 7vw, 80px);
  color: #fff;
  letter-spacing: 2px;
  line-height: 0.9;
}

.hero-h1 em {
  color: var(--au);
  font-style: normal;
}

.hero-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.75rem;
  line-height: 1.6;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.hs {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--r2);
  padding: 0.85rem 1.1rem;
  text-align: center;
  min-width: 74px;
}

.hs-n {
  font-family: var(--fd);
  font-size: 32px;
  color: var(--au2);
  line-height: 1;
}

.hs-l {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* SPORT TABS STRIP */
.sport-strip {
  display: flex;
  overflow-x: auto;
  gap: 0;
  scrollbar-width: none;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.sport-strip::-webkit-scrollbar {
  display: none;
}

.sp-tab {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 1rem 1.25rem 0.85rem;
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--fb);
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  flex-shrink: 0;
  min-width: 80px;
}

.sp-tab:hover {
  border-bottom-color: rgba(255, 184, 0, 0.35);
}

.sp-tab.ac {
  border-bottom-color: var(--au);
}

.sp-icon {
  font-size: 24px;
  transition: transform 0.2s;
}

.sp-tab.ac .sp-icon,
.sp-tab:hover .sp-icon {
  transform: scale(1.15);
}

.sp-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
  white-space: nowrap;
}

.sp-tab.ac .sp-label,
.sp-tab:hover .sp-label {
  color: var(--au2);
}

/* PAGE LAYOUT */
.wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 1.75rem;
  align-items: start;
}

/* CARDS */
.card {
  background: var(--w);
  border-radius: var(--r3);
  overflow: hidden;
  border: 1px solid var(--s2);
  margin-bottom: 1.75rem;
}

.card:last-child {
  margin-bottom: 0;
}

.ch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.1rem 1.5rem;
  border-bottom: 1px solid var(--s1);
}

.ch-l {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ch-icon {
  font-size: 22px;
}

.ch-title {
  font-family: var(--fd);
  font-size: 22px;
  color: var(--s9);
  letter-spacing: 0.5px;
  line-height: 1;
}

.ch-sub {
  font-size: 12px;
  color: var(--s5);
  margin-top: 2px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.b-gold {
  background: var(--au0);
  color: var(--au6);
}

.b-green {
  background: var(--g1);
  color: var(--g7);
}

.b-red {
  background: #fee2e2;
  color: #dc2626;
}

.b-gray {
  background: var(--s1);
  color: var(--s6);
}

/* GROUP TABS */
.gtabs {
  display: flex;
  gap: 4px;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--s1);
  background: var(--s0);
  overflow-x: auto;
  scrollbar-width: none;
}

.gtabs::-webkit-scrollbar {
  display: none;
}

.gtab {
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border: 1.5px solid var(--s2);
  background: var(--w);
  color: var(--s6);
  transition: all 0.2s;
  white-space: nowrap;
}

.gtab.ac {
  background: var(--g6);
  color: #fff;
  border-color: var(--g6);
}

.gtab:hover:not(.ac) {
  border-color: var(--g4);
  color: var(--g6);
}

/* STANDINGS TABLE */
.tscroll {
  overflow-x: auto;
}

table.st {
  width: 100%;
  border-collapse: collapse;
  min-width: 480px;
}

table.st thead tr {
  background: var(--s0);
}

table.st th {
  padding: 9px 12px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--s5);
  border-bottom: 1px solid var(--s2);
  white-space: nowrap;
  text-align: center;
}

table.st th:first-child {
  text-align: left;
  padding-left: 16px;
}

table.st td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--s1);
  font-size: 13px;
  color: var(--s7);
  text-align: center;
  vertical-align: middle;
}

table.st td:first-child {
  text-align: left;
  border-left: 3px solid transparent;
  padding-left: 13px;
}

table.st tr:last-child td {
  border-bottom: none;
}

table.st tbody tr:hover td {
  background: var(--g0);
}

table.st tbody tr.z-gold td:first-child {
  border-left-color: var(--au);
}

table.st tbody tr.z-green td:first-child {
  border-left-color: var(--g5);
}

table.st tbody tr.z-red td:first-child {
  border-left-color: #ef4444;
}

.tc {
  display: flex;
  align-items: center;
  gap: 9px;
}

.tava {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.tname {
  font-size: 13px;
  font-weight: 700;
  color: var(--s9);
}

.tsub {
  font-size: 10px;
  color: var(--s5);
}

.rn {
  font-size: 11px;
  font-weight: 700;
  color: var(--s4);
  min-width: 14px;
}

.pts {
  font-weight: 800;
  font-size: 14px;
  color: var(--g6);
}

.fd-wrap {
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
}

.fd {
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.fd.w {
  background: #22c55e;
}

.fd.d {
  background: var(--s3);
}

.fd.l {
  background: #ef4444;
}

.zone-legend {
  display: flex;
  gap: 1.25rem;
  padding: 0.75rem 1.5rem;
  background: var(--s0);
  border-top: 1px solid var(--s1);
  flex-wrap: wrap;
}

.zl {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--s6);
  font-weight: 600;
}

.zd {
  width: 10px;
  height: 10px;
  border-radius: 2px;
  flex-shrink: 0;
}

/* RESULTS */
.ri {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 1.5rem;
  border-bottom: 1px solid var(--s1);
  cursor: pointer;
  transition: background 0.15s;
}

.ri:last-child {
  border-bottom: none;
}

.ri:hover {
  background: var(--g0);
}

.r-date {
  font-size: 10px;
  font-weight: 800;
  color: var(--s5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 52px;
  flex-shrink: 0;
}

.r-match {
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.r-team {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: 1;
  min-width: 0;
}

.r-team.right {
  justify-content: flex-end;
  flex-direction: row-reverse;
}

.r-ava {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 9px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.r-tname {
  font-size: 13px;
  font-weight: 600;
  color: var(--s8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.r-tname.win {
  font-weight: 800;
  color: var(--s9);
}

.r-score {
  display: flex;
  align-items: center;
  padding: 0 10px;
  flex-shrink: 0;
}

.r-sn {
  font-family: var(--fd);
  font-size: 22px;
  color: var(--s9);
  line-height: 1;
  min-width: 20px;
  text-align: center;
}

.r-sn.win {
  color: var(--g6);
}

.r-sep {
  font-size: 12px;
  color: var(--s4);
  font-weight: 700;
  padding: 0 3px;
}

.r-stage {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 100px;
  background: var(--s1);
  color: var(--s6);
  white-space: nowrap;
  letter-spacing: 0.5px;
  flex-shrink: 0;
}

/* FIXTURES */
.fi-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 1.5rem;
  border-bottom: 1px solid var(--s1);
  transition: background 0.15s;
}

.fi-row:last-child {
  border-bottom: none;
}

.fi-row:hover {
  background: var(--g0);
}

.f-date .d {
  font-size: 12px;
  font-weight: 800;
  color: var(--g6);
}

.f-date .t {
  font-size: 10px;
  color: var(--s5);
  margin-top: 1px;
}

.f-vs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  flex-wrap: wrap;
}

.f-ava {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.f-tname {
  font-size: 13px;
  font-weight: 600;
  color: var(--s8);
}

.f-sep {
  font-size: 10px;
  font-weight: 800;
  color: var(--s4);
  padding: 0 2px;
}

.f-right {
  text-align: right;
  flex-shrink: 0;
}

.f-venue {
  font-size: 10px;
  color: var(--s5);
  margin-top: 3px;
}

/* SCORERS */
.si {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 1.5rem;
  border-bottom: 1px solid var(--s1);
  transition: background 0.15s;
}

.si:last-child {
  border-bottom: none;
}

.si:hover {
  background: var(--s0);
}

.s-rank {
  font-family: var(--fd);
  font-size: 22px;
  color: var(--s2);
  min-width: 22px;
  line-height: 1;
}

.s-rank.top {
  color: var(--au);
}

.s-ava {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.s-info {
  flex: 1;
}

.s-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--s9);
}

.s-org {
  font-size: 11px;
  color: var(--s5);
  margin-top: 1px;
}

.s-num {
  font-family: var(--fd);
  font-size: 30px;
  color: var(--g5);
  line-height: 1;
}

.s-unit {
  font-size: 9px;
  color: var(--s5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* SIDEBAR */
.sc-card {
  background: var(--w);
  border-radius: var(--r3);
  overflow: hidden;
  border: 1px solid var(--s2);
  margin-bottom: 1.25rem;
}

.sc-card:last-child {
  margin-bottom: 0;
}

.sch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--s1);
}

.sc-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--s7);
  display: flex;
  align-items: center;
  gap: 7px;
}

.sc-title::before {
  content: "";
  display: block;
  width: 10px;
  height: 3px;
  background: var(--au);
  border-radius: 2px;
  flex-shrink: 0;
}

.sc-link {
  font-size: 11px;
  font-weight: 700;
  color: var(--g5);
  text-decoration: none;
  text-transform: uppercase;
}

/* COUNTDOWN */
.countdown {
  background: var(--g9);
  border-radius: var(--r3);
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

.cd-title {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--au2);
  text-align: center;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: center;
}

.cd-title::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--au);
  animation: pulse 2s infinite;
  flex-shrink: 0;
}

.cd-boxes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.cd-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--r2);
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.cd-n {
  font-family: var(--fd);
  font-size: 30px;
  color: var(--au2);
  line-height: 1;
}

.cd-u {
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.35);
  margin-top: 2px;
}

/* NEXT MATCH */
.next-match {
  background: linear-gradient(135deg, var(--g9), var(--g7));
  border-radius: var(--r3);
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.next-match::after {
  content: "VS";
  font-family: var(--fd);
  font-size: 100px;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  letter-spacing: 4px;
  pointer-events: none;
}

.nm-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--au2);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.nm-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--au);
  animation: pulse 2s infinite;
}

.nm-teams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.nm-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.nm-ava {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  color: #fff;
}

.nm-name {
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.nm-org {
  font-size: 9px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

.nm-vs {
  font-family: var(--fd);
  font-size: 26px;
  color: var(--au);
  flex-shrink: 0;
}

.nm-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.nm-row {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* MINI STANDINGS */
.msi {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 1.25rem;
  border-bottom: 1px solid var(--s1);
  transition: background 0.15s;
  cursor: pointer;
}

.msi:last-child {
  border-bottom: none;
}

.msi:hover {
  background: var(--g0);
}

.ms-rank {
  font-size: 11px;
  font-weight: 700;
  color: var(--s4);
  min-width: 14px;
}

.ms-ava {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.ms-name {
  flex: 1;
  font-size: 12px;
  font-weight: 600;
  color: var(--s8);
}

.ms-pts {
  font-weight: 800;
  font-size: 13px;
  color: var(--g6);
}

/* SPORT TILES */
.tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding: 1rem 1.25rem;
}

.tile {
  border-radius: var(--r2);
  padding: 0.85rem 1rem;
  cursor: pointer;
  transition: all 0.2s;
  border: 1.5px solid var(--s2);
  background: var(--w);
}

.tile:hover {
  border-color: var(--g4);
  background: var(--g0);
  transform: translateY(-2px);
}

.tile-icon {
  font-size: 18px;
  margin-bottom: 4px;
}

.tile-name {
  font-size: 11px;
  font-weight: 700;
  color: var(--s8);
}

.tile-info {
  font-size: 10px;
  color: var(--s5);
  margin-top: 2px;
}

/* MODAL */
.modal-bg {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(6px);
}

.modal-bg.op {
  display: flex;
}

.modal {
  background: var(--w);
  border-radius: var(--r3);
  width: min(560px, 100%);
  overflow: hidden;
  animation: mIn 0.22s ease;
}

@keyframes mIn {
  from {
    transform: scale(0.94) translateY(14px);
    opacity: 0;
  }

  to {
    transform: none;
    opacity: 1;
  }
}

.mh {
  background: var(--g9);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mh h3 {
  font-family: var(--fd);
  font-size: 24px;
  color: #fff;
  letter-spacing: 1px;
}

.m-close {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
}

.m-close:hover {
  background: #dc2626;
}

.m-score {
  background: var(--g8);
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.m-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.m-ava {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.m-tname {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  text-align: center;
}

.m-sbox {
  display: flex;
  align-items: center;
  gap: 4px;
}

.m-sn {
  font-family: var(--fd);
  font-size: 52px;
  color: var(--au);
  line-height: 1;
  min-width: 36px;
  text-align: center;
}

.m-ssep {
  font-family: var(--fd);
  font-size: 24px;
  color: rgba(255, 255, 255, 0.25);
  padding: 0 4px;
}

.m-body {
  padding: 1.5rem;
}

.m-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 1.25rem;
}

.m-item {
  background: var(--s0);
  border-radius: var(--r2);
  padding: 0.75rem 1rem;
}

.m-lbl {
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--s4);
  margin-bottom: 3px;
}

.m-val {
  font-size: 13px;
  font-weight: 700;
  color: var(--s8);
}

.m-stitle {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--s5);
  margin-bottom: 0.75rem;
}

.m-srow {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid var(--s1);
}

.m-srow:last-child {
  border-bottom: none;
}

.m-sname {
  font-weight: 600;
  color: var(--s8);
  flex: 1;
}

.m-sorg {
  font-size: 11px;
  color: var(--s5);
}

.m-smin {
  font-size: 11px;
  color: var(--s5);
}

.empty {
  padding: 2rem;
  text-align: center;
  color: var(--s5);
  font-size: 13px;
}

/* BACK TO TOP */
#btt {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 99;
  width: 44px;
  height: 44px;
  background: var(--au);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s;
  box-shadow: 0 4px 16px rgba(255, 184, 0, 0.4);
  color: var(--g9);
  font-weight: 900;
  font-size: 18px;
  border: none;
}

#btt.vis {
  opacity: 1;
  transform: translateY(0);
}

/* FOOTER */
footer {
  background: var(--g9);
  color: #fff;
  padding: 3.5rem 1.5rem 2rem;
}

.fi-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.ft {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}

.fb p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin: 1rem 0 1.25rem;
}

.fc-item {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 7px;
}

.fc h4 {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--au2);
  margin-bottom: 0.9rem;
}

.fc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fc ul li a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.fc ul li a:hover {
  color: var(--au2);
}

.f-social {
  display: flex;
  gap: 8px;
  margin-top: 0.9rem;
}

.f-sb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.2s;
}

.f-sb:hover {
  background: var(--au);
  color: var(--g9);
}

.fb-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.fb-row p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.35);
}

.fb-links {
  display: flex;
  gap: 1.25rem;
}

.fb-links a {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-decoration: none;
}

.fb-links a:hover {
  color: var(--au2);
}

.flogo {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 0.9rem;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(1.3);
  }
}

@media (max-width: 1024px) {
  .wrap {
    grid-template-columns: 1fr;
  }

  .ft {
    grid-template-columns: 1fr 1fr;
  }

  .hero-stats {
    display: none;
  }
}

@media (max-width: 768px) {
  .nlinks {
    display: none;
  }

  .hbg {
    display: flex;
  }

  .wrap {
    padding: 1.25rem 1.25rem 4rem;
  }

  .ft {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .m-grid {
    grid-template-columns: 1fr;
  }
}
