@import "../../../../lib/css/style-tailwind-main-2026.css";
@import "tailwindcss";

@theme {
  --color-theme-primary: #89C6FA;
  --color-theme-secondary: #EAB3FC;
}

#brand {
  position: absolute!important; 
}

.flourish-credit {
  display: none !important;
}

#hero-container {
  min-height: 100vh;
  background-color: var(--theme-ui-colors-black);
  width: 100%;
}

.highlight{ @apply bg-purple-400 p-1 rounded-lg}

/* POLL */
.answer__item.selected,
.answer__item:hover {
  @apply bg-blue-600 text-white border-blue-600;
}
.answer__item.disabled:hover {
  @apply bg-white text-gray-300 border-gray-300 cursor-not-allowed;
}

/* Forces the line break in title on mobile */
@media (max-width: 767px) {
  #main-nav .nav span {
    @apply block;
  }
}

h2,h3,#wrapper p {margin-bottom: 20px; color: var(--theme-ui-colors-black) !important;}
h4 {color: var(--theme-ui-colors-black) !important;}
p {font-size: 1em; line-height: 1.7em; text-align: left;}
figure {color: var(--theme-ui-colors-grey); font-size: 0.9em; padding-top: 10px;}

.theme-dark {background-color: #fbf8f5;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.035'/%3E%3C/svg%3E")!important;}
.bg-light-yellow {background-color: #fff6e9;}
.bg-yellow {background-color: #be8b00;}
.bg-light-blue {background-color: #e9f4ff;}
.bg-blue {background-color: #0008a8;}
.bg-light-red {background-color: #ffe9e9;}
.bg-red {background-color: #a80000;}
.bg-light-purple {background-color: #edeaf5;}
.bg-purple {background-color: #4f4c9b;}
.bg-light-green {background-color: #eaf5ed;}
.bg-green {background-color: #57ad57;}

.hover\:bg-yellow:hover {background-color: #be8b00; color: white !important;}
.hover\:bg-blue:hover {background-color: #0008a8; color: white !important;}
.hover\:bg-red:hover {background-color: #a80000; color: white !important;}
.hover\:bg-purple:hover {background-color: #4f4c9b; color: white !important;}
.hover\:bg-green:hover {background-color: #57ad57; color: white !important;}

.title-yellow {color: #be8b00 !important;}
.title-blue {color: #0008a8 !important;}
.title-red {color: #a80000 !important;}

/* Scroll bar */
.sport-content::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.sport-content::-webkit-scrollbar-track {
  background: var(--theme-ui-colors-muted);
}
.sport-content::-webkit-scrollbar-thumb {
  background: var(--theme-ui-colors-secondary);
  border-radius: 9999px;
}
.sport-content::-webkit-scrollbar-thumb:hover {
  background: var(--theme-ui-colors-black);
}

/* Nav */
#navbar {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

#navbar.is-visible {
  opacity: 1;
  visibility: visible;
}

nav a[href="#location"].active {background-color: black !important; color: white;}
nav a[href="#new-events"].active { background-color: #be8b00 !important; color:white; }
nav a[href="#countries"].active { background-color: #57ad57 !important; color:white; }
nav a[href="#singapore"].active { background-color: #4f4c9b !important; color:white; }
nav a[href="#absent-players"].active { background-color: #a80000 !important; color:white; }
nav a[href="#attending-players"].active { background-color: #0008a8 !important; color:white; }

/* Fullscreen Hero Image */
.hero-container {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.hero-bg-sticky {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

#heroSlideContainer {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
}

#heroSlideContainer img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 1s ease-in-out;
}

.hero-overlay {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 2;
  pointer-events: none;
  margin-top: -100vh;
}

.hero-content-scroll {
  position: relative;
  z-index: 10;
  color: var(--theme-ui-colors-white);
}

.hero-content {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  box-sizing: border-box;
}

.hero-article {
  height: 100vh;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  box-sizing: border-box;
}

.title {font-size: 2.8em;font-weight: 800;line-height: 1.2em;}
.title-two {font-size: 2.4em;font-weight: 500;}

.scroll-down {
  display:inline-block;
  font-weight: 500;
  animation: bounce 1s ease-in-out infinite alternate;
}
@keyframes bounce {
  from {transform: translateY(-4px);}
  to {transform: translateY(4px);}
}

.blurb {
  font-size: 1.2em;
}

/* Links */
.links {
  color: var(--theme-ui-colors-main);
}

/* Quiz */
.quiz {
  margin: auto;
  background-color: var(--theme-ui-colors-main);
  padding: 1em;
  border-radius: 7px;
}

.quiz-title {
  font-size: 1.5em;
  color: var(--theme-ui-colors-white) !important;
  font-weight: 700;
  text-align: center;
}

.quiz-options {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.quiz-btn {
  padding: 5px 15px;
  background-color: var(--theme-ui-colors-white);
  border: 0;
  border-radius: 30px;
  color: var(--theme-ui-colors-black);
  cursor: pointer;
  transition: all 0.2s ease;
  /* flex-grow: 1; */
}

.quiz-btn:hover {
  transform: translateY(-3px);
}

.quiz-btn.correct {
  background-color: #dfffee;
  color: rgb(4, 120, 87);
  font-weight: 600;
}

.quiz-btn.wrong {
  background-color: #ffe4e4;
  color: var(--theme-ui-colors-error);
  opacity: 0.5;
  font-weight: 600;
}

/* Feedback Section */
.quiz-feedback {
  margin-top: 24px;
  padding: 20px;
  border-radius: 7px;
  text-align: center;
}

.quiz-feedback.hidden {display: none;}

.quiz-feedback.success {background-color: #dfffee;}
.quiz-feedback.error {background-color: #ffe4e4;}

.feedback-title {font-size: 1.2em; font-weight: 500;}
.feedback-text {margin: 0; font-size: 16px; color: var(--theme-ui-colors-black);}

/* Carousel */
.carousel-section {
  position: relative;
  box-sizing: border-box;
}

.swiper-pagination {
  position: relative !important;
  display: inline-block;
  color: var(--theme-ui-colors-grey);
}

.desktop-pagination {
  position: relative;
  width: 100%;
  margin-top: 1em;
  text-align: center;
  z-index: 10;
  display: none;
}

.mobile-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
}

.swiper {
  width: 100%;
  position: relative;
  overflow: hidden;
  touch-action: pan-y;
}

.sports-card {
  background: var(--theme-ui-colors-white);
  border-radius: 7px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-media {
  width: 100%;
  height: 100%;
  background: #000;
  overflow: hidden;
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-content {
  padding: 10px 15px;
  display: flex;
  flex-direction: column;
  height: 260px;
  width: auto;
}

/* Desktop Outer Arrows */
.desktop-nav-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}

.desktop-nav-btn::after {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border-top: 3px solid black;
  border-right: 3px solid black;
}

.desktop-nav-btn.desktop-prev {
  left: 5px;
}
.desktop-nav-btn.desktop-prev::after {
  transform: rotate(-135deg);
}

.desktop-nav-btn.desktop-next {
  right: 5px;
}
.desktop-nav-btn.desktop-next::after {
  transform: rotate(45deg);
}

.mobile-nav-btns {
  display: flex;
  gap: 10px;
}

#carousel-absent .carousel-section .swiper .swiper-wrapper .swiper-slide .sports-card .card-content .mobile-pagination .mobile-nav-btns .custom-nav-btn {background-color: #a80000;}
#carousel-attending .carousel-section .swiper .swiper-wrapper .swiper-slide .sports-card .card-content .mobile-pagination .mobile-nav-btns .custom-nav-btn {background-color: #0008a8;}

.custom-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#attending-players .custom-nav-btn {
  background-color: #0008a8;
}

#absent-players .custom-nav-btn {
  background-color: #a80000;
}

.custom-nav-btn::after {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  border-top: 2px solid var(--theme-ui-colors-white);
  border-right: 2px solid var(--theme-ui-colors-white);
}

.custom-nav-btn.btn-prev::after {
  transform: rotate(-135deg);
  margin-left: 3px;
}

.custom-nav-btn.btn-next::after {
  transform: rotate(45deg);
  margin-right: 3px;
}

.desktop-nav-btn:disabled,.desktop-nav-btn.swiper-button-disabled,#carousel-absent .carousel-section .swiper .swiper-wrapper .swiper-slide .sports-card .card-content .mobile-pagination .mobile-nav-btns .custom-nav-btn:disabled,#carousel-attending .carousel-section .swiper .swiper-wrapper .swiper-slide .sports-card .card-content .mobile-pagination .mobile-nav-btns .custom-nav-btn:disabled,#carousel-absent .carousel-section .swiper .swiper-wrapper .swiper-slide .sports-card .card-content .mobile-pagination .mobile-nav-btns .custom-nav-btn:disabled.swiper-button-disabled,#carousel-attending .carousel-section .swiper .swiper-wrapper .swiper-slide .sports-card .card-content .mobile-pagination .mobile-nav-btns .custom-nav-btn:disabled.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
  background-color: var(--theme-ui-colors-light-grey);
}

.sport-content {
  display: flex;
  flex-direction: column;
  gap: 1em;
  overflow-y: auto;
}

.sport-title-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.sport-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--theme-ui-colors-black);
  margin: 0;
}

.sport-subtitle {
  color: var(--theme-ui-colors-grey);
  font-weight: 600;
  margin: 0;
  margin-bottom: 0 !important;
  text-align: left;
  font-weight: 400;
}

.sport-desc {
  color: var(--theme-ui-colors-black);
  margin-top: 0 !important;
}

.cta {
  background-color: #e9f4ff;
  border: 2px solid var(--theme-ui-colors-secondary);
  color: var(--theme-ui-colors-secondary);
  border-radius: 30px;
  padding: 5px 10px;
  font-weight: 500;
  animation: scale 3s ease-in-out infinite;
  cursor: pointer;
}
@keyframes scale {
  0%, 100% {scale: 0.9;}
  50% {scale: 1}
}

/* Microsite */
.microsite-container {
  background-image: url(../imgs/element.svg);
  background-repeat: no-repeat;
  background-size: 100%;
  background-position: top center;
}
.microsite-img {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 20px auto;
}
.zb-sports {
  width: 200px;
}

.microsite-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: rgba(255,255,255, 0.5);
  padding: 20px;
  border-radius: 7px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  gap: 1em;
}

.logo {
  width: 220px;
}

#contact p {
  text-align: center !important;
}

@media (min-width: 768px) {
  /* Microsite */
  .title {font-size: 4em;}
  .microsite-img {flex-direction: row; gap: 2em; margin: 0;}
  .zb-sports {width: 250px;}
}

@media (min-width: 1000px) {
  .quiz{padding:2em}

  .carousel-section {padding: 0 50px;}

  .sports-card {
    display: flex;
    flex-direction: row;
    height: 420px;
    overflow: hidden;
  }

  .card-media {
    width: 50%;
    height: 100%;
  }
  
  .card-content {
    width: 50%;
    height: 100%;
    box-sizing: border-box;
    padding: 20px;
  }

  .desktop-nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .desktop-pagination {display: block;}
  .mobile-pagination {display: none;}

  .desktop-nav-btn:disabled,.desktop-nav-btn.swiper-button-disabled,#carousel-absent .carousel-section .swiper .swiper-wrapper .swiper-slide .sports-card .card-content .mobile-pagination .mobile-nav-btns .custom-nav-btn:disabled,#carousel-attending .carousel-section .swiper .swiper-wrapper .swiper-slide .sports-card .card-content .mobile-pagination .mobile-nav-btns .custom-nav-btn:disabled,#carousel-absent .carousel-section .swiper .swiper-wrapper .swiper-slide .sports-card .card-content .mobile-pagination .mobile-nav-btns .custom-nav-btn:disabled.swiper-button-disabled,#carousel-attending .carousel-section .swiper .swiper-wrapper .swiper-slide .sports-card .card-content .mobile-pagination .mobile-nav-btns .custom-nav-btn:disabled.swiper-button-disabled {
    background-color: transparent;
  }
}