:root {
    --layer-bg: #001911;
    --accent-text: #F2D163;
}

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

body {
    min-height: 100vh;
    background-color: var(--layer-bg, #001911);
    background-image: url("img/bg-patern.png");
    background-repeat: repeat;
    background-size: 260px auto;
    color: #fff;
    font-family: sans-serif;
    line-height: 1.45;
    display: flex;
    justify-content: center;
    overflow-x: hidden;
}

.landing {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 50px;
    /* overflow: hidden; */
}

.landing-intro,
.landing-inner,
.landing-content,
.landing-slogan,
.landing-button {
    position: relative;
    z-index: 3;
}

.landing-intro {
    position: relative;
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    width: 100%;
    min-height: 420px;
}

.landing-intro picture {
    display: block;
    width: 100%;
    height: 100%;
}

.landing-intro__text {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
}

.landing-intro__title,
.landing-intro__subtitle {
    margin: 0;
}

.landing-intro__image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
}

.landing-inner {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 20px;
    padding-bottom: 72px;
    display: flex;
    flex-direction: column;
    gap: 50px;
    position: relative;
    background: transparent;
}

@media (min-width: 720px) {
    body {
        background-image: url("img/bg-patern-desk.png");
        background-size: 420px auto;
    }

    .landing-intro__text {
        padding: 0 32px;
    }

    .landing-inner {
        padding: 0 32px;
        padding-bottom: 64px;
    }

    .landing-intro__title {
        font-size: 36px;
    }

    .landing-intro__subtitle {
        font-size: 28px;
    }

    .landing-content__lead,
    .landing-content__text {
        font-size: 18px;
    }

    .landing-content__advantages-title,
    .landing-content__advantages-item {
        font-size: 20px;
    }

    .landing-slogan {
        font-size: 28px;
    }

}

.landing-button {
    display: block;
    width: 100%;
    max-width: 760px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 18px 24px;
    border-radius: 4px;
    border: 0.4px solid #F2D163;
    background: linear-gradient(180deg, #DD1616 12.5%, #69071E 84.62%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    font-size: 24px;
    line-height: 1;
    text-transform: uppercase;
    transition: transform 180ms ease, filter 180ms ease, box-shadow 180ms ease;
    animation: button-gold-glow 2s ease-in-out infinite;
}

@media (min-width: 720px) {
    .landing-button {
        max-width: 480px;
    }
}

.landing-button::before {
    content: "";
    position: absolute;
    inset: 8px;
    border: 1px solid #F2D163;
    border-radius: 2px;
    pointer-events: none;
}

.landing-button:hover {
    filter: brightness(1.08);
    transform: translateY(-1px) scale(1.01);
}

.landing-button:active {
    filter: brightness(0.95);
    transform: translateY(1px) scale(0.995);
}

@keyframes button-gold-glow {
    0%,
    100% {
        transform: scale(1);
        box-shadow:
            0 2px 0 #4d0016,
            0 0 8px rgba(242, 209, 99, 0.35),
            0 0 18px rgba(242, 209, 99, 0.25);
    }
    50% {
        transform: scale(1.012);
        box-shadow:
            0 2px 0 #4d0016,
            0 0 16px rgba(242, 209, 99, 0.75),
            0 0 36px rgba(242, 209, 99, 0.55);
    }
}

.landing-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.landing-content__advantages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
}

@media (max-width: 719px) {
    .landing-content__advantages {
        max-width: 100%;
        padding-right: 56px;
    }
}

.landing-content__advantages-list {
    list-style: none;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.landing-content__advantages-item {
    position: relative;
}

.landing-content__advantages-item::before {
    content: "\2014";
    position: absolute;
    left: -20px;
    color: var(--accent-text);
}

.landing-content__lead,
.landing-content__text,
.landing-content__advantages-title,
.landing-content__advantages-item {
    line-height: 1.55;
}

.landing-slogan {
    text-align: center;
    line-height: 1.25;
}

.text-accent {
    color: var(--accent-text);
}

.landing-coin {
    position: absolute;
    z-index: 4;
    pointer-events: none;
    user-select: none;
    animation: coin-float 3.8s ease-in-out infinite;
}

.landing-coin img {
    display: block;
    width: 100%;
    height: auto;
}

.landing-coin--1 {
    width: 56px;
    left: 0;
    top: -52px;
}

.landing-coin--2 {
    width: 92px;
    right: -40px;
    top: -34px;
}

.landing-coin--3 {
    width: 88px;
    left: -10px;
    bottom: -6px;
}

@media (max-width: 719px) {
    .landing-coin--2 {
        width: 72px;
        right: -28px;
        top: -48px;
    }
}

@media (min-width: 720px) {
    .landing-coin--1 {
        width: 64px;
    }

    .landing-coin--2 {
        width: 106px;
        right: -44px;
        top: -38px;
    }

    .landing-coin--3 {
        width: 102px;
        left: -12px;
        bottom: -8px;
    }
}

@media (min-width: 1024px) {
    .landing-coin--1 {
        width: 77px;
    }

    .landing-coin--2 {
        width: 127px;
    }

    .landing-coin--3 {
        width: 122px;
    }
}

@media (min-width: 1440px) {
    .landing-coin--1 {
        width: 116px;
        left: calc(-18px - clamp(0px, calc((100vw - 1180px) / 2), 130px));
    }

    .landing-coin--2 {
        width: 190px;
        right: calc(-52px - clamp(0px, calc((100vw - 1180px) / 2), 130px));
    }

    .landing-coin--3 {
        width: 183px;
        left: calc(-22px - clamp(0px, calc((100vw - 1180px) / 2), 130px));
    }
}

@keyframes coin-float {
    0%,
    100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-4px);
    }
}

.landing-content__advantages .text-accent {
    background-image: linear-gradient(
        100deg,
        #c9a63d 0%,
        #f2d163 35%,
        #fff3bb 50%,
        #f2d163 65%,
        #c9a63d 100%
    );
    background-size: 220% 100%;
    background-position: -140% 0;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: advantages-shimmer 2.6s linear infinite;
}

@keyframes advantages-shimmer {
    0% {
        background-position: -140% 0;
    }
    100% {
        background-position: 140% 0;
    }
}
