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: 45%;
}
.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: 41.7%;
    }
}

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

/* Responsif untuk ukuran antara 501px dan 700px */
@media (min-width: 501px) and (max-width: 700px) {
    .pinroda {
        top: 44.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: 44%;
        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: #e57b7b;
    border-radius: 50%;
    filter: blur(3px);
    animation: pulse-border 1500ms ease-out infinite;
  }

  .bulatbtn:hover::before {
    background-color: #d3adff; /* Warna saat hover, bisa disesuaikan */
  }
  .bulatbtn:hover:after {
    background-color: darken(#ad1d1d, 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: #bd4a4a;
    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-purple {
    background: -webkit-gradient(linear, left top, left bottom, from(#eb4646), to(#8d0101));
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#faa51a', endColorstr='#f47a20');
    color: #e2e2e2;
    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 */
.modals-inner {
    background: #292929 !important;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 5px 6px 0px -2px #8f0202, -6px 5px 0px -2px #830000, 0px -2px 0px 2px #ff2323, 0px 10px 0px 0px #7b0101, 0px -10px 0px 1px #d90b0b, 0px 0px 180px 90px #3501315d;
    width: 100%;
    max-width: 640px;
    margin: auto;
}

.modal-dialog {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0; /* Ensure no extra margin is added */
}

.modal-content {
    border-radius: 0;
    max-width: 100%; /* Ensure modal content doesn't exceed its parent width */
    margin: auto;
}

.isimodal {
    font-family: "Skranji", cursive;
    background: radial-gradient(#fffbf3, #ffe19e);
    padding: 10px;
    box-sizing: border-box;
    border-radius: 20px 18px 20px 18px;
    box-shadow: 0px 0px 0px 6px rgb(238 255 0), 0px 0px 8px 6px #712a01, inset 0px 0px 15px 0px #614506, 6px 6px 1px 1px #e4e665, -6px 6px 1px 1px #f9ac00;
    text-align: center;
}

.isimodal p {
    margin-bottom: 0!important;
    font-size: 56px;
    padding: 2px;
    box-sizing: border-box;
    color: #461417;
}

h5.noticeuname.text-center {
    padding-top: 10px;
    color: #eeff00;
}

.input-name {
    display: flex;
    justify-content: normal;
    align-items: center;
    gap: 30px;
    box-sizing: border-box;
    padding: 20px;
    flex: 1;
    border-radius: 20px;
    border: 2px solid #eeff00;
    font-family: "Skranji", cursive;
    color: #fff;
    font-size: 32px;
    text-shadow: 1px 2px 3px #000000;
    cursor: pointer;
}

.buttons {
    display: flex;
    justify-content: normal;
    align-items: center;
    gap: 30px;
    box-sizing: border-box;
}

.buttons button {
    padding: 20px;
    flex: 1;
    border-radius: 20px;
    border: 2px solid #eeff00;
    font-family: "Skranji", cursive;
    color: #fff;
    font-size: 32px;
    text-shadow: 1px 2px 3px #000000;
    cursor: pointer;
}

.buttons button.confirm {
    background: -webkit-gradient(linear, left top, left bottom, from(#ffef7b), to(#ffc411));
    color: #212529;
    background-color: #ffc107;
    border-color: #eeff00;
    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);
}

.buttons button.confirm:hover {
    box-shadow: 0px 0px 0px 4px #eeff0086, 0px 2px 0px 3px #e4e66570,
        inset 2px 2px 10px 3px #4e6217;
}

.modals-inner {
    padding: 40px;
}

.isimodal p {
    font-size: 20px;
}

.input-name {
    font-size: 32px;
}

.buttons button {
    font-size: 32px;
    padding: 20px;
}

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

    .isimodal p {
        font-size: 36px;
    }

    .input-name {
        font-size: 24px;
    }

    .buttons button {
        font-size: 24px;
        padding: 15px;
    }
}

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

    .isimodal p {
        font-size: 24px;
    }

    .input-name {
        font-size: 20px;
    }

    .buttons button {
        font-size: 20px;
        padding: 10px;
    }
}
.modal-dialog {
    max-width: 900px!important;
}


  .btn-lanjut {
    background: -webkit-gradient(linear, left top, left bottom, from(#e4db83), to(#af7031));
    color: #262626;
    background-color: #e9ca61;
    border-color: rgb(252, 220, 38);
    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);
  }

  .table-header th {
    text-align: center;
}

.table-content td {
    text-align: center;
}

/* 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, #230000, #4f0303, #230000);
    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: #1e0101;
    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: #fffd95;
    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, #ffdc00 0%, #fbffd7 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(#af7031), to(#e4db83));
        color: #222;
        background-color: #ffc107;
        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: 1;
    }
    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;
    }
}
