/* Menghilangkan default dropdown background */
select {
  background-color: transparent;
  padding-left: 2rem; /* Tambahkan padding kiri pada select */
  padding-right: 1rem; /* Tambahkan padding kanan pada select */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

}

/* Custom dropdown arrow, jika diperlukan */
select::-ms-expand {
  display: none;
}

/* Menyetting agar opsi dropdown juga transparan */
select option {
  background-color: transparent; /* Buat opsi dropdown transparan */
  color: #000; /* Warna teks opsi */
  padding-left: 10px; /* Tambahkan padding kiri agar teks tidak mepet */
  border: none;
}

.hero {
  background-image: url('../image/bg-hero.png');
  width: 100%;
  height: auto;
  min-height: 100vh; /* Sesuaikan tinggi minimal sesuai kebutuhan */
}
.hero-scetion-page-luky {
  background-image: url('../image/bg-hero-luky.jpg');
  width: 100%;

  /* Sesuaikan tinggi minimal sesuai kebutuhan */
}

/* Styling dropdown container */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Styling the button to open dropdown */
.dropdown-button {
  display: flex;
  align-items: center;
}

/* Styling dropdown menu */
.dropdown-menu {
  display: flex;
  flex-direction: column;
  padding: 0;
  margin: 0;
  list-style: none;
  border: 1px solid #ddd; /* Optional: Add border if needed */
}

/* Hide dropdown menu by default */
.dropdown-menu.hidden {
  display: none;
}

/* Styling each item in the dropdown */
.dropdown-item {
  padding: 0.5rem;
  cursor: pointer;
}

/* Ensure images inside dropdown items are aligned */
.dropdown-item img {
  display: block;
}
/* Tambahkan efek blur pada navbar */
.navbar-blur {
  backdrop-filter: blur(10px); /* Sesuaikan kekuatan blur sesuai kebutuhan */
  background-color: rgba(255, 255, 255, 0.082); /* Warna latar belakang dengan transparansi */
  transition: backdrop-filter 0.3s ease, background-color 0.3s ease;
}
/* Transisi untuk sidebar */
#sidebar {
  transform: translateX(100%); /* Sidebar mulai dari luar layar di sebelah kanan */
}

#sidebar.show {
  transform: translateX(0); /* Sidebar bergerak ke dalam layar */
  transition: transform 0.3s ease-in-out; /* Transisi halus */
}

/* Mengaktifkan overlay */
#overlay.active {
  display: block; /* Menampilkan overlay */
}
.bar {
  border: 0.8px solid #4A4A4A;
  border-top: 0.8px solid #4A4A4A;
  border-bottom: 0.8px solid #4A4A4A;
  border-left: 0;
  border-right: 0;
}

.number-input {
  display: inline-flex;
  align-items: center;
}
.number-input .minus  {
  background-color: #474747;
}
.number-input .plus  {
  background-color: #DE1E35;
}

