* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Brand blue (buttons): #4169e1 → #6495ed */
    /* Royal Blue Luxury Palette */
    --primary-color: #4169e1;
    --primary-dark: #1e3a8a;
    --primary-light: #6495ed;
    --primary-hover: #4a90e2;
    --secondary-color: #4a90e2;
    --accent-color: #4169e1;
    --accent-2: #6495ed;
    
    /* Gold Color Palette - Premium Luxury (lightened) */
    --gold-color: #F0B422;
    --gold-dark: #D6A11C;
    --gold-light: #F8DE88;
    
    /* Text Colors */
    --text-primary: #f5f5f5;
    --text-secondary: #b3b3b3;
    --text-muted: #808080;
    --text-light: #ffffff;
    
    /* Background Colors - Luxury Dark Blue */
    --bg-primary: #0f1419;
    --bg-secondary: #1a2332;
    --bg-dark: #0a0e14;
    --bg-card: #1e2832;
    --bg-card-hover: #252f3d;
    --bg-glass: rgba(30, 40, 50, 0.95);
    
    /* Border Colors */
    --border-color: #2a3441;
    --border-dark: #1e2832;
    --border-light: #354050;
    
    /* Royal Blue Gradients */
    --gradient-1: linear-gradient(135deg, #4169e1 0%, #5b9eff 50%, #7ab8ff 100%);
    --gradient-2: linear-gradient(135deg, #1e3a8a 0%, #4169e1 50%, #5b9eff 100%);
    --gradient-3: linear-gradient(135deg, #5b9eff 0%, #7ab8ff 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
    
    /* Currency Icon Container Sizes */
    --icon-size-small: 28px;
    --icon-size-default: 32px;
    --icon-size-large: 40px;
}

/* ============================================
   УНИВЕРСАЛЬНАЯ СИСТЕМА СТЕКЛЯННЫХ КОНТЕЙНЕРОВ ДЛЯ ИКОНОК ВАЛЮТ
   ============================================ */

/* Базовый класс для стеклянного контейнера иконки валюты */
.currency-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: var(--icon-size-default);
    height: var(--icon-size-default);
    min-width: var(--icon-size-default);
    max-width: var(--icon-size-default);
    min-height: var(--icon-size-default);
    max-height: var(--icon-size-default);
    flex-shrink: 0;
    aspect-ratio: 1;
    box-sizing: border-box;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 2px;
    overflow: visible;
}

/* Размеры контейнеров */
.currency-icon-container--small {
    width: var(--icon-size-small);
    height: var(--icon-size-small);
    min-width: var(--icon-size-small);
    max-width: var(--icon-size-small);
    min-height: var(--icon-size-small);
    max-height: var(--icon-size-small);
    padding: 2px;
}

.currency-icon-container--large {
    width: var(--icon-size-large);
    height: var(--icon-size-large);
    min-width: var(--icon-size-large);
    max-width: var(--icon-size-large);
    min-height: var(--icon-size-large);
    max-height: var(--icon-size-large);
    border-radius: 8px;
    padding: 2px;
}

/* Стили для содержимого контейнера (изображения, флаги, символы) */
.currency-icon-container img {
    width: calc(100% - 4px);
    height: calc(100% - 4px);
    min-width: calc(100% - 4px);
    min-height: calc(100% - 4px);
    max-width: calc(100% - 4px);
    max-height: calc(100% - 4px);
    border-radius: 4px;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    flex-shrink: 0;
}

.currency-icon-container img.currency-flag {
    object-fit: contain;
    background: rgba(10, 14, 20, 0.25);
}

.currency-icon-container--small img {
    border-radius: 3px;
}

.currency-icon-container--large img {
    border-radius: 6px;
}

.currency-icon-container span {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    line-height: 1;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.currency-icon-container--small span {
    font-size: 1.25rem;
}

.currency-icon-container--large span {
    font-size: 1.5rem;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 84px;
}

section[id] {
    scroll-margin-top: 84px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    background: #0f1419;
    background-attachment: fixed;
}

.container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Loading Screen - Premium */
.loading-screen {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(900px 600px at 12% 12%, rgba(65, 105, 225, 0.25), rgba(65, 105, 225, 0) 60%),
        radial-gradient(700px 520px at 85% 18%, rgba(212, 175, 55, 0.18), rgba(212, 175, 55, 0) 60%),
        radial-gradient(600px 600px at 50% 90%, rgba(65, 105, 225, 0.15), rgba(65, 105, 225, 0) 60%),
        #0f1419;
    overflow: hidden;
    z-index: 10000;
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.loading-screen::before,
.loading-screen::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    filter: blur(12px);
    opacity: 0.6;
}

.loading-screen::before {
    width: 520px;
    height: 520px;
    background: radial-gradient(circle at 30% 30%, rgba(65, 105, 225, 0.5), rgba(65, 105, 225, 0) 62%);
    animation: loadingFloatOne 14s ease-in-out infinite;
}

.loading-screen::after {
    width: 420px;
    height: 420px;
    background: radial-gradient(circle at 70% 35%, rgba(212, 175, 55, 0.45), rgba(212, 175, 55, 0) 62%);
    animation: loadingFloatTwo 12s ease-in-out infinite;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    position: relative;
    z-index: 1;
    width: min(460px, 92vw);
    padding: 40px 36px 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    border-radius: 28px;
    background: rgba(15, 20, 25, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(26px) saturate(160%);
    -webkit-backdrop-filter: blur(26px) saturate(160%);
}

.loading-content::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(120% 140% at 15% 10%, rgba(255, 255, 255, 0.08), transparent 60%);
    pointer-events: none;
}

.loading-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    letter-spacing: 0.02em;
    color: #d7e3ff;
    background: rgba(65, 105, 225, 0.16);
    border: 1px solid rgba(65, 105, 225, 0.25);
    margin-bottom: 16px;
}

.loading-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 10px rgba(100, 149, 237, 0.8);
    animation: loadingPulse 1.4s ease-in-out infinite;
}

.loading-logo {
    position: relative;
    width: 160px;
    height: 160px;
    display: grid;
    place-items: center;
    margin: 0;
    overflow: visible;
}

.loading-logo .logo-svg {
    width: 140px;
    height: 140px;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

.loading-ring {
    display: none;
}

.loading-title,
.loading-title-accent,
.loading-subtitle {
    display: none;
}

.loading-progress {
    width: 180px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.loading-progress-fill {
    display: block;
    width: 40%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, rgba(65, 105, 225, 0.35), rgba(65, 105, 225, 0.95), rgba(65, 105, 225, 0.35));
    box-shadow: 0 0 10px rgba(65, 105, 225, 0.45);
    animation: loadingBar 1.5s ease-in-out infinite;
    transform-origin: left center;
}

.loading-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: #bcd1ff;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.loading-status-dot {
    display: none;
}

@keyframes loadingFloatOne {
    0% { transform: translate(-10%, -12%); }
    50% { transform: translate(10%, 12%); }
    100% { transform: translate(-10%, -12%); }
}

@keyframes loadingFloatTwo {
    0% { transform: translate(12%, -6%); }
    50% { transform: translate(-8%, 10%); }
    100% { transform: translate(12%, -6%); }
}

@keyframes loadingRingSpin {
    to { transform: rotate(360deg); }
}

@keyframes loadingRingSpinReverse {
    to { transform: rotate(-360deg); }
}

@keyframes loadingPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.1); opacity: 1; }
}

@keyframes loadingBar {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(250%); }
}

.logo-text-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    letter-spacing: 0;
}

.logo-e {
    display: inline-block;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
    transform: rotate(-12deg);
    transform-origin: 50% 50%;
    margin: 0;
    padding: 0;
    position: relative;
    letter-spacing: 0;
}

.logo-e-left {
    color: var(--primary-dark);
    margin-right: -0.1em;
    font-weight: 800 !important;
    font-size: 4rem !important;
    line-height: 1 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    letter-spacing: 0 !important;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    transform: rotate(-12deg) !important;
    transform-origin: 50% 50% !important;
}

.logo-e-right {
    color: var(--gold-color);
    margin-left: -0.1em;
    font-weight: 800 !important;
    font-size: 4rem !important;
    line-height: 1 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    letter-spacing: 0 !important;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    transform: rotate(-12deg) !important;
    transform-origin: 50% 50% !important;
    position: relative;
    overflow: hidden;
}

.logo-e-right::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent 0%,
        transparent 30%,
        rgba(255, 245, 220, 0.2) 40%,
        rgba(255, 255, 255, 0.5) 48%,
        rgba(255, 245, 220, 0.2) 56%,
        transparent 70%,
        transparent 100%
    );
    mask: linear-gradient(45deg,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 25%,
        rgba(0, 0, 0, 0.3) 35%,
        rgba(0, 0, 0, 0.8) 45%,
        rgba(0, 0, 0, 1) 50%,
        rgba(0, 0, 0, 0.8) 55%,
        rgba(0, 0, 0, 0.3) 65%,
        rgba(0, 0, 0, 0.05) 75%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(45deg,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 25%,
        rgba(0, 0, 0, 0.3) 35%,
        rgba(0, 0, 0, 0.8) 45%,
        rgba(0, 0, 0, 1) 50%,
        rgba(0, 0, 0, 0.8) 55%,
        rgba(0, 0, 0, 0.3) 65%,
        rgba(0, 0, 0, 0.05) 75%,
        transparent 100%
    );
    opacity: 0.85;
    filter: brightness(1.2) saturate(1.2);
    transform: translateX(-150%) translateY(-150%) rotate(45deg);
    animation: diagonal-shine-horizontal 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(15, 20, 25, 0.95);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    padding: 0;
    transition: all 0.3s ease;
    height: 72px;
    min-height: 72px;
    max-height: 72px;
    display: flex;
    align-items: center;
}

.navbar > .container {
    display: flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding-right: 0.25rem;
    padding-left: calc(48px + 0.6rem);
    height: 52px;
    min-height: 52px;
    max-height: 52px;
    flex-shrink: 0;
    position: relative;
    width: auto;
}

.logo .logo-icon {
    flex-shrink: 0;
    margin: 0;
    vertical-align: middle;
    position: absolute;
    left: 0;
    top: 50%;
    margin-top: -24px;
}

.logo .logo-text {
    margin-left: 0;
    line-height: 1;
}

/* SVG логотип - иконка для навигации и футера */
.logo-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    max-width: 48px;
    max-height: 48px;
    flex-shrink: 0;
    display: block;
    /* NO CSS animation - fully controlled by JavaScript */
    animation: none !important;
    animation-name: none !important;
    animation-duration: 0s !important;
    animation-iteration-count: 0 !important;
    animation-play-state: paused !important;
    opacity: 0;
    transition: opacity 0.3s ease;
    transform-style: preserve-3d;
    transform-origin: center center;
    backface-visibility: visible;
    transform: rotateY(0deg);
    margin: 0;
}

.logo-icon.visible {
    opacity: 1;
}

/* Smooth speed change on hover - handled by JavaScript for better control */

/* SVG логотип - большой для loading screen */
.logo-svg {
    width: 200px;
    height: 200px;
    display: block;
    /* NO CSS animation - fully controlled by JavaScript */
    animation: none !important;
    animation-name: none !important;
    animation-duration: 0s !important;
    animation-iteration-count: 0 !important;
    transition: opacity 0.3s ease;
    transform-style: preserve-3d;
    transform-origin: center center;
    backface-visibility: visible;
    transform: rotateY(0deg);
}

/* Логотип в полете (клонированный для анимации) */
.logo-flying {
    will-change: transform, top, left, width, height;
    transform-origin: center center;
}

