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

html {
    width: 100%;
    min-height: 100%;
}

body {
    width: 100%;
    min-height: 100vh;

    background:
            radial-gradient(
                    ellipse at 50% 35%,
                    #25202d 0%,
                    #171321 35%,
                    #100d1c 70%,
                    #0b0917 100%
            );

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;

    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}

/* ==========================================
   ОСНОВНОЙ КОНТЕЙНЕР
   ========================================== */

.wrap {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 100vh;
    min-height: 100dvh;

    padding: 30px 20px;

    overflow: hidden;
}

/* Декоративное свечение */

.wrap::before {
    content: "";

    position: absolute;

    top: 50%;
    left: 50%;

    width: 650px;
    height: 650px;

    transform: translate(-50%, -50%);

    background: radial-gradient(
            circle,
            rgba(240, 68, 75, 0.07) 0%,
            rgba(240, 68, 75, 0.025) 35%,
            transparent 70%
    );

    pointer-events: none;
}

/* ==========================================
   БЛОК ВХОДА
   ========================================== */

.page-action-box {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    align-items: center;

    width: 100%;
    max-width: 520px;

    padding: 55px 45px 45px;

    background: linear-gradient(
            145deg,
            rgba(34, 29, 43, 0.95),
            rgba(17, 14, 29, 0.98)
    );

    border: 1px solid rgba(163, 139, 139, 0.18);
    border-radius: 12px;

    box-shadow:
            0 25px 80px rgba(0, 0, 0, 0.45),
            0 0 60px rgba(240, 68, 75, 0.035),
            inset 0 1px 0 rgba(255, 255, 255, 0.035);

    text-align: center;
}

/* Красная линия сверху */

.page-action-box::before {
    content: "";

    position: absolute;

    top: 0;
    left: 50%;

    width: 110px;
    height: 3px;

    transform: translateX(-50%);

    background: #f0444b;

    box-shadow: 0 0 18px rgba(240, 68, 75, 0.5);
}

/* ==========================================
   ЛОГОТИП
   ========================================== */

.logo-inner-wrap {
    width: 100%;
    margin-bottom: 55px;
}

.logo-block {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo {
    display: inline-flex;
    align-items: baseline;
    justify-content: center;

    text-decoration: none;

    font-family: Impact, "Arial Narrow", Arial, sans-serif;
    font-size: 52px;
    font-weight: 900;

    line-height: 1.1;
    letter-spacing: -1.5px;

    text-transform: uppercase;

    transition: opacity 0.25s ease;
}

.logo:hover {
    opacity: 0.85;
}

.logo-main {
    color: #f0444b;

    text-shadow:
            0 0 18px rgba(240, 68, 75, 0.2);
}

.logo-xxx {
    color: #ffffff;
}

/* ==========================================
   КНОПКА ПЕРЕХОДА
   ========================================== */

.buttons-inner-wrap {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
}

.button-wrap {
    width: 100%;
    max-width: 370px;
}

.button-page.button-main {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 20px;

    width: 100%;
    min-height: 68px;

    padding: 18px 25px;

    background: linear-gradient(
            180deg,
            #fa5057 0%,
            #e63740 100%
    );

    border: 1px solid #ff6268;
    border-radius: 5px;

    color: #ffffff;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 19px;
    font-weight: 700;

    line-height: 1.3;
    letter-spacing: 0.6px;

    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    cursor: pointer;

    box-shadow:
            0 6px 25px rgba(240, 68, 75, 0.22),
            inset 0 1px 0 rgba(255, 255, 255, 0.18);

    transition:
            background 0.25s ease,
            box-shadow 0.25s ease,
            transform 0.25s ease,
            border-color 0.25s ease;
}


.button-page.button-main::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;
    right: 0;

    height: 50%;

    background: linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.08),
            transparent
    );

    border-radius: 5px 5px 0 0;

    pointer-events: none;
}


.button-main .button-title {
    position: relative;
    z-index: 1;

    color: #ffffff;

    font-size: inherit;
    font-weight: 700;

    white-space: nowrap;
}


.button-main .button-arrow {
    position: relative;
    z-index: 1;

    display: inline-block;

    color: #ffffff;

    font-family: Arial, sans-serif;
    font-size: 29px;
    font-weight: 400;

    line-height: 1;

    transition: transform 0.25s ease;
}

.button-page.button-main:hover {
    background: linear-gradient(
            180deg,
            #ff6067 0%,
            #f0444b 100%
    );

    border-color: #ff858a;

    box-shadow:
            0 0 35px rgba(240, 68, 75, 0.35),
            0 10px 30px rgba(0, 0, 0, 0.3),
            inset 0 1px 0 rgba(255, 255, 255, 0.2);

    transform: translateY(-3px);
}

.button-page.button-main:hover .button-arrow {
    transform: translateX(6px);
}

.button-page.button-main:active {
    transform: translateY(0);

    box-shadow:
            0 2px 12px rgba(240, 68, 75, 0.2);
}


.button-page.button-main:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 4px;
}


.entry-footer {
    width: 100%;

    margin-top: 45px;

    color: #a69ca7;

    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    font-weight: 400;

    line-height: 1.8;
    letter-spacing: 0.2px;

    text-align: center;
}

/* Декоративный разделитель */

.entry-footer::before {
    content: "";

    display: block;

    width: 70px;
    height: 1px;

    margin: 0 auto 25px;

    background: linear-gradient(
            90deg,
            transparent,
            rgba(163, 139, 139, 0.45),
            transparent
    );
}


@media (max-width: 768px) {

    .wrap {
        padding: 25px 20px;
    }

    .page-action-box {
        max-width: 480px;
        padding: 50px 35px 40px;
    }

    .logo {
        font-size: 46px;
    }

    .logo-inner-wrap {
        margin-bottom: 45px;
    }

    .button-page.button-main {
        min-height: 65px;
        font-size: 18px;
    }

    .entry-footer {
        margin-top: 40px;
    }
}

@media (max-width: 480px) {

    .wrap {
        padding: 20px 15px;
    }

    .page-action-box {
        width: 100%;
        max-width: 400px;

        padding: 45px 22px 35px;

        border-radius: 10px;
    }

    .logo-inner-wrap {
        margin-bottom: 40px;
    }

    .logo {
        font-size: 38px;
        letter-spacing: -1px;
    }

    .button-wrap {
        max-width: 100%;
    }

    .button-page.button-main {
        min-height: 62px;

        padding: 16px 18px;

        gap: 15px;

        font-size: 16px;
        letter-spacing: 0.3px;
    }

    .button-main .button-arrow {
        font-size: 25px;
    }

    .entry-footer {
        margin-top: 35px;

        font-size: 13px;
        line-height: 1.7;
    }

    .entry-footer::before {
        margin-bottom: 22px;
    }
}

@media (max-width: 360px) {

    .page-action-box {
        padding: 40px 16px 30px;
    }

    .logo {
        font-size: 32px;
    }

    .button-page.button-main {
        min-height: 58px;

        padding: 14px 12px;

        gap: 10px;

        font-size: 14px;
    }

    .button-main .button-arrow {
        font-size: 23px;
    }

    .entry-footer {
        font-size: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .logo,
    .button-page.button-main,
    .button-main .button-arrow {
        transition: none;
    }

    .button-page.button-main:hover,
    .button-page.button-main:active {
        transform: none;
    }

    .button-page.button-main:hover .button-arrow {
        transform: none;
    }
}