/*
Theme Name: Crypto
Theme URI: https://wordpress.org
Author: Orkhan Chichitov
Author URI: https://wordpress.org
Description: A simple and clean WordPress theme for cryptocurrency-related websites. It features a modern design, responsive layout, and customizable options to create a unique online presence for your crypto business or blog.
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

/* =====================================================================
   ROOT VARIABLES — Crystal & Berry palette (plum, berry, lilac, ice blue)
   ===================================================================== */
:root {
    --crypto-bg: #f4f7fc;
    --crypto-surface: #ffffff;
    --crypto-surface-alt: #e9f0fa;
    --crypto-text: #2a0b2c;
    --crypto-text-muted: #6a5672;
    --crypto-accent: #8a1a5c;
    --crypto-accent-hover: #6b1147;
    --crypto-accent-soft: #f1e4f0;
    --crypto-lilac: #b9a7d8;
    --crypto-ice: #a9c5e8;
    --crypto-crystal: #dbe7f7;
    --crypto-dark: #2b0a2c;
    --crypto-dark-soft: #4a0f3f;
    --crypto-border: #dcd5ea;
    --crypto-radius: 20px;
    --crypto-radius-small: 12px;
    --crypto-shadow: 0 10px 30px rgba(43, 10, 44, 0.08);
    --crypto-shadow-hover: 0 22px 46px rgba(138, 26, 92, 0.2);
    --crypto-section-y: 25px;
    --crypto-header-h: 72px;
}

/* =====================================================================
   BASE
   ===================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.65;
    color: var(--crypto-text);
    background: var(--crypto-bg);
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.22;
    color: var(--crypto-text);
}

p {
    margin: 0;
}

p a {
    color: var(--crypto-accent);
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.25s ease;
}

p a:hover {
    color: var(--crypto-accent-hover);
}

[id] {
    scroll-margin-top: calc(var(--crypto-header-h) + 20px);
}

main {
    display: block;
    padding-bottom: var(--crypto-section-y);
    overflow-x: clip;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.icon {
    display: block;
}

/* =====================================================================
   SCROLL REVEAL
   ===================================================================== */
/*.reveal {*/
/*    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);*/
/*}*/

.js .reveal:not(.reveal--visible) {
    opacity: 0;
    transform: translateY(28px);
}

/* =====================================================================
   BUTTONS
   ===================================================================== */
.button,
.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 30px;
    overflow: hidden;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    color: #ffffff;
    text-decoration: none;
    background: linear-gradient(135deg, var(--crypto-accent) 0%, #b12a7c 100%);
    border: 0;
    border-radius: 999px;
    box-shadow: 0 10px 24px rgba(138, 26, 92, 0.3);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, filter 0.3s ease;
}

.button::before,
.btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    transform: skewX(-20deg);
    transition: left 0.6s ease;
}

.button:hover,
.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 34px rgba(138, 26, 92, 0.42);
    filter: saturate(1.1);
}

.button:hover::before,
.btn:hover::before {
    left: 130%;
}

.button:active,
.btn:active {
    transform: translateY(0);
}

/* =====================================================================
   HEADER
   ===================================================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.92);
    border-bottom: 1px solid var(--crypto-border);
    backdrop-filter: blur(12px);
    transition: box-shadow 0.3s ease;
}

.site-header--scrolled {
    box-shadow: 0 8px 26px rgba(43, 10, 44, 0.1);
}

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    min-height: var(--crypto-header-h);
}

.site-header__logo img {
    width: auto;
    max-height: 44px;
    transition: transform 0.3s ease;
}

.site-header__logo img:hover {
    transform: scale(1.05);
}

.site-header__brand,
.site-footer__brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--crypto-text);
    text-decoration: none;
}

.site-header__mark,
.site-footer__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    color: #ffffff;
    background: linear-gradient(135deg, var(--crypto-accent), var(--crypto-lilac));
    border-radius: 12px;
    transition: transform 0.4s ease;
}

.site-header__brand:hover .site-header__mark,
.site-footer__brand:hover .site-footer__mark {
    transform: rotate(180deg);
}

/* Desktop navigation */
.site-nav__list,
.site-nav__list .sub-menu,
.mobile-nav__list,
.mobile-nav__list .sub-menu,
.site-footer__list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-nav__list {
    display: flex;
    align-items: center;
    gap: 6px;
}

