        * { margin: 0; padding: 0; box-sizing: border-box; }
        body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); min-height: 100vh; color: #333; }
        .container { max-width: 1400px; margin: 0 auto; padding: 0 20px; }
        header { background: rgba(255, 255, 255, 0.98); box-shadow: 0 2px 20px rgba(0,0,0,0.1); position: sticky; top: 0; z-index: 100; }
        nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; gap: 1rem; flex-wrap: wrap; }
        .logo { display: flex; align-items: center; gap: 10px; font-size: 1.5rem; font-weight: 700; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; cursor: pointer; }
        .logo-icon { width: 40px; height: 40px; border-radius: 6px; display: flex; align-items: center; justify-content: center; flex: 0 0 auto; overflow: hidden; }
        .logo-icon img { width: 40px; height: 40px; object-fit: contain; display: block; }
        
        /* Hamburger menu button - hidden on desktop */
        .mobile-menu-toggle {
            display: none;
            flex-direction: column;
            gap: 5px;
            background: none;
            border: none;
            cursor: pointer;
            padding: 5px;
            z-index: 101;
        }
        .mobile-menu-toggle span {
            width: 25px;
            height: 3px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 3px;
            transition: all 0.3s;
        }
        .mobile-menu-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }
        .mobile-menu-toggle.active span:nth-child(2) {
            opacity: 0;
        }
        .mobile-menu-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }
        
        .nav-links { display: flex; gap: 1.25rem; list-style: none; flex-wrap: wrap; justify-content: flex-end; }
        .nav-links a { text-decoration: none; color: #333; font-weight: 500; transition: color 0.3s; cursor: pointer; white-space: nowrap; }
        .nav-links a:hover { color: #667eea; }
        main { padding: 2rem 0; }
        .hero { background: white; border-radius: 20px; padding: 3.5rem 3rem; margin-bottom: 2rem; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
        h1 { font-size: 2.5rem; margin-bottom: 2rem; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
        .stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-bottom: 2rem; }
        .stat-card { background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%); padding: 1.5rem; border-radius: 15px; border: 2px solid rgba(102, 126, 234, 0.2); }
        .stat-label { font-size: 0.9rem; color: #666; margin-bottom: 0.5rem; }
        .stat-value { font-size: 1.5rem; font-weight: 700; color: #333; }
        
        /* About Us modal - desktop/mobile versions */
        .about-desktop { display: block; }
        .about-mobile { display: none; }
        
        .quick-stats { 
            display: none; /* Hidden by default, shown when user enters amount */
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); 
            gap: 1rem; 
            margin-bottom: 2rem;
            margin-left: auto;
            margin-right: auto;
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }
        .quick-stats.visible {
            display: grid;
            animation: fadeInDown 0.4s ease-out forwards;
        }
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-20px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .quick-stat-card { 
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%); 
            padding: 1.2rem; 
            border-radius: 12px; 
            border: 2px solid rgba(102, 126, 234, 0.15);
            display: flex;
            align-items: center;
            gap: 1rem;
            transition: all 0.3s;
        }
        .quick-stat-card:hover {
            border-color: rgba(102, 126, 234, 0.3);
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.15);
        }
        .quick-stat-icon { 
            font-size: 2rem; 
            width: 50px; 
            height: 50px; 
            display: flex; 
            align-items: center; 
            justify-content: center;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 10px;
            flex-shrink: 0;
        }
        .quick-stat-info { flex: 1; }
        .quick-stat-label { 
            font-size: 0.85rem; 
            color: #666; 
            margin-bottom: 0.3rem;
            font-weight: 500;
        }
        .quick-stat-value { 
            font-size: 1.1rem; 
            font-weight: 700; 
            color: #333; 
        }
        
        .currency-group,
        .timeframe-group {
            display: flex;
            flex-wrap: nowrap;
            gap: 1rem;
        }
        .controls { background: white; border-radius: 15px; padding: 1.5rem; margin-bottom: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; box-shadow: 0 5px 20px rgba(0,0,0,0.08); }
        .btn { padding: 0.7rem 1.5rem; border: none; border-radius: 10px; font-weight: 600; cursor: pointer; transition: all 0.3s; font-size: 0.95rem; background: #f0f0f0; color: #333; display: flex; align-items: center; gap: 0.5rem; }
        .btn:hover { background: #e0e0e0; }
        .btn.active, .btn.active-time { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }
        .search-box { flex: 1; min-width: 250px; }
        .search-box input { width: 100%; padding: 0.7rem 1rem; border: 2px solid #e0e0e0; border-radius: 10px; font-size: 1rem; }
        .crypto-table-container { background: white; border-radius: 15px; padding: 2rem; box-shadow: 0 10px 40px rgba(0,0,0,0.1); margin-bottom: 2rem; }
        .table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: 12px; border: 1px solid #e0e0e0; }
        table { width: 100%; border-collapse: collapse; min-width: 860px; }
        thead { background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%); }
        th { padding: 1rem; text-align: left; font-weight: 600; color: #333; white-space: nowrap; border-bottom: 2px solid #e0e0e0; }
        td { padding: 0.8rem 1rem; border-bottom: 1px solid #f0f0f0; vertical-align: middle; }
        tr:hover { background: rgba(102, 126, 234, 0.05); }
        .hidden-row { display: none; }
        .visible-row { display: table-row; }
        .coin-info { display: flex; align-items: center; gap: 10px; min-width: 220px; }
        .coin-icon { width: 32px; height: 32px; border-radius: 50%; flex: 0 0 auto; display: block; }
        .coin-name { font-weight: 600; }
        .coin-symbol { color: #666; font-size: 0.9rem; }
        .mini-chart { width: 100px; height: 40px; }
        .mini-chart svg { width: 100%; height: 100%; }
        .positive { color: #10b981; font-weight: 600; }
        .negative { color: #ef4444; font-weight: 600; }
        .pagination-controls { margin-top: 1.5rem; text-align: center; }
        .show-all-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 0.9rem 2rem;
            border-radius: 12px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s;
            box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
        }
        .show-all-btn:hover {
            opacity: 0.95;
            transform: translateY(-2px);
        }
        #show-all-arrow {
            transition: transform 0.3s;
        }
        #show-all-arrow.rotated {
            transform: rotate(180deg);
        }
        .loading { text-align: center; padding: 3rem; font-size: 1.2rem; color: #666; }
        .spinner { border: 4px solid #f3f3f3; border-top: 4px solid #667eea; border-radius: 50%; width: 50px; height: 50px; animation: spin 1s linear infinite; margin: 0 auto 1rem; }
        @keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
        footer { background: rgba(255, 255, 255, 0.98); margin-top: 3rem; padding: 2rem 0; box-shadow: 0 -2px 20px rgba(0,0,0,0.1); text-align: center; color: #666; }
        .faq-block { background: white; border-radius: 15px; padding: 2rem; margin-top: 2rem; box-shadow: 0 10px 40px rgba(0,0,0,0.1); }
        .faq-block h2 { font-size: 1.8rem; margin-bottom: 1.5rem; color: #333; }
        .faq-item { margin-bottom: 1.5rem; }
        .faq-item h3 { font-size: 1.2rem; margin-bottom: 0.5rem; color: #333; }
        .faq-item p { color: #666; line-height: 1.6; }
        .swap-widget { background: white; border-radius: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); padding: 2rem; margin-bottom: 2rem; max-width: 100%; width: 100%; box-sizing: border-box; }
        .swap-title { text-align: center; font-size: 1.8rem; font-weight: 700; color: #333; margin-bottom: 1.5rem; }
        .swap-form { display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.5rem; align-items: start; }
        .swap-input-group { background: #f8f9fa; border-radius: 16px; padding: 1.2rem; border: 2px solid #e0e0e0; }
        .swap-label { font-size: 0.85rem; color: #666; font-weight: 600; margin-bottom: 0.5rem; display: block; }
        .swap-amount { width: 100%; font-size: 1.8rem; border: none; background: transparent; outline: none; font-weight: 600; color: #333; padding: 0.5rem 0; margin-bottom: 0.8rem; }
        .selection-button { width: 100%; padding: 1rem 1.2rem; border: 2px solid #e0e0e0; border-radius: 12px; background: white; cursor: pointer; font-size: 1.05rem; font-weight: 500; display: flex; align-items: center; justify-content: space-between; transition: all 0.3s; min-height: 56px; text-align: left; }
        .selection-button:hover { border-color: #667eea; }
        .selection-button-content { display: flex; align-items: center; gap: 0.8rem; flex: 1; }
        .selection-button-icon { width: 32px; height: 32px; border-radius: 50%; display: none; }
        .selection-button-text { color: #333; text-align: left; }
        .selection-button-placeholder { color: #999; }
        .selection-button-arrow { color: #666; font-size: 1.2rem; }
        .swap-arrow { background: #667eea; color: white; width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; cursor: pointer; box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3); transition: transform 0.2s; justify-self: center; margin-top: 3rem; user-select: none; }
        .swap-arrow:hover { transform: scale(1.1); }
        .order-type-section { grid-column: 1 / 2; grid-row: 2; align-self: start; }
        .address-section { grid-column: 1 / -1; margin-top: 1rem; }
        .address-section input { width: 100%; padding: 0.9rem 1rem; border: 2px solid #e0e0e0; border-radius: 12px; outline: none; font-size: 1rem; }
        .address-section input:focus { border-color: #667eea; }
        
        .trust-badges {
            grid-column: 3 / 4;
            grid-row: 2;
            align-self: start;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 0.8rem;
            padding: 1.2rem 1.5rem;
            background: white;
            border-radius: 12px;
            border: 2px solid #e0e0e0;
            transition: opacity 0.3s ease, visibility 0.3s ease;
        }
        .trust-badge {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 0.6rem;
            padding: 0.9rem 0.7rem;
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%);
            border-radius: 10px;
            transition: all 0.2s;
            text-align: center;
        }
        .trust-badge:hover {
            background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
            transform: translateY(-2px);
        }
        .trust-badge-icon {
            font-size: 1.8rem;
            width: 50px;
            height: 50px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: white;
            border-radius: 12px;
            flex-shrink: 0;
            box-shadow: 0 2px 8px rgba(102, 126, 234, 0.15);
        }
        .trust-badge-text {
            color: #333;
            font-size: 0.9rem;
            font-weight: 600;
            line-height: 1.3;
        }
        
        .rate-breakdown { grid-column: 3 / 4; grid-row: 2; align-self: start; background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%); border-radius: 12px; padding: 1rem; border: 2px solid rgba(102, 126, 234, 0.15); }
        .breakdown-row { display: flex; justify-content: space-between; align-items: center; padding: 0.6rem 0; border-bottom: 1px solid rgba(102, 126, 234, 0.1); }
        .breakdown-row:last-child { border-bottom: none; }
        .breakdown-row.highlight { background: rgba(102, 126, 234, 0.08); margin: 0.5rem -1rem -1rem -1rem; padding: 0.8rem 1rem; border-radius: 0 0 10px 10px; border-bottom: none; }
        .breakdown-label { color: #666; font-size: 0.95rem; font-weight: 500; }
        .breakdown-value { color: #333; font-size: 1rem; font-weight: 600; word-break: break-word; text-align: right; }
        .breakdown-row.highlight .breakdown-label { color: #667eea; font-weight: 600; }
        .breakdown-row.highlight .breakdown-value { color: #667eea; font-size: 1.1rem; }
        .swap-btn { grid-column: 1 / -1; padding: 1.2rem; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; border: none; border-radius: 12px; font-size: 1.2rem; font-weight: 600; cursor: pointer; transition: all 0.3s; box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3); }
        .swap-btn:hover { opacity: 0.95; transform: translateY(-2px); }
        
        /* Desktop optimization for swap widget */
        @media (min-width: 768px) {
            .swap-widget { 
                margin-left: auto; 
                margin-right: auto; 
                padding: 3rem 3.5rem;
            }
            
            /* Side-by-side layout for order type and rate breakdown */
            .swap-form {
                display: grid;
                grid-template-columns: 1fr auto 1fr;
                gap: 2rem;
            }
            
            /* Make swap input boxes larger */
            .swap-input-group {
                padding: 1.5rem;
            }
            
            .swap-amount {
                font-size: 2rem;
                padding: 0.6rem 0;
            }
            
            .selection-button {
                padding: 1.1rem 1.3rem;
                font-size: 1.1rem;
                min-height: 60px;
            }
            
            .order-type-section {
                grid-column: 1 / 2;
                grid-row: 2;
            }
            
            .rate-breakdown {
                grid-column: 3 / 4;
                grid-row: 2;
                padding: 1.2rem 1.5rem;
            }
            
            .address-section {
                grid-column: 1 / -1;
                margin-top: 2rem;
            }
            
            .swap-btn {
                grid-column: 1 / -1;
                margin-top: 0.5rem;
            }
            
            .breakdown-row { 
                padding: 0.7rem 0; 
            }
            .breakdown-row.highlight { 
                margin: 0.6rem -1.5rem -1.2rem -1.5rem; 
                padding: 0.9rem 1.5rem; 
            }
            .breakdown-label { 
                font-size: 0.95rem; 
            }
            .breakdown-value { 
                font-size: 1rem; 
            }
            .breakdown-row.highlight .breakdown-value { 
                font-size: 1.15rem; 
            }
            .swap-btn { 
                padding: 1.2rem; 
                font-size: 1.2rem; 
            }
            .address-section input { 
                padding: 1rem 1.2rem;
                font-size: 1.05rem;
            }
        }
        
        .swap-complete { background: #f8f9fa; border-radius: 16px; padding: 2rem; text-align: center; display: none; }
        .swap-complete h3 { color: #333; margin-bottom: 1rem; }
        .swap-complete p { font-size: 1.1rem; margin: 0.5rem 0; }
        .timer { font-size: 2rem; font-weight: 700; color: #667eea; margin: 1rem 0; }
        .email-form { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
        .email-form input { padding: 0.7rem; width: 250px; max-width: 100%; border: 1px solid #ddd; border-radius: 8px; }
        .email-form button { padding: 0.7rem 1.5rem; background: #667eea; color: white; border: none; border-radius: 8px; cursor: pointer; }
        .selection-popup { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.6); z-index: 2000; animation: fadeIn 0.2s; }
        .selection-popup.active { display: flex; align-items: center; justify-content: center; }
        .selection-popup-content { background: white; width: 100%; max-width: 600px; max-height: 80vh; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
        .selection-popup-header { padding: 1.5rem; border-bottom: 2px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, rgba(118, 75, 162, 0.05) 100%); }
        .selection-popup-title { font-size: 1.3rem; font-weight: 700; color: #333; }
        .selection-popup-close { background: #e0e0e0; border: none; width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 1.4rem; color: #666; transition: all 0.2s; }
        .selection-popup-close:hover { background: #d0d0d0; }
        .selection-popup-search { padding: 1rem 1.5rem; border-bottom: 1px solid #f0f0f0; background: white; }
        .selection-popup-search input { width: 100%; padding: 0.9rem 1rem; border: 2px solid #e0e0e0; border-radius: 12px; font-size: 1rem; outline: none; }
        .selection-popup-search input:focus { border-color: #667eea; box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1); }
        .selection-popup-options { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; }
        .selection-option { padding: 1.2rem 1.5rem; border-bottom: 1px solid #f5f5f5; cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 1rem; }
        .selection-option:hover { background: #f8f9fa; }
        .selection-option:active { background: #f0f0f0; }
        .selection-option.selected { background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%); }
        .selection-option-icon { width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0; object-fit: cover; }
        .selection-option-text { flex: 1; min-width: 0; }
        .selection-option-name { font-weight: 600; color: #333; font-size: 1.05rem; margin-bottom: 0.2rem; }
        .selection-option-symbol { color: #666; font-size: 0.9rem; }
        .selection-option-check { color: #667eea; font-size: 1.5rem; font-weight: 700; opacity: 0; transition: opacity 0.2s; }
        .selection-option.selected .selection-option-check { opacity: 1; }
        .modal { display: none; position: fixed; z-index: 1000; left: 0; top: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.6); }
        .modal-content { background-color: white; margin: 8% auto; padding: 2rem; border-radius: 20px; width: 92%; max-width: 800px; box-shadow: 0 10px 40px rgba(0,0,0,0.3); }
        .close { color: #aaa; float: right; font-size: 28px; font-weight: 700; cursor: pointer; }
        .close:hover, .close:focus { color: #000; text-decoration: none; }
        .footer-api-btn { margin-top: 0.9rem; padding: 0.7rem 1.25rem; border: none; border-radius: 12px; font-weight: 700; cursor: pointer; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; box-shadow: 0 6px 16px rgba(102, 126, 234, 0.25); }
        .footer-api-btn:hover { opacity:0.95; transform: translateY(-1px); }
        .auth-form { display:flex; flex-direction:column; gap:0.65rem; margin-top:0.75rem; }
        .auth-form label { font-weight:600; color:#444; }
        .auth-form input { padding:0.85rem 1rem; border:2px solid #e0e0e0; border-radius:12px; font-size:1rem; outline:none; }
        .auth-form input:focus { border-color:#667eea; box-shadow:0 0 0 3px rgba(102,126,234,0.12); }
        .auth-btn { width:100%; }
        .auth-message { margin-top:1rem; color:#667eea; font-weight:700; }
        @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
        .how-it-works { background: white; border-radius: 20px; box-shadow: 0 8px 32px rgba(0,0,0,0.12); padding: 2rem; margin-bottom: 2rem; text-align: center; }
        .how-it-works h3 { font-size: 1.6rem; margin-bottom: 1.5rem; color: #333; }
        .workflow { display: flex; justify-content: center; align-items: center; gap: 2rem; flex-wrap: wrap; margin: 2rem 0; }
        .workflow-step { position: relative; width: 160px; height: 160px; background: linear-gradient(135deg, #667eea, #764ba2); border-radius: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; color: white; box-shadow: 0 8px 20px rgba(0,0,0,0.2); }
        .workflow-step.receive { background: linear-gradient(135deg, #10b981, #059669); }
        .workflow-step-icon { font-size: 2.5rem; font-weight: 700; }
        .workflow-step-label { font-size: 0.9rem; margin-top: 0.5rem; }
        .workflow-badge { position: absolute; width: 24px; height: 24px; background: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; }
        .workflow-badge.send { bottom: -12px; color: #667eea; }
        .workflow-badge.receive { top: -12px; color: #10b981; }
        .workflow-arrow { font-size: 3rem; color: #667eea; animation: pulse 2s infinite; }
        @keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.2); opacity: 0.7; } }
        @media (max-width: 980px) { .hero { padding: 2.5rem 2rem; } h1 { font-size: 2.2rem; } .stats-grid { grid-template-columns: repeat(2, 1fr); } }
        @media (max-width: 768px) {
            .breakdown-row { align-items: flex-start; gap: 0.5rem; }
            .breakdown-label { flex: 0 0 45%; }
            .breakdown-value { flex: 1; font-size: 0.9rem; }
        }
        @media (max-width: 480px) {
            .container { padding: 0 10px; }
            .hero { padding: 1rem 0.75rem; border-radius: 15px; }
            .swap-widget { padding: 1.25rem 0.75rem; border-radius: 15px; }
            .swap-title { font-size: 1.3rem; margin-bottom: 1rem; }
            .swap-input-group { padding: 0.9rem 0.7rem; }
            .swap-amount { font-size: 1.3rem; padding: 0.3rem 0; }
            .swap-label { font-size: 0.8rem; }
            .selection-button { padding: 0.75rem 0.9rem; font-size: 0.95rem; min-height: 48px; }
            .selection-button-icon { width: 28px; height: 28px; }
            .swap-btn { font-size: 1rem; padding: 0.9rem; }
            h1 { font-size: 1.5rem; margin-bottom: 1.5rem; }
        }
        @media (max-width: 720px) {
            .container { padding: 0 15px; }
            .hero { padding: 1.5rem 1rem; margin-left: 0; margin-right: 0; }
            
            /* Remove sticky header on mobile */
            header {
                position: relative;
            }
            
            /* Show hamburger menu on mobile */
            .mobile-menu-toggle {
                display: flex;
            }
            
            /* Mobile menu styles */
            nav {
                position: relative;
            }
            
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                height: 100vh;
                width: 70%;
                max-width: 300px;
                background: white;
                flex-direction: column;
                padding: 80px 20px 20px;
                box-shadow: -2px 0 10px rgba(0,0,0,0.1);
                transition: right 0.3s ease;
                gap: 0;
                z-index: 100;
            }
            
            .nav-links.active {
                right: 0;
            }
            
            .nav-links li {
                width: 100%;
                border-bottom: 1px solid #f0f0f0;
            }
            
            .nav-links a {
                display: block;
                padding: 1rem 0;
                font-size: 1.1rem;
            }
            
            /* Show mobile About Us version */
            .about-desktop { display: none; }
            .about-mobile { display: block; }
            
            /* Hide quick stats on mobile */
            .quick-stats,
            .quick-stats.visible {
                display: none !important;
            }
            
            /* Convert swap-form to flexbox on mobile for proper ordering */
            .swap-form {
                display: flex;
                flex-direction: column;
            }
            
            /* Show trust badges on mobile - always visible, below Exchange Now button */
            .trust-badges {
                display: grid !important;
                visibility: visible !important;
                opacity: 1 !important;
                grid-template-columns: repeat(3, 1fr);
                order: 100;
                margin-top: 1rem;
            }
            
            .swap-input-group:first-child { order: 1; }
            .swap-arrow { order: 2; }
            .swap-input-group:nth-child(3) { order: 3; }
            .order-type-section { order: 4; }
            .address-section { order: 5; }
            .swap-btn { order: 6; }
            
            /* Order type full width on mobile */
            .order-type-section {
                grid-column: 1 / -1;
            }
            
            .swap-widget { padding: 1.5rem 1rem; margin-left: 0; margin-right: 0; }
            .swap-title { font-size: 1.5rem; }
            h1 { font-size: 1.8rem; } 
            .stats-grid { grid-template-columns: 1fr; }
            .swap-form { grid-template-columns: 1fr; gap: 1.2rem; } 
            .swap-arrow { transform: rotate(90deg); width: 44px; height: 44px; font-size: 1.4rem; margin: 0 auto; }
            .swap-input-group { padding: 1rem 0.8rem; }
            .swap-amount { font-size: 1.5rem; }
            .selection-button { padding: 0.8rem 1rem; font-size: 1rem; }
            .swap-btn { font-size: 1.1rem; padding: 1rem; }
            
            /* Controls section mobile layout */
            .controls { 
                padding: 1rem; 
                gap: 0.75rem;
            }
            
            /* Hide dividers on mobile */
            .controls > div[style*="width: 2px"] { display: none; }
            
            /* Currency group - 3 buttons per row */
            .currency-group { 
                width: 100%; 
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 0.5rem;
            }
            .currency-group .btn {
                padding: 0.6rem 0.4rem;
                font-size: 0.85rem;
                justify-content: center;
            }
            .currency-group .btn svg,
            .timeframe-group .btn svg {
                display: none;
            }
            
            /* Timeframe group - 2x2 grid for 4 buttons */
            .timeframe-group { 
                width: 100%; 
                display: grid;
                grid-template-columns: repeat(2, 1fr);
                gap: 0.5rem;
            }
            .timeframe-group .btn {
                padding: 0.6rem 0.4rem;
                font-size: 0.85rem;
                justify-content: center;
                white-space: nowrap;
            }
            
            /* Add a wrapper for sort buttons to make them 2-column */
            .controls { display: grid; grid-template-columns: repeat(2, 1fr); }
            .currency-group, .timeframe-group { grid-column: 1 / -1; }
            
            .search-box { 
                width: 100%; 
                min-width: 100%;
                grid-column: 1 / -1;
            }
            
            /* Mobile popup slides from bottom */
            .selection-popup.active { align-items: flex-end; }
            .selection-popup-content { border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform 0.3s ease-out; }
            .selection-popup.active .selection-popup-content { transform: translateY(0); }
            table { min-width: 0; } thead { display: none; } #cryptoTable tbody { display: block; }
            #cryptoTable tr { display: block; border: 1px solid #eef0f5; border-radius: 12px; padding: 0.8rem; margin: 0 0 1rem 0; box-shadow: 0 4px 12px rgba(0,0,0,0.06); background: white; }
            #cryptoTable td { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; border-bottom: 1px solid #f1f3f6; padding: 0.7rem 0; white-space: normal; }
            #cryptoTable td:last-child { border-bottom: none; }
            #cryptoTable td::before {
                content: attr(data-label) ": ";
                color: #64748b;
                font-weight: 600;
                font-size: 0.9rem;
                flex: 0 0 auto;
                max-width: 40%;
            }
            #cryptoTable td[data-label="Coin"]::before { display: none; }
            #cryptoTable td[data-label="Coin"] { justify-content: flex-start; }
            #cryptoTable td[data-label*="Change"]::before {
                content: attr(data-label) ": ";
                color: #64748b;
                font-weight: 600;
                font-size: 0.9rem;
            }
            #cryptoTable td[data-label*="Change"] {
                justify-content: space-between;
            }
            #cryptoTable td[data-label*="Chart"] { display: none; }
            #cryptoTable td[data-label*="Change"] span { display: none; }
            
            .rate-breakdown { padding: 0.75rem; margin-top: 0.75rem; grid-column: 1 / -1; display: none !important; }
            .breakdown-row { padding: 0.5rem 0; flex-wrap: wrap; gap: 0.3rem; }
            .breakdown-label { font-size: 0.85rem; flex: 0 0 100%; }
            .breakdown-value { font-size: 0.95rem; flex: 0 0 100%; text-align: left; padding-left: 0.5rem; color: #667eea; }
            .breakdown-row.highlight { margin: 0.5rem -0.75rem -0.75rem -0.75rem; padding: 0.7rem 0.75rem; }
            .breakdown-row.highlight .breakdown-label { font-size: 0.9rem; }
            .breakdown-row.highlight .breakdown-value { font-size: 1.05rem; }
        }
        .market-data-toggle-wrapper {
            width: 100%;
            padding: 3rem 20px;
            text-align: center;
            background: rgba(0,0,0,0.05);
        }
        .market-data-toggle-btn {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 1.5rem 3rem;
            font-size: 1.6rem;
            font-weight: 700;
            border-radius: 16px;
            cursor: pointer;
            box-shadow: 0 12px 40px rgba(102, 126, 234, 0.4);
            transition: all 0.3s ease;
            margin-bottom: 1rem;
        }
        .market-data-toggle-btn:hover {
            transform: translateY(-4px);
            box-shadow: 0 20px 50px rgba(102, 126, 234, 0.5);
        }
        .market-data-explanation {
            font-size: 1.1rem;
            color: #fff;
            max-width: 800px;
            margin: 0 auto;
            line-height: 1.6;
            opacity: 0.9;
        }
        #market-data-section {
            margin-top: 0 !important;
        }
        #market-data-section > .container {
            margin-top: 0 !important;
        }
