@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-ThinItalic.ttf') format('truetype');
    font-weight: 100;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-ExtraLight.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-ExtraLightItalic.ttf') format('truetype');
    font-weight: 200;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-LightItalic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-MediumItalic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-DemiBold.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-DemiBoldItalic.ttf') format('truetype');
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-BoldItalic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-ExtraBold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-ExtraBoldItalic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'TT Firs Neue';
    src: url('fonts/TTFirsNeue-BlackItalic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'TT Firs Neue', sans-serif;
    background-color: #000;
}

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

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
}

.header {
    background-color: #000;
    border-bottom: 1px solid #242424;
    position: relative;
}

.main-background-section {
    background-image: url('img/bg.png');
    background-size: cover;
    background-position: center 10%;
    background-repeat: no-repeat;
    position: relative;
}


.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
}

.navigation {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: #686868;
    text-decoration: none;
    font-size: 16px;
    font-weight: 300;
    transition: opacity 0.3s ease;
}

.nav-link:hover {
    color: #008FDF;
}


.exchange-btn {
    background: linear-gradient(135deg, #008FDF 0%, #ffffff 44.18%, #008FDF 100%);
    background-size: 200% 200%;
    color: #000;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: gradientFlow 12s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.exchange-icon {
    width: 28px;
    height: 26px;
    filter: brightness(0) saturate(100%) invert(42%) sepia(93%) saturate(1352%) hue-rotate(188deg) brightness(103%) contrast(101%);
    animation: rotate 4s linear infinite;
}

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

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    25% {
        background-position: 100% 50%;
    }
    50% {
        background-position: 100% 100%;
    }
    75% {
        background-position: 0% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes gradientFlowHover {
    0% {
        background-position: 0% 50%;
    }
    33% {
        background-position: 100% 0%;
    }
    66% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.exchange-btn:hover {
    background: linear-gradient(135deg, #0070b8 0%, #ffffff 44.18%, #0070b8 100%);
    background-size: 200% 200%;
    transform: translateY(-1px);
    animation: gradientFlowHover 8s ease-in-out infinite;
}

.hero {
    padding: 80px 0;
    text-align: center;
    position: relative;
}


.hero-title {
    font-size: 68px;
    font-weight: 500;
    color: #fff;
    margin: 0 0 20px 0;
    line-height: 1.1;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle {
    font-size: 21px;
    font-weight: 400;
    color: #686868;
    margin: 0;
    line-height: 1.3;
}

.exchange-section {
    padding: 20px 0 60px 0;
    align-items: center;
    justify-content: center;
    position: relative;
}

.exchange-window {
    max-width: 1200px;
    margin: 0 auto;
    background: #000;
    border: 1px solid #242424;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: visible;
}

.exchange-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(0, 143, 223, 0.4) 0%, rgba(0, 143, 223, 0.2) 30%, transparent 70%);
    border-radius: 50%;
    filter: blur(60px);
    animation: pulse-left 4s ease-in-out infinite;
    z-index: -1;
}

.exchange-section::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 5%;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(0, 143, 223, 0.3) 0%, rgba(0, 143, 223, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    filter: blur(50px);
    animation: pulse-right 3s ease-in-out infinite;
    z-index: -1;
}

.extra-sphere-1 {
    content: '';
    position: absolute;
    top: 15%;
    left: 15%;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(0, 143, 223, 0.25) 0%, rgba(0, 143, 223, 0.1) 30%, transparent 70%);
    border-radius: 50%;
    filter: blur(40px);
    animation: pulse-left 5s ease-in-out infinite;
    z-index: -1;
}

.extra-sphere-2 {
    content: '';
    position: absolute;
    top: 70%;
    right: 12%;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle, rgba(0, 143, 223, 0.2) 0%, rgba(0, 143, 223, 0.08) 35%, transparent 70%);
    border-radius: 50%;
    filter: blur(35px);
    animation: pulse-right 4.5s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulse-left {
    0% {
        opacity: 0.3;
        transform: scale(1) translateY(0) translateX(0);
    }
    25% {
        opacity: 0.6;
        transform: scale(1.1) translateY(-15px) translateX(10px);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.2) translateY(-20px) translateX(5px);
    }
    75% {
        opacity: 0.5;
        transform: scale(1.1) translateY(-10px) translateX(-5px);
    }
    100% {
        opacity: 0.3;
        transform: scale(1) translateY(0) translateX(0);
    }
}

@keyframes pulse-right {
    0% {
        opacity: 0.4;
        transform: scale(1) translateY(0) translateX(0);
    }
    25% {
        opacity: 0.7;
        transform: scale(1.2) translateY(10px) translateX(-8px);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.3) translateY(15px) translateX(-12px);
    }
    75% {
        opacity: 0.6;
        transform: scale(1.1) translateY(5px) translateX(8px);
    }
    100% {
        opacity: 0.4;
        transform: scale(1) translateY(0) translateX(0);
    }
}

