/*
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
*/
/* Base layout */

* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #d9e9ff;
    background: linear-gradient(180deg, #04122b 0%, #061a3a 50%, #071f45 100%);
    line-height: 1.6;
}

a {
    color: #8dc5ff;
    text-decoration: none;
}

a:hover {
    color: #c8e4ff;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(3, 15, 35, 0.92);
    border-bottom: 1px solid rgba(120, 180, 255, 0.25);
    backdrop-filter: blur(8px);
}

.site-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
}

.site-header__logo {
    font-size: 24px;
    font-weight: 700;
    color: #e4f3ff;
}

.site-header__menu-list {
    display: flex;
    gap: 24px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__menu-list .menu-item a {
    font-size: 15px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-header__menu-list .current-menu-item a {
    color: #d8eeff;
}

.site-header__burger {
    display: none;
    width: 44px;
    height: 44px;
    padding: 8px;
    border: 1px solid rgba(120, 180, 255, 0.4);
    border-radius: 10px;
    background: rgba(8, 29, 64, 0.9);
    cursor: pointer;
}

.site-header__burger-line {
    display: block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    background: #d6ebff;
}

.crypto-page__mobile-menu-overlay {
    position: fixed;
    inset: 0;
    z-index: 98;
    background: rgba(2, 12, 28, 0.65);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.crypto-page__mobile-menu-overlay--open {
    opacity: 1;
}

.crypto-page__mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 99;
    width: min(340px, 88vw);
    height: 100dvh;
    padding: 20px 18px;
    background: #061a3a;
    border-left: 1px solid rgba(120, 180, 255, 0.3);
    transform: translateX(100%);
    transition: transform 0.2s ease;
}

.crypto-page__mobile-menu--open {
    transform: translateX(0);
}

.crypto-page__mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.crypto-page__mobile-menu-title {
    font-size: 20px;
    font-weight: 700;
    color: #eef7ff;
}

.crypto-page__mobile-menu-close {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(120, 180, 255, 0.45);
    border-radius: 8px;
    background: rgba(10, 38, 82, 0.9);
    color: #d6ebff;
    cursor: pointer;
}

.crypto-page__mobile-menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.crypto-page__mobile-menu-list .menu-item {
    margin-bottom: 10px;
}

.crypto-page__mobile-menu-link {
    display: block;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid rgba(120, 180, 255, 0.25);
    background: rgba(14, 50, 101, 0.5);
    color: #dceeff;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
}

/* Main blocks */
.main-content {
    display: block;
}

.hero {
    padding: 96px 0 72px;
}

.hero__title {
    margin: 0 0 20px;
    color: #f2f8ff;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    max-width: 980px;
}

.hero__subtitle {
    margin: 0 0 34px;
    max-width: 920px;
    color: #c5dcff;
    font-size: 18px;
}

.hero__highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}

.hero-highlights__item {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 0 14px;
    border-radius: 999px;
    background: rgba(20, 73, 149, 0.5);
    border: 1px solid rgba(138, 195, 255, 0.35);
    color: #d9eeff;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.hero__widget {
    max-width: 780px;
}

.hero__media {
    margin: 0 0 22px;
}

.hero-media__image {
    display: block;
    width: 100%;
    max-width: 920px;
    border-radius: 16px;
    border: 1px solid rgba(139, 190, 255, 0.35);
    box-shadow: 0 16px 42px rgba(3, 12, 26, 0.35);
}

.widget-card {
    padding: 28px;
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(25, 84, 170, 0.36), rgba(10, 38, 82, 0.75));
    border: 1px solid rgba(139, 190, 255, 0.35);
    box-shadow: 0 16px 50px rgba(5, 14, 29, 0.35);
}

.widget-card__title {
    margin: 0 0 10px;
    font-size: 24px;
    color: #f1f8ff;
}

.widget-card__text {
    margin: 0;
    color: #cbe2ff;
}

.content-block {
    padding: 58px 0;
}

.content-block__title {
    margin: 0 0 18px;
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    color: #eef7ff;
}