.number-input button {
  width: 45px;
  height: 45px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  outline: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.number-input input[type="number"] {
  text-align: center;
  border: 1px solid #ccc;
  border-width: 1px 0;
  width: 80px;
  height: 45px;
  font-size: 16px;
  -moz-appearance: textfield;
}

.number-input input[type="number"]::-webkit-outer-spin-button, .number-input input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

:root {
--vs-primary: 29 92 255;
}

/*Dialog Styles*/
dialog {
padding: 1rem 3rem;
background: white;
max-width: 400px;
padding-top: 2rem;
border-radius: 20px;
border: 0;
box-shadow: 0 5px 30px 0 rgba(0, 0, 0, 0.1);
-webkit-animation: fadeIn 1s ease both;
        animation: fadeIn 1s ease both;
}
dialog::-webkit-backdrop {
-webkit-animation: fadeIn 1s ease both;
        animation: fadeIn 1s ease both;
background: rgba(255, 255, 255, 0.4);
z-index: 2;
-webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
}
dialog::backdrop {
-webkit-animation: fadeIn 1s ease both;
        animation: fadeIn 1s ease both;
background: rgba(255, 255, 255, 0.4);
z-index: 2;
-webkit-backdrop-filter: blur(20px);
        backdrop-filter: blur(20px);
}
dialog .x {
filter: grayscale(1);
border: none;
background: none;
position: absolute;
top: 15px;
right: 10px;
transition: ease filter, transform 0.3s;
cursor: pointer;
transform-origin: center;
}
dialog .x:hover {
filter: grayscale(0);
transform: scale(1.1);
}
dialog h2 {
font-weight: 600;
font-size: 2rem;
padding-bottom: 1rem;
}
dialog p {
font-size: 1rem;
line-height: 1.3rem;
padding: 0.5rem 0;
}
dialog p a:visited {
color: rgb(var(--vs-primary));
}

button.primary {
display: inline-block;
font-size: 0.8rem;
color: #fff !important;
background: rgb(var(--vs-primary)/100%);
padding: 13px 25px;
border-radius: 17px;
transition: background-color 0.1s ease;
box-sizing: border-box;
transition: all 0.25s ease;
border: 0;
cursor: pointer;
box-shadow: 0 10px 20px -10px rgb(var(--vs-primary)/50%);
}
button.primary:hover {
box-shadow: 0 20px 20px -10px rgb(var(--vs-primary)/50%);
transform: translateY(-5px);
}

@-webkit-keyframes fadeIn {
from {
  opacity: 0;
}
to {
  opacity: 1;
}
}

@keyframes fadeIn {
from {
  opacity: 0;
}
to {
  opacity: 1;
}
}

.simple-bar-chart{
  --line-count: 10;
  --line-color: currentcolor;
  --line-opacity: 0.25;
  --item-gap: 2%;
  --item-default-color: #060606;

  height: 10rem;
  display: grid;
  grid-auto-flow: column;
  gap: var(--item-gap);
  align-items: end;
  padding-inline: var(--item-gap);
  --padding-block: 1.5rem; /*space for labels*/
  padding-block: var(--padding-block);
  position: relative;
  isolation: isolate;
}

.simple-bar-chart::after{
  content: "";
  position: relative;
  inset: var(--padding-block) 0;
  z-index: -1;
  --line-width: 1px;
  --line-spacing: calc(100% / var(--line-count));
  background-image: repeating-linear-gradient(to top, transparent 0 calc(var(--line-spacing) - var(--line-width)), var(--line-color) 0 var(--line-spacing));
  box-shadow: 0 var(--line-width) 0 var(--line-color);
  opacity: var(--line-opacity);
}
.simple-bar-chart > .item{
  height: calc(1% * var(--val));
  background-color: var(--clr, var(--item-default-color));
  position: relative;
  animation: item-height 1s ease forwards
}
@keyframes item-height { from { height: 0 } }

.simple-bar-chart > .item > * { position: absolute; text-align: center }
.simple-bar-chart > .item > .label { inset: 100% 0 auto 0 }
.simple-bar-chart > .item > .value { inset: auto 0 100% 0 }

/* HOME */
.flex1 {
  display: flex;
  align-items: center;
}

.items-center {
  align-items: center;
}

.space-x-4 {
  gap: 0rem;
}

.bg-red-600 {
  background-color: #b6091e;
}

.hover\:bg-red-700:hover {
  background-color: #ff6477;
}

.text-white {
  color: white;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.rounded-md {
  border-radius: 0.375rem;
}

.w-6 {
  width: 1.5rem;
}

.h-6 {
  height: 1.5rem;
}

.mr-2 {
  margin-right: 0.5rem;
}

.pointer-events-none {
  pointer-events: none;
}

.absolute {
  position: absolute;
}

.relative {
  position: relative;
}

.inset-y-0 {
  top: 0;
  bottom: 0;
}

.pl-8 {
  padding-left: 2rem;
}

.pl-2 {
  padding-left: 0.5rem;
}

.pr-4 {
  padding-right: 1rem;
}

.container {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.card {
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.5rem;
  border: 3px solid #3b82f6;
  background-color: rgb(62 86 118 / 50%);
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}
.results-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.result-header {
  position: relative;
}
.gradient-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, #3b82f6, transparent);
}
.result-title {
  position: relative;
  z-index: 10;
  text-align: center;
}
.result-title h2 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
}
.numbers {
  display: flex;
  justify-content: space-between;
}
.number {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3.5rem;
  width: 3.5rem;
  border-radius: 50%;
  /* border: 10px solid #ef4444; */
  background-image: url('../image/ball0.png');
  background-size: cover;
  background-position: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: #ef4444;
}
.timestamp {
  margin-top: 1.5rem;
  text-align: center;
  color: white;
}
.button {
  margin-top: 1.5rem;
  width: 100%;
  border-radius: 0.375rem;
  background-color: #ef4444;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  color: white;
  transition-property: background-color;
  transition-duration: 300ms;
}
.button:hover {
  background-color: #dc2626;
}
.py-44 {
  padding-top: 7rem;
  padding-bottom: 4rem;
}
.min-h-screen {
  min-height: 33rem;
}
.flex-wrap {
  flex-wrap: wrap;
  gap: 4rem;
}

img,
video {
  max-width: 100%;
  height: auto;
}
.w-\[40em\] {
  width: 50em;
  margin-top: 5rem;
}

.card {
  max-width: 30rem;
  margin-top: -1rem;
  margin-left: auto;
  margin-right: auto;
  border-radius: 0.5rem;
  border: 3px solid #3b82f6;
  background-color: rgb(62 86 118 / 50%);
  padding: 1.5rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

@media (min-width: 1280px) {
  .text-svg {
    margin-left: -2rem;
    margin-top: 2rem;
  }
  .w-\[30em\] {
    width: 40em;
    margin-left: -4rem;
    margin-top: 4rem;
  }
  .numbers {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
  }
  .flex-wrap {
    flex-wrap: wrap;
    gap: 0rem;
    padding-bottom: 2rem;
  }
  .result-title h2 {
    margin-bottom: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
  }
  .number {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 5rem;
    width: 5rem;
    border-radius: 50%;
    /* border: 10px solid #ef4444; */
    background-image: url('../image/ball0.png');
    background-size: cover;
    background-position: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ef4444;
  }
}

.ball-container {
  width: 70px;
  height: 70px;
  margin-right: 10px;
  overflow: hidden;
  position: relative;
}

.ball-strip {
  position: absolute;
  top: 0;
  left: 0;
  width: 60%;
  animation: rollBalls 5s linear infinite;
}

.ball {
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 70px;
  background-image: url('../image/ball0.png');
  background-size: cover;
  background-position: center;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  color: #ef4444;
  justify-content: center;
  border-radius: 50%;
  align-items: center;
  background-size: cover;
  background-position: center;
  font-weight: bold;
  margin-bottom: 5px;
}

.new-number {
  align-items: center;
  justify-content: center;
  height: 70px;
  width: 70px;
  background-image: url('../image/ball0.png');
  background-size: cover;
  background-position: center;
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  color: #ef4444;
  justify-content: center;
  border-radius: 50%;
  align-items: center;
  background-size: cover;
  background-position: center;
  font-weight: bold;
  margin-bottom: 5px;
}

@keyframes rollBalls {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-90%);
  }
}
@media (max-width: 768px) {
  .card {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
    border-radius: 0.5rem;
    border: 3px solid #3b82f6;
    background-color: rgb(62 86 118 / 50%);
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
  .flex-wrap {
    flex-wrap: wrap;
    gap: 0rem;
    padding-bottom: 2rem;
  }
}

@media (max-width: 375px) {
  .card {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
    border-radius: 0.5rem;
    border: 3px solid #3b82f6;
    background-color: rgb(62 86 118 / 50%);
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
  .flex-wrap {
    flex-wrap: wrap;
    gap: 0rem;
    padding-bottom: 2rem;
  }
  .ball-container {
    width: 70px;
    height: 48px;
    margin-right: -11px;
    overflow: hidden;
    position: relative;
  }

  .ball {
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    background-image: url('../image/ball0.png');
    background-size: cover;
    background-position: center;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    align-items: center;
    background-size: cover;
    background-position: center;
    font-weight: bold;
    margin-bottom: 5px;
  }
  .results-container {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
  }

  .ball-strip {
    position: absolute;
    top: 0;
    left: 0px;
    width: 60%;
    animation: rollBalls 5s linear infinite;
  }
}

@media (max-width: 360px) {
  .card {
    max-width: 28rem;
    margin-left: auto;
    margin-right: auto;
    margin-top: 3rem;
    border-radius: 0.5rem;
    border: 3px solid #3b82f6;
    background-color: rgb(62 86 118 / 50%);
    padding: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1),
      0 2px 4px -1px rgba(0, 0, 0, 0.06);
  }
  .ball-container {
    width: 70px;
    height: 48px;
    margin-right: -11px;
    overflow: hidden;
    position: relative;
  }

  .ball {
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 50px;
    background-image: url('../image/ball0.png');
    background-size: cover;
    background-position: center;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    justify-content: center;
    border-radius: 50%;
    align-items: center;
    background-size: cover;
    background-position: center;
    font-weight: bold;
    margin-bottom: 5px;
  }
  .results-container {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
  }

  .ball-strip {
    position: absolute;
    top: 0;
    left: 0px;
    width: 60%;
    animation: rollBalls 5s linear infinite;
  }
}
.youtube-button {
  display: inline-flex;
  align-items: center;
  background-color: #ff0000; /* YouTube red color */
  color: white;
  font-family: Arial, sans-serif;
  padding: 10px 20px;
  border-radius: 5px;
  text-decoration: none;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.youtube-button:hover {
  background-color: #cc0000; /* Darker red on hover */
}

.youtube-icon {
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/b/b8/YouTube_Icon_(2013-2017).svg");
  background-size: cover;
  width: 20px;
  height: 20px;
  display: inline-block;
  margin-right: 10px;
}

.content-wrapper {
  width: 100%;
}
#embed-link {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

#embed-link iframe {
  position: absolute;
  top: -5%;
  left: 0%;
  width: 100%;
  height: 100%;
  z-index: 100000;
  scale: 0.6;
}

.ytidioluar {
  /* position: relative; */
  top: 67rem;
  /* display: flex !important; */
}
@media (min-width: 1440px) {
  .ytidioluar {
    /* position: relative; */
    top: 84rem !important;
    /* display: flex !important; */
  }
  #embed-link iframe {
    position: absolute;
    top: -3%;
    left: 0%;
    width: 100%;
    height: 100%;
    z-index: 100000;
    scale: 0.6;
  }
}

