:root {
    --primary-color: #2a2a2a;
    --secondary-color: #ffb803;
    --tertiary-color: #1a1a1a;
    --btn-dark-color: #3a3a3a;
}

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

body {
    font-family: 'Arial', sans-serif;
    min-height: 100vh;
    /* overflow: hidden; */
    position: relative;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    background: var(--primary-color);
    padding-left: 10px;

}


.header-content {
    width: 100%;

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

.logo-header-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 150px;
}

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

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

    .header-actions {
        gap: 8px;
    }

    .header-icon-btn {
        width: 38px;
        height: 38px;
    }

    .btn-register-header,
    .btn-signin-header {
        padding: 10px 18px;
        font-size: 12px;
    }
}

@media (max-width: 600px) {
    .btn-register-header {
        display: none;
    }
}

.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: center;
}

.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: 110px 20px 0px 20px;
    background: var(--tertiary-color);
    /* box-shadow: inset 0 0 10px 10px rgba(33, 131, 95, 0.5); */

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

    @media (max-width: 600px) {
        padding: 70px 15px 0px 15px;
    }
}

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

.content-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 20px;
}

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

}

.banner-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 900px;
}

.banner-img {
    width: 95%;
    height: auto;
    object-fit: contain;
}

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

    .banner-container {
        display: none;
    }
}

.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;
    }
}

.input-group {
    margin-bottom: 20px;
}

.input-field {
    width: 100%;
    padding: 15px 20px;
    border-radius: 10px;
    border: none;
    background: white;
    font-size: 16px;
    color: #333;
}

.input-field::placeholder {
    color: #999;
}

.password-container {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--secondary-color);
    font-size: 18px;
}

.agreement {
    text-align: center;
    color: white;
    font-size: 12px;
    margin-bottom: 25px;
    line-height: 1.4;
}


.btn-register {
    width: 100%;
    padding: 18px;
    background: var(--secondary-color);
    color: #0f3a27;
    border: none;
    border-radius: 15px;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
    transition: transform 0.2s;
}

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

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

.login-link {
    text-align: center;
    margin-top: 20px;
    color: white;
    font-size: 14px;
}

.login-link a {
    color: white;
    text-decoration: underline;
}

/* Content Section */
.content-section {
    position: relative;
    /* min-height: 100vh; */
    background: linear-gradient(90deg, var(--primary-color) 0%, 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: #0f3a27;
    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: var(--secondary-color);
    font-size: 24px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
}

.text-content strong {
    color: var(--secondary-color);
    font-weight: 700;
}

@media (max-width: 768px) {
    .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;
    }
}

/* 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;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.crypto-info p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 13px;
    margin: 0;
    white-space: nowrap;
}

.gcb-logo {
    background: #22c55e;
    padding: 12px 20px;
    border-radius: 10px;
    text-align: center;
}

.gcb-text {
    color: white;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
}

.gcb-subtext {
    color: white;
    font-size: 10px;
    margin-top: 2px;
}

.stop-hand-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stop-hand-icon svg {
    width: 28px;
    height: 28px;
}

@media (max-width: 1024px) {
    .melbet-nav-link-cyber {
        display: none;
    }
    .footer-content {
        flex-wrap: wrap;
        gap: 20px;
    }

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

    .footer-right {
        justify-content: space-between;
    }
}

@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;
    }

    .crypto-info p {
        font-size: 12px;
    }

    .gcb-logo {
        padding: 10px 16px;
    }

    .gcb-text {
        font-size: 18px;
    }

    .gcb-subtext {
        font-size: 9px;
    }

    .stop-hand-icon {
        width: 36px;
        height: 36px;
    }

    .stop-hand-icon svg {
        width: 24px;
        height: 24px;
    }
}


/* Melbet header */


.melbet-top {
    background: #2a2a2a;
    padding: 10px 0px 10px 60px;
}

.melbet-top-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 20px;
}

.melbet-logo-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.melbet-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: flex-start;
}

.melbet-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    padding-right: 10px;
}

.melbet-logo-img {
    height: auto;
    width: 150px;
    display: block;
}

