body {
    background: url() center center no-repeat;
    background-size:cover;
    background-attachment:fixed;
}

.gradient-border {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}


.yea {
    width: 100%;
    height: 100%;
    align-items: center;
}

.the_wheel {
    background-image: url('wheel_back.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain; /* Atau 98% sesuai keinginan */
    padding: 20px;
    position: relative;
    width: 100%; /* Memastikan elemen the_wheel memenuhi lebar */
    max-width: 500px; /* Sesuaikan ukuran maksimalnya */
    height: auto; /* Agar tetap proporsional */
}
img.pinroda.pointer {
    top: 40%;
}
.pinroda {
    position: absolute;
    top: 45%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    height: auto; /* Mempertahankan rasio aspek */
    max-width: 100%; /* Ukuran maksimal agar tidak melebihi elemen the_wheel */
}

/* Responsif untuk ukuran viewport lebih kecil dari 300px */
@media (min-width: 201px) and (max-width: 400px) {
    .pinroda {
        top: 42.5%;
    }
}

/* Responsif untuk ukuran antara 301px dan 500px */
@media (min-width: 401px) and (max-width: 500px) {
    .pinroda {
        top: 47%;
    }
}

/* Responsif untuk ukuran antara 501px dan 700px */
@media (min-width: 501px) and (max-width: 700px) {
    .pinroda {
        top: 47.2%;
        /* Menyusutkan ukuran dari 450px hingga 700px pada lebar viewport 501px hingga 700px */
    }
}

/* Responsif untuk ukuran lebih besar dari 700px */
@media (min-width: 701px) {
    .pinroda {
        top: 47.7%;
        max-width: 560px;
    }
}


.bulatbtn {
    position: absolute;
    top: 49.7%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: none;
    overflow: hidden;
    z-index: 11;
  }

  .bulatbtn::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: #ff16168f;
    border-radius: 50%;
    filter: blur(3px);
    animation: pulse-border 1500ms ease-out infinite;
  }

  .bulatbtn:hover::before {
    background-color: #e9cc4e; /* Warna saat hover, bisa disesuaikan */
  }
  .bulatbtn:hover:after {
    background-color: darken(#e6403f, 10%);
  }

  .bulatbtn::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: 50%;
    top: 49.5%;
    transform: translateX(-50%) translateY(-50%);
    display: block;
    width: 80px;
    height: 80px;
    background: #e6403f;
    border-radius: 50%;
    transition: all 200ms;
  }

  .btn-item {
    display: block;
    position: relative;
    top: 29%;
    left: 3%;
    width: 20%;
    height: 20%;
    border-left: 32px solid #ffffff;
    border-top: 22px solid transparent;
    border-bottom: 22px solid transparent;
    cursor: pointer;
    z-index: 12;
    background: none;
  }


  @keyframes pulse-border {
    0% {
      transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1);
      opacity: 1;
    }
    100% {
      transform: translateX(-50%) translateY(-50%) translateZ(0) scale(1.5);
      opacity: 0;
    }
  }

.btn-danger {
    color: #fff;
    background-color: #7927b8;
    border-color: #e7cbf9;
}

.alert-bg2.active{
    display:flex!important;
}

.alert-bg2{
    z-index:99999!important;
    position:fixed;
    top:0px;
    left:0px;
    width : 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display:none;
    align-items:center;
    justify-content:center;
}

.alert-bd2{
    border-radius: 10px;
    position:relative;
    background: #f1f1f1;
    color:black;
    font-weight : bold;
    padding:20px;
    height:auto!important;
}

.alert-close2{
    font-size : 26px;
    font-weight : bold;
    color:white; position:absolute;
    top:-10px; right:-20px;
    display:flex; align-items:center;
    justify-content:center;
    border-radius:100%;
    width : 35px;
    height: 35px;
    background: rgb(255, 0, 0);
}

.alert-bd,
.alert-bd2{
    width : 900px;
    max-width: 80%;
}

/*coba*/

.button-join {
    text-align: center;
}

