body {
    min-height: 100vh;
    overflow-x: hidden;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.3) 68%, rgba(0, 0, 0, 0.68)),
        url("../img/bg-main.png") center top / cover no-repeat fixed,
        #090a0a;
    color: #fff;
}

.page-main {
    position: relative;
    min-height: calc(100vh - 94px);
    padding: 10px 0 70px;
}

.page-main::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 20%, rgba(255, 255, 255, 0.04), transparent 42%);
    pointer-events: none;
}

.hero {
    position: relative;
    z-index: 1;
    width: min(1360px, calc(100% - 64px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, 910px) 410px;
    align-items: start;
    gap: 40px;
}

.hero__content {
    padding-top: 4px;
}

.hero__banner {
    position: relative;
    min-height: 242px;
    overflow: hidden;
    border-radius: 76px 10px 82px 11px / 82px 11px 76px 11px;
    box-shadow:
        0 12px 18px rgba(0, 0, 0, 0.38),
        0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero__banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.05), transparent 45%, rgba(0, 0, 0, 0.16)),
        linear-gradient(180deg, rgba(255, 218, 122, 0.05), rgba(0, 0, 0, 0.15));
    pointer-events: none;
}

.hero__banner-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: url("../img/main-img.png") center / cover no-repeat;
}

.hero__copy {
    position: relative;
    z-index: 1;
    width: min(650px, 75%);
    padding: 31px 0 32px 96px;
    font-family: var(--font-body);
    text-shadow: 0 3px 0 #000, 0 8px 14px rgba(0, 0, 0, 0.52);
}

.hero__copy h1 {
    margin: 0 0 8px;
    font-size: clamp(4.5rem, 6.5vw, 6.45rem);
    font-weight: 400;
    line-height: 0.86;
    color: #fff;
}

.hero__copy p {
    max-width: 585px;
    margin: 0 0 10px;
    font-family: var(--font-body);
    font-size: clamp(1.22rem, 1.8vw, 1.52rem);
    font-weight: 700;
    line-height: 1.18;
    color: #fff;
    text-shadow: 0 2px 0 #000, 0 7px 12px rgba(0, 0, 0, 0.48);
}

.hero__stats {
    display: flex;
    align-items: center;
    gap: 11px;
    flex-wrap: wrap;
    text-shadow: 0 2px 0 #000;
}

.hero__status-pill,
.hero__ip-pill {
    min-height: 43px;
    padding: 8px 16px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    clip-path: var(--ragged-edges);
    font-size: 1.78rem;
    line-height: 1;
    color: #fff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -3px 0 rgba(0, 0, 0, 0.25),
        0 8px 16px rgba(0, 0, 0, 0.34);
}

.hero__status-pill {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.2), transparent 42%, rgba(0, 0, 0, 0.18)),
        linear-gradient(90deg, #2e9d31, #74dd48);
}

.hero__ip-pill {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.17), transparent 44%, rgba(0, 0, 0, 0.18)),
        rgba(110, 105, 94, 0.82);
}

.hero__status-pill strong {
    color: #92ff62;
    font-weight: 400;
}

.hero__ip-pill strong {
    font-weight: 400;
}

.hero__status-dot,
.hero__ip-dot {
    width: 14px;
    height: 14px;
    display: inline-block;
    flex: 0 0 auto;
    border-radius: 3px;
    background: #fff;
    box-shadow: 0 0 9px rgba(255, 255, 255, 0.7);
}

.hero__status-dot.online {
    background: #78ff4c;
    box-shadow: 0 0 11px rgba(120, 255, 76, 0.85);
}

.hero__status-dot.offline {
    background: #ff4949;
    box-shadow: 0 0 11px rgba(255, 73, 73, 0.85);
}

.hero__rule {
    position: relative;
    width: 100%;
    height: 22px;
    margin-top: 14px;
}

.hero__rule::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 10px;
    height: 2px;
    background: linear-gradient(90deg, rgba(221, 134, 58, 0.45), #df883d 12% 88%, rgba(221, 134, 58, 0.45));
    box-shadow: 0 0 14px rgba(221, 134, 58, 0.3);
}