.melbet-flag-img {
    height: 38px;
    width: auto;
    display: block;
    margin-left: 4px;
}

.melbet-btn {
    height: 25px;
    padding: 0 14px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.melbet-btn-dark {
    background: #3a3a3a;
    color: #ffffff;
}

.melbet-btn-yellow {
    background: var(--secondary-color);
    color: #1a1a1a;
}

.melbet-btn:hover {
    opacity: 0.9;
}

.melbet-gift-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    border-radius: 8px;
}

.gift-svg {
    width: 20px;
    height: 20px;
    fill: #ffffff;
}

.melbet-icon-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #ffffff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
}

.settings-svg {
    width: 18px;
    height: 18px;
    fill: #ffffff;
}

.melbet-time {
    font-weight: 500;
}

.melbet-caret {
    font-size: 10px;
    opacity: 0.8;
}

.melbet-bottom {
    background: var(--secondary-color);
    padding: 10px 20px 10px 65px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
    margin-left: 0;
    clip-path: polygon(60px 0%, 100% 0%, 100% 100%, 0% 100%);
}

.melbet-nav {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
}

.melbet-nav-link {
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s;
}

.melbet-nav-link:hover {
    opacity: 0.8;
}

.melbet-nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.melbet-fruit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1a1a1a;
    text-decoration: none;
    font-size: 14px;
}

.fruit-icon {
    font-size: 18px;
}

.melbet-book-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.book-svg {
    width: 24px;
    height: 24px;
    fill: #1a1a1a;
}

@media (max-width: 1200px) {
    .melbet-nav-link-cyber {
        display: none;
    }
    .melbet-top-content {
        flex-wrap: wrap;
    }

    .melbet-nav {
        gap: 12px;
    }

    .melbet-nav-link {
        font-size: 12px;
    }
}

@media (max-width: 768px) {
    .melbet-gift-icon {
        display: none;
    }

    .melbet-icon-text {
        display: none;
    }

    .melbet-header {
        justify-content: space-between;
        /* flex-direction: column; */
    }

    .melbet-top {
        padding: 10px 15px;
        width: 100%;
    }

    .melbet-top-content {
        flex-wrap: wrap;
        gap: 10px;
    }

    .melbet-logo-link {
        /* width: initial; */
        /* order: 1; */
        /* flex: 1 1 100%; */
        /* margin-bottom: 8px; */
    }

    .melbet-logo-img {
        width: 120px;
    }

    .melbet-flag-img {
        height: 30px;
    }

    .melbet-left {
        /* order: 2; */
        flex: 1;
        gap: 8px;
        justify-content: flex-start;
    }

    .melbet-right {
        /* order: 3; */
        gap: 8px;
    }

    .melbet-btn {
        font-size: 11px;
        padding: 0 10px;
        height: 28px;
    }

    .melbet-gift-icon {
        width: 28px;
        height: 28px;
    }

    .melbet-icon-text {
        font-size: 11px;
        gap: 2px;
    }

    .settings-svg {
        width: 16px;
        height: 16px;
    }

    /* Скрываем оранжевую линию на мобильных */
    .melbet-bottom {
        display: none;
    }
}

@media (max-width: 600px) {
    .melbet-top {
        padding: 8px 10px;
    }

    .melbet-top-content {
        gap: 8px;
    }

    .melbet-logo-img {
        width: 100px;
    }

    .melbet-flag-img {
        height: 24px;
    }

    .melbet-left {
        flex-wrap: wrap;
        gap: 6px;
    }

    .melbet-btn {
        font-size: 10px;
        padding: 0 8px;
        height: 26px;
    }

    .melbet-btn-yellow {
        /* display: none; */
    }

    .melbet-btn-friday {
        display: none;
    }

    .melbet-icon-text {
        font-size: 10px;
    }

    .melbet-caret {
        font-size: 8px;
    }
}

@media (max-width: 400px) {
    .melbet-flag-img {
        display: none;
    }
    .melbet-logo-img {
        width: 90px;
    }
}