        /* style-token-generator.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;
            min-height: 100dvh;
            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;
        }

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

        html, body {
            height: 100%;
            margin: 0;
            padding: 0;
        }
        /* body min-height & flex already set in first body block above; no duplicate here */

        /* 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 */
            padding-bottom: 0;
            margin-bottom: 0;
        }

        /* Footer: sticky to bottom of viewport (same as Terms page) */
        body > .footer,
        footer.footer {
            background: #000;
            flex-shrink: 0;
            min-height: 44px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-top: 0 !important;
        }
        /* Token generator page: section fills space, card centered; reduced top padding so footer hugs content */
        body > section#token-generator {
            padding-top: 16px;
        }

        /* Tighter layout on short viewports so footer stays in view */
        @media (max-height: 780px) {
            body > section#token-generator {
                padding-top: 12px;
                align-items: flex-start;
            }
            .token-generator-card {
                margin-top: 8px;
            }
        }

        /* 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;
        }