.exchange-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.exchange-title {
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin: 0;
}

.exchange-status {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #686868;
    font-size: 14px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #008FDF;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.exchange-form {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.currency-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.input-label {
    font-size: 14px;
    font-weight: 500;
    color: #686868;
}

.currency-input {
    display: flex;
    align-items: center;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(36, 36, 36, 0.8);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    position: relative;
    overflow: visible;
}

.currency-input:hover {
    border-color: rgba(0, 143, 223, 0.3);
    background: rgba(26, 26, 26, 0.8);
}

.currency-input:focus-within {
    border-color: #008FDF;
    background: rgba(26, 26, 26, 0.9);
    box-shadow: 0 0 0 2px rgba(0, 143, 223, 0.1);
}

.amount-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    outline: none;
    transition: all 0.3s ease;
}


/* Hide number input arrows */
.amount-input::-webkit-outer-spin-button,
.amount-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.amount-input[type=number] {
    -moz-appearance: textfield;
    appearance: textfield;
}

/* How to Swap Section */
.how-to-section {
    padding: 80px 0;
    position: relative;
}

.how-to-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    max-width: 1200px;
    margin: 0 auto;
}

.how-to-left {
    display: flex;
    flex-direction: column;
}

.how-to-right {
    display: flex;
    flex-direction: column;
}

.how-to-title {
    margin-bottom: 40px;
    padding: 0 20px;
}

