:root {
    --bgr-color: #151923;
    --accent-color: #ff3c00;
    --primary-text-color: #fff;

    --font-family: "Helvetica", -apple-system, BlinkMacSystemFont, "Segoe UI",
        Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    --font-size: 15px;
    --line-height: 18px;

    --content-width: 1200px;

    --border-radius: 8px;

    --color-light: #ffffff0d;
}

html {
    margin: 0 !important;
    scrollbar-gutter: stable;
    scroll-padding-top: clamp(80px, 10.417vw, 200px);
}

@media (prefers-reduced-motion: no-preference) {
    html {
        scroll-behavior: smooth;
    }
}

body {
    position: relative;
    display: flex;
    color: var(--primary-text-color);
    font-family: var(--font-family);
    font-size: var(--font-size);
    line-height: var(--line-height);
}

body:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 50vh;
    width: 100%;
    background: radial-gradient(
        ellipse at top center,
        rgba(255, 255, 255, 0.15),
        transparent 70%
    );
    z-index: -1;
}
.overflow {
    overflow: hidden;
}
.site {
    display: flex;
    flex-flow: column;
    flex: 1;
}
main.content {
    flex: 1;
}
section,
article {
    width: 100%;
    padding: 0 20px;
}
section:nth-child(n + 3) {
    margin: 40px 0;
}
section > .container,
article > .container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
}
section > .container h1,
section > .container h2 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
}
.content ol,
.content ul {
    display: flex;
    gap: 16px;
    flex-flow: column;
}
.content ul {
    list-style-type: none;
}
.content li {
    position: relative;
}
.content li::before {
    position: absolute;
    top: calc(50% - 4px);
    left: -25px;
    content: "";
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 100%;
}

.btn {
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-weight: bold;
    padding: 8px 20px 8px 24px;
    border-radius: var(--border-radius);
}
.btn .btn__text {
    display: inline-flex;
    flex-flow: column;
}
.btn .btn__subtitle {
    font-size: 12px;
}
.btn--primary {
    padding: 14px 22px;
    background: #ffffff;
    color: var(--bgr-color);
}
.btn--secondary {
    box-shadow: 0 8px 50px var(--accent-color);
    background: var(--accent-color);
}

@keyframes shake {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    3% {
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }
    6% {
        -webkit-transform: rotate(10deg);
        transform: rotate(10deg);
    }
    9% {
        -webkit-transform: rotate(-10deg);
        transform: rotate(-10deg);
    }
    12% {
        -webkit-transform: rotate(10deg);
        transform: rotate(10deg);
    }
    15% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }
}

.picture {
    display: block;
    border-radius: var(--border-radius);
    overflow: hidden;
}
.picture img {
    display: block;
}
.picture__caption {
    margin-top: 5px;
    text-align: center;
    font-style: italic;
}

.table-wrapper {
    width: 100%;
    overflow: hidden;
}
.table-wrapper > .container {
    max-width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    overflow-y: hidden;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
table {
    border-collapse: collapse;
}
table th {
    background-color: var(--color-table);
    text-align: left;
}
table td,
table th {
    padding: clamp(8px, 1.111vw, 16px);
    border: 1px solid var(--color-light);
}


.bonus {
    position: sticky;
    bottom: 0;
    background-color: var(--footer-color);
    backdrop-filter: blur(64px);
}
.bonus .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}
.bonus .logo {
    width: clamp(90px, 8.333vw, 120px);
    height: auto;
}
.bonus__body {
    font-weight: 700;
}
.bonus__body i {
    display: block;
    font-size: clamp(20px, 2.083vw, 30px);
    line-height: clamp(26px, 2.5vw, 36px);
}
.bonus__close {
    position: absolute;
    inset-inline-end: 40px;
    top: calc(50% - 20px);
    z-index: 10;
    border: 1px solid #fff0;
    padding: 8px;
    background: var(--color-light);
    border-radius: 100%;
    transition: 0.3s;
}
.bonus-show {
    position: fixed;
    top: 100px;
    right: 40px;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    padding: 0;
    border-radius: 100%;
    background: linear-gradient(225deg, #6d28ff 0%, #fa00ff 100%);
    overflow: hidden;
    transition: 0.3s;
    z-index: 50;
}
.hide {
    display: none;
}

@media screen and (max-width: 1440px) {
    .bonus__close {
        top: calc(-50% + 22px);
    }
}

@media screen and (max-width: 576px) {
    .bonus .logo {
        display: none;
    }
}

.tabs__head-item > * {
    pointer-events: none;
}
.tabs__content {
    display: none;
}
.tabs__content.show {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: clamp(180px, 19.444vw, 280px);
}