a, h1, h2, h3, h4, p, li, td, th, button, input, textarea {
    font-family: "Montserrat";
    color: white;
}

body {
    background: url('../images/bg-mobile.webp'), linear-gradient(180deg, #850409 0%, #850409 110vw, #40070d 420vw, #030910 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-size: 100%;
    background-repeat: no-repeat;
}

header {
    height: 15.349vw;
}

.header-wrapper {
    width: 85.581vw;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    width: 33.023vw;
}

nav {
    display: flex;
    gap: 2.791vw;
}

nav a {
    height: 5.581vw;
    text-align: center;
    color: white;
    text-decoration: none;
    border-radius: 0.523vw;
    font-size: 2.267vw;
    display: flex;
    align-items: center;
    justify-content: center;
}

nav .register {
    border: 0.233vw solid #1CCE72;
    background-color: #1CCE72;
    width: 19.195vw;
}

nav .login {
    width: 15.479vw;
    border: 0.233vw solid white;
}

.jade-lounge {
    width: 40.93vw;
    margin-top: 3.256vw;
}

h1 {
    margin-top: 1.163vw;
    font-size: 5.581vw;
    font-weight: 800;
    background: rgb(255,200,149);
    background: linear-gradient(90deg, rgba(255,200,149,1) 0%, rgba(254,237,211,1) 51%, rgba(255,200,149,1) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-align: center;
    text-transform: uppercase;
    width: 87.674vw;
    font-style: italic;
    line-height: 133.33%;
}

.tiles {
    width: 76.744vw;
    margin-top: 4.651vw;
    position: relative;
    left: -0.233vw;
}

.play-now {
    width: 56.047vw;
    margin-top: -8.14vw;
    position: relative;
    left: -0.233vw;
}

.offer {
    width: 95.349vw;
    margin-top: 8.837vw;
}

.deposit-now {
    width: 100%;
    overflow: hidden;
    display: flex;
    justify-content: center;
}

.deposit-now img {
    width: 110.233vw;
    position: relative;
    left: -0.233vw;
}

.hero-deposit-now {
    margin-top: -7.674vw;
}

.text {
    display: flex;
    flex-direction: column;
    gap: 13.953vw;
    width: 85.581vw;
    margin-top: -0.465vw;
}

.text h2 {
    font-size: 7.442vw;
    font-weight: 700;
    text-shadow: 0vw 1.106vw 1.106vw rgba(0, 0, 0, 0.25);
    line-height: 114%; /* 8.484vw */
    text-align: center;
    margin-bottom: 5.349vw;
}

.text p {
    font-size: 4.186vw;
    font-weight: 400;
    line-height: 122%; /* 5.107vw */
    position: relative;
    left: 0.233vw;
    letter-spacing: 0.035vw;
    margin-bottom: 3.488vw;
}

.text-deposit-now {
    margin-top: 5.116vw;
}

.castle {
    width: 81.628vw;
    margin-top: 3.721vw;
}

.short-terms {
    width: 92.791vw;
    padding: 7.442vw 4.186vw 6.744vw;
    background-color: #64272a;
    border-radius: 3.721vw;
    margin-top: 5.581vw;
}

.short-terms h3 {
    font-size: 3.721vw;
    font-weight: 700;
    line-height: 114%;
}

.short-terms ul {
    margin-left: 4.419vw;
    list-style-type: disc;
    margin-top: 2.791vw;
    display: flex;
    flex-direction: column;
    gap: 3.023vw;
}

.short-terms li {
    font-size: 3.721vw;
    font-weight: 500;
    line-height: 122%; /* 4.54vw */
}

.details {
    width: 92.791vw;
    padding: 7.442vw 4.186vw 6.744vw;
    background-color: #64272a;
    border-radius: 3.721vw;
    margin-top: 5.581vw;
    position: relative;
    margin-bottom: 4.651vw;
}

.summary {
    cursor: pointer;
    list-style: none;
}

.arrow {
    position: absolute;
    width: 4.651vw;
    top: 8.837vw;
    right: 3.721vw;
    color: white;
    transform: rotate(90deg);
    font-weight: 700;
}

details[open] .arrow {
    top: 6.047vw;
    transform: rotate(-90deg);
}

.terms-title {
    position: relative;
}

.terms-title h3 {
    font-size: 3.721vw;
    font-weight: 700;
    line-height: 114%;
}

.terms-wrapper {
    margin-top: 2.791vw;
}

.terms h3 {
    font-size: 3.256vw;
    font-style: normal;
    font-weight: 700;
    line-height: 4.186vw;
    margin-bottom: 0.465vw;
}

.terms p, .terms li, .terms td, .terms th {
    font-size: 2.791vw;
    font-style: normal;
    font-weight: 400;
    line-height: 4.186vw;
}

.terms-block {
    margin-bottom: 2.791vw;
}

.terms p, .terms ul {
    margin-bottom: 1.395vw;
}

.terms ul {
    margin-left: 3.721vw;
}

.terms li {
    margin-bottom: 1vw;
    list-style: disc;
}

.terms td, .terms th {
    border: 1px solid white;
    padding: 4px 8px;    
}

@media screen and (min-width: 640px) {
 
    body {
        background: url('../images/bg-desktop.webp'), linear-gradient(180deg, #850409 0%, #850409 56.51vw, #40070d 135.417vw, #030910 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-size: 100%;
        background-repeat: no-repeat;
        background-position: top center;
    }
    
    header {
        height: 4.583vw;
        width: 100%;
    }
    
    .header-wrapper {
        margin: 0 auto;
        max-width: 65.26vw;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }
    
    .logo {
        width: 12.344vw;
    }
    
    nav {
        display: flex;
        gap: 0.729vw;
    }
    
    nav a {
        height: 1.667vw;
        text-align: center;
        color: white;
        text-decoration: none;
        border-radius: 0.156vw;
        font-size: 0.677vw;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    nav .register {
        border: 0.052vw solid #1CCE72;
        background-color: #1CCE72;
        width: 4.299vw;
    }
    
    nav .login {
        width: 3.467vw;
        border: 0.052vw solid white;
    }
    
    .jade-lounge {
        width: 18.073vw;
        margin-top: 2.135vw;
    }
    
    h1 {
        margin-top: 1.406vw;
        font-size: 2.49vw;
        font-weight: 800;
        background: rgb(255,200,149);
        background: linear-gradient(90deg, rgba(255,200,149,1) 0%, rgba(254,237,211,1) 51%, rgba(255,200,149,1) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-align: center;
        text-transform: uppercase;
        width: 39.115vw;
        font-style: italic;
        line-height: 133.33%;
    }
    
    .tiles {
        width: 29.375vw;
        margin-top: 4.635vw;
        position: relative;
        left: 0.156vw;
    }
    
    .play-now {
        width: 19.375vw;
        margin-top: -2.083vw;
        position: relative;
        left: 0.104vw;
    }
    
    .offer {
        width: 38.802vw;
        margin-top: 8.438vw;
        position: relative;
        left: 0.885vw;
    }
    
    .deposit-now {
        width: 100%;
        overflow: hidden;
        display: flex;
        justify-content: center;
    }
    
    .deposit-now img {
        width: 29.531vw;
        position: relative;
        left: 0.833vw;
    }
    
    .hero-deposit-now {
        margin-top: -1.615vw;
    }
    
    .text {
        display: flex;
        flex-direction: column;
        gap: 3.75vw;
        width: 40.417vw;
        margin-top: -0.156vw;
    }
    
    .text h2 {
        font-size: 1.667vw;
        font-weight: 700;
        text-shadow: 0vw 0.248vw 0.248vw rgba(0, 0, 0, 0.25);
        line-height: 114%; /* 1.9vw */
        text-align: center;
        margin-bottom: 1.198vw;
    }
    
    .text p {
        font-size: 0.938vw;
        font-weight: 400;
        line-height: 122%; /* 1.144vw */
        position: relative;
        left: 0.052vw;
        letter-spacing: 0.008vw;
        margin-bottom: 0.729vw;
    }
    
    .text-deposit-now {
        margin-top: 1.823vw;
    }
    
    .castle {
        width: 34.531vw;
        margin-top: 1.563vw;
        position: relative;
        left: 0.833vw;
    }
    
    .short-terms {
        width: 49.844vw;
        padding: 1.198vw 1.25vw 1.146vw;
        background-color: #64272a;
        border-radius: 0.833vw;
        margin-top: 2.24vw;
        position: relative;
        left: 0.833vw;
    }
    
    .short-terms h3 {
        font-size: 0.833vw;
        font-weight: 700;
        line-height: 114%;
    }
    
    .short-terms ul {
        margin-left: 0.99vw;
        list-style-type: disc;
        margin-top: 0.625vw;
        display: flex;
        flex-direction: column;
        gap: 0.625vw;
    }
    
    .short-terms li {
        font-size: 0.833vw;
        font-weight: 500;
        line-height: 122%; /* 1.017vw */
    }
    
    .details {
        width: 49.844vw;
        padding: 1.198vw 1.25vw 1.042vw;
        background-color: #64272a;
        border-radius: 0.833vw;
        margin-top: 1.719vw;
        position: relative;
        margin-bottom: 1.042vw;
        position: relative;
        left: 0.833vw;
    }
    
    summary {
        list-style: none;
    }
    
    .arrow {
        position: absolute;
        width: 1.042vw;
        top: 1.51vw;
        right: 0.833vw;
        color: white;
        transform: rotate(90deg);
        font-weight: 700;
    }
    
    details[open] .arrow {
        top: 1.354vw;
        transform: rotate(-90deg);
    }
    
    .terms-title {
        position: relative;
    }
    
    .terms-title h3 {
        font-size: 0.833vw;
        font-weight: 700;
        line-height: 114%;
    }
    
    .terms-wrapper {
        margin-top: 0.625vw;
    }
    
    .terms h3 {
        font-size: 0.729vw;
        font-style: normal;
        font-weight: 700;
        line-height: 0.938vw;
        margin-bottom: 0.104vw;
    }
    
    .terms p, .terms li, .terms td, .terms th {
        font-size: 0.625vw;
        font-style: normal;
        font-weight: 400;
        line-height: 0.938vw;
    }
    
    .terms-block {
        margin-bottom: 0.625vw;
    }
    
    .terms p, .terms ul {
        margin-bottom: 0.313vw;
    }
    
    .terms ul {
        margin-left: 0.833vw;        
    }
    
    .terms li {
        margin-bottom: 0.208vw;        
    }
    
    .terms td {
        
    }
        

}


@media screen and (min-width: 1920px) {
 
    body {
        background: url('../images/bg-desktop.webp'), linear-gradient(180deg, #850409 0%, #850409 1085px, #40070d 2600px, #030910 100%);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background-size: auto;
        background-repeat: no-repeat;
        background-position: top center;
    }
    
    header {
        height: 88px;
        width: 100%;
    }
    
    .header-wrapper {
        margin: 0 auto;
        max-width: 1253px;
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 100%;
    }
    
    .logo {
        width: 237px;
    }
    
    nav {
        display: flex;
        gap: 14px;
    }
    
    nav a {
        height: 32px;
        text-align: center;
        color: white;
        text-decoration: none;
        border-radius: 3px;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    nav .register {
        border: 1px solid #1CCE72;
        background-color: #1CCE72;
        width: 82.54px;
    }
    
    nav .login {
        width: 66.56px;
        border: 1px solid white;
    }
    
    .jade-lounge {
        width: 347px;
        margin-top: 41px;
    }
    
    h1 {
        margin-top: 27px;
        font-size: 47.809px;
        font-weight: 800;
        background: rgb(255,200,149);
        background: linear-gradient(90deg, rgba(255,200,149,1) 0%, rgba(254,237,211,1) 51%, rgba(255,200,149,1) 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        text-align: center;
        text-transform: uppercase;
        width: 751px;
        font-style: italic;
        line-height: 133.33%;
    }
    
    .tiles {
        width: 564px;
        margin-top: 89px;
        position: relative;
        left: 3px;
    }
    
    .play-now {
        width: 372px;
        margin-top: -40px;
        position: relative;
        left: 2px;
    }
    
    .offer {
        width: 745px;
        margin-top: 162px;
        position: relative;
        left: 17px;
    }
    
    .deposit-now {
        width: 100%;
        overflow: hidden;
        display: flex;
        justify-content: center;
    }
    
    .deposit-now img {
        width: 567px;
        position: relative;
        left: 16px;
    }
    
    .hero-deposit-now {
        margin-top: -31px;
    }
    
    .text {
        display: flex;
        flex-direction: column;
        gap: 72px;
        width: 776px;
        margin-top: -3px;
    }
    
    .text h2 {
        font-size: 32px;
        font-weight: 700;
        text-shadow: 0px 4.755px 4.755px rgba(0, 0, 0, 0.25);
        line-height: 114%; /* 36.48px */
        text-align: center;
        margin-bottom: 23px;
    }
    
    .text p {
        font-size: 18px;
        font-weight: 400;
        line-height: 122%; /* 21.96px */
        position: relative;
        left: 1px;
        letter-spacing: .15px;
        margin-bottom: 14px;
    }
    
    .text-deposit-now {
        margin-top: 35px;
    }
    
    .castle {
        width: 663px;
        margin-top: 30px;
        position: relative;
        left: 16px;
    }
    
    .short-terms {
        width: 957px;
        padding: 23px 24px 22px;
        background-color: #64272a;
        border-radius: 16px;
        margin-top: 43px;
        position: relative;
        left: 16px;
    }
    
    .short-terms h3 {
        font-size: 16px;
        font-weight: 700;
        line-height: 114%;
    }
    
    .short-terms ul {
        margin-left: 19px;
        list-style-type: disc;
        margin-top: 12px;
        display: flex;
        flex-direction: column;
        gap: 12px;
    }
    
    .short-terms li {
        font-size: 16px;
        font-weight: 500;
        line-height: 122%; /* 19.52px */
    }
    
    .details {
        width: 957px;
        padding: 23px 24px 20px;
        background-color: #64272a;
        border-radius: 16px;
        margin-top: 33px;
        position: relative;
        margin-bottom: 20px;
        position: relative;
        left: 16px;
    }
    
    summary {
        list-style: none;
    }
    
    .arrow {
        position: absolute;
        width: 20px;
        top: 29px;
        right: 16px;
        color: white;
        transform: rotate(90deg);
        font-weight: 700;
    }
    
    details[open] .arrow {
        top: 26px;
        transform: rotate(-90deg);
    }
    
    .terms-title {
        position: relative;
    }
    
    .terms-title h3 {
        font-size: 16px;
        font-weight: 700;
        line-height: 114%;
    }
    
    .terms-wrapper {
        margin-top: 12px;
    }
    
    .terms h3 {
        font-size: 14px;
        font-style: normal;
        font-weight: 700;
        line-height: 18px;
        margin-bottom: 2px;
    }
    
    .terms p, .terms li, .terms td, .terms th {
        font-size: 12px;
        font-style: normal;
        font-weight: 400;
        line-height: 18px;
    }
    
    .terms-block {
        margin-bottom: 12px;
    }
    
    .terms p, .terms ul {
        margin-bottom: 6px;
    }
    
    .terms ul {
        margin-left: 16px;        
    }
    
    .terms li {
        margin-bottom: 4px;        
    }
    
    .terms td {
        
    }
        

}

.terms-wrapper {
    display: none;
    }

    .terms-wrapper.active {
    display: block;
    }  