/* wheel */

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Regular.eot');
    src: local('Poppins Regular'), local('Poppins-Regular'), url('../fonts/Poppins-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/Poppins-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Poppins';
    src: url('../fonts/Poppins-Bold.eot');
    src: local('Poppins Bold'), local('Poppins-Bold'), url('../fonts/Poppins-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/Poppins-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

*,
::after,
::before {
    box-sizing: border-box;
}

html {
    line-height: 0;
    height: 100%;
}

body {
    font-family: 'Poppins', Arial, sans-serif;
    overflow: auto;
    position: relative;
    height: 100%;
    background: #171717;
    background-size: cover;
    color: #fff;
    line-height: 1;
    margin: 0;
}

.top-maintext {
  /* position: absolute;
  top: 75px;
  left: 50%;
  transform: translateX(-50%); */
  z-index: 200;
  width: 90vw;         /* Increase size */
  max-width: 800px;    /* Prevent overflow */
  height: auto;
  padding-top: 10px;   /* Optional spacing */
}

.top-maintext img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.titleblock {
  display: none;
}


.home-btn {
  position: absolute;
  top: 15px;
  left: 15px;
  background: none;
  border: none;
  z-index: 999;
  width: 40px;
  height: 40px;
  cursor: pointer;
}

.home-btn img {
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}

.home-btn:active img {
  transform: scale(0.95);
}



@media screen and (min-width: 768px) {
    .home-btn {
    position: absolute;
    top: 5px;
    width: 42px;
    }
    
}

.attempt-bg {
    /* position: absolute;
    bottom: -20%;
    left: 50%;
    transform: translate(-50%, 50%); */
    background-color: #fbcd00;
    border-radius: 12px;
    padding: 16px;
    width: fit-content;
    color: #000;
    font-weight: bold;
    text-align: center;
    z-index: 10;
    overflow: hidden;
}

.attempt-bg .plane3 {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 50px;
    z-index: 1;
}

.attempt-bg .plane4 {
    position: absolute;
    bottom: -20px;
    left: -20px;
    width: 50px;
    z-index: 1;
}

.attempt-bg .plane3 img,
.attempt-bg .plane4 img {
    width: 100%;
    height: auto;
    display: block;
}

@media screen and (min-width: 768px) {
   .attempt-bg{
  
        bottom: -20%;
        left: 50%;
        width: 300px;
    
}}
@media screen and (min-width: 768px) {
.plane3 {

    top: 67vw;
    left: 51%;
    max-width: 20vw;
}
.plane4{

        top: 79vw;
    right: 49%;
    max-width: 19vw;
}
}

.center {
    text-align: center;
}

.uppercase {
    text-transform: uppercase;
}

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

img {
    max-width: 100%;
}

button {
    border: none;
    color: #fff;
    box-shadow: none;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
    font-weight: 400;
}

.desc {
    display: block;
}

.mob {
    display: none;
}

.white {
    color: #fff;
}

.color {
    color: #FFB800;
}

.font-mina {
    font-family: 'Mina', 'Poppins', sans-serif !important;
}

.main {
    overflow: hidden;
    position: relative;
    width:100%;
    background: #171717 url("../img/bg.png") no-repeat top center;
    background-size: cover;
    min-height: 100vh;
}
/* Mobile View (screens smaller than 768px) */
@media (max-width: 768px) {
    .main {
        background: #171717 url("../img/mobile-bg.png") no-repeat center center; /* Adjust background position for mobile */
        background-size: cover; /* Adjust to fit the container on smaller screens */
        height: auto; /* Adjust height if necessary */
    }
    
}

@media screen and (min-width: 1000px) {
   .plane4 {
    top: 10%;
    right: 52%;
    max-width: 30vw;
   }
    
}


/* Default (Desktop View) */
.maintext {
    display: block; /* Ensures the span behaves like a block element */
    width: 400px; /* Large size for desktop */
    height: 247px; /* Height for desktop */
    position: relative;
}

.maintext img {
    width: 100%; /* Makes the image fill the container */
    height: 100%; /* Matches the height of the container */
    object-fit: contain; /* Keeps the aspect ratio of the image */
}

/* For screens larger than 1600px width (21-inch monitors and above) */
@media screen and (min-width: 1600px) {
    .maintext {
        width: 50vw; /* Adjust the width for larger screens */
       height: 26vh; /* Adjust the height proportionally */
    }
    
}


/* Mobile View (Screens smaller than 768px) */
@media (max-width: 767px) {
    .maintext {
        width: 90%; /* Reduce width for mobile */
        height: auto; /* Adjust height based on content */
    }

    .maintext img {
        width: 100%; /* Ensure it stays responsive */
        height: auto; /* Maintain aspect ratio */
        object-fit: contain; /* Keeps the image proportional */
    }
}


.main__layout {
    /* min-height: 100vh; */
    max-width: 80vw;
    margin: 30px auto;
    display: flex;
    flex: 0 0 auto;
    align-content: flex-start;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
}

.main__aviator {
    font-size: 3.472vw;
    font-family: 'Poppins', Arial, sans-serif;
    position: absolute;
}

.main__aviator--left {
    transform: rotate(-90deg);
    color: rgba(255, 255, 255, 0.12);
    letter-spacing: 0.4em;
    font-weight: bold;
    bottom: 12.5vw;
    left: -8.5vw;
}

.main__aviator--right {
    transform: rotate(90deg);
    color: rgba(255, 255, 255, 0.12);
    letter-spacing: 0.4em;
    font-weight: bold;
    top: 12.5vw;
    right: -8.5vw;
}

.header {
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    width: 100%;
    align-items: center;
    justify-content: center;
    padding-top: 1vw;
    z-index: 101;
}

.yellow {
    color: #FFE224;
}
.white{
    color:white;
}
.pink{
    color:#F52F2F;
}

.titleblock {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    width: 25vw;
    margin: 0 auto;
    margin-top: 1vw;
    margin-bottom: 2vw;
    z-index: 100;
    text-shadow: 0px 2px 30px #821717;
    text-align: center;
}

.titleblock .spinnow {
    font-size: 3.5vw;
    line-height: 100%;
}

.titleblock .getbonus {
    font-size: 20px;
    font-family: 'Poppins', sans-serif;
    font-style: italic;
}
@media (max-width: 768px) {
    .titleblock .getbonus {
        font-size: 10px;
        line-height: 100%; /* Adjust font size for mobile */
    }
}

.titleblock .foraviator {
    font-size: 5vw;
    line-height: 80%;
}

.titleblock .foraviator .tiny {
    font-size: 1.5625vw;
}

.header__title {
    font-size: 3.472vw;
    text-shadow: 0px 0px 29.511125564575195px #171717;
}

.header--hi {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.logo {
    position: absolute;
    top: 1.2vw;
    left: 1vw;
    align-items: center;
}

.logo__img {
    max-width: 14.583vw;
}

.bold {
    font-weight: bold;
}

.bonus {
    max-width: 13.889vw;
    border-radius: 10px;
    border: 2px solid #FBB040;
    /* background: radial-gradient(circle, #3C4DB7, #000000) !important; */
    background: transparent;
    box-shadow: -1px 1px 4px 0px #FBB040, 1px -1px 4px 0px #FBB040;
    display: flex;
    flex: 0 0 auto;
    flex-direction: row;
    width: 100%;
    margin-top: 10px !important;
    align-items: center;
    justify-content: center;
    font-size: 1.389vw;
    font-weight: 700;
    gap: 1.8vw;
    padding: 10px 5px;
    position: absolute;
    -webkit-transition: all 600ms;
    -moz-transition: all 600ms;
    -ms-transition: all 600ms;
    -o-transition: all 600ms;
    opacity: 0;
}

.bonus__sum {
    display: block;
    font-size: 1.667vw;
    color: #FBB040;
}

.bonus__img {
    max-width: 3.906vw;
    animation-name: bonus1;
    animation-duration: 4s;
    animation-iteration-count: infinite;
}

.bonus--popup {
    animation-name: bonus2;
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

/*Register Button*/
.register-container {
    margin-top: 40px;
    text-align: center;
  }
  .register-btn {
display: inline-block;
padding: 15px 30px;
font-size: 20px;
font-weight: bold;
text-decoration: none;
text-transform: uppercase;
background: linear-gradient(48deg, #FDFDFD 0%, #48E2FD 32%, #0085FF 48%); /* Background with gradient */
border: 0px solid; /* Border is a gradient */
border-image-slice: 1;
border-radius: 10px;
color: black; /* Black text color */
cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  
  .register-btn:hover {
    transform: scale(1.05);
      box-shadow: 0 0 15px rgba(255, 194, 30, 0.5);
  }
  @keyframes heartbeat {
    0%, 100% {
      transform: scale(1);
      box-shadow: 0 0 10px #E4C163;
    }
    50% {
      transform: scale(1.1);
      box-shadow: 0 0 20px #E4C163;
    }
  }

@keyframes bonus1 {
    0% {
        opacity: 1;
        filter: brightness(1);
        transform: translateX(0%) translateY(0%) rotate(0deg);
    }
    45% {
        opacity: 1;
        filter: brightness(1);
        transform: translateX(0%) translateY(0%) rotate(-8deg) scale(1);
    }
    52% {
        opacity: 1;
        filter: brightness(1.5);
        transform: translateX(0%) translateY(0%) rotate(0deg) scale(1.5);
    }
    60% {
        opacity: 1;
        filter: brightness(1);
        transform: translateX(0%) translateY(0%) rotate(-4deg) scale(1);
    }
    to {
        opacity: 1;
        filter: brightness(1);
        transform: translateX(0%) translateY(0%) rotate(0deg);
    }
}

@keyframes bonus2 {
    0% {
        opacity: 1;
        margin: 0;
        transform: translateX(0%) translateY(0%) rotate(0deg) scale(1);
        box-shadow: -1px 1px 4px 0px #ffbc00, 1px -1px 4px 0px #ffbc00;
    }
    50% {
        opacity: 1;
        transform: translateX(0%) translateY(0%) rotate(0deg) scale(1);
        box-shadow: -4px 4px 16px 0px #FFBB50, 4px -4px 16px 0px #FFBB50;
    }
    to {
        opacity: 1;
        margin: 0;
        transform: translateX(0%) translateY(0%) rotate(0deg) scale(1);
        box-shadow: -1px 1px 4px 0px #ffbc00, 1px -1px 4px 0px #ffbc00;
    }
}

.form__btn .btn {
    animation-name: bonus3;
    animation-duration: 5s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes bonus3 {
    0% {
        background: #FFB800;
        filter: drop-shadow(0px 0px 0px #FFBB50);
    }
    40% {
        filter: drop-shadow(0px 0px 0px #FFBB50);
    }
    50% {
        background: #ffe9b0;
        filter: drop-shadow(0px 0px 4px #FFF);
    }
    60% {
        filter: drop-shadow(0px 0px 0px #FFBB50);
    }
    to {
        background: #FFB800;
        filter: drop-shadow(0px 0px 0px #FFBB50);
    }
}

.bonus--popup {
    margin-top: 10px;
    background: rgba(0, 0, 0, 0.15);
    position: relative;
    max-width: 100%;
    font-size: 14px;
    gap: 15px;
    opacity: 1;
}

.bonus--popup .bonus__img {
    max-width: 40px;
}

.bonus--popup .bonus__sum {
    display: inline;
    font-size: 18px;
    padding-right: 5px;
}

.content {
    position: relative;
    width: 100%;
    padding-bottom: 4vw;
    scale: 0.9;
    margin-top: -2vw;
}

.content__btn {
    margin-top: 2.069vw;
    background: #FFB800;
    border-radius: 11px;
    color: #171717;
    font-size: 2.083vw;
    line-height: 6.944vw;
    font-weight: bold;
    display: inline-block;
    font-family: 'Poppins', 'Arial', sans-serif;
    text-transform: uppercase;
    padding: 0 7.986vw;
    cursor: pointer;
}

.content__btn--hi {
    font-size: 1.875vw;
}

.girl {
    position: absolute;
    bottom: -0.1vw;
    right: calc(20% - 5vw);
    max-width: 21.389vw;
    z-index: 5;
    margin-left: 1vw;
    z-index: 102;
}

.girl.on {
    animation-name: girl;
    animation-duration: 5s;
    animation-iteration-count: infinite;
}

@keyframes girl {
    0% {
        transform: skew(0deg) translateX(0%);
    }
    50% {
        transform: skew(1deg) translateX(-1%);
    }
    to {
        transform: skew(0deg) translateX(0%);
    }
}

.plane {
   position: absolute;
  top: 10vw;
  left: -30vw;             /* Start off-screen left */
  width: 20vw;
  z-index: 2;
  transform: scaleX(-1);   /* Flip to face right */
  animation: fly-to-final-position 3s ease-out forwards;
}

.plane.on {
    z-index: 5;
    animation-name: plane-fly-right;
  animation-duration: 10s;
  animation-iteration-count: infinite;
}

@keyframes fly-to-final-position {
  0% {
    left: -30vw;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    left: calc(90vw - 25vw); /* ends visually like right: 5vw with width: 20vw */
    opacity: 1;
  }
}


@keyframes plane-fly-left {
  0% {
    right: -30vw;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    right: calc(130vw - 60vw - 5vw); /* visually like left: 5vw */
    opacity: 1;
  }
}





@keyframes plane1-in {
    0% {
        transform: translateX(120%) translateY(40%) rotate(15deg);
    }
    to {
        transform: translateX(0%) translateY(0%) rotate(0deg);
    }
}

@keyframes plane1-fly {
    0% {
        transform: translateX(0%) translateY(0%) rotate(0deg);
    }
    33% {
        transform: translateX(5%) translateY(-5%) rotate(-3deg);
    }
    66% {
        transform: translateX(-5%) translateY(3%) rotate(0deg);
    }
    to {
        transform: translateX(0%) translateY(0%) rotate(0deg);
    }
}

.plane2 {
    position: absolute;
  top: 10vw;
  right: -30vw;             /* Start off-screen right */
  width: 20vw;
  z-index: 2;
  transform: scaleX(-1);  
  animation: plane-fly-left  3s ease-out forwards;

}

.plane2.on {
    z-index: 2;
    animation-name: plane2-fly;
    animation-duration: 12s;
    animation-iteration-count: infinite;
}

@keyframes plane2-in {
    0% {
        transform: translateX(-120%) translateY(40%) rotate(15deg) scaleX(-1);
    }
    to {
        transform: translateX(0%) translateY(0%) rotate(0deg) scaleX(-1);
    }
}

@keyframes plane2-fly {
    0% {
        transform: translateX(0%) translateY(0%) rotate(0deg) scaleX(-1);
    }
    50% {
        transform: translateX(2%) translateY(10%) rotate(-2deg) scaleX(-1);
    }
    to {
        transform: translateX(0%) translateY(0%) rotate(0deg) scaleX(-1);
    }
}

@media screen and (min-width: 768px) {
.plane3 {

    top: 67vw;
    left: 51%;
    max-width: 20vw;
}
.plane4{

        top: 79vw;
    right: 49%;
    max-width: 19vw;
}
}

.plane3 {
    position: absolute;
    top: 76vw;
    left: 53%;
    max-width: 35vw;
    z-index: 11;
    /* animation-name: plane2-in;
    animation-duration: 4s;
    animation-iteration-count: 1; */
    /* transform: scaleX(-1); */
    /* filter: blur(0.8px) brightness(0.7) hue-rotate(10deg); */
}
.plane4 {
    position: absolute;
    top: 105vw;
    right: 52%;
    max-width: 30vw;
    z-index: 11;
    /* animation-name: plane2-in;
    animation-duration: 4s;
    animation-iteration-count: 1; */
    /* transform: scaleX(-1); */
    /* filter: blur(0.8px) brightness(0.7) hue-rotate(10deg); */
}
.plane3.on {
    z-index: 2;
    animation-name: plane2-fly;
    animation-duration: 12s;
    animation-iteration-count: infinite;
}




.plane4.on {
    z-index: 2;
    animation-name: plane2-fly;
    animation-duration: 12s;
    animation-iteration-count: infinite;
}



.slideup1 {
    animation-name: slideup;
    animation-duration: 1s;
    animation-iteration-count: 1;
    position: relative;
}

.slideup2 {
    animation-name: slideup;
    animation-duration: 2s;
    animation-iteration-count: 1;
    position: relative;
}

.slideup3 {
    animation-name: slideup;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
    position: relative;
}

@keyframes slideup {
    0% {
        opacity: 0.5;
        transform: translateX(0%) translateY(80%);
    }
    to {
        opacity: 1;
        transform: translateX(0%) translateY(0%);
    }
}

.slideleft1 {
    animation-name: slideleft;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

.slideleft2 {
    animation-name: slideleft;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
}

@keyframes slideleft {
    0% {
        opacity: 0.5;
        transform: translateX(20%) translateY(0%);
    }
    to {
        opacity: 1;
        transform: translateX(0%) translateY(0%);
    }
}

.slideright1 {
    animation-name: slideright;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

.slideright2 {
    animation-name: slideright;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
}

@keyframes slideright {
    0% {
        opacity: 0.5;
        transform: translateX(-20%) translateY(0%);
    }
    to {
        opacity: 1;
        transform: translateX(0%) translateY(0%);
    }
}

.slidedown1 {
    animation-name: slidedown;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
}

.slidedown2 {
    animation-name: slidedown2;
    animation-duration: 2.2s;
    animation-iteration-count: 1;
}

.slidedown3 {
    animation-name: slidedown;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
}

@keyframes slidedown {
    0% {
        opacity: 0.1;
        transform: scalex(-1) translateX(0%) translateY(-60%) rotate(-6deg);
    }
    to {
        opacity: 1;
        transform: scalex(-1) translateX(0%) translateY(0%) rotate(0deg);
    }
}
@keyframes slidedown2 {
    0% {
        opacity: 0.1;
        transform:  translateX(0%) translateY(-60%) rotate(-6deg);
    }
    to {
        opacity: 1;
        transform: translateX(0%) translateY(0%) rotate(0deg);
    }
}
.on.blink1 {
    animation-name: blink;
    animation-duration: 15s;
    animation-iteration-count: infinite;
}

.on.blink2 {
    animation-name: blink;
    animation-duration: 12s;
    animation-iteration-count: infinite;
}

.on.blink3 {
    animation-name: blink;
    animation-duration: 19s;
    animation-iteration-count: infinite;
}

@keyframes blink {
    0% {
        opacity: 1;
        transform: translateX(0%) translateY(0%) rotate(0deg);
    }
    50% {
        opacity: 1;
        filter: brightness(1) grayscale(0) blur(0px);
        transform: translateX(0%) translateY(0%) rotate(-8deg) scale(1);
    }
    52% {
        opacity: 1;
        filter: brightness(2) grayscale(0.5) blur(1px);
        transform: translateX(0%) translateY(0%) rotate(0deg) scale(1.1);
    }
    58% {
        opacity: 1;
        filter: brightness(1) grayscale(0) blur(0px);
        transform: translateX(0%) translateY(0%) rotate(-4deg) scale(1);
    }
    to {
        opacity: 1;
        transform: translateX(0%) translateY(0%) rotate(0deg);
    }
}

.on.wave1 {
    animation-name: wave;
    animation-duration: 15s;
    animation-iteration-count: infinite;
}

.on.wave2 {
    animation-name: wave;
    animation-duration: 20s;
    animation-direction: reverse;
    animation-iteration-count: infinite;
}

.on.wave3 {
    animation-name: wave;
    animation-duration: 12s;
    animation-direction: alternate;
    animation-iteration-count: infinite;
}

@keyframes wave {
    0% {
        transform: translateX(0%) translateY(0%) rotate(0deg);
    }
    50% {
        transform: translateX(-5%) translateY(10%) rotate(-2deg) skew(5deg);
    }
    to {
        transform: translateX(0%) translateY(0%) rotate(0deg);
    }
}

.starlight1 {
    animation-name: starlight1;
    animation-duration: 60s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.starlight2 {
    animation-name: starlight2;
    animation-duration: 60s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes starlight1 {
    0% {
        opacity: 0.5;
        transform: rotate(0deg) scale(1.3);
        filter: blur(0px);
    }
    50% {
        opacity: 1;
        transform: rotate(180deg) scale(1);
        filter: blur(1px);
    }
    to {
        opacity: 0.5;
        transform: rotate(360deg) scale(1.3);
        filter: blur(0px);
    }
}

@keyframes starlight2 {
    0% {
        opacity: 1;
        transform: rotate(0deg) scale(1);
        filter: blur(1px);
    }
    50% {
        opacity: 0.5;
        transform: rotate(-180deg) scale(1.3);
        filter: blur(0px);
    }
    to {
        opacity: 1;
        transform: rotate(-360deg) scale(1);
        filter: blur(1px);
    }
}

.cloud1 {
    position: absolute;
    top: 12vw;
    left: calc(80%);
    width: 22vw;
    z-index: 0;
    margin-left: 1vw;
    filter: blur(2px);
    pointer-events: none;
}

.cloud2 {
    position: absolute;
    top: 12vw;
    left: -15vw;
    width: 20vw;
    z-index: 0;
    margin-left: 1vw;
    pointer-events: none;
}

.cloud3 {
    position: absolute;
    top: -1vw;
    right: 14vw;
    width: 12vw;
    z-index: 0;
    margin-left: 1vw;
    pointer-events: none;
}

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

.ystar1 {
    position: absolute;
    bottom: -1vw;
    left: calc(28%);
    width: 7vw;
    z-index: 0;
    margin-left: 1vw;
    pointer-events: none;
}

.ystar2 {
    position: absolute;
    bottom: 8vw;
    right: -5vw;
    width: 8vw;
    z-index: 0;
    margin-left: 1vw;
    pointer-events: none;
}

.ystar3 {
    position: absolute;
    top: 8vw;
    right: 14vw;
    width: 4vw;
    z-index: 0;
    margin-left: 1vw;
    pointer-events: none;
}

.ystar {
    overflow: hidden;
}

.ystar img {
    width: 103%;
    height: 103%;
    object-fit: contain;
}

.ystar1 img {
    filter: blur(2px);
}

.ystar3 img {
    rotate: -32deg;
}

.stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.stars1 {
    rotate: 160deg;
}

.stars2 {
    rotate: 100deg;
}

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

.wheel {
    height: 27vw;
    width: 50vw;
    margin: 0 auto;
    position: relative;
    display: flex;
    flex: 1;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    padding-top: 0vw;
    margin-top: -6vw !important; /* move it further up */
    z-index: 100;

}

.wheel:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    background: url("../img/wheel-bg.png") no-repeat top center;
    background-size: contain;
    left: 0;
    top: -0.5vw;
    z-index: 5;
    pointer-events: none;
}

.wheel:before {
    content: "";
    display: block;
    position: absolute;
    width: 3.125vw;
    height: 3.125vw;
    /* background: url("../img/pick.png") no-repeat top center; */
    background-size: contain;
    top: 2vw;
    left: 0;
    right: 0;
    margin: 0 auto;
    z-index: 3;
    pointer-events: none;
}

.wheel__block {
    width: 24vw;
    height: 24vw;
    position: relative;
    text-align: center;
    z-index: 2;
    transform-origin: 50% 50%;
}

.wheel__hand {
    position: absolute;
    left: calc(50% - 3vw);
    top: calc(50% - 1vw);
    width: 7vw;
    height: 7vw;
    background: url('../img/hand.webp') center center no-repeat;
    background-size: contain;
    z-index: 100;
    animation-name: hand-move;
    animation-duration: 6s;
    animation-iteration-count: infinite;
    pointer-events: none;
}

@keyframes hand-move {
    0% {
        opacity: 0;
        transform: translateX(-120%) translateY(50%) rotate(-10deg);
    }
    57% {
        opacity: 0;
        transform: translateX(-120%) translateY(50%) rotate(-10deg);
    }
    60% {
        opacity: 0.7;
        transform: translateX(-120%) translateY(50%) rotate(-10deg);
    }
    86% {
        opacity: 0.7;
        transform: translateX(0%) translateY(0%) rotate(0deg);
    }
    90% {
        opacity: 0.7;
        transform: translateX(0%) translateY(0%) rotate(0deg);
    }
    92% {
        opacity: 1;
        transform: translateX(0%) translateY(1%) rotate(0deg);
    }
    95% {
        opacity: 0.7;
        transform: translateX(0%) translateY(0%);
    }
    98% {
        opacity: 0.7;
        transform: translateX(0%) translateY(0%);
    }
    to {
        opacity: 0;
        transform: translateX(0%) translateY(0%);
    }
}

.wheel.clicked .wheel__hand {
    display: none;
}
.wheelcircle {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    z-index: 1;
    transition: transform 3s ease-out; /* Smooth spin */
}

.wheelcircle .segment {
    position: absolute;
    width: 45%;
    height: 55%;
    top: -5%;
    left: 27%;
    transform-origin: 50% 100%;
    clip-path: polygon(0 0, 100% 0, 50% 100%);
    /* background: linear-gradient(to bottom, #370012 0%, #6c0425 30%, #6c0425 100%); */
    background: #ff0000;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 4vw;
    font-size: 12px;
    transform: rotate(calc(45deg * var(--i)));
    font-size: 1.2vw;
    font-weight: bold;
}

.wheelcircle .segment:nth-child(odd) {
    /* background: linear-gradient(to bottom, #5d001e 0%, #b50e34 30%, #b50e34 100%); */
    background: #fff;
}

.wheelcircle .segment.win {
    box-shadow: inset 0 -3vw 4vw #e5ff00, 0 3vw 4vw #e5ff00;
    animation-name: winglow;
    animation-duration: 7s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes winglow {
    0% {
        box-shadow: inset -3vw -4vw 2vw #ffee00, inset -3vw 4vw 8vw #ffee00;
    }
    25% {
        box-shadow: inset -3vw 2vw 8vw #ffee00, inset -3vw 4vw 2vw #ffee00;
    }
    50% {
        box-shadow: inset 3vw 2vw 4vw #ffee00, inset 3vw -4vw 6vw #ffee00;
    }
    75% {
        box-shadow: inset 3vw -4vw 6vw #ffee00, inset 3vw -4vw 3vw #ffee00;
    }
    to {
        box-shadow: inset -3vw -4vw 2vw #ffee00, inset -3vw 4vw 8vw #ffee00;
    }
}

.wheelcircle .segment.win.win-try {
    box-shadow: inset 0 -3vw 4vw #cf5605, 0 3vw 4vw #cf5605;
    animation-name: wingtry;
    animation-duration: 7s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

@keyframes wingtry {
    0% {
        box-shadow: inset -3vw -4vw 2vw #cf5605, inset -3vw 4vw 8vw #cf5605;
        color: #fff;
    }
    25% {
        box-shadow: inset -3vw 2vw 8vw #cf5605, inset -3vw 4vw 2vw #cf5605;
        color: #ffee00;
    }
    50% {
        box-shadow: inset 3vw 2vw 4vw #cf5605, inset 3vw -4vw 6vw #cf5605;
    }
    75% {
        box-shadow: inset 3vw -4vw 6vw #cf5605, inset 3vw -4vw 3vw #cf5605;
    }
    to {
        box-shadow: inset -3vw -4vw 2vw #cf5605, inset -3vw 4vw 8vw #cf5605;
        color: #fff;
    }
}

.wheelcircle .segment::before {
    content: "";
    position: absolute;
    width: 0.3vw;
    height: 100%;
    top: 0;
    left: 23%;
    /* background: #53001c; */
    background: #000066;
    rotate: -22.5deg;
    transition-duration: 0.5s;
}

.wheelcircle .segment::after {
    content: "";
    position: absolute;
    width: 0.3vw;
    height: 100%;
    top: 0;
    right: 23.5%;
    background: #ffffff;
    rotate: 22.5deg;
    transition-duration: 0.5s;
}

.wheelcircle .segment.win::before {
    background: #ffee00;
    filter: blur(0.2vw);
}

.wheelcircle .segment.win::after {
    background: #ffee00;
    filter: blur(0.2vw);
}

.wheel__img {
    background: url("../img/spinner.png") no-repeat top center;
    background-size: contain;
    width: 100%;
    height: 100%;
    -webkit-animation-name: wheel-shake-1;
    animation-name: wheel-shake-1;
    -webkit-animation-duration: 2s;
    animation-duration: 2s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}

.wheel__img--beng {
    background-image: url("../img/spinner-beng.png");
}

.wheel__btn {
    background: url("../img/btn.webp") no-repeat top center;
    background-size: contain;
    width: 10vw;
    height: 10vw;
    position: absolute;
    left: 50%;
    top: 50%;
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
    cursor: pointer;
    z-index: 2;
}
@keyframes rotate_wheel {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(0deg); /* Set the rotation degree dynamically in JS */
    }
}

.wheel--activefirst {
    -webkit-animation: rotate_wheel 7s ease forwards !important;
    -moz-animation: rotate_wheel 7s ease forwards !important;
    animation: rotate_wheel 7s ease forwards !important;
}

.wheel--activesecond {
    -webkit-animation: rotate_wheel_second 7s ease forwards !important;
    -moz-animation: rotate_wheel_second 7s ease forwards !important;
    animation: rotate_wheel_second 7s ease forwards !important;
}

.timer {
    text-align: center;
    width: 13vw;
    margin: 0.5vw auto;
    position: relative;
    z-index: 101;
}

.timer h3 {
    font-size: 1.4vw;
    font-weight: bold;
    text-transform: uppercase;
}

.timer .timecells {
    margin-top: 0.2vw;
    padding: 0.9vw 1vw;
    background: #000000a0;
    border-radius: 100vw;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 1vw;
}

.timer .timecells .cell {
    font-size: 2vw;
    position: relative;
    color: #fff;
    width: 2.8vw;
    text-align: center;
}

.timer .timecells .cell::after {
    position: absolute;
    content: ":";
    right: -0.8vw;
    top: -0.15vw;
    opacity: 0.7;
    transition-duration: 0.2s;
}

.timer .timecells.blink .cell::after {
    opacity: 0.2;
    transition-duration: 0.2s;
}

.timer .timecells .cell:last-child:after {
    content: none;
}

.modal {
    padding: 0;
    background: rgba(26, 1, 1, 0.87);
    backdrop-filter: blur(3px);
    margin: 0;
    border: none;
    min-height: 100vh;
    min-width: 100vw;
    color: #fff;
    -webkit-transition: all 400ms;
    -moz-transition: all 400ms;
    -ms-transition: all 400ms;
    -o-transition: all 400ms;
    opacity: 0;
}

.modal__content {
    min-height: 100vh;
    min-width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal__close {
    background: none;
    border: none;
    box-shadow: none;
    position: absolute;
    right: 18px;
    top: 10px;
    cursor: pointer;
    outline: none;
}

.modal__close:focus,
.modal__close:active,
.modal__close:target {
    outline: none;
    border: none;
    box-shadow: none;
}

.fs16 {
    font-size: 16px;
    line-height: 24px;
}

.reg {
    max-width: 430px;
    width: 100%;
    position: relative;
}

.reg__header {
    background: rgba(255, 0, 168, 0.75);
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 33px;
    padding: 15px 0;
}

.reg__title {
    font-weight: 700;
    line-height: 150%;
    padding-top: 15px;
    padding-bottom: 13px;
    text-transform: uppercase;
}

.reg__title span {
    display: block;
}

.reg__body {
    /* border-radius: 6px;
    background: #000 url('../img/winning-popup.png') no-repeat center center; 
    background-size: contain; 
    box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.08);
    padding: 15px 12px 20px;
    width: 100%;
    height: auto; 
    min-height: 250px;  */
    border-radius: 10px;
    background: #000;
    box-shadow: 0px 0px 13px 0px rgba(0, 0, 0, 0.08);
    padding: 15px 12px 20px;
}

.reg__tabs {
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 11px;
    padding: 12px 0 14px;
}

.reg__tab {
    flex: 50%;
    line-height: 42px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.25);
    opacity: 0.5;
    cursor: pointer;
    font-weight: bold;
    font-size: 14px;
    font-family: 'Poppins', 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    flex-direction: row;
    align-items: center;
    gap: 8px;
}

.reg__tab--active {
    background: #FFB800;
    opacity: 1;
    color: #3E0707;
    fill: #3E0707;
}

.reg__tab--active path {
    fill: #3E0707;
}

.reg__checks {
    margin-top: 14px;
    margin-left: 2px;
}

.reg__switch {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    text-align: center;
    margin-top: 14px;
}

.tabIcon {
    max-width: 24px;
}

.form__block {
    margin-bottom: 14px;
    position: relative;
}

.form__input {
    width: 100%;
    padding-left: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    box-shadow: none;
    line-height: 42px;
    color: #fff;
    font-size: 13px;
    font-family: 'Poppins', 'Arial', sans-serif;
    border-radius: 8px;
}

.form__input::placeholder {
    opacity: 1;
}

.form__input:target,
.form__input:active,
.form__input:focus {
    border: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.form__input--select {
    background: none;
}

.passBtn {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -12px;
    background: url("../img/pass-hidden.png") no-repeat top center;
    background-size: contain;
    cursor: pointer;
}

.passBtn.on {
    width: 24px;
    height: 24px;
    position: absolute;
    right: 15px;
    top: 50%;
    margin-top: -12px;
    background: url("../img/pass-visible.png") no-repeat top center;
    background-size: contain;
    cursor: pointer;
}

.select {
    width: 100%;
    padding-left: 15px;
    background: #4b1e25;
    border: none;
    box-shadow: none;
    height: 42px;
    color: #fff;
    font-size: 13px;
    font-family: 'Poppins', 'Arial', sans-serif;
    border-radius: 8px;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.25);
}

.select:after {
    content: "";
    display: block;
    background: url("../img/s-down.png") no-repeat top center;
    background-size: contain;
    width: 24px;
    height: 24px;
    position: absolute;
    left: 84px;
    top: 50%;
    margin-top: -12px;
    display: none;
}

.select__flag {
    overflow: hidden;
    border-radius: 100%;
    border: 3px solid #431010;
    width: 28px;
    height: 28px;
}

.select__text {
    display: flex;
    gap: 35px;
    align-items: center;
}

.select__menu {
    overflow: hidden;
    padding: 5px 0 0;
    margin: -5px 0 0;
    background: #4b1e25;
    position: absolute;
    z-index: 1;
    width: 100%;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

.select--li {
    border-radius: 0;
    background: none;
    cursor: pointer;
    box-shadow: none;
}

.select--li .select__text {
    gap: 10px;
}

.select--li:after {
    display: none;
}

.select--li:hover {
    background: rgba(255, 255, 255, 0.15);
}

.flagImg {
    transform: scale(1.5);
}

.btn {
    background: #FFB800;
    text-transform: uppercase;
    line-height: 48px;
    font-weight: bold;
    color: #3E0707;
    font-family: 'Poppins', 'Arial', sans-serif;
    border-radius: 8px;
    width: 100%;
    font-size: 14px;
    cursor: pointer;
}

.checkbox {
    position: relative;
    margin-bottom: 15px;
}

.input-checkbox {
    position: absolute;
    z-index: -1;
    opacity: 0;
}

.input-checkbox+label {
    display: inline-flex;
    align-items: flex-start;
    user-select: none;
    cursor: pointer;
    font-size: 10px;
    line-height: 14px;
}

.input-checkbox+label::before {
    content: '';
    display: inline-block;
    width: 11px;
    height: 11px;
    flex-shrink: 0;
    flex-grow: 0;
    background: #512020;
    box-shadow: 0 0 0 2px #512020;
    border-radius: 2px;
    margin-right: 7px;
}

.input-checkbox:checked+label:before {
    background-color: #FFB800;
}

@-webkit-keyframes wheel-shake-1 {
    0% {
        -webkit-transform: rotate(-6deg);
        transform: rotate(-6deg);
    }
    50% {
        -webkit-transform: rotate(6deg);
        transform: rotate(6deg);
    }
    to {
        -webkit-transform: rotate(-6deg);
        transform: rotate(-6deg);
    }
}

@keyframes wheel-shake-1 {
    0% {
        -webkit-transform: rotate(-6deg);
        transform: rotate(-6deg);
    }
    50% {
        -webkit-transform: rotate(6deg);
        transform: rotate(6deg);
    }
    to {
        -webkit-transform: rotate(-6deg);
        transform: rotate(-6deg);
    }
}

@keyframes rotate_wheel {
    0% {
        -webkit-transform: rotate(0);
        -moz-transform: rotate(0);
        transform: rotate(0);
    }
    to {
        -webkit-transform: rotate(855deg);
        -moz-transform: rotate(855deg);
        transform: rotate(855deg);
    }
}

@keyframes rotate_wheel_second {
    0% {
        -webkit-transform: rotate(855deg);
        -moz-transform: rotate(855deg);
        transform: rotate(855deg);
    }
    to {
        -webkit-transform: rotate(1530deg);
        -moz-transform: rotate(1530deg);
        transform: rotate(1530deg);
    }
}
/* .attempt{
    background-color: #FEAEBC;
    width:300px;
    height:200px;
    text-align: center;
    padding:10px;
    border-radius: 10px;
} */

.attempts {
    font-size: 1.111vw;
    font-weight: 700;
    margin-top: 0vw;
    text-align: center;
    z-index: 150;
    position: relative;
}

.attempts__block {
    border-radius: 4px;
    background: #fcdf5e;
    max-width: 7.986vw;
    margin: 0 auto;
    padding: 10px 0;
    margin-top: 10px;
}

.err-msg {
    color: orangered;
    margin-bottom: 1vw;
    display: none;
}

.err-email .err-email-label {
    display: flex;
}

.err-password .err-password-label {
    display: flex;
}

.err-tel .err-tel-label {
    display: flex;
}

.err-summary .err-summary-label {
    display: flex;
}

.err-msg {
    color: orangered;
    margin-bottom: 1vw;
    display: none;
}

@media screen and (min-aspect-ratio: 17/8) {
    .header {
        margin-top: -3vw;
        scale: 0.8;
    }
    .wheel {
        scale: 0.8;
        margin-top: -6vw;
    }
    .timer {
        scale: 0.8;
        margin-top: -3vw;
    }
    .content {
        padding-bottom: 1vw;
        scale: 1;
        margin-top: 1vw;
    }
    .logo {
        top: 2.5vw;
    }
    .plane2 {
        top: 6vw;
    }
    .attempts {
        margin-top: 2vw;
        margin-bottom: 3vw;
    }
          .plane4 {
        top: 108%;
        right: 50%;
        max-width: 8vw;
    }
          .plane3 {
        top: 81%;
        left: 51%;
        max-width: 7vw;
    }
          .attempt-bg {
        bottom: -6%;
        left: 50%;
        width: 191px;
        height: 149px;
    }

}

@media screen and (max-aspect-ratio: 7/4) and (min-aspect-ratio: 11/8) {
    .wheel {
       width: 38vw;
        height: 32vw;
    }
    .wheel__block {
        width: 30vw;
        height: 30vw;
    }
    .wheel:before {
        width: 5vw;
        height: 5vw;
        top: 3.6vw;
    }
    .header {
        margin-top: 0vw;
        margin-bottom: 2vw;
    }
    .logo {
        margin-top: 1.5vw;
    }
    .wheel__btn {
        width: 13vw;
        height: 13vw;
    }
    .girl {
        bottom: -1vw;
        right: 4vw;
        max-width: 26vw;
    }
    .content {
        padding-bottom: 1vw;
        margin-top: 0;
    }
}

@media screen and (max-aspect-ratio: 11/8) and (min-aspect-ratio: 4/4) {
    .wheel {
        width: 45vw;
        height: 40vw;
        margin-top: -5vw !important;
    }
    .wheel__block {
        width: 38vw;
        height: 38vw;
    }
    .wheel:before {
        width: 5vw;
        height: 5vw;
        top: 5vw;
    }
    .header {
        margin-top: 0vw;
        margin-bottom: 2vw;
    }
    .logo {
        margin-top: 1.5vw;
    }
    .wheel__btn {
        width: 13vw;
        height: 13vw;
    }
    .wheelcircle .segment {
        padding-top: 6vw;
        font-size: 1.6vw;
    }
    .girl {
        bottom: -1vw;
        right: -4vw;
        max-width: 32vw;
    }
    .plane {
        top: 24vw;
        right: 72%;
        width: 32vw;
    }
}

@media screen and (max-aspect-ratio: 4/4) and (min-aspect-ratio: 3/5) {
    .header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 3vw;
        margin-bottom: 2vw;
        line-height: 50%;
        gap: 3vw;
        scale: 1.5;
    }
    .header>* {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
    }
    .wheel {
      width: 66vw;
        height: 62vw;
        margin-top: 3vw;
    }
    .wheel__block {
        width: 38vw;
        height: 38vw;
        scale: 1.5;
    }
    .wheel:before {
        width: 5vw;
        height: 5vw;
        top: 8vw;
        scale: 1.5;
    }
    .wheel__btn {
        width: 20vw;
        height: 20vw;
    }
    .wheel__hand {
        scale: 2;
        margin-top: 2vw;
    }
    .wheelcircle .segment {
        padding-top: 6vw;
        font-size: 1.8vw;
    }
    .timer {
        scale: 2;
        margin-top: 3vw;
        z-index: 200;
    }
    .girl {
        bottom: -1vw;
        right: -14vw;
        max-width: 45vw;
    }
    .plane {
        top: 24vw;
        right: 72%;
        width: 32vw;
    }
    .plane2 {
        top: 24vw;
        right: 72%;
        width: 32vw;
    }
    .plane3 {
        top: 69vw;
    left: 53%;
    max-width: 21vw;
    }
    .plane4{
           top: 80vw;
    right: 48%;
    max-width: 23vw;
    }

    .ystar {
        scale: 1.5;
    }
    .ystar2 {
        left: -5vw;
        bottom: 30%;
    }
    .ystar1 {
        left: 20%;
        bottom: 5vw;
    }
    .cloud1 {
        top: 20%;
        scale: 2;
    }
    .cloud2 {
        top: 40%;
        scale: 2;
    }
    .cloud3 {
        left: 5vw;
        scale: 2;
    }
    .attempts {
        font-size: 3vw;
        margin-top: 1vw;
    }
    .attempts__block {
        max-width: 20vw;
    }
}

@media screen and (max-aspect-ratio: 3/5) {
    .header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin-top: 10vw;
        margin-bottom: 2vw;
        /* line-height: 30%; */
        gap: 3vw;
        -webkit-transform: scale(2.4);
        transform: scale(2.4);
    }
    .header>* {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        padding: 0;
    }
    .main__layout {
        max-width: 90vw;
    }
    .wheel {
        width: 83vw;
        height: 78vw;
        margin-top: -8vw !important; /* move it further up */
    }
    .wheel__block {
        width: 72vw;
        height: 72vw;
    }
    .wheel:before {
        width: 5vw;
        height: 5vw;
        top: 11vw;
        -webkit-transform: scale(2);
        transform: scale(2);
    }
    .wheel__btn {
        width: 24vw;
        height: 24vw;
    }
    .wheel__hand {
        width: 40vw;
        height: 40vw;
        margin-top: 0vw;
        margin-left: -12vw;
    }
    .wheelcircle .segment {
        padding-top: 14vw;
        font-size: 3.4vw;
    }
    .timer {
        -webkit-transform: scale(3);
        transform: scale(3);
        margin-top: 10vw;
        z-index: 200;
    }
    .girl {
        bottom: -1vw;
        right: -17vw;
        max-width: 60vw;
    }
.plane {
  position: absolute;
  top: 50vw;
  left: -30vw;             /* Start off-screen left */
  width: 40vw;
  z-index: 2;
  transform: scaleX(-1);   /* Flip to face right */
  animation: fly-to-final-position 3s ease-out forwards;
}
@keyframes fly-to-final-position {
  0% {
    left: -30vw;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    left: calc(80vw - 25vw); /* ends visually like right: 5vw with width: 20vw */
    opacity: 1;
  }
}


   .plane2 {
 position: absolute;
  top: 55vw;
  right: -30vw;             /* Start off-screen right */
  width: 45vw;
  z-index: 2;
  transform: scaleX(-1);  
  animation: plane-fly-left  3s ease-out forwards;
}
@keyframes plane-fly-left {
  0% {
    right: -30vw;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    right: calc(115vw - 60vw - 5vw); /* visually like left: 5vw */
    opacity: 1;
  }
}

    .ystar3 {
        right: -5vw;
        width: 16vw;
        height: 16vw;
        top: 20vw;
    }
        .ystar2 {
        left: 77vw;
        bottom: -43%;
        width: 22vw;
        height: 22vw;
    }
          .ystar1 {
        left: -17%;
        bottom: 15vw;
        width: 22vw;
        height: 30vw;
        transform: scaleX(-1);
    }
    .ystar1 img {
        filter: blur(1px);
    }
    .cloud1 {
        top: 20%;
        width: 44vw;
    }
    .cloud2 {
        top: 40%;
        width: 40vw;
    }
    .cloud3 {
        left: -10vw;
        width: 27vw;
    }
    .wheelcircle .segment::before {
        width: 1vw;
        left: 23%;
    }
    .wheelcircle .segment::after {
        width: 1vw;
        right: 23%;
    }
    .wheelcircle .segment.win::before {
        filter: blur(0.7vw);
    }
    .wheelcircle .segment.win::after {
        filter: blur(0.7vw);
    }
    @keyframes winglow {
        0% {
            box-shadow: inset -8vw -10vw 5vw #ffee00, inset -8vw 5vw 20vw #ffee00;
        }
        25% {
            box-shadow: inset -8vw 5vw 20vw #ffee00, inset -8vw 5vw 5vw #ffee00;
        }
        50% {
            box-shadow: inset 8vw 5vw 10vw #ffee00, inset 8vw -10vw 15vw #ffee00;
        }
        75% {
            box-shadow: inset 8vw -10vw 15vw #ffee00, inset 8vw -10vw 11vw #ffee00;
        }
        to {
            box-shadow: inset -8vw -10vw 5vw #ffee00, inset -8vw 5vw 20vw #ffee00;
        }
    }
    .err-msg {
        color: orangered;
        margin-bottom: 5vw;
    }
    .attempts {
        font-size: 4.444vw;
        margin-top: 9vw;
    }
    .attempts__block {
        max-width: 31.944vw;
    }
    .content {
        z-index: 501;
    }
}

/*promocode css*/

#promo-code-section {
    margin-top:10px !important;
    background: transparent; /* Semi-transparent white background */
    padding: 20px 20px;
    border-radius: 10px;
    /* box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2); */
    max-width: 350px;
    margin: 0 auto;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
    display: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    backdrop-filter: blur(8px); /* Applying blur effect */
    -webkit-backdrop-filter: blur(8px); /* For Safari support */
}

#promo-code-section p {
    font-size: 14px;
    align-items: center;
    text-align: center;
    font-weight: bold;
    margin: 0;
    color: #ffffff;
}

#promo-code {
    background: #f0f0f0;
    color: #000000;
    font-weight: bold;
    text-align: center;
    margin-top: 50px !important;
    padding: 10px 50px;
    border-radius: 10px;
    font-size:25px;
}

.copy-btn {
    background: linear-gradient(90deg, #ff6347, #ff4500);
    color: white;
    border: none;
    padding: 8px 20px;
    font-size: 14px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.copy-btn:hover {
    background-color: #ff3b0a;
    transform: translateY(-2px);
}

.copy-btn:active {
    transform: translateY(1px);
}


/*Footer css*/

.footer {
    background-color: rgba(5, 3, 3, 0.6); /* Semi-transparent background */
    backdrop-filter: blur(10px); /* Blur effect */
    color: #fff;
    font-weight: 100;
    text-align: center;
    padding: 10px 20px; /* Add padding for better spacing */
    font-size: 12px;
    /* position: absolute;
    bottom: 0; */
    width: 100%;
    /* box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.1); Add a subtle shadow */
}

.footer__content a {
    color: #f4c430; /* Highlight link with a contrasting color */
    text-decoration: none;
    margin-left: 5px;
}

.footer__content a:hover {
    text-decoration: underline;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .footer {
        font-size: 12px; /* Adjust font size for smaller screens */
        padding: 15px 10px;/* Adjust padding for mobile devices */
        margin-top: 12px;
    }

    .footer__content p {
        line-height: 1.4; /* Ensure proper spacing for text */
        word-wrap: break-word; /* Prevent long words from breaking the layout */
    }

    .footer__content a {
        display: inline-block; /* Keep links visually separate */
        margin: 0; /* Remove extra margin */
    }
}

@media (max-width: 376px) {
    .footer {
       
        margin-top: 57px; 
    }
}
/*terms text in popup */

.terms {
    font-size: 14px; /* Comfortable reading size */
    line-height: 1.6; /* Adds spacing between lines for better readability */
    color: #ffffff; /* Subtle gray color for text to differentiate from primary content */
    padding: 10px 15px; /* Adds some space around the content */
    border-radius: 6px; /* Rounded corners for a polished look */
    margin-top: 15px; /* Adds spacing above the disclaimer section */
    margin-bottom: 0; /* Ensures no extra space below unless overridden */
    text-align: center; /* Centers the text */
    border-radius: 10px;
    /* border: 2px solid #FBB040; */
    /* background: radial-gradient(circle, #3C4DB7, #000000) !important; */
    background: transparent;
    /* box-shadow: -1px 1px 4px 0px #FBB040, 1px -1px 4px 0px #FBB040;
        animation-name: bonus2; */
    animation-duration: 3s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    margin-top: 30px!important;
}

.terms p {
    margin: 0; /* Removes default paragraph margins */
    padding: 0; /* Ensures no extra spacing within */
}



/* Popup */
.password-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}
.popup-bg {
  position: relative;
  width: 320px;
  margin-top: -196px;
}
.popup-frame {
  width: 100%;
}
.popup-content {
  position: absolute;
  top: 30%;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
}
.styled-input {
  width: 240px;
  height: 45px;
  padding: 0 15px;
  font-size: 30px;
  background: linear-gradient(to bottom, #f9f9f9, #ececec);
  border-radius: 999px;
  border: 2px solid #fff;
  position: absolute;
  top: 60px;
  right: 30px;
  box-shadow: inset 3px 3px 4px rgba(0, 0, 0, 0.25),
              0 0 0 1px rgba(0, 0, 0, 0.1),
              0 4px 0 0 rgba(0, 0, 0, 0.15);
}
#real-pwd {
  position: absolute;
  width: 100%;
  opacity: 0;
}
#svg-display {
  display: flex;
  align-items: center;
  height: 100%;
  padding-left: 15px;
  gap: 4px;
}
.svg-char {
  width: 18px;
  height: 18px;
  background: url('../img/star.png') no-repeat center;
  background-size: contain;
}
.lock-button {
  position: absolute;
  top: 50px;
  right: 1px;
  background: none;
  border: none;
  cursor: pointer;
}
.lock-button img {
  width: 50px;
}
.popup-close {
  position: absolute;
  top: 6px;
  right: 10px;
  font-size: 22px;
  background: transparent;
  color: #fff;
  border: none;
  cursor: pointer;
}
.no-password-text {
  position: absolute;
  top: 130px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: #000;
  font-family: "Montserrat", sans-serif;
  text-align: center;
  width: 100%; /* or a specific width like 260px if needed */
}
.no-style-link {
  color: #4d2e00;
  text-decoration: none;
  font-weight: 600;
}
.main-heading {
  font-family: 'Phudu', sans-serif;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}
.text-section {
  text-align: center;
  color: #4d2e00;
}
.error-message {
  position: absolute;
  top: 110px;
  left: 30px;
  font-size: 12px;
  color: red;
  font-family: "Montserrat", sans-serif;
  display: none;
}