/* Fonts */
@font-face {
    font-family: 'GT-Pressura-Mono';
    src: url('https://ext.same-assets.com/2829815592/348413379.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'GT-Pressura-Mono';
    src: url('https://ext.same-assets.com/2829815592/782686536.woff2') format('woff2');
    font-weight: 300;
    font-display: swap;
}

@font-face {
    font-family: 'GT-Pressura-Mono';
    src: url('https://ext.same-assets.com/2829815592/1263592857.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: 'VectrexWeb';
    src: url('https://ext.same-assets.com/2829815592/2561577197.woff2') format('woff2');
    font-weight: 700;
    font-display: swap;
}

/* CSS Variables for Theme Support */
:root {
    /* Light theme colors - warm brownish tones (much darker with more variation) */
    --bg-primary: #ddd4c5;
    --bg-secondary: #e3d9ca;
    --bg-tertiary: #d7cbb8;
    --bg-card: #e9dece;
    --bg-input: #f0e6db;
    --bg-button: #d1c5b3;

    --text-primary: #2c1810;
    --text-secondary: #6b5b47;
    --text-muted: #9a8a78;

    --border-color: #e0d5c7;
    --border-hover: #2c1810;

    --accent-orange: #f09423;
    --accent-green: #00b67a;
    --accent-blue: #2196f3;

    --shadow: rgba(0, 0, 0, 0.1);
    --shadow-hover: rgba(0, 0, 0, 0.2);

    /* Status colors */
    --status-success: #4caf50;
    --status-error: #f44336;
    --status-warning: #ff9800;
    --status-info: #2196f3;
}

/* Dark theme */
[data-theme="dark"] {
    --bg-primary: #0f1419;
    --bg-secondary: #1a1f29;
    --bg-tertiary: #242b38;
    --bg-card: #1e2530;
    --bg-input: #242b38;
    --bg-button: #2a3441;

    --text-primary: #ffffff;
    --text-secondary: #a0a9ba;
    --text-muted: #6b7280;

    --border-color: #374151;
    --border-hover: #60a5fa;

    --accent-orange: #f59e0b;
    --accent-green: #10b981;
    --accent-blue: #3b82f6;

    --shadow: rgba(0, 0, 0, 0.3);
    --shadow-hover: rgba(0, 0, 0, 0.5);

    /* Status colors for dark mode */
    --status-success: #10b981;
    --status-error: #ef4444;
    --status-warning: #f59e0b;
    --status-info: #3b82f6;
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'GT-Pressura-Mono', 'Courier New', monospace;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s ease, color 0.3s ease;
    padding-top: 80px; /* Account for fixed header */
}

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

/* Theme Toggle Button */
.theme-toggle {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.theme-toggle:hover {
    border-color: var(--border-hover);
    background-color: var(--bg-tertiary);
    transform: rotate(180deg);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    transition: all 0.3s ease;
}

/* Price Update Indicator */
.price-update {
    position: relative;
    display: inline-block;
}

.price-update.updating::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    animation: pulse 1s infinite;
}

.price-update.error::after {
    background-color: var(--status-error);
}

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

/* Live Price Badge */
.live-price-badge {
    background: linear-gradient(45deg, var(--accent-green), var(--accent-blue));
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-left: 8px;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 5px var(--accent-green); }
    to { box-shadow: 0 0 15px var(--accent-green), 0 0 20px var(--accent-blue); }
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.btn-primary:hover {
    background-color: var(--border-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-primary);
    border: 2px solid var(--text-primary);
}

.btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.btn-shift {
    width: 100%;
    padding: 16px;
    font-size: 16px;
    margin-top: 24px;
    background-color: var(--text-secondary);
    cursor: not-allowed;
    color: var(--bg-primary);
}

.btn-shift.active {
    background-color: var(--text-primary);
    cursor: pointer;
}

/* Header */
.header {
    background-color: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
    padding: 16px 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease-in-out, background-color 0.3s ease;
}

.header.hidden {
    transform: translateY(-100%);
}

.header.visible {
    transform: translateY(0);
}

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

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

.logo {
    width: 24px;
    height: 24px;
    filter: var(--logo-filter, none);
}

[data-theme="dark"] .logo {
    filter: brightness(0) invert(1);
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.logo-link {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

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

.logo-link:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
    border-radius: 4px;
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: var(--text-secondary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.network-selector {
    background: none;
    border: 2px solid var(--text-primary);
    border-radius: 4px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary);
}

.network-selector:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.network-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-orange);
    border-radius: 50%;
}

/* Hero Section */
.hero {
    background: linear-gradient(-45deg, var(--bg-secondary), var(--bg-tertiary), var(--bg-primary), var(--bg-card));
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.05) 0%, rgba(16, 185, 129, 0.05) 50%, rgba(245, 158, 11, 0.05) 100%);
    animation: gradientFloat 20s ease-in-out infinite;
    pointer-events: none;
}

.hero-title {
    font-family: 'VectrexWeb', 'GT-Pressura-Mono', monospace;
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 16px;
    line-height: 1.1;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Trading Card */
.trading-card {
    background-color: var(--bg-tertiary);
    border-radius: 12px;
    padding: 32px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 4px 20px var(--shadow);
}

/* Steps */
.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.step {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

.step.active .step-label,
.step.active .step-text {
    color: var(--text-primary);
}

.step-label {
    color: var(--text-secondary);
}

.step-text {
    color: var(--text-secondary);
}

.step-icon {
    width: 20px;
    height: 20px;
}

.step-arrow {
    color: var(--text-secondary);
    margin-left: 8px;
}

/* Rate Toggle */
.rate-toggle {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: wrap;
    justify-content: center;
}

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

.rate-btn {
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    padding: 8px 0;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-secondary);
}

.rate-btn.active {
    border-bottom-color: var(--text-primary);
    color: var(--text-primary);
}

.rate-btn:not(.active) {
    color: var(--text-secondary);
}

.rate-info-container {
    position: relative;
    display: inline-block;
}

.rate-info-btn {
    background: none;
    border: none;
    padding: 6px;
    cursor: pointer;
    color: var(--text-secondary);
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    min-height: 28px;
}

.rate-info-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: scale(1.1);
}

