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

/* ═══════════════════════════════════════════════════════════════════
   CSS Variables
   ═══════════════════════════════════════════════════════════════════ */
:root {
    --c-bg:           #ffffff;
    --c-bg-alt:       #f5f7fa;
    --c-text:         #000000;
    --c-text-light:   #444444;
    --c-white:        #ffffff;
    --c-dark:         #091221;
    --c-blue:         #0236a5;
    --c-pink:         #fe0369;
    --c-cyan:         #0585e6;
    --c-cyan-light:   #00c3ff;

    --grad-header:  linear-gradient(to right, #091221 0%, #0236a5 30%, #fe0369 65%, #0585e6 100%);
    --grad-cyan:    linear-gradient(to right, #0585e6 0%, #00c3ff 50%, #a0eaff 100%);
    --grad-pink:    linear-gradient(to right, #0236a5 0%, #fe0369 50%, #ff6fa8 100%);

    --radius:        16px;
    --radius-sm:     8px;
    --shadow:        0 4px 24px rgba(5, 133, 230, 0.12);
    --shadow-hover:  0 12px 48px rgba(5, 133, 230, 0.28);
    --shadow-pink:   0 12px 48px rgba(254, 3, 105, 0.22);
    --section-y:     80px;
    --header-h:      64px;
    --transition:    0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ═══════════════════════════════════════════════════════════════════
   Reset & Base
   ═══════════════════════════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Inter', Roboto, sans-serif;
    background: var(--c-bg);
    color: var(--c-text);
    line-height: 1.7;
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
ul, ol { list-style: none; }

/* ═══════════════════════════════════════════════════════════════════
   Gradient Animation Keyframes
   ═══════════════════════════════════════════════════════════════════ */
@keyframes grad-flow {
    0%   { background-position: 0%   50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0%   50%; }
}

@keyframes shimmer {
    0%   { background-position: -200% center; }
    100% { background-position:  200% center; }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(5, 133, 230, 0.4); }
    50%       { box-shadow: 0 0 40px rgba(254, 3, 105, 0.5), 0 0 80px rgba(5, 133, 230, 0.3); }
}

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

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

@keyframes reveal-up {
    from { opacity: 0; transform: translateY(40px); }
    to   { opacity: 1; transform: translateY(0); }
}

@keyframes reveal-right {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}

@keyframes particle-drift {
    0%   { transform: translate(0,0) scale(1); opacity: 0.7; }
    50%  { opacity: 0.3; }
    100% { transform: translate(var(--dx), var(--dy)) scale(0.5); opacity: 0; }
}

/* ═══════════════════════════════════════════════════════════════════
   Scroll-reveal Classes
   ═══════════════════════════════════════════════════════════════════ */
.fp-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s var(--transition), transform 0.7s var(--transition);
}
.fp-reveal--right {
    transform: translateX(40px);
}
.fp-reveal.is-visible {
    opacity: 1;
    transform: translate(0, 0);
}

/* ═══════════════════════════════════════════════════════════════════
   Buttons
   ═══════════════════════════════════════════════════════════════════ */
.fp-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}
.fp-btn:hover  { transform: translateY(-3px); }
.fp-btn:active { transform: translateY(0); }

.fp-btn--primary {
    background: var(--grad-cyan);
    background-size: 200% 200%;
    animation: grad-flow 5s ease infinite;
    color: var(--c-white);
    box-shadow: 0 4px 20px rgba(5, 133, 230, 0.35);
}
.fp-btn--primary:hover { box-shadow: 0 8px 32px rgba(5, 133, 230, 0.55); }

.fp-btn--outline {
    border: 2px solid rgba(255,255,255,0.7);
    color: var(--c-white);
    backdrop-filter: blur(6px);
}
.fp-btn--outline:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--c-white);
}

.fp-btn--cta {
    background: var(--grad-header);
    background-size: 300% 300%;
    animation: grad-flow 6s ease infinite;
    color: var(--c-white);
    font-size: 17px;
    padding: 18px 48px;
    box-shadow: 0 4px 30px rgba(2, 54, 165, 0.4);
    animation: grad-flow 6s ease infinite, pulse-glow 3s ease infinite;
}
.fp-btn--cta:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 40px rgba(254, 3, 105, 0.45);
}

