@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'), url('./fonts/Poppins-Regular.ttf') format('truetype');
    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'), url('./fonts/Poppins-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}


*{
    margin: 0;
    padding: 0;
}

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;
}

.header{
    z-index: 999;
}

.main{
    overflow: hidden;
    position: relative;
    width: 100%;
    background: #171717 url(./img/bg.png) no-repeat top center;
    background-size: cover;
}

.main__layout{
    display: flex;
    justify-content: center;
    padding: 60px 0 0 0;;
    align-items: center;
    min-height: 100vh;
    flex-direction: column;
}

.content{
    z-index: 999;
}

.jack-pot{
    z-index: 999;
}

.titleblock{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.titleblock .mobile-image{
    display: none;
}

.titleblock .desktop-image{
    width: 500px;
    animation-name: slideup;
    animation-duration: 1s;
    animation-iteration-count: 1;
    margin-bottom: 20px;
}

@keyframes slideup {
    0% {
        opacity: 0.5;
        transform: translateX(0%) translateY(80%);
    }
    100% {
        opacity: 1;
        transform: translateX(0%) translateY(0%);
    }
}

.slot-machine-container{
    height: 295px !important;
    width: 544px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* top: 20px !important; */
    /* margin-bottom: 180px !important; */
    /* max-width: 557px !important; */
}

.slot-machine-container::before {
    content: "";
    position: absolute;
    /* border-radius: 28px; */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("./img/slotframe.png") no-repeat center;
    background-size: cover;
    z-index: 1;
    pointer-events: none;
}

.slot-machine{
    display: flex;
    justify-content: space-between;
    height: 80%;
    width: 89%;
    background: #040D1D;
}

.slot {
    width: 33%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    font-weight: bold;
    position: relative;
}

.slot img {
    max-width: 80% !important;
}

.jack-pot{
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-top: 2rem;
    margin-bottom: 2rem;
    gap: 2rem;
}

.jack-pot img{
    width: 100px;
}

.jack-pot p{
    color: #FFF;
    font-size: 40px;
    font-family: 'Poppins', sans-serif;
    text-shadow: 0px 2px 30px #821717;
    text-align: center;
    font-weight: bold;
}

.button-container{
    width: 325px;
}

.spin-button {
    position: relative;
    background: url("./img/btn-bg.png") no-repeat center;
    background-size: contain;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 10px 20px;
    font-size: 2rem !important;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    height: 100px;
}

/*popup css */
/* Container for the popup content */
.popup-content {
    text-align: center;
    padding: 20px;
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Title styling */
.popup-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #ffffff;
}




/* Popup Styles */
.popup {
    display: none;
    position: fixed;
    top: -5px !important;
    left: 0;
    width: 100%;
    height: 100%;
    /* background: rgba(0, 0, 0, 0.7); */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    overflow: hidden !important;
}

.popup-content {
    position: relative;
    background:#000000;
    color: #f8f8f8;
    /* padding: 20px; */
    /* border-radius: 10px; */
    /* text-align: center; */
    font-size: 1.5rem;
    /* width:500px; */
}

.promo-code {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.promo-code img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}

.promo-code p {
    font-size: 14px;
    margin: 0;
    color: #f7f7f7;
}

.modal__close1 {
    position: absolute;
    /* top: 10px; */
    right: 10px;
    background: none;
    border: none;
    cursor: pointer;
    margin-left: 7vw !important; 
    /* margin-top: -3vh !important;  */
}

.modal__close1 img {
    width: 20px;
    height: 20px;
}

.fs16 {
    font-size: 16px;
    line-height: 24px;
}

.info-text {
    font-size: 12px;
    color: #ffffff;
    margin-top: 20px;
    line-height: 1.5;
}

.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%, #ffffff 32%, #ffffff 48%);
    border: 0px solid;
    border-image-slice: 1;
    border-radius: 10px;
    color: black;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.footer {
    background-color: rgba(5, 3, 3, 0.6);
    backdrop-filter: blur(10px);
    color: #fff;
    font-weight: 100;
    text-align: center;
    padding: 10px 20px;
    font-size: 12px;
}

.footer__content p {
    margin: 12px 0;
}


.plane {
    position: absolute;
    top: 18vw;
    right: 69%;
    width: 25vw;
    z-index: 1;
    animation-name: plane1-in;
    animation-duration: 3s;
    animation-iteration-count: 1;
}

@keyframes plane1-in {
    0% {
        transform: translateX(120%) translateY(40%) rotate(15deg);
    }
    100% {
        transform: translateX(0%) translateY(0%) rotate(0deg);
    }
}


.plane2 {
    position: absolute;
    top: 15vw;
    left: 64%;
    max-width: 12vw;
    z-index: 1;
    animation-name: plane2-in;
    animation-duration: 4s;
    animation-iteration-count: 1;
    transform: scaleX(-1);
    filter: blur(0.8px) brightness(0.7) hue-rotate(10deg);
}

@keyframes plane2-in {
    0% {
        transform: translateX(-120%) translateY(40%) rotate(15deg) scaleX(-1);
    }
    to {
        transform: translateX(0%) translateY(0%) rotate(0deg) scaleX(-1);
    }
}

.cloud1 {
    position: absolute;
    top: 12vw;
    left: calc(80%);
    width: 18vw;
    z-index: 0;
    margin-left: 1vw;
    filter: blur(2px);
    pointer-events: none;
}

.cloud1 img{
    width: 180px;
}

.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%);
    }
}

