@font-face {
  font-family: 'Basketball';
  src: url('/assets/fonts/basketball.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Poppins Regular */
@font-face {
  font-family: 'Poppins';
  src: url('/assets/fonts/poppins.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* === RESET === */
* { box-sizing: border-box; margin: 0; padding: 0; }

/* === BASE === */
body {
  font-family: 'Poppins', ui-sans-serif, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  color: #f2f5fa;
  background: #0b1220; /* fallback if image fails */
  min-height: 100vh;
}

/* === BACKGROUND LAYER === */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.45)),  /* dim overlay */
    url("assets/court.png") center/cover no-repeat;       /* background image */
}

/* === MAIN WRAPPER === */
.wrap {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 20px;
}

/* === BRANDING === */
.logo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: contain;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.08);
  padding: 10px;
}
.title {
  font-family: 'Basketball', sans-serif;
  font-size: clamp(32px, 6vw, 64px);
  letter-spacing: 2px;
  font-weight: 800;
  color: #fff;
  text-shadow: 0 2px 5px rgba(0,0,0,0.8);
  margin-bottom: 10px;
}
.subtitle {
  font-family: 'Basketball', sans-serif;
  font-size: clamp(16px, 3vw, 20px);
  color: #ffde59;
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
  margin-bottom: 30px;
}

/* === COUNTDOWN === */
.countdown {
  font-family: 'Basketball', sans-serif;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 30px;
}
.tile {
  min-width: 80px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(6px);
}
.tile span {
  display: block;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.1;
}
.tile label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  color: #b6c2d1;
  margin-top: 6px;
}

/* === SOCIAL ICONS === */
.social {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 30px;
}
.icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform .12s ease, background .12s ease;
}
.icon:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.1);
}
.icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  color: #f2f5fa;
}

/* === FOOTER === */
.footer {
  text-align: center;
  color: #b6c2d1;
  font-size: 14px;
}
.footer a {
  color: #ff3b30;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* ==== LIVE / VOD SECTIONS ==== */
.live-wrap, .vod-wrap {
  width: min(1100px, 92vw);
  margin: 22px auto 10px;
  text-align: left;
}

.live-title, .vod-title {
  font-size: clamp(18px, 3vw, 22px);
  margin: 0 0 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0,0,0,.6);
}

.live-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #ef4444;
  box-shadow: 0 0 0 6px rgba(239,68,68,.15);
}

.player {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  overflow: hidden;
  border-radius: 14px;
  background: rgba(0,0,0,.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.08);
}

.player > iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
  border-radius: 14px;
}
