@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'MusashiBrush';
    src: url('../fonts/Musashi_Brush.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    --color-bg: #030303;
    --color-footer-bg: #1D1D1D;
    --color-red: #EF0E0E;
    --color-red-deep: #A00000;
    --color-btn-red: #C81515;
    --color-btn-text: #221A1A;
    --gradient-bonus: linear-gradient(90deg, #FF1F20 0%, #FFA31A 100%);

    --font-brush: 'MusashiBrush', sans-serif;
    --font-main: 'Montserrat', Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    overflow-x: hidden;
    overflow-x: clip;
}

.page {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--color-bg);
    font-family: var(--font-main);
    color: #FFFFFF;
    overflow-x: hidden;
    overflow-x: clip;
}

.backdrop {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.backdrop__glow {
    position: absolute;
    width: 760px;
    height: 760px;
    border-radius: 50%;
    background: radial-gradient(circle,
            rgba(160, 0, 0, 0.55) 0%,
            rgba(160, 0, 0, 0.22) 35%,
            rgba(160, 0, 0, 0.07) 58%,
            rgba(160, 0, 0, 0) 72%);
    transform: translate(-50%, -50%);
}

.backdrop__glow--top {
    left: 164px;
    top: -157px;
}

.backdrop__glow--bottom {
    left: 548px;
    top: 1465px;
}

.hero {
    position: relative;
    z-index: 1;
    flex: 1 0 auto;
    min-height: 1133px;
}

.hero__photo-wrap {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 0;
    width: 50.6%;
    max-width: 972px;
    height: 100%;
}

.hero__photo {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero__photo-fade {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 185px;
    background: linear-gradient(90deg, #050303 0%, rgba(5, 3, 3, 0) 100%);
}

.hero__content {
    position: relative;
    z-index: 2;
    width: 49.4%;
    min-height: 1133px;
    padding: 152px 24px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__heading {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero__title {
    position: relative;
    z-index: 1;
    margin: 0;
    font-family: var(--font-brush);
    font-weight: 400;
    font-size: clamp(72px, 7.5vw, 144px);
    line-height: 0.66;
    color: var(--color-red);
    text-align: center;
}

.hero__title-letter {
    font-size: 1.22em;
}

.hero__subtitle {
    position: relative;
    z-index: 1;
    margin: 14px 0 0;
    font-family: var(--font-brush);
    font-weight: 400;
    font-size: clamp(43px, 4.47vw, 86px);
    line-height: 0.66;
    color: var(--color-red);
    text-align: center;
}

.hero__stroke {
    display: block;
    width: 278px;
    height: auto;
    margin-top: 14px;
    transform: rotate(-4deg);
}

.hero__splash {
    position: absolute;
    z-index: 0;
    pointer-events: none;
    height: auto;
}

.hero__splash--top {
    top: -20px;
    left: -64px;
    width: 417px;
    max-width: 45vw;
}

.hero__splash--bottom {
    top: auto;
    bottom: 0;
    left: 20%;
    width: 400px;
    max-width: 45vw;
}

.hero__splash--heading-left,
.hero__splash--heading-right {
    display: none;
}

.links {
    position: relative;
    z-index: 1;
    width: 392px;
    max-width: 100%;
    margin: 56px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.links__item {
    display: flex;
}

.link-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    border-radius: 8px;
    background-color: #FFFFFF;
    font-weight: 700;
    font-size: 18px;
    line-height: 1.2;
    color: var(--color-btn-text);
    text-align: center;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.link-btn:hover,
.link-btn:focus-visible {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(239, 14, 14, 0.35);
}

.link-btn:active {
    transform: translateY(0);
    box-shadow: none;
}

.link-btn:focus-visible {
    outline: 3px solid var(--color-red);
    outline-offset: 2px;
}

.link-btn--red {
    background-color: var(--color-btn-red);
    color: #FFFFFF;
}

.link-btn--bonus {
    background-image: var(--gradient-bonus);
    color: #FFFFFF;
}

.socials {
    position: relative;
    z-index: 2;
    background-color: var(--color-footer-bg);
    padding: 12px 16px;
    height: 153px;
}

.socials__list {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 14px;
}

.socials__link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-decoration: none;
}

.socials__icon {
    width: 73px;
    height: 73px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.15s ease;
}

.socials__link:hover .socials__icon,
.socials__link:focus-visible .socials__icon {
    transform: scale(1.08);
}

.socials__label {
    font-size: 14px;
    font-weight: 500;
    line-height: 1;
    color: rgba(255, 255, 255, 0.82);
    transition: color 0.15s ease;
}

.socials__link:hover .socials__label,
.socials__link:focus-visible .socials__label {
    color: #FFFFFF;
}

.socials__link:focus-visible {
    outline: none;
}

.socials__link:focus-visible .socials__label {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 4px;
}

@media (max-width: 767px) {

    .backdrop__glow--top {
        display: none;
    }

    .backdrop__glow--bottom {
        width: 520px;
        height: 520px;
        left: 50%;
        top: auto;
        bottom: -215px;
    }

    .hero {
        min-height: 0;
    }

    .hero__photo-wrap {
        position: relative;
        top: auto;
        right: auto;
        width: 100%;
        max-width: none;
        height: auto;
        transform: none;
    }

    .hero__photo {
        width: 100%;
        height: auto;
        aspect-ratio: 621 / 684;
    }

    .hero__photo-fade {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: auto;
        height: 74px;
        background: linear-gradient(180deg, rgba(5, 3, 3, 0) 0%, #050303 100%);
    }

    .hero__splash--top,
    .hero__splash--bottom {
        display: none;
    }

    .hero__content {
        width: 100%;
        min-height: 0;
        padding: 0 20px 90px;
    }

    .hero__heading {
        align-self: stretch;
    }

    .hero__title {
        font-size: min(91px, 21vw);
    }

    .hero__subtitle {
        margin-top: 10px;
        font-size: min(54px, 13vw);
    }

    .hero__stroke {
        width: 176px;
        height: auto;
        margin-top: 10px;
    }

    .hero__splash--heading-left {
        display: block;
        top: 60px;
        left: -20px;
        width: 99px;
    }

    .hero__splash--heading-right {
        display: block;
        top: 60px;
        right: -20px;
        width: 82px;
    }

    .links {
        width: min(374px, 100%);
        margin-top: 24px;
        gap: 14px;
    }

    .link-btn {
        font-size: 17px;
    }

    .socials__list {
        gap: clamp(8px, 3.4vw, 14px);
    }
}