.btn-animated {
  box-sizing: border-box;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-color: transparent;
  border: 2px solid #e74c3c;
  border-radius: 0.6em;
  color: #e74c3c;
  cursor: pointer;
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-align-self: center;
      -ms-flex-item-align: center;
          align-self: center;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  margin: 20px;
  padding: 1.2em 2.8em;
  text-decoration: none;
  text-align: center;
  text-transform: uppercase;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}
.btn-animated:hover, .btn-animated:focus {
  color: #fff;
  outline: 0;
}

.btn-lanjut {
  touch-action: manipulation;
  display: inline-block;
  outline: none;
  font-family: inherit;
  font-size: 1em;
  box-sizing: border-box;
  border: none;
  border-radius: .3em;
  height: 2.75em;
  line-height: 2.5em;
  text-transform: uppercase;
  padding: 0 1em;
    box-shadow: 0 3px 6px rgba(0, 0, 0, .16), 0 3px 6px rgba(110, 80, 20, .4), inset 0 -2px 5px 1px rgb(80 59 1), inset 0 -1px 1px 3px rgb(202 163 15);
    background-image: linear-gradient(160deg, #514001, #ccb114, #ffdd5f, #d2b302, #b09801);
    border: 1px solid #a55d07;
    color: rgb(46 45 0);
  text-shadow: 0 2px 2px rgba(250, 227, 133, 1);
  cursor: pointer;
  transition: all .2s ease-in-out;
  background-size: 100% 100%;
  background-position:center;
}
.btn-lanjut:focus,
.btn-lanjut:hover {
  background-size: 150% 150%;
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23),
                inset 0 -2px 5px 1px #b17d10,
                inset 0 -1px 1px 3px rgba(250,227,133,1);
  border: 1px solid rgba(165,93,7,.6);
  color: rgba(120,50,5,.8);
}
.btn-lanjut:active {
  box-shadow: 0 3px 6px rgba(0,0,0,.16), 0 3px 6px rgba(110,80,20,.4),
              inset 0 -2px 5px 1px #b17d10,
                inset 0 -1px 1px 3px rgba(250,227,133,1);
}