.rate-info-btn:active {
    transform: scale(0.95);
}

.rate-tooltip {
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    margin-bottom: 8px;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(16px);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    z-index: 1000;
    min-width: 220px;
}

.rate-tooltip.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.rate-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 8px solid transparent;
    border-top-color: var(--card-bg);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.tooltip-content h4 {
    margin: 0 0 14px 0;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: 0.3px;
}

.rate-tier {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.2s ease;
}

.rate-tier:hover {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    margin: 0 -4px;
    padding: 10px 4px;
}

.rate-tier:last-child {
    border-bottom: none;
}

.rate-amount {
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.rate-percentage {
    font-size: 14px;
    font-weight: 700;
    color: var(--accent-primary);
    text-shadow: 0 0 10px rgba(var(--accent-rgb), 0.3);
}

.rate-info svg {
    color: var(--text-secondary);
}

.rate-display {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 16px;
}

/* Coin Selection */
.coin-selection {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 16px;
    margin-bottom: 32px;
    align-items: center;
    position: relative;
}

.coin-card {
    background-color: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 24px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
}

.coin-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 12px var(--shadow);
}

.coin-header {
    margin-bottom: 16px;
}

.coin-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.coin-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

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

.coin-icon {
    width: 40px;
    height: 40px;
}

.coin-symbol {
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    color: var(--text-primary);
}

.coin-name {
    font-size: 14px;
    color: var(--text-secondary);
}

.coin-amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

/* Enhanced Coin Selection Styles */
.coin-content {
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
}

.coin-content:hover {
    background-color: var(--bg-tertiary);
    border-radius: 8px;
    margin: -4px;
    padding: 4px;
}

.coin-content[data-dropdown] {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 8px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.coin-content[data-dropdown]:hover {
    background-color: var(--bg-tertiary);
}

.coin-dropdown-arrow {
    color: var(--text-secondary);
    transition: transform 0.2s ease;
}

.coin-content.active .coin-dropdown-arrow {
    transform: rotate(180deg);
}

.coin-price {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
}

.coin-symbol {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

/* USDT Icon Styling */
.usdt-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #26A54B 0%, #1C7A3A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    color: white;
    min-width: 40px;
}

/* Step Icon USDT */
.step-icon-usdt {
    width: 20px;
    height: 20px;
    background: linear-gradient(135deg, #26A54B 0%, #1C7A3A 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
    min-width: 20px;
}

/* Network Selector Styles */
.network-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background-color: var(--bg-button);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 12px;
}

.network-selector:hover {
    border-color: var(--border-hover);
    background-color: var(--bg-tertiary);
}

.network-badge {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    background: linear-gradient(135deg, #627EEA 0%, #4A69D6 100%);
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
}

/* Dropdown Styles */
.coin-dropdown,
.network-dropdown {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1001;
    width: 90vw;
    max-width: 400px;
    max-height: 80vh;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px var(--shadow);
    overflow: hidden;
}

.dropdown-content {
    max-height: 70vh;
    overflow-y: auto;
}

.dropdown-header {
    padding: 16px 20px 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
}

.dropdown-search {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-secondary);
}

.search-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background-color: var(--bg-input);
    color: var(--text-primary);
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--border-hover);
    box-shadow: 0 0 0 3px var(--shadow);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.dropdown-list {
    padding: 8px 0;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background-color: var(--bg-tertiary);
}

.dropdown-item.selected {
    background-color: var(--accent-blue);
    color: white;
}

.dropdown-item .coin-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.dropdown-item .coin-details {
    flex: 1;
}

.dropdown-item .coin-symbol {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.dropdown-item.selected .coin-symbol {
    color: white;
}

.dropdown-item .coin-name {
    font-size: 12px;
    color: var(--text-secondary);
}

.dropdown-item.selected .coin-name {
    color: rgba(255, 255, 255, 0.8);
}

.dropdown-item .coin-price {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
}

.dropdown-item.selected .coin-price {
    color: rgba(255, 255, 255, 0.9);
}

/* Network Dropdown Items */
.network-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.network-item:hover {
    background-color: var(--bg-tertiary);
}

.network-item.selected {
    background-color: var(--accent-blue);
    color: white;
}

.network-badge-dropdown {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 4px 8px;
    border-radius: 4px;
    color: white;
}

.network-item .network-name {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.network-item.selected .network-name {
    color: white;
}

/* Enhanced Trading Card */
.trading-card {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 8px 32px var(--shadow);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: visible;
}

/* Enhanced Coin Cards */
.coin-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-secondary) 100%);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: visible;
}

.coin-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 32px var(--shadow);
    transform: translateY(-2px);
}

.coin-card.active {
    border-color: var(--accent-blue);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Enhanced Swap Arrow */
.swap-arrow {
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-green) 100%);
    border: none;
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.3);
}