/* Анимация вращения логотипа вокруг вертикальной оси - большой логотип */
@keyframes logoRotateY {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

/* Анимация вращения логотипа вокруг вертикальной оси - маленький логотип */
@keyframes logoRotateYIcon {
    0% {
        transform: rotateY(0deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.logo-text-container.logo-text-nav {
    width: auto;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    letter-spacing: 0;
}

.logo-text-container.logo-text-nav .logo-e {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    transform: rotate(-12deg) !important;
    transform-origin: 50% 50% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: inline-block !important;
    position: relative !important;
    letter-spacing: 0 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

.logo-text-container.logo-text-nav .logo-e-left {
    color: var(--primary-dark) !important;
    margin-right: -0.1em !important;
    font-weight: 800 !important;
    font-size: 2.5rem !important;
    line-height: 1 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    letter-spacing: 0 !important;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    transform: rotate(-12deg) !important;
    transform-origin: 50% 50% !important;
}

.logo-text-container.logo-text-nav .logo-e-right {
    color: var(--gold-color) !important;
    margin-left: -0.1em !important;
    font-weight: 800 !important;
    font-size: 2.5rem !important;
    line-height: 1 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    letter-spacing: 0 !important;
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    transform: rotate(-12deg) !important;
    transform-origin: 50% 50% !important;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
    line-height: 1;
    letter-spacing: -0.02em;
    display: inline-flex;
    align-items: baseline;
    flex-shrink: 0;
    white-space: nowrap;
}

.logo-text-gold {
    color: var(--gold-color);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    height: 52px;
    line-height: 52px;
    margin-left: auto;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
    z-index: 2;
    position: relative;
    margin-left: auto;
}

.language-selector {
    position: relative;
    flex-shrink: 0;
}

.language-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(26, 35, 50, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 500;
}

.language-btn:hover {
    background: rgba(26, 35, 50, 0.9);
    border-color: rgba(255, 255, 255, 0.2);
}

.language-flag {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.language-code {
    font-weight: 600;
}

.language-dropdown {
    position: absolute;
    top: calc(100% + 0.5rem);
    right: 0;
    background: rgba(15, 20, 25, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.5rem;
    min-width: 150px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

.language-selector.active .language-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
    font-size: 0.9rem;
    text-align: left;
}

.language-option:hover {
    background: rgba(65, 105, 225, 0.1);
    color: var(--primary-color);
}

.language-option img {
    width: 20px;
    height: 15px;
    object-fit: cover;
    border-radius: 2px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    transform-origin: center;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

/* Единый фирменный hover */
.nav-toggle:hover:not(:disabled) {
    transform: scale(0.96);
}

/* Единый фирменный active */
.nav-toggle:active:not(:disabled) {
    transform: scale(0.88) !important;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px 0 120px;
    overflow: visible;
    background: var(--bg-primary);
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle 60vw at 50% -15vw, 
            rgba(65, 105, 225, 0.28) 0%, 
            rgba(65, 105, 225, 0.22) 15%, 
            rgba(65, 105, 225, 0.16) 30%, 
            rgba(65, 105, 225, 0.10) 45%, 
            rgba(65, 105, 225, 0.06) 60%, 
            rgba(65, 105, 225, 0.03) 75%, 
            rgba(65, 105, 225, 0.01) 85%, 
            rgba(65, 105, 225, 0) 100%);
    pointer-events: none;
    z-index: 0;
}

.hero-grid {
    --hero-left-width: 560px;
    --hero-right-width: 500px;
    --hero-grid-max: 1400px;
    display: grid;
    grid-template-columns: minmax(0, var(--hero-left-width)) minmax(0, var(--hero-right-width));
    gap: 3rem;
    align-items: start;
    justify-content: center;
    position: relative;
    z-index: 1;
    max-width: var(--hero-grid-max);
    margin: 0 auto;
    padding: 0;
}

/* Увеличиваем ширину левой колонки и gap для английского языка */
html[lang="en"] .hero-grid {
    --hero-left-width: 680px;
    gap: 5rem;
    max-width: 1500px;
}

/* Жестко ограничиваем ширину hero-left для английского языка */
html[lang="en"] .hero-left {
    max-width: 680px !important;
    width: 680px;
    flex-shrink: 0;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 1.25rem;
    position: relative;
    width: 100%;
    max-width: var(--hero-left-width);
    margin: 0 auto;
    margin-top: 40px;
    align-self: start;
    min-width: 0;
    flex-shrink: 0;
}

.hero-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: width 0.45s ease, max-width 0.45s ease, flex-basis 0.45s ease, height 0.45s ease;
    align-items: stretch;
    gap: 0.75rem;
    position: relative;
    width: 100%;
    max-width: var(--hero-right-width);
    margin: 0 auto;
    min-width: 0;
    justify-self: stretch;
    overflow: visible;
    contain: inline-size;
    transition: width 0.45s ease, max-width 0.45s ease, flex-basis 0.45s ease;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(65, 105, 225, 0.1);
    border: 1px solid rgba(65, 105, 225, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-color);
    width: fit-content;
    margin: 0;
    margin-bottom: 0.5rem;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.badge-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.badge-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.badge-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--primary-color);
}

.hero-title {
    font-size: 3.875rem;
    font-weight: 800;
    line-height: 1.1;
    color: var(--text-primary);
    margin: 0;
    margin-bottom: 0.75rem;
    width: 100%;
    max-width: 100%;
    animation: fadeInUp 0.8s ease 0.2s both;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
}


.gradient-text {
    background: linear-gradient(135deg, 
        var(--gold-dark) 0%, 
        var(--gold-dark) 42%, 
        var(--gold-color) 46%, 
        var(--gold-light) 49%, 
        var(--gold-light) 51%, 
        var(--gold-color) 54%, 
        var(--gold-dark) 58%, 
        var(--gold-dark) 100%);
    background-size: 400% 400%;
    position: relative;
    overflow: hidden;
    display: inline-block;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: none;
    filter: brightness(1.15) saturate(1.2);
}


@keyframes gradient-flow {
    0% { background-position: 0% 0%; }
    100% { background-position: 100% 100%; }
}

@keyframes diagonal-shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(200%) translateY(200%) rotate(45deg);
    }
}

@keyframes horizontal-shine {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(400%);
    }
}

@keyframes diagonal-shine-horizontal {
    0% {
        transform: translateX(-150%) translateY(-150%) rotate(45deg);
    }
    100% {
        transform: translateX(350%) translateY(350%) rotate(45deg);
    }
}

@keyframes gradient-pulse {
    0%, 100% {
        background-position: 0% 50%;
        opacity: 1;
    }
    50% {
        background-position: 100% 50%;
        opacity: 0.8;
    }
}

.hero-description {
    font-size: 1.02rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
    margin-bottom: 0.85rem;
    width: 100%;
    max-width: 520px;
    animation: fadeInUp 0.8s ease 0.2s both;
    text-align: left;
    padding: 0;
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    min-width: 0;
}

/* Увеличиваем max-width для hero-description на английском */
html[lang="en"] .hero-description {
    max-width: 680px;
}

.hero-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: var(--text-secondary);
    font-size: 1rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

.hero-feature-item span:not(.hero-feature-icon) {
    flex: 1;
    min-width: 0;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
}

.hero-feature-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.hero-feature-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-benefits {
    display: flex;
    flex-direction: row;
    gap: 0.5rem 1rem;
    flex-wrap: wrap;
    margin: 0;
    margin-top: 0.25rem;
    padding-top: 0;
    width: 100%;
    justify-content: flex-start;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    white-space: nowrap;
    flex-shrink: 0;
}

.benefit-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.hero-buttons {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin: 0;
    margin-bottom: 0;
    width: 100%;
    animation: fadeInUp 0.8s ease 0.4s both;
}


/* ============================================
   ЕДИНАЯ ФИРМЕННАЯ СИСТЕМА АНИМАЦИИ КНОПОК
   Переписано с нуля для плавных переходов
   ============================================ */

.btn {
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    white-space: nowrap;
    height: 48px;
    min-height: 48px;
    max-height: 48px;
    line-height: 1;
    box-sizing: border-box;
    transform-origin: center;
    will-change: transform, box-shadow;
    /* Единый плавный transition для всех свойств */
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Единый фирменный эффект hover: легкое прожимание */
.btn:hover:not(:disabled) {
    transform: scale(0.96);
}

/* Единый фирменный эффект active: сильное прожимание с плавным переходом */
.btn:active:not(:disabled) {
    transform: scale(0.88) !important;
    /* Сохраняем тот же transition для плавности */
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    background: linear-gradient(135deg, 
        var(--gold-dark) 0%, 
        var(--gold-dark) 42%, 
        var(--gold-color) 46%, 
        var(--gold-light) 49%, 
        var(--gold-light) 51%, 
        var(--gold-color) 54%, 
        var(--gold-dark) 58%, 
        var(--gold-dark) 100%);
    background-size: 400% 400%;
    color: white;
    border: 1px solid rgba(231, 194, 95, 0.9);
    padding: 1.125rem 2rem !important;
    box-shadow:
        0 0 20px rgba(255, 176, 0, 0.32),
        0 0 40px rgba(255, 176, 0, 0.22),
        0 10px 24px rgba(0, 0, 0, 0.18);
    animation: none;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    line-height: 1;
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent 0%,
        transparent 30%,
        rgba(255, 245, 220, 0.2) 40%,
        rgba(255, 255, 255, 0.5) 48%,
        rgba(255, 245, 220, 0.2) 56%,
        transparent 70%,
        transparent 100%
    );
    mask: linear-gradient(45deg,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 25%,
        rgba(0, 0, 0, 0.3) 35%,
        rgba(0, 0, 0, 0.8) 45%,
        rgba(0, 0, 0, 1) 50%,
        rgba(0, 0, 0, 0.8) 55%,
        rgba(0, 0, 0, 0.3) 65%,
        rgba(0, 0, 0, 0.05) 75%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(45deg,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 25%,
        rgba(0, 0, 0, 0.3) 35%,
        rgba(0, 0, 0, 0.8) 45%,
        rgba(0, 0, 0, 1) 50%,
        rgba(0, 0, 0, 0.8) 55%,
        rgba(0, 0, 0, 0.3) 65%,
        rgba(0, 0, 0, 0.05) 75%,
        transparent 100%
    );
    opacity: 0.85;
    filter: brightness(1.2) saturate(1.2);
    transform: translateX(-150%) translateY(-150%) rotate(45deg);
    animation: diagonal-shine-horizontal 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Единый фирменный hover: усиление свечения (короткое, как тень калькулятора) */
.btn-primary:hover:not(:disabled) {
    border-color: rgba(247, 220, 120, 0.95);
    /* Убрано background-position - конфликтует с gradient-flow анимацией */
    animation-play-state: paused;
}

/* Единый фирменный active: сохраняем свечение при нажатии */
.btn-primary:active:not(:disabled) {
    animation-play-state: paused;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        0 0 28px rgba(255, 176, 0, 0.45),
        0 0 56px rgba(255, 176, 0, 0.22);
    opacity: 0;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: -1;
}

.btn-primary:hover:not(:disabled)::after {
    opacity: 1;
}

.btn-primary:active:not(:disabled)::after {
    opacity: 0.75;
}

.btn-secondary {
    background: linear-gradient(135deg, #4169e1, #6495ed);
    color: #fff;
    border: 1px solid rgba(140, 185, 255, 0.85);
    padding: 1.125rem 2rem !important;
    box-shadow:
        0 0 20px rgba(65, 105, 225, 0.32),
        0 0 40px rgba(65, 105, 225, 0.22),
        0 10px 24px rgba(0, 0, 0, 0.18);
    background-size: 100% 100%;
    height: 50px !important;
    min-height: 50px !important;
    max-height: 50px !important;
    line-height: 1;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    z-index: 0;
}

/* Единый фирменный hover: усиление свечения (короткое, как тень калькулятора) */
.btn-secondary:hover:not(:disabled) {
    border-color: rgba(170, 205, 255, 0.95);
}

/* Единый фирменный active: сохраняем свечение при нажатии */

.btn-secondary::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        0 0 28px rgba(65, 105, 225, 0.45),
        0 0 56px rgba(65, 105, 225, 0.22);
    opacity: 0;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: -1;
}

.btn-secondary:hover:not(:disabled)::after {
    opacity: 1;
}

.btn-secondary:active:not(:disabled)::after {
    opacity: 0.75;
}

@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn {
        width: 100%;
        padding: 0.875rem 1.5rem;
    }
    
    .hero-benefits {
        flex-direction: column;
        gap: 0.875rem;
    }
}

/* Trust Stats Section */
.trust-stats-section {
    padding: 24px 0;
    background: rgba(15, 20, 25, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: absolute;
    bottom: -10px;
    left: 0;
    right: 0;
}

.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Calculator */
.calculator {
    background: rgba(30, 40, 50, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 16px;
    padding: 0.5rem 1rem 1.25rem 1rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.8s ease 0.3s both;
    width: 100%;
    max-width: 500px;
    margin: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.calculator-focused {
    animation: calculatorFocusPulse 1.5s ease;
    transform: scale(1.02);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 0 3px rgba(65, 105, 225, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 40px rgba(65, 105, 225, 0.3);
}

@keyframes calculatorFocusPulse {
    0% {
        transform: scale(1);
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 0 1px rgba(255, 255, 255, 0.1);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.5),
            0 0 0 4px rgba(65, 105, 225, 0.6),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 50px rgba(65, 105, 225, 0.4);
    }
    100% {
        transform: scale(1.01);
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.5),
            0 0 0 2px rgba(65, 105, 225, 0.4),
            inset 0 1px 0 rgba(255, 255, 255, 0.1),
            0 0 30px rgba(65, 105, 225, 0.2);
    }
}

.currency-input {
    width: 100%;
    margin-bottom: 0;
    margin-top: 0.5rem;
}

.currency-input:first-child {
    margin-top: 0;
}

.currency-input label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.2;
}

.input-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1);
    min-width: 0;
    min-height: 52px;
    height: 52px;
    max-height: 52px;
    box-sizing: border-box;
}

.input-wrapper:hover {
    border-color: var(--primary-color);
}

.input-wrapper:focus-within {
    border-color: var(--primary-color);
    background: var(--bg-primary);
    backdrop-filter: blur(15px) saturate(200%);
    -webkit-backdrop-filter: blur(15px) saturate(200%);
    box-shadow: 
        0 0 0 3px rgba(65, 105, 225, 0.3),
        0 2px 8px rgba(65, 105, 225, 0.2);
}

.input-wrapper input {
    flex: 1;
    padding: 0 0.875rem;
    border: none;
    background: transparent;
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-primary);
    outline: none;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 100%;
    display: flex;
    align-items: center;
    letter-spacing: 0.02em;
    box-sizing: border-box;
    margin: 0;
}

.input-wrapper input::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

.currency-selector {
    position: relative;
}

.currency-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.625rem;
    padding: 0 0.875rem;
    margin: 0;
    border: none;
    background: var(--bg-primary);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
    flex-shrink: 0;
    min-height: 52px;
    height: 52px;
    max-height: 52px;
    align-self: stretch;
    box-sizing: border-box;
    line-height: 52px;
    transform-origin: center;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.currency-btn > * {
    line-height: normal;
    vertical-align: middle;
}

/* Единый фирменный hover: легкое прожимание + усиление свечения */
.currency-btn:hover:not(:disabled) {
    background: var(--bg-primary);
    backdrop-filter: blur(15px) saturate(200%);
    -webkit-backdrop-filter: blur(15px) saturate(200%);
    border-left-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 4px 8px rgba(65, 105, 225, 0.3),
        0 0 12px rgba(65, 105, 225, 0.2);
    transform: scale(0.96);
}

/* Единый фирменный active */
.currency-btn:active:not(:disabled) {
    transform: scale(0.88) !important;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                backdrop-filter 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.currency-btn-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.05rem;
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 0;
    height: fit-content;
}

.currency-btn-text.has-network {
    justify-content: center;
}

.currency-btn-text.no-network {
    justify-content: center;
}

.currency-btn-text.has-network .currency-btn-network {
    display: block;
}

.currency-btn-text.no-network .currency-btn-network {
    display: none !important;
}

.currency-btn-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1;
    white-space: nowrap;
    display: block;
    margin: 0;
    padding: 0;
}

