* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  position: relative;
  background-color: white;
  font-family: "Inter", sans-serif;
   background: url("/assets/images/homepage/bg.png") top center / 100% 470px no-repeat;
  /* min-height: 1692px; */
  height: auto;
  overflow-x: hidden;
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  background-color: #210870;
}
.bg-snocker::before {
  content: "";
  position: absolute;
  top: 70px;
  right: 0;
  background: url("/assets/images/homepage/bg-snocker.png") no-repeat;
  max-width: 751px;
  width: 100%;
  height: auto;
  aspect-ratio: 751 / 470; /* Optional: maintain proportion */
  z-index: -1;
}

a {
  text-decoration: none !important;
  color: white !important;
}
@font-face {
  font-family: "SFUIDisplayBold";
  src: url("/assets/font/sf-ui-display-bold.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: "SFUIDisplayLight";
  src: url("/assets/font/sf-ui-display-light.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}
.inter {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 700;
  font-style: normal;
}

.navbar .nav-link {
  border-left: 1px solid #ccc6c6;
  border-right: 1px solid #ccc6c6;
  line-height: 70px;
  color: #ffffff !important;
  transition: all 0.3s ease;
  font-weight: bold;
  text-transform: uppercase;
}

.navbar-brand img {
  object-fit: contain;
}

.navbar {
  height: 74px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.3)
  );

  position: fixed;
  /* border-bottom: 0.1px solid #ccc6c6; */
  width: 100%;
  z-index: 1000;
}
/* @media (min-width: 992px) {
  .navbar {
    border-bottom-left-radius: 37px;
    border-bottom-right-radius: 37px;
  }
} */
.navbar .nav-btn {
  height: 44px;
  width: fit-content;
  padding: 0 30px;
  border-radius: 30px;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}
.nav-btn-active,
.navbar .nav-btn:active,
.navbar .nav-btn:hover {
  /* background: radial-gradient(
    100% 100% at 0% 0%,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0) 100%
  ); */
  height: 44px;
  padding: 0 30px;
  border-radius: 30px;
  color: white;
  /* border: solid 1px #ccc6c6; */
  text-decoration: none;
}
.navbar .bg-logo {
  background-color: rgba(255, 255, 255, 1);
  border-bottom: rgba(255, 255, 255, 0.5);
  height: 74px;
  border-bottom-left-radius: 37px;
  border-bottom-right-radius: 37px;
  width: 300px;
}
.bg-image {
  width: 100%;
  height: auto;
  background: url("/assets/images/homepage/bg.png") center/cover no-repeat;
  position: relative;
}

/* Mobile-first responsive adjustments */
/* Navbar Base Styles */
.navbar {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0.3)
  );
  position: fixed;
  border-bottom: 0.1px solid #ccc6c6;
  width: 100%;
  z-index: 1000;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.navbar-brand img {
  transition: all 0.3s ease;
}

.nav-link {
  border-left: 1px solid #ccc6c6;
  border-right: 1px solid #ccc6c6;
  line-height: 70px;
  color: #ffffff !important;
  transition: all 0.3s ease;
  font-weight: bold;
  text-transform: uppercase;
  padding: 0 1.5rem !important;
}

.nav-link:hover,
.nav-link.active {
  color: #a33ec5 !important;
  background-color: #faf1fd;
}

/* Countdown Styles */