.swap-arrow:hover {
    transform: rotate(180deg) scale(1.1);
    box-shadow: 0 8px 24px rgba(59, 130, 246, 0.4);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .coin-dropdown,
    .network-dropdown {
        width: 95vw;
        max-width: 350px;
    }

    /* Mobile header adjustments */
    body {
        padding-top: 90px; /* Increased to ensure content is visible below header */
    }

    .header {
        padding: 12px 0; /* Reduced header padding */
    }

    .container {
        padding: 0 15px; /* Reduced container padding */
    }

    /* Dashboard hero section mobile adjustments */
    .dashboard-hero {
        padding-top: 100px !important; /* Extra padding to clear fixed header */
        padding-bottom: 40px !important; /* Reduced bottom padding */
    }
}

@media (max-width: 480px) {
    /* Extra small mobile devices */
    body {
        padding-top: 85px; /* Slightly reduced for very small screens */
    }

    .header {
        padding: 10px 0; /* Even more reduced padding for tiny screens */
    }

    /* Dashboard hero section for extra small mobile */
    .dashboard-hero {
        padding-top: 90px !important; /* Ensure visible below header on small mobile */
        padding-bottom: 20px !important; /* Reduced bottom padding */
    }
}

/* Loading States */
.dropdown-item.loading {
    pointer-events: none;
    opacity: 0.6;
}

.dropdown-item.loading::after {
    content: '';
    width: 16px;
    height: 16px;
    border: 2px solid var(--border-color);
    border-top-color: var(--accent-orange);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

/* Loading Dots Animation */
.loading-dots {
    position: relative;
    display: inline-block;
    width: 24px;
    height: 1em;
    vertical-align: middle;
}

.loading-dots::after {
    content: '...';
    position: absolute;
    left: 0;
    animation: loading-dots 1.5s infinite;
}

@keyframes loading-dots {
    0% { content: ''; }
    25% { content: '.'; }
    50% { content: '..'; }
    75% { content: '...'; }
    100% { content: '...'; }
}

/* Address Section */
.address-section {
    margin-bottom: 24px;
}

.address-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.address-input-container {
    display: flex;
    gap: 8px;
}

.address-input {
    flex: 1;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    background-color: var(--bg-input);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.address-input:focus {
    outline: none;
    border-color: var(--border-hover);
    box-shadow: 0 0 0 3px var(--shadow);
}

.address-input::placeholder {
    color: var(--text-muted);
}

.qr-btn {
    background-color: var(--bg-input);
    border: 2px solid var(--border-color);
    border-radius: 4px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.qr-btn:hover {
    border-color: var(--border-hover);
    background-color: var(--bg-tertiary);
}

.qr-icon {
    width: 20px;
    height: 20px;
    filter: var(--text-primary) == #ffffff ? brightness(0) invert(1) : none;
}

/* Trust Section */
.trust {
    background-color: var(--bg-secondary);
    padding: 80px 0;
    text-align: center;
}

.trust-title {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.trust-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 64px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.trust-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 24px;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.trust-logo:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Tagline */
.tagline {
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary), var(--bg-primary));
    background-size: 300% 300%;
    animation: gradientShift 12s ease infinite reverse;
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tagline::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(16, 185, 129, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    animation: gradientFloat 18s ease-in-out infinite reverse;
    pointer-events: none;
}

.tagline-text {
    font-family: 'VectrexWeb', 'GT-Pressura-Mono', monospace;
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.trustpilot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.trustpilot-text {
    font-weight: 600;
    color: var(--text-primary);
}

.stars {
    color: var(--accent-green);
    font-size: 18px;
}

.trustpilot-logo {
    color: var(--accent-green);
    font-weight: 600;
}

/* Live Markets Section */
.live-markets {
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.live-markets::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(45deg, var(--accent-blue) 0%, var(--accent-green) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 40%, 80% 60%, 60% 50%, 40% 70%, 20% 60%, 0 80%);
    opacity: 0.08;
}

.live-markets::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: -15%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: marketFloat 12s ease-in-out infinite;
}

@keyframes marketFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-40px, -30px) rotate(120deg); }
    66% { transform: translate(20px, -40px) rotate(240deg); }
}

.markets-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 64px;
    color: var(--text-primary);
    position: relative;
}

.markets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.market-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.market-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.02) 0%, rgba(59, 130, 246, 0.02) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.market-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 12px 48px rgba(245, 158, 11, 0.1);
}

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

.market-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.market-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.market-info {
    display: flex;
    flex-direction: column;
}

.market-symbol {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.market-name {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1;
}

.market-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.market-change {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
    padding: 4px 8px;
    border-radius: 4px;
    display: inline-block;
    min-width: 60px;
    text-align: center;
}

.market-change.positive {
    color: #10b981;
    background-color: rgba(16, 185, 129, 0.1);
}

.market-change.negative {
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.1);
}

.market-change.neutral {
    color: var(--text-secondary);
    background-color: rgba(156, 163, 175, 0.1);
}

.market-chart {
    height: 80px;
    position: relative;
}

.market-chart canvas {
    width: 100%;
    height: 100%;
    border-radius: 8px;
}

/* Price Update Timestamp Indicator */
.price-update-info {
    text-align: center;
    margin: 16px 0 32px 0;
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    display: inline-block;
    margin-left: 50%;
    transform: translateX(-50%);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.update-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.update-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    animation: pulse-dot 2s infinite;
    flex-shrink: 0;
}

.update-dot.stale {
    background: #f59e0b;
}

.update-dot.error {
    background: #ef4444;
    animation: none;
}

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

.update-text {
    white-space: nowrap;
}

/* Animated Price Change Arrows */
.market-change-container {
    margin-bottom: 16px;
}

