@font-face {
  font-family: "SFUIDisplay";
  src: url("/assets/font/SF-UI-Display/sf-ui-display-light-58646b33e0551.otf")
    format("opentype");
  font-weight: 300;
  font-style: normal;
}
@font-face {
  font-family: "MYRIADPRO";
  src: url("/assets/font/MYRIADPRO-REGULAR.OTF") format("opentype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "SFUIDisplay";
  src: url("/assets/font/SF-UI-Display/sf-ui-display-medium-58646be638f96.otf")
    format("opentype");
  font-weight: 500;
  font-style: normal;
}

@font-face {
  font-family: "SFUIDisplay";
  src: url("/assets/font/SF-UI-Display/sf-ui-display-semibold-58646eddcae92.otf")
    format("opentype");
  font-weight: 600;
  font-style: normal;
}

@font-face {
  font-family: "SFUIDisplay";
  src: url("/assets/font/SF-UI-Display/sf-ui-display-bold-58646a511e3d9.otf")
    format("opentype");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "digital-7";
  src: url("/assets/font/digital-7.ttf") format("opentype");
  font-weight: 400;
  font-style: normal;
}

* {
  font-family: "SFUIDisplay";
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-weight: 300;
}
body {
  /* background-color: #f3f5f9; */
  background: url("../images/homepage/bg-image.png"), #f3f5f9;
  background-repeat: no-repeat;
  background-size: contain;
}
p {
  margin-top: 0;
  margin-bottom: 0 !important;
}
/* Navbar Styles */
.navbar {
  background-color: #ffffff;
  position: fixed;
  width: 100%;
  padding: 10px;
  /* height: 80px; */
  z-index: 1000;
  padding-block: 16px;
}
.navbar .nav-link {
  text-align: center;
  padding: 17px 25px;
  border-radius: 12px;
  line-height: 100%;
  color: #08619c !important;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 20px !important;
  margin: 0 25px;
  width: 100%;
  height: 100%;
}

.navbar .nav-link.active {
  color: white !important;
  background: linear-gradient(270deg, #0a74af 0%, #0d88c4 50%, #0a74af 100%);
}

.navbar-brand img {
  width: 179px !important;
  object-fit: contain;
}

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

/* .text-prize-more {
  margin-right: 20px;
  margin-top: 15px;
} */
/* .text-result {
  margin-top: 15px;
} */
/* Next Drawing Styles */
.container_index {
  display: flex;
  justify-content: center;
  padding-top: 135px;
}
.time-contain {
  text-align: center;
  border-radius: 28px;
  padding: 35px 40px;
  background: radial-gradient(
    100% 100% at 0% 0%,
    #ffffff 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
}
.countdown-box {
  /* padding: 20px 40px; */
  width: 120px;
  height: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  color: #ffffff;
  background: radial-gradient(
    100% 100% at 0% 0%,
    rgba(8, 97, 156, 0.8) 0%,
    rgba(8, 97, 156, 0.5) 100%
  );
}
.countdown-box .countdown-value {
  font-size: 40px;
  font-family: "digital-7";
  font-weight: 400;
}
.countdown-dot {
  font-size: 40px;
  font-weight: 600;
  padding-inline: 10px;
  height: 100%;
  margin-bottom: 6px;
  color: rgba(56, 65, 70, 1);
}
.countdown-box .countdown-label {
  font-size: 14px;
  letter-spacing: 1px;
}
.next-drawing {
  margin-bottom: 20px;
}

.copy-text {
  font-size: 20px !important;
  color: #ffffff !important;
}

/* get4dLiveDraw */

.draw_no {
  font-size: 30px;
  font-weight: 600;
  color: #363f45;
  text-wrap: nowrap;
}
.draw_date {
  font-size: 24px;
  font-weight: 500;
  color: #363f45;
  text-wrap: nowrap;
}

.prize-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.prize-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 12px;
  background: linear-gradient(270deg, #0a74af 0%, #0d88c4 50%, #0a74af 100%);
}
.prize-item .text-price {
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: radial-gradient(
    100% 100% at 0% 0%,
    #ffffff 0%,
    rgba(255, 255, 255, 0.6) 100%
  );
  margin: 12px;
}
.prize-item .text-price .price-number {
  font-size: 36px;
  font-weight: 600;
  color: #08619c;
}
.prize-item .text-price .price-label {
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: #08619c;
}
.text-result {
  display: flex;
  gap: 12px;
  margin-right: 40px;
}
.text-result .pool-prize {
  font-size: 50px;
  font-weight: 600;
  color: #ffffff;
}

.recent-results {
  font-size: 50px;
  font-weight: bold;
}

.custom-container {
  max-width: 1299px;
  margin: 4px auto;
}

.lottery-results {
  position: relative;
}

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

/* Previous Drawings Home page */
.result-container {
  padding: 30px;
  background: radial-gradient(
    100% 100% at 0% 0%,
    #ffffff 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  border-radius: 18px;
}
.result-header div {
  font-size: 24px;
  font-weight: 500;
  text-align: center;
}
.result-container {
  width: 100%;
}
.result-header {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  padding-bottom: 16px;
}
.header-date {
  text-align: left !important;
}
.result-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  align-items: center;
  width: 100%;
  border-top: 2px solid rgba(237, 237, 237, 1);
}
.result-content .result-prize .text-prize-more {
  display: none;
}
.result-date .text-prize-more {
  font-size: 20px;
  font-weight: 400;

  color: rgba(54, 63, 69, 1);
}
.result-prize .result-text {
  padding: 15px 0;
  display: flex;
  justify-content: center;
  gap: 5px;
}
.result-prize .result-text .pool-prize-small {
  font-size: 26px;
  color: #ffffff;
  font-weight: 500;
  background: radial-gradient(
    100% 100% at 0% 0%,
    rgba(8, 97, 156, 0.8) 0%,
    rgba(8, 97, 156, 0.5) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 100%;
}
.section-title {
  text-align: left;
  color: #363f45;
  margin-bottom: 15px;
  font-size: 36px;
}

/* Footer style */

.footer-bottom {
  background: radial-gradient(
    100% 100% at 0% 0%,
    #08619c 0%,
    rgba(8, 97, 156, 0.8) 100%
  );

  padding: 28px;
}

.footer-container {
  background: radial-gradient(
    100% 100% at 0% 0%,
    #ffffff 0%,
    rgba(255, 255, 255, 0.8) 100%
  );

  padding: 30px 0;
}
/* HOW TO PLAY */
.head-how-to {
  color: rgba(54, 63, 69, 1);
  text-align: left;
  font-size: 30px;
  font-weight: 600;
}
.container-how-to-description {
  background: radial-gradient(
    100% 100% at 0% 0%,
    #ffffff 0%,
    rgba(255, 255, 255, 0.8) 100%
  );
  padding: 35px;
  border-radius: 12px;
  margin: 15px 0 30px 0;
}
.description-how-to p {
  font-family: "MYRIADPRO";
  font-weight: 400;
  color: rgba(54, 63, 69, 1);
  font-size: 20px;
  line-height: 170%;
}

.description {
  margin-top: 12px;
  font-family: "Roboto";
  font-size: 20px;
  font-weight: 400;
  line-height: 135%;
  color: rgba(54, 63, 69, 1);
}
.contain_btn a {
  text-decoration: none;
  display: flex;
  justify-content: center;
  margin: 25px 0 50px 0;
}
.contain_btn .btn-result {
  background: linear-gradient(270deg, #0a74af 0%, #0d88c4 50%, #0a74af 100%);
  font-size: 20px;
  font-weight: 600;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.prize-value {
  color: rgba(255, 255, 255, 1);
  font-size: 50px;
  font-weight: 600;
  /* margin-right: 35px; */
}
.section-container-how-to {
  margin-bottom: 50px;
}
.result-more {
  margin-top: 20px;
}

/* Container styling */
div.pagination {
  position: relative;
  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 18px !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: 16px;
  padding: 6px 16px;
  border: none;
  border-radius: 10px;
  margin-bottom: 70px;
  margin-top: 60px;
}
.number_select {
  background: rgba(8, 97, 156, 1) !important;
  color: white !important;
  font-size: 16px;
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  margin-bottom: 70px;
  margin-top: 60px;
}
/* How to play */
.prize-grid .prize-item .prize-label {
  padding: 16px 24px;
  border-radius: 10px;
  background: radial-gradient(
    100% 100% at 0% 0%,
    #ffffff 0%,
    rgba(255, 255, 255, 0.6) 100%
  );
  margin: 12px;
}

.prize-grid .prize-item .prize-value {
  padding-right: 35px;
}

.prize-label {
  display: flex;
  align-items: end;
}

.prize-label .prize-number {
  font-size: 36px;
  font-weight: 600;
  color: #08619c;
}

.prize-label .prize-text {
  font-size: 16px;
  font-weight: 400;
  text-transform: uppercase;
  color: #08619c;
  margin-bottom: 8px;
}
/* about us */
.header-about {
  font-size: 30px;
  color: rgba(54, 63, 69, 1);
  font-weight: 600;
  padding-top: 8px;
}
.description-about p {
  font-family: "MYRIADPRO";
  font-weight: 400;
  font-size: 20px;
  color: rgba(54, 63, 69, 1);
  line-height: 170%;
}
.description-contact {
  font-size: 20px;
  color: white;
}

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

.about-us-box {
  position: relative;
  /* transform: translateY(-46vh); */
  margin-top: -19vh;
}

.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;
}

.contact-us {
  position: relative;
  /* transform: translateY(-46vh); */
}
@media (max-width: 640px) {
  /* Navbar */
  .navbar {
    position: fixed;
    top: 0px;
  }
  .navbar-nav {
    flex-direction: column;
    align-items: center;
    background-color: rgba(255, 255, 255, 1);
    width: 100%;
    margin-top: 30px;
  }
  .navbar-toggler {
    background: rgba(8, 97, 156, 1);
  }
  .nav-item {
    display: inline-block;
    width: 100%;
    padding-inline: 16px;
  }
  .nav-link {
    /* display: flex;
    justify-content: center;
    text-align: center; */

    padding: 24px;
    font-size: 14px;
    color: rgba(8, 97, 156, 1);
  }

  .navbar .nav-link.active {
    width: 100%;
    background-color: #138164;
    color: white !important;
  }
  .navbar .nav-link {
    color: rgba(8, 97, 156, 1);
    padding: 18px;
    margin: 0 !important;
  }

  .countdown-box {
    /* padding: 15px 30px; */
    width: 110px;
    height: 90px;
    border-radius: 12px;
  }
  .prize-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
    margin: 24px;
  }
  .text-draw {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: -12px;
    margin-inline: 24px;
    margin-top: 24px;
  }
  .draw_no {
    font-size: 24px;
  }
  .draw_date {
    font-size: 18px;
  }
  .section-title {
    text-align: center;
  }
  .result-header {
    display: none;
  }
  .result-content .result-prize .text-prize-more {
    display: block;
    font-size: 24px;
    font-weight: 500;
  }
  .result-content {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    align-items: center;

    width: 100%;
    border-top: 2px solid rgba(237, 237, 237, 1);
  }
  .result-content:first-child {
    border-top: 2px solid white !important;
  }

  .result-content .result-prize {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* padding-inline: 18px; */
  }
  .result-date .text-prize-more {
    padding: 12px 0 8px 0;
  }

  /* Footer style */
  .footer-container .description {
    padding-inline: 24px;
  }
  .footer-container .footer-image {
    padding-inline: 24px;
  }
  .footer-container .container p {
    font-size: 20px;
    line-height: 150%;
    color: rgba(54, 63, 69, 1);
  }
  /* HOW TO PLAY */
  .head-how-to {
    text-align: center;
  }
  .header-about {
    padding-inline: 35px;
  }
}
