*{
  box-sizing:border-box;
}

html,body{
  margin:0;
  padding:0;
  width:auto;
  overflow-x:hidden;
}

body{
  margin:0;
  min-height:100vh;
  display:flex;
  justify-content:center;
  align-items:center;
}

.matches-scroll{
  justify-content:center;
}


.matches-scroll{
  display:flex;
  gap:8px;

  overflow-x:auto;
  overflow-y:hidden;

  padding:8px;

  align-items:flex-start;

  scroll-snap-type:x mandatory;

  -webkit-overflow-scrolling:touch;
}
/* ================= MATCH BOX ================= */

.match-box{
  min-width:400px;
  max-width:400px;

  flex-shrink:0;

  scroll-snap-align:start;

  padding:11px;

  border-radius:10px;

  border:1px solid rgba(255,255,255,0.15);

  color:#fff;

  background:linear-gradient(
    180deg,
    #0b3d91 0%,
    #066cbf 40%,
    #0bd494 70%,
    #1c1c1c 100%
  );

  box-shadow:none;
}

/* ================= TICKER ================= */

.ticker-wrap{
  width:100%;
  overflow:hidden;

  background:rgba(97,45,227,0.75);

  border-radius:4px;
}

.ticker{
  display:flex;
  align-items:center;

  white-space:nowrap;

  animation:tickerMove 15s linear infinite;
}

.badge{
  background:#ff0000;
  color:#fff;

  font-size:10px;
  font-weight:bold;

  padding:2px 5px;

  border-radius:3px;

  margin:4px;
}

.ticker-text{
  color:#fff;

  font-size:12px;
  font-weight:600;

  margin-right:30px;
}

.logo{
  height:18px;

  margin-left:6px;
  margin-right:4px;
}

@keyframes tickerMove{
  0%{
    transform:translateX(100%);
  }

  100%{
    transform:translateX(-100%);
  }
}

/* ================= TEAM AREA ================= */

.teams{
  display:flex;
  align-items:center;
  justify-content:space-between;

  gap:10px;

  margin-top:8px;
}

.team{
  text-align:center;
  flex:1;
}

.team img{
  width:58px;
  max-width:100%;

  filter:drop-shadow(0 0 6px rgba(0,0,0,0.5));
}

.team h2{
  margin-top:4px;
  font-size:14px;
}

.vs{
  font-size:18px;
  font-weight:bold;

  color:#ffd000;
}

/* ================= KICKOFF ================= */

.kickoff-box{
  margin-top:6px;

  padding:5px;

  border-radius:6px;

  background:rgba(255,255,255,0.08);

  border:1px solid rgba(255,255,255,0.2);

  text-align:center;
}

.kickoff-title{
  font-size:10px;
  font-weight:700;

  letter-spacing:1px;

  color:#ffd700;

  margin-bottom:2px;
}

.kickoff-date{
  font-size:11px;
  font-weight:600;
}

.kickoff-time{
  font-size:15px;
  font-weight:bold;

  color:#f20781;

  margin-top:1px;
}

/* ================= COUNTDOWN ================= */

.countdown{
  display:flex;
  justify-content:center;

  gap:5px;

  margin-top:8px;

  flex-wrap:wrap;
}

.time-box{
  background:#000;

  padding:4px 6px;

  border-radius:6px;

  min-width:38px;

  text-align:center;
}

.time-box span{
  font-size:11px;
  font-weight:bold;

  color:#ffdf29;
}

.time-box p{
  font-size:10px;

  margin:0;
}

/* ================= BUTTON ================= */

.play-btn{
  margin:12px auto 5px auto;

  padding: 6px 10px ;

  font-size:11px;

  border-radius:6px;

  display:inline-block;

  color:#fff;

  text-align:center;

  box-shadow:0 0 10px rgba(255,0,0,0.6);

  animation:glowBtn 1.5s infinite alternate;

  cursor:pointer;

  transition:0.2s;
}

.play-btn.disabled{
  pointer-events:none;

  background:#ffd700;
  color:red;

  box-shadow:none;
}

.play-btn.enabled{
  background:linear-gradient(45deg,#ff0055,#ff7b00);
}

.play-btn.enabled:hover{
  transform:scale(1.05);
}

@keyframes glowBtn{

  from{
    box-shadow:0 0 5px rgba(255,0,0,0.5);
  }

  to{
    box-shadow:0 0 15px rgba(255,0,0,1);
  }

}

/* ================= LIVE DOT ================= */

.live-dot{
  display:inline-block;

  width:6px;
  height:6px;

  background:#ff0000;

  border-radius:50%;

  margin-right:5px;

  animation:liveBlink 1s infinite;
}

@keyframes liveBlink{

  0%,100%{
    opacity:1;
  }

  50%{
    opacity:0.3;
  }

}

/* ================= TABLET ================= */

@media(max-width:480px){

  .match-box{
    min-width:72vw;
    max-width:72vw;
  }

  .team img{
  width:33px;
}

.team h2{
  margin-top:10px;
  font-size:11px;
}

.vs{
  font-size:14px;
}

.ticker-text{
  font-size:12px;
}

.badge{
  font-size:11px;
  padding:3px 7px;
}

.logo{
  height:13px;
}

.kickoff-title{
  font-size:13px;
}

.kickoff-date{
  font-size:10px;
}

.kickoff-time{
  font-size:13px;
}

.countdown{
  gap:8px;
  margin-top:10px;
}

.time-box{
  min-width:25px;
  padding:7px;
  border-radius:8px;
}

.time-box span{
  font-size:8px;
}

.time-box p{
  font-size:8px;
}

.play-btn{
  font-size:10px;
  padding:11px;
  margin-top:10px;
}

}
/* ================= MOBILE ================= */
@media(max-width:480px){

  .match-box{
    min-width:80vw;
    max-width:80vw;
    padding:10px;
  }

  .team img{
    width:42px;
  }

  .team h2{
    font-size:11px;
  }

  .vs{
    font-size:14px;
  }

  .kickoff-time{
    font-size:12px;
  }

  .watch-btn{
    width:100%;
    text-align:center;
    font-size:12px;
  }

}

@keyframes pulse{
    0%{transform:scale(1);}
    50%{transform:scale(1.05);}
    100%{transform:scale(1);}
}