/* ═══════════════════════════════════════════════════════════════════
   Site Header
   ═══════════════════════════════════════════════════════════════════ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--header-h);
    background: linear-gradient(to right, #091221 0%, #0236a5 30%, #fe0369 65%, #0585e6 100%);
    background-size: 300% 300%;
    animation: grad-flow 12s ease infinite;
    color: var(--c-white);
    box-shadow: 0 2px 20px rgba(2, 54, 165, 0.4);
}

.site-header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    gap: 24px;
}

.site-header__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 18px;
    color: var(--c-white);
    text-decoration: none;
    flex-shrink: 0;
}
.site-header__logo img { height: 36px; width: auto; }
.site-header__logo-icon {
    font-size: 24px;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.5));
}
.site-header__logo-text { letter-spacing: 0.02em; }

/* Nav */
.site-header__nav { flex: 1; }
.site-header__menu {
    display: flex;
    align-items: center;
    gap: 4px;
    justify-content: center;
    flex-wrap: wrap;
}
.site-header__menu li a {
    display: block;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    transition: background var(--transition), color var(--transition);
    white-space: nowrap;
}
.site-header__menu li a:hover,
.site-header__menu li.current-menu-item a {
    background: rgba(255,255,255,0.15);
    color: var(--c-white);
}

/* Burger */
.site-header__burger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: background var(--transition);
    flex-shrink: 0;
}
.site-header__burger:hover { background: rgba(255,255,255,0.15); }
.site-header__burger-line {
    display: block;
    height: 2px;
    background: var(--c-white);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
    transform-origin: center;
}
.site-header__burger.is-open .site-header__burger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.site-header__burger.is-open .site-header__burger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.site-header__burger.is-open .site-header__burger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ═══════════════════════════════════════════════════════════════════
   Site Footer
   ═══════════════════════════════════════════════════════════════════ */
.site-footer {
    background: linear-gradient(to right, #091221 0%, #0236a5 30%, #fe0369 65%, #0585e6 100%);
    background-size: 300% 300%;
    animation: grad-flow 14s ease infinite;
    color: var(--c-white);
    padding: 60px 0 0;
}

.site-footer__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.site-footer__grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1.4fr 1.4fr;
    gap: 40px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

.site-footer__col-title {
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 18px;
}

.site-footer__menu { display: flex; flex-direction: column; gap: 8px; }
.site-footer__menu li a {
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    transition: color var(--transition), padding-left var(--transition);
}
.site-footer__menu li a:hover {
    color: var(--c-white);
    padding-left: 6px;
}

.site-footer__text {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 12px;
}
.site-footer__text--small { font-size: 12px; color: rgba(255,255,255,0.5); }
.site-footer__contact-email a {
    color: var(--c-cyan-light);
    font-size: 14px;
    font-weight: 600;
    transition: color var(--transition);
}
.site-footer__contact-email a:hover { color: var(--c-white); }

.site-footer__bottom {
    padding: 20px 0;
    text-align: center;
}
.site-footer__copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

/* ═══════════════════════════════════════════════════════════════════
   Section Shared
   ═══════════════════════════════════════════════════════════════════ */
.fp-section {
    padding: var(--section-y) 0;
    background: var(--c-bg);
}
.fp-section--alt { background: var(--c-bg-alt); }

.fp-section__container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.fp-section__header {
    text-align: center;
    margin-bottom: 48px;
}
.fp-section__title {
    font-size: clamp(22px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.25;
    background: var(--grad-header);
    background-size: 300% 300%;
    animation: grad-flow 10s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ═══════════════════════════════════════════════════════════════════
   Block 1 · Hero
   ═══════════════════════════════════════════════════════════════════ */
.fp-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.fp-hero__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
    will-change: transform;
}
.fp-hero:hover .fp-hero__bg { transform: scale(1.04); }

.fp-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(9,18,33,0.82) 0%, rgba(2,54,165,0.55) 50%, rgba(5,133,230,0.4) 100%);
    background-size: 300% 300%;
    animation: grad-flow 15s ease infinite;
}

.fp-hero__particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.fp-hero__container {
    position: relative;
    z-index: 2;
    max-width: 1280px;
    margin: 0 auto;
    padding: 120px 24px 80px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    width: 100%;
}

.fp-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
    margin-bottom: 24px;
    width: fit-content;
}
.fp-hero__badge-icon {
    font-size: 18px;
    animation: float 3s ease infinite;
}

