:root {
    --primary-color: #00d4ff;
    --secondary-color: #1a1a1a;
    --accent-color: #ff6b35;
    --success-color: #00ff88;
    --warning-color: #ffb800;
    --error-color: #ff4757;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --bg-primary: #0a0a0a;
    --bg-secondary: #0f0f0f;
    --bg-card: rgba(26, 26, 26, 0.8);
    --card-bg: rgba(26, 26, 26, 0.8);
    --input-bg: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.1);
    --gradient-primary: linear-gradient(135deg, #0088cc 0%, #005588 100%);
    --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #cc5529 100%);
    --gradient-success: linear-gradient(135deg, #00ff88 0%, #00cc6a 100%);
    --shadow-primary: none;
    --shadow-card: none;
    --border-radius: 12px;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}
*::-webkit-scrollbar { width: 6px; height: 6px; }
*::-webkit-scrollbar-track { background: transparent; }
*::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 3px; }
*::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.25); }

body {
    font-family: var(--font-family);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}



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

.logo-icon {
    font-size: 24px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* ===== MOBILE MENU (global) ===== */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}
.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    transition: all 0.3s ease;
    border-radius: 2px;
}
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}
.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 75px;
    left: 15px;
    right: 15px;
    width: calc(100% - 30px);
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    flex-direction: column;
    gap: 0.8rem;
    z-index: 999;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.mobile-menu::before {
    content: '';
    position: absolute;
    top: -10px;
    right: 8px;
    width: 0;
    height: 0;
    border-left: 12px solid transparent;
    border-right: 12px solid transparent;
    border-bottom: 12px solid #ffffff;
    filter: drop-shadow(0 -2px 3px rgba(0, 0, 0, 0.2));
    z-index: 2;
}
.mobile-menu::after {
    content: '';
    position: absolute;
    top: -8px;
    right: 10px;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid rgba(0, 0, 0, 0.1);
    z-index: 1;
}
.mobile-menu.active {
    display: flex;
}
.mobile-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mobile-menu a:hover {
    color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
}
.mobile-menu a i {
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
}

.btn-connect {
    background: var(--gradient-primary);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.btn-connect:hover {
    transform: translateY(-2px);
    box-shadow: none !important;
}

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    margin-top: 0;
    padding-top: 240px;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(180deg, transparent 0%, #0a0a0a 100%);
    z-index: 2;
    pointer-events: none;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0a;
    overflow: hidden;
    z-index: 0;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    z-index: 1;
    filter: brightness(0.12);
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 60s linear infinite;
    opacity: 0.4;
    z-index: 5;
    pointer-events: none;
}

.grid-overlay::before,
.grid-overlay::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
}

.grid-overlay::before {
    background-image: radial-gradient(2px 2px at 20% 30%, white, transparent),
                      radial-gradient(2px 2px at 60% 70%, white, transparent),
                      radial-gradient(1px 1px at 50% 50%, white, transparent),
                      radial-gradient(1px 1px at 80% 10%, white, transparent),
                      radial-gradient(2px 2px at 90% 60%, white, transparent);
    background-size: 200% 200%;
    animation: stars 120s linear infinite;
    opacity: 0.3;
}

.grid-overlay::after {
    background-image: radial-gradient(1px 1px at 25% 35%, white, transparent),
                      radial-gradient(1px 1px at 75% 80%, white, transparent),
                      radial-gradient(1px 1px at 10% 90%, white, transparent),
                      radial-gradient(2px 2px at 40% 20%, white, transparent);
    background-size: 250% 250%;
    animation: stars 180s linear infinite reverse;
    opacity: 0.2;
}

@keyframes stars {
    0% { transform: translateY(0) translateX(0) rotate(0deg); }
    100% { transform: translateY(-100%) translateX(-100%) rotate(360deg); }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.floating-square {
    position: absolute;
    background: transparent;
    border: 1px solid rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    animation: floatSquare 15s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes floatSquare {
    0%, 100% { 
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(45deg);
        opacity: 0.5;
    }
    50% { 
        transform: translateY(10px) rotate(90deg);
        opacity: 0.2;
    }
    75% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.4;
    }
}

.floating-elements {
    position: absolute;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 3;
}

.floating-card {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8),
                0 0 20px rgba(255, 255, 255, 0.4),
                0 0 40px rgba(0, 212, 255, 0.2);
    animation: twinkle 3s ease-in-out infinite;
    opacity: 0;
}