.site-nav__list > li {
    position: relative;
}

.site-nav__list a {
    display: block;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: 600;
    color: var(--crypto-text);
    text-decoration: none;
    border-radius: 10px;
    transition: color 0.25s ease, background-color 0.25s ease;
}

.site-nav__list a:hover,
.site-nav__list > .current-menu-item > a {
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
}

.site-nav__list > .menu-item-has-children > a::after {
    content: "";
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-3px) rotate(45deg);
    transition: transform 0.25s ease;
}

.site-nav__list > .menu-item-has-children:hover > a::after,
.site-nav__list > .menu-item-has-children:focus-within > a::after {
    transform: translateY(1px) rotate(225deg);
}

.site-nav__list > li > .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    display: flex;
    gap: 24px;
    min-width: 240px;
    padding: 18px;
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-small);
    box-shadow: var(--crypto-shadow-hover);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
}

.site-nav__list > li:hover > .sub-menu,
.site-nav__list > li:focus-within > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.site-nav__list .sub-menu > li {
    min-width: 190px;
}

.site-nav__list .sub-menu > .menu-item-has-children > a {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--crypto-text-muted);
    pointer-events: none;
}

.site-nav__list .sub-menu .sub-menu a {
    padding: 8px 14px;
    font-weight: 500;
}

/* Burger */
.burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 11px;
    background: var(--crypto-accent-soft);
    border: 0;
    border-radius: 12px;
    cursor: pointer;
    transition: background-color 0.25s ease;
}

.burger:hover {
    background: var(--crypto-crystal);
}

.burger__line {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--crypto-accent);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger--active .burger__line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.burger--active .burger__line:nth-child(2) {
    opacity: 0;
}

.burger--active .burger__line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile navigation */
.mobile-nav {
    display: none;
    grid-template-rows: 0fr;
    visibility: hidden;
    background: var(--crypto-surface);
    transition: grid-template-rows 0.35s ease, visibility 0.35s;
}

.mobile-nav--open {
    grid-template-rows: 1fr;
    visibility: visible;
}

.mobile-nav__inner {
    min-height: 0;
    overflow: hidden;
}

.mobile-nav__list {
    max-height: calc(100vh - var(--crypto-header-h));
    padding: 12px 24px 24px;
    overflow-y: auto;
    border-top: 1px solid var(--crypto-border);
}

.mobile-nav__list a {
    display: block;
    padding: 13px 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--crypto-text);
    text-decoration: none;
    border-bottom: 1px solid var(--crypto-border);
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.mobile-nav__list a:hover {
    padding-left: 10px;
    color: var(--crypto-accent);
}

.mobile-nav__list .sub-menu {
    padding-left: 16px;
}

.mobile-nav__list .sub-menu > .menu-item-has-children > a {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--crypto-text-muted);
}

.mobile-nav__list .sub-menu .sub-menu a {
    font-weight: 500;
}

/* =====================================================================
   HERO
   ===================================================================== */
.hero {
    position: relative;
    padding: 56px 0 60px;
    overflow: hidden;
    color: #ffffff;
    background: linear-gradient(135deg, var(--crypto-dark) 0%, var(--crypto-dark-soft) 52%, #7a1556 100%);
}

.hero__glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    pointer-events: none;
    will-change: transform;
}

.hero__glow--berry {
    top: -140px;
    left: -100px;
    width: 420px;
    height: 420px;
    background: rgba(193, 46, 137, 0.55);
}

.hero__glow--ice {
    right: -80px;
    bottom: -180px;
    width: 480px;
    height: 480px;
    background: rgba(169, 197, 232, 0.5);
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 530px);
    align-items: center;
    gap: 44px;
}

