@font-face {
    font-family: "Gotham";
    src: url("/fonts/Gotham-Bold.otf");
    font-weight: 600;
}

body {
  margin: 0; }

#main {
  display: flex;
  justify-content: center;
  align-items: center; }

.mobile-gif {
  width: 400px;
  height: 724px;
  text-align: center;
  cursor: pointer;
  position: relative;
}

.mobile-gif video {
    object-fit: cover;
  /*width: auto;*/
  height: 100%; 
}

.desktop-gif {
  height: 724px;
  text-align: center;
  cursor: pointer;
}

.bg-image {
  position: relative;
  z-index: 2;
}

.customBtnContainer {
  top: 82%;
  left: 35%;
  z-index: 2;
}

.customFreeContainer {
  top: 60%;
  left: 20%;
  right: 20%;
  z-index: 2;
  /* padding: 0px 50px; */
}

.customVideoContainer {
  top: 113%;
  left: 0;
  z-index: 3;
  margin: 15px 30px;
  border: 4px solid #fcb615;
  border-radius: 15px;
  /*  width: 10%;*/
}

.customVideoContainer img {
  border-radius: 15px;
}

.customVideoContainer p {
  position: absolute;
  bottom: 0;
  z-index: 5;
  margin: 7px 10px;
  color: #fff;
  font-size: 13px;
  font-weight: bold;
}

.customVideoContainer video {
  width: 100%;
  height: 85%; 
  border-radius: 30px;
  border: 4px solid #fcb615;
}

.muteBtn {
  position: fixed;
  top: 10px;
  right: 10px;
  background-color: #fab423;
  border: 3px solid #fab423;
  color: #fff;
  border-radius: 15px;
  box-shadow: 1px 1px 6px 0px #016686;
}

.moreBtn {
  background-color: #ff8300;
  border: 3px solid #ffffff;
  color: #ffffff;
  border-radius: 30px;
  padding: 6px 18px;
  font-size: 14px;
  font-weight: 600;
  font-family: "Gotham";
}

.moreBtn span {
  vertical-align: sub;
}

.moreBtn:hover {
  background-color: #ff8300!important;
  border: 3px solid #ffffff!important;
  color: #fff!important;
}

.moreBtn .fa-angle-up {
  color: #ff8201;
}

.customTournamentContainer {
  top: 71%;
  left: 0;
  z-index: 2;
  background-color: #fff;
  border: 4px solid #fcb615;
  border-radius: 15px;
  padding: 15px 15px 5px;
  margin: 15px 30px;
}

.tournament-container {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    margin-bottom: 20px;
    position: relative;
}

.tournament-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #ff9500;
}

.tournament-header h2 {
    color: #1e3c72;
    font-weight: bold;
    margin-bottom: 5px;
    font-size: 1.4rem;
}

.tournament-counter {
    color: #ff9500;
    font-weight: bold;
    font-size: 0.9rem;
}

.tournament-scroll {
    height: 150px;
    overflow-y: auto;
    padding-right: 10px;
}

.tournament-scroll::-webkit-scrollbar {
    width: 6px;
}

.tournament-scroll::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.tournament-scroll::-webkit-scrollbar-thumb {
    background: #ff9500;
    border-radius: 3px;
}

.tournament-card {
    border: 2px solid #e9ecef;
    border-radius: 15px;
    padding: 10px 15px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tournament-card:hover {
    border-color: #ff9500;
    /*transform: translateY(-2px);*/
    box-shadow: 0 5px 15px rgba(255, 149, 0, 0.2);
}

.tournament-card.active {
    border-color: #ff9500;
    background: linear-gradient(135deg, #fff8f0 0%, #ffffff 100%);
}

.tournament-date {
    background: #ff9500;
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

.tournament-name {
    font-weight: bold;
    color: #1e3c72;
    font-size: 0.9rem;
    margin-bottom: 5px;
    line-height: 1.2;
}

.tournament-location {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
    font-size: 0.75rem;
    color: #666;
}

.country-flag {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    margin-right: 8px;
    object-fit: cover;
}

.tournament-category {
    background: #1e3c72;
    color: white;
    padding: 3px 10px;
    border-radius: 10px;
    font-size: 0.65rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 5px;
}

.tournament-prize {
    color: #ff9500;
    font-weight: bold;
    font-size: 0.8rem;
}

.live-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #dc3545;
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: bold;
    animation: tournament_pulse 2s infinite;
}

.days-until {
    font-size: 0.7rem;
    color: #ff9500;
    font-weight: bold;
    margin-bottom: 5px;
    padding: 3px 8px;
    background: rgba(255, 149, 0, 0.1);
    border-radius: 8px;
    display: inline-block;
}

.days-until.starting-soon {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    animation: tournament_pulse 1.5s infinite;
}

.scroll-indicator {
    text-align: center;
    margin-top: -10px;
    padding: 0px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.scroll-indicator:hover {
    opacity: 1;
    transform: translateY(-2px);
}

.scroll-indicator i {
    font-size: 1.5rem;
    color: #000;
    animation: tournament_bounce 2s infinite;
    display: block;
    margin-bottom: 5px;
}

.scroll-indicator .scroll-text {
    font-size: 0.8rem;
    color: #666;
    font-weight: 500;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

@keyframes tournament_bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-5px);
    }
    60% {
        transform: translateY(-3px);
    }
}

@keyframes tournament_pulse {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

.category-super1000 { background: #dc3545; }
.category-super750 { background: #fd7e14; }
.category-super500 { background: #198754; }
.category-super300 { background: #0d6efd; }
.category-finals { background: #6f42c1; }

@media (max-width: 767px) {
  #main {
    /* height: 100%; */
    background-color: #000000;
    display: block; 
  }

  .mobile-gif {
    display: block;
    position: relative;
/*    width: 100%;*/
    height: auto;
    margin: auto;
    /* padding-bottom: 56.25%;  */
  }
    
  /*.mobile-gif video {
    width: 100%;
    height: auto;
    object-fit: cover; 
  } */

  .customBtnContainer {
    /*top: 45%;*/
    /*left: 34%;*/
  }

  .customVideoContainer {
    top: 74%;
    left: 0;
    /*  width: 10%;*/
  }

  .customTournamentContainer {
    top: 46.5%;
  }

  .tournament-scroll {
    height: 150px;
  }

  .moreBtn {
/*    font-size: 18px;*/
/*    font-weight: bold;*/
  }

  #scratch-card-container {
    width: 270px;
  }
}

@media (max-width: 400px) {
  #scratch-card-container {
    width: 68vw;
  }

  .mobile-gif {
    width: 100%;
  }
}

/*@media (max-width: 395px) {
  #scratch-card-container {
    width: 265px;
  }
}

@media (max-width: 390px) {
  #scratch-card-container {
    width: 265px;
  }
}

@media (max-width: 380px) {
  #scratch-card-container {
    width: 252px;
  }
}*/