/* Responsive Adjustments */
@media (max-width: 1199.98px) {
  .nav-link {
    padding: 0 1rem !important;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    padding: 0.5rem;
  }

  .navbar-brand img {
    height: 50px;
  }

  .nav-link {
    line-height: 2.5;
    border-left: none !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    padding: 0.5rem 1rem !important;
  }

  .navbar-collapse {
    background: linear-gradient(to bottom, #3e1f47, #4b1d5f);
    padding: 1rem;
    margin-top: 0.5rem;
  }

  .countdown-value {
    min-width: 50px;
    min-height: 60px;
    font-size: 1.25rem;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand img {
    max-height: 40px;
  }
  .container_index h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .countdown-container {
    justify-content: center;
  }
}

@media (max-width: 450px) {
  .navbar-toggler {
    margin-top: 13px !important;
    padding: 0.25rem 0.5rem;
    height: 40px !important;
  }
  .footer-container .description {
    font-size: 1rem !important;
  }
  .custom-container {
    padding: 10px !important;
  }
  .btnPagingNext,
  .btnPagingBack,
  .number_page {
    background: white !important;
    color: black !important;
    font-size: 15px !important;
    padding: 6px 10px !important;
    border: none;
    border-radius: 2px;
    margin-right: 0px !important;
    margin-left: 0px !important;
  }
  .number_select {
    padding: 2px 15px !important;
  }
  .btn-submit {
    font-size: 1rem !important;
    padding: 0.5rem 1rem !important;
  }
  .btn-result {
    font-size: 1rem !important;
    padding: 0.5rem 1rem;
  }
  .text-draw {
    font-size: 1.5rem !important;
    margin-top: 20px !important;
    padding-left: 20px !important;
  }
  .prize-item {
    width: 100%; /* Full width of container */
    max-width: 350px; /* Maximum width */
    height: auto; /* Flexible height */
    min-height: 550px; /* Minimum height */
    background-size: 100% auto; /* Full width background */
    margin-bottom: 20px; /* Spacing between items */
    justify-content: center;
  }
  .pool-prize {
    font-size: 3rem !important;
    width: 50px !important;
    height: 60px !important;
    padding: 5px 10px !important;
  }
  .countdown-value {
    font-size: 1.5rem !important;
    padding: 0 !important;
    min-width: 60px !important;
    min-height: 70px !important;
  }
  .container_index h1 {
    font-size: 2.5rem !important;
    position: relative;
    transform: translateY(-20vh);
  }
  .results-grid {
    flex-direction: column;
    align-items: center;
  }
  .nav-link {
    font-size: 0.7rem;
    padding: 0.2rem !important;
  }

  .navbar-brand {
    margin: 0 0.5rem;
  }
  .navbar-brand img {
    height: 40px;
  }

  .countdown-value {
    min-width: 40px;
    min-height: 50px;
    font-size: 1rem;
    padding: 0.25rem 0.5rem;
  }

  .countdown-label {
    font-size: 0.75rem;
  }

  .next-drawing {
    font-size: 1rem;
    text-align: center !important;
  }

  .container_index h1 {
    font-size: 2rem;
  }
}
.container_index h1 {
  position: relative;
  font-family: "Paytone One";
  font-size: 115px;
  font-weight: 800;
  margin-top: -16vh;
  line-height: 100%;
  color: white;
}

.next-drawing {
  margin-top: 20px;
  font-family: Roboto;
  color: #ff4bf3;
  font-size: 35px;
  font-weight: 500;
}
.next-drawing {
  margin-left: 100px !important;
}

.recent-results {
  margin-top: 30px;
  font-size: 24px;
  font-weight: bold;
}

.custom-container {
  max-width: 1299px;
  margin: 0 auto;
  /* padding: 0 15px;  */
}

.lottery-results {
  position: relative;
  /* transform: translateY(-90vh); */
  margin-top: -90vh;
}

.imagePrize {
  width: 305px;
  height: 268px;
}

.text-draw {
  font-family: "Roboto";
  font-size: 30px;
  font-weight: 400;
  line-height: 120%;
  margin-top: -20px;
  color: #ff4bf3;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-price {
  margin-top: 30px;
  font-size: 40px;
  font-weight: 500;
  color: white;
  z-index: 1000;
}

.pool-prize {
  font-family: "Gobold";
  font-size: 60px;
  width: 75px;
  height: 84px;
  font-weight: 600;
  background-color: #360f3cbf;
  padding: 15px 25px;
  border-radius: 5px;
  color: white;
  margin: 6px;
}

.prize-item {
  padding: 80px 0;
  width: 413px; /* Keep your original width */
  height: 706px; /* Keep your original height */
  background: url("/assets/images/homepage/bg_prize.png") center/90% no-repeat;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  background-size: 98% auto;
}

.section-title {
  text-align: center;
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 28px;
}

/* Day filter buttons */
.day-filter {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.day-btn {
  position: relative;
  border: none;
  background: #f0f0f0;
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s;
}

/* Result cards */
.results-grid {
  justify-content: center;
  align-items: center;
  display: flex;
  gap: 20px;
}

.gap-4 {
  gap: 1.5rem;
}
.card-title {
  color: white;
  padding: 15px;
  font-weight: 500;
  font-size: 30px;
  text-align: center;
}

.card-title h3 {
  margin: 0;
  font-size: 28px;
}

.card-body {
  padding: 20px;
}

.prize-title {
  margin-top: 16px;
  margin-bottom: 12px;
  color: #ffffff;
  font-size: 23px;
}

.prize-numbers {
  display: flex;
  font-size: 1.5rem;
  letter-spacing: 5px;
  color: white;
  font-weight: bold;
}
.prize-number {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 60px;
  height: 70px;
  margin: 3px 6px;
  background-color: rgba(70, 30, 76, 0.75);
  font-size: 28px;
  font-weight: bold;
  color: white;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
}

#current-page {
  font-size: 1.2rem;
  font-weight: bold;
}

.btn-result {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  color: white;
  font-size: 25px;
  background: #a33ec5;
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  margin-bottom: 70px;
  margin-top: 60px;
}

.result-container {
  display: flex;
  position: relative;
  /* transform: translateY(-90vh); */
  margin-top: -20px;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.contain_btn {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
}

/* Footer style */
.footer-container {
  background: #461e4cbf;
  padding: 30px 0;
}
.description {
  margin-top: 12px;
  font-family: "Roboto";
  font-size: 17px;
  font-weight: 400;
  line-height: 135%;
  color: white;
}
.contain_btn a {
  text-decoration: none;
}
.contain_btn a button:hover {
  background: #000000;
}
.result-more {
}

/* Container styling */
div.pagination {
  position: relative;
  transform: translateY(10vh);
  display: flex !important;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  flex-wrap: wrap;
  font-family: Arial, sans-serif;
}

div.pagination button,
div.pagination input[type="text"] {
  padding: 6px 12px;
  border: 1px solid #ccc;
  background-color: #f9f9f9;
  color: #333;
  cursor: pointer;
  border-radius: 7px;
  padding: 12px 25px !important;
  transition: all 0.2s ease-in-out;
  font-weight: 400;
  font-size: 16px;
}

.btnPagingNext,
.btnPagingBack,
.number_page {
  background: white !important;
  color: black !important;
  font-size: 25px;
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  margin-bottom: 70px;
  margin-top: 60px;
}
.number_select {
  background: #a33ec5 !important;
  color: white !important;
  font-size: 25px;
  padding: 12px 25px;
  border: none;
  border-radius: 10px;
  margin-bottom: 70px;
  margin-top: 60px;
}
.header-about {
  font-size: 45px;
  color: white;
  font-weight: 500;
}

.contact-us-box {
  width: 100%;
}

.description-about {
  margin-top: 30px;
  font-family: "Roboto";
  font-size: 18px;
  font-weight: 400;
  line-height: 135%;
  color: white !important;
}

.box {
  width: 100%;
  height: auto;
  /* background: radial-gradient(
    100% 100% at 0% 0%,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 100%
  ); */
  border-radius: 20px;
  /* padding: 50px; */
}

.contact-section h2 {
  font-size: 32px;
  color: white;
  margin-bottom: 30px;
  font-weight: 600;
}

.text-label {
  font-size: 20px;
  color: white;
  margin-bottom: 10px;
}
.form-control {
  border-radius: 10px;
  height: 65px;
  border: 1px solid #ced4da;
}

.form-control:focus {
  border-color: #80bdff;
  box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

textarea.form-control {
  height: 170px;
  resize: none;
}

.btn-submit {
  margin-top: 20px;
  background-color: #a33ec5;
  color: white;
  padding: 12px 25px;
  border-radius: 10px;
  font-weight: 500;
  border: none;
  transition: all 0.3s;
  font-size: 25px;
}

.btn-submit:hover {
  background-color: #0056b3;
  transform: translateY(-2px);
}

.header-contact {
  font-size: 45px;
  color: white;
  font-weight: 500;
  margin-top: -16vh;
}

.contact-us {
  position: relative;
  transform: translateY(-46vh);
}
.description-contact-us {
  margin-top: 9vh;
  font-family: "Roboto";
  font-size: 18px;
  font-weight: 400;
  line-height: 135%;
  color: white !important;
}
.last-result {
  /* background: radial-gradient(
    100% 100% at 0% 0%,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 100%
  ); */
  /* border: 2px solid rgba(255, 255, 255, 0.5); */

  /* border-radius: 20px; */
  overflow: hidden;
  height: auto;
}
.last-result .header-last-result {
  /* background-color: rgba(0, 0, 0, 0.5); */
  /* height: 77px; */
  width: 100%;
  color: white;
}
.last-result .live-result {
  background: linear-gradient(91.67deg, #320e9f -20.4%, #6c27cd 125.45%);
  border-radius: 20px;
  min-height: 160px;
  height: auto;
}
.next-draw {
  /* background: radial-gradient(
    100% 100% at 0% 0%,
    rgba(255, 255, 255, 0.8) 0%,
    rgba(255, 255, 255, 0.4) 100%
  ); */
  /* min-height: 205px; */
  border-radius: 20px;
  overflow: hidden;
  /* border: 2px solid rgba(255, 255, 255, 0.5); */
}
.next-draw .header-next-draw {
  /* height: 77px; */
  color: black;
  /* background-color: rgba(255, 255, 255, 0.7); */
}
.countdown-box {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}
.countdown-box .countdown-label {
  font-weight: 400;
  font-size: 12px !important;
  text-align: end;
}
.countdown-box .countdown-value {
  width: 40px;
  height: 30px;
  background-color: #200870cb;
  /* background: radial-gradient(
      100% 100% at 0% 0%,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.3) 100%
    ); */
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-weight: 600;
  font-size: 20px;
  border: solid 1px rgba(255, 255, 255, 0.5);
}
ul li {
  margin-top: 20px;
}
ul li a {
  color: white;
}
.footer-bg {
  background: radial-gradient(
    100% 100% at 0% 0%,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  min-height: 440px;
  height: auto;
  width: 100%;
  bottom: 0;
}
.footer-bg .footer-copy-right {
  /* background: radial-gradient(
      100% 100% at 0% 0%,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.2) 100%
    ); */
  height: 80px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.gap-2 {
  gap: 0.5rem;
}
.live-result .first-prize,
.live-result .second-prize,
.live-result .third-prize {
  background-color: #320e9f;
  border-radius: 10px;
}
.live-result .first-prize .prize .box-number,
.live-result .second-prize .prize .box-number,
.live-result .third-prize .prize .box-number {
  font-weight: 600 !important;
  color: white;
  width: 100%;
  height: 60px;
  font-size: 50px;
  /* background: radial-gradient(
    100% 100% at 0% 0%,
    rgba(222, 184, 83, 0.8) 0%,
    rgba(222, 184, 83, 0.2) 100%
  ); */
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: 1px solid rgba(255, 255, 255, 0.5); */
}

/* .second-prize .prize .box-number {
  font-weight: 600 !important;
  color: white;
  width: 100%;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: radial-gradient(
    100% 100% at 0% 0%,
    rgba(221, 220, 225, 0.8) 0%,
    rgba(221, 220, 225, 0.2) 100%
  );
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.third-prize .prize .box-number {
  font-weight: 600 !important;
  color: white;
  width: 100%;
  height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: radial-gradient(
    100% 100% at 0% 0%,
    rgba(227, 145, 107, 0.8) 0%,
    rgba(227, 145, 107, 0.2) 100%
  );

  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
} */
.result-card {
  overflow: hidden;
  /* border: 1px solid rgba(255, 255, 255, 0.5); */
  width: 100%;
  min-height: 175px;
  height: auto;
  background: radial-gradient(
    100% 100% at 0% 0%,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  border-radius: 10px;
}
.result-card .results-card-header {
  width: 100%;
  height: 50px;
  /* background: radial-gradient(
      100% 100% at 0% 0%,
      rgba(255, 255, 255, 0.5) 0%,
      rgba(255, 255, 255, 0.2) 100%
    ); */
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}
.result-card .result-body .first-prize .prize .box-number,
.result-card .result-body .second-prize .prize .box-number,
.result-card .result-body .third-prize .prize .box-number {
  font-weight: 700 !important;
  font-size: 30px;
  color: white;
  width: 100%;
  height: 42px;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.gap-3 {
  gap: 1rem;
}
.btn-more {
  /* background: radial-gradient(
    100% 100% at 0% 0%,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0) 100%
  ); */
  height: 64px;
  font-size: 22px;
  width: fit-content;
  padding: 0 30px;
  border-radius: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: solid 1px #ccc6c6; */
  text-decoration: none !important;
  color: #b9b9b9 !important;
  transition: all 0.3s ease-in-out;
}
.btn-more:hover {
  color: white !important;
}
.pagination-custom .btn-pagination {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.5);
  border: solid 1px rgba(255, 255, 255, 0.5);
}
.pagination-custom .pagination-number {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 6px;

  border: solid 1px rgba(255, 255, 255, 0.5);
}
.pagination-custom .pagination-number a {
  text-decoration: none !important;
  color: white !important;
}
.custom-table {
  background: linear-gradient(91.67deg, #320e9f -20.4%, #6c27cd 125.45%);
  border-radius: 20px;
}
