:root {
  --bg: #0b0d12;
  --card: #151922;
  --card-hover: #1d2330;
  --text: #f5f7fb;
  --muted: #9aa3b2;
  --accent: #018965;
  --danger: #ff4d5e;
  --border: rgba(255,255,255,0.08);
}


* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}


body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
}

button {
  font: inherit;
  cursor: pointer;
}

.app {
  min-height: 100vh;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  background: rgba(11, 13, 18, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
}

.header-actions {
  display: flex;
  gap: 10px;
}

.header-btn {
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 9px 14px;
  border-radius: 9px;
}

.header-btn:hover {
  background: var(--card);
}

main {
  width: min(1200px, 92%);
  margin: auto;
  padding: 42px 0 70px;
}

.hero {
  margin-bottom: 34px;
  text-align: center;
}

.hero h1 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.05;
  margin-bottom: 12px;
}

.hero p {
  color: var(--muted);
  max-width: 620px;
  line-height: 1.6;
  margin: 0 auto;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 30px 0 16px;
}

.section-heading h2 {
  font-size: 22px;
}

.section-heading span {
  color: var(--muted);
  font-size: 14px;
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.sports-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.sport-card {
  position: relative;
  min-height: 150px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 85% 15%, rgba(66,210,158,.35), transparent 50%),
    linear-gradient(135deg, #018965, #404040 80%);
  transition: transform .2s ease, background .2s ease;
}

.sport-card:hover {
  transform: translateY(-4px);
  background-color: var(--card-hover);
}

.sport-icon {
  position: absolute;
  top: 20px;
  right: 22px;
  font-size: 40px;
  opacity: .8;
}

.sport-card h3 {
  font-size: 21px;
  text-transform: capitalize;
  margin-bottom: 6px;
  color: #ffffff;
}

.sport-card p {
  color: rgba(255,255,255,.65);
  font-size: 13px;
}

.toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.filter-btn {
  padding: 10px 15px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.matches-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}

.match-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
  overflow: hidden;
}

.match-card-top {
  padding: 16px;
  border-bottom: 1px solid var(--border);
}

.match-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 15px;
}

.live-badge {
  color: white;
  background: var(--danger);
  border-radius: 5px;
  padding: 4px 7px;
  font-size: 10px;
  font-weight: bold;
}

.teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  text-align: center;
}

.team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.team img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  padding: 7px;
}

.team span {
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 110px;
  white-space: nowrap;
}

.versus {
  color: var(--muted);
  font-size: 12px;
}

.match-title {
  font-weight: 700;
  text-align: center;
  line-height: 1.4;
}

.match-card-bottom {
  padding: 14px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.match-card-bottom small {
  color: var(--muted);
}

.watch-btn {
  border: 0;
  border-radius: 8px;
  padding: 9px 14px;
  background: var(--accent);
  color: white;
  font-weight: 700;
}

.watch-btn:hover {
  filter: brightness(1.12);
}

.empty {
  padding: 45px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed var(--border);
  border-radius: 14px;
}

.loading {
  text-align: center;
  padding: 50px;
  color: var(--muted);
}

.error {
  padding: 16px;
  border: 1px solid rgba(255,77,94,.35);
  background: rgba(255,77,94,.08);
  color: #ffb5bd;
  border-radius: 10px;
  margin-bottom: 20px;
}

.hidden {
  display: none !important;
}

.back-btn {
  margin-bottom: 20px;
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 9px 14px;
  border-radius: 9px;
}

.player-page {
  max-width: 1000px;
  margin: auto;
}

.player-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border);
}

.player-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.stream-list {
  display: grid;
  gap: 10px;
  margin-top: 20px;
}

.stream-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 10px;
}

.stream-info {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.tag {
  font-size: 11px;
  padding: 4px 7px;
  border-radius: 5px;
  background: rgba(255,255,255,.08);
  color: var(--muted);
}

/*
============================================
DISCLAIMER POPUP
============================================
*/


.welcome-popup {

  position: fixed;

  inset: 0;

  background: rgba(0,0,0,0.7);

  display: flex;

  justify-content: center;

  align-items: center;

  z-index: 9999;

}



.popup-box {

  background: black;

  color: white;

  width: 90%;

  max-width: 450px;

  padding: 30px;

  border-radius: 15px;

  text-align: center;

  line-height: 1.6;

  box-shadow: 0 0 25px rgba(0,0,0,0.5);

}



.popup-box h2 {

  color: white;

  margin-top: 0;

}



.popup-box p {

  color: white;

}



.popup-agree {

  margin-top: 20px;

  background: #018965;

  color: white;

  border: none;

  padding: 12px 30px;

  border-radius: 8px;

  font-size: 16px;

  cursor: pointer;

}



.popup-agree:hover {

  opacity: 0.9;

}

@media (max-width: 600px) {

  header {
    padding: 0 4%;
  }

  main {
    width: 92%;
    padding-top: 28px;
  }

  .header-btn {
    padding: 8px 10px;
  }