@keyframes twinkle {
    0%, 100% { opacity: 0; transform: scale(0.5); }
    50% { opacity: 1; transform: scale(1.2); }
}

.card-1 {
    top: 15%;
    right: 20%;
    animation-delay: 0s;
}

.card-2 {
    bottom: 20%;
    right: 10%;
    animation-delay: 3s;
}

.card-3 {
    top: 70%;
    left: 5%;
    animation-delay: 6s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(3deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    padding-top: 0;
    margin-top: 40px;
    position: relative;
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #ffffff !important;
    position: relative;
    z-index: 100;
}

.gradient-text {
    background: linear-gradient(135deg, #00d4ff 0%, #00ff88 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.35rem;
    color: #d0d0e0 !important;
    margin-bottom: 40px;
    line-height: 1.6;
    position: relative;
    z-index: 100;
    text-align: left;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.stat-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 5px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.hero-actions .btn-primary,
.hero-actions .btn-secondary {
    padding: 15px 30px;
    height: auto;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.5;
    border: 2px solid transparent;
}

.hero-actions .btn-secondary {
    border: 2px solid var(--border-color);
}

.btn-primary {
    background: var(--gradient-primary);
    border: 2px solid transparent;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: none !important;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 15px 30px;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none !important;
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: none !important;
}

.trading-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    backdrop-filter: blur(20px);
    box-shadow: none !important;
    position: relative;
    overflow: hidden;
}

.trading-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
}

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

.card-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--success-color);
    animation: pulse 2s infinite;
}

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

.conversion-flow {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.token-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.token-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: white;
    background: transparent !important;
}

.token-icon.depix {
    background: transparent !important;
}

.token-icon.lbtc {
    background: linear-gradient(135deg, #f7931a 0%, #ff8c00 100%);
}

.token-icon.usdt {
    background: transparent !important;
}

.token-icon.pix {
    background: var(--gradient-success);
}

.token-details {
    display: flex;
    flex-direction: column;
}

.token-name {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.token-amount {
    font-size: 1.1rem;
    font-weight: 600;
}

.arrow-container {
    display: flex;
    align-items: center;
    justify-content: center;
}

.arrow-icon {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(-45deg);
    animation: arrowMove 2s ease-in-out infinite;
}

.conversion-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    margin-top: 8px;
}

.conversion-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    font-size: 11px;
}

.conversion-step:last-child {
    margin-bottom: 0;
    font-weight: 600;
    color: var(--primary-color);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 6px;
    margin-top: 6px;
}

.step-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 10px;
}

.step-value {
    color: #fff;
    font-weight: 500;
    font-size: 11px;
}