.hero__rule::after {
    content: "";
    position: absolute;
    inset: 6px -2px auto;
    height: 10px;
    background:
        linear-gradient(45deg, transparent 0 6px, #df883d 6px 12px, transparent 12px) left center / 12px 10px no-repeat,
        linear-gradient(45deg, transparent 0 6px, #df883d 6px 12px, transparent 12px) right center / 12px 10px no-repeat;
}

.hero__play {
    position: relative;
    display: block;
    width: 410px;
    min-height: 300px;
    margin-top: -2px;
    transition: transform 170ms ease, filter 170ms ease;
}

.hero__play:hover {
    transform: translateY(-3px);
    filter: brightness(1.07);
}

.hero__play-scene {
    width: 100%;
    aspect-ratio: 468 / 273;
    display: block;
    background: url("../img/hero-main.png") center / contain no-repeat;
    filter: drop-shadow(0 14px 14px rgba(0, 0, 0, 0.42));
}

.hero__play-sign {
    position: absolute;
    left: 64px;
    right: auto;
    bottom: -10px;
    width: 232px;
    aspect-ratio: 268 / 127;
    background: url("../img/play.png") center / contain no-repeat;
    filter: drop-shadow(0 8px 8px rgba(0, 0, 0, 0.52));
}

.features {
    position: relative;
    z-index: 1;
    width: min(1360px, calc(100% - 64px));
    margin: 74px auto 0;
    display: grid;
    grid-template-columns: minmax(500px, 0.95fr) minmax(0, 1.18fr);
    align-items: center;
    gap: 64px;
}

.features__list {
    display: grid;
    gap: 23px;
    min-height: 315px;
    align-content: center;
}

.feature {
    display: grid;
    grid-template-columns: 62px 1fr;
    align-items: center;
    gap: 15px;
    color: #fff;
}

.feature img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 7px 10px rgba(0, 0, 0, 0.42));
}

.feature h2 {
    margin: 0 0 5px;
    color: #f7d95e;
    font-size: clamp(1.75rem, 2.05vw, 2.18rem);
    font-weight: 400;
    line-height: 0.82;
    text-transform: uppercase;
    text-shadow: 0 3px 0 #000, 0 7px 12px rgba(0, 0, 0, 0.55);
}

.feature p {
    max-width: 430px;
    margin: 0;
    font-family: var(--font-body);
    font-size: clamp(1rem, 1.12vw, 1.12rem);
    font-weight: 700;
    line-height: 1.18;
    text-transform: uppercase;
    text-shadow: 0 2px 0 #000, 0 7px 12px rgba(0, 0, 0, 0.48);
}

.features__mob {
    position: absolute;
    z-index: 1;
    width: clamp(230px, 38%, 350px);
    left: -24%;
    top: 6%;
    justify-self: auto;
    margin-top: 0;
    filter:
        drop-shadow(0 0 18px rgba(52, 255, 186, 0.16))
        drop-shadow(0 18px 18px rgba(0, 0, 0, 0.5));
    pointer-events: none;
}

.features__media {
    position: relative;
    width: min(100%, 720px);
    align-self: center;
    justify-self: end;
    overflow: visible;
    transition: transform 170ms ease, filter 170ms ease;
}

.features__media:hover {
    transform: translateY(-3px);
    filter: brightness(1.08);
}

.features__preview {
    position: relative;
    display: block;
    z-index: 2;
    width: 100%;
    overflow: hidden;
    border-radius: 7px;
    border: 1px solid rgba(227, 139, 59, 0.36);
    background: rgba(0, 0, 0, 0.34);
    box-shadow:
        0 16px 24px rgba(0, 0, 0, 0.45),
        0 0 0 1px rgba(255, 255, 255, 0.04);
}

.features__preview-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: block;
    background: url("../img/modes-preview-clean.jpg") center / cover no-repeat;
}

.features__preview::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.04), rgba(0, 0, 0, 0.24));
    pointer-events: none;
}

.features__preview::after {
    content: none;
}

@media (max-width: 980px) {
    .hero {
        grid-template-columns: 1fr;
        justify-items: center;
        gap: 4px;
        padding-top: 10px;
    }

    .hero__content {
        width: 100%;
    }

    .hero__play {
        margin-top: 0;
    }

    .features {
        grid-template-columns: 1fr;
        justify-items: center;
        margin-top: 58px;
        gap: 28px;
    }

    .features__list,
    .features__media {
        width: min(100%, 640px);
    }

    .features__mob {
        width: clamp(128px, 30%, 190px);
        left: -10%;
        top: 8%;
        margin: 0;
    }
}

@media (max-width: 680px) {
    .page-main {
        padding-top: 22px;
    }

    .hero {
        width: min(100% - 28px, 1360px);
    }

    .hero__banner {
        min-height: 230px;
        border-radius: 42px 8px 48px 8px;
    }

    .hero__copy {
        width: 100%;
        padding: 26px 24px 28px;
    }

    .hero__copy h1 {
        font-size: clamp(2.7rem, 15vw, 4rem);
    }

    .hero__copy p {
        max-width: 320px;
    }

    .hero__status-pill,
    .hero__ip-pill {
        font-size: 1.18rem;
    }

    .hero__play {
        width: min(410px, 100%);
    }

    .features {
        width: min(100% - 28px, 640px);
        margin-top: 46px;
        gap: 26px;
    }

    .feature {
        grid-template-columns: 58px 1fr;
        gap: 13px;
    }

    .feature img {
        width: 54px;
        height: 54px;
    }

    .feature h2 {
        font-size: 1.62rem;
    }

    .feature p {
        font-size: 1.12rem;
    }
}
