html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000000;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

/* Контейнер, который выталкивает футер вниз */
.page-wrapper {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 80px;

    padding: 40px 120px 60px;
    box-sizing: border-box;

    max-width: 1200px;
    margin: 0 auto;
}



/* Левая форма — БЕЗ absolute */
.left-form-block {
    width: 320px;
    padding: 60px;
    background: #9e4141;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(0,0,0,0.1);
    margin: 0;
    flex-shrink: 0;
}


.register-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.register-form label {
    font-weight: 600;
    font-size: 14px;
}

.register-form input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 14px;
}

.skip-link {
    display: block;
    margin-top: 14px;
    text-align: center;
    font-size: 20px;
    color: #010823;
    text-decoration: none;
    cursor: pointer;
}

.skip-link:hover {
    color: #d43a6b;
    text-decoration: underline;
}


.submit-btn {
    margin-top: 10px;
    padding: 12px;
    background: #d43a6b;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
}

.submit-btn:hover {
    background: #b72f5b;
}



/* Лого */
.logo-block {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.logo-img {
    width: auto;
    height: auto;
    max-width: 30%;
}

.logo-text {
    font-size: 32px;
    font-weight: 100;
    color: #f80404;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* MOBILE */
@media (max-width: 768px) {

    .page-wrapper {
        flex-direction: column;
        align-items: stretch;
    }

    .left-form-block {
    width: 100%;
    max-width: 360px;
    box-sizing: border-box;
}


    .center-bg-container {
        order: 2; /* картинка второй */
        position: static;
        margin: 0 auto 20px auto;

        width: 80%;
        max-width: 300px;
        height: 200px;

        border-width: 3px;
        border-radius: 10px;
    }

    .register-form {
        gap: 16px;
    }

    .logo-img {
        max-width: 60%;
    }

    .logo-text {
        font-size: 26px;
    }

    .center-content {
        font-size: 14px;
        padding-top: 10px;
    }
}


@media (max-width: 480px) {

    .left-form-block {
        padding: 20px 16px;
    }

    .logo-text {
        font-size: 22px;
    }

    .logo-img {
        max-width: 50%;
    }

    .center-bg-container {
        height: 180px;
        border-width: 2px;
    }
}

/* FOOTER */
.footer-links {
    display: flex;
    justify-content: center;
    gap: 25px;
    padding: 25px 0;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 14px;
    opacity: 0.7;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 400;
    opacity: 0.8;
    transition: opacity 0.2s;
}

.footer-links a:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .footer-links {
        flex-wrap: wrap;
        gap: 15px;
        font-size: 13px;
        padding-bottom: 40px;
    }
}

/* ===== СТИЛИ МОДАЛЬНОГО ОКНА ПОДДЕРЖКИ ===== */

.support-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    background: none;
    border: none;
    padding: 0;
    width: 30px;
    height: 30px;
    line-height: 30px;
}

.close-modal:hover {
    color: #d43a6b;
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
    text-align: center;
}

.support-form input,
.support-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    box-sizing: border-box;
}

.support-form textarea {
    height: 120px;
    resize: vertical;
    font-family: inherit;
}

.support-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555;
}

.submit-support-btn {
    background: linear-gradient(135deg, #d43a6b, #b82a5b);
    color: white;
    border: none;
    padding: 14px 20px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.submit-support-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 58, 107, 0.3);
}

.success-message {
    display: none;
    text-align: center;
    padding: 20px;
    color: #2ecc71;
    font-weight: 600;
    font-size: 18px;
    background-color: #f8fff9;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #d4edda;
}

/* SEO DESCRIPTION BLOCK */
.seo-description-block {
    flex: 1;
    max-width: 640px;
    margin: 0;
}


.seo-description-block h2 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #ffffff;
}

.seo-description-block p {
    font-size: 15px;
    margin-bottom: 14px;
    opacity: 0.9;
}

/* MOBILE */
@media (max-width: 768px) {
    .page-wrapper {
        flex-direction: column;
        align-items: stretch;
        padding: 20px 16px 40px;
        gap: 30px;
    }

    .left-form-block {
        order: 1;
        width: 100%;
        max-width: 360px;
        margin: 0 auto 20px;
        box-sizing: border-box;
    }

    .seo-description-block {
        order: 2;
        max-width: 100%;
        margin: 0 auto;
        padding: 0 8px;
    }

    .seo-description-block h2 {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .skip-link {
        font-size: 16px;
    }
}


/* ===== AGE GATE 18+ ===== */
.age-gate {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.age-gate-content {
    max-width: 420px;
    padding: 40px 30px;
    background: #111;
    border-radius: 14px;
    text-align: center;
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

.age-gate-content h2 {
    margin-bottom: 16px;
    font-size: 26px;
    color: #ffffff;
}

.age-gate-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #cccccc;
    margin-bottom: 30px;
}

.age-gate-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.age-btn {
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.age-btn.confirm {
    background: #d43a6b;
    color: #ffffff;
}

.age-btn.confirm:hover {
    background: #b72f5b;
}

.age-btn.leave {
    background: transparent;
    color: #bbbbbb;
    border: 1px solid #444;
}

.age-btn.leave:hover {
    color: #ffffff;
    border-color: #777;
}

/* Mobile */
@media (max-width: 480px) {
    .age-gate-content {
        padding: 30px 20px;
    }

    .age-gate-content h2 {
        font-size: 22px;
    }
}