.content-block__text {
    margin: 0 0 16px;
    color: #cae1ff;
    max-width: 980px;
}

.content-block__visual {
    margin: 0 0 16px;
}

.about-visual__icon {
    width: 78px;
    height: 78px;
    display: block;
}

.about-visual__image {
    display: block;
    width: 100%;
    max-width: 560px;
    margin-top: 14px;
    border-radius: 14px;
    border: 1px solid rgba(130, 190, 255, 0.25);
}

.content-block__figure {
    margin: 0 0 18px;
}

.content-block__figure-image {
    display: block;
    width: 100%;
    max-width: 560px;
    border-radius: 14px;
    border: 1px solid rgba(130, 190, 255, 0.25);
    box-shadow: 0 12px 34px rgba(5, 13, 28, 0.28);
}

.content-block__layout {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) minmax(320px, 1.2fr);
    grid-template-areas: "media text";
    align-items: center;
    gap: 26px;
}

.content-block__layout--reverse {
    grid-template-areas: "text media";
}

.content-block__layout-media {
    grid-area: media;
}

.content-block__layout-text {
    grid-area: text;
}

.content-block__layout .content-block__text:last-child,
.content-block__layout .content-block__list:last-child {
    margin-bottom: 0;
}

.content-block__list {
    margin: 0 0 20px;
    padding-left: 22px;
    color: #cae1ff;
}

.ordered-list__item,
.unordered-list__item {
    margin-bottom: 10px;
}

/* Feature cards */
.features-grid,
.articles-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin-top: 24px;
}

.feature-card,
.article-card {
    padding: 22px;
    border-radius: 14px;
    border: 1px solid rgba(130, 190, 255, 0.24);
    background: rgba(15, 51, 102, 0.45);
}

.feature-card__title,
.article-card__title {
    margin: 0 0 10px;
    color: #eaf6ff;
    font-size: 22px;
}

.feature-card__icon {
    display: inline-flex;
    width: 36px;
    height: 36px;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    border-radius: 10px;
    background: rgba(112, 176, 255, 0.15);
    border: 1px solid rgba(130, 190, 255, 0.24);
    font-size: 18px;
}

.feature-card__text,
.article-card__text {
    margin: 0;
    color: #c7ddff;
}

.article-card__title-link {
    color: #eaf6ff;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.article-card__title-link:hover {
    color: #9fd0ff;
}

/* CTA */
.cta-block {
    padding: 70px 0;
}

.cta-block__container {
    padding: 34px;
    border-radius: 16px;
    background: linear-gradient(160deg, rgba(24, 89, 185, 0.45), rgba(4, 34, 78, 0.9));
    border: 1px solid rgba(143, 194, 255, 0.35);
}

.cta-block__title {
    margin: 0 0 14px;
    font-size: clamp(30px, 4vw, 42px);
    color: #f3f9ff;
}

.cta-block__text {
    margin: 0 0 24px;
    max-width: 900px;
}

.cta-block__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    color: #03152f;
    background: #91c9ff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-block__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(133, 188, 255, 0.3);
    color: #021126;
}

/* FAQ */
.faq-block {
    padding: 30px 0 80px;
}

.faq-block__title {
    margin: 0 0 24px;
    font-size: clamp(30px, 4vw, 42px);
}

.faq-block__items {
    display: grid;
    gap: 14px;
}

.faq-item {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid rgba(120, 180, 255, 0.24);
    background: rgba(8, 35, 74, 0.7);
}

.faq-item__question {
    margin: 0 0 10px;
    color: #eff8ff;
    font-size: 22px;
}

.faq-item__answer {
    margin: 0;
    color: #c8dfff;
}

/* Contact page */
.contact-block__card {
    padding: 28px;
    border-radius: 16px;
    border: 1px solid rgba(130, 190, 255, 0.24);
    background: rgba(12, 43, 89, 0.55);
    box-shadow: 0 14px 36px rgba(4, 12, 26, 0.35);
}

.contact-block__title {
    margin-bottom: 10px;
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
    margin-top: 20px;
}