.market-change {
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 70px;
    justify-content: center;
    transition: all 0.3s ease;
}

.change-arrow {
    font-size: 12px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
    line-height: 1;
}

.change-value {
    font-weight: 600;
    transition: all 0.3s ease;
}

.market-change.positive .change-arrow {
    color: #10b981;
    animation: bounce-up 1.5s ease-in-out infinite;
}

.market-change.negative .change-arrow {
    color: #ef4444;
    animation: bounce-down 1.5s ease-in-out infinite;
}

.market-change.neutral .change-arrow {
    color: var(--text-secondary);
    animation: none;
}

@keyframes bounce-up {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-2px);
        opacity: 1;
    }
}

@keyframes bounce-down {
    0%, 100% {
        transform: translateY(0);
        opacity: 0.8;
    }
    50% {
        transform: translateY(2px);
        opacity: 1;
    }
}

.market-change:hover .change-arrow {
    transform: scale(1.2);
}

.market-change:hover .change-value {
    font-weight: 700;
}

/* Refresh Button */
.refresh-button {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    padding: 6px;
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    vertical-align: middle;
}

.refresh-button:hover {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
    transform: translateY(-1px);
}

.refresh-button:active {
    transform: translateY(0);
}

.refresh-button.loading {
    pointer-events: none;
    opacity: 0.7;
}

.refresh-icon {
    width: 14px;
    height: 14px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.refresh-button:hover .refresh-icon {
    color: #10b981;
}

.refresh-button.loading .refresh-icon {
    animation: spin 1s linear infinite;
}

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

.refresh-button::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;
}

.refresh-button:hover::before {
    left: 100%;
}



