:root {
    --primary-color: rgb(36, 47, 76);
    --secondary-color: rgb(126, 172, 47);
    --tertiary-color: rgb(46, 63, 102);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    /* overflow: hidden; */
    position: relative;
    background: var(--tertiary-color);

}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    /* background: rgba(20, 20, 25, 0.5); */
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 15px;
}

.header-content {
    /* max-width: 1400px; */
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;

    @media (max-width: 600px) {
        flex-direction: column;
    }
}

.download-links {
    display: none;
    align-items: center;
    gap: 0px;
    background: var(--tertiary-color);
    width: fit-content;
    padding: 5px 8px;
    border-radius: 12px;
}

.download-label {
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    margin: 0;
    white-space: nowrap;
}

.download-nav {
    display: flex;
}

.download-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    text-decoration: none;
    transition: opacity 0.2s;
    opacity: 0.5;
}

.download-link:hover {
    opacity: 0.8;
}

.download-icon {
    width: 20px;
    height: 20px;
    fill: #fff;
}



.background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top right;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.container {
    position: relative;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 80px 20px 0px 20px;
    box-shadow: inset 0 0 10px 10px rgb(36, 47, 76);

    @media (max-width: 768px) {
        align-items: center;
    }
}

.content-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    width: 100%;
    max-width: 1200px;
    /* height: 100vh; */
    z-index: 1;
}

.form-container {
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 100%;
    flex-shrink: 0;
    margin: auto 0;
}

@media (max-width: 1024px) {
    .content-wrapper {
        flex-direction: column;
    }
}

.logo {
    display: block;
    text-align: center;
    margin-bottom: 20px;
}

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


.headline-1 {
    text-align: center;
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.headline-2 {
    text-align: center;
    color: var(--secondary-color);
    font-size: 40px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 30px;

    @media (max-width: 768px) {
        font-size: 25px;
    }
}



.btn-register {
    width: 100%;
    padding: 18px;
    background: rgb(126, 172, 47);
    color: white;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s;
}

.btn-login {
    background: var(--tertiary-color);
    margin-bottom: 15px;
    color: white;
}

.btn-register:hover {
    transform: scale(1.02);
}


/* Content Section */
.content-section {
    position: relative;
    /* min-height: 100vh; */
    background: linear-gradient(90deg, var(--primary-color) 50%, var(--tertiary-color) 100%);
    padding: 60px 20px;
}

.content-max-width {
    max-width: 900px;
    margin: 0 auto;
}

.content-title {
    color: white;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
    line-height: 1.3;
}

.content-button-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.content-btn {
    display: inline-block;
    padding: 18px 50px;
    background: var(--secondary-color);
    color: white;
    font-size: 18px;
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s;
    text-transform: uppercase;
}

.content-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(var(--secondary-color), 0.4);
}

.text-content {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
    line-height: 1.8;
}

.text-content p {
    margin-bottom: 25px;
}

.text-content h2 {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}

.text-content strong {
    color: white;
    font-weight: 700;
}



/* Footer */
.footer {
    background: #14161c;
    padding: 20px 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.age-restriction-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(200, 200, 200, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}

.age-number {
    font-size: 22px;
    font-weight: 700;
    color: rgba(200, 200, 200, 0.9);
    position: absolute;
}

.age-plus {
    font-size: 10px;
    color: rgba(200, 200, 200, 0.9);
    position: absolute;
    top: 8px;
    left: 32px;
}

.footer-disclaimer p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    line-height: 1.5;
    margin: 0;
}

.footer-disclaimer p:first-child {
    margin-bottom: 5px;
}



/* 1xСasino-like header */
.bw-header {
    background: var(--primary-color);
    /* тёмно-зелёный, как на скрине */
    backdrop-filter: none;
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.bw-header-content {
    gap: 20px;
    margin-bottom: 10px;
}

.bw-logo-link {
    display: flex;
    align-items: center;
    margin-left: 20px;
}

.bw-logo-img {
    height: 20px;
    width: auto;

    @media (max-width: 780px) {
        height: 25px;
    }
}

.bw-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    padding: 13px 10px;
    background: var(--tertiary-color);
    width: fit-content;
    border-radius: 10px;
}

.bw-nav-link {
    color: #e9f0ea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    opacity: 0.95;
}

.bw-nav-link:hover {
    opacity: 1;
}

.bw-caret {
    opacity: 0.8;
}


.bw-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bw-icon-btn {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--tertiary-color);
    color: #e9f0ea;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.2s;

}

.bw-icon-btn:hover {
    transform: scale(1.1);
}

.bw-icon-btn-balance {
    @media (max-width: 400px) {
        display: none;
    }
}

.bw-gift {
    .ico__svg {
        fill: #fff;
        width: 50%;

    }
}

.bw-icon-btn-settings {
    .ico__svg {
        fill: #fff;
        width: 50%;
    }

    @media (max-width: 1200px) {
        display: none;
    }
}

.bw-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    background: var(--secondary-color);
    color: white;
    font-weight: 800;
    font-size: 11px;
    line-height: 1;
    padding: 3px 6px;
    border-radius: 999px;
}

.bw-btn {
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 12px;
    border-radius: 10px;
    text-decoration: none;
    /* font-weight: 800; */
    font-size: 14px;
    white-space: nowrap;
    transition: all 0.2s;
    font-weight: 100;
}

.bw-btn:hover {
    transform: scale(1.05);
}

.bw-btn-green {
    background: rgb(126, 172, 47);
    color: white;
}

.bw-btn-login {
    background: var(--tertiary-color);
    color: #e9f0ea;
}

.bw-divider {
    width: 1px;
    height: 28px;
    background: rgba(255, 255, 255, 0.2);
    margin: 0 2px;
}

.bw-right-text {
    color: #e9f0ea;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    padding: 0 6px;
}



@media (max-width: 1024px) {
    .footer-content {
        flex-wrap: wrap;
        gap: 20px;
    }

    .footer-left {
        flex: 1;
        min-width: 100%;
    }
}

@media (max-width: 768px) {
    .background-overlay {
        background: rgba(0, 0, 0, 0.7);
    }

    .download-links {
        display: flex;
    }

    .bw-right {
        width: 100%;
        justify-content: space-between;
    }

    .bw-right-text,
    .bw-divider,
    .bw-gift,
    .bw-icon-btn-balance {
        display: none;
    }

    .content-section {
        padding: 40px 15px;
    }

    .content-title {
        font-size: 24px;
    }

    .content-btn {
        padding: 15px 35px;
        font-size: 16px;
    }

    .text-content {
        font-size: 15px;
        line-height: 1.7;
    }

    .text-content h2 {
        font-size: 20px;
        margin-top: 30px;
    }
}

@media (max-width: 768px) {
    .footer {
        padding: 15px 20px;
    }

    .age-restriction-icon {
        width: 45px;
        height: 45px;
    }

    .age-number {
        font-size: 20px;
    }

    .age-plus {
        font-size: 9px;
        top: 7px;
        left: 28px;
    }

    .footer-disclaimer p {
        font-size: 12px;
    }
}

@media (max-width: 1100px) {
    .bw-nav {
        display: none;
    }
}