.fp-hero__title {
    font-size: clamp(28px, 4vw, 52px);
    font-weight: 900;
    line-height: 1.15;
    color: var(--c-white);
    margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.fp-hero__text {
    color: rgba(255,255,255,0.85);
    font-size: 15px;
    line-height: 1.75;
    margin-bottom: 36px;
}
.fp-hero__text p + p { margin-top: 14px; }
.fp-hero__link {
    color: var(--c-cyan-light);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.fp-hero__link:hover { color: var(--c-white); }

.fp-hero__cta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.fp-hero__img-wrap {
    position: relative;
    display: flex;
    border-radius: var(--radius);
    overflow: hidden;
    animation: float 6s ease infinite;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.fp-hero__img-wrap iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}
.fp-hero__img {
    width: 100%;
    height: 520px;
    object-fit: cover;
    border-radius: var(--radius);
    transition: transform 0.5s ease;
}
.fp-hero__img-wrap:hover .fp-hero__img { transform: scale(1.05); }

.fp-hero__ticker-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--grad-header);
    background-size: 300% 300%;
    animation: grad-flow 8s ease infinite;
    color: var(--c-white);
    padding: 10px 18px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.fp-hero__ticker-symbol { font-size: 20px; }

/* ═══════════════════════════════════════════════════════════════════
   Block 2 · Rate Card
   ═══════════════════════════════════════════════════════════════════ */
.fp-rate__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}
.fp-rate__text { font-size: 15px; line-height: 1.8; }
.fp-rate__text p + p { margin-top: 16px; }