.hero__title {
    margin-bottom: 20px;
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #ffffff;
}

.hero__text {
    font-size: 17px;
    color: #e6daee;
}

.hero__text + .hero__text {
    margin-top: 14px;
}

.hero__text a {
    color: var(--crypto-ice);
}

.hero__text a:hover {
    color: #ffffff;
}

.hero__widget {
    padding: 14px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(219, 231, 247, 0.8);
    border-radius: 24px;
    box-shadow: 0 30px 60px rgba(20, 3, 22, 0.45), 0 0 0 8px rgba(169, 197, 232, 0.14);
    /*transition: transform 0.4s ease, box-shadow 0.4s ease, opacity 0.7s ease;*/
}

.hero__widget:hover {
    /*transform: translateY(-4px);*/
    box-shadow: 0 36px 70px rgba(20, 3, 22, 0.5), 0 0 0 10px rgba(169, 197, 232, 0.22);
}

.exchange-widget {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 400px;
    border: 0;
    border-radius: 14px;
}

.hero__figure {
    border: 6px solid rgba(219, 231, 247, 0.22);
    box-shadow: 0 30px 60px rgba(20, 3, 22, 0.45);
}

/* =====================================================================
   SECTIONS
   ===================================================================== */
.section {
    margin: var(--crypto-section-y) 0;
}

.section__head {
    max-width: 820px;
    margin-bottom: 22px;
}

.section__title {
    margin-bottom: 14px;
    font-size: clamp(24px, 2.6vw, 32px);
    font-weight: 800;
    letter-spacing: -0.015em;
}

.section__text {
    color: var(--crypto-text-muted);
}

.section__text + .section__text,
.steps + .section__text,
.link-grid + .section__text {
    margin-top: 14px;
}

.icon-badge {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 16px;
    color: var(--crypto-accent);
    background: linear-gradient(135deg, var(--crypto-accent-soft), var(--crypto-crystal));
    border-radius: 16px;
    transition: transform 0.4s ease, color 0.3s ease, background 0.3s ease;
}

/* Cards */
.cards {
    display: grid;
    gap: 22px;
}

.cards--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.cards--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards--4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.note,
.media,
.panel {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius);
    box-shadow: var(--crypto-shadow);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease, opacity 0.7s ease;
}

.card {
    position: relative;
    padding: 26px;
    overflow: hidden;
}

.card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--crypto-accent), var(--crypto-lilac), var(--crypto-ice));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover,
.note:hover,
.media:hover,
.panel:hover {
    border-color: var(--crypto-lilac);
    box-shadow: var(--crypto-shadow-hover);
    transform: translateY(-6px);
}

.card:hover::after {
    transform: scaleX(1);
}

.card:hover .icon-badge,
.note:hover .icon-badge,
.media:hover .icon-badge {
    color: #ffffff;
    background: linear-gradient(135deg, var(--crypto-accent), var(--crypto-lilac));
    transform: rotate(-8deg) scale(1.08);
}

.card__title {
    margin-bottom: 10px;
    font-size: 19px;
    font-weight: 700;
}

.card__text {
    font-size: 15px;
    color: var(--crypto-text-muted);
}

.card__text + .card__text {
    margin-top: 10px;
}

/* Note: text block with an icon */
.note {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    padding: 28px;
}

.note .icon-badge {
    margin-bottom: 0;
}

.note__body {
    min-width: 0;
}

/* Media: text with an image */
.media {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
    gap: 36px;
    padding: 28px;
}

.media--reverse .media__body {
    order: 2;
}

.media__figure,
.hero__figure {
    position: relative;
    margin: 0;
    overflow: hidden;
    aspect-ratio: 3 / 2;
    border-radius: 18px;
}

.media__parallax {
    position: absolute;
    top: -10%;
    right: 0;
    left: 0;
    height: 120%;
    will-change: transform;
}

.media__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, filter 0.7s ease;
}

