html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    background: #0f0000;
}

/* ===================== */
/* DECOR BLOCKS (desktop) */
/* ===================== */

.decor-block {
    position: absolute;
    background: linear-gradient(
        135deg,
        rgba(196, 240, 227, 0.999) 0%,
        rgb(212, 244, 237) 40%,
        rgb(127, 156, 155) 100%
    );
    border-radius: 28px;
    backdrop-filter: blur(18px) brightness(1.2);
    border: 2px solid #afff00;
    box-shadow:
        inset 0 0 25px rgba(255, 255, 255, 0.25),
        inset 0 0 40px rgba(255, 255, 255, 0.15),
        0 0 10px #afff00,
        0 0 20px #afff00,
        0 0 40px #afff00,
        0 0 80px rgba(175, 255, 0, 0.5);
}

/* позиции блоков */
.block-1 { width: 220px; height: 250px; top: 40px; left: 40px; }
.block-2 { width: 160px; height: 200px; top: 110px; right: 60px; }
.block-3 { width: 260px; height: 230px; top: 380px; left: 100px; }
.block-4 { width: 240px; height: 160px; top: 400px; left: 70%; }

/* ===================== */
/* DECOR BLOCK TEXT      */
/* ===================== */

.title-block-1,
.title-block-2,
.title-block-3,
.title-block-4 {
    font-size: 20px;
    font-weight: 800;
    color: #000;
    margin: 15px;
    text-align: center;
}

.title-block-1-sub,
.title-block-2-sub,
.title-block-3-sub,
.title-block-4-sub {
    font-size: 16px;
    font-weight: 500;
    margin: 10px 15px 0;
    color: #000;
    text-align: center;
}

/* ===================== */
/* CENTRAL MAIN BLOCK    */
/* ===================== */

.central-block {
    position: relative;
    background: #FFFF00CC;
    backdrop-filter: blur(20px) saturate(180%);
    background-image: linear-gradient(135deg, rgba(255,255,255,0.29), rgba(255,255,255,0.04));
    width: 400px;
    max-width: 90%;
    margin: 120px auto 0;
    padding: 40px 20px 50px;
    border-radius: 25px;
    text-align: center;
    color: black;
    box-shadow:
        inset 0 0 20px rgba(255, 255, 0, 0.45),
        0 0 25px rgba(255, 255, 0, 0.3);
}

.central-logo {
    width: 100px;
    display: block;
    margin: 0 auto 10px;
}

.title-main {
    font-size: 32px;
    font-weight: 800;
    margin-top: 10px;
}

.title-sub {
    font-size: 20px;
    margin-top: -10px;
    margin-bottom: 35px;
}

.continue-btn {
    display: inline-block;
    text-decoration: none;
    background: rgb(219, 231, 2);
    color: black;
    font-size: 24px;
    padding: 15px 40px;
    border-radius: 14px;
    font-weight: 700;
    transition: 0.25s;
}

.continue-btn:hover {
    transform: scale(1.06);
}

/* ===================== */
/* SUPPORT BUTTON        */
/* ===================== */

.support-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #080305;
    color: white;
    padding: 12px 18px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    z-index: 1000;
}

/* ===================== */
/* SUPPORT MODAL WINDOW  */
/* ===================== */

/* ===================== */
/* SUPPORT MODAL WINDOW  */
/* ===================== */

.modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    padding-top: 120px;
    background: rgba(0,0,0,0.65);
}

/* Центральное окно */
.modal-content {
    background: #ffffff;
    margin: auto;
    padding: 24px;
    width: 90%;
    max-width: 360px;       /* меньшее окно */
    border-radius: 14px;
    box-shadow: 0 4px 25px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    gap: 16px;              /* ровные отступы */
}

/* Крестик */
.close {
    align-self: flex-end;
    font-size: 26px;
    cursor: pointer;
    margin-top: -5px;
    margin-bottom: -5px;
}

/* Заголовок */
.modal-content h2 {
    margin: 0;
    text-align: center;
    font-size: 20px;
    font-weight: 700;
}

/* Поля ввода */
#supportForm input,
#supportForm textarea {
    width: 100%;
    box-sizing: border-box;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 15px;
    outline: none;
}

/* Текстовая область */
#supportForm textarea {
    height: 110px;
    resize: none;
}

/* Кнопка отправки */
.send-btn {
    width: 100%;
    padding: 12px;
    background: #ffcc00;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: 0.25s;
}

.send-btn:hover {
    background: #ffdb4d;
}

/* Сообщение об успехе */
.success-msg {
    text-align: center;
    font-size: 15px;
    color: #28a745;
    margin-top: 5px;
}



/* ===================== */
/* FOOTER                */
/* ===================== */

.footer {
    text-align: center;
    padding: 30px 0;
    margin-top: 100px;
    color: #8b8a8a;
    font-size: 16px;
}

.footer-link {
    color: #faf8f8;
    text-decoration: none;
    margin: 0 12px;
    font-weight: 600;
    opacity: 0.8;
    transition: 0.3s;
}

.footer-link:hover {
    opacity: 1;
}



/* ===================== */
/* TOP LOGO TEXT         */
/* ===================== */

.top-logo-text {
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(90deg, #ffea00, #ff4e00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 12px rgba(255, 200, 0, 0.7);
    z-index: 2000;
}


/* ===================== */
/* MOBILE ADAPTATION     */
/* ===================== */

@media (max-width: 600px) {

    .decor-block {
        display: none;
    }

    .central-block {
        margin-top: 40px;
        width: 92%;
        padding: 25px 15px 40px;
    }

    .central-logo {
        width: 80px;
    }

    .title-main {
        font-size: 28px;
    }

    .title-sub {
        font-size: 16px;
    }

    .continue-btn {
        font-size: 20px;
        padding: 12px 30px;
    }

    .top-logo-text {
        font-size: 22px;
        right: 12px;
    }
}
