
        :root {
            --bg-primary: #0a0a0f;
            --bg-secondary: #12121a;
            --bg-card: #16161f;
            --bg-card-hover: #1c1c28;
            --border-color: #2a2a3a;
            --text-primary: #ffffff;
            --text-secondary: #8b8b9e;
            --text-muted: #9696a9;
            --accent-green: #00e676;
            --accent-green-dim: #00e67633;
            --accent-green-glow: #00e67622;
            --accent-red: #ff4757;
            --accent-yellow: #ffd32a;
            --accent-blue: #3d5afe;
            --accent-purple: #7c4dff;
            --gradient-green: linear-gradient(135deg, #00e676, #00c853);
            --gradient-hero: linear-gradient(135deg, #00e67615, #7c4dff10);
        }

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

        body {
            font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
            background-color: var(--bg-primary);
            color: var(--text-primary);
            line-height: 1.6;
            overflow-x: hidden;
        }

        /* Scrollbar */
        ::-webkit-scrollbar {
            width: 6px;
        }
        ::-webkit-scrollbar-track {
            background: var(--bg-primary);
        }
        ::-webkit-scrollbar-thumb {
            background: var(--border-color);
            border-radius: 3px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: var(--text-muted);
        }

        /* ===== HEADER / NAV ===== */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            z-index: 1000;
            background: rgba(10, 10, 15, 0.85);
            backdrop-filter: blur(20px);
            border-bottom: 1px solid var(--border-color);
            padding: 0 24px;
            height: 64px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .nav-left {
            display: flex;
            align-items: center;
            gap: 32px;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
            text-decoration: none;
            font-weight: 800;
            font-size: 20px;
            color: var(--text-primary);
        }

        .logo-icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
        }

        .logo-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
        }

        .logo span {
            background: linear-gradient(135deg, #00e676, #69f0ae);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-links {
            display: flex;
            gap: 8px;
        }

        .nav-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 14px;
            font-weight: 500;
            padding: 8px 14px;
            border-radius: 8px;
            transition: all 0.2s;
        }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--text-primary);
            background: rgba(255,255,255,0.05);
        }

        .nav-links a.active {
            color: var(--accent-green);
        }

        .nav-right {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .search-box {
            display: flex;
            align-items: center;
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: 10px;
            padding: 8px 14px;
            gap: 8px;
            width: 280px;
            transition: border-color 0.2s;
        }

        .search-box:focus-within {
            border-color: var(--accent-green);
            box-shadow: 0 0 0 3px var(--accent-green-glow);
        }

        .search-box svg {
            width: 16px;
            height: 16px;
            color: var(--text-muted);
            flex-shrink: 0;
        }

        .search-box input {
            background: none;
            border: none;
            outline: none;
            color: var(--text-primary);
            font-size: 13px;
            width: 100%;
            font-family: inherit;
        }

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

        .btn {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 10px 20px;
            border-radius: 10px;
            font-size: 14px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            border: none;
            font-family: inherit;
            text-decoration: none;
        }

        .btn-primary {
            background: var(--gradient-green);
            color: #000;
            box-shadow: 0 0 20px var(--accent-green-dim);
        }

        .btn-primary:hover {
            transform: translateY(-1px);
            box-shadow: 0 0 30px var(--accent-green-dim);
        }

        .btn-secondary {
            background: var(--bg-card);
            color: var(--text-primary);
            border: 1px solid var(--border-color);
        }

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

        .btn-ghost {
            background: transparent;
            color: var(--text-secondary);
            padding: 8px 12px;
        }

        .btn-ghost:hover {
            color: var(--text-primary);
            background: rgba(255,255,255,0.05);
        }

        /* ===== HERO SECTION ===== */
        .hero {
            padding: 120px 24px 60px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: -200px;
            left: 50%;
            transform: translateX(-50%);
            width: 800px;
            height: 800px;
            background: radial-gradient(circle, var(--accent-green-glow) 0%, transparent 70%);
            pointer-events: none;
        }

        .hero-badge {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            background: var(--accent-green-dim);
            border: 1px solid rgba(0, 230, 118, 0.2);
            color: var(--accent-green);
            padding: 6px 16px;
            border-radius: 100px;
            font-size: 13px;
            font-weight: 600;
            margin-bottom: 24px;
            animation: pulse-badge 2s ease-in-out infinite;
        }

        @keyframes pulse-badge {
            0%, 100% { box-shadow: 0 0 0 0 var(--accent-green-dim); }
            50% { box-shadow: 0 0 0 8px transparent; }
        }

        .hero-badge .dot {
            width: 6px;
            height: 6px;
            background: var(--accent-green);
            border-radius: 50%;
            animation: blink 1.5s ease-in-out infinite;
        }

        @keyframes blink {
            0%, 100% { opacity: 1; }
            50% { opacity: 0.3; }
        }

        .hero h1 {
            font-size: 56px;
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 20px;
            letter-spacing: -1.5px;
            position: relative;
        }

        .hero h1 .highlight {
            background: linear-gradient(135deg, #00e676, #69f0ae, #00e676);
            background-size: 200% auto;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
            animation: shimmer 3s linear infinite;
        }

        @keyframes shimmer {
            0% { background-position: 0% center; }
            100% { background-position: 200% center; }
        }

        .hero p {
            font-size: 18px;
            color: var(--text-secondary);
            max-width: 600px;
            margin: 0 auto 36px;
            line-height: 1.7;
        }

        .hero-actions {
            display: flex;
            gap: 12px;
            justify-content: center;
            flex-wrap: wrap;
        }

        .hero-stats {
            display: flex;
            justify-content: center;
            gap: 48px;
            margin-top: 60px;
            padding-top: 40px;
            border-top: 1px solid var(--border-color);
            max-width: 700px;
            margin-left: auto;
            margin-right: auto;
        }

        .hero-stat {
            text-align: center;
        }

        .hero-stat .value {
            font-size: 28px;
            font-weight: 800;
            color: var(--accent-green);
        }

        .hero-stat .label {
            font-size: 13px;
            color: var(--text-muted);
            margin-top: 4px;
        }

        /* ===== WALLET INPUT SECTION ===== */
        .wallet-section {
            padding: 40px 24px 60px;
            max-width: 800px;
            margin: 0 auto;
        }

        .wallet-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 32px;
            position: relative;
            overflow: hidden;
        }

        .wallet-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: var(--gradient-green);
        }

        .wallet-card h2 {
            font-size: 20px;
            font-weight: 700;
            margin-bottom: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .wallet-card h2 svg {
            color: var(--accent-green);
        }

        .wallet-card .subtitle {
            color: var(--text-secondary);
            font-size: 14px;
            margin-bottom: 24px;
        }

        .wallet-input-group {
            display: flex;
            gap: 12px;
        }

        .wallet-input {
            flex: 1;
            background: var(--bg-primary);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 14px 18px;
            color: var(--text-primary);
            font-size: 14px;
            font-family: 'Inter', monospace;
            outline: none;
            transition: all 0.2s;
        }

        .wallet-input:focus {
            border-color: var(--accent-green);
            box-shadow: 0 0 0 3px var(--accent-green-glow);
        }

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

        /* ===== AI ANALYSIS SECTION ===== */
        .analysis-section {
            padding: 40px 24px 80px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .section-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
            flex-wrap: wrap;
            gap: 10px;
        }

        .section-header h2 {
            font-size: 24px;
            font-weight: 700;
            display: flex;
            align-items: center;
            gap: 8px;
            flex-wrap: wrap;
            min-width: 0;
        }

        .section-header-right {
            display: flex;
            align-items: center;
            gap: 10px;
            flex-shrink: 0;
        }

        .section-header .ai-badge {
            background: linear-gradient(135deg, #7c4dff33, #3d5afe33);
            border: 1px solid #7c4dff44;
            color: #b388ff;
            padding: 4px 12px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 700;
            letter-spacing: 0.5px;
            text-transform: uppercase;
        }

        .analysis-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 16px;
            margin-bottom: 24px;
        }

        .analysis-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 14px;
            padding: 24px;
            transition: all 0.3s;
            cursor: default;
        }

        .analysis-card:hover {
            border-color: var(--text-muted);
            background: var(--bg-card-hover);
            transform: translateY(-2px);
        }

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

        .card-header .card-title {
            display: flex;
            align-items: center;
            gap: 10px;
            font-size: 15px;
            font-weight: 600;
        }

        .card-icon {
            width: 36px;
            height: 36px;
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
        }

        .card-icon.green { background: var(--accent-green-dim); }
        .card-icon.purple { background: rgba(124, 77, 255, 0.15); }
        .card-icon.blue { background: rgba(61, 90, 254, 0.15); }
        .card-icon.yellow { background: rgba(255, 211, 42, 0.15); }
        .card-icon.red { background: rgba(255, 71, 87, 0.15); }

        .card-status {
            font-size: 12px;
            font-weight: 600;
            padding: 4px 10px;
            border-radius: 6px;
        }

        .status-bullish {
            background: rgba(0, 230, 118, 0.1);
            color: var(--accent-green);
        }

        .status-bearish {
            background: rgba(255, 71, 87, 0.1);
            color: var(--accent-red);
        }

        .status-neutral {
            background: rgba(255, 211, 42, 0.1);
            color: var(--accent-yellow);
        }

        .card-value {
            font-size: 32px;
            font-weight: 800;
            margin-bottom: 4px;
        }

        .card-change {
            font-size: 13px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .card-change.positive { color: var(--accent-green); }
        .card-change.negative { color: var(--accent-red); }

        .card-description {
            color: var(--text-secondary);
            font-size: 13px;
            margin-top: 12px;
            line-height: 1.6;
        }

        /* ===== TOKEN TABLE ===== */
        .tokens-section {
            padding: 0 24px 80px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .tokens-table-wrapper {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 14px;
            overflow: hidden;
        }

        .tokens-table {
            width: 100%;
            border-collapse: collapse;
        }

        .tokens-table thead {
            background: var(--bg-secondary);
        }

        .tokens-table th {
            padding: 14px 20px;
            text-align: left;
            font-size: 12px;
            font-weight: 600;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 1px solid var(--border-color);
        }

        .tokens-table td {
            padding: 16px 20px;
            font-size: 14px;
            border-bottom: 1px solid rgba(42, 42, 58, 0.5);
        }

        .tokens-table tbody tr {
            transition: background 0.15s;
        }

        .tokens-table tbody tr:hover {
            background: var(--bg-card-hover);
        }

        .tokens-table tbody tr:last-child td {
            border-bottom: none;
        }

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

        .token-avatar {
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(135deg, #ff6b6b, #ffd93d, #6bcb77, #4d96ff);
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            font-weight: 700;
            flex-shrink: 0;
        }

        .token-name {
            font-weight: 600;
        }

        .token-ticker {
            color: var(--text-muted);
            font-size: 12px;
        }

        .ai-score {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 4px 10px;
            border-radius: 6px;
            font-weight: 700;
            font-size: 13px;
        }

        .ai-score.high {
            background: rgba(0, 230, 118, 0.1);
            color: var(--accent-green);
        }

        .ai-score.medium {
            background: rgba(255, 211, 42, 0.1);
            color: var(--accent-yellow);
        }

        .ai-score.low {
            background: rgba(255, 71, 87, 0.1);
            color: var(--accent-red);
        }

        .progress-bar {
            width: 80px;
            height: 6px;
            background: var(--bg-primary);
            border-radius: 3px;
            overflow: hidden;
        }

        .progress-bar .fill {
            height: 100%;
            border-radius: 3px;
            transition: width 0.5s ease;
        }

        .fill.green { background: var(--accent-green); }
        .fill.yellow { background: var(--accent-yellow); }
        .fill.red { background: var(--accent-red); }

        /* ===== AI INSIGHT PANEL ===== */
        .ai-insight-section {
            padding: 0 24px 80px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .ai-insight-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 14px;
            padding: 32px;
            position: relative;
            overflow: hidden;
        }

        .ai-insight-card::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 2px;
            background: linear-gradient(90deg, #7c4dff, #3d5afe, #00e676);
        }

        .ai-chat {
            display: flex;
            flex-direction: column;
            gap: 16px;
            margin-top: 20px;
        }

        .ai-message {
            display: flex;
            gap: 12px;
            max-width: 85%;
        }

        .ai-message.ai {
            align-self: flex-start;
        }

        .ai-message.user {
            align-self: flex-end;
            flex-direction: row-reverse;
        }

        .ai-avatar {
            width: 32px;
            height: 32px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            flex-shrink: 0;
        }

        .ai-avatar.bot {
            background: linear-gradient(135deg, #7c4dff, #3d5afe);
            box-shadow: 0 0 15px rgba(124, 77, 255, 0.3);
        }

        .ai-avatar.human {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
        }

        .ai-bubble {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 14px 18px;
            font-size: 14px;
            line-height: 1.6;
            color: var(--text-secondary);
        }

        .ai-bubble strong {
            color: var(--text-primary);
        }

        .ai-bubble .token-mention {
            color: var(--accent-green);
            font-weight: 600;
        }

        .ai-bubble .warning {
            color: var(--accent-yellow);
            font-weight: 600;
        }

        .ai-bubble .danger {
            color: var(--accent-red);
            font-weight: 600;
        }

        .ai-input-bar {
            display: flex;
            gap: 12px;
            margin-top: 20px;
            padding-top: 20px;
            border-top: 1px solid var(--border-color);
        }

        .ai-input-bar input {
            flex: 1;
            background: var(--bg-primary);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 14px 18px;
            color: var(--text-primary);
            font-size: 14px;
            font-family: inherit;
            outline: none;
            transition: all 0.2s;
        }

        .ai-input-bar input:focus {
            border-color: var(--accent-purple);
            box-shadow: 0 0 0 3px rgba(124, 77, 255, 0.15);
        }

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

        /* ===== FEATURES SECTION ===== */
        .features-section {
            padding: 80px 24px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .features-section .section-title {
            text-align: center;
            font-size: 36px;
            font-weight: 800;
            margin-bottom: 12px;
        }

        .features-section .section-subtitle {
            text-align: center;
            color: var(--text-secondary);
            font-size: 16px;
            margin-bottom: 48px;
        }

        .features-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 16px;
        }

        .feature-card {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 14px;
            padding: 28px;
            transition: all 0.3s;
        }

        .feature-card:hover {
            border-color: var(--text-muted);
            transform: translateY(-3px);
        }

        .feature-icon {
            width: 48px;
            height: 48px;
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 22px;
            margin-bottom: 16px;
        }

        .feature-card h3 {
            font-size: 16px;
            font-weight: 700;
            margin-bottom: 8px;
        }

        .feature-card p {
            color: var(--text-secondary);
            font-size: 13px;
            line-height: 1.6;
        }

        /* ===== LIVE FEED ===== */
        .live-feed-section {
            padding: 0 24px 80px;
            max-width: 1200px;
            margin: 0 auto;
        }

        .live-feed {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .feed-item {
            display: flex;
            align-items: center;
            gap: 16px;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            padding: 16px 20px;
            transition: all 0.2s;
        }

        .feed-item:hover {
            background: var(--bg-card-hover);
        }

        .feed-time {
            color: var(--text-muted);
            font-size: 12px;
            font-weight: 500;
            min-width: 60px;
        }

        .feed-type {
            padding: 4px 10px;
            border-radius: 6px;
            font-size: 12px;
            font-weight: 700;
            text-transform: uppercase;
            letter-spacing: 0.3px;
            min-width: 70px;
            text-align: center;
        }

        .feed-type.buy {
            background: rgba(0, 230, 118, 0.1);
            color: var(--accent-green);
        }

        .feed-type.sell {
            background: rgba(255, 71, 87, 0.1);
            color: var(--accent-red);
        }

        .feed-type.alert {
            background: rgba(255, 211, 42, 0.1);
            color: var(--accent-yellow);
        }

        .feed-text {
            flex: 1;
            font-size: 14px;
            color: var(--text-secondary);
        }

        .feed-text strong {
            color: var(--text-primary);
        }

        .feed-amount {
            font-weight: 700;
            font-size: 14px;
        }

        /* ===== FOOTER ===== */
        .footer {
            border-top: 1px solid var(--border-color);
            padding: 40px 24px;
            max-width: 1200px;
            margin: 0 auto;
        }

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

        .footer-left {
            display: flex;
            align-items: center;
            gap: 24px;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 8px;
            font-weight: 700;
            font-size: 16px;
            color: var(--text-primary);
            text-decoration: none;
        }

        .footer-logo span {
            color: var(--accent-green);
        }

        .footer-text {
            color: var(--text-muted);
            font-size: 13px;
        }

        .footer-links {
            display: flex;
            gap: 24px;
        }

        .footer-links a {
            color: var(--text-secondary);
            text-decoration: none;
            font-size: 13px;
            transition: color 0.2s;
        }

        .footer-links a:hover {
            color: var(--accent-green);
        }

        /* ===== ANIMATIONS ===== */
        .fade-in {
            opacity: 0;
            transform: translateY(20px);
            animation: fadeIn 0.6s ease forwards;
        }

        .fade-in:nth-child(2) { animation-delay: 0.1s; }
        .fade-in:nth-child(3) { animation-delay: 0.2s; }
        .fade-in:nth-child(4) { animation-delay: 0.3s; }
        .fade-in:nth-child(5) { animation-delay: 0.4s; }

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

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

        .typing-dots {
            display: inline-flex;
            gap: 4px;
        }

        .typing-dots span {
            width: 6px;
            height: 6px;
            background: var(--accent-purple);
            border-radius: 50%;
            animation: typing 1.4s ease-in-out infinite;
        }

        .typing-dots span:nth-child(2) { animation-delay: 0.2s; }
        .typing-dots span:nth-child(3) { animation-delay: 0.4s; }

        @keyframes typing {
            0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
            30% { transform: translateY(-8px); opacity: 1; }
        }

        /* ===== RESPONSIVE ===== */
        @media (max-width: 768px) {
            .hero h1 {
                font-size: 36px;
            }

            .hero p {
                font-size: 16px;
            }

            .hero-stats {
                gap: 24px;
                flex-wrap: wrap;
            }

            .nav-links {
                display: none;
            }

            .search-box {
                width: 180px;
            }

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

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

            .wallet-input-group {
                flex-direction: column;
            }

            .footer-content {
                flex-direction: column;
                gap: 20px;
                text-align: center;
            }

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

        /* Glow effects */
        .glow-green {
            box-shadow: 0 0 30px var(--accent-green-dim);
        }

        .glow-purple {
            box-shadow: 0 0 30px rgba(124, 77, 255, 0.2);
        }

        /* Mini chart placeholder */
        .mini-chart {
            display: flex;
            align-items: flex-end;
            gap: 2px;
            height: 32px;
        }

        .mini-chart .bar {
            width: 4px;
            border-radius: 2px;
            background: var(--accent-green);
            opacity: 0.6;
            transition: all 0.3s;
        }

        .mini-chart:hover .bar {
            opacity: 1;
        }


        /* ===== GREEN SCROLLBAR for live sections ===== */
        .tokens-table-wrapper::-webkit-scrollbar,
        #live-feed-container::-webkit-scrollbar,
        #pump-alerts-grid::-webkit-scrollbar,
        .modal-trades-list::-webkit-scrollbar {
            width: 5px;
        }
        .tokens-table-wrapper::-webkit-scrollbar-track,
        #live-feed-container::-webkit-scrollbar-track,
        #pump-alerts-grid::-webkit-scrollbar-track,
        .modal-trades-list::-webkit-scrollbar-track {
            background: var(--bg-secondary);
            border-radius: 3px;
        }
        .tokens-table-wrapper::-webkit-scrollbar-thumb,
        #live-feed-container::-webkit-scrollbar-thumb,
        #pump-alerts-grid::-webkit-scrollbar-thumb,
        .modal-trades-list::-webkit-scrollbar-thumb {
            background: var(--accent-green);
            border-radius: 3px;
            opacity: 0.7;
        }
        .tokens-table-wrapper::-webkit-scrollbar-thumb:hover,
        #live-feed-container::-webkit-scrollbar-thumb:hover,
        #pump-alerts-grid::-webkit-scrollbar-thumb:hover,
        .modal-trades-list::-webkit-scrollbar-thumb:hover {
            background: #69f0ae;
        }

        /* ===== SCROLL OFFSET for fixed navbar ===== */
        #section-home,
        #section-alerts,
        #section-new-pairs,
        #section-ai-chat,
        #section-live,
        #section-why {
            scroll-margin-top: 72px;
        }
        /* ===== SEARCH DROPDOWN ===== */
        .search-wrapper {
            position: relative;
        }
        .search-dropdown {
            position: absolute;
            top: calc(100% + 8px);
            left: 0;
            right: 0;
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            max-height: 400px;
            overflow-y: auto;
            z-index: 2000;
            display: none;
            box-shadow: 0 20px 60px rgba(0,0,0,0.5);
        }
        .search-dropdown.active { display: block; }
        .search-dropdown-header {
            padding: 10px 16px;
            font-size: 12px;
            font-weight: 700;
            color: var(--text-muted);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            border-bottom: 1px solid var(--border-color);
        }
        .search-result {
            display: flex;
            align-items: center;
            gap: 12px;
            padding: 12px 16px;
            cursor: pointer;
            transition: background 0.15s;
            border-bottom: 1px solid rgba(42,42,58,0.3);
        }
        .search-result:last-child { border-bottom: none; }
        .search-result:hover { background: var(--bg-card-hover); }
        .search-result-avatar {
            width: 32px; height: 32px; border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-size: 14px; flex-shrink: 0; overflow: hidden;
        }
        .search-result-info { flex: 1; min-width: 0; }
        .search-result-name { font-weight: 600; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .search-result-ticker { color: var(--accent-green); font-size: 12px; font-weight: 600; }
        .search-result-mint { color: var(--text-muted); font-size: 12px; font-family: monospace; }
        .search-result-mcap { font-size: 13px; font-weight: 600; color: var(--text-secondary); white-space: nowrap; }
        .search-no-results { padding: 24px 16px; text-align: center; color: var(--text-muted); font-size: 13px; }
        .search-loading { padding: 20px 16px; text-align: center; color: var(--text-muted); font-size: 13px; }

        /* ===== TOKEN DETAIL MODAL ===== */
        .modal-overlay {
            position: fixed; top: 0; left: 0; right: 0; bottom: 0;
            background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
            z-index: 3000; display: none; align-items: flex-start;
            justify-content: center; padding: 80px 24px 24px; overflow-y: auto;
        }
        .modal-overlay.active { display: flex; }
        .modal-content {
            background: var(--bg-card); border: 1px solid var(--border-color);
            border-radius: 16px; width: 100%; max-width: 900px;
            position: relative; overflow: hidden;
            animation: modalIn 0.3s ease;
        }
        @keyframes modalIn {
            from { opacity: 0; transform: translateY(20px) scale(0.98); }
            to { opacity: 1; transform: translateY(0) scale(1); }
        }
        .modal-content::before {
            content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
            background: linear-gradient(90deg, #00e676, #7c4dff, #3d5afe);
        }
        .modal-close {
            position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
            border-radius: 10px; border: 1px solid var(--border-color);
            background: var(--bg-secondary); color: var(--text-secondary);
            font-size: 18px; cursor: pointer; display: flex;
            align-items: center; justify-content: center; transition: all 0.2s; z-index: 1;
        }
        .modal-close:hover { background: var(--bg-card-hover); color: var(--text-primary); }
        .modal-header {
            padding: 28px 28px 20px; display: flex; align-items: center; gap: 16px;
            border-bottom: 1px solid var(--border-color);
        }
        .modal-token-avatar {
            width: 56px; height: 56px; border-radius: 50%; overflow: hidden;
            display: flex; align-items: center; justify-content: center;
            font-size: 28px; flex-shrink: 0;
        }
        .modal-token-info h2 { font-size: 24px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
        .modal-token-info .modal-ticker { color: var(--accent-green); font-size: 16px; font-weight: 600; }
        .modal-token-info .modal-mint {
            color: var(--text-muted); font-size: 12px; font-family: monospace;
            margin-top: 4px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
        }
        #modal-mint-text { max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; display: inline-block; }
        .modal-token-info .modal-mint a { color: var(--accent-blue); text-decoration: none; }
        .modal-token-info .modal-mint a:hover { text-decoration: underline; }
        .modal-stats-grid {
            display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
            background: var(--border-color); border-bottom: 1px solid var(--border-color);
        }
        .modal-stat {
            background: var(--bg-card); padding: 20px; text-align: center;
        }
        .modal-stat .stat-label { font-size: 12px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
        .modal-stat .stat-value { font-size: 20px; font-weight: 800; }
        .modal-trades-section { padding: 20px 28px 28px; }
        .modal-trades-header {
            display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px;
        }
        .modal-trades-header h3 { font-size: 16px; font-weight: 700; display: flex; align-items: center; gap: 8px; }
        .modal-trades-list { display: flex; flex-direction: column; gap: 6px; max-height: 350px; overflow-y: auto; }
        .modal-trade-item {
            display: flex; align-items: center; gap: 12px; padding: 10px 14px;
            background: var(--bg-secondary); border-radius: 10px; font-size: 13px;
        }
        .modal-trade-type {
            padding: 3px 8px; border-radius: 4px; font-size: 12px;
            font-weight: 700; text-transform: uppercase; min-width: 60px; text-align: center;
        }
        .modal-trade-type.buy { background: rgba(0,230,118,0.1); color: var(--accent-green); }
        .modal-trade-type.sell { background: rgba(255,71,87,0.1); color: var(--accent-red); }
        .modal-trade-account { color: var(--text-muted); font-family: monospace; font-size: 12px; }
        .modal-trade-amount { margin-left: auto; font-weight: 700; }
        .modal-trade-sol { color: var(--text-muted); font-size: 12px; margin-left: 8px; }
        .modal-trade-time { color: var(--text-muted); font-size: 12px; min-width: 65px; text-align: right; }
        .modal-no-trades { padding: 40px; text-align: center; color: var(--text-muted); }

        @media (max-width: 768px) {
            .modal-stats-grid { grid-template-columns: repeat(2, 1fr); }
            .modal-header { flex-direction: column; text-align: center; }
        }

        /* Solana badge */
        .solana-badge {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            background: linear-gradient(135deg, rgba(153, 69, 255, 0.1), rgba(20, 241, 149, 0.1));
            border: 1px solid rgba(153, 69, 255, 0.2);
            padding: 4px 12px;
            border-radius: 100px;
            font-size: 12px;
            font-weight: 600;
            color: #14f195;
        }
    
        /* ============================================================
           COMPREHENSIVE RESPONSIVE CSS
           Breakpoints:
           - 1200px: Large laptops / desktops
           - 1024px: Laptops / iPad Pro landscape
           - 900px:  Tablets landscape / small laptops
           - 768px:  Tablets portrait (iPad, Galaxy Tab)
           - 600px:  Large phones landscape / small tablets
           - 480px:  Phones (iPhone 14, Pixel, Galaxy S)
           - 375px:  Small phones (iPhone SE, iPhone 12 mini)
        ============================================================ */

        /* --- Global box-sizing & overflow fix --- */
        *, *::before, *::after { box-sizing: border-box; }
        html, body { overflow-x: hidden; max-width: 100vw; }
        img, svg, video { max-width: 100%; }

        /* --- Large desktops (1200px+) --- */
        @media (max-width: 1200px) {
            .container { padding: 0 24px; }
            .hero h1 { font-size: 52px; }
        }

        /* --- Laptops / iPad Pro landscape (1024px) --- */
        @media (max-width: 1024px) {
            .hero h1 { font-size: 44px; }
            .hero-stats { gap: 20px; }
            .features-grid { grid-template-columns: repeat(2, 1fr); }
            .analysis-grid { grid-template-columns: 1fr; }
            .section-title { font-size: 28px; }
            .nav-links { gap: 16px; }
            .search-box { width: 200px; }
        }

        /* --- Tablets landscape / small laptops (900px) --- */
        @media (max-width: 900px) {
            .hero { padding: 80px 0 60px; }
            .hero h1 { font-size: 38px; }
            .hero p { font-size: 16px; }
            .hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
            .hero-stat { min-width: 120px; }
            .nav-links { display: none; }
            .search-box { width: 180px; }
            .features-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
            .section-title { font-size: 26px; }
            .section-subtitle { font-size: 15px; }
            .pump-alerts-grid { grid-template-columns: repeat(2, 1fr); }
            .alert-stats { flex-wrap: wrap; gap: 12px; }
            .token-table th, .token-table td { padding: 10px 8px; font-size: 12px; }
            /* Hide less important columns on tablet */
            .token-table .col-mint { display: none; }
        }

        /* --- Tablets portrait / iPad (768px) --- */
        @media (max-width: 768px) {
            .container { padding: 0 16px; }
            .hero { padding: 70px 0 50px; }
            .hero h1 { font-size: 32px; line-height: 1.2; }
            .hero p { font-size: 15px; }
            .hero-buttons { flex-direction: column; align-items: stretch; gap: 12px; }
            .hero-buttons .btn { width: 100%; justify-content: center; text-align: center; }
            .hero-stats { grid-template-columns: repeat(2, 1fr); display: grid; gap: 12px; }
            .hero-stat { text-align: center; }

            /* Navbar */
            .navbar { padding: 12px 16px; }
            .nav-logo { font-size: 18px; }
            .search-box { width: 140px; font-size: 13px; }
            .nav-right { gap: 8px; }
            .btn-primary.nav-connect { padding: 8px 14px; font-size: 13px; }

            /* Sections */
            .section-title { font-size: 24px; }
            .section-subtitle { font-size: 14px; }
            section { padding: 40px 0; }

            /* Features */
            .features-grid { grid-template-columns: 1fr; gap: 14px; }
            .feature-card { padding: 20px; }

            /* Wallet analysis */
            .wallet-input-group { flex-direction: column; gap: 10px; }
            .wallet-input-group input { width: 100%; }
            .wallet-input-group button { width: 100%; }
            .analysis-grid { grid-template-columns: 1fr; gap: 16px; }

            /* Alerts */
            .alerts-grid { grid-template-columns: 1fr; }
            .alert-features { flex-direction: column; gap: 10px; }
            .pump-alerts-grid { grid-template-columns: 1fr; }
            .alert-stats { flex-wrap: wrap; gap: 10px; }
            .alert-stat { min-width: calc(50% - 5px); }

            /* Token table */
            .token-table-wrapper { overflow-x: auto; -webkit-overflow-scrolling: touch; }
            .token-table { min-width: 500px; }
            .token-table th, .token-table td { padding: 8px 6px; font-size: 12px; }
            .col-mint, .col-creator { display: none; }

            /* AI Chat */
            .chat-container { height: 300px; }
            .chat-input-row { flex-direction: row; gap: 8px; }

            /* Live feed */
            .feed-item { padding: 10px 12px; font-size: 13px; }
            .feed-badge { font-size: 12px; padding: 2px 6px; }

            /* Modal */
            .modal-content { padding: 20px 16px; margin: 10px; border-radius: 14px; }
            .modal-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
            .modal-header { flex-direction: column; text-align: center; gap: 12px; }
            .modal-actions { flex-direction: column; gap: 8px; }
            .modal-actions button, .modal-actions a { width: 100%; text-align: center; justify-content: center; }

            /* Footer */
            .footer-content { flex-direction: column; gap: 16px; text-align: center; }
            .footer-left { flex-direction: column; align-items: center; }
            .footer-links { justify-content: center; flex-wrap: wrap; gap: 12px; }

            /* Cashback banner */
            .cashback-banner { flex-direction: column; gap: 14px; }
            .cashback-banner button { width: 100%; }

            /* Demo modal */
            #how-it-works-modal > div { padding: 20px 16px; }
            #demo-result > div:nth-child(2) { grid-template-columns: 1fr 1fr; }
        }

        /* --- Large phones landscape / small tablets (600px) --- */
        @media (max-width: 600px) {
            .hero h1 { font-size: 28px; }
            .hero-stats { grid-template-columns: repeat(2, 1fr); }
            .hero-stat .value { font-size: 22px; }
            .features-grid { grid-template-columns: 1fr; }
            .pump-alerts-grid { grid-template-columns: 1fr; }
            .alert-stat { min-width: 100%; }
            .section-title { font-size: 22px; }
            .token-table { min-width: 420px; }
            .col-time { display: none; }
            .modal-stats-grid { grid-template-columns: 1fr 1fr; }
            /* Demo wallet step */
            #demo-choose-wallet > div { grid-template-columns: 1fr; }
            #demo-result > div:nth-child(2) { grid-template-columns: 1fr; }
        }

        /* --- Phones (480px) --- */
        @media (max-width: 480px) {
            .container { padding: 0 12px; }
            .hero { padding: 60px 0 40px; }
            .hero h1 { font-size: 24px; }
            .hero p { font-size: 14px; }
            .hero-stats { grid-template-columns: 1fr 1fr; gap: 10px; }
            .hero-stat .value { font-size: 20px; }
            .hero-stat .label { font-size: 12px; }

            /* Navbar */
            .navbar { padding: 10px 12px; }
            .nav-logo span { display: none; } /* hide text, keep logo icon */
            .search-box { width: 120px; font-size: 12px; }
            .btn-primary.nav-connect { padding: 7px 12px; font-size: 12px; }

            /* Sections */
            section { padding: 32px 0; }
            .section-title { font-size: 20px; }
            .section-subtitle { font-size: 13px; }

            /* Feature cards */
            .feature-card { padding: 16px; }
            .feature-icon { width: 44px; height: 44px; font-size: 20px; }
            .feature-card h3 { font-size: 15px; }
            .feature-card p { font-size: 13px; }

            /* Token table */
            .token-table { min-width: 360px; }
            .token-table th, .token-table td { padding: 7px 5px; font-size: 12px; }
            .col-score { display: none; }

            /* Chat */
            .chat-container { height: 260px; }
            .chat-message { font-size: 13px; padding: 10px 12px; }

            /* Feed */
            .feed-item { padding: 8px 10px; font-size: 12px; gap: 8px; }

            /* Modal */
            .modal-content { padding: 16px 12px; }
            .modal-stats-grid { grid-template-columns: 1fr 1fr; gap: 8px; }

            /* Alerts section */
            .alerts-section-inner { padding: 20px 16px; }
            .alert-connect-btn { width: 100%; }

            /* Demo */
            #how-it-works-modal > div { padding: 16px 12px; border-radius: 14px; }
            #demo-token-card { flex-wrap: wrap; }
            #demo-score-badge { min-width: 56px; }
        }

        /* --- Small phones (375px) --- */
        @media (max-width: 375px) {
            .hero h1 { font-size: 21px; }
            .hero-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
            .hero-stat .value { font-size: 18px; }
            .search-box { display: none; } /* hide search on very small screens */
            .section-title { font-size: 18px; }
            .token-table { min-width: 320px; }
            .col-ticker { display: none; }
            .feature-card { padding: 14px; }
            .chat-container { height: 220px; }
        }

        /* --- Touch device improvements --- */
        @media (hover: none) and (pointer: coarse) {
            .btn { min-height: 44px; }
            .feed-item { min-height: 44px; }
            input, textarea, select { font-size: 16px !important; } /* prevent iOS zoom */
            .token-table-wrapper { -webkit-overflow-scrolling: touch; }
        }

        /* --- Safe area for notched phones (iPhone X+) --- */
        @supports (padding: env(safe-area-inset-bottom)) {
            .navbar { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
            #connect-wallet-toast { bottom: max(24px, env(safe-area-inset-bottom)); }
        }

        