    /* DISABLE ZOOM & TOUCH ACTIONS */
        html {
            -webkit-text-size-adjust: 100%;
            touch-action: manipulation;
            overflow-x: hidden;
        }
        
        body {
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -khtml-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
            overflow-x: hidden;
            max-width: 100vw;
        }
        
        /* 1. ALLTRAILS WHITE THEME */
        :root {
            --bg-color: #FFFFFF;
            --text-primary: #1A1A1A;
            --text-secondary: #666666;
            --text-muted: #888888;
            --trail-green: #00AB64;
            --trail-green-light: #E6F7EF;
            --border-color: #E5E5E5;
            --card-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
            --hover-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
            --radius-sm: 6px;
            --radius-md: 10px;
            --radius-lg: 14px;
        }

        /* 2. BASE STYLES - MOBILE FIRST */
        * { 
            margin: 0; 
            padding: 0; 
            box-sizing: border-box; 
            -webkit-tap-highlight-color: transparent;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-primary);
            font-family: 'Inter', sans-serif;
            min-height: 100vh;
            line-height: 1.5;
            padding: 0;
            margin: 0;
            width: 100vw;
            position: relative;
        }

        .container {
            max-width: 100%;
            margin: 0 auto;
            padding: 0 16px;
            width: 100%;
        }

        /* 3. HEADER - MOBILE OPTIMIZED */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 0;
            border-bottom: 1px solid var(--border-color);
            margin-bottom: 20px;
            position: relative;
            min-height: 56px;
        }

        .logo-container {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
        }

        .logo {
            height: 28px;
            width: auto;
            max-width: 140px;
            object-fit: contain;
        }

        .nav-actions {
            margin-left: auto;
        }

        /* CONNECT WALLET BUTTON */
        .connect-wallet-btn {
            background-color: var(--trail-green);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: var(--radius-sm);
            font-family: 'Inter', sans-serif;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            gap: 6px;
            white-space: nowrap;
            height: 36px;
        }

        .connect-wallet-btn:hover {
            background-color: #009355;
        }

        /* 4. MAIN CONTENT */
        .main-content {
            max-width: 100%;
            margin: 0 auto;
            padding-bottom: 20px;
        }

        .trail-card {
            background: white;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-lg);
            box-shadow: var(--card-shadow);
            padding: 24px;
            margin-bottom: 20px;
            transition: box-shadow 0.3s ease;
        }

        /* 5. BADGE */
        .status-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background-color: var(--trail-green-light);
            color: var(--trail-green);
            padding: 6px 12px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 600;
            margin-bottom: 16px;
        }

        .status-badge .dot {
            width: 6px;
            height: 6px;
            background-color: var(--trail-green);
            border-radius: 50%;
        }

        /* 6. TYPOGRAPHY - MOBILE OPTIMIZED */
        h1 {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 28px;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 12px;
            color: var(--text-primary);
        }

        .description {
            color: var(--text-secondary);
            font-size: 15px;
            margin-bottom: 24px;
            line-height: 1.5;
        }

        /* 7. STATS GRID */
        .stats-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 12px;
            margin-bottom: 24px;
        }

        .stat-card {
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            padding: 16px;
            transition: transform 0.2s;
        }

        .stat-icon {
            width: 32px;
            height: 32px;
            background-color: var(--trail-green-light);
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 12px;
            color: var(--trail-green);
            font-size: 14px;
        }

        .stat-label {
            color: var(--text-muted);
            font-size: 11px;
            font-weight: 500;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            margin-bottom: 4px;
        }

        .stat-value {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 24px;
            font-weight: 700;
            color: var(--text-primary);
        }

        .stat-value.highlight {
            color: var(--trail-green);
        }

        /* 8. MAP PREVIEW */
       

        .trail-path {
            position: absolute;
            top: 50%;
            left: 10%;
            right: 10%;
            height: 2px;
            background: var(--trail-green);
            border-radius: 1px;
        }

        .trail-path::before,
        .trail-path::after {
            content: '';
            position: absolute;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            top: -4px;
            background: var(--trail-green);
        }

        .trail-path::before {
            left: 0;
            box-shadow: 0 0 0 2px var(--trail-green-light);
        }

        .trail-path::after {
            right: 0;
            background: #4C8BF5;
            box-shadow: 0 0 0 2px rgba(76, 139, 245, 0.1);
        }

        /* 9. FEATURE TAGS */
        .feature-tags {
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
            margin: 20px 0;
        }

        .tag {
            background: white;
            border: 1px solid var(--border-color);
            padding: 6px 12px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 500;
            color: var(--text-secondary);
            display: flex;
            align-items: center;
            gap: 6px;
        }

        /* 10. PRIMARY BUTTON */
        .primary-btn {
            width: 100%;
            background-color: var(--trail-green);
            color: white;
            border: none;
            padding: 16px 20px;
            border-radius: var(--radius-md);
            font-family: 'Inter', sans-serif;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 10px;
            margin-top: 8px;
        }

        /* 11. LOADING STATE */
        .loading-container {
            display: none;
            text-align: center;
            padding: 40px 0;
        }

        .loading-spinner {
            width: 40px;
            height: 40px;
            border: 3px solid #f3f3f3;
            border-top: 3px solid var(--trail-green);
            border-radius: 50%;
            margin: 0 auto 20px;
            animation: spin 1s linear infinite;
        }

        .loading-text {
            color: var(--text-secondary);
            font-size: 14px;
            font-weight: 500;
        }

        /* 12. SUCCESS STATE */
        .success-container {
            display: none;
            text-align: center;
            padding: 40px 0;
        }

        .success-icon {
            width: 60px;
            height: 60px;
            background-color: var(--trail-green-light);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
            color: var(--trail-green);
            font-size: 24px;
        }

        /* 13. MODAL */
        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-color: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 1000;
            padding: 16px;
            backdrop-filter: blur(4px);
        }

        .modal-content {
            background: white;
            border-radius: var(--radius-lg);
            padding: 24px;
            width: 100%;
            max-width: 350px;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        }

        .modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
        }

        .modal-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 20px;
            font-weight: 700;
        }

        .close-btn {
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            font-size: 18px;
            padding: 4px;
        }

        .wallet-option {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 16px;
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            margin-bottom: 12px;
            cursor: pointer;
        }

        .wallet-info {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .wallet-icon {
            width: 36px;
            height: 36px;
            background-color: #f8f9fa;
            border-radius: var(--radius-sm);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
        }

        .wallet-name {
            font-weight: 600;
            font-size: 15px;
        }

        .wallet-status {
            width: 8px;
            height: 8px;
            background-color: var(--trail-green);
            border-radius: 50%;
        }

        /* 14. FOOTER */
        .footer {
            text-align: center;
            padding: 20px 0;
            color: var(--text-muted);
            font-size: 12px;
            border-top: 1px solid var(--border-color);
            margin-top: 20px;
        }

        /* ANIMATIONS */
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        /* RESPONSIVE - TABLET & DESKTOP */
        @media (min-width: 640px) {
            .container {
                padding: 0 24px;
                max-width: 640px;
            }
            
            .header {
                padding: 16px 0;
                margin-bottom: 24px;
            }
            
            .logo {
                height: 32px;
                max-width: 160px;
            }
            
            .trail-card {
                padding: 32px;
            }
            
            h1 {
                font-size: 32px;
            }
            
            .description {
                font-size: 16px;
            }
            
            .stats-grid {
                gap: 16px;
            }
            
            .stat-card {
                padding: 20px;
            }
            
            .stat-value {
                font-size: 28px;
            }
            
        }

        @media (min-width: 768px) {
            .container {
                max-width: 720px;
            }
            
            .header {
                padding: 20px 0;
                margin-bottom: 32px;
            }
            
            .trail-card {
                padding: 40px;
                margin-bottom: 32px;
            }
            
            h1 {
                font-size: 36px;
            }
            
            .primary-btn {
                font-size: 18px;
                padding: 18px 24px;
            }
        }

        @media (min-width: 1024px) {
            .container {
                max-width: 800px;
            }
            
            h1 {
                font-size: 40px;
            }
            
            .stats-grid {
                gap: 20px;
            }
        }

        /* FORCE NO ZOOM ON MOBILE */
        @media (max-width: 768px) {
            input, textarea, select {
                font-size: 16px !important; /* Prevents iOS zoom on focus */
            }
        }