.how-to-path {
    display: block;
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 14px;
    color: #008FDF;
    background: linear-gradient(135deg, #008FDF 0%, #ffffff 44.18%, #008FDF 100%);
    background-size: 200% 200%;
    animation: gradientFlow 12s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 10px;
    font-weight: 400;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (-webkit-background-clip: text) {
    .how-to-path {
        color: #008FDF;
        background: none;
        animation: none;
    }
}

.how-to-title h2 {
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0;
    letter-spacing: -0.5px;
}

.interactive-exchange-widget {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #333;
    backdrop-filter: blur(10px);
    margin: 0 20px;
}

.exchange-illustration {
    width: 100%;
    max-width: 500px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.exchange-illustration:hover {
    transform: scale(1.05);
}

.steps-list {
    margin-bottom: 40px;
    padding: 0 20px;
}

.step-item {
    margin-bottom: 30px;
}

.step-content {
    display: flex;
    flex-direction: column;
}

.step-label {
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #008FDF;
    background: linear-gradient(135deg, #008FDF 0%, #ffffff 44.18%, #008FDF 100%);
    background-size: 200% 200%;
    animation: gradientFlow 12s ease-in-out infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    position: relative;
    overflow: hidden;
}

/* Fallback for browsers that don't support background-clip: text */
@supports not (-webkit-background-clip: text) {
    .step-label {
        color: #008FDF;
        background: none;
        animation: none;
    }
}

.step-content h3 {
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1.3;
    letter-spacing: -0.3px;
}

.step-content p {
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 16px;
    color: #888;
    line-height: 1.6;
    margin: 0;
    letter-spacing: 0.2px;
}

.go-to-swap-btn {
    background: linear-gradient(135deg, #008FDF 0%, #ffffff 44.18%, #008FDF 100%);
    background-size: 200% 200%;
    animation: gradientFlow 12s ease-in-out infinite;
    border: 1px solid #008FDF;
    border-radius: 25px;
    padding: 15px 30px;
    color: #000;
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    width: calc(100% - 40px);
    margin: 0 20px;
    letter-spacing: 0.5px;
}

.go-to-swap-btn:hover {
    background: linear-gradient(135deg, #0070b8 0%, #ffffff 44.18%, #0070b8 100%);
    background-size: 200% 200%;
    animation: gradientFlowHover 8s ease-in-out infinite;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 143, 223, 0.3);
}

/* Responsive Design for How-to Section */
@media (max-width: 1024px) {
    .how-to-content {
        grid-template-columns: 1fr;
        gap: 60px;
        max-width: 800px;
    }
    
    .how-to-title h2 {
        font-size: 28px;
    }
    
    .interactive-exchange-widget {
        padding: 20px;
        margin: 0 20px;
    }
    
    .steps-list {
        padding: 0 20px;
    }
    
    .go-to-swap-btn {
        width: calc(100% - 40px);
        margin: 0 20px;
    }
}

@media (max-width: 760px) {
    .how-to-section {
        padding: 60px 0;
    }
    
    .how-to-content {
        gap: 40px;
        max-width: 100%;
    }
    
    .how-to-title {
        padding: 0 20px;
    }
    
    .how-to-title h2 {
        font-size: 24px;
    }
    
    .interactive-exchange-widget {
        padding: 15px;
        margin: 0 20px;
    }
    
    .steps-list {
        padding: 0 20px;
    }
    
    .step-item {
        margin-bottom: 25px;
    }
    
    .step-label {
        font-size: 12px;
        margin-bottom: 6px;
    }
    
    .step-content h3 {
        font-size: 18px;
    }
    
    .step-content p {
        font-size: 14px;
    }
    
    .go-to-swap-btn {
        width: calc(100% - 40px);
        margin: 0 20px;
    }
}

.amount-input::placeholder {
    color: #686868;
    transition: color 0.3s ease;
}

.amount-input:focus::placeholder {
    color: #888;
}

.currency-selector {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: #242424;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    justify-content: flex-start;
    text-align: left;
    flex-shrink: 0;
    max-width: 160px;
}


.currency-selector {
    position: relative;
    z-index: 1;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    border: 1px solid rgba(36, 36, 36, 0.8);
    border-radius: 8px;
    padding: 8px 0;
    min-width: 180px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 99999;
    display: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.dropdown-menu.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.currency-selector.active {
    z-index: 100000;
}

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

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    color: #fff;
}

.dropdown-item:hover {
    background: #242424;
}

.dropdown-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Custom scrollbar for dropdown */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-track {
    background: #1a1a1a;
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #242424;
    border-radius: 3px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #333;
}


.currency-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.currency-name {
    color: #fff;
    font-weight: 500;
    font-size: 14px;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
}

/* Responsive currency selector */
@media (max-width: 1200px) {
    .currency-selector {
        max-width: 140px;
    }
    
    .currency-name {
        max-width: 80px;
        font-size: 13px;
    }
}

@media (max-width: 760px) {
    .currency-selector {
        max-width: 120px;
        padding: 6px 8px;
    }
    
    .currency-name {
        max-width: 60px;
        font-size: 12px;
    }
    
    .currency-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 470px) {
    .currency-selector {
        max-width: 100px;
        padding: 5px 6px;
    }
    
    .currency-name {
        max-width: 50px;
        font-size: 11px;
    }
    
    .currency-icon {
        width: 18px;
        height: 18px;
    }
}

.dropdown-arrow {
    color: #686868;
    transition: transform 0.3s ease;
}


.currency-rate {
    font-size: 14px;
    color: #686868;
}

.currency-balance {
    font-size: 12px;
    color: #555;
}

.wallet-input-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.wallet-input {
    display: flex;
    align-items: center;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(36, 36, 36, 0.8);
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
}

.wallet-input:hover {
    border-color: rgba(0, 143, 223, 0.3);
    background: rgba(26, 26, 26, 0.8);
}

.wallet-input:focus-within {
    border-color: #008FDF;
    background: rgba(26, 26, 26, 0.9);
    box-shadow: 0 0 0 2px rgba(0, 143, 223, 0.1);
}

.wallet-address-input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    outline: none;
    width: 100%;
    transition: all 0.3s ease;
}

.wallet-address-input::placeholder {
    color: #686868;
    transition: color 0.3s ease;
}

.wallet-address-input:focus::placeholder {
    color: #888;
}

.exchange-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}

.arrow-circle {
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #008FDF;
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrow-circle:hover {
    transform: scale(1.1);
}

.exchange-details {
    padding-top: 24px;
    margin-bottom: 32px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #1a1a1a;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    color: #686868;
}

.detail-value {
    font-size: 14px;
    color: #fff;
    font-weight: 500;
}

.exchange-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.exchange-btn-main {
    background: linear-gradient(135deg, #008FDF 0%, #ffffff 44.18%, #008FDF 100%);
    background-size: 200% 200%;
    color: #000;
    border: none;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: gradientFlow 12s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.exchange-btn-main:hover {
    background: linear-gradient(135deg, #0070b8 0%, #ffffff 44.18%, #0070b8 100%);
    background-size: 200% 200%;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 143, 223, 0.3);
    animation: gradientFlowHover 8s ease-in-out infinite;
}

/* Burger Menu */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.burger-line {
    width: 100%;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.burger-menu.active .burger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

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

.burger-menu.active .burger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-navigation {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: 300;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #008FDF;
}

.mobile-exchange-btn {
    background: linear-gradient(135deg, #008FDF 0%, #ffffff 44.18%, #008FDF 100%);
    background-size: 200% 200%;
    color: #000;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: gradientFlow 12s ease-in-out infinite;
    position: relative;
    overflow: hidden;
}

.mobile-exchange-btn:hover {
    background: linear-gradient(135deg, #0070b8 0%, #ffffff 44.18%, #0070b8 100%);
    background-size: 200% 200%;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 143, 223, 0.3);
    animation: gradientFlowHover 8s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 1024px) and (min-width: 761px) {
    .exchange-window {
        max-width: none;
        margin: 0 20px;
    }
    
    .exchange-form {
        flex-direction: column;
        gap: 20px;
    }
    
    .currency-input-group {
        flex: none;
        width: 100%;
    }
    
    .currency-input {
        padding: 14px;
        flex-direction: row;
        gap: 16px;
        align-items: center;
    }
    
    .amount-input {
        font-size: 17px;
        flex: 1;
        text-align: left;
    }
    
    .currency-selector {
        flex-shrink: 0;
        padding: 8px 12px;
    }
    
    .currency-icon {
        width: 22px;
        height: 22px;
    }
    
    .currency-name {
        font-size: 14px;
    }
    
    .currency-rate,
    .currency-balance {
        font-size: 13px;
        text-align: left;
    }
    
    .exchange-arrow {
        transform: rotate(90deg);
        margin: 15px 0;
    }
    
    .arrow-circle {
        width: 38px;
        height: 38px;
    }
}

@media (max-width: 760px) {
    .navigation,
    .exchange-btn {
        display: none;
    }
    
    .burger-menu {
        display: flex;
    }
    
    .header-content {
        padding: 15px 0;
    }
    
    .container {
        padding: 0 20px;
    }
    
    .hero {
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 48px;
        max-width: 100%;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .exchange-section {
        padding: 20px 0 40px 0;
    }
    
    .exchange-window {
        max-width: 100%;
        padding: 24px;
        margin: 0 20px;
    }
    
    .exchange-form {
        flex-direction: column;
        gap: 20px;
    }
    
    .currency-input-group {
        flex: none;
        width: 100%;
    }
    
    .currency-input {
        padding: 12px;
        flex-direction: row;
        gap: 12px;
        align-items: center;
    }
    
    .amount-input {
        font-size: 16px;
        flex: 1;
        text-align: left;
    }
    
    .currency-selector {
        flex-shrink: 0;
        padding: 8px 12px;
    }
    
    .currency-icon {
        width: 20px;
        height: 20px;
    }
    
    .currency-name {
        font-size: 13px;
    }
    
    .currency-rate,
    .currency-balance {
        font-size: 12px;
        text-align: left;
    }
    
    .exchange-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .arrow-circle {
        width: 35px;
        height: 35px;
    }
    
    .exchange-details {
        padding-top: 20px;
        margin-bottom: 24px;
    }
    
    .detail-row {
        padding: 8px 0;
    }
    
    .detail-label,
    .detail-value {
        font-size: 13px;
    }
    
    .exchange-btn-main {
        padding: 14px 20px;
        font-size: 15px;
    }
    
    .dropdown-menu {
        min-width: 170px;
        max-height: 180px;
    }
    
    .wallet-input {
        padding: 14px;
    }
    
    .wallet-address-input {
        font-size: 17px;
    }
    
    .exchange-section::before,
    .exchange-section::after {
        display: none;
    }
}

@media (max-width: 470px) {
    .exchange-window {
        margin: 0 15px;
        padding: 20px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    
    .hero-title {
        font-size: 40px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .currency-input {
        padding: 10px;
        gap: 10px;
    }
    
    .amount-input {
        font-size: 15px;
    }
    
    .currency-selector {
        padding: 6px 10px;
    }
    
    .currency-icon {
        width: 18px;
        height: 18px;
    }
    
    .currency-name {
        font-size: 12px;
    }
    
    .currency-rate,
    .currency-balance {
        font-size: 11px;
    }
    
    .arrow-circle {
        width: 30px;
        height: 30px;
    }
    
    .exchange-btn-main {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .dropdown-menu {
        min-width: 160px;
        max-height: 150px;
    }
    
    .wallet-input {
        padding: 12px;
    }
    
    .wallet-address-input {
        font-size: 16px;
    }
}

/* Recent Transactions Section */
.transactions-section {
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.transactions-section::before {
    content: '';
    position: absolute;
    top: 30%;
    left: 10%;
    width: 600px;
    height: 600px;
    background: #008FDF;
    border-radius: 50%;
    filter: blur(30px);
    animation: pulse-left 4s ease-in-out infinite;
    z-index: -1;
    opacity: 0.5;
}

.transactions-section::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 8%;
    width: 500px;
    height: 500px;
    background: #008FDF;
    border-radius: 50%;
    filter: blur(25px);
    animation: pulse-right 3s ease-in-out infinite;
    z-index: -1;
    opacity: 0.4;
}


.transactions-window {
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid #242424;
    border-radius: 16px;
    padding: 32px;
    position: relative;
    z-index: 1;
}

.transactions-title {
    font-size: 32px;
    font-weight: 500;
    color: #fff;
    text-align: center;
    margin-bottom: 32px;
}

.transactions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.transaction-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(36, 36, 36, 0.8);
    border-radius: 12px;
    padding: 24px 20px;
    transition: all 0.3s ease;
    position: relative;
    min-height: 60px;
}

.transaction-item:hover {
    background: rgba(26, 26, 26, 0.8);
    border-color: rgba(0, 143, 223, 0.3);
}

.transaction-time {
    font-size: 14px;
    color: #686868;
    font-weight: 300;
    min-width: 120px;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.transaction-details {
    display: flex;
    align-items: center;
    gap: 16px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.transaction-from {
    display: flex;
    align-items: center;
    gap: 8px;
}

.transaction-amount {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
}

.transaction-currency-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.transaction-arrow {
    color: #008FDF;
    font-size: 18px;
    font-weight: bold;
}

.transaction-to {
    display: flex;
    align-items: center;
    gap: 8px;
}

.transaction-to-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.transaction-duration {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #686868;
    min-width: 80px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: row-reverse;
}

.duration-icon {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.transaction-amount-left {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    position: absolute;
    right: calc(50% + 60px);
    top: 50%;
    transform: translateY(-50%);
}

.transaction-amount-right {
    font-size: 16px;
    font-weight: 500;
    color: #fff;
    position: absolute;
    left: calc(50% + 60px);
    top: 50%;
    transform: translateY(-50%);
}

/* Responsive for transactions */
@media (max-width: 1024px) {
    .transactions-window {
        max-width: none;
        margin: 0 20px;
    }
    
    .transactions-title {
        font-size: 28px;
    }
    
    .transaction-item {
        padding: 14px 16px;
    }
    
    .transaction-time {
        min-width: 100px;
        font-size: 13px;
    }
    
    .transaction-amount {
        font-size: 15px;
    }
    
    .transaction-duration {
        min-width: 70px;
        font-size: 13px;
    }
}

@media (max-width: 760px) {
    .transactions-section {
        padding: 40px 0;
    }
    
    .transactions-section::before,
    .transactions-section::after {
        display: none;
    }
    
    .transactions-window {
        max-width: 100%;
        padding: 24px;
        margin: 0 20px;
    }
    
    .transactions-title {
        font-size: 24px;
        margin-bottom: 24px;
    }
    
    .transaction-item {
        flex-direction: column;
        gap: 12px;
        padding: 16px;
        position: relative;
    }
    
    .transaction-time {
        position: static;
        transform: none;
        text-align: center;
        margin-bottom: 8px;
    }
    
    .transaction-amount-left {
        position: static;
        transform: none;
        text-align: center;
        margin-bottom: 8px;
    }
    
    .transaction-details {
        position: static;
        transform: none;
        justify-content: center;
        margin-bottom: 8px;
    }
    
    .transaction-amount-right {
        position: static;
        transform: none;
        text-align: center;
        margin-bottom: 8px;
    }
    
    .transaction-duration {
        position: static;
        transform: none;
        justify-content: center;
    }
    
    .transaction-currency-icon,
    .transaction-to-icon {
        width: 20px;
        height: 20px;
    }
    
    .transaction-amount {
        font-size: 14px;
    }
}

@media (max-width: 470px) {
    .transactions-window {
        margin: 0 15px;
        padding: 20px;
    }
    
    .transactions-title {
        font-size: 20px;
    }
    
    .transaction-item {
        padding: 12px;
    }
    
    .transaction-details {
        gap: 12px;
    }
    
    .transaction-currency-icon,
    .transaction-to-icon {
        width: 18px;
        height: 18px;
    }
    
    .transaction-amount {
        font-size: 13px;
    }
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    position: relative;
}

.faq-header {
    text-align: center;
    margin-bottom: 60px;
}

.faq-header h2 {
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin: 0 0 15px 0;
    letter-spacing: -0.5px;
}

.faq-header p {
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 18px;
    color: #888;
    line-height: 1.6;
    margin: 0;
    letter-spacing: 0.2px;
}

.faq-list {
    width: 100%;
}

.faq-item {
    border-bottom: 1px solid #333;
    margin-bottom: 0;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    cursor: pointer;
}

.faq-question h3 {
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    margin: 0;
    line-height: 1.4;
    letter-spacing: -0.2px;
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 400;
    color: #888;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 0 30px 0;
}

.faq-answer p {
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 16px;
    color: #888;
    line-height: 1.6;
    margin: 0;
    letter-spacing: 0.2px;
}

.faq-answer strong {
    color: #008FDF;
    font-weight: 600;
}

/* Responsive Design for FAQ Section */
@media (max-width: 760px) {
    .faq-section {
        padding: 60px 0;
    }
    
    .faq-header h2 {
        font-size: 28px;
    }
    
    .faq-header p {
        font-size: 16px;
    }
    
    .faq-question {
        padding: 25px 0;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
    
    .faq-icon {
        width: 20px;
        height: 20px;
        font-size: 16px;
    }
    
    .faq-answer {
        padding: 0;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 0 25px 0;
    }
    
    .faq-answer p {
        font-size: 14px;
    }
}

/* Footer */
.footer {
    border-top: 1px solid #333;
    padding: 30px 0;
    position: relative;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-logo .logo-link {
    display: inline-block;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.logo-link:hover {
    opacity: 0.8;
}

.logo-img {
    height: 32px;
    width: auto;
}

.header .logo-link {
    display: block;
}

.header .logo-img {
    height: 40px;
    width: auto;
}

.footer-nav {
    display: flex;
    gap: 40px;
    align-items: center;
}

.footer-nav-link {
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.2px;
}

.footer-nav-link:hover {
    color: #008FDF;
}

.footer-copyright {
    text-align: left;
    margin: 0;
}

.footer-copyright p {
    font-family: 'TT Firs Neue', sans-serif;
    font-size: 14px;
    color: #666;
    margin: 0;
    letter-spacing: 0.2px;
}

/* Responsive Design for Footer */
@media (max-width: 760px) {
    .footer {
        padding: 25px 0;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-copyright {
        text-align: center;
    }
    
    .footer-logo .logo-img {
        height: 28px;
    }
    
    .footer-nav {
        gap: 30px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .footer-nav-link {
        font-size: 14px;
    }
    
    
    .footer-copyright p {
        font-size: 12px;
    }
}