.conversion-breakdown {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.breakdown-title {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    text-align: center;
}

.breakdown-step {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.breakdown-step:last-child {
    border-bottom: none;
}

.breakdown-step.final {
    background: rgba(0, 212, 255, 0.1);
    border-radius: 8px;
    padding: 12px;
    margin-top: 8px;
    border: 1px solid rgba(0, 212, 255, 0.3);
}

.step-desc {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
}

.step-amount {
    color: #fff;
    font-weight: 600;
    font-size: 12px;
}

.breakdown-step.final .step-desc,
.breakdown-step.final .step-amount {
    color: var(--primary-color);
    font-weight: 600;
}

@keyframes arrowMove {
    0%, 100% { transform: rotate(-45deg) translateX(0); }
    50% { transform: rotate(-45deg) translateX(5px); }
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 20px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-primary);
    width: 75%;
    border-radius: 2px;
    animation: progressMove 3s ease-in-out infinite;
}

@keyframes progressMove {
    0% { width: 0%; }
    50% { width: 75%; }
    100% { width: 100%; }
}

.transaction-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.detail-row span:first-child {
    color: var(--text-secondary);
}

.highlight {
    color: var(--success-color);
    font-weight: 600;
}

.features {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

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

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: none !important;
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    border-radius: 16px;
    box-shadow: var(--shadow-primary);
}

.feature-icon i {
    width: 28px;
    height: 28px;
    color: white;
    stroke-width: 2;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.stats-section {
    padding: 80px 0;
    background: var(--bg-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: none !important;
}

.stat-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 12px;
    border: 1px solid var(--primary-color);
}

.stat-icon i {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    stroke-width: 2;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.swap-section {
    padding: 100px 0;
    background: #0a0a0a;
    position: relative;
    overflow: hidden;
}

.blockchain-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.swap-container {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.swap-header {
    text-align: center;
    margin-bottom: 40px;
}

.swap-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.swap-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.swap-form {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    padding: 40px;
    backdrop-filter: blur(20px);
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--text-secondary);
}

.input-group label i,
.rate-display i {
    color: #9ca3af;
    margin-right: 6px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper select,
.pix-details input,
.pix-details select {
    width: 100%;
    padding: 15px 60px 15px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.input-wrapper input:focus,
.input-wrapper select:focus,
.pix-details input:focus,
.pix-details select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
    background: rgba(255, 255, 255, 0.08);
}

.pix-details input,
.pix-details select {
    padding: 15px;
}

.pix-details input::placeholder {
    color: var(--text-secondary);
    opacity: 0.7;
}

.input-suffix {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-weight: 500;
}

.conversion-arrow {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.arrow-down {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
    transform: rotate(45deg);
}

.pix-details {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 25px 0;
}

.custom-select {
    position: relative;
    width: 100%;
}

.select-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
}

.select-trigger:hover {
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.08);
}

.select-trigger.active {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.select-text {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.select-text.selected {
    color: var(--text-primary);
}

.select-text i {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
}

.select-arrow {
    width: 20px;
    height: 20px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.select-trigger:hover .select-arrow,
.select-trigger.active .select-arrow {
    color: var(--primary-color);
    transform: rotate(180deg);
}

.select-options {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    backdrop-filter: blur(20px);
    box-shadow: none !important;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    margin-top: 5px;
    max-height: 200px;
    overflow-y: auto;
}

.custom-select.active .select-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.select-option {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.select-option:last-child {
    border-bottom: none;
}

.select-option:hover {
    background: rgba(0, 212, 255, 0.1);
    color: var(--primary-color);
}

.select-option i {
    width: 18px;
    height: 18px;
    color: var(--primary-color);
    stroke-width: 2;
}

.select-option span {
    font-size: 0.95rem;
    color: var(--text-primary);
}

.select-option:hover span {
    color: var(--primary-color);
}

select {
    appearance: none;
}

select option {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 12px 15px;
    border: none;
    font-size: 0.95rem;
    line-height: 1.4;
}

select option:hover,
select option:focus {
    background: var(--primary-color);
    color: var(--text-primary);
}

select option:checked {
    background: var(--primary-color);
    color: var(--text-primary);
}

select option[value=""] {
    color: var(--text-secondary);
    font-style: italic;
}

.transaction-summary {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    padding: 25px;
    margin: 25px 0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.95rem;
}

.summary-row:last-child {
    margin-bottom: 0;
}

.summary-row.total {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
    margin-top: 15px;
    font-weight: 600;
    font-size: 1.1rem;
}

.btn-swap {
    width: 100%;
    background: var(--gradient-primary);
    border: none;
    padding: 18px;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}

.btn-swap:hover {
    transform: translateY(-2px);
    box-shadow: none !important;
    -webkit-box-shadow: none !important;
    -moz-box-shadow: none !important;
}

.btn-swap:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none !important;
}

.btn-swap:disabled:hover {
    box-shadow: none !important;
}

.swap-pair-selector {
    margin-bottom: 30px;
}

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

.pair-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    color: var(--text-secondary);
    padding: 15px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
    position: relative;
    overflow: hidden;
    text-align: center;
}

.pair-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.pair-btn:hover::before {
    left: 100%;
}

.pair-btn:hover {
    border-color: var(--primary-color);
    color: var(--text-primary);
    background: rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.2);
}

.pair-btn.active {
    background: var(--gradient-primary);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-primary);
    transform: translateY(-1px);
}

.pair-btn.active::before {
    display: none;
}

.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand p {
    color: var(--text-secondary);
    margin-top: 15px;
    line-height: 1.6;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.link-group h4 {
    font-weight: 600;
    margin-bottom: 15px;
}

.link-group h4 i,
.footer-links h4 i,
.footer-links .fas,
.link-group .fas {
    color: #9ca3af !important;
    margin-right: 8px;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 8px;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
    text-align: center;
    color: var(--text-secondary);
}

/* Modal Base Styles - Movido para auth.css */
.modal-content {
    background: rgba(20, 20, 20, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

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

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.address-container {
    display: flex;
    gap: 10px;
    margin: 20px 0;
}

.address-container code {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: var(--border-radius);
    font-family: monospace;
    font-size: 0.9rem;
    word-break: break-all;
    border: 1px solid var(--border-color);
}

.copy-btn {
    background: var(--gradient-primary);
    border: none;
    padding: 15px 20px;
    border-radius: var(--border-radius);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    transform: translateY(-1px);
}

.qr-container {
    text-align: center;
    margin: 25px 0;
}

.transaction-status {
    margin-top: 25px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.pending {
    background: var(--warning-color);
    animation: pulse 2s infinite;
}

.status-dot.confirmed {
    background: var(--success-color);
}

.status-dot.failed {
    background: var(--error-color);
}

@media (max-width: 768px) {
    /* Fix hero section overflow */
    .hero {
        min-height: 100vh;
        padding-top: 170px;
        padding-bottom: 40px;
        overflow-x: hidden;
    }

    .hero .container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
        padding-top: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-text {
        order: 1;
        padding-left: 0;
        padding-right: 0;
    }

    .hero-visual {
        display: none !important;
    }

    .hero-title {
        font-size: 1.3rem !important;
        text-align: center;
        line-height: 1.2;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 0.95rem !important;
        text-align: center !important;
        line-height: 1.5;
        margin-bottom: 25px;
    }

    .hero-actions {
        display: flex;
        flex-direction: column;
        gap: 12px;
        width: 100%;
        align-items: center;
    }

    .hero-actions .btn-primary,
    .hero-actions .btn-secondary {
        width: 100%;
        max-width: 320px;
        padding: 15px 30px !important;
        height: auto;
        box-sizing: border-box;
        font-size: 1rem !important;
        font-weight: 600 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        line-height: 1.5 !important;
        border: 2px solid transparent !important;
    }

    .hero-actions .btn-secondary {
        border: 2px solid var(--border-color) !important;
    }

    .hero-stats {
        justify-content: center;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }

    .section-header p {
        font-size: 0.95rem;
    }

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

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

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-links {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Fix trading card for mobile */
    .trading-card {
        margin: 0 auto;
        padding: 20px 15px;
        width: 100%;
        max-width: 100%;
    }

    .conversion-flow {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .token-info {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 15px;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 8px;
        gap: 12px;
    }

    .token-icon {
        width: 45px;
        height: 45px;
        flex-shrink: 0;
    }

    .token-icon img {
        width: 32px;
        height: 32px;
        object-fit: contain;
    }

    .token-details {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        flex: 1;
    }

    .token-name {
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.6);
        margin-bottom: 2px;
    }

    .token-amount {
        font-size: 1.3rem;
        font-weight: 600;
        color: white;
    }

    .arrow-container {
        transform: rotate(90deg);
        margin: 8px 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .card-header {
        margin-bottom: 20px;
    }

    .card-header h3 {
        font-size: 1rem;
    }

    .transaction-details {
        margin-top: 20px;
    }

    .detail-row {
        padding: 10px 0;
        font-size: 0.9rem;
    }

    /* Reduzir fonte do formulário no mobile */
    .swap-form label,
    .swap-form .input-wrapper,
    .swap-form input,
    .swap-form .input-suffix,
    .rate-display,
    .rate-display span,
    .rate-display strong,
    .input-hint,
    .summary-card,
    .swap-form .card-label,
    .swap-form .card-value,
    .final-receive-card {
        font-size: 0.85rem !important;
    }

    /* Remover negritos no mobile */
    .swap-form strong,
    .swap-form b,
    .rate-display strong,
    .swap-form .card-value span {
        font-weight: 400 !important;
    }

    /* Ajustar tamanhos específicos */
    .btn-swap {
        font-size: 0.9rem !important;
        padding: 14px 20px !important;
    }

    .input-group label i {
        font-size: 0.85rem !important;
    }
} 