: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);
}

section ol,
section ol li {
    display: block !important;
}

.cookie {
    position: fixed;
    bottom: 120px !important;
    left: 20px;
    width: auto;
    max-width: 320px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    margin: 0 !important;
    padding: 24px;
    text-align: center;
}

.cookie .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    gap: 16px;
}

.cookie .container p {
    margin: 0;
    font-size: 14px;
    color: white;
}

.cookie .f-aic {
    display: flex;
    flex-flow: row nowrap;
    gap: 12px;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.cookie .f-aic a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    text-decoration: underline;
    font-size: 14px;
}

.cookie .f-aic a svg {
    width: 20px;
    height: 20px;
    fill: #666;
}

.cookie .btn--primary {
    padding: 10px 24px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.f-aic > a {
    display: none !important;
}

.cookie .btn--primary:hover {
    background: #e6b830;
}

.bonus .btn--primary {
    padding: 10px 24px;
    background: var(--accent-color);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.bonus .btn--primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.4),
            transparent
    );
    animation: shine 2s ease-in-out infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }
    50%, 100% {
        left: 100%;
    }
}

.scroll-to-top {
    position: fixed;
    bottom: 120px;
    right: 40px;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    padding: 0;
    border-radius: 100%;
    background: var(--accent-color);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.scroll-to-top:not(.hide) {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top:hover {
    background: var(--primary-text-color);
    color: var(--bgr-color);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.scroll-to-top svg {
    width: 24px;
    height: 24px;
}

@media screen and (max-width: 768px) {
    .scroll-to-top {
        width: 40px;
        height: 40px;
        bottom: 150px;
        right: 20px;
    }

    .scroll-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Приховування бонусу на desktop */
@media screen and (min-width: 769px) {
    .bonus--hide-desktop {
        display: none !important;
    }
}

/* Приховування бонусу на mobile */
@media screen and (max-width: 768px) {
    .bonus--hide-mobile {
        display: none !important;
    }
}

.faq {
    width: 100%;
    padding: 40px 20px;
}

.faq > .container {
    width: 100%;
    max-width: var(--content-width);
    margin: 0 auto;
}

.faq h2 {
    font-size: 30px;
    line-height: 36px;
    font-weight: 700;
    color: var(--primary-text-color);
    margin: 0 0 30px 0;
}

.faq__items {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq__item {
    background: var(--color-light);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: background 0.3s ease;
}

.faq__item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.faq__item-title {
    width: 100%;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: transparent;
    border: none;
    color: var(--primary-text-color);
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq__item-title:hover {
    color: var(--accent-color);
}

.faq__item-title span {
    flex: 1;
}

.faq__icon {
    flex-shrink: 0;
    color: var(--accent-color);
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.faq__item.active .faq__icon {
    transform: rotate(180deg);
}

.faq__item-content {
    max-height: 0 !important;
    overflow: hidden !important;
    transition: max-height 0.4s ease !important;
}

.faq__item.active .faq__item-content {
    max-height: 2000px !important;
}

.faq__item-response {
    padding: 0 20px 20px 20px !important;
    color: var(--primary-text-color);
    font-size: var(--font-size);
    line-height: 24px;
    opacity: 0.9;
    margin: 0 !important;
}

.faq__item-response p {
    margin: 0 0 12px 0 !important;
}

.faq__item-response p:last-child {
    margin-bottom: 0 !important;
}

/* Mobile */
@media screen and (max-width: 768px) {
    .faq h2 {
        font-size: 24px;
        line-height: 30px;
        margin: 0 0 20px 0;
    }

    .faq__item-title {
        padding: 16px;
        font-size: 16px;
        line-height: 22px;
    }

    .faq__item-response {
        padding: 0 16px 16px 16px !important;
    }
}

.copiryte {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.dmca-badge {
    display: inline-flex;
    align-items: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.dmca-badge:hover {
    opacity: 1;
}

.dmca-badge img {
    display: block;
    height: 20px;
    width: auto;
}

@media screen and (max-width: 768px) {
    .copiryte {
        gap: 12px;
        justify-content: center;
    }

    .dmca-badge img {
        height: 18px;
    }
}