/* Testimonials */
.testimonials {
    background-color: var(--bg-secondary);
    padding: 80px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.testimonial-card {
    background-color: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 32px;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 8px 30px var(--shadow);
    transform: translateY(-2px);
}

.testimonial-title {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.testimonial-text {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.show-more {
    background: none;
    border: none;
    color: var(--border-hover);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    text-decoration: underline;
    margin-bottom: 16px;
    transition: color 0.2s ease;
}

.show-more:hover {
    color: var(--text-primary);
}

.testimonial-author {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.testimonial-author span {
    color: var(--text-secondary);
    font-weight: 400;
}

/* Process */
.process {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.process::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-green) 0%, var(--accent-blue) 100%);
    clip-path: polygon(0 60%, 20% 40%, 40% 50%, 60% 30%, 80% 40%, 100% 20%, 100% 100%, 0 100%);
    opacity: 0.1;
}

.process-title {
    text-align: center;
    font-size: 48px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 80px;
    color: var(--text-primary);
}

.process-steps {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.process-step {
    text-align: center;
    flex: 1;
    max-width: 320px;
    position: relative;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 40px 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s ease;
    overflow: hidden;
}

.process-step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(16, 185, 129, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.process-step:hover {
    transform: translateY(-8px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 16px 48px rgba(59, 130, 246, 0.15);
}

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

.process-icon {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-green) 100%);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 32px;
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.25);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.process-step:hover .process-icon {
    transform: translateY(-12px) scale(1.1) rotate(5deg);
    box-shadow: 0 24px 60px rgba(59, 130, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.process-icon::before {
    content: '';
    position: absolute;
    top: -6px;
    left: -6px;
    right: -6px;
    bottom: -6px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-green) 100%);
    border-radius: 36px;
    opacity: 0;
    transition: all 0.4s ease;
    z-index: -1;
    animation: processIconGlow 3s ease-in-out infinite;
}

.process-step:hover .process-icon::before {
    opacity: 0.4;
}

@keyframes processIconGlow {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.05); }
}

.process-number {
    font-size: 52px;
    font-weight: 700;
    color: white;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    position: relative;
}

.process-step:hover .process-number {
    transform: scale(1.1);
    text-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.process-step-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-primary);
    text-transform: uppercase;
    line-height: 1.4;
    margin-bottom: 16px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.process-step-description {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 260px;
    margin: 0 auto;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.process-step:hover .process-step-title {
    color: var(--accent-blue);
    transform: translateY(-2px);
}

.process-step:hover .process-step-description {
    color: var(--text-primary);
    transform: translateY(-1px);
}



/* Footer */
.footer {
    background-color: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: 32px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-copyright {
    font-weight: 600;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--text-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        gap: 16px;
    }

    .nav-menu {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
    }

    .nav-actions {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero {
        padding: 80px 0 40px 0; /* Added top padding to clear fixed header on mobile */
    }

    .trading-card {
        padding: 24px 16px;
    }

    .coin-selection {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
    }

    .swap-arrow {
        transform: rotate(90deg);
        margin: 16px auto;
    }

    .rate-toggle {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
        gap: 12px;
    }

    .rate-section {
        justify-content: center;
    }

    .rate-tooltip {
        position: fixed;
        top: 15vh;
        left: 50%;
        right: auto;
        bottom: auto;
        transform: translateX(-50%);
        margin: 0;
        max-width: 320px;
        width: 90vw;
        padding: 20px 24px;
        border-radius: 16px;
        max-height: 70vh;
        overflow-y: auto;
        z-index: 9999;
    }

    .rate-tooltip.show {
        transform: translateX(-50%) scale(1);
    }

    .rate-tooltip::after {
        display: none;
    }

    .rate-info-btn {
        min-width: 32px;
        min-height: 32px;
        padding: 8px;
    }

    .tooltip-content h4 {
        font-size: 16px;
        margin-bottom: 16px;
    }

    .rate-tier {
        padding: 12px 0;
    }

    .rate-amount, .rate-percentage {
        font-size: 14px;
    }

    .trust-logos {
        gap: 24px;
        flex-wrap: wrap;
    }

    .trust-logo-text {
        font-size: 16px;
        padding: 10px 16px;
    }

    .process {
        padding: 60px 0;
    }

    .process-title {
        font-size: 32px;
        margin-bottom: 60px;
    }

    .process-steps {
        flex-direction: column;
        gap: 60px;
        align-items: center;
    }

    .process-step {
        max-width: 320px;
    }

    .process-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 24px;
    }

    .process-number {
        font-size: 40px;
    }

    .process-connector {
        display: none;
    }

    .process-step-title {
        font-size: 14px;
        margin-bottom: 12px;
    }
}

/* Additional mobile fixes for very small screens */
@media (max-width: 480px), (max-height: 600px) {
    .rate-tooltip {
        top: 10vh !important;
        max-height: 80vh !important;
        width: 95vw !important;
        max-width: 350px !important;
    }

    .rate-tooltip.show {
        transform: translateX(-50%) scale(1) !important;
    }

    .process-step-description {
        font-size: 13px;
        max-width: 280px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 40px 0; /* Extra padding to clear fixed header on small mobile */
    }

    .steps {
        flex-direction: column;
        text-align: center;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 8px 0;
    }

    .coin-card {
        padding: 16px;
    }

    .live-markets {
        padding: 40px 0;
    }

    .markets-title {
        font-size: 20px;
        margin-bottom: 32px;
    }

    .markets-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .market-card {
        padding: 16px;
    }

    .market-header {
        margin-bottom: 12px;
    }

    .market-price {
        font-size: 18px;
        margin-bottom: 6px;
    }

    .market-change {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .market-chart {
        height: 60px;
    }

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

    .live-markets {
        padding: 60px 0;
    }

    .markets-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .markets-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
    }

    .market-card {
        padding: 20px;
    }

    .market-price {
        font-size: 20px;
    }

    .trust,
    .tagline,
    .testimonials,
    .process {
        padding: 40px 0;
    }

    .process-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .process-steps {
        gap: 40px;
    }

    .process-icon {
        width: 80px;
        height: 80px;
        border-radius: 16px;
    }

    .process-number {
        font-size: 32px;
    }

    .process-step-title {
        font-size: 12px;
    }

    .process-step-description {
        font-size: 12px;
        max-width: 240px;
    }

    .trust-logos {
        gap: 16px;
        flex-direction: column;
        align-items: center;
    }

    .trust-logo-text {
        font-size: 14px;
        padding: 8px 12px;
    }

    .trust-title {
        font-size: 20px;
        margin-bottom: 32px;
    }
}

/* Loading and Interaction States */
.coin-card.loading {
    opacity: 0.7;
    pointer-events: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.fade-in {
    animation: fadeIn 0.3s ease;
}

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

/* Animated Background Gradients */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@keyframes gradientFloat {
    0%, 100% {
        transform: translateX(0%) translateY(0%) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateX(5%) translateY(-5%) rotate(1deg);
        opacity: 0.4;
    }
    50% {
        transform: translateX(-5%) translateY(-10%) rotate(-1deg);
        opacity: 0.5;
    }
    75% {
        transform: translateX(-10%) translateY(-5%) rotate(0.5deg);
        opacity: 0.4;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 30px rgba(59, 130, 246, 0.5);
        transform: scale(1.05);
    }
}

/* No overlay needed for dropdowns */
/* Focus states for accessibility */
button:focus-visible,
input:focus-visible,
a:focus-visible {
    outline: 2px solid var(--border-hover);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .coin-card {
        border-width: 3px;
    }

    .btn-secondary {
        border-width: 3px;
    }
}

/* Step 2 Deposit Card Styles */
.deposit-card {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
    border-radius: 16px;
    padding: 32px;
    max-width: 800px;
    margin: 0 auto;
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 32px var(--shadow);
    backdrop-filter: blur(20px);
}

.deposit-title {
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--text-primary);
}

.deposit-limits {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-bottom: 32px;
}

.limit-item {
    text-align: center;
}

.limit-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 8px;
}

.limit-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.deposit-address-section {
    text-align: center;
    margin-bottom: 32px;
}

.deposit-address-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.deposit-address-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.deposit-address {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    background-color: var(--bg-input);
    padding: 12px 16px;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    cursor: pointer;
    transition: all 0.2s ease;
    word-break: break-all;
}

.deposit-address:hover {
    border-color: var(--border-hover);
    background-color: var(--bg-tertiary);
    transform: translateY(-1px);
}

.deposit-address-visibility {
    background: none;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    padding: 12px;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.deposit-address-visibility:hover {
    border-color: var(--border-hover);
    color: var(--text-primary);
}

.copy-address-btn {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border: none;
    border-radius: 8px;
    padding: 12px 24px;
    font-family: inherit;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.copy-address-btn:hover {
    background-color: var(--border-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px var(--shadow);
}

.deposit-info {
    margin-bottom: 24px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

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

.info-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.info-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

/* Promotional Popup Styles */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.show {
    opacity: 1;
    visibility: visible;
}

.popup-content {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    transform: scale(0.8) translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 20px 40px var(--shadow-hover);
}

.popup-overlay.show .popup-content {
    transform: scale(1) translateY(0);
}

.popup-header {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

.popup-header h2 {
    font-family: 'GT-Pressura-Mono', monospace;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.popup-close {
    background: none;
    border: none;
    color: white;
    font-size: 32px;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    transition: all 0.2s ease;
}

.popup-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.popup-body {
    padding: 32px 24px;
    text-align: center;
}

.popup-body p {
    font-size: 18px;
    color: var(--text-primary);
    margin-bottom: 16px;
    font-family: 'GT-Pressura-Mono', monospace;
}

.popup-body p:first-child {
    font-size: 20px;
    font-weight: 700;
}

.popup-subtext {
    color: var(--text-secondary) !important;
    font-size: 16px !important;
    margin-bottom: 24px !important;
}

.popup-highlight {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    border-radius: 12px;
    padding: 20px;
    margin: 24px 0;
    color: white;
}

.highlight-text {
    display: block;
    font-size: 28px;
    font-weight: 700;
    font-family: 'GT-Pressura-Mono', monospace;
    margin-bottom: 8px;
}

.highlight-subtext {
    display: block;
    font-size: 16px;
    opacity: 0.9;
}

.popup-footer {
    padding: 24px;
    display: flex;
    gap: 12px;
    justify-content: center;
    border-top: 1px solid var(--border-color);
}

.popup-btn-primary {
    background: linear-gradient(135deg, var(--accent-green), var(--accent-blue));
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 28px;
    font-family: 'GT-Pressura-Mono', monospace;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(16, 185, 129, 0.3);
}

.popup-btn-secondary {
    background: var(--bg-button);
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 14px 28px;
    font-family: 'GT-Pressura-Mono', monospace;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    flex: 1;
}

.popup-btn-secondary:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Mobile responsiveness for popup */
@media (max-width: 768px) {
    .popup-content {
        width: 95%;
        margin: 20px;
    }

    .popup-header h2 {
        font-size: 20px;
    }

    .popup-body p:first-child {
        font-size: 18px;
    }

    .highlight-text {
        font-size: 24px;
    }

    .popup-footer {
        flex-direction: column;
    }

    .popup-btn-primary,
    .popup-btn-secondary {
        flex: none;
    }
}

.receiving-address-tooltip {
    position: relative;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.receiving-address-tooltip:hover {
    background-color: var(--bg-input);
    border-color: var(--accent-green);
}

.tooltip {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--bg-primary);
    border: 1px solid var(--accent-green);
    border-radius: 6px;
    padding: 12px;
    font-size: 12px;
    font-family: 'Courier New', monospace;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.2s ease;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    color: var(--text-primary);
    max-width: 90vw;
    word-break: break-all;
    white-space: pre-wrap;
}

.tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--accent-green);
}

.receiving-address-tooltip:hover .tooltip {
    opacity: 1;
    visibility: visible;
}

/* Mobile tooltip adjustments for MIXX */
@media (max-width: 768px) {
    .tooltip {
        left: 0;
        right: 0;
        transform: none;
        max-width: calc(100vw - 40px);
        font-size: 11px;
    }

    .tooltip::after {
        left: 20px;
        transform: none;
    }
}

.order-info {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.order-details {
    font-size: 12px;
    color: var(--text-secondary);
}

.order-id, .order-created {
    margin-bottom: 4px;
}

/* Additional Sections for Legitimacy */

/* Statistics Section */
.statistics {
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    padding: 80px 0;
    border-top: 1px solid var(--border-color);
    position: relative;
}

.statistics::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-green) 100%);
    clip-path: polygon(0 60%, 20% 40%, 40% 50%, 60% 30%, 80% 40%, 100% 20%, 100% 100%, 0 100%);
    opacity: 0.1;
}

.statistics-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 64px;
    color: var(--text-primary);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-tertiary) 100%);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-blue) 0%, var(--accent-green) 50%, var(--accent-orange) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 48px var(--shadow);
    border-color: var(--accent-blue);
}

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

