* {
    margin: 0;
    padding: 0;
}
body {
    font-family: "Outfit", sans-serif;
}
h2 {
    font-size: 26px;
    font-weight: 600;
    color: #27272A;
}
p {
    font-size: 18px;
    font-weight: 500;
}
.firstscreen {
    background-image: url("img/banner-bg.jpg");
    background-size: cover;
    
}
.wrap {
    display: flex;
    justify-content: center; 
}
.welcome {
    background: #FFF;
    border-radius: 36px;
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: flex-start;
    margin-top: 5%;
    padding: 20px 70px 45px;
}
.welcome h2 {
    font-size: 22px;
}
.hero {
    max-width: 700px;
    margin-left: -60px;
    height: auto;
}
.border {
    border: 2px solid #E4E4E7;
    border-radius: 16px;
    padding: 14px 28px;
    margin-bottom: 27px;
}
.volume-text {
  margin-top: 5px;
  margin-bottom: 20px;
  text-transform: uppercase;
  font-size: 44px;
  font-weight: 900;
  color: #d837f8; 
  text-align: center;
  line-height: 1.2;
  text-shadow:
    1px 1px 0 #4A0D70,
    2px 2px 0 #4A0D70,
    2px 2px 0 #4A0D70,
    2px 2px 0 #4A0D70,
    2px 2px 0 #4A0D70;
}
.button {
    background: linear-gradient(rgba(102, 88, 255, 1), rgba(54, 39, 254, 1));
    color: #FFF;
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    padding: 20px 48px;
    border-radius: 18px;
    margin-right: 10px;
}
.small {
    font-size: 18px;
    padding: 14px 24px;
    border-radius: 12px;
}
.games {
    text-align: center;
    margin-top: 45px;
}
.games img {
    max-width: 150px;
}
.games-block {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    margin-top: 20px;
}
.flex {
    display: flex;
    justify-content: center;
    align-items: center;
}
.payment {
    background: rgba(236, 239, 244, 1);
    margin-top: 48px;
}
.payment-block {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 24px 0;
    width: 80%;
    margin: auto;
}
.number {
    font-size: 58px;
    font-weight: 900;
    color: #d837f8; 
    text-align: center;
    line-height: 1.2;
    text-shadow:
        1px 1px 0 #4A0D70,
        2px 2px 0 #4A0D70,
        2px 2px 0 #4A0D70,
        2px 2px 0 #4A0D70,
        2px 2px 0 #4A0D70;
}
.frame {
    display: flex;
    align-items: center;
    border: 2px solid #FF58F84D;
    border-radius: 12px;
    padding: 10px;
    max-width: 270px;
    box-sizing: border-box;
    gap: 15px;
}
.frame-text {
    text-align: left;
    max-width: 77%;
}
.bonus {
    width: 45%;
    margin: auto;
    background: linear-gradient(180deg, #FFFFFF 25%, #CCCEFF 105.53%);
    border-radius: 24px;
    text-align: center;
    padding: 30px;
    margin-top: -45px;
    z-index: 10;
    position: relative;
}
.bonus-title {
    font-size: 26px;
}
.bonus-block {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 18px;
}
footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin: 25px 0;
}
footer p {
  color:  #606B95;
  font-size: 12px;
  line-height: 0.5;
}
.buttons-block {
    display: flex;
    justify-content: center;
    gap: 14px
}
.button-trans {
    font-size: 14px;
    font-weight: 600;
    color: #27272A;
    background: transparent;
    text-decoration: none;
    border: 2px solid #F5F7F9;
    border-radius: 8px;
    padding: 7px 14px;
    cursor: pointer;
}
.overlay {
    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 {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    position: relative;
    width: 680px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    color: #606B95;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.3;
}
.popup ol {
    list-style-position: inside;
}
.popup-logo {
    width: 90px;
    display: block;
    margin: auto;
    margin-top: -65px;
    background: white;
    border-radius: 16px;
    padding: 10px;
}
.popup h2 {
    text-align: center;
}
.popup p, li {
    font-size: 16px;
}
.popup p:first-child {
    margin-bottom: 10px;
}
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
}

.open-btn {
    margin: 40px;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
}