@media (max-width: 767px) {
  #embed-link {
    height: 0;
    width: 10000px;
    padding: 20px;
    height: 34%;
  }

  .ytidioluar {
    /* position: relative; */
    top: 49rem;
    /* display: flex !important; */
  }

  #embed-link iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 120%;
    padding-top: 10px;
    padding-left: 10px;
    padding-right: 10px;
    scale: 1;
  }
}

@media (max-width: 430px) {
  .ytidioluar {
    /* position: relative; */
    top: 50.5rem;
    /* display: flex !important; */
  }
}
@media (max-width: 1023px) {
  .list-footer ul {
    display: grid;
    grid-template-columns: repeat(
      3,
      minmax(0, 1fr)
    ); /* Menggunakan minmax untuk kontrol lebih baik */
    grid-template-rows: repeat(2, auto);
    gap: 0.5rem 0.05rem; /* Mengurangi jarak horizontal antar kolom menjadi sangat kecil */
    padding: 0;
    text-align: center;
  }
  .list-footer ul li {
    padding: 0 2px; /* Menambahkan sedikit padding horizontal pada li */
  }
  .list-footer ul li a {
    font-size: 12px;
    display: block;
    padding: 0.1rem 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap; /* Mengembalikan nowrap untuk mencegah wrapping */
  }
}

@media (min-width: 1024px) {
  .list-footer ul {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
  }
  .list-footer ul li {
    padding: 0 0.5rem;
  }
  .list-footer ul li a {
    font-size: 1rem;
    white-space: nowrap;
  }
}

@media (max-width: 768px) {
  .footer-bottom-content .content-flex > div {
    flex-direction: column;
    align-items: center;
  }
  .footer-bottom-content .grup-1 {
    margin-bottom: 1rem;
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 100%;
  }
  .all-text {
    font-size: 12px;
  }
}