.contact-form__field {
    display: block;
}

.contact-form__field--full {
    grid-column: 1 / -1;
}

.contact-form__label {
    display: block;
    margin-bottom: 8px;
    color: #d8ecff;
    font-size: 14px;
    font-weight: 600;
}

.contact-form__input {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border: 1px solid rgba(130, 190, 255, 0.34);
    border-radius: 10px;
    background: rgba(5, 27, 62, 0.75);
    color: #eef8ff;
    font-size: 15px;
}

.contact-form__input--textarea {
    min-height: 140px;
    padding-top: 10px;
    resize: vertical;
}

.contact-form__input:focus {
    outline: none;
    border-color: rgba(160, 215, 255, 0.85);
    box-shadow: 0 0 0 3px rgba(126, 190, 255, 0.18);
}

/* Exchange fees article */
.wallet-article__hero {
    padding-top: 78px;
}

.wallet-article__figure {
    margin: 0;
}

.wallet-article__image {
    display: block;
    width: 100%;
    border-radius: 16px;
    border: 1px solid rgba(130, 190, 255, 0.26);
    box-shadow: 0 18px 36px rgba(4, 12, 27, 0.35);
    object-fit: cover;
}

.wallet-article__subtitle {
    margin: 22px 0 10px;
    color: #e8f5ff;
    font-size: clamp(22px, 2.7vw, 30px);
    line-height: 1.25;
}

.wallet-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: 14px;
    border: 1px solid rgba(130, 190, 255, 0.24);
    background: rgba(9, 36, 79, 0.58);
}

.wallet-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
}

.wallet-table th,
.wallet-table td {
    padding: 12px 14px;
    vertical-align: top;
    border-bottom: 1px solid rgba(130, 190, 255, 0.18);
    color: #cde5ff;
    font-size: 14px;
}

.wallet-table thead th {
    color: #f0f8ff;
    background: rgba(16, 56, 112, 0.78);
    text-align: left;
}

.wallet-table tbody tr:hover td {
    background: rgba(26, 74, 143, 0.35);
}

.wallet-links a {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.swap-visual-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin-top: 18px;
}

.swap-visual-grid__item {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid rgba(130, 190, 255, 0.24);
    background: rgba(11, 40, 85, 0.5);
}

.swap-visual-grid__item svg {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.swap-visual-grid__caption {
    margin: 10px 0 0;
    color: #d8ecff;
    font-weight: 600;
    text-align: center;
}

/* Footer */
.site-footer {
    border-top: 1px solid rgba(120, 180, 255, 0.25);
    background: rgba(2, 15, 35, 0.9);
    padding: 38px 0 28px;
}

.site-footer__top {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
}

.site-footer__menu-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-footer__menu-list .menu-item a {
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-weight: 600;
    font-size: 14px;
}

.site-footer__menu-list .current-menu-item a {
    color: #d8eeff;
}

.site-footer__copyright {
    margin: 0;
    color: #97b9e6;
    font-size: 13px;
}
.swap-visual-grid__item {
    display: flex;
    gap: 5px;
    align-items: center;
}
.swap-visual-grid__item svg {
    width: 44px;
}
/* Responsive */
@media (max-width: 900px) {
    .site-header__container {
        min-height: 68px;
    }

    .site-header__menu {
        display: none;
    }

    .site-header__burger {
        display: block;
    }

    .features-grid,
    .articles-grid {
        grid-template-columns: 1fr;
    }

    .content-block__layout,
    .content-block__layout--reverse {
        grid-template-columns: 1fr;
        grid-template-areas:
            "media"
            "text";
    }

    .contact-form {
        grid-template-columns: 1fr;
    }

    .wallet-table {
        min-width: 760px;
    }

    .swap-visual-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(1180px, calc(100% - 26px));
    }

    .hero {
        padding-top: 70px;
    }

    .widget-card,
    .cta-block__container,
    .faq-item {
        padding: 18px;
    }

    .hero__media {
        margin-bottom: 16px;
    }
}
