body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-image: url('asset/bg.jpg');
    background-size: contain;
    background-position: center;
    font-family: Arial, sans-serif;
    background-repeat: no-repeat;
    background-color: black;
    flex-direction: column;
}

.wheel-container {
    position: relative;
    width: 400px;
    height: 400px;
    margin-top: 50px;
}

.wheel-frame {
    position: absolute;
    width: 77%;
    height: 100%;
    top: -1%;
    left: 11%;
    z-index: 1;
    pointer-events: none;
}

.wheel {
    width: 100%;
    height: 100%;
    position: relative;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
    transform: rotate(0deg);
    z-index: 0;
}

.wheel img {
    width: 77%;
    height: 77%;
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: -1;
    transform: translate(-50%, -50%);
}

.pointer {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 2;
    max-width: 50px;
}

.pointer img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.spin-button {
    position: absolute;
    bottom: -110px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 250px;
    z-index: 3;
}

.spin-button:hover {
    transform: translateX(-50%) scale(1.05);
}

/* Modal Popup Styles */
.modal {
   display: none;
    position: fixed;
    width: 25%;
    background: white;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    justify-content: center;
    align-items: center;
    background-repeat: no-repeat;
    top: 15px;
    padding: 15px;
}

.modal-content {
    max-width: 350px;
    width: 100%;
    animation: modalFadeIn 0.5s;

}

.modal-content img {
    width: 100%;
    height: auto;
}

@keyframes modalFadeIn {
    from {transform: scale(0.5); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

 .title{
    text-align: center;
    max-width: 200px;
    position: absolute;
    top: 50px;
    }
.flex-content{
    display: flex;
    justify-content: center;
    margin-top: -90px;
    position: relative;
    z-index: 2;
     gap: 10px;
    width: 100%;
}
.flex-content img{
    width: 100%;
    max-width:200px;
}
.flex-button{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: relative;
    z-index: 2;
     gap: 20px;
    width: 100%;
}
.flex-button img{
    width: 100%;
    max-width:200px;
}
.flex-card{
    display: flex;
    justify-content: center;
    margin-top: 20px;
    position: relative;
    z-index: 2;
     gap: 100px;
    width: 100%;
}
.flex-card img{
    width: 100%;
    max-width:100px;
}

.container{
    position: relative;
    top: 70px;
}

.card {
  perspective: 1000px;
  display: inline-block;
  margin: 10px;
}
.card-inner {
  position: relative;
  width: 120px;
  height: 180px;
  transform-style: preserve-3d;
  transition: transform 0.6s;
}
.card.flipped .card-inner {
  transform: rotateY(180deg);
}
.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
}
.card-back {
  transform: rotateY(180deg);
}

.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.modal-content {
  border-radius: 10px;
  text-align: center;
}
.modal.show {
  display: flex;
}









@media(max-width:500px){
    body{
        background-size: cover;
    }
    .wheel-container{
        width: 300px;
        height: 300px;
    }
    .flex-content img{
        max-width: 180px;
    }
}