        /* style.css */

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

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            background-attachment: fixed;
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            margin: 0px;
            padding: 0px;
            overflow-x: hidden;
        }
        
        html {
            height: 100%;
        }

        /* START Additional header navigation styles */
        .header {
            position: fixed;
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 40px;
            flex-wrap: wrap;
            height: 60px;
            background-color: black;
            width: 100%;
            margin-top: 0px;
            z-index: 5;
        }

        .header-left {
            display: flex;
            align-items: center;
            gap: 30px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            color: white;
            font-size: 24px;
            font-weight: 700;
            letter-spacing: -0.5px;
            text-decoration: none;
        }

        .logo img {
            height: 40px;
            width: auto;
            margin-left: 20px;
        }

        .nav-links {
            display: flex;
            gap: 40px;
            margin-left:60px;
        }

        .nav-links a {
            color: white;
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            padding: 8px 16px;
            border-radius: 6px;
            transition: all 0.3s ease;
        }

        .nav-links a:hover {
            background: rgba(255, 255, 255, 0.2);
        }

        .nav-links a.active {
            background: rgba(255, 255, 255, 0.3);
        }

        @media (max-width: 768px) {
            .header {
                flex-direction: column;
                gap: 20px;
            }

            .header-left {
                flex-direction: column;
                width: 100%;
                text-align: center;
            }

            .nav-links {
                justify-content: center;
            }

            .wallet-controls {
                width: 100%;
                justify-content: center;
            }
        }

        /* END Additional header navigation styles */

        .logo {
            color: white;
            font-size: 24px;
            font-weight: 700;
            letter-spacing: -0.5px;
        }

        .wallet-controls {
            display: flex;
            gap: 10px;
        }

        .btn {
            padding: 10px 20px;
            border: none;
            border-radius: 8px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .btn-connect {
            background: white;
            color: #667eea;
            margin-right: 20px;
        }

        .btn-connect:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
        }

        .btn-logout {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            border: 1px solid rgba(255, 255, 255, 0.3);
            display: none;
            margin-right: 20px;
        }

        .btn-logout:hover {
            background: rgba(255, 255, 255, 0.3);
        }

        .btn-logout.active {
            display: flex;
        }

        .wallet-address {
            background: rgba(255, 255, 255, 0.2);
            color: white;
            padding: 10px 16px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 500;
            font-family: Arial, sans-serif;
            display: none;
        }

        .wallet-address.active {
            display: block;
        }

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

        .dex-widget {
            background: white;
            border-radius: 20px;
            padding: 32px;
            box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
            width: 100%;
            max-width: 480px;
        }

        .dex-title {
            font-size: 24px;
            font-weight: 700;
            color: #1a1a1a;
            margin-bottom: 24px;
            text-align: center;
        }

        .swap-container {
            display: flex;
            flex-direction: column;
            gap: 12px;
        }

        .token-input {
            background: #f7f8fa;
            border-radius: 12px;
            padding: 20px;
            position: relative;
        }

        .token-label {
            font-size: 12px;
            color: #6b7280;
            margin-bottom: 8px;
            font-weight: 600;
        }

        .input-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
        }

        .amount-input {
            background: transparent;
            border: none;
            font-size: 28px;
            font-weight: 600;
            color: #1a1a1a;
            width: 100%;
            outline: none;
        }

        .token-select {
            background: white;
            border: none;
            padding: 8px 16px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
        }

        .swap-icon {
            text-align: center;
            margin: 8px 0;
        }

        .swap-btn-icon {
            background: #667eea;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            color: white;
            cursor: pointer;
            transition: transform 0.3s ease;
        }

        .swap-btn-icon:hover {
            transform: rotate(180deg);
        }

        .balance {
            font-size: 12px;
            color: #6b7280;
            margin-top: 8px;
        }

        .swap-button {
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            border: none;
            padding: 16px;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 700;
            cursor: pointer;
            margin-top: 16px;
            transition: all 0.3s ease;
            width: 100%;
        }

        .swap-button:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 16px rgba(102, 126, 234, 0.4);
        }

        .swap-button:disabled {
            opacity: 0.5;
            cursor: not-allowed;
            transform: none;
        }

        .info-section {
            background: #f7f8fa;
            border-radius: 12px;
            padding: 16px;
            margin-top: 16px;
        }

        .info-row {
            display: flex;
            justify-content: space-between;
            font-size: 14px;
            color: #6b7280;
            margin-bottom: 8px;
        }

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

        .info-value {
            color: #1a1a1a;
            font-weight: 600;
        }

        .status-message {
            text-align: center;
            padding: 12px;
            border-radius: 8px;
            margin-top: 12px;
            font-size: 14px;
            display: none;
        }

        .status-message.success {
            background: #d1fae5;
            color: #065f46;
            display: block;
        }

        .status-message.error {
            background: #fee2e2;
            color: #991b1b;
            display: block;
        }

        /* Two-column layout for About page bullet lists */
        .two-col {
            display: flex;
            gap: 40px;
            margin-top: 10px;
            margin-bottom: 20px;
        }

        .two-col ul {
            flex: 1;
            padding-left: 20px;
        }

        .two-col li {
            margin-bottom: 8px;
            line-height: 1.4;
        }

        /* Mobile friendly collapse */
        @media (max-width: 768px) {
        .two-col {
            flex-direction: column;
            gap: 10px;
            }
        }

        /* ELIMINATE THE 10 PX BLUE BLEED AT THE BOTTOM BELOW THE FOOTER */

        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
        }

        body {
            min-height: 100vh;
            min-height: 100dvh; /* better on mobile */
            display: flex;
            flex-direction: column;
        }

        /* Make sure the main content area grows to push footer down */
        .container {
            flex: 1 0 auto;           /* this is key */
            padding-top: 60px;         /* height of your fixed header */
        }

        /* Optional: ensure footer has a solid background so nothing bleeds through */
        footer {
            background: #000;         /* or whatever your footer color is */
            flex-shrink: 0;
        }

        /* Kill the white overscroll flash and make it black */
        html {
            background: #000;                     /* This is the key! */
            -webkit-backdrop-filter: blur(1px);   /* Optional: subtle blur for premium feel */
        }

        body::before {
            content: "";
            position: fixed;
            top: -50px;
            left: 0;
            right: 0;
            bottom: -50px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            background-attachment: fixed;
            z-index: -1;
        }