.media__figure:hover .media__img,
.hero__figure:hover .media__img {
    transform: scale(1.08);
    filter: saturate(1.15);
}

/* Panel with links */
.panel {
    padding: 28px;
}

/* Steps */
.steps {
    display: grid;
    gap: 12px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
    counter-reset: step;
}

.steps__item {
    position: relative;
    min-height: 48px;
    padding: 12px 16px 12px 62px;
    background: var(--crypto-bg);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-small);
    counter-increment: step;
    transition: transform 0.3s ease, border-color 0.3s ease, background-color 0.3s ease;
}

.steps__item::before {
    content: counter(step);
    position: absolute;
    top: 9px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-weight: 800;
    color: #ffffff;
    background: linear-gradient(135deg, var(--crypto-accent), var(--crypto-lilac));
    border-radius: 50%;
}

.steps__item:hover {
    background: var(--crypto-surface-alt);
    border-color: var(--crypto-ice);
    transform: translateX(6px);
}

/* Link grid */
.link-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 14px;
    margin: 18px 0 0;
    padding: 0;
    list-style: none;
}

.link-grid__item a {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    min-height: 58px;
    padding: 14px 52px 14px 18px;
    font-weight: 600;
    color: var(--crypto-text);
    text-decoration: none;
    background: var(--crypto-bg);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-small);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease, background-color 0.3s ease;
}

.link-grid__item a::after {
    content: "\2192";
    position: absolute;
    top: 50%;
    right: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
}

.link-grid__item a:hover {
    color: var(--crypto-accent);
    background: var(--crypto-surface);
    border-color: var(--crypto-accent);
    box-shadow: 0 12px 26px rgba(138, 26, 92, 0.16);
    transform: translateY(-4px);
}

.link-grid__item a:hover::after {
    color: #ffffff;
    background: var(--crypto-accent);
    transform: translate(4px, -50%);
}

/* Call to action */
.cta {
    position: relative;
    padding: 48px 40px;
    overflow: hidden;
    text-align: center;
    background: var(--crypto-dark);
    border-radius: var(--crypto-radius);
    box-shadow: var(--crypto-shadow-hover);
}

.cta__bg {
    position: absolute;
    top: -25%;
    right: 0;
    bottom: -25%;
    left: 0;
    background: url("img/cta-crystal-cube.jpg") center / cover no-repeat;
    will-change: transform;
}

.cta::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(43, 10, 44, 0.93) 0%, rgba(122, 21, 86, 0.8) 55%, rgba(74, 110, 170, 0.55) 100%);
}

.cta__content {
    position: relative;
    z-index: 1;
    max-width: 720px;
    margin: 0 auto;
}

.cta__title {
    color: #ffffff;
}

.cta .section__text {
    margin-bottom: 24px;
    color: #eadff0;
}

.cta .button {
    color: var(--crypto-accent);
    background: #ffffff;
    box-shadow: 0 12px 30px rgba(20, 3, 22, 0.35);
}

.cta .button:hover {
    color: var(--crypto-accent-hover);
    background: var(--crypto-crystal);
}

/* FAQ */
.faq {
    display: grid;
    gap: 14px;
}