/* BTC Rate Card Widget */
.btc-rate-card {
    background: var(--c-white);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(5, 133, 230, 0.12);
    transition: box-shadow var(--transition), transform var(--transition);
}
.btc-rate-card:hover {
    box-shadow: var(--shadow-hover);
    transform: translateY(-4px);
}
.btc-rate-card--error { padding: 24px; color: #c00; text-align: center; }

.btc-rate-card__main {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 28px 28px 20px;
    background: var(--grad-cyan);
    background-size: 200% 200%;
    animation: grad-flow 7s ease infinite;
    color: var(--c-white);
}
.btc-rate-card__icon {
    font-size: 40px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    flex-shrink: 0;
    animation: float 4s ease infinite;
}
.btc-rate-card__label    { font-size: 13px; opacity: 0.85; margin-bottom: 4px; }
.btc-rate-card__price    { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; }
.btc-rate-card__reverse  { font-size: 13px; opacity: 0.8; margin-top: 4px; }
.btc-rate-card__change-badge {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.btc-rate-card__chg { font-size: 18px; font-weight: 700; }
.btc-rate-card__chg--up   { color: #a0ffd0; }
.btc-rate-card__chg--down { color: #ffa0b4; }
.btc-rate-card__chg-label { font-size: 11px; opacity: 0.7; }

.btc-rate-card__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(5,133,230,0.08);
}
.btc-rate-card__stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: var(--c-white);
    transition: background var(--transition);
}
.btc-rate-card__stat:hover { background: #f0f7ff; }
.btc-rate-card__stat-label { font-size: 11px; color: #888; text-transform: uppercase; letter-spacing: 0.05em; }
.btc-rate-card__stat-val   { font-size: 15px; font-weight: 700; color: var(--c-text); }

.btc-rate-card__footer {
    padding: 12px 28px;
    background: var(--c-bg-alt);
    border-top: 1px solid rgba(5,133,230,0.08);
}
.btc-rate-card__updated { font-size: 12px; color: #999; }

/* ═══════════════════════════════════════════════════════════════════
   Block 3 · How to Convert
   ═══════════════════════════════════════════════════════════════════ */
.fp-how-to__layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
}
.fp-how-to__img-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.fp-how-to__img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.fp-how-to__img-wrap:hover .fp-how-to__img { transform: scale(1.04); }
.fp-how-to__intro { margin-bottom: 28px; font-size: 15px; line-height: 1.8; }

.fp-steps { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }
.fp-steps__item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 16px 20px;
    background: var(--c-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    border-left: 4px solid transparent;
    background-clip: padding-box;
    transition: transform var(--transition), box-shadow var(--transition);
    position: relative;
}
.fp-steps__item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 0; bottom: 0;
    width: 4px;
    background: var(--grad-cyan);
    background-size: 100% 300%;
    animation: grad-flow 5s ease infinite;
    border-radius: 4px 0 0 4px;
}
.fp-steps__item:hover { transform: translateX(6px); box-shadow: var(--shadow-hover); }
.fp-steps__num {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--grad-cyan);
    background-size: 200% 200%;
    animation: grad-flow 6s ease infinite;
    color: var(--c-white);
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}
.fp-steps__text { font-size: 14px; line-height: 1.6; padding-top: 6px; }

/* ═══════════════════════════════════════════════════════════════════
   Block 4 · Conversion Table
   ═══════════════════════════════════════════════════════════════════ */
.fp-conv-table-section__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 40px;
}
.fp-conv-table-section__text { font-size: 15px; line-height: 1.8; }
.fp-conv-table-section__text p + p { margin-top: 14px; }
.fp-conv-table-section__img-wrap {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.fp-conv-table-section__img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.fp-conv-table-section__img-wrap:hover .fp-conv-table-section__img { transform: scale(1.04); }

/* BTC Conversion Table Widget */
.btc-conv-table { font-size: 14px; }
.btc-conv-table__meta {
    text-align: right;
    font-size: 13px;
    color: #777;
    margin-bottom: 16px;
}
.btc-conv-table__search-wrap { margin-bottom: 20px; }
.btc-conv-table__search {
    width: 100%;
    max-width: 400px;
    padding: 10px 16px;
    border: 1.5px solid rgba(5,133,230,0.25);
    border-radius: 50px;
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.btc-conv-table__search:focus {
    border-color: var(--c-cyan);
    box-shadow: 0 0 0 3px rgba(5,133,230,0.12);
}

.btc-conv-table__group { margin-bottom: 16px; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.btc-conv-table__group-toggle {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: var(--grad-cyan);
    background-size: 200% 200%;
    animation: grad-flow 8s ease infinite;
    color: var(--c-white);
    font-size: 14px;
    font-weight: 700;
    transition: filter var(--transition);
}
.btc-conv-table__group-toggle:hover { filter: brightness(1.1); }
.btc-conv-table__group-arrow { transition: transform var(--transition); }
.btc-conv-table__group.is-collapsed .btc-conv-table__group-arrow { transform: rotate(-90deg); }
.btc-conv-table__group-body { overflow: hidden; transition: max-height 0.4s ease; }
.btc-conv-table__group.is-collapsed .btc-conv-table__group-body { display: none; }

.btc-conv-table__table { width: 100%; border-collapse: collapse; background: var(--c-white); }
.btc-conv-table__table thead { background: var(--c-bg-alt); }
.btc-conv-table__table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #888;
    font-weight: 700;
}
.btc-conv-table__table td { padding: 10px 16px; font-size: 14px; border-bottom: 1px solid rgba(5,133,230,0.06); }
.btc-conv-table__row:hover td { background: #f0f7ff; }
.btc-conv-table__btc  { font-weight: 600; color: var(--c-blue); }
.btc-conv-table__eur  { font-weight: 700; color: #0a0; }
.btc-conv-table__rate { color: #888; font-size: 13px; }
.btc-conv-table__row.is-hidden { display: none; }

/* ═══════════════════════════════════════════════════════════════════
   Block 5 · Popular Amounts
   ═══════════════════════════════════════════════════════════════════ */
.fp-popular__text {
    max-width: 800px;
    margin: 0 auto 48px;
    text-align: center;
    font-size: 15px;
    line-height: 1.8;
    color: var(--c-text-light);
}
.fp-popular__text p + p { margin-top: 12px; }

.fp-popular__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fp-popular__card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: default;
}
.fp-popular__card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-hover);
}
.fp-popular__card--cyan { box-shadow: 0 4px 24px rgba(5, 133, 230, 0.18); }
.fp-popular__card--pink { box-shadow: 0 4px 24px rgba(254, 3, 105, 0.15); }

.fp-popular__card-img-wrap { height: 200px; overflow: hidden; }
.fp-popular__card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.fp-popular__card:hover .fp-popular__card-img { transform: scale(1.08); }

.fp-popular__card-body {
    padding: 20px;
    color: var(--c-white);
    position: relative;
}
.fp-popular__card--cyan .fp-popular__card-body {
    background: var(--grad-cyan);
    background-size: 200% 200%;
    animation: grad-flow 7s ease infinite;
}
.fp-popular__card--pink .fp-popular__card-body {
    background: var(--grad-pink);
    background-size: 200% 200%;
    animation: grad-flow 9s ease infinite;
}

.fp-popular__card-symbol {
    font-size: 28px;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 8px rgba(255,255,255,0.4));
}
.fp-popular__card-btc  { font-size: 22px; font-weight: 800; margin-bottom: 4px; }
.fp-popular__card-sats { font-size: 12px; opacity: 0.75; margin-bottom: 12px; }
.fp-popular__card-eur  { font-size: 20px; font-weight: 700; border-top: 1px solid rgba(255,255,255,0.25); padding-top: 12px; }
.fp-popular__card-eur-loading { opacity: 0.6; font-size: 14px; }

/* ═══════════════════════════════════════════════════════════════════
   Block 6 · Sats Table
   ═══════════════════════════════════════════════════════════════════ */
.fp-sats__layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
    margin-bottom: 40px;
}
.fp-sats__img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fp-sats__img { width: 100%; height: 400px; object-fit: cover; transition: transform 0.5s ease; }
.fp-sats__img-wrap:hover .fp-sats__img { transform: scale(1.04); }
.fp-sats__content p + p { margin-top: 14px; }

/* Sats Table Widget */
.sats-table { font-size: 14px; }
.sats-table__meta { text-align: right; font-size: 13px; color: #777; margin-bottom: 16px; }
.sats-table__table { width: 100%; border-collapse: collapse; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.sats-table__table thead {
    background: var(--grad-pink);
    background-size: 200% 200%;
    animation: grad-flow 9s ease infinite;
    color: var(--c-white);
}
.sats-table__table th { padding: 14px 16px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.sats-table__table td { padding: 10px 16px; background: var(--c-white); border-bottom: 1px solid rgba(254,3,105,0.06); }
.sats-table__table tr:hover td { background: #fff0f5; }
.sats-table__label { font-weight: 600; }
.sats-table__btc   { color: var(--c-blue); }
.sats-table__sats  { color: var(--c-pink); font-weight: 600; }
.sats-table__eur   { font-weight: 700; color: #0a0; }

/* ═══════════════════════════════════════════════════════════════════
   Block 7 · EUR to BTC Converter
   ═══════════════════════════════════════════════════════════════════ */
.fp-eur-btc__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 40px;
}
.fp-eur-btc__text p + p { margin-top: 14px; }
.fp-eur-btc__img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fp-eur-btc__img { width: 100%; height: 340px; object-fit: cover; transition: transform 0.5s ease; }
.fp-eur-btc__img-wrap:hover .fp-eur-btc__img { transform: scale(1.04); }

/* EUR Converter Widget */
.eur-converter {
    background: var(--c-white);
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(5,133,230,0.12);
    margin-bottom: 32px;
    transition: box-shadow var(--transition);
}
.eur-converter:hover { box-shadow: var(--shadow-hover); }

.eur-converter__input-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 24px;
}
.eur-converter__field-wrap {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 200px;
    border: 2px solid rgba(5,133,230,0.25);
    border-radius: 50px;
    overflow: hidden;
    transition: border-color var(--transition), box-shadow var(--transition);
}
.eur-converter__field-wrap:focus-within {
    border-color: var(--c-cyan);
    box-shadow: 0 0 0 3px rgba(5,133,230,0.12);
}
.eur-converter__prefix {
    padding: 14px 4px 14px 20px;
    font-size: 18px;
    font-weight: 700;
    color: var(--c-cyan);
}
.eur-converter__input {
    flex: 1;
    padding: 14px 20px 14px 8px;
    border: none;
    outline: none;
    font-size: 20px;
    font-weight: 700;
    color: var(--c-text);
    background: transparent;
}
.eur-converter__quick-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.eur-converter__btn {
    padding: 10px 18px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    background: var(--c-bg-alt);
    color: var(--c-blue);
    border: 1.5px solid rgba(2,54,165,0.2);
    transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition);
}
.eur-converter__btn:hover {
    background: var(--grad-cyan);
    background-size: 200% 200%;
    animation: grad-flow 4s ease infinite;
    color: var(--c-white);
    border-color: transparent;
    transform: translateY(-2px);
}

.eur-converter__result {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}
.eur-converter__result-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    background: var(--c-bg-alt);
    border-radius: var(--radius-sm);
    transition: background var(--transition);
}
.eur-converter__result-item:first-child,
.eur-converter__result-item:nth-child(2) {
    background: var(--grad-cyan);
    background-size: 200% 200%;
    animation: grad-flow 8s ease infinite;
    color: var(--c-white);
}
.eur-converter__result-label { font-size: 12px; opacity: 0.75; text-transform: uppercase; letter-spacing: 0.05em; }
.eur-converter__result-val   { font-size: 18px; font-weight: 800; }

.eur-converter__note    { font-size: 12px; color: #e08000; margin-bottom: 6px; }
.eur-converter__updated { font-size: 12px; color: #999; }

/* EUR to BTC Table Widget */
.eur-btc-table { font-size: 14px; }
.eur-btc-table__meta { text-align: right; font-size: 13px; color: #777; margin-bottom: 16px; }
.eur-btc-table__table { width: 100%; border-collapse: collapse; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow); }
.eur-btc-table__table thead {
    background: var(--grad-pink);
    background-size: 200% 200%;
    animation: grad-flow 10s ease infinite;
    color: var(--c-white);
}
.eur-btc-table__table th { padding: 14px 16px; text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.eur-btc-table__table td { padding: 10px 16px; background: var(--c-white); border-bottom: 1px solid rgba(254,3,105,0.06); }
.eur-btc-table__table tr:hover td { background: #fff0f5; }
.eur-btc-table__eur  { font-weight: 700; color: #0a0; }
.eur-btc-table__btc  { color: var(--c-blue); font-weight: 600; }
.eur-btc-table__sats { color: var(--c-pink); }

/* ═══════════════════════════════════════════════════════════════════
   Block 8 · Sell Bitcoin
   ═══════════════════════════════════════════════════════════════════ */
.fp-sell__layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
}
.fp-sell__img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fp-sell__img { width: 100%; height: 480px; object-fit: cover; transition: transform 0.5s ease; }
.fp-sell__img-wrap:hover .fp-sell__img { transform: scale(1.04); }
.fp-sell__content p { font-size: 15px; line-height: 1.8; margin-bottom: 16px; }

.fp-sell__factors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 24px;
}
.fp-sell__factor {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    color: var(--c-white);
    font-weight: 600;
    font-size: 14px;
    transition: transform var(--transition);
}
.fp-sell__factor:hover { transform: translateY(-3px); }
.fp-sell__factor--cyan {
    background: var(--grad-cyan);
    background-size: 200% 200%;
    animation: grad-flow 7s ease infinite;
}
.fp-sell__factor--pink {
    background: var(--grad-pink);
    background-size: 200% 200%;
    animation: grad-flow 9s ease infinite;
}
.fp-sell__factor-icon { font-size: 20px; }

/* ═══════════════════════════════════════════════════════════════════
   Block 9 · Chart
   ═══════════════════════════════════════════════════════════════════ */
.fp-chart-section__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 40px;
}
.fp-chart-section__text p + p { margin-top: 14px; }
.fp-chart-section__img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fp-chart-section__img { width: 100%; height: 300px; object-fit: cover; transition: transform 0.5s ease; }
.fp-chart-section__img-wrap:hover .fp-chart-section__img { transform: scale(1.04); }

/* BTC Chart Widget */
.btc-chart {
    background: var(--c-white);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(5,133,230,0.1);
    transition: box-shadow var(--transition);
}
.btc-chart:hover { box-shadow: var(--shadow-hover); }

.btc-chart__header { margin-bottom: 20px; }
.btc-chart__title-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 8px;
}
.btc-chart__pair { font-size: 18px; font-weight: 800; color: var(--c-text); }
.btc-chart__current-price {
    font-size: 24px;
    font-weight: 800;
    background: var(--grad-cyan);
    background-size: 200% 200%;
    animation: grad-flow 7s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.btc-chart__period-change { font-size: 16px; font-weight: 700; }
.btc-chart__period-change.is-up   { color: #00a86b; }
.btc-chart__period-change.is-down { color: #e03030; }

.btc-chart__sub-row {
    display: flex;
    gap: 20px;
    font-size: 13px;
    color: #888;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.btc-chart__hl span { font-weight: 600; color: var(--c-text); }

.btc-chart__periods { display: flex; gap: 8px; flex-wrap: wrap; }
.btc-chart__period-btn {
    padding: 7px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: var(--c-blue);
    background: var(--c-bg-alt);
    border: 1.5px solid rgba(2,54,165,0.2);
    transition: background var(--transition), color var(--transition), border-color var(--transition);
}
.btc-chart__period-btn:hover,
.btc-chart__period-btn--active {
    background: var(--grad-cyan);
    background-size: 200% 200%;
    animation: grad-flow 5s ease infinite;
    color: var(--c-white);
    border-color: transparent;
}

.btc-chart__canvas-wrap {
    position: relative;
    height: 320px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--c-bg-alt);
}
.btc-chart__canvas-wrap canvas { width: 100% !important; height: 100% !important; }

/* ═══════════════════════════════════════════════════════════════════
   Block 10 · Market Rate vs Quote
   ═══════════════════════════════════════════════════════════════════ */
.fp-market-rate__intro {
    max-width: 760px;
    margin: 0 auto 40px;
    text-align: center;
    font-size: 15px;
    line-height: 1.8;
}
.fp-market-rate__cards {
    display: flex;
    gap: 24px;
    align-items: stretch;
    margin-bottom: 40px;
}
.fp-market-rate__card {
    flex: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    transition: transform var(--transition), box-shadow var(--transition);
}
.fp-market-rate__card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.fp-market-rate__card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.fp-market-rate__card:hover .fp-market-rate__card-img { transform: scale(1.06); }
.fp-market-rate__card-body { padding: 24px; flex: 1; color: var(--c-white); }
.fp-market-rate__card--cyan .fp-market-rate__card-body {
    background: var(--grad-cyan);
    background-size: 200% 200%;
    animation: grad-flow 8s ease infinite;
}
.fp-market-rate__card--pink .fp-market-rate__card-body {
    background: var(--grad-pink);
    background-size: 200% 200%;
    animation: grad-flow 10s ease infinite;
}
.fp-market-rate__card-title { font-size: 20px; font-weight: 800; margin-bottom: 16px; }
.fp-market-rate__card-list { display: flex; flex-direction: column; gap: 10px; }
.fp-market-rate__card-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}
.fp-market-rate__card-list li::before {
    content: '✓';
    font-weight: 700;
    opacity: 0.8;
}

.fp-market-rate__divider {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
}
.fp-market-rate__vs {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--grad-header);
    background-size: 300% 300%;
    animation: grad-flow 8s ease infinite;
    color: var(--c-white);
    font-size: 14px;
    font-weight: 900;
    box-shadow: var(--shadow);
}
.fp-market-rate__text { font-size: 15px; line-height: 1.8; }
.fp-market-rate__text p + p { margin-top: 14px; }

/* ═══════════════════════════════════════════════════════════════════
   Block 11 · Europe
   ═══════════════════════════════════════════════════════════════════ */
.fp-europe__layout {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 56px;
    align-items: start;
}
.fp-europe__img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fp-europe__img { width: 100%; height: 480px; object-fit: cover; transition: transform 0.5s ease; }
.fp-europe__img-wrap:hover .fp-europe__img { transform: scale(1.04); }
.fp-europe__content p { font-size: 15px; line-height: 1.8; margin-bottom: 16px; }

/* ═══════════════════════════════════════════════════════════════════
   Block 12 · Checklist
   ═══════════════════════════════════════════════════════════════════ */
.fp-checklist__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
    margin-bottom: 40px;
}
.fp-checklist__text p + p { margin-top: 14px; }
.fp-checklist__img-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.fp-checklist__img { width: 100%; height: 280px; object-fit: cover; transition: transform 0.5s ease; }
.fp-checklist__img-wrap:hover .fp-checklist__img { transform: scale(1.04); }

.fp-checklist__list { display: flex; flex-direction: column; gap: 12px; }
.fp-checklist__item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 18px 24px;
    background: var(--c-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: default;
    position: relative;
    overflow: hidden;
}
.fp-checklist__item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 5px;
    background: var(--grad-cyan);
    background-size: 100% 400%;
    animation: grad-flow 6s ease infinite;
}
.fp-checklist__item:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-hover);
}
.fp-checklist__num {
    font-size: 22px;
    font-weight: 900;
    background: var(--grad-cyan);
    background-size: 200% 200%;
    animation: grad-flow 7s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 36px;
    text-align: center;
}
.fp-checklist__text { font-size: 15px; font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════════
   Block 13 · FAQ
   ═══════════════════════════════════════════════════════════════════ */
.fp-faq__list { max-width: 860px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.fp-faq__item {
    background: var(--c-white);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow);
    overflow: hidden;
    border: 1px solid rgba(5,133,230,0.1);
    transition: box-shadow var(--transition);
}
.fp-faq__item:hover { box-shadow: var(--shadow-hover); }
.fp-faq__q {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--c-text);
    text-align: left;
    transition: background var(--transition), color var(--transition);
}
.fp-faq__q[aria-expanded="true"] {
    background: var(--grad-cyan);
    background-size: 200% 200%;
    animation: grad-flow 8s ease infinite;
    color: var(--c-white);
}
.fp-faq__arrow {
    font-size: 12px;
    transition: transform var(--transition);
    flex-shrink: 0;
}
.fp-faq__q[aria-expanded="true"] .fp-faq__arrow { transform: rotate(180deg); }
.fp-faq__a { padding: 0 24px 20px; }
.fp-faq__a p { font-size: 14px; line-height: 1.8; color: var(--c-text-light); }