.stat-card:nth-child(1) {
    border-top: 3px solid var(--accent-green);
}

.stat-card:nth-child(2) {
    border-top: 3px solid var(--accent-blue);
}

.stat-card:nth-child(3) {
    border-top: 3px solid var(--status-success);
}

.stat-value {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -1px;
}

.stat-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.stat-chart {
    height: 60px;
    margin-top: 16px;
    opacity: 0.8;
}

/* Live Activity Section */
.live-activity {
    background-color: var(--bg-tertiary);
    padding: 80px 0;
}

.activity-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.activity-feed {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.activity-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.2s ease;
}

.activity-item:hover {
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.activity-coins {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.activity-arrow {
    color: var(--text-secondary);
    transform: rotate(90deg);
}

.activity-amount {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    flex: 1;
    text-align: center;
}

.activity-time {
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Security Section */
.security {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.security::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(45deg, var(--accent-green) 0%, var(--accent-blue) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 40%, 80% 60%, 60% 50%, 40% 70%, 20% 60%, 0 80%);
    opacity: 0.08;
}

.security::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: securityFloat 8s ease-in-out infinite;
}

@keyframes securityFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-20px, -30px) rotate(120deg); }
    66% { transform: translate(10px, -20px) rotate(240deg); }
}

/* Section Divider */
.section-divider {
    background: linear-gradient(45deg, var(--bg-secondary) 0%, var(--bg-tertiary) 50%, var(--bg-secondary) 100%);
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.section-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-blue) 20%, var(--accent-green) 50%, var(--accent-orange) 80%, transparent 100%);
    animation: dividerPulse 3s ease-in-out infinite;
}

.section-divider::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, var(--accent-orange) 20%, var(--accent-green) 50%, var(--accent-blue) 80%, transparent 100%);
    animation: dividerPulse 3s ease-in-out infinite reverse;
}

.divider-content {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.divider-shape {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, var(--border-color) 50%, transparent 100%);
    position: relative;
}

