/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background: #f4f5f7; /* BGcolor */
  color: #1a1a1a; /* color3 */
  overflow-x: hidden;
}

:root {
  --golden-90: #f8e889;
  --golden-180: linear-gradient(180deg, #f8e889 0%, #e4b764 100%);
  --bg-color: #f4f5f7;
  --color2: #e4b764;
  --color3: #1a1a1a;
  --black-gd: linear-gradient(180deg, #1a1a1a 0%, #000000 100%);
  --white-gd: linear-gradient(180deg, #fff 0%, #eee 100%);
  --grey2: #8e8e8e;
  --grey3: #b3b3b3;
  --grey6: #666666;
  --red-color: #ff0000;
  --signal-red-gd: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
  --bg-Live-box2: linear-gradient(180deg, #e4b764 0%, #f8e889 100%);
  --bg-header-odd: radial-gradient(
      57% 57% at 50% -28%,
      rgba(228, 183, 100, 0.3) 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    radial-gradient(
      72% 72% at 50% 143%,
      #e4b764 0%,
      rgba(248, 232, 137, 0.63) 75%,
      rgba(248, 232, 137, 0) 100%
    ),
    url("head1.webp");
  --bg-head-1: linear-gradient(180deg, #e4b764 0.35%, #f8e889 13.91%);
  --bg-blv1: url("blv1.png");
  --bg-blv: url("blv.png");
  --black-gd-ver3: "linear-gradient(180deg, #5C5C5C 0%, #000000 100%)";
  --bg-index: url("bgmain.avif");
  --bg-giai-dau: url("topleague2.png");
  --bg-league-football: url("Ver3_Leagues2.webp");
}

.main-container {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
 
}

.header {
  width: 100%;
  background-position: center;
  background-size: cover;
  max-width: 1440px;
  margin: 0 auto;
}

.header-inner {
  width: 100%;
  height: 100%;
}

.header-container {
  width: 100%;
  padding: 0 16px;
}

.header-content {
  max-width: 1440px;
  display: flex;
  position: relative;
  justify-content: center;
  width: 100%;
  background-image: url("/Header-liveschude.jpg");
  background-position: center;
  background-size: cover;
  height: 60px;
}

.header-flex {
  display: flex;
  width: 100%;
  height: 60px;
  align-items: center;
  justify-content: space-between;
}

.logo-left {
  width: 17%;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.logo-container {
  position: relative;
  width: 166px;
  height: 55px;
}

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

.title-container {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
}

.title-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
  width: 66.666667%;
  background-image: var(--bg-head-1);
  border-radius: 20px 20px 0 0;
}

.title-inner {
  position: relative;
  width: 100%;
  height: 40px;
  /* background: var(--golden-180); */
  border-radius: 15px 15px 0 0;
  margin-top: 10px;
}

.title-img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.hidden {
  display: none;
}

.ball-right {
  position: relative;
  width: 20%;
}

.ball-img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  position: absolute;
}

.header-bottom {
  height: 15px;
  background-image: var(--bg-Live-box2);
  border-radius: 15px 15px 0 0;
  z-index: 10;
  position: relative;
}

/* Responsive Styles */
@media (min-width: 768px) {
  .header-container {
    padding: 0 16px;
  }

  .header-content {
    height: 80px;
    background-image: var(--bg-header-odd);
  }

  .header-flex {
    height: 80px;
    width: 715px;
  }

  .logo-left {
    width: 186px;
    height: 100%;
  }

  .logo-container {
    width: 146px;
    height: 100%;
  }

  .logo-img {
    object-fit: contain;
  }

  .title-container {
    height: 80px;
  }

  .title-wrapper {
    margin-top: 15px;
    width: 431px;
    height: 80px;
  }

  .title-inner {
    width: 431px;
    height: 55px;
  }

  .title-img {
    padding: 0 32px;
  }

  .ball-right {
    width: 166px;
    height: 100%;
  }

  .ball-img {
    position: relative;
  }
}

@media (min-width: 1280px) {
  .header {
    background: none;
  }

  .title-wrapper {
    border-radius: 25px 25px 0 0;
  }
}


.content-wrapper {
  display: flex;
  width: 100%;
  max-width: 1440px;
  justify-content: space-between;
  align-items: start;
  background-color: white;
  gap: 20px;
  
}

.left-sidebar {
  width: 360px;
  display: none;
  flex-direction: column;
  gap: 20px;
}
@media (min-width: 1024px) {
  .content-wrapper {
    gap: 20px;
    padding: 20px 20px 0 0;
  }
  .left-sidebar {
    display: flex;
    width: 360px;
  }
}
.right-content {

  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
}

.right-content-inner {
  width: 100%;
  height: 100%;
}

.right-content-container {
  width: 100%;
  height: 100%;
}
.month-info span {
  color: var(--color3);
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
}
.calendar-header {
  display: flex;
  align-items: center;
  background: var(--golden-180);
  border-radius: 15px 15px 5px 5px;
  overflow: hidden;
  height: 35px;
  width: 100%;
  padding-bottom: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  position: relative;
}

.today-tab {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
  padding: 3px 20px;
  gap: 10px;
  border-radius: 15px 4px 5px 15px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  width: 40%;
  background: var(--black-gd);
}

.today-text {
  text-align: center;
  color: var(--golden-90);
  font-size: 14px;
  font-weight: bold;
  line-height: normal;
}

@media (min-width: 768px) {
  .today-text {
    font-size: 20px;
  }
}

.close-btn {
  width: 30px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  right: 4px;
}

@media (min-width: 1024px) {
  .close-btn {
    display: none;
  }
}

.close-btn-inner {
  width: 100%;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #e4b764;
  border-radius: 50%;
}

.close-icon {
  width: 15px;
  height: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.close-img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.calendar-container {
  width: 100%;
  max-width: 352px;
  z-index: 20;
  position: fixed;
  left: 0;
  transition: all 0.5s;
  padding: 0 5px;
  transform: translateY(300%) scale(0);
}

@media (min-width: 1024px) {
  .calendar-container {
    position: static;
    order: -1;
    padding: 0;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 768px) {
  .calendar-container {
    padding: 0;
  }
}

.calendar-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

@media (min-width: 768px) {
  .calendar-wrapper {
    box-shadow: none;
  }
}

.calendar-content {
  display: flex;
  flex-direction: column;
  padding-bottom: 5px;
  align-items: center;
  gap: 5px;
  background-color: var(--bg-color);
  border-radius: 15px;
  width: 100%;
  transition: all 0.3s;
  border: 1px solid white;
  overflow: hidden;
}

[data-theme="dark"] .calendar-content {
  background-color: black;
  border-color: var(--color3);
}

.calendar-header {
  display: flex;
  align-items: center;
  background-color: var(--golden-180);
  border-radius: 15px 15px 0 0;
  overflow: hidden;
  height: 35px;
  width: 100%;
  border-radius: 15px 15px 5px 5px;
  padding-bottom: 2px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

.today-section {
  display: flex;
  height: 100%;
  justify-content: center;
  align-items: center;
  padding: 3px 20px;
  gap: 10px;
  border-radius: 15px 4px 5px 15px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  width: 40%;
  background: var(--black-gd);
}

.month-section {
  display: flex;
  justify-content: center;
  flex: 1;
  align-items: center;
  text-align: center;
  border-radius: 0 18px 0 0;
  height: 35px;
}

.month-text {
  font-size: 14px;
  font-weight: bold;
  text-transform: uppercase;
  color: var(--color3);
}

@media (min-width: 768px) {
  .month-text {
    font-size: 16px;
  }
}

.close-button {
  width: 30px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  right: 4px;
}

@media (min-width: 1024px) {
  .close-button {
    display: none;
  }
}

.close-button-inner {
  width: 100%;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--color2);
  border-radius: 50%;
}

.close-icon {
  width: 15px;
  height: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.close-icon-img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.days-container {
  width: 100%;
  max-width: 352px;
}

.days-scroll {
  display: flex;
  width: 100%;
  justify-content: flex-start;
  overflow: hidden;
}

.days-list {
  display: flex;
  gap: 4px;
  padding: 4px;
  width: 100%;
  justify-content: flex-start;
  transition: transform 0.7s;
}

.day-item {
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  text-align: center;
  border: 1px solid white;
  font-family: "Roboto", sans-serif;
  font-weight: bold;
  height: 90px;
  width: 45.7px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.7s;
  background: var(--white-gd);
  padding: 5px;
}

.day-item:hover {
  background: var(--black-gd);
  justify-content: center;
  gap: 5px;
}

.day-item.active {
  background: var(--black-gd);
  border-color: var(--grey6);
  justify-content: center;
  gap: 5px;
  color: var(--color2);
  padding: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.day-of-week {
  font-size: 16px;
  font-weight: normal;
  line-height: 130%;
}

.day-number {
  font-size: 20px;
  font-weight: bold;
  width: 45.7px;
  line-height: 130%;
  transition: font-size 0.3s;
}

.day-item:hover .day-number {
  font-size: 30px;
}

.day-item.active .day-number {
  font-size: 30px;
}

.day-text {
  background: var(--black-gd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.day-item:hover .day-text {
  background: var(--golden-180);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.day-text.active {
  background: var(--golden-180);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.day-indicator {
  background-color: var(--golden-180);
  width: 45%;
  height: 3px;
  border-radius: 2px;
}

.navigation {
  display: flex;
  justify-content: space-around;
  align-items: center;
  width: 100%;
  margin-top: 2px;
}

.nav-item {
  font-size: 14px;
  font-weight: normal;
  color: #b97e11;
  cursor: pointer;
  transition: all 0.5s;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
}

.nav-icon {
  width: 20px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding-bottom: 3px;
}

.nav-icon-light {
  object-fit: contain;
  width: 15px;
  height: 15px;
}

.nav-icon-dark {
  object-fit: contain;
  width: 15px;
  height: 15px;
  display: none;
}

.nav-text {
  background: var(--black-gd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

.time-selector {
  font-size: 14px;
  font-weight: normal;
  color: #5c5c5c;
  background-color: white;
  border-radius: 10px 10px 0 0;
  padding: 4px 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.time-text {
  background: var(--black-gd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.time-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  height: 96px;
  flex-wrap: wrap;
  padding: 10px 5px;
  gap: 10px;
  width: 98%;
  border-radius: 15px;
  transition: all 0.5s;
}

.time-button {
  font-weight: normal;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  padding: 0 10px;
  width: calc(16.666% - 8px);
  max-width: 55px;
  height: 33px;
  padding-top: 5px;
  border-radius: 5px;
  border: 1px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: var(--white-gd);
  transition: all 0.3s;
}

.time-button:hover {
  background-color: var(--golden-180);
  border-color: var(--color2);
  font-weight: bold;
}

.time-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  line-height: 130%;
}

.time-btn-text {
  background: var(--black-gd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.time-button:hover .time-btn-text {
  background: var(--black-gd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.anchor-container {
  width: 100%;
  z-index: 20;
  max-width: 360px;
  position: fixed;
  left: 0;
  transition: all 0.5s;
  padding: 0 5px;
  transform: translateY(300%) scale(0);
}

@media (min-width: 1024px) {
  .anchor-container {
    position: static;
    order: 1;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 768px) {
  .anchor-container {
    padding: 0;
  }
}

.anchor-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

@media (min-width: 768px) {
  .anchor-wrapper {
    box-shadow: none;
  }
}

.anchor-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: white;
  width: 100%;
  overflow: hidden;
  border-radius: 15px;
}

@media (min-width: 1280px) {
  .anchor-content {
    margin-top: 10px;
  }
}

@media (min-width: 768px) {
  .anchor-content {
    background: none;
  }
}

.anchor-header {
  position: relative;
  width: 100%;
  height: 40px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  border-radius: 15px 15px 0 0;
}

@media (min-width: 768px) {
  .anchor-header {
    height: 55px;
    margin-top: 17px;
  }
}

.header-background {
  display: flex;
  position: absolute;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  padding: 0 10px;
  height: 40px;
  background: var(--black-gd);
  border-radius: 15px 15px 0 0;
}

.header-content-anchor {
  display: flex;
  justify-content: center;
  width: 100%;
}

.mic-left,
.mic-right {
  position: relative;
  width: 61px;
  height: 70px;
  margin-top: 10px;
  display: none;
}

@media (min-width: 768px) {
  .mic-left,
  .mic-right {
    display: block;
  }
}

.mic-image {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.center-logo {
  display: flex;
  position: relative;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  max-width: 250px;
  height: 35px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 15px 15px 5px 5px;
  background-image: var(--bg-blv1);
}

@media (min-width: 768px) {
  .center-logo {
    margin-top: 38px;
    height: 45px;
  }
}

.close-button-mobile {
  width: 30px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  right: 4px;
}

@media (min-width: 768px) {
  .close-button-mobile {
    display: none;
  }
}

.close-button-inner {
  width: 100%;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--color2);
  border-radius: 50%;
  background-color: var(--golden-180);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.close-icon {
  width: 15px;
  height: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.close-icon-img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.blv-grid {
  display: grid;
  grid-auto-flow: column;
  gap: 15px;
  padding: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  width: 100%;
  cursor: pointer;
}

.blv-grid::-webkit-scrollbar {
  display: none;
}

@media (min-width: 768px) {
  .blv-grid {
    grid-auto-flow: row;
    grid-template-columns: repeat(3, 1fr);
    overflow: hidden;
    padding: 10px;
  }
}

.blv-item {
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.blv-avatar-container {
  position: relative;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 99px;
  min-height: 99px;
  padding: 4px 0;
}

.blv-avatar-wrapper {
  position: relative;
  transition: all 0.3s ease-in-out;
  margin-bottom: 8px;
  min-width: 90px;
  min-height: 90px;
  padding: 1px;
  border: 1px solid transparent;
  border-radius: 50%;
}

.blv-avatar-wrapper:hover {
  padding: 0;
  border-left: 1px solid #b8941a;
  border-right: 1px solid #b8941a;
  border-top: 3px solid #b8941a;
}

.blv-avatar {
  object-fit: cover;
  border-radius: 50%;
  width: 90px;
  height: 90px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.live-indicator {
  position: absolute;
  right: 0;
  bottom: 25px;
  width: 55px;
  height: 22px;
  z-index: 10;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0.7;
  }
}

.live-badge {
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background: var(--signal-red-gd);
  height: 100%;
  border: 1px solid var(--red-color);
}

.live-content {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
}

.live-gif {
  object-fit: contain;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.blv-info-card {
  width: 100px;
  height: 24px;
  display: flex;
  align-items: center;
  position: absolute;
  left: 0;
  bottom: 0;
  right: 0;
  margin: 0 auto;
  border-radius: 5px 15px 15px 5px;
  background-image: var(--golden-180);
  border: 1px solid var(--color2);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blv-cup-section {
  width: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--black-gd);
  border-radius: 5px 15px 10px 5px;
  border: 1px solid var(--color3);
  border-top: none;
  border-left: none;
  overflow: hidden;
}

.cup-icon {
  object-fit: contain;
  position: absolute;
  width: 100%;
  height: 100%;
}

.percentage {
  position: absolute;
  bottom: 0;
  font-weight: bold;
  font-size: 12px;
  background-image: var(--golden-180);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: 100%;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.blv-name-section {
  width: 70px;
  height: 100%;
  padding: 0 2px;
  font-size: 12px;
  font-weight: bold;
  color: black;
  background-image: var(--golden-180);
  overflow: hidden;
  border-radius: 0 15px 15px 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.blv-label {
  height: 10px;
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.label-text {
  border-radius: 0 0 5px 5px;
  display: inline-block;
  padding: 0 5px;
  background-image: var(--golden-90);
  color: var(--color2);
  font-size: 10px;
  text-transform: uppercase;
}

.blv-name {
  width: 100%;
  font-size: 12px;
  font-style: italic;
  background-image: var(--black-gd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

@media (max-width: 767px) {
  .blv-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }
}

.blv-item:hover .blv-avatar-wrapper {
  transform: scale(1.05);
}

.blv-item:hover .blv-info-card {
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* đây là phần right content */

.league-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding-bottom: 8px;
}

@media (min-width: 768px) {
  .league-container {
    width: 100%;
    background-color: var(--bg-color);
  }
}

@media (min-width: 1280px) {
  .league-container {
    width: 100%;
  }
}

.league-wrapper {
  width: 100%;
  z-index: 20;
  position: fixed;
  left: 0;
  transition: all 0.5s;
  padding: 0 5px;
  transform: translateY(300%) scale(0);
}

@media (min-width: 768px) {
  .league-wrapper {
    position: static;
    transform: translateY(0) scale(1);
  }
}

@media (min-width: 1280px) {
  .league-wrapper {
    padding: 0 0px;
  }
}

.league-content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
}

@media (min-width: 768px) {
  .league-content {
    box-shadow: none;
  }
}

.league-main-card {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background-image: var(--bg-index);
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(2px);
  border-radius: 20px;
  padding-bottom: 20px;
  border: 1px solid var(--color2);
}

@media (min-width: 1280px) {
  .league-main-card {
    width: 100%;
  }
}

.league-header {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  width: 100%;
  height: 40px;
  border-radius: 18px 18px 0px 0px;
  background-image: var(--golden-180);
  position: relative;
}

.league-title {
  text-align: center;
  position: relative;
  height: 35px;
  width: 250px;
  font-weight: bold;
  font-size: 26px;
  background-size: contain;
  background-position: center;
  background-image: var(--bg-giai-dau);
  background-repeat: no-repeat;
  color: #f8e889;
  font-family: "Roboto", sans-serif;
}

.league-close-button {
  width: 30px;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  right: 4px;
}

@media (min-width: 768px) {
  .league-close-button {
    display: none;
  }
}

.league-close-inner {
  width: 100%;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid var(--color2);
  border-radius: 50%;
}

.league-close-icon {
  width: 15px;
  height: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.league-close-img {
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.league-icons-section {
  display: flex;
  overflow-x: auto;
  justify-content: center;
  align-items: flex-start;
  height: 210px;
  width: 100%;
}

@media (min-width: 768px) {
  .league-icons-section {
    height: auto;
  }
}

/* .league-side-left  {
  width: 20px;
  height: 30px;
  background-color: rgba(248, 249, 250, 0.7);

  border-radius:  0 0 0 30px;
}
.league-side-right {
  width: 20px;
  height: 30px;
  background-color: rgba(248, 249, 250, 0.7);

  border-radius: 30px 0 0 0;
}

@media (min-width: 1280px) {
  .league-side-left,
  .league-side-right {
    width: 30px;
  }
} */

.league-side-left > div {
  width: 100%;
  height: 100%;
  border-radius: 0 30px 0 0;
  background-color: #454545;
}

@media (min-width: 768px) {
  .league-side-left > div {
    background-color: black;
  }
}

.league-side-right > div {
  width: 100%;
  height: 100%;
  border-radius: 30px 0 0 0;
  background-color: #454545;
}

@media (min-width: 768px) {
  .league-side-right > div {
    background-color: black;
  }
}

.league-icons-container {
  width: 100%;
  height: 100%;
  background-color: rgba(248, 249, 250, 0.7);
  display: flex;
  flex-wrap: wrap;
  padding: 20px 10px;
  backdrop-filter: blur(2px);
  gap: 10px;
  justify-content: center;
  align-items: center;
  border-radius: 0 0 20px 20px;
}

@media (min-width: 768px) {
  .league-icons-container {
    justify-content: space-evenly;
  }
}

.league-icon-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 16vw;
  height: 16vw;
  max-width: 66px;
  max-height: 66px;
  border-radius: 8px;
  background: var(--white-gd);
  cursor: pointer;
}

@media (min-width: 768px) {
  .league-icon-item {
    width: 66px;
    height: 66px;
  }
}

.league-icon-img {
  object-fit: cover;
  padding: 10px;
  transition: all 0.7s ease-in-out;
  width: 100%;
  height: 100%;
}

.league-icon-img:hover {
  padding: 2px;
  transition-delay: 150ms;
}

.league-controls {
  display: flex;
  flex-direction: column;
  padding: 5px;
  justify-content: flex-start;
  gap: 3px;
  width: 100%;
  height: 100%;
  padding: 5px;
  align-items: center;
  border-radius: 20px;
  padding-bottom: 20px;
}

@media (min-width: 1280px) {
  .league-controls {
    padding: 5px 0px;
    gap: 5px;
  }
}

.league-controls-row {
  width: 100%;
  height: 35px;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 10px;
}

@media (min-width: 768px) {
  .league-controls-row {
    height: 40px;
  }
}

.league-control-item {
  height: 100%;
  max-height: 34px;
  display: flex;
  cursor: pointer;
  justify-content: center;
  align-items: center;
  gap: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
  border: 1px solid white;
  background: var(--white-gd);
  padding: 0 6px;
}

.league-control-item.active {
  background-image: var(--golden-180);
  border-color: var(--color2);
}

@media (min-width: 1280px) {
  .league-control-item {
    padding-right: 3px;
  }
}

.league-live-indicator {
  width: 50px;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 2px;
}

.league-live-badge {
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  background-image: var(--signal-red-gd);
  height: 100%;
  border: 1px solid var(--red-color);
}

.league-live-content {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 90%;
}

.league-live-gif {
  object-fit: contain;
  width: 100%;
  height: 100%;
  opacity: 1;
}

.league-live-counter {
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-color);
  padding: 3px;
  border: 1px solid white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.league-counter-number {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  background-color: #ff1d1d;
  font-size: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--golden-90);
  font-weight: bold;
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  51%,
  100% {
    opacity: 0.7;
  }
}

.league-control-label {
  padding: 0 2px;
  font-weight: bold;
  height: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
  white-space: nowrap;
  font-size: 12px;
}

@media (min-width: 1280px) {
  .league-control-label {
    padding: 0 4px;
    font-size: 14px;
  }
}

.league-control-text {
  background: var(--black-gd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.league-control-icon {
  width: 30px;
  height: 30px;
  background-color: var(--bg-color);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border: 1px solid white;
  padding: 3px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.league-icon {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 10px;
}

.league-search-container {
  height: 100%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  border-radius: 20px;
  overflow: hidden;
  padding: 3px 5px;
  width: 40px;
  min-width: 50px;
  background-color: white;
  border: 1px solid var(--grey6);
}

@media (min-width: 1280px) {
  .league-search-container {
    width: 50%;
  }
}

.league-search-wrapper {
  width: 100%;
  height: 100%;
  border: 1px solid white;
  z-index: 50;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-radius: 30px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 0 5px;
}

.league-search-input {
  width: 100%;
  display: none;
}

@media (min-width: 768px) {
  .league-search-input {
    display: block;
  }
}

.league-search-field {
  width: 100%;
  padding-left: 10px;
  height: 100%;
  background: transparent;
  font-size: 12px;
  color: var(--color3);
  padding: 0 4px;
  display: flex;
  justify-content: center;
  align-items: center;
  outline: none;
  border: none;
}

@media (min-width: 768px) {
  .league-search-field {
    font-size: 14px;
  }
}

.league-search-field::placeholder {
  color: var(--color3);
}

.league-search-icon {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  border: none;
  background: none;
  width: 38px;
  order: -1;
}

.league-search-img {
  object-fit: contain;
  width: 100%;
  height: 80%;
  padding-top: 3px;
}

.league-matches {
  width: 100%;
  border-radius: 5px;
}

.league-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 1px;
}

@media (min-width: 768px) {
  .league-group {
    margin-top: 3px;
  }
}

.league-group-header {
  display: flex;
  justify-content: space-between;
  width: 100%;
  border-radius: 20px 20px 5px 5px;
  border: 1px solid white;
  height: 35px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  background-image: var(--bg-league-football);
}

@media (min-width: 768px) {
  .league-group-header {
    height: 40px;
  }
}

.league-group-icon {
  min-width: 60px;
  width: 60px;
  height: 100%;
  background-color: white;
  border-radius: 20px 0 20px 0;
  padding: 3px;
}

.league-group-img {
  object-fit: contain;
  width: 100%;
  height: 100%;
  z-index: 1;
  position: relative;
  margin-left: -2%;
}

.league-group-title {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  background-color: white;
}

.league-group-name {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-radius: 20px 0 0 0;
  background-size: cover;
  background-position: center;
  padding-right: 10px;
  background-image: var(--bg-league-football);
}

.league-name-text {
  width: 100%;
  height: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-left: 15px;
  padding-top: 5px;
  background-size: cover;
  background-position: center;
  background: var(--black-gd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
  font-size: 16px;
}

.league-match-item {
  margin-bottom: 2px;
  background: var(--white-gd);
  border: 1px solid white;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 45px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s;
}

@media (min-width: 1280px) {
  .league-match-item {
    border-radius: 10px;
    height: 55px;
  }
}

.league-match-item:hover {
  border-color: var(--color2);
}

.league-match-time {
  width: 13%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3px;
}

@media (min-width: 768px) {
  .league-match-time {
    width: calc(100% / 12);
  }
}

.league-match-time > div {
  gap: 2px;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-color);
  border: 1px solid white;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.1) inset;
  border-radius: 10px;
}

.league-time-hour,
.league-time-date {
  font-size: 12px;
  height: 15px;
  display: block;
}

.league-booking-btn {
  width: 13%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 3px;
}

@media (min-width: 768px) {
  .league-booking-btn {
    width: calc(100% / 12);
  }
}

.league-booking-content {
  width: 100%;
  height: 100%;
  margin-bottom: 4px;
  display: flex;
  flex-direction: column;
  justify-content: normal;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  align-items: center;
  gap: 2px;
  border-radius: 8px;
  border: 1px solid var(--color3);
  overflow: hidden;
  padding: 3px 5px;
  background: var(--black-gd);
  transition: all 0.3s;
}

@media (min-width: 1280px) {
  .league-booking-content:hover {
    background-color: var(--golden-180);
    border-color: var(--color2);
  }
}

.league-booking-icon {
  display: flex;
  justify-content: center;
  width: 20px;
  height: 50%;
}

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

.league-booking-text {
  height: 50%;
  font-size: 10px;
  font-weight: bold;
  white-space: nowrap;
  text-align: center;
  background: var(--golden-180);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 768px) {
  .league-booking-text {
    font-size: 12px;
  }
}
.league-match-teams {
  width: 74%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.5s;
}

@media (min-width: 1280px) {
  .league-match-teams {
    width: calc(10 / 12 * 100%);
  }
}

.league-teams-container {
  transition: all 0.5s;
  width: 60%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: scale(1);
}

@media (min-width: 768px) {
  .league-teams-container {
    width: 50%;
  }
}

.league-team {
  width: 40%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  align-items: center;
}

.league-team-logo {
  position: relative;
  width: 25px;
  height: 50%;
  display: flex;
}

@media (min-width: 768px) {
  .league-team-logo {
    width: 30px;
  }
}

.league-logo {
  object-fit: contain;
  mix-blend-mode: multiply;
  width: 100%;
  height: 100%;
}

.league-team-name {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .league-team-name {
    height: 18px;
  }
}

.league-team-text {
  font-size: 10px;
  font-style: normal;
  font-weight: normal;
  font-family: "Roboto", sans-serif;
  white-space: nowrap;
  text-align: center;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .league-team-text {
    font-size: 12px;
  }
}

.league-vs {
  width: 20%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 5px;
}

@media (min-width: 768px) {
  .league-vs {
    padding: 0 5px;
  }
}

.league-vs-text {
  width: 100%;
  height: 50%;
  border-radius: 20%;
  background: var(--white-gd);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid white;
}

.league-commentator {
  transition: all 0.5s;
  width: 40%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .league-commentator {
    width: 50%;
  }
}

.league-commentator-list {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

.league-commentator-container {
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: flex-end;
  width: 100%;
  min-width: 80px;
  max-width: 80px;
}

@media (min-width: 768px) {
  .league-commentator-container {
    max-width: 242px;
  }
}

.league-commentator-scroll {
  height: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  transition: all 0.5s;
  position: relative;
  transform: translateX(0px);
}

.league-commentator-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  width: 40px;
  height: 100%;
  transition: transform 0.3s;
}

@media (min-width: 768px) {
  .league-commentator-item {
    min-width: 58px;
    width: 58px;
  }
}

@media (min-width: 1280px) {
  .league-commentator-item {
    transition-duration: 0.7s;
  }
}

.league-commentator-avatar {
  width: 30px;
  height: 30px;
  padding: 2px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  background-color: var(--bg-color);
  transition: border 0.3s;
}

@media (min-width: 1280px) {
  .league-commentator-avatar {
    width: 40px;
    height: 40px;
    min-height: 40px;
  }
}

.league-commentator-avatar:hover {
  border: 2px solid var(--color2);
}

.league-avatar {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 55px;
  transition: all 0.3s ease-in-out;
}

.league-commentator-name {
  font-size: 8px;
  width: 100%;
  display: none;
  padding: 4px 0;
  text-align: center;
  font-weight: bold;
  font-family: "Roboto", sans-serif;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (min-width: 768px) {
  .league-commentator-name {
    font-size: 10px;
  }
}

@media (min-width: 1280px) {
  .league-commentator-name {
    display: block;
  }
}

.league-arrow-right {
  width: 20px;
  height: 100%;
  z-index: 10;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  right: 2px;
  top: 0;
  display: none;
}

.league-arrow-img {
  object-fit: contain;
  width: 100%;
  height: 20px;
}

/* Hover effects */
/* .league-match-item:hover .league-match-time > div {
  border-color: var(--color2);
  background-color: var(--golden-90);
} */

/* .league-match-item:hover .league-vs-text {
  background-image: var(--golden-180);
  border-color: var(--color2);
} */

.league-booking-content:hover .league-booking-img {
  display: none;
}

.league-booking-content:hover .league-booking-hover-img {
  display: block;
}

.league-booking-hover-img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: none;
}

@media (min-width: 1280px) {
  .league-booking-content:hover .league-booking-text {
    background-image: var(--golden-180);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
}

/* Responsive adjustments */
@media (max-width: 767px) {
  .league-controls-row {
    flex-wrap: wrap;
    height: auto;
    gap: 5px;
  }

  .league-control-item {
    
    min-width: 100px;
  }

  .league-search-container {
    width: 100%;
    order: 1;
    display: none;
  }
}

/* Animation for live counter */
@keyframes league-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.league-live-counter:hover {
  animation: league-pulse 0.5s ease-in-out;
}

/* Scrollbar hide */
.league-icons-section::-webkit-scrollbar {
  display: none;
}

.league-icons-section {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* Focus states */
.league-search-field:focus {
  outline: none;
  box-shadow: 0 0 0 2px var(--golden-180);
}

/* Additional utility classes */
.league-gradient-text {
  background: var(--black-gd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.league-shadow-box {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.league-transition {
  transition: all 0.3s ease-in-out;
}