.popup-bonus {
    background: url('img/dont-miss-bg.jpg');
    width: 450px;
    height: 430px;
    color: #FFF;
    text-align: center;
    position: relative;
    border-radius: 20px;
    padding-top: 20px;
}
.popup-bonus h3 {
    font-size: 24px;
    font-weight: 600;
    color: #FFF;
    margin: 8px 0;
}
.upper {
    text-transform: uppercase;
}
.popup-bonus h3.upper {
    margin: 0 0 30px;
}
.popup-bonus h2 {
    font-size: 32px;
    font-weight: 900;
    color: #FFF;
    text-transform: uppercase;
    max-width: 80%;
    margin: auto;
}

.popup-button {
    background: linear-gradient(152.99deg, #FFFFFF 4.38%, #CCCEFF 81.13%);
    padding: 16px 0;
    width: 80%;
    margin: auto;
    text-decoration: none;
    display: block;
    color: #27272A;
    font-size: 20px;
    font-weight: 600;
    border-radius: 12px;
    margin-top: 20px;
    cursor: pointer;
}
.close-btn {
    background: #D6DDE7;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
}

.close-btn-man {
    background: #F5F7F9;
    border: 1px solid #D6DDE7;
}
.purple {
    background: #4C4DFF;
    border-radius: 16px;
    color: #FFF;
    text-align: center;
    padding: 16px;
    margin: 16px 0;
}
.popup-mail {
    color: #606B95;
}

ul li {
    list-style-type: disc;
}

@media  screen and (max-width: 1440px) {
    .bonus {
        width: 80%;
    }
    .games-block {
        width: 90%; 
    }
}

@media  screen and (max-width: 1250px) {
   
    .payment-block {
        flex-wrap: wrap;
    }
    .volume-text {
        font-size: 30px;
    }
    .hero {
        max-width: 50%;
    }
}
@media  screen and (max-width: 1024px) {
 .hero {
        max-width: 480px;
    }
    .games img {
        max-width: 120px;
        height: auto;
    }
    .bonus {
        width: 90%;
    }
    .welcome {
        padding: 20px 70px 30px;
    }
    .welcome-logo {
        max-width: 90px;
    }
    .button {
        font-size: 16px;
        padding: 14px 36px;
        border-radius: 12px;
    }
    .welcome h2 {
        font-size: 16px;
    }
    .border {
        padding: 8px 16px;
        margin-bottom: 10px;
    }
}
@media  screen and (max-width: 940px) {
    .hidden {
        display: none;
    }
}

@media  screen and (max-width: 768px) {
    .welcome {
        padding: 20px 20px 20px;
        margin-left: 20px;
    }
    .firstscreen {
        background-position: top center;
        background-size: 1200px;
        background-repeat: no-repeat;
    }
    .hero {
        max-width: 450px;
        margin-left: -30px;
    }
    .border {
        max-width: 150px;
    }
    .bonus {
        width: 85%;
        padding: 20px;
    }
    .number {
        font-size: 46px;
    }
    .frame-text {
        font-size: 16px;
    }
    .bonus-title {
        font-size: 24px;
    }
    h2 {
        font-size: 24px;
    }
    .games {
        margin-top: 35px;
    }
    .button.small {
        padding: 14px 24px;
    }
    .games-block {
         overflow-x: auto; 
    }
    .overlay {
        overflow: auto;
    }
}

@media  screen and (max-width: 560px) {
    .firstscreen {
        background: url("img/banner-bg-mob.jpg");
        background-repeat: no-repeat;
        background-size: cover;
        height: 670px;
    }
    .hero {
        max-width: 200px;
        margin: auto;
    }
    .wrap {
        flex-direction: column-reverse;
    }
    .games-block {
        justify-content: flex-start;
    }
    .welcome {
        width: 80%;
        margin: auto;
        margin-top: -30px;
    }
    .bonus {
        margin-top: -145px;
        width: 80%;
    }
    .bonus-block {
        flex-direction: column;
        
    }
    .flex {
        flex-direction: column;
    }
    .button.small {
        margin-bottom: 20px;
    }
    footer {
            padding: 0 20px;
    }
    footer p {
        text-align: center;
        line-height: 1.5;
    }
    .popup {
        margin: 150px 0 100px;
        position: absolute;
        top: 0;
        width: 90%;
    }
    .overlay {
        overflow: auto;
    }
}