.divider-shape::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--accent-blue);
    border-radius: 50%;
    animation: shapePulse 2s ease-in-out infinite;
}

.divider-dots {
    display: flex;
    gap: 12px;
    margin: 0 40px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-blue), var(--accent-green));
    animation: dotFloat 2s ease-in-out infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.3s;
}

.dot:nth-child(3) {
    animation-delay: 0.6s;
}

@keyframes dividerPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

@keyframes shapePulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.5); opacity: 1; }
}

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

.security-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 64px;
    color: var(--text-primary);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.security-feature {
    text-align: center;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.security-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.03) 0%, rgba(16, 185, 129, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.security-feature:hover {
    transform: translateY(-4px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 32px rgba(59, 130, 246, 0.1);
}

.security-feature:hover::before {
    opacity: 1;
}

.security-icon {
    margin: 0 auto 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background-color: var(--bg-tertiary);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.security-feature:hover .security-icon {
    border-color: var(--accent-green);
    background-color: var(--accent-green);
    color: white;
    transform: scale(1.1);
}

.security-feature-title {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.security-feature-description {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-secondary);
}

/* Networks Section */
.networks {
    background: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-secondary) 50%, var(--bg-primary) 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.networks::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(45deg, var(--accent-orange) 0%, var(--accent-blue) 100%);
    clip-path: polygon(0 0, 100% 0, 100% 40%, 80% 60%, 60% 50%, 40% 70%, 20% 60%, 0 80%);
    opacity: 0.08;
}

.networks::after {
    content: '';
    position: absolute;
    bottom: 20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: networksFloat 10s ease-in-out infinite;
}

@keyframes networksFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -20px) rotate(90deg); }
    50% { transform: translate(-10px, -40px) rotate(180deg); }
    75% { transform: translate(-30px, -10px) rotate(270deg); }
}

.networks-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 64px;
    color: var(--text-primary);
}

.networks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.network-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.network-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.03) 0%, rgba(59, 130, 246, 0.03) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.network-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 12px 40px rgba(245, 158, 11, 0.1);
}

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

.network-icon {
    margin: 0 auto 20px;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.network-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--accent-orange), var(--accent-blue));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.network-card:hover .network-icon {
    transform: scale(1.1);
    border-color: rgba(245, 158, 11, 0.3);
}

.network-card:hover .network-icon::before {
    opacity: 0.2;
}

.network-logo {
    width: 80%;
    height: 80%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.network-card:hover .network-logo {
    filter: brightness(1.2);
}

.network-name {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.network-description {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Enhanced Process Visual Effects */
@keyframes processFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

.process-step:nth-child(1) .process-icon {
    animation: processFloat 4s ease-in-out infinite;
    animation-delay: 0s;
}

.process-step:nth-child(2) .process-icon {
    animation: processFloat 4s ease-in-out infinite;
    animation-delay: 1.3s;
}

.process-step:nth-child(3) .process-icon {
    animation: processFloat 4s ease-in-out infinite;
    animation-delay: 2.6s;
}

/* Process step hover effects */
.process-step:hover .process-step-title {
    color: var(--accent-blue);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

.process-step:hover .process-step-description {
    color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Trust Logo Text */
.trust-logo-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.5px;
    opacity: 0.8;
    transition: all 0.3s ease;
    padding: 12px 20px;
    border: 2px solid transparent;
    border-radius: 8px;
    white-space: nowrap;
}

.trust-logo:hover .trust-logo-text {
    opacity: 1;
    transform: translateY(-2px);
    border-color: var(--border-color);
    background-color: var(--bg-tertiary);
}

/* Dark mode adjustments for trust logos */
[data-theme="dark"] .trust-logo-text {
    opacity: 0.9;
}

[data-theme="dark"] .trust-logo:hover .trust-logo-text {
    opacity: 1;
    border-color: var(--border-hover);
}

/* Enhanced Responsive Design */
@media (max-width: 768px) {
    .statistics,
    .live-activity,
    .security,
    .networks {
        padding: 60px 0;
    }

    .statistics-title,
    .activity-title,
    .security-title,
    .networks-title {
        font-size: 24px;
        margin-bottom: 40px;
    }

    .stats-grid,
    .security-grid,
    .networks-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat-value {
        font-size: 36px;
    }

    .activity-item {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .activity-amount {
        text-align: center;
    }

    .process-icon {
        width: 80px;
        height: 80px;
    }

    .process-number {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .activity-coins {
        flex-direction: column;
        gap: 8px;
    }

    .activity-arrow {
        transform: rotate(180deg);
    }

    .stat-card {
        padding: 24px 16px;
    }

    .security-feature {
        padding: 24px 16px;
    }
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card,
.activity-item,
.security-feature,
.network-card {
    animation: slideInUp 0.6s ease-out;
}

.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.2s; }
.stat-card:nth-child(4) { animation-delay: 0.3s; }

/* Back to Top Button */
/* Support Button */
.support-button {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: supportPulse 4s ease-in-out infinite;
}

.support-button:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 30px rgba(16, 185, 129, 0.5);
    animation: none;
}

.support-button:active {
    transform: translateY(-1px) scale(1.05);
}

.support-button svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.support-button:hover svg {
    transform: scale(1.1);
}

/* Support button tooltip */
.support-button::before {
    content: 'Need Help?';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--card-bg);
    color: var(--text-primary);
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1001;
}

.support-button::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: var(--card-bg);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2px;
    z-index: 1001;
}

/* Light mode tooltip improvements */
[data-theme="light"] .support-button::before {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15), 0 2px 4px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .support-button::after {
    border-top-color: #ffffff;
}

.support-button:hover::before,
.support-button:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Support button animation */
@keyframes supportPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
    }
    50% {
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.6);
    }
}

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-blue) 0%, var(--accent-green) 100%);
    border: none;
    border-radius: 50%;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
    animation: pulseGlow 3s ease-in-out infinite;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.5);
    animation: none;
}