.faq__item {
    background: var(--crypto-surface);
    border: 1px solid var(--crypto-border);
    border-radius: var(--crypto-radius-small);
    box-shadow: var(--crypto-shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, opacity 0.7s ease;
}

.faq__item:hover,
.faq__item[open] {
    border-color: var(--crypto-lilac);
    box-shadow: var(--crypto-shadow-hover);
}

.faq__item:hover {
    transform: translateY(-3px);
}

.faq__summary {
    position: relative;
    display: block;
    padding: 20px 64px 20px 24px;
    list-style: none;
    cursor: pointer;
}

.faq__summary::-webkit-details-marker {
    display: none;
}

.faq__summary::after {
    content: "+";
    position: absolute;
    top: 50%;
    right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 22px;
    line-height: 1;
    color: var(--crypto-accent);
    background: var(--crypto-accent-soft);
    border-radius: 50%;
    transform: translateY(-50%);
    transition: transform 0.35s ease, background-color 0.3s ease, color 0.3s ease;
}

.faq__item[open] .faq__summary::after {
    color: #ffffff;
    background: var(--crypto-accent);
    transform: translateY(-50%) rotate(45deg);
}

.faq__question {
    font-size: 18px;
    font-weight: 700;
}

.faq__answer {
    padding: 0 24px 22px;
    color: var(--crypto-text-muted);
    animation: faq-open 0.35s ease;
}

@keyframes faq-open {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =====================================================================
   FOOTER
   ===================================================================== */
.site-footer {
    padding: 48px 0 24px;
    color: #d9cbe2;
    background: linear-gradient(160deg, var(--crypto-dark) 0%, var(--crypto-dark-soft) 100%);
}

.site-footer__top {
    display: grid;
    grid-template-columns: 1.4fr repeat(5, minmax(0, 1fr));
    gap: 28px;
}

.site-footer__brand {
    margin-bottom: 14px;
    color: #ffffff;
}

.site-footer__text {
    font-size: 14px;
}

.site-footer__title {
    margin-bottom: 14px;
    font-size: 15px;
    font-weight: 700;
    color: #ffffff;
}

.site-footer__list li {
    margin-bottom: 9px;
    font-size: 14px;
}

.site-footer__list a {
    color: #d9cbe2;
    text-decoration: none;
    overflow-wrap: anywhere;
    transition: color 0.25s ease, padding-left 0.25s ease;
}

.site-footer__list a:hover {
    padding-left: 4px;
    color: var(--crypto-ice);
}

.site-footer__bottom {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid rgba(185, 167, 216, 0.25);
}

.site-footer__copy {
    font-size: 14px;
    color: var(--crypto-lilac);
}

/* =====================================================================
   404
   ===================================================================== */
.error404__wrapper {
    padding: 70px 0 50px;
}

.error404__inner {
    text-align: center;
}

.error404__code {
    font-size: clamp(96px, 20vw, 190px);
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--crypto-accent), var(--crypto-lilac), var(--crypto-ice));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: error404-float 5s ease-in-out infinite;
}

.error404__title {
    margin: 12px 0;
    font-size: clamp(26px, 4vw, 38px);
}

.error404__text {
    margin-bottom: 26px;
    color: var(--crypto-text-muted);
}

@keyframes error404-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-12px);
    }
}

/* =====================================================================
   RESPONSIVE
   ===================================================================== */
@media (max-width: 1100px) {
    .cards--4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .site-footer__top {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .site-footer__about {
        grid-column: 1 / -1;
    }
}

@media (max-width: 960px) {
    .hero__inner {
        grid-template-columns: minmax(0, 1fr);
    }

    .hero__widget {
        width: 100%;
        max-width: 530px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .site-nav {
        display: none;
    }

    .burger {
        display: flex;
    }

    .mobile-nav {
        display: grid;
    }

    .hero {
        padding: 40px 0 44px;
    }

    .cards--2,
    .cards--3,
    .cards--4,
    .media {
        grid-template-columns: minmax(0, 1fr);
    }

    .media {
        gap: 24px;
    }

    .media--reverse .media__body {
        order: 0;
    }

    .note {
        flex-direction: column;
        gap: 16px;
    }

    .cta {
        padding: 40px 24px;
    }

    .site-footer__top {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 18px;
    }

    .hero__text {
        font-size: 16px;
    }

    .hero__widget {
        padding: 8px;
        border-radius: 18px;
    }

    .exchange-widget {
        height: 440px;
    }

    .card,
    .note,
    .media,
    .panel {
        padding: 22px 18px;
    }

    .link-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .faq__summary {
        padding: 18px 58px 18px 18px;
    }

    .faq__answer {
        padding: 0 18px 20px;
    }

    .button,
    .btn {
        width: 100%;
    }

    .site-footer__top {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }

    .js .reveal:not(.reveal--visible) {
        opacity: 1;
        transform: none;
    }
}