.cloud2 {
    position: absolute;
    top: 329px;
    left: -23px;
    width: 15vw;
    z-index: 0;
    margin-left: 1vw;
    pointer-events: none;
}

.cloud2 img{
    width: 150px;
}

.slideright1 {
    animation-name: slideright;
    animation-duration: 1s;
    animation-iteration-count: 1;
}

@keyframes slideright {
    0% {
        opacity: 0.5;
        transform: translateX(-20%) translateY(0%);
    }
    to {
        opacity: 1;
        transform: translateX(0%) translateY(0%);
    }
}

.cloud3 {
    position: absolute;
    top: -1vw;
    right: 14vw;
    width: 10vw;
    z-index: 0;
    margin-left: 1vw;
    pointer-events: none;
}

.cloud3 img{
    width: 100px;
}

.slidedown1 {
    animation-name: slidedown;
    animation-duration: 1.5s;
    animation-iteration-count: 1;
}

@keyframes slidedown {
    0% {
        opacity: 0.1;
        transform: translateX(0%) translateY(-60%) rotate(-6deg);
    }
    to {
        opacity: 1;
        transform: translateX(0%) translateY(0%) rotate(0deg);
    }
}


@media screen and (max-width:767px){
    .slot-machine-container {
        height: 168px !important;
        width: 311px;
    }
    .desktop-image{
        display: none;
    }
    .titleblock .mobile-image{
        display: block;
        width: 250px;
        animation-name: slideup;
        animation-duration: 1s;
        animation-iteration-count: 1;
    }
    .content{
        margin: 1.5rem;
    }
    .plane2 {
        top: 58vw;
        left: 89%;
    }
}

@media screen and (max-width:425px) {
    .plane {
        top: -5vw;
        right: 74%;    
    }
    .plane2 {
        top: 51vw;
        left: 116%;
    }
    .cloud1 {
        top: 128vw;
        left: calc(73%);
    }
}

@media screen and (max-width:320px) {
    .jack-pot{
        gap: 1rem;
    }
    .jack-pot img {
        width: 90px;
    }
    .jack-pot p {
        font-size: 24px;
    }
    .slot-machine-container {
        height: 146px !important;
        width: 270px;
    }
    .slot img {
        max-width: 59% !important;
    }
    .plane {
        top: -12vw;
        right: 79%;
    }
    .plane2 {
        top: 51vw;
        left: 116%;
    }
    .cloud1 {
        top: 128vw;
        left: calc(73%);
    }
}

@media screen and (max-width:240px) {
    .titleblock .mobile-image {
        width: 76px;
    }
    .slot-machine-container {
        height: 102px !important;
        width: 190px;
    }
    .jack-pot div:nth-child(2){
        display: none;
    }
    .spin-button{
        font-size: 1rem!important;
    }
    .button-container{
        width: 190px;
    }
    .popup {
        position: absolute;
        top: -124px !important;
    }
    .popup-content {
        max-width: 190px;
    }
    .popup-title {
        font-size: 14px;
    }
    .fs16 {
        font-size: 14px;
    }
    .promo-code img {
        width: 30px;
        height: 30px;
    }
}

.promo-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    background: #040D1D;
    border: 1px dashed #444;
    border-radius: 8px;
    padding: 10px 15px;
    margin: 10px 0;
    gap: 15px;
    color: #fff;
}

.promo-logo img {
    width: 80px;
    height: auto;
}

.promo-details {
    font-family: 'Arial', sans-serif;
}

.promo-code {
    font-weight: bold;
    font-size: 16px;
    color: #fff;
    margin: 0;
}

.promo-min {
    font-size: 13px;
    color: #ccc;
    margin: 4px 0 0;
}

.promo-bonus {
    font-size: 13px;
    color: #FFD700;
    margin: 4px 0 0;
}

.promo-cap {
    font-size: 12px;
    color: #aaa;
    margin: 2px 0 0;
}

#popup-message {
    padding: 10px;
    /* max-height: 400px; */
    overflow-y: auto;
}

.promo-card.simple.centered {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #040D1D;
    border: 1px dashed #444;
    color: #fff;
    text-align: center;
}

.promo-details.full-width {
    width: 100%;
}

.promo-code-text {
    font-size: 20px;
    font-weight: 700;
    color: #FFD700;
    margin-bottom: 6px;
}

.promo-bonus-text {
    font-size: 16px;
    font-weight: 500;
    color: #ffffff;
    margin-bottom: 4px;
}

.promo-min-text {
    font-size: 14px;
    color: #ccc;
}