.back-to-top:active {
    transform: translateY(-1px) scale(1.05);
}

/* Back to top icon */
.back-to-top svg {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.back-to-top:hover svg {
    transform: translateY(-2px);
}

/* Responsive support and back to top buttons */
@media (max-width: 768px) {
    .support-button {
        bottom: 80px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .support-button svg {
        width: 20px;
        height: 20px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
        font-size: 18px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    .back-to-top {
        animation: none;
    }
}

/* Countdown Timer Styles */
.countdown-container {
    margin: 30px 0;
    padding: 0;
}

.countdown-timer {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.countdown-timer:hover {
    box-shadow: 0 8px 12px -2px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.countdown-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.countdown-display {
    font-size: 48px;
    font-weight: 700;
    color: #1e293b;
    font-family: 'Courier New', monospace;
    margin: 12px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.countdown-subtext {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
    line-height: 1.4;
}

/* Countdown warning states */
.countdown-timer.warning .countdown-display {
    color: #f59e0b;
    animation: pulse-warning 2s infinite;
}

.countdown-timer.critical .countdown-display {
    color: #ef4444;
    animation: pulse-critical 1s infinite;
}

@keyframes pulse-warning {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

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

/* Dark mode countdown styles */
.dark .countdown-timer {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-color: #475569;
}

.dark .countdown-label,
.dark .countdown-subtext {
    color: #94a3b8;
}

.dark .countdown-display {
    color: #f1f5f9;
}

/* Support Modal */
.support-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.support-modal.show {
    opacity: 1;
    visibility: visible;
}

.support-modal-content {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

/* Light mode support modal improvements */
[data-theme="light"] .support-modal {
    background: rgba(0, 0, 0, 0.6);
}

[data-theme="light"] .support-modal-content {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 4px 16px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .support-modal-header {
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="light"] .support-modal-close:hover {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .support-option {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

[data-theme="light"] .support-option:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.support-modal.show .support-modal-content {
    transform: scale(1) translateY(0);
}

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

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

.support-modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 24px;
    cursor: pointer;
    padding: 4px;
    border-radius: 50%;
    transition: all 0.2s ease;
    line-height: 1;
}

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

.support-modal-body {
    padding: 24px;
}

.support-modal-body p {
    margin: 0 0 20px 0;
    color: var(--text-secondary);
    text-align: center;
}

.support-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.support-option {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.2s ease;
    cursor: pointer;
}

.support-option:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.support-option svg {
    color: var(--accent-primary);
    flex-shrink: 0;
}

.support-option > div {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.support-option span {
    font-weight: 600;
    margin-bottom: 2px;
    display: block;
}

.support-option small {
    color: var(--text-secondary);
    font-size: 12px;
    display: block;
}

.support-option:hover small {
    color: var(--text-primary);
}

@media (max-width: 480px) {
    .support-modal-content {
        margin: 20px;
        width: calc(100% - 40px);
    }

    .support-modal-header,
    .support-modal-body {
        padding: 16px 20px;
    }

    .support-option {
        padding: 12px;
        gap: 12px;
    }

    /* Hide tooltip on mobile - touch devices don't have hover */
    .support-button::before,
    .support-button::after {
        display: none;
    }
}

/* FAQ Modal Specific Styles */
.faq-section {
    max-height: 70vh;
    overflow-y: auto;
    padding-right: 10px;
}

.faq-item {
    margin-bottom: 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.faq-item:hover {
    border-color: var(--accent-green);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.1);
}

.faq-question {
    background-color: var(--bg-card);
    color: var(--text-primary);
    padding: 16px 20px;
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
    line-height: 1.4;
}

.faq-question:hover {
    background-color: var(--bg-input);
}

.faq-answer {
    padding: 16px 20px;
    background-color: var(--bg-primary);
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

.faq-answer strong {
    color: var(--text-primary);
    font-weight: 600;
}

.faq-answer a {
    color: var(--accent-green);
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* Custom scrollbar for FAQ section */
.faq-section::-webkit-scrollbar {
    width: 6px;
}

.faq-section::-webkit-scrollbar-track {
    background: var(--bg-card);
    border-radius: 3px;
}

.faq-section::-webkit-scrollbar-thumb {
    background: var(--accent-green);
    border-radius: 3px;
}

.faq-section::-webkit-scrollbar-thumb:hover {
    background: var(--text-primary);
}

/* Light theme adjustments for FAQ */
[data-theme="light"] .faq-item {
    border-color: #e5e7eb;
}

[data-theme="light"] .faq-item:hover {
    border-color: var(--accent-green);
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.15);
}

[data-theme="light"] .faq-question {
    background-color: #f9fafb;
    border-bottom-color: #e5e7eb;
}

[data-theme="light"] .faq-question:hover {
    background-color: #f3f4f6;
}

[data-theme="light"] .faq-answer {
    background-color: #ffffff;
}

/* Mobile adjustments for FAQ */
@media (max-width: 480px) {
    .faq-section {
        max-height: 60vh;
        padding-right: 5px;
    }

    .faq-question {
        padding: 12px 16px;
        font-size: 13px;
    }

    .faq-answer {
        padding: 12px 16px;
    }

    .faq-answer p {
        font-size: 12px;
    }
}