.currency-btn-network {
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1;
    display: block;
    margin: 0;
    padding: 0;
}

.currency-btn .arrow {
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    align-self: center;
}

.currency-btn-network:empty {
    display: none;
}

/* Контейнер для иконки валюты в кнопке калькулятора - теперь использует универсальную систему */
.currency-btn-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0;
    padding: 0;
    /* Размеры теперь контролируются через .currency-icon-container внутри */
}

/* Убеждаемся, что универсальный контейнер внутри правильно отображается */
.currency-btn-logo .currency-icon-container {
    margin: 0;
}

/* Старые стили для .currency-btn-logo-img и .currency-btn-flag больше не используются напрямую,
   так как теперь используется универсальная система .currency-icon-container */

.currency-btn .arrow {
    font-size: 0.75rem;
    color: var(--text-secondary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.currency-selector.active .currency-btn .arrow {
    transform: rotate(180deg);
}

.exchange-rate-wrapper {
    width: 100%;
}

.exchange-rate {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0;
    padding-left: 0.875rem;
    padding-right: 0.625rem;
    background: var(--bg-primary);
    backdrop-filter: blur(15px) saturate(180%);
    -webkit-backdrop-filter: blur(15px) saturate(180%);
    border-radius: 10px;
    font-size: 1.05rem;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.1);
    gap: 0.65rem;
    min-height: 52px;
    height: 52px;
    overflow: hidden;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.exchange-rate > span:first-child {
    flex: 1;
    text-align: left;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 1.05rem;
    color: #ffffff;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.exchange-rate span span {
    color: #ffffff;
    font-weight: 500;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.swap-btn {
    background: transparent;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    flex-shrink: 0;
    transform-origin: center;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Единый фирменный hover: легкое прожимание + вращение */
.swap-btn:hover:not(:disabled) {
    background: rgba(65, 105, 225, 0.1);
    transform: rotate(180deg) scale(0.96);
}

/* Единый фирменный active */
.swap-btn:active:not(:disabled) {
    transform: rotate(180deg) scale(0.88) !important;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.exchange-btn {
    width: 100%;
    padding: 1rem 2rem;
    border: 1px solid transparent;
    border-radius: 12px;
    background: linear-gradient(135deg, 
        var(--gold-dark) 0%, 
        var(--gold-dark) 42%, 
        var(--gold-color) 46%, 
        var(--gold-light) 49%, 
        var(--gold-light) 51%, 
        var(--gold-color) 54%, 
        var(--gold-dark) 58%, 
        var(--gold-dark) 100%);
    background-size: 400% 400%;
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 
        0 0 15px rgba(255, 176, 0, 0.28),
        0 0 30px rgba(255, 176, 0, 0.175),
        0 10px 24px rgba(0, 0, 0, 0.18);
    position: relative;
    overflow: hidden;
    animation: none;
    margin-top: 1.5rem;
    min-height: 48px;
    box-sizing: border-box;
    position: relative;
    overflow: visible;
    z-index: 0;
    transform-origin: center;
    will-change: transform, box-shadow;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Единый фирменный hover: усиление свечения (короткое, как тень калькулятора) */
.exchange-btn:hover:not(:disabled) {
    border-color: rgba(255, 176, 0, 0.6);
    /* Убрано background-position - конфликтует с gradient-flow анимацией */
    transform: scale(0.96);
    animation-play-state: paused;
}

/* Единый фирменный active */
.exchange-btn:active:not(:disabled) {
    transform: scale(0.88) !important;
    animation-play-state: paused;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.exchange-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        0 0 24px rgba(255, 176, 0, 0.45),
        0 0 48px rgba(255, 176, 0, 0.22);
    opacity: 0;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: -1;
}

.exchange-btn:hover:not(:disabled)::after {
    opacity: 1;
}

.exchange-btn:active:not(:disabled)::after {
    opacity: 0.75;
}

/* Эффект блика отключен — убираем вспышку */
.exchange-btn::before {
    content: none;
}

/* Hero Live Exchange (Single Item) */
.hero-live-exchange {
    background: rgba(30, 40, 50, 0.7);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 16px;
    padding: 0.75rem 1rem 1.25rem 1rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 520px;
    margin: 0;
    flex-shrink: 0;
    animation: fadeInUp 0.8s ease 0.4s both;
    overflow: hidden;
}

.hero-live-exchange-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    padding-top: 0;
}

.hero-live-exchange-header .live-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 8px rgba(65, 105, 225, 0.6);
    animation: pulse 2s ease infinite;
    flex-shrink: 0;
}

.hero-live-exchange-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    position: relative;
}

.hero-live-exchange-title.glow-active {
    text-shadow:
        0 0 10px rgba(65, 105, 225, 0.6),
        0 0 20px rgba(65, 105, 225, 0.4),
        0 0 30px rgba(65, 105, 225, 0.2);
    transition: text-shadow 0.3s ease;
}

.hero-live-exchange-list {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
    min-height: 50px;
    position: relative;
    overflow: visible;
    width: 100%;
    min-width: 0;
}

.hero-live-exchange-list .live-exchange-item {
    margin: 0;
    animation: none;
    padding: 0 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease, opacity 0.3s ease, background 0.2s ease, transform 0.3s ease;
    position: relative;
    overflow: hidden;
    background: rgba(26, 35, 50, 0.7);
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.625rem;
    min-height: 50px;
    height: 50px;
    width: 100%;
    min-width: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 15px rgba(65, 105, 225, 0.28),
        0 0 30px rgba(65, 105, 225, 0.175);
    box-sizing: border-box;
}

.hero-live-exchange-list .live-exchange-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 26%;
    height: 100%;
    /* Горизонтальный блик без вертикальных градиентов */
    background: 
        /* Золотистый акцент в центре (горизонтальный) */
        linear-gradient(90deg,
            transparent 0%,
            rgba(255, 245, 220, 0.15) 40%,
            rgba(212, 175, 55, 0.3) 48%,
            rgba(255, 245, 220, 0.15) 56%,
            transparent 100%
        ),
        /* Основной горизонтальный блик */
        linear-gradient(90deg,
            transparent 0%,
            rgba(120, 165, 255, 0.08) 12%,
            rgba(150, 180, 255, 0.18) 25%,
            rgba(200, 220, 255, 0.28) 40%,
            rgba(240, 245, 255, 0.38) 50%,
            rgba(200, 220, 255, 0.28) 60%,
            rgba(150, 180, 255, 0.18) 75%,
            rgba(120, 165, 255, 0.08) 88%,
            transparent 100%
        );
    /* Плавный mask с резкими краями для полного скрытия */
    mask: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 8%,
        rgba(0, 0, 0, 0.5) 15%,
        rgba(0, 0, 0, 1) 45%,
        rgba(0, 0, 0, 1) 55%,
        rgba(0, 0, 0, 0.5) 85%,
        rgba(0, 0, 0, 0.1) 92%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(90deg,
        transparent 0%,
        rgba(0, 0, 0, 0.1) 8%,
        rgba(0, 0, 0, 0.5) 15%,
        rgba(0, 0, 0, 1) 45%,
        rgba(0, 0, 0, 1) 55%,
        rgba(0, 0, 0, 0.5) 85%,
        rgba(0, 0, 0, 0.1) 92%,
        transparent 100%
    );
    opacity: 0.9;
    filter: brightness(1.1) saturate(1.2);
    transform: translateX(-100%);
    transition: none;
    z-index: 0;
    pointer-events: none;
    animation: none;
}

/* Initialize reveal state - start from right */
.hero-live-exchange-list .live-exchange-item.cooldown-active-reveal::before {
    transform: translateX(400%);
}

.hero-live-exchange-list .live-exchange-item.cooldown-active-clear::before {
    animation: shimmer-sync 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 1;
}

.hero-live-exchange-list .live-exchange-item.cooldown-active-reveal::before {
    animation: shimmer-sync-reverse 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 1;
}

.hero-live-exchange-list .live-exchange-element {
    transition: opacity 0.4s ease, visibility 0.4s ease;
    display: inline-block;
    text-shadow: none;
    filter: none;
    box-shadow: none;
}

.hero-live-exchange-list .live-exchange-element[style*="visibility: hidden"],
.hero-live-exchange-list .live-exchange-element[style*="visibility:hidden"],
.hero-live-exchange-list .live-exchange-element[data-animating="true"] {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
}

.hero-live-exchange-list .live-exchange-item.cooldown-active-reveal .live-exchange-element[data-animating="true"] {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
}

.hero-live-exchange-list .live-exchange-item.cooldown-active-reveal .live-exchange-element:not([style*="visibility: visible"]):not([style*="visibility:visible"])[data-animating="true"] {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none;
}

.hero-live-exchange-list .live-exchange-element[data-type="logo"],
.hero-live-exchange-list .live-exchange-element[data-type="text"] {
    display: inline-block;
    vertical-align: middle;
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
}

.hero-live-exchange-list .live-exchange-element[data-type="text"] {
    font-size: 1rem;
    line-height: 1.2;
}

.hero-live-exchange-list .live-exchange-element[data-type="logo"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    vertical-align: middle;
    flex-shrink: 0;
}




.hero-live-exchange-list .live-exchange-item > * {
    position: relative;
    z-index: 1;
    text-shadow: none;
    filter: none;
}

.hero-live-exchange-list .live-exchange-item:hover {
    background: rgba(26, 35, 50, 0.7);
    border-color: var(--primary-color);
    backdrop-filter: blur(15px) saturate(200%);
    -webkit-backdrop-filter: blur(15px) saturate(200%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 2px 8px rgba(65, 105, 225, 0.2),
        0 0 18px rgba(65, 105, 225, 0.35),
        0 0 35px rgba(65, 105, 225, 0.21),
        0 0 55px rgba(65, 105, 225, 0.105);
    transition: all 0.2s ease, transform 0.3s ease;
    transform: scale(0.95); /* Унифицированная глубина нажатия */
}

.hero-live-exchange-list .live-exchange-item:active {
    transform: scale(0.92) !important;
    border-color: var(--primary-color) !important;
    backdrop-filter: blur(15px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(200%) !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 2px 8px rgba(65, 105, 225, 0.3),
        0 0 22px rgba(65, 105, 225, 0.45),
        0 0 42px rgba(65, 105, 225, 0.28),
        0 0 65px rgba(65, 105, 225, 0.15),
        0 0 85px rgba(65, 105, 225, 0.08) !important;
    transition: all 0.15s ease, transform 0.15s ease;
}

.hero-live-exchange-list .live-exchange-item.animating-pressed {
    transform: scale(0.92) !important;
    border-color: var(--primary-color) !important;
    backdrop-filter: blur(15px) saturate(200%) !important;
    -webkit-backdrop-filter: blur(15px) saturate(200%) !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 2px 8px rgba(65, 105, 225, 0.3),
        0 0 22px rgba(65, 105, 225, 0.45),
        0 0 42px rgba(65, 105, 225, 0.28),
        0 0 65px rgba(65, 105, 225, 0.15),
        0 0 85px rgba(65, 105, 225, 0.08) !important;
    transition: all 0.15s ease, transform 0.15s ease;
}

.hero-live-exchange-list .live-exchange-item.cooldown-glow {
    background: rgba(26, 35, 50, 0.7);
    border-color: var(--primary-color);
    backdrop-filter: blur(15px) saturate(200%);
    -webkit-backdrop-filter: blur(15px) saturate(200%);
    transform: scale(0.95);
    /* Усиленное свечение при активации генерации обмена */
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 2px 8px rgba(65, 105, 225, 0.3),
        0 0 22px rgba(65, 105, 225, 0.45),
        0 0 42px rgba(65, 105, 225, 0.28),
        0 0 65px rgba(65, 105, 225, 0.15),
        0 0 85px rgba(65, 105, 225, 0.08);
    transition: all 0.2s ease;
}


/* Shimmer animation for button internal effect */
/* Shimmer: width 26%, moves from translateX(-100%) to translateX(400%) */
/* Forward: left to right (for hiding elements) */
@keyframes shimmer-sync {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    92% {
        opacity: 1;
    }
    100% {
        transform: translateX(400%);
        opacity: 0;
    }
}

/* Reverse: right to left (for revealing elements) */
@keyframes shimmer-sync-reverse {
    0% {
        transform: translateX(400%);
        opacity: 0;
    }
    8% {
        opacity: 1;
    }
    92% {
        opacity: 1;
    }
    100% {
        transform: translateX(-100%);
        opacity: 0;
    }
}

/* Prevent hover effects during animation */
.hero-live-exchange-list .live-exchange-item.cooldown-active-clear:hover .live-exchange-element[style*="visibility: hidden"],
.hero-live-exchange-list .live-exchange-item.cooldown-active-clear:hover .live-exchange-element[style*="visibility:hidden"],
.hero-live-exchange-list .live-exchange-item.cooldown-active-reveal:hover .live-exchange-element[style*="visibility: hidden"],
.hero-live-exchange-list .live-exchange-item.cooldown-active-reveal:hover .live-exchange-element[style*="visibility:hidden"] {
    visibility: hidden !important;
    opacity: 0 !important;
}

/* Переписанная структура для корректного отображения элементов в порядке:
   1. Иконка валюты которую отдали
   2. Сумма которую отдали
   3. Валюта которую отдали (код)
   4. Стрелочка вправо
   5. Иконка второй валюты
   6. Сумма второй валюты
   7. Валюта (код)
   8. Время
*/

.hero-live-exchange-list .live-exchange-info {
    display: flex;
    align-items: center;
    flex: 1;
    min-width: 0;
    position: relative;
    gap: 0;
    overflow: hidden;
}

/* Иконка первой валюты (которую отдали) - порядок 1 */
.hero-live-exchange-list .live-exchange-element[data-index="0"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Контейнер для сумм - содержит сумму первой валюты, стрелку, иконку и сумму второй валюты */
.hero-live-exchange-list .live-exchange-amounts {
    display: grid;
    align-items: center;
    column-gap: var(--live-gap, 0.18rem);
    flex: 1;
    min-width: 0;
    position: relative;
    margin-left: 0;
    overflow: hidden;
    grid-template-columns: minmax(0, var(--live-left-fr, 1fr)) auto minmax(0, var(--live-right-fr, 1fr));
}

.hero-live-exchange-list .live-exchange-side {
    display: flex;
    align-items: center;
    gap: var(--live-side-gap, 0.3rem);
    min-width: 0;
    overflow: hidden;
    justify-self: stretch;
}

.hero-live-exchange-list .live-exchange-side-from {
    justify-content: flex-end;
    grid-column: 1;
}

.hero-live-exchange-list .live-exchange-side-to {
    justify-content: flex-start;
    grid-column: 3;
}

/* Сумма и код первой валюты (которую отдали) - порядок 2 */
.hero-live-exchange-list .live-exchange-amounts .live-exchange-element[data-index="1"] {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Стрелочка - порядок 4 */
.hero-live-exchange-list .live-exchange-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    opacity: 0.8;
    width: 16px;
    text-align: center;
    margin: 0;
    flex: 0 0 auto;
    position: static;
    grid-column: 2;
    justify-self: center;
    align-self: center;
    padding: 0;
    pointer-events: none;
    z-index: 2;
}

.hero-live-exchange-list .live-exchange-arrow img {
    width: 14px;
    height: 14px;
    display: block;
}

/* Иконка второй валюты - порядок 5 */
.hero-live-exchange-list .live-exchange-amounts .live-exchange-element[data-index="2"] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 0;
}

/* Сумма и код второй валюты - порядок 6 */
.hero-live-exchange-list .live-exchange-amounts .live-exchange-element[data-index="3"] {
    display: block;
    flex: 1 1 0;
    min-width: 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Время - порядок 8 */
.hero-live-exchange-list .live-exchange-time {
    font-size: 0.7rem;
    color: var(--text-secondary);
    text-align: right;
    font-weight: 400;
    line-height: 1.2;
    flex-shrink: 0;
    white-space: nowrap;
    margin-left: 0.5rem;
}

.hero-live-exchange-list .live-exchange-item.live-exchange-compact {
    gap: 0.45rem;
}

.hero-live-exchange-list .live-exchange-item.live-exchange-compact .live-exchange-info {
    gap: 0;
}

.hero-live-exchange-list .live-exchange-item.live-exchange-compact .live-exchange-amounts {
    column-gap: var(--live-gap, 0.12rem);
    margin-left: 0;
}

.hero-live-exchange-list .live-exchange-item.live-exchange-compact .live-exchange-arrow {
    width: 14px;
    margin: 0;
    font-size: 0.9rem;
    padding: 0;
}

.hero-live-exchange-list .live-exchange-item.live-exchange-compact .live-exchange-amounts .live-exchange-element[data-index="2"] {
    margin-left: 0;
}

.hero-live-exchange-list .live-exchange-item.live-exchange-compact .live-exchange-side {
    gap: var(--live-side-gap, 0.22rem);
}

.hero-live-exchange-list .live-exchange-item.live-exchange-compact {
    --live-gap: 0.12rem;
    --live-side-gap: 0.12rem;
}

.hero-live-exchange-list .live-exchange-item.live-exchange-compact .live-exchange-amounts .live-exchange-element[data-index="1"],
.hero-live-exchange-list .live-exchange-item.live-exchange-compact .live-exchange-amounts .live-exchange-element[data-index="3"] {
    font-size: 0.85rem;
    letter-spacing: -0.01em;
}

.hero-live-exchange-list .live-exchange-item.live-exchange-compact .live-exchange-time {
    margin-left: 0.5rem;
}

.hero-live-exchange-list .live-exchange-text-reveal {
    transition: opacity 0.2s ease;
    display: inline-block;
}

.hero-live-exchange-list .live-exchange-time-reveal {
    transition: opacity 0.2s ease;
}


/* Старые стили для .hero-live-exchange-list .currency-logo и .currency-flag больше не используются,
   так как теперь используется универсальная система .currency-icon-container */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Popular Pairs Section */
.popular-pairs-section {
    padding: 60px 0;
    background: var(--bg-primary);
}

.popular-pairs-section .section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2.5rem;
}

.popular-pairs-section .popular-pairs-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: auto;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

@media (max-width: 1200px) {
    .popular-pairs-section .popular-pairs-list {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .popular-pairs-section .popular-pairs-list {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .popular-pairs-section .popular-pairs-list {
        grid-template-columns: 1fr;
    }
}

.popular-pair-item {
    background: rgba(26, 35, 50, 0.6);
    border-radius: 14px;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease, transform 0.6s ease;
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
}

.popular-pair-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.popular-pair-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05) 0%, rgba(65, 105, 225, 0) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.popular-pair-item.visible:hover {
    transform: translateY(-3px);
    border-color: rgba(100, 149, 237, 0.4);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(65, 105, 225, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.popular-pair-item:hover::before {
    opacity: 1;
}

.popular-pair-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.popular-pair-from,
.popular-pair-to {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
    min-width: 0;
}

.popular-pair-arrow {
    color: rgba(100, 149, 237, 0.7);
    font-size: 1.25rem;
    flex-shrink: 0;
    font-weight: 300;
    transition: color 0.25s ease, transform 0.25s ease;
}

.popular-pair-item:hover .popular-pair-arrow {
    color: var(--primary-color);
    transform: translateX(2px);
}

/* Старые стили для .popular-pair-from/.popular-pair-to .currency-logo и .currency-flag больше не используются,
   так как теперь используется универсальная система .currency-icon-container */

.currency-info {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
    flex: 1;
}

.currency-code {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.currency-name {
    font-size: 0.65rem;
    color: var(--text-muted);
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.popular-pair-details {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.popular-pair-rate {
    font-size: 0.8rem;
    color: var(--text-light);
    font-weight: 600;
    line-height: 1.3;
    flex: 1;
    min-width: 0;
}

.popular-pair-fee {
    font-size: 0.7rem;
    color: var(--text-muted);
    padding: 0.25rem 0.5rem;
    background: rgba(100, 149, 237, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(100, 149, 237, 0.2);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Live Exchanges Section */
.live-exchanges-section {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.live-exchanges-section .section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 3rem;
}

.live-exchanges-section .section-header .live-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 12px rgba(65, 105, 225, 0.6);
    animation: pulse 2s ease infinite;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    margin: 0;
    letter-spacing: -0.02em;
    line-height: 1.2;
    background: linear-gradient(135deg, var(--text-primary) 0%, var(--text-secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--text-secondary);
    text-align: center;
    margin: 1.25rem auto 3rem;
    max-width: 800px;
    line-height: 1.7;
}

/* Advantages Section */
.advantages {
    padding: 60px 0;
    background: 
        radial-gradient(1200px 500px at 20% 30%, rgba(100, 149, 237, 0.12), transparent 60%),
        radial-gradient(1000px 400px at 80% 70%, rgba(65, 105, 225, 0.1), transparent 60%),
        linear-gradient(180deg, rgba(26, 35, 50, 0.95) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

.advantage-card {
    background: rgba(26, 35, 50, 0.7);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
}

.advantage-card {
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.advantage-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.advantage-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05) 0%, rgba(65, 105, 225, 0) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.advantage-card:hover {
    transform: translateY(-4px);
    border-color: rgba(100, 149, 237, 0.5);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(65, 105, 225, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: rgba(26, 35, 50, 0.85);
}

.advantage-card:hover::before {
    opacity: 1;
}

.advantage-icon {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    opacity: 0.9;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.advantage-card:hover .advantage-icon {
    opacity: 1;
    transform: scale(1.05);
}

.advantage-icon img {
    width: 100%;
    height: 100%;
    display: block;
    filter: brightness(1.1);
}

.advantage-card h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    line-height: 1.3;
}

.advantage-card p {
    color: var(--text-muted);
    line-height: 1.5;
    font-size: 0.85rem;
    margin: 0;
    flex: 1;
}

@media (max-width: 1200px) {
    .advantages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .advantages-grid {
        grid-template-columns: 1fr;
    }
}

/* Reserves Section */
.reserves-section {
    padding: 60px 0;
    background: radial-gradient(1000px 380px at 15% 10%, rgba(65, 105, 225, 0.08), transparent 60%),
        var(--bg-primary);
    position: relative;
}

.reserves-section .section-description {
    margin-bottom: 2rem;
}

.reserves-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.reserve-filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(26, 35, 50, 0.6);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.reserve-filter-btn:hover {
    border-color: rgba(100, 149, 237, 0.4);
    color: var(--text-primary);
    background: rgba(26, 35, 50, 0.8);
}

.reserve-filter-btn.active {
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.3), rgba(100, 149, 237, 0.2));
    border-color: rgba(100, 149, 237, 0.5);
    color: var(--text-primary);
}

.reserves-list-wrapper {
    position: relative;
    overflow: hidden;
    max-height: 400px;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.reserves-list-wrapper.expanded {
    max-height: none;
}

.reserves-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.7rem;
}

.reserve-card {
    background: rgba(26, 35, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.65rem 0.8rem;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-height: 62px;
    backdrop-filter: blur(10px) saturate(170%);
    -webkit-backdrop-filter: blur(10px) saturate(170%);
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
}

.reserve-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.reserve-card.hidden {
    display: none;
}

.reserve-title {
    margin: 0;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.reserve-amount {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.reserves-toggle-btn {
    position: sticky;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(100, 149, 237, 0.4);
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.2), rgba(100, 149, 237, 0.15));
    color: var(--text-primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 10;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.reserves-toggle-btn:hover {
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.3), rgba(100, 149, 237, 0.25));
    border-color: rgba(100, 149, 237, 0.6);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.reserves-toggle-btn svg {
    transition: transform 0.3s ease;
}

.reserves-toggle-btn.expanded svg {
    transform: rotate(180deg);
}

@media (max-width: 768px) {
    .reserves-filters {
        gap: 0.5rem;
    }

    .reserve-filter-btn {
        padding: 0.45rem 0.8rem;
        font-size: 0.8rem;
    }

    .reserves-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 0.6rem;
    }

    .reserves-toggle-btn {
        bottom: 15px;
        padding: 0.65rem 1.2rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 768px) {
    .reserves-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .reserves-list {
        grid-template-columns: 1fr;
    }
}

/* Map Section */
.map-section {
    padding: 60px 0;
    background: radial-gradient(1000px 380px at 85% 10%, rgba(65, 105, 225, 0.08), transparent 60%),
        var(--bg-primary);
    position: relative;
}

.map-section .section-description {
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.map-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.map-container {
    position: relative;
    max-width: 1200px;
    width: 100%;
    height: 350px;
    border-radius: 20px;
    overflow: hidden;
    background: rgba(26, 35, 50, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(65, 105, 225, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-container:hover {
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(65, 105, 225, 0.2);
    transform: translateY(-2px);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

.map-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-info-card {
    background: rgba(26, 35, 50, 0.6);
    padding: 1.5rem;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.map-info-card:hover {
    transform: translateY(-2px);
    border-color: rgba(100, 149, 237, 0.4);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(65, 105, 225, 0.15);
}

.map-info-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
}

.map-info-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1100px) {
    .map-container {
        height: 320px;
    }
}

@media (max-width: 768px) {
    .map-section {
        padding: 50px 0;
    }

    .map-container {
        height: 300px;
        border-radius: 16px;
    }

    .map-section .section-description {
        font-size: 0.95rem;
        margin-bottom: 2rem;
    }
}

/* How It Works Section */
.how-it-works {
    padding: 60px 0;
    background: 
        radial-gradient(1100px 450px at 50% 20%, rgba(65, 105, 225, 0.08), transparent 70%),
        var(--bg-primary);
    position: relative;
}

.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2.5rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.step {
    background: rgba(26, 35, 50, 0.7);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
}

.step {
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    min-height: 180px;
    text-align: left;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.step.visible {
    opacity: 1;
    transform: translateY(0);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05) 0%, rgba(65, 105, 225, 0) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}

.step:hover {
    transform: translateY(-4px);
    border-color: rgba(100, 149, 237, 0.5);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(65, 105, 225, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: rgba(26, 35, 50, 0.85);
}

.step:hover::before {
    opacity: 1;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.9), rgba(100, 149, 237, 0.9));
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.step h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.step p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.step-arrow {
    display: none;
}

@media (max-width: 1200px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .steps {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .steps {
        grid-template-columns: 1fr;
    }
}

/* Premium Support Section */
.premium-support {
    padding: 60px 0;
    background: 
        radial-gradient(1200px 500px at 20% 30%, rgba(100, 149, 237, 0.12), transparent 60%),
        radial-gradient(1000px 400px at 80% 70%, rgba(65, 105, 225, 0.1), transparent 60%),
        linear-gradient(180deg, rgba(26, 35, 50, 0.95) 0%, var(--bg-secondary) 100%);
    position: relative;
    overflow: hidden;
}

.premium-support::before {
    content: '';
    position: absolute;
    bottom: -300px;
    left: 50%;
    transform: translateX(-50%);
    width: 1400px;
    height: 1400px;
    background: radial-gradient(circle, rgba(255, 176, 0, 0.3) 0%, rgba(255, 199, 0, 0.18) 20%, rgba(255, 176, 0, 0.1) 35%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.premium-support > .container {
    position: relative;
    z-index: 1;
}

.premium-support::before {
    content: '';
    position: absolute;
    bottom: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(255, 176, 0, 0.25) 0%, rgba(255, 199, 0, 0.15) 20%, rgba(255, 176, 0, 0.08) 35%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.premium-support > .container {
    position: relative;
    z-index: 1;
}

.premium-support-card {
    background: rgba(26, 35, 50, 0.6);
    border-radius: 14px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.15),
        0 0 20px rgba(65, 105, 225, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    position: relative;
    overflow: hidden;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 1040px;
    margin: 0 auto;
}

.premium-support-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(65, 105, 225, 0.05) 0%, rgba(65, 105, 225, 0) 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}


.premium-support-card:hover {
    transform: translateY(-3px);
    border-color: rgba(100, 149, 237, 0.4);
}

.premium-support-card:hover::before {
    opacity: 1;
}

.premium-support-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.75rem;
    background: linear-gradient(135deg, rgba(255, 176, 0, 0.2) 0%, rgba(255, 199, 0, 0.15) 100%);
    border: 1px solid rgba(255, 176, 0, 0.3);
    border-radius: 50px;
    font-size: 0.7rem;
    margin-bottom: 0.75rem;
}

.premium-star {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.premium-star img {
    width: 100%;
    height: 100%;
    display: block;
}

.premium-badge-text {
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.premium-support-content {
    display: grid;
    grid-template-columns: minmax(320px, 1.15fr) minmax(260px, 1fr);
    gap: 1.25rem;
    align-items: stretch;
}

.premium-support-left {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    min-height: 0;
    align-items: flex-start;
    text-align: left;
    height: 100%;
}

.premium-support-header-left {
    margin-bottom: 0;
    margin-top: 0;
    padding-top: 0.5rem;
    display: flex;
    justify-content: flex-start;
}

.premium-support-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    line-height: 1.35;
}

.premium-support-description {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
    max-width: 560px;
}

.btn-premium {
    background: linear-gradient(135deg, 
        var(--gold-dark) 0%, 
        var(--gold-dark) 42%, 
        var(--gold-color) 46%, 
        var(--gold-light) 49%, 
        var(--gold-light) 51%, 
        var(--gold-color) 54%, 
        var(--gold-dark) 58%, 
        var(--gold-dark) 100%);
    background-size: 400% 400%;
    color: white;
    border: 1px solid transparent;
    box-sizing: border-box;
    padding: 0.75rem 1.25rem;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    box-shadow: 
        0 0 12px rgba(255, 176, 0, 0.22),
        0 0 22px rgba(255, 176, 0, 0.14),
        0 6px 16px rgba(0, 0, 0, 0.16);
    animation: none;
    align-self: flex-start;
    margin-top: 0.5rem;
    transform-origin: center;
    will-change: transform, box-shadow;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.btn-premium::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent 0%,
        transparent 30%,
        rgba(255, 245, 220, 0.2) 40%,
        rgba(255, 255, 255, 0.5) 48%,
        rgba(255, 245, 220, 0.2) 56%,
        transparent 70%,
        transparent 100%
    );
    mask: linear-gradient(45deg,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 25%,
        rgba(0, 0, 0, 0.3) 35%,
        rgba(0, 0, 0, 0.8) 45%,
        rgba(0, 0, 0, 1) 50%,
        rgba(0, 0, 0, 0.8) 55%,
        rgba(0, 0, 0, 0.3) 65%,
        rgba(0, 0, 0, 0.05) 75%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(45deg,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 25%,
        rgba(0, 0, 0, 0.3) 35%,
        rgba(0, 0, 0, 0.8) 45%,
        rgba(0, 0, 0, 1) 50%,
        rgba(0, 0, 0, 0.8) 55%,
        rgba(0, 0, 0, 0.3) 65%,
        rgba(0, 0, 0, 0.05) 75%,
        transparent 100%
    );
    opacity: 0.85;
    filter: brightness(1.2) saturate(1.2);
    transform: translateX(-150%) translateY(-150%) rotate(45deg);
    animation: diagonal-shine-horizontal 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Единый фирменный hover: усиление свечения (короткое, как тень калькулятора) */
.btn-premium:hover:not(:disabled) {
    border-color: rgba(255, 176, 0, 0.6);
    /* Убрано background-position - конфликтует с gradient-flow анимацией */
    animation-play-state: paused;
}

/* Единый фирменный active */
.btn-premium:active:not(:disabled) {
    transform: scale(0.88) !important;
    animation-play-state: paused;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        0 0 24px rgba(255, 176, 0, 0.45),
        0 0 48px rgba(255, 176, 0, 0.22);
    opacity: 0;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: -1;
}

.btn-premium:hover:not(:disabled)::after {
    opacity: 1;
}

.btn-premium:active:not(:disabled)::after {
    opacity: 0.75;
}

.btn-premium svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.premium-support-right {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
    text-align: left;
    height: 100%;
}

.premium-features-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
}

.premium-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    align-items: flex-start;
    flex: 1;
    justify-content: space-between;
}

.premium-feature-item {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.6;
    padding-left: 1.4rem;
    position: relative;
    text-align: left;
}

.premium-feature-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-color);
    font-weight: 700;
}

/* Reviews Section */
.reviews {
    padding: 100px 0;
    background: 
        radial-gradient(1100px 450px at 50% 50%, rgba(65, 105, 225, 0.08), transparent 70%),
        var(--bg-primary);
    position: relative;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.reviews-button-container {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.reviews-all-btn {
    min-width: 250px;
}

@media (max-width: 1200px) {
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.review-card {
    background: rgba(26, 35, 50, 0.7);
    padding: 1rem 1.25rem;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: auto;
    height: auto;
}

.review-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.review-card:hover {
    transform: translateY(-6px);
    border-color: rgba(100, 149, 237, 0.5);
    box-shadow: 
        0 12px 36px rgba(0, 0, 0, 0.25),
        0 0 30px rgba(65, 105, 225, 0.2);
    background: rgba(26, 35, 50, 0.85);
}

.review-card.visible:hover {
    transform: translateY(-6px);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.review-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.review-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.2rem 0;
}

.review-stars {
    color: var(--gold-color);
    font-size: 0.9rem;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 0.5rem;
    font-style: italic;
    font-size: 0.9rem;
    flex: 1;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQ Section */
.faq {
    padding: 60px 0;
    background: 
        radial-gradient(1200px 500px at 20% 30%, rgba(100, 149, 237, 0.12), transparent 60%),
        radial-gradient(1000px 400px at 80% 70%, rgba(65, 105, 225, 0.1), transparent 60%),
        linear-gradient(180deg, rgba(26, 35, 50, 0.95) 0%, var(--bg-secondary) 100%);
    position: relative;
}

.faq-list {
    max-width: 1400px;
    margin: 2.5rem auto 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.faq-item {
    background: rgba(26, 35, 50, 0.7);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.6s ease, transform 0.6s ease;
    opacity: 0;
    transform: translateY(30px);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    position: relative;
    padding: 1rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.faq-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.faq-item:hover {
    border-color: rgba(100, 149, 237, 0.5);
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(65, 105, 225, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    background: rgba(26, 35, 50, 0.85);
}

.faq-item.active {
    border-color: rgba(100, 149, 237, 0.6);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    gap: 0.75rem;
}

.faq-question h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    line-height: 1.4;
    flex: 1;
}

.faq-answer {
    padding: 0;
    overflow: hidden;
}

.faq-answer p {
    color: var(--text-muted);
    line-height: 1.5;
    margin: 0;
    font-size: 0.88rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@media (max-width: 1200px) {
    .faq-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .faq-list {
        grid-template-columns: 1fr;
    }
}

/* Footer */
.footer {
    background: var(--bg-dark);
    padding: 40px 0 10px;
}

.footer-panel {
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-layout {
    display: grid;
    grid-template-columns: minmax(320px, 1.35fr) minmax(180px, 0.75fr) minmax(240px, 0.9fr);
    gap: 1.1rem;
    align-items: start;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-logo-text {
    font-size: clamp(1.6rem, 1.6vw + 0.9rem, 2.3rem);
    line-height: 1.05;
}

.footer-tagline {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin: 0;
    line-height: 1.35;
    max-width: 520px;
}

.footer-advantages {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
    margin-top: 0.35rem;
    max-width: 420px;
    justify-content: start;
}

.footer-adv-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 0.45rem 0.6rem;
}

.footer-adv-card h5 {
    margin: 0;
    font-size: 0.78rem;
    line-height: 1.15;
    color: var(--text-primary);
}

.footer-adv-card p {
    margin: 0.18rem 0 0;
    font-size: 0.72rem;
    line-height: 1.2;
    color: var(--text-muted);
    white-space: nowrap;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    min-width: 0;
}

.footer-nav {
    justify-self: center;
}

.footer-column h4 {
    color: var(--text-muted);
    font-size: 0.68rem;
    font-weight: 600;
    margin: 0;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.footer-links li {
    color: var(--text-secondary);
    font-size: 0.75rem;
    line-height: 1.4;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contacts {
    gap: 0.7rem;
}

.footer-contact-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 0.2rem;
}

.footer-contact-label {
    font-size: 0.88rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.footer-buttons-row {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 0.25rem;
}

.footer-telegram-btn {
    flex: 1;
    min-width: 0;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0.25rem 0.75rem !important;
    font-size: 0.8rem;
}

.footer-contact-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-bottom: 0;
}

.footer-contact-card {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.7rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 600;
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.footer-contact-card:hover {
    transform: translateY(-1px);
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.footer-contact-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-icon img {
    width: 18px;
    height: 18px;
    display: block;
}

.footer-worktime {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-primary);
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.footer-calc-btn {
    flex: 1;
    min-width: 0;
    height: 32px !important;
    min-height: 32px !important;
    max-height: 32px !important;
    padding: 0.25rem 0.75rem !important;
    font-size: 0.8rem;
    line-height: 1;
    position: relative;
    overflow: hidden;
}

.footer-calc-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent 0%,
        transparent 30%,
        rgba(255, 245, 220, 0.2) 40%,
        rgba(255, 255, 255, 0.5) 48%,
        rgba(255, 245, 220, 0.2) 56%,
        transparent 70%,
        transparent 100%
    );
    mask: linear-gradient(45deg,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 25%,
        rgba(0, 0, 0, 0.3) 35%,
        rgba(0, 0, 0, 0.8) 45%,
        rgba(0, 0, 0, 1) 50%,
        rgba(0, 0, 0, 0.8) 55%,
        rgba(0, 0, 0, 0.3) 65%,
        rgba(0, 0, 0, 0.05) 75%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(45deg,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 25%,
        rgba(0, 0, 0, 0.3) 35%,
        rgba(0, 0, 0, 0.8) 45%,
        rgba(0, 0, 0, 1) 50%,
        rgba(0, 0, 0, 0.8) 55%,
        rgba(0, 0, 0, 0.3) 65%,
        rgba(0, 0, 0, 0.05) 75%,
        transparent 100%
    );
    opacity: 0.85;
    filter: brightness(1.2) saturate(1.2);
    transform: translateX(-150%) translateY(-150%) rotate(45deg);
    animation: diagonal-shine-horizontal 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

.footer-rights {
    color: var(--text-muted);
    font-size: 0.78rem;
    margin: 0.5rem 0 0;
}

@media (max-width: 1100px) {
    .footer-layout {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .footer-left {
        grid-column: 1 / -1;
    }

    .footer-nav {
        justify-self: start;
    }

    .footer-contact-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .footer-buttons-row {
        width: 100%;
    }

    .footer-telegram-btn,
    .footer-calc-btn {
        flex: 1;
        min-width: 0;
    }

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

@media (max-width: 720px) {
    .footer-layout {
        grid-template-columns: 1fr;
    }

    .footer-advantages {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .footer-adv-card p {
        white-space: normal;
    }
}

@media (max-width: 900px) {
    .footer-nav {
        justify-self: start;
    }
}

/* Currency Modal */
.currency-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    pointer-events: none;
}

.currency-modal.active {
    display: flex;
    pointer-events: auto;
    opacity: 1;
    animation: modalFadeIn 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.currency-modal.active.closing {
    animation: modalFadeOut 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.currency-modal-content {
    background: rgba(25, 30, 40, 0.5);
    backdrop-filter: blur(40px) saturate(180%);
    -webkit-backdrop-filter: blur(40px) saturate(180%);
    border-radius: 20px;
    width: 100%;
    max-width: 500px;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.05),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    opacity: 0;
    transform: scale(0.95) translateY(20px);
}

.currency-modal.active .currency-modal-content {
    animation: modalContentSlideIn 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.currency-modal.active .currency-modal-content.closing {
    animation: modalContentSlideOut 0.25s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.currency-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.625rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.currency-modal-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    letter-spacing: -0.01em;
}

.currency-modal-header-actions {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.currency-base-currency-btn {
    background: rgba(30, 40, 50, 0.5);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 4px rgba(0, 0, 0, 0.15),
        0 0 8px rgba(65, 105, 225, 0.21),
        0 0 15px rgba(65, 105, 225, 0.14);
    transform-origin: center;
    will-change: transform, box-shadow;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Единый фирменный hover: усиление свечения (короткое, как тень калькулятора) */
.currency-base-currency-btn:hover:not(:disabled) {
    background: rgba(30, 40, 50, 0.7);
    border-color: rgba(65, 105, 225, 0.5);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.2),
        0 0 15px rgba(65, 105, 225, 0.35),
        0 0 30px rgba(65, 105, 225, 0.2),
        0 0 0 1px rgba(65, 105, 225, 0.6);
    transform: scale(0.96);
}

/* Единый фирменный active */
.currency-base-currency-btn:active:not(:disabled) {
    transform: scale(0.88) !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 2px 4px rgba(0, 0, 0, 0.15),
        0 0 12px rgba(65, 105, 225, 0.3),
        0 0 24px rgba(65, 105, 225, 0.15),
        0 0 0 1px rgba(65, 105, 225, 0.55);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.base-currency-icon {
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.base-currency-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.base-currency-description {
    margin: 0.75rem 1.25rem 0.5rem;
    padding: 0;
    font-size: 0.8125rem;
    color: var(--text-secondary);
    line-height: 1.4;
    opacity: 0.8;
}

.base-currency-check {
    font-size: 1.125rem;
    color: var(--primary-color);
    font-weight: 600;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: rgba(65, 105, 225, 0.15);
}

.currency-modal-close {
    background: rgba(30, 40, 50, 0.4);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 1.375rem;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    opacity: 0.8;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 8px rgba(65, 105, 225, 0.21),
        0 0 15px rgba(65, 105, 225, 0.14);
    transform-origin: center;
    will-change: transform, box-shadow, opacity;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Единый фирменный hover: усиление свечения (короткое, как тень калькулятора) */
.currency-modal-close:hover:not(:disabled) {
    background: rgba(30, 40, 50, 0.6);
    border-color: rgba(65, 105, 225, 0.4);
    color: var(--text-primary);
    opacity: 1;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.15),
        0 0 15px rgba(65, 105, 225, 0.35),
        0 0 30px rgba(65, 105, 225, 0.2),
        0 0 0 1px rgba(65, 105, 225, 0.6);
    transform: scale(0.96);
}

/* Единый фирменный active */
.currency-modal-close:active:not(:disabled) {
    transform: scale(0.88) !important;
    opacity: 0.9;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 2px 4px rgba(0, 0, 0, 0.12),
        0 0 12px rgba(65, 105, 225, 0.3),
        0 0 24px rgba(65, 105, 225, 0.15),
        0 0 0 1px rgba(65, 105, 225, 0.55);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                opacity 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.currency-modal-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 0;
    overflow: hidden;
    align-items: center;
    position: relative;
}

.currency-modal-body .currency-search {
    margin: 0.625rem 1.25rem 0.5rem;
    padding: 0.5rem 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    font-size: 0.8125rem;
    outline: none;
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    color: var(--text-primary);
    transition: all 0.2s ease;
    width: calc(100% - 2.5rem);
    max-width: calc(100% - 2.5rem);
    box-sizing: border-box;
    flex-shrink: 0;
    align-self: center;
    box-shadow: 
        inset 0 1px 2px rgba(0, 0, 0, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.04);
}

.currency-modal-body .currency-search:focus {
    border-color: rgba(65, 105, 225, 0.4);
    box-shadow: 
        0 0 0 2px rgba(65, 105, 225, 0.12),
        inset 0 1px 2px rgba(0, 0, 0, 0.15),
        0 1px 0 rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.06);
}

.currency-modal-body .currency-tabs {
    margin: 0.5rem 1.25rem 0.5rem;
    padding: 0;
    width: calc(100% - 2.5rem);
    max-width: calc(100% - 2.5rem);
    box-sizing: border-box;
    flex-shrink: 0;
    display: flex;
    gap: 0.375rem;
    align-self: center;
    /* Предотвращаем выход за границы */
    min-width: 0;
}

.currency-tab {
    flex: 1;
    padding: 0.4375rem 0.625rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(30, 40, 50, 0.4);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    /* Предотвращаем выход за границы */
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.01em;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 6px rgba(65, 105, 225, 0.175),
        0 0 13px rgba(65, 105, 225, 0.105);
    transform-origin: center;
    will-change: transform, box-shadow;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.currency-tab.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 6px rgba(65, 105, 225, 0.3),
        0 0 11px rgba(65, 105, 225, 0.28),
        0 0 21px rgba(65, 105, 225, 0.175);
}

/* Единый фирменный hover: усиление свечения (короткое, как тень калькулятора) */
.currency-tab:hover:not(:disabled) {
    background: rgba(30, 40, 50, 0.6);
    border-color: rgba(65, 105, 225, 0.5);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.15),
        0 0 15px rgba(65, 105, 225, 0.35),
        0 0 30px rgba(65, 105, 225, 0.2),
        0 0 0 1px rgba(65, 105, 225, 0.6);
    transform: scale(0.96);
}

.currency-tab.active:hover:not(:disabled) {
    background: var(--primary-hover);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 2px 8px rgba(65, 105, 225, 0.4),
        0 0 15px rgba(65, 105, 225, 0.35),
        0 0 30px rgba(65, 105, 225, 0.2),
        0 0 0 1px rgba(65, 105, 225, 0.65);
    transform: scale(0.96);
}

/* Единый фирменный active */
.currency-tab:active:not(:disabled) {
    transform: scale(0.88) !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.06),
        0 2px 4px rgba(0, 0, 0, 0.12),
        0 0 12px rgba(65, 105, 225, 0.3),
        0 0 24px rgba(65, 105, 225, 0.15),
        0 0 0 1px rgba(65, 105, 225, 0.55);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.currency-modal-body {
    position: relative;
}

.currency-modal-body .currency-list {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 0.75rem 1.25rem 0.5rem;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    /* Полностью скрываем скроллбар */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

/* Полностью скрываем скроллбар в WebKit */
.currency-modal-body .currency-list::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
    background: transparent;
}

/* Стеклянные контейнеры для валют в стиле Apple с фирменным стилем */
.currency-item {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.625rem 0.875rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 0.375rem;
    
    /* Предотвращаем выход за границы */
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
    
    /* Glassmorphism эффект в стиле Apple с фирменным свечением */
    background: rgba(30, 40, 50, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        0 2px 4px rgba(0, 0, 0, 0.15),
        0 0 6px rgba(65, 105, 225, 0.3),
        0 0 11px rgba(65, 105, 225, 0.2);
    
    transform: scale(1);
    position: relative;
    z-index: 1;
}

.currency-item:hover {
    background: rgba(30, 40, 50, 0.6);
    border-color: rgba(65, 105, 225, 0.5);
    /* Фирменная press-down анимация */
    transform: scale(0.95) !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 2px 6px rgba(0, 0, 0, 0.2),
        0 0 8px rgba(65, 105, 225, 0.5),
        0 0 18px rgba(65, 105, 225, 0.3),
        0 0 28px rgba(65, 105, 225, 0.15),
        0 0 0 1px rgba(65, 105, 225, 0.5);
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.currency-item:active {
    /* Фирменная press-down анимация */
    transform: scale(0.92) !important;
    box-shadow: 
        inset 0 1px 2px rgba(0, 0, 0, 0.15),
        0 2px 4px rgba(0, 0, 0, 0.2),
        0 0 8px rgba(65, 105, 225, 0.4),
        0 0 0 1px rgba(65, 105, 225, 0.6);
}

.currency-item.active {
    background: rgba(65, 105, 225, 0.15);
    border-color: rgba(65, 105, 225, 0.5);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 6px rgba(65, 105, 225, 0.25),
        0 0 11px rgba(65, 105, 225, 0.28),
        0 0 21px rgba(65, 105, 225, 0.175),
        0 0 0 1px rgba(65, 105, 225, 0.4);
}

.currency-item.selected {
    background: rgba(65, 105, 225, 0.2) !important;
    border-color: rgba(65, 105, 225, 0.6) !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 2px 6px rgba(65, 105, 225, 0.3),
        0 0 13px rgba(65, 105, 225, 0.28),
        0 0 25px rgba(65, 105, 225, 0.175),
        0 0 0 2px rgba(65, 105, 225, 0.5) !important;
}

.currency-item.selected:hover {
    /* Фирменная press-down анимация */
    transform: scale(0.95) !important;
    background: rgba(65, 105, 225, 0.25) !important;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        0 2px 8px rgba(65, 105, 225, 0.4),
        0 0 13px rgba(65, 105, 225, 0.35),
        0 0 25px rgba(65, 105, 225, 0.21),
        0 0 39px rgba(65, 105, 225, 0.105),
        0 0 0 2px rgba(65, 105, 225, 0.6) !important;
}

.currency-item.active:hover {
    /* Фирменная press-down анимация */
    transform: scale(0.95) !important;
    background: rgba(65, 105, 225, 0.18);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 2px 6px rgba(65, 105, 225, 0.3),
        0 0 13px rgba(65, 105, 225, 0.35),
        0 0 25px rgba(65, 105, 225, 0.21),
        0 0 39px rgba(65, 105, 225, 0.105),
        0 0 0 1px rgba(65, 105, 225, 0.5);
}

/* Currency Modal - Logo, Flag, Symbol */
/* Старые стили для .currency-modal-logo, .currency-modal-flag и .currency-symbol больше не используются,
   так как теперь используется универсальная система .currency-icon-container */

/* Currency Modal - Rate Display */
.currency-rate-display {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.0625rem;
    flex-shrink: 0;
}

.currency-rate-value {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.25;
    letter-spacing: -0.01em;
}

.currency-rate-currency {
    font-size: 0.625rem;
    color: var(--text-secondary);
    line-height: 1.25;
    opacity: 0.7;
    letter-spacing: 0.01em;
}

/* Currency Modal - Info inside currency-item */
.currency-item .currency-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.0625rem;
    min-width: 0;
}

.currency-item .currency-name {
    font-weight: 500;
    color: var(--text-primary);
    font-size: 0.8125rem;
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.currency-item .currency-code {
    font-size: 0.6875rem;
    color: var(--text-secondary);
    line-height: 1.25;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    opacity: 0.7;
}


/* Currency Modal - Opening and Closing Animations */
@keyframes modalFadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes modalFadeOut {
    from {
        opacity: 1;
    }
    to {
        opacity: 0;
    }
}

@keyframes modalContentSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes modalContentSlideOut {
    from {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
    to {
        opacity: 0;
        transform: scale(0.95) translateY(20px);
    }
}

/* Shimmer Wave Elements (created dynamically in JS) */
.shimmer-wave-top,
.shimmer-wave-bottom {
    position: absolute;
    left: 0;
    width: 16px;
    height: 16px;
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    filter: blur(4px);
}

.shimmer-wave-top {
    top: -8px;
    background: linear-gradient(to bottom, rgba(65, 105, 225, 0.6) 0%, rgba(65, 105, 225, 0.4) 30%, rgba(65, 105, 225, 0.2) 60%, transparent 100%);
    border-radius: 8px 8px 0 0;
}

.shimmer-wave-bottom {
    bottom: -8px;
    background: linear-gradient(to top, rgba(65, 105, 225, 0.6) 0%, rgba(65, 105, 225, 0.4) 30%, rgba(65, 105, 225, 0.2) 60%, transparent 100%);
    border-radius: 0 0 8px 8px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: start;
    }
    
    .premium-support-content {
        grid-template-columns: 1fr;
    }

    .calculator-luxe .commission-row-title,
    .calculator-luxe .commission-row-note {
        white-space: normal;
    }
}

@media (max-width: 768px) {
    .calculator-luxe .commission-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background: rgba(15, 20, 25, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        transform: none;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .advantages-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .steps {
        flex-direction: column;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .trust-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Universal synchronized shimmer wave effect */
/* Usage: Add class 'shimmer-wave-container' to parent, 'shimmer-button' to button with shimmer */
.shimmer-wave-container {
    position: relative;
    overflow: visible;
}

.shimmer-wave-container:has(.shimmer-button.shimmer-active)::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 0;
    width: 16px;
    height: 16px;
    background: linear-gradient(
        to bottom,
        rgba(65, 105, 225, 0.6) 0%,
        rgba(65, 105, 225, 0.4) 30%,
        rgba(65, 105, 225, 0.2) 60%,
        transparent 100%
    );
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    filter: blur(4px);
    border-radius: 8px 8px 0 0;
    animation: shimmer-wave-sync 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               shimmer-wave-sync 2.5s cubic-bezier(0.4, 0, 0.2, 1) 2.5s forwards;
}

.shimmer-wave-container:has(.shimmer-button.shimmer-active)::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 16px;
    height: 16px;
    background: linear-gradient(
        to top,
        rgba(65, 105, 225, 0.6) 0%,
        rgba(65, 105, 225, 0.4) 30%,
        rgba(65, 105, 225, 0.2) 60%,
        transparent 100%
    );
    opacity: 0;
    z-index: -1;
    pointer-events: none;
    filter: blur(4px);
    border-radius: 0 0 8px 8px;
    animation: shimmer-wave-sync 2.5s cubic-bezier(0.4, 0, 0.2, 1) forwards,
               shimmer-wave-sync 2.5s cubic-bezier(0.4, 0, 0.2, 1) 2.5s forwards;
}

/* Shimmer button with internal shimmer effect */
.shimmer-button {
    position: relative;
    overflow: hidden;
}

.shimmer-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.1) 20%, 
        rgba(255, 255, 255, 0.25) 40%, 
        rgba(255, 255, 255, 0.35) 45%, 
        rgba(255, 255, 255, 0.4) 50%, 
        rgba(255, 255, 255, 0.35) 55%, 
        rgba(255, 255, 255, 0.25) 60%, 
        rgba(255, 255, 255, 0.1) 80%, 
        transparent 100%);
    opacity: 1;
    transform: translateX(-100%);
    transition: transform 0s ease;
    z-index: 0;
    pointer-events: none;
}

.shimmer-button.shimmer-active::before {
    transform: translateX(330%);
    transition: transform 2.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
}

/* Synchronized wave animation - calculated to match shimmer center position */
/* Shimmer: 30% width, moves from translateX(-100%) to translateX(330%) */
/* Shimmer center: from -85% to 315% relative to button width */
/* Wave position calculated: (shimmer_center + 100) / 4.3 to convert to 0-100% range */
@keyframes shimmer-wave-sync {
    0% {
        left: calc(((-85% + 100%) / 4.3));
        opacity: 0;
    }
    2.5% {
        opacity: 0.15;
    }
    5% {
        opacity: 0.4;
    }
    7.5% {
        opacity: 0.65;
    }
    10% {
        opacity: 0.85;
        left: calc(((0% + 100%) / 4.3));
    }
    15% {
        opacity: 1;
        left: calc(((50% + 100%) / 4.3));
    }
    20% {
        opacity: 1;
        left: calc(((100% + 100%) / 4.3));
    }
    30% {
        opacity: 1;
        left: calc(((150% + 100%) / 4.3));
    }
    40% {
        opacity: 1;
        left: calc(((200% + 100%) / 4.3));
    }
    50% {
        opacity: 1;
        left: calc(((250% + 100%) / 4.3));
    }
    60% {
        opacity: 1;
        left: calc(((280% + 100%) / 4.3));
    }
    70% {
        opacity: 1;
        left: calc(((300% + 100%) / 4.3));
    }
    80% {
        opacity: 1;
        left: calc(((310% + 100%) / 4.3));
    }
    85% {
        opacity: 0.85;
        left: calc(((312% + 100%) / 4.3));
    }
    90% {
        opacity: 0.65;
        left: calc(((314% + 100%) / 4.3));
    }
    95% {
        opacity: 0.4;
        left: calc(((315% + 100%) / 4.3));
    }
    100% {
        left: calc(((315% + 100%) / 4.3));
        opacity: 0;
    }
}

/* ============================================================
   Premium Calculator & Live Exchange Redesign
   ============================================================ */
.calculator-luxe {
    position: relative;
    display: flex;
    flex-direction: column;
    --calculator-top-gap: 14px;
    --calculator-field-gap: calc(10px + 0.75rem + 6px);
    gap: var(--calculator-top-gap);
    --calculator-padding: 20px;
    padding: var(--calculator-padding);
    border-radius: 18px;
    background: rgba(15, 20, 25, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: none;
    overflow: visible;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    contain: inline-size;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    z-index: 1;
    filter: none;
    isolation: isolate;
    transition: width 0.45s ease, max-width 0.45s ease, flex-basis 0.45s ease, height 0.45s ease;
}

.calculator-luxe {
    animation: fadeInUp 0.8s ease 0.3s both;
    transition: all 0.3s ease, width 0.45s ease, height 0.45s ease;
    flex-shrink: 0;
}

.calculator-luxe::before {
    content: none;
    background: none;
}

.calculator-luxe::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: transparent;
    box-shadow:
        0 0 14px rgba(0, 0, 0, 0.34),
        0 0 6px rgba(0, 0, 0, 0.22);
    pointer-events: none;
    z-index: 0;
}


.calculator-luxe > * {
    position: relative;
    z-index: 1;
}

.calculator-luxe .calculator-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.calculator-luxe .calculator-top {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.calculator-luxe .calculator-top .hero-live-exchange-chip {
    position: absolute;
    right: 0;
    top: calc(50% - (var(--calculator-padding) / 2));
    transform: translateY(-50%);
}

.calculator-luxe .calculator-title-wrap {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.calculator-luxe .calculator-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.calculator-luxe .calculator-subtitle {
    margin: 2px 0 0;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.calculator-luxe .calculator-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #d7e3ff;
    background: rgba(65, 105, 225, 0.18);
    border: 1px solid rgba(65, 105, 225, 0.35);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.28),
        0 2px 4px rgba(0, 0, 0, 0.2);
}

.calculator-luxe .calculator-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-light);
    box-shadow: 0 0 8px rgba(100, 149, 237, 0.7);
    animation: loadingPulse 1.4s ease-in-out infinite;
}

.calculator-luxe .calculator-body {
    display: flex;
    flex-direction: column;
    gap: var(--calculator-field-gap);
    padding-top: calc(var(--calculator-field-gap) - var(--calculator-top-gap));
}

.calculator-luxe .calculator-view {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.calculator-luxe .calculator-commission-view,
.calculator-luxe .calculator-currency-view,
.calculator-luxe .calculator-view,
.calculator-luxe .calculator-top {
    transition: opacity 0.25s ease;
    overflow: visible;
}

.calculator-luxe .calculator-commission-view {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
    opacity: 0;
    pointer-events: none;
    max-height: 600px;
    overflow: hidden;
}

.calculator-luxe .calculator-currency-view {
    display: none;
    flex-direction: column;
    gap: 12px;
    margin-top: 4px;
    opacity: 0;
    pointer-events: none;
    max-height: 600px;
    overflow: hidden;
}

.calculator-luxe .calculator-view,
.calculator-luxe .calculator-top {
    opacity: 1;
    pointer-events: auto;
}

.calculator-luxe.is-hide-calculator .calculator-view,
.calculator-luxe.is-hide-calculator .calculator-top {
    opacity: 0;
    pointer-events: none;
}

.calculator-luxe.is-show-commission .calculator-commission-view {
    opacity: 1;
    pointer-events: auto;
}

.calculator-luxe.is-show-currency .calculator-currency-view {
    opacity: 1;
    pointer-events: auto;
}

.calculator-luxe .currency-view-content {
    width: 100%;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    overflow: hidden;
}

.calculator-luxe .calculator-currency-view .currency-view-description {
    display: none;
}

.calculator-luxe .calculator-currency-view.is-base-currency .currency-view-description {
    display: block;
}

.calculator-luxe .calculator-currency-view.is-base-currency .currency-tabs {
    display: none;
}

.calculator-luxe .calculator-currency-view .currency-modal-body {
    align-items: stretch;
    gap: 6px;
}

.calculator-luxe .calculator-currency-view .currency-modal-body .currency-search {
    margin: 0.45rem 0.85rem 0.35rem;
    padding: 0.45rem 0.75rem;
    width: calc(100% - 1.7rem);
    max-width: calc(100% - 1.7rem);
}

.calculator-luxe .calculator-currency-view .currency-modal-body .currency-tabs {
    margin: 0.35rem 0.85rem 0.35rem;
    width: calc(100% - 1.7rem);
    max-width: calc(100% - 1.7rem);
}

.calculator-luxe .calculator-currency-view .currency-list {
    width: calc(100% - 1.7rem);
    max-width: calc(100% - 1.7rem);
    align-self: center;
}

.calculator-luxe .calculator-currency-view .currency-view-description {
    margin: 0.5rem 0.85rem 0.25rem;
    font-size: 0.75rem;
}

.calculator-luxe .calculator-currency-view {
    gap: 8px;
}

.calculator-luxe .currency-view-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
}

.calculator-luxe .currency-view-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(20, 26, 36, 0.65);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-luxe .currency-view-toggle-btn:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.25),
        0 0 8px rgba(65, 105, 225, 0.15);
    transform: scale(0.96);
}

.calculator-luxe .currency-view-toggle-btn:active:not(:disabled) {
    transform: scale(0.88) !important;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 0 6px rgba(65, 105, 225, 0.12);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-luxe .currency-input {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
}

.calculator-luxe .currency-input label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin: 0;
    text-align: left;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    line-height: 1;
    position: absolute;
    left: 0;
    top: calc(var(--calculator-field-gap) / -2);
    transform: translateY(-50%);
    z-index: 1;
}

.calculator-luxe .input-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(26, 35, 50, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    min-height: 46px;
    height: 46px;
}

.calculator-luxe .input-wrapper:not(.exchange-rate-wrapper):hover {
    border-color: rgba(100, 149, 237, 0.4);
    box-shadow: 0 0 0 1px rgba(100, 149, 237, 0.15);
}

.calculator-luxe .input-wrapper:not(.exchange-rate-wrapper):focus-within {
    border-color: rgba(100, 149, 237, 0.6);
    box-shadow: 0 0 0 1px rgba(100, 149, 237, 0.25);
}

.calculator-luxe .exchange-rate-wrapper:hover,
.calculator-luxe .exchange-rate-wrapper:focus-within {
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none !important;
}

.calculator-luxe .input-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-light);
    font-size: 1.05rem;
    font-weight: 600;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.calculator-luxe .input-wrapper input::placeholder {
    color: var(--text-muted);
}

.calculator-luxe .input-wrapper input[readonly] {
    color: var(--text-light);
}
.calculator-luxe .currency-btn-name,
.calculator-luxe .currency-btn-network {
    color: var(--text-light);
}


.calculator-luxe .currency-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 8px;
    border-radius: 12px;
    background: rgba(15, 20, 25, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    min-width: 120px;
    cursor: pointer;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    min-height: 46px;
    height: 46px;
    line-height: normal;
    transform-origin: center;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Единый фирменный hover: легкое прожимание + усиление свечения */
.calculator-luxe .currency-btn:hover:not(:disabled) {
    border-color: rgba(100, 149, 237, 0.5);
    box-shadow: 
        0 0 0 1px rgba(100, 149, 237, 0.2),
        0 0 12px rgba(65, 105, 225, 0.15);
    transform: scale(0.96);
}

/* Единый фирменный active */
.calculator-luxe .currency-btn:active:not(:disabled) {
    transform: scale(0.88) !important;
    box-shadow: 
        0 0 0 1px rgba(100, 149, 237, 0.15),
        0 0 8px rgba(65, 105, 225, 0.1);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-luxe .currency-btn .arrow {
    margin-left: auto;
    font-size: 0.75rem;
    opacity: 0.6;
}

.calculator-luxe .calculator-divider {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

.calculator-luxe .calculator-divider::before,
.calculator-luxe .calculator-divider::after {
    content: '';
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    flex: 1;
}

.calculator-luxe .exchange-rate-wrapper {
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(26, 35, 50, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    min-height: 46px;
    height: 46px;
    width: 100%;
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
}

.calculator-live-section .hero-live-exchange-luxe .live-exchange-item {
    background: rgba(26, 35, 50, 0.7);
    border-color: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 15px rgba(65, 105, 225, 0.28),
        0 0 30px rgba(65, 105, 225, 0.175);
}

.calculator-luxe .exchange-rate {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-light);
    width: 100%;
    background: transparent;
    border: none;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-radius: 0;
    min-height: 0;
    height: auto;
}

.calculator-luxe .rate-refresh-indicator {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    white-space: nowrap;
}

.calculator-luxe .rate-refresh-indicator.is-updating {
    color: rgba(100, 149, 237, 0.9);
}

.calculator-luxe .currency-input-rate .rate-refresh-indicator {
    position: absolute;
    right: 0;
    top: calc(var(--calculator-field-gap) / -2);
    transform: translateY(-50%);
}

.calculator-luxe .exchange-rate-row {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: space-between;
}

.calculator-luxe .commission-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.calculator-luxe .commission-toggle-btn {
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #4169e1, #6495ed);
    color: #fff;
    border: 1px solid rgba(140, 185, 255, 0.85);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transform-origin: center;
    will-change: transform;
    box-shadow:
        0 0 20px rgba(65, 105, 225, 0.32),
        0 0 40px rgba(65, 105, 225, 0.22),
        0 10px 24px rgba(0, 0, 0, 0.18);
    background-size: 100% 100%;
    position: relative;
    overflow: visible;
    z-index: 0;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Единый фирменный hover: легкое прожимание + усиление свечения */
.calculator-luxe .commission-toggle-btn:hover:not(:disabled) {
    border-color: rgba(170, 205, 255, 0.95);
    transform: scale(0.96);
}

.calculator-luxe .commission-toggle-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        0 0 28px rgba(65, 105, 225, 0.45),
        0 0 56px rgba(65, 105, 225, 0.22);
    opacity: 0;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: -1;
}

.calculator-luxe .commission-toggle-btn:hover:not(:disabled)::after {
    opacity: 1;
}

/* Единый фирменный active */
.calculator-luxe .commission-toggle-btn:active:not(:disabled) {
    transform: scale(0.88) !important;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-luxe .commission-display {
    display: inline-flex;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    height: 40px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(26, 35, 50, 0.7);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    flex: 1 1 180px;
    min-width: 160px;
}

.calculator-luxe .commission-method-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 0.55rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-light);
    background: rgba(100, 149, 237, 0.12);
    border: 1px solid rgba(100, 149, 237, 0.35);
    align-self: stretch;
    cursor: pointer;
    appearance: none;
    font-family: inherit;
    line-height: 1;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-luxe .commission-method-indicator:hover:not(:disabled) {
    transform: scale(0.96);
}

.calculator-luxe .commission-method-indicator:active:not(:disabled) {
    transform: scale(0.88);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-luxe .commission-method-indicator:focus-visible {
    outline: 2px solid rgba(100, 149, 237, 0.6);
    outline-offset: 2px;
}

.calculator-luxe .commission-method-indicator.is-meetup {
    background: rgba(255, 186, 73, 0.12);
    border-color: rgba(255, 186, 73, 0.35);
}

.calculator-luxe .commission-label {
    align-self: center;
}

.calculator-luxe .commission-value {
    margin-left: auto;
    align-self: center;
}

.calculator-luxe .commission-label {
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.calculator-luxe .commission-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-light);
}

.calculator-luxe .commission-calc {
    border-radius: 14px;
    background: rgba(15, 20, 25, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calculator-luxe .commission-content {
    display: grid;
    grid-template-columns: minmax(300px, 380px) minmax(480px, 1fr);
    gap: 14px;
    align-items: start;
    max-height: 100%;
    overflow: hidden;
}

.calculator-luxe .commission-calc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.calculator-luxe .commission-calc-title {
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.calculator-luxe .commission-calc-pair {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.calculator-luxe .commission-calc-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calculator-luxe .commission-calc-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.calculator-luxe .commission-calc-label {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.calculator-luxe .commission-calc-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light);
}

.calculator-luxe .commission-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.calculator-luxe .commission-method {
    height: 32px;
    padding: 0 10px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 20, 25, 0.35);
    color: var(--text-light);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    cursor: pointer;
    transform-origin: center;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-luxe .commission-method.is-active {
    border-color: rgba(100, 149, 237, 0.4);
    box-shadow: 0 0 0 1px rgba(100, 149, 237, 0.2);
}

/* Единый фирменный hover: легкое прожимание */
.calculator-luxe .commission-method:hover:not(:disabled) {
    transform: scale(0.96);
}

/* Единый фирменный active */
.calculator-luxe .commission-method:active:not(:disabled) {
    transform: scale(0.88) !important;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-luxe .commission-breakdown {
    display: grid;
    gap: 6px;
}

.calculator-luxe .commission-breakdown-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.calculator-luxe .commission-breakdown-value {
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

.calculator-luxe .commission-total {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-top: 6px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.calculator-luxe .commission-total-label {
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.calculator-luxe .commission-total-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-light);
}

.calculator-luxe .commission-total-amount {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.calculator-luxe .commission-explain {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.calculator-luxe .commission-table-wrap {
    border-radius: 14px;
    background: rgba(15, 20, 25, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 10px;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}

.calculator-luxe .commission-table-wrap::-webkit-scrollbar {
    width: 6px;
}

.calculator-luxe .commission-table-wrap::-webkit-scrollbar-track {
    background: rgba(15, 20, 25, 0.2);
    border-radius: 3px;
}

.calculator-luxe .commission-table-wrap::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.calculator-luxe .commission-table-wrap::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

.calculator-luxe .commission-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
    table-layout: fixed;
}

.calculator-luxe .commission-table th {
    text-align: left;
    font-size: 0.6rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 6px 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.calculator-luxe .commission-table th:first-child {
    width: 70%;
}

.calculator-luxe .commission-table th:last-child {
    width: 30%;
    text-align: left;
    white-space: normal;
    word-break: break-word;
    line-height: 1.2;
}

.calculator-luxe .commission-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: top;
}

.calculator-luxe .commission-table td:first-child {
    width: 70%;
}

.calculator-luxe .commission-table td:last-child {
    width: 30%;
    text-align: right;
}

.calculator-luxe .commission-table tbody tr:last-child td {
    border-bottom: none;
}

.calculator-luxe .commission-row-title {
    display: block;
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
}

.calculator-luxe .commission-row-note {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
}

.calculator-luxe .commission-rate {
    font-weight: 600;
    color: var(--text-light);
    white-space: nowrap;
    text-align: right;
}

.calculator-luxe .commission-note {
    font-size: 0.72rem;
    color: var(--text-muted);
}

.calculator-luxe .commission-back-btn {
    align-self: flex-start;
    height: 40px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(15, 20, 25, 0.25);
    color: var(--text-light);
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
    transform-origin: center;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Единый фирменный hover: легкое прожимание + усиление свечения */
.calculator-luxe .commission-back-btn:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.25),
        0 0 8px rgba(65, 105, 225, 0.15);
    transform: scale(0.96);
}

/* Единый фирменный active */
.calculator-luxe .commission-back-btn:active:not(:disabled) {
    transform: scale(0.88) !important;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 0 6px rgba(65, 105, 225, 0.12);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-luxe .currency-back-btn {
    align-self: center;
    height: 40px;
    padding: 0 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(20, 26, 36, 0.65);
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Единый фирменный hover: легкое прожимание + усиление свечения */
.calculator-luxe .currency-back-btn:hover:not(:disabled) {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow:
        0 6px 12px rgba(0, 0, 0, 0.25),
        0 0 8px rgba(65, 105, 225, 0.15);
    transform: scale(0.96);
}

/* Единый фирменный active */
.calculator-luxe .currency-back-btn:active:not(:disabled) {
    transform: scale(0.88) !important;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.2),
        0 0 6px rgba(65, 105, 225, 0.12);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-luxe .exchange-rate-text {
    font-weight: 500;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.calculator-luxe .swap-btn {
    width: 46px;
    height: 46px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(65, 105, 225, 0.2);
    color: var(--primary-color);
    transform: none;
    padding: 0;
    flex: 0 0 46px;
    margin-left: auto;
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.26),
        0 2px 4px rgba(0, 0, 0, 0.18);
    transform-origin: center;
    will-change: transform;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Единый фирменный hover: легкое прожимание + вращение + усиление свечения */
.calculator-luxe .swap-btn:hover:not(:disabled) {
    background: rgba(65, 105, 225, 0.12);
    transform: scale(0.96);
    box-shadow: 
        0 0 15px rgba(65, 105, 225, 0.35),
        0 4px 8px rgba(0, 0, 0, 0.26),
        0 2px 4px rgba(0, 0, 0, 0.18);
    border-color: rgba(65, 105, 225, 0.45);
}

.calculator-luxe .swap-btn svg {
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-luxe .swap-btn:hover svg {
    transform: rotate(180deg);
}

/* Единый фирменный active */
.calculator-luxe .swap-btn:active:not(:disabled) {
    transform: scale(0.88) !important;
    box-shadow: 
        0 0 10px rgba(65, 105, 225, 0.3),
        0 4px 8px rgba(0, 0, 0, 0.26),
        0 2px 4px rgba(0, 0, 0, 0.18);
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-luxe .calculator-footer {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 6px;
}

.calculator-live-section {
    margin-top: 8px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.calculator-live-section .calculator-divider-live {
    margin: 0;
}

.calculator-live-section .hero-live-exchange-subtitle {
    margin-top: 0;
}

.calculator-live-section .hero-live-exchange-header .calculator-badge {
    transform: translateY(-4px);
}

.calculator-live-section .hero-live-exchange-luxe {
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    overflow: visible;
}

.calculator-luxe .calculator-hint {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.78rem;
    color: var(--text-muted);
    width: 100%;
}

.calculator-luxe .calculator-hint-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.7);
}

.calculator-luxe .exchange-btn {
    flex: 0 0 auto;
    width: 100%;
    min-width: 0;
    border-radius: 14px;
    padding: 10px 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    background: linear-gradient(135deg, 
        var(--gold-dark) 0%, 
        var(--gold-dark) 42%, 
        var(--gold-color) 46%, 
        var(--gold-light) 49%, 
        var(--gold-light) 51%, 
        var(--gold-color) 54%, 
        var(--gold-dark) 58%, 
        var(--gold-dark) 100%);
    background-size: 400% 400%;
    color: #fff;
    border: 1px solid rgba(231, 194, 95, 0.9);
    box-shadow:
        0 0 20px rgba(255, 176, 0, 0.32),
        0 0 40px rgba(255, 176, 0, 0.22),
        0 10px 24px rgba(0, 0, 0, 0.18);
    margin-top: 0;
    animation: none;
    transform-origin: center;
    will-change: transform, box-shadow;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.2s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    z-index: 0;
}

.calculator-luxe .exchange-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
        transparent 0%,
        transparent 30%,
        rgba(255, 245, 220, 0.2) 40%,
        rgba(255, 255, 255, 0.5) 48%,
        rgba(255, 245, 220, 0.2) 56%,
        transparent 70%,
        transparent 100%
    );
    mask: linear-gradient(45deg,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 25%,
        rgba(0, 0, 0, 0.3) 35%,
        rgba(0, 0, 0, 0.8) 45%,
        rgba(0, 0, 0, 1) 50%,
        rgba(0, 0, 0, 0.8) 55%,
        rgba(0, 0, 0, 0.3) 65%,
        rgba(0, 0, 0, 0.05) 75%,
        transparent 100%
    );
    -webkit-mask: linear-gradient(45deg,
        transparent 0%,
        rgba(0, 0, 0, 0.05) 25%,
        rgba(0, 0, 0, 0.3) 35%,
        rgba(0, 0, 0, 0.8) 45%,
        rgba(0, 0, 0, 1) 50%,
        rgba(0, 0, 0, 0.8) 55%,
        rgba(0, 0, 0, 0.3) 65%,
        rgba(0, 0, 0, 0.05) 75%,
        transparent 100%
    );
    opacity: 0.85;
    filter: brightness(1.2) saturate(1.2);
    transform: translateX(-150%) translateY(-150%) rotate(45deg);
    animation: diagonal-shine-horizontal 3s ease-in-out infinite;
    pointer-events: none;
    z-index: 1;
}

/* Единый фирменный hover: усиление свечения (короткое, как тень калькулятора) */
.calculator-luxe .exchange-btn:hover:not(:disabled) {
    /* Убрано background-position - конфликтует с gradient-flow анимацией */
    transform: scale(0.96);
    animation-play-state: paused;
}

/* Единый фирменный active */
.calculator-luxe .exchange-btn:active:not(:disabled) {
    transform: scale(0.88) !important;
    animation-play-state: paused;
    transition: transform 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.15s cubic-bezier(0.4, 0, 0.2, 1),
                border-color 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.calculator-luxe .exchange-btn::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow:
        0 0 24px rgba(255, 176, 0, 0.45),
        0 0 48px rgba(255, 176, 0, 0.22);
    opacity: 0;
    transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: -1;
}

.calculator-luxe .exchange-btn:hover:not(:disabled)::after {
    opacity: 1;
}

.calculator-luxe .exchange-btn:active:not(:disabled)::after {
    opacity: 0.75;
}

.hero-live-exchange-luxe {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
    background: rgba(15, 20, 25, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    contain: inline-size;
    overflow: hidden;
}

.hero-live-exchange-luxe .hero-live-exchange-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.hero-live-exchange-luxe .hero-live-exchange-title-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.hero-live-exchange-luxe .hero-live-exchange-title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 600;
}

.hero-live-exchange-luxe .hero-live-exchange-subtitle {
    display: block;
    margin-top: 2px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.hero-live-exchange-luxe .hero-live-exchange-chip,
.calculator-luxe .hero-live-exchange-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gold-light);
    background: rgba(212, 175, 55, 0.12);
    border: 1px solid rgba(212, 175, 55, 0.35);
    box-shadow:
        0 4px 8px rgba(0, 0, 0, 0.26),
        0 2px 4px rgba(0, 0, 0, 0.18);
}

.hero-live-exchange-luxe .hero-live-exchange-chip-dot,
.calculator-luxe .hero-live-exchange-chip-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold-light);
    box-shadow: 0 0 6px rgba(212, 175, 55, 0.8);
    animation: loadingPulse 1.2s ease-in-out infinite;
}

.hero-live-exchange-luxe .hero-live-exchange-list {
    gap: 0.5rem;
}

.hero-live-exchange-luxe .live-exchange-item {
    background: rgba(26, 35, 50, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    height: 48px;
    padding: 0 0.7rem;
    border-radius: 14px;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 2px 4px rgba(0, 0, 0, 0.1),
        0 0 15px rgba(65, 105, 225, 0.28),
        0 0 30px rgba(65, 105, 225, 0.175);
}

.hero-live-exchange-luxe .live-exchange-element[data-type="text"] {
    font-size: 0.9rem;
}

.hero-live-exchange-luxe .live-exchange-time {
    font-size: 0.66rem;
}

/* Cross-browser fallback when backdrop-filter is not supported */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .calculator-luxe {
        background: rgba(15, 20, 25, 0.02);
        box-shadow: none;
    }

    .hero-live-exchange-luxe {
        background: rgba(15, 20, 25, 0.7);
        box-shadow: none;
    }

    .calculator-live-section .hero-live-exchange-luxe {
        background: transparent;
        border: none;
        box-shadow: none;
        margin: 0;
        padding: 0;
    }

    .calculator-luxe::before {
        opacity: 0.45;
    }

    .calculator-luxe .input-wrapper,
    .calculator-luxe .currency-btn,
    .calculator-luxe .exchange-rate-wrapper,
    .hero-live-exchange-luxe .live-exchange-item {
        background: rgba(20, 26, 35, 0.95);
        border-color: rgba(255, 255, 255, 0.14);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    }
}