/* ═══════════════════════════════════════════════════════════════════
   Block 14 · CTA
   ═══════════════════════════════════════════════════════════════════ */
.fp-cta {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    text-align: center;
}
.fp-cta__bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.08);
}
.fp-cta__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(9,18,33,0.88) 0%, rgba(2,54,165,0.7) 50%, rgba(5,133,230,0.55) 100%);
    background-size: 300% 300%;
    animation: grad-flow 18s ease infinite;
}
.fp-cta__container {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}
.fp-cta__title {
    font-size: clamp(24px, 4vw, 42px);
    font-weight: 900;
    color: var(--c-white);
    line-height: 1.2;
    margin-bottom: 28px;
}
.fp-cta__text {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255,255,255,0.85);
    margin-bottom: 18px;
}

/* ═══════════════════════════════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .fp-hero__container { grid-template-columns: 1fr; gap: 40px; }
    .fp-hero__img-wrap { max-width: 480px; margin: 0 auto; }
    .fp-rate__layout,
    .fp-how-to__layout,
    .fp-conv-table-section__layout,
    .fp-sats__layout,
    .fp-eur-btc__layout,
    .fp-sell__layout,
    .fp-chart-section__layout,
    .fp-europe__layout,
    .fp-checklist__layout { grid-template-columns: 1fr; gap: 32px; }
    .fp-popular__grid { grid-template-columns: repeat(2, 1fr); }
    .fp-market-rate__cards { flex-direction: column; }
    .fp-market-rate__divider { transform: rotate(90deg); }
    .site-footer__grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    :root { --section-y: 48px; }

    .site-header__nav {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        background: linear-gradient(to bottom, #091221, #0236a5);
        padding: 20px 24px;
        transform: translateY(-120%);
        opacity: 0;
        transition: transform var(--transition), opacity var(--transition);
        z-index: 999;
        box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    }
    .site-header__nav.is-open {
        transform: translateY(0);
        opacity: 1;
    }
    .site-header__menu { flex-direction: column; align-items: stretch; gap: 4px; }
    .site-header__menu li a { padding: 12px 16px; font-size: 15px; }
    .site-header__burger { display: flex; }

    .fp-hero__title { font-size: 26px; }
    .fp-popular__grid { grid-template-columns: 1fr; }
    .fp-sell__factors { grid-template-columns: 1fr; }
    .eur-converter__result { grid-template-columns: 1fr; }
    .btc-rate-card__stats { grid-template-columns: repeat(2, 1fr); }
    .site-footer__grid { grid-template-columns: 1fr; }
    .fp-market-rate__cards { flex-direction: column; }
}

@media (max-width: 480px) {
    .fp-hero__cta-row { flex-direction: column; }
    .fp-btn { text-align: center; justify-content: center; }
    .fp-hero__img { height: 280px; }
    .fp-sats__img,
    .fp-sell__img,
    .fp-europe__img { height: 280px; }
    .btc-rate-card__stats { grid-template-columns: 1fr 1fr; }
    .eur-converter__quick-btns { justify-content: center; }
    .fp-checklist__item { flex-direction: row; gap: 12px; }
    .btc-chart__canvas-wrap { height: 220px; }
}