.btn-purple {
    background: -webkit-gradient(linear, left top, left bottom, from(#242424), to(#000000));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#faa51a', endColorstr='#f47a20');
    color: #e4e00d;
    border-width: 0;
    font-weight: bolder;
    letter-spacing: 2px;
    text-align: center;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
    -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
}
.btn-purple:hover {
    background: #ffd330; /* Change background on hover */
    background-image: linear-gradient(to bottom, #ffd330 0%, #ffee8a 100%); /* Reverse gradient on hover */
    box-shadow: 0 0 30px 5px rgba(255, 215, 0, 0.8); /* Shadow effect on hover */
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

/* Pastikan gambar logo tidak melebihi lebar container */
.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Mengatur lebar kartu agar responsif */
.card {
    max-width: 100%;
    border-radius: 0.375rem; /* Menyesuaikan border radius jika diperlukan */
}

/* Memastikan form padding yang sesuai */
.form-floating {
    margin-bottom: 1rem;
}

/* Ensure modal covers the whole screen */
.modal.fade.show {
    display: flex !important;
    align-items: center;
    justify-content: center;
}


/* Custom modal styling */


@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

 .modal-content {
    background-color: #1f1f1f !important;
  }

  .modal-body ul li::before {
    content: "• ";
    color: #ffc107;
    font-weight: bold;
    margin-right: 6px;
  }

  .modal-body ul li {
    line-height: 1.5;
    color: #ccc;
  }

  .modal-body .modal-title i {
    vertical-align: middle;
  }

  .modal-body .btn-outline-light:hover {
    background-color: #ffc107;
    color: #000;
    border-color: #ffc107;
  }


/* Responsive */
@media (max-width: 768px) {
  .modals-inner {
    padding: 25px;
  }

  .isimodal h2 {
    font-size: 26px;
  }

  .terms-list li {
    font-size: 14px;
  }

  .buttons .confirm {
    font-size: 16px;
    padding: 12px 24px;
  }
}

@media (max-width: 480px) {
  .modals-inner {
    padding: 20px;
  }

  .isimodal h2 {
    font-size: 22px;
  }

  .terms-list li {
    font-size: 13px;
  }

  .buttons .confirm {
    font-size: 14px;
    padding: 10px 20px;
  }
}


/* CSS untuk Modal Hadiah */
.custom-prize-modal {
    display: none; /* Sembunyikan modal secara default */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Overlay gelap */
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Awal modal tersembunyi */
    transform: scale(0.9); /* Efek zoom keluar */
    transition: all 0.5s ease-in-out; /* Tambahkan transisi untuk animasi */
}

.custom-prize-modal.is-in {
    display: flex; /* Tampilkan modal saat class .is-in ditambahkan */
    opacity: 1; /* Set modal menjadi terlihat */
    transform: scale(1); /* Efek zoom masuk */
}

.custom-modal-content {
    border: 2px solid transparent;
    background: linear-gradient(71deg, #1e1e1e, #0e0e0e, #000000);
    background-clip: padding-box;
    border-radius: 45px;
    padding: 40px;
    margin: 10px;
    max-width: 600px;
    width: 100%;
    position: relative;
    transition: all 0.3s ease;
}

.custom-modal-content::before {
    content: '';
    position: absolute;
    top: -20px;
    bottom: -20px;
    left: -20px;
    right: -20px;
    border-radius: 45px;
    background: radial-gradient(circle at top, #89c911, #edfd00);
    z-index: -1;
    transition: all 0.3s ease;
    opacity: 0.5;
}

.custom-prize-modal.is-in .custom-modal-content::before {
    top: -1px;
    bottom: -2px;
    left: -0px;
    right: -0px;
    opacity: 1;
}

.custom-rewards {
    text-align: center;
}

.custom-rewards-container {
    margin-bottom: 20px;
}

.custom-card {
    background: #000000;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: all 0.3s ease;
}

.custom-card:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.custom-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.reward-text {
    color: #ffee00;
    font-size: 50px;
    font-weight: bold;
}

.custom-reward-comments {
    margin-top: 20px;
}

.custom-header {
    font-weight: 700;
    text-transform: uppercase;
    background: linear-gradient(to right, #adadad 0%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 24px;
}

.custom-reward-comments p {
    font-size: 16px;
    color: #ffffff9c;
}

.custom-flex-container {
    display: flex;
    justify-content: center;
}

.inner-btn {
    width: 140px;
    height: 40px;
    border-radius: 5px;
    border: 0px;
}

.btn-lanjut:hover {
        background: -webkit-gradient(linear, left top, left bottom, from(#87780a), to(#5f4700));
        color: #ffffff;
        background-color: #ffc107;
        border-color: #eeff00;
        overflow: hidden;
        text-transform: uppercase;
        text-shadow: 0 1px 1px rgba(0, 0, 0, .3);
        box-shadow: 0 1px 2px rgba(0, 0, 0, .2);
        animation: pulse 1s infinite;
}
@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@media (min-width: 992px) {
    .claim-hadiah {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 100%;
        flex: 0 0 100%!important;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }
}

.alert-fixed {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 99999; /* pastikan sangat tinggi */
    width: auto;
    max-width: 90%;
    padding: 15px 30px;
    border-radius: 6px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease-in-out;
}
.alert-fixed.show {
    opacity: 1;
    pointer-events: auto;
}

.grid-icon-button {
    flex: 1 1 calc(50% - 10px);
    max-width: 48%;
    height: 100px;
    background: linear-gradient(135deg, #1e1e1e, #2d2d2d);
    color: #fff;
    border-radius: 15px;
    text-align: center;
    text-decoration: none;
    padding: 15px 10px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.grid-icon-button i {
    font-size: 28px;
    margin-bottom: 5px;
    text-decoration: none;
    color: gold;
}

.grid-icon-button span {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    color: #f1f1f1;
}

a:hover {
    text-decoration: none!important;
}

.grid-icon-button:hover {
    background: linear-gradient(135deg, #2d2d2d, #3c3c3c);
    transform: translateY(-3px);
}

