@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* ─── Reset & Root ─────────────────────────────────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-deep:         #0f0720;
    --bg-card:         rgba(255, 255, 255, 0.06);
    --bg-card-hover:   rgba(255, 255, 255, 0.10);
    --border:          rgba(255, 255, 255, 0.12);
    --border-hover:    rgba(255, 107, 157, 0.40);
    --accent:          linear-gradient(135deg, #ff6b9d 0%, #c471ed 50%, #12c2e9 100%);
    --pink:            #ff3d8a;
    --cyan:            #00e6ff;
    --purple:          #c471ed;
    --text:            #ffffff;
    --text-muted:      rgba(255, 255, 255, 0.65);
    --glow-pink:       0 0 20px rgba(255, 61, 138, 0.35);
    --glow-cyan:       0 0 20px rgba(0, 230, 255, 0.35);
    --shadow:          0 8px 32px rgba(0, 0, 0, 0.5);
    --radius-sm:       10px;
    --radius-md:       16px;
    --radius-lg:       24px;
    --nav-h:           72px;
}

/* ─── Base ──────────────────────────────────────────────────── */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep);
    background-image:
        radial-gradient(ellipse 80% 60% at 20% 10%, rgba(196, 113, 237, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 60% 60% at 80% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255, 61, 138, 0.05) 0%, transparent 70%);
    background-attachment: fixed;
    min-height: 100vh;
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ─── Layout ────────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 80px;
}

/* ─── Navigation ────────────────────────────────────────────── */
nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(15, 7, 32, 0.75);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
    height: var(--nav-h);
    display: flex;
    align-items: center;
    margin-bottom: 56px;
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.nav-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand-icon {
    font-size: 1.25rem;
    -webkit-text-fill-color: initial;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2px;
    flex-shrink: 0;
}

nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.85rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
}

nav a:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.08);
}

nav a.active {
    color: var(--text);
    background: rgba(255, 61, 138, 0.18);
    box-shadow: inset 0 0 0 1px rgba(255, 61, 138, 0.3);
}

/* ─── Page Header ───────────────────────────────────────────── */
.page-header {
    text-align: center;
    padding: 32px 0 48px;
}

.page-header h1 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glowPulse 4s ease-in-out infinite;
}

.page-header p {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ─── Glass Card Base ───────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    border-color: var(--border-hover);
    box-shadow: 0 16px 40px rgba(255, 61, 138, 0.12);
}

/* ─── Section Headings ──────────────────────────────────────── */
.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    margin-bottom: 40px;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glowPulse 4s ease-in-out infinite;
}

/* ─── Chatbot ───────────────────────────────────────────────── */
.chatbot-toggle {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 56px;
    height: 56px;
    background: var(--accent);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 24px rgba(255, 61, 138, 0.45);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.chatbot-toggle:hover {
    transform: scale(1.08);
    box-shadow: 0 6px 32px rgba(255, 61, 138, 0.65);
}

.chatbot-container {
    position: fixed;
    bottom: 96px;
    right: 28px;
    width: 360px;
    height: 520px;
    background: rgba(15, 7, 32, 0.92);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    z-index: 199;
    display: none;
    flex-direction: column;
    overflow: hidden;
}

.chatbot-header {
    background: var(--accent);
    padding: 14px 20px;
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.chatbot-messages {
    flex: 1;
    padding: 16px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.15) transparent;
}

.message {
    max-width: 82%;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
    line-height: 1.5;
}

.message.user {
    background: var(--accent);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.message.ai {
    background: rgba(255, 255, 255, 0.09);
    border: 1px solid var(--border);
    color: var(--text);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.chatbot-input {
    display: flex;
    padding: 12px 16px;
    gap: 10px;
    border-top: 1px solid var(--border);
}

.chatbot-input input {
    flex: 1;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 10px 16px;
    color: var(--text);
    outline: none;
    font-size: 0.88rem;
    font-family: 'Inter', sans-serif;
    transition: border-color 0.2s ease;
}

.chatbot-input input:focus {
    border-color: rgba(255, 61, 138, 0.5);
}

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

.chatbot-input button {
    background: var(--accent);
    border: none;
    border-radius: 50%;
    width: 38px;
    height: 38px;
    cursor: pointer;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.chatbot-input button:hover {
    transform: scale(1.1);
}

.typing-indicator {
    display: none;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-style: italic;
    padding: 8px 16px;
}

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

.typing-dots span {
    width: 5px;
    height: 5px;
    background: var(--pink);
    border-radius: 50%;
    animation: bounce 1.4s infinite;
}

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

/* ─── Wallet Button ─────────────────────────────────────────── */
.wallet-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    border: none;
    border-radius: 999px;
    padding: 8px 18px;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    white-space: nowrap;
}

.wallet-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 61, 138, 0.4);
}

.wallet-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.wallet-btn .wallet-icon {
    width: 18px;
    height: 18px;
}

.wallet-address {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: 6px 8px 6px 14px;
}

.wallet-address-text {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 500;
}

.wallet-address-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    background: rgba(0, 230, 255, 0.15);
    border: 1px solid rgba(0, 230, 255, 0.3);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.75rem;
    color: var(--cyan);
    font-weight: 600;
}

.wallet-disconnect {
    background: rgba(255, 61, 138, 0.15);
    border: 1px solid rgba(255, 61, 138, 0.3);
    border-radius: 50%;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--pink);
    font-size: 0.9rem;
    transition: background 0.2s ease;
}

.wallet-disconnect:hover {
    background: rgba(255, 61, 138, 0.3);
}

/* Wallet Modal */
.wallet-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(5, 2, 15, 0.92);
    backdrop-filter: blur(12px);
    align-items: center;
    justify-content: center;
}

.wallet-modal.active {
    display: flex;
}

.wallet-modal-content {
    background: rgba(20, 10, 40, 0.95);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    width: 90%;
    max-width: 420px;
    position: relative;
}

.wallet-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    border-radius: 50%;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: background 0.2s ease;
}

.wallet-modal-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text);
}

.wallet-modal h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wallet-modal p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.wallet-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wallet-option {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wallet-option:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--border-hover);
    transform: translateX(4px);
}

.wallet-option-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.wallet-option-icon.brave {
    background: linear-gradient(135deg, #fb542b, #ff7654);
}

.wallet-option-icon.metamask {
    background: linear-gradient(135deg, #e2761b, #f5841f);
}

.wallet-option-icon.coinbase {
    background: linear-gradient(135deg, #0052ff, #2e7cf6);
}

.wallet-option-icon.walletconnect {
    background: linear-gradient(135deg, #3b99fc, #5fb4ff);
}

.wallet-option-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}

.wallet-option-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.wallet-option-badge {
    margin-left: auto;
    background: rgba(0, 230, 255, 0.15);
    border: 1px solid rgba(0, 230, 255, 0.3);
    border-radius: 999px;
    padding: 4px 10px;
    font-size: 0.7rem;
    color: var(--cyan);
    font-weight: 600;
    text-transform: uppercase;
}

/* ─── Footer ────────────────────────────────────────────────── */
footer {
    margin-top: 96px;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.875rem;
}

footer .footer-brand {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    font-size: 1rem;
}

/* ─── Privy Auth ───────────────────────────────────────────── */
#privy-auth-root {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: auto;
}

.privy-loading {
    width: 60px;
}

/* ─── Hero CTA ─────────────────────────────────────────────── */
#privy-hero-cta {
    margin-top: 32px;
    display: flex;
    justify-content: center;
}

.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--accent);
    color: white;
    border: none;
    border-radius: 999px;
    padding: 16px 40px;
    font-family: 'Inter', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    box-shadow: 0 6px 32px rgba(255, 61, 138, 0.45);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hero-cta-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 10px 48px rgba(255, 61, 138, 0.6);
}

.hero-cta-btn:active {
    transform: translateY(-1px) scale(1.01);
}

.hero-cta-icon {
    font-size: 1.2rem;
}

.hero-cta-connected {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 230, 255, 0.08);
    border: 1px solid rgba(0, 230, 255, 0.25);
    border-radius: 999px;
    padding: 12px 28px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--cyan);
}

.hero-cta-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00e676;
    box-shadow: 0 0 8px rgba(0, 230, 118, 0.6);
    flex-shrink: 0;
}

.hero-cta-addr {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.82rem;
    font-weight: 500;
    opacity: 0.7;
}

@media (max-width: 768px) {
    .hero-cta-btn {
        padding: 14px 32px;
        font-size: 0.95rem;
    }

    .hero-cta-connected {
        padding: 10px 20px;
        font-size: 0.85rem;
    }

    .hero-cta-addr {
        display: none;
    }
}

.privy-btn {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
    letter-spacing: 0.02em;
}

.privy-btn:hover {
    transform: translateY(-1px);
}

.privy-btn:active {
    transform: translateY(0);
}

.privy-btn-connect {
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    font-size: 0.8rem;
    box-shadow: 0 2px 12px rgba(255, 61, 138, 0.35);
}

.privy-btn-connect:hover {
    box-shadow: 0 4px 20px rgba(255, 61, 138, 0.5);
}

.privy-auth-info {
    display: flex;
    align-items: center;
    gap: 6px;
}

.privy-wallet-address {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--cyan);
    background: rgba(0, 230, 255, 0.08);
    border: 1px solid rgba(0, 230, 255, 0.2);
    padding: 4px 10px;
    border-radius: 999px;
    letter-spacing: 0.02em;
}

.privy-btn-disconnect {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border);
    color: var(--text-muted);
    padding: 4px 10px;
    font-size: 0.75rem;
}

.privy-btn-disconnect:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--text);
}

/* ─── Paywall ──────────────────────────────────────────────── */
.paywall-protected {
    position: relative;
}

.paywall-protected .gallery {
    filter: blur(16px) saturate(0.4);
    pointer-events: none;
    user-select: none;
    transition: filter 0.6s ease;
}

body.privy-paid .paywall-protected .gallery {
    filter: none;
    pointer-events: auto;
    user-select: auto;
}

.paywall-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 7, 32, 0.5);
    backdrop-filter: blur(4px);
    border-radius: var(--radius-md);
}

body.privy-paid .paywall-overlay {
    display: none;
}

.paywall-content {
    text-align: center;
    padding: 48px 32px;
    background: rgba(15, 7, 32, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    max-width: 420px;
    width: 90%;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.paywall-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    animation: glowPulse 3s ease-in-out infinite;
}

.paywall-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: var(--accent);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.paywall-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.privy-btn-unlock {
    background: var(--accent);
    color: white;
    padding: 14px 32px;
    font-size: 0.95rem;
    border-radius: 999px;
    box-shadow: 0 4px 24px rgba(255, 61, 138, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.privy-btn-unlock:hover {
    box-shadow: 0 6px 32px rgba(255, 61, 138, 0.6);
    transform: translateY(-2px);
}

/* ─── Payment UI ───────────────────────────────────────────── */
.paywall-payment {
    max-width: 480px;
}

.paywall-price {
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--cyan);
    background: rgba(0, 230, 255, 0.08);
    border: 1px solid rgba(0, 230, 255, 0.25);
    padding: 8px 28px;
    border-radius: 999px;
    margin-bottom: 24px;
    text-shadow: 0 0 20px rgba(0, 230, 255, 0.3);
}

.paywall-chain-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
}

.chain-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}

.chain-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
}

.chain-btn:hover:not(.disabled) {
    background: rgba(255, 61, 138, 0.12);
    border-color: var(--border-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 61, 138, 0.15);
}

.chain-btn.disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.chain-icon {
    font-size: 1.2rem;
}

.chain-name {
    font-size: 0.85rem;
}

.payment-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--cyan);
    font-size: 0.88rem;
    font-weight: 500;
    padding: 10px 0;
}

.payment-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(0, 230, 255, 0.3);
    border-top-color: var(--cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.payment-error {
    color: #ff4d6a;
    font-size: 0.85rem;
    padding: 10px 0;
    font-weight: 500;
}

@media (max-width: 768px) {
    .privy-wallet-address {
        display: none;
    }

    .privy-btn-connect,
    .privy-btn-disconnect {
        padding: 6px 12px;
        font-size: 0.78rem;
    }

    .paywall-content {
        padding: 36px 24px;
    }

    .paywall-title {
        font-size: 1.25rem;
    }

    .chain-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .chain-btn {
        padding: 10px 12px;
    }

    .paywall-price {
        font-size: 1.4rem;
        padding: 6px 20px;
    }
}

/* ─── Animations ────────────────────────────────────────────── */
@keyframes glowPulse {
    0%, 100% { filter: drop-shadow(0 0 6px rgba(255, 61, 138, 0.25)); }
    50%       { filter: drop-shadow(0 0 14px rgba(196, 113, 237, 0.5)); }
}

@keyframes bounce {
    0%, 60%, 100% { transform: translateY(0); }
    30%            { transform: translateY(-8px); }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─── Responsive ────────────────────────────────────────────── */
@media (max-width: 768px) {
    :root { --nav-h: auto; }

    .container { padding: 0 16px 60px; }

    nav {
        height: auto;
        margin-bottom: 40px;
        padding: 6px 0;
    }

    .nav-inner {
        flex-wrap: wrap;
        gap: 4px 8px;
        padding: 4px 16px;
    }

    .nav-brand {
        order: 1;
        flex-shrink: 0;
    }

    #walletContainer {
        order: 2;
        margin-left: auto;
        flex-shrink: 0;
    }

    nav ul {
        order: 3;
        flex-basis: 100%;
        justify-content: center;
        gap: 2px;
        padding-bottom: 2px;
    }

    .nav-brand span:last-child { display: none; }

    nav a {
        padding: 5px 8px;
        font-size: 0.78rem;
    }

    .privy-btn-connect {
        padding: 5px 10px;
        font-size: 0.72rem;
    }

    .privy-btn-disconnect {
        padding: 4px 8px;
        font-size: 0.7rem;
    }

    .chatbot-container {
        width: calc(100vw - 40px);
        height: 420px;
        bottom: 88px;
        right: 20px;
    }

    .chatbot-toggle {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .wallet-btn {
        padding: 6px 12px;
        font-size: 0.8rem;
    }

    .wallet-btn span:not(.wallet-icon) {
        display: none;
    }

    .wallet-address {
        padding: 4px 6px 4px 10px;
    }

    .wallet-address-text {
        font-size: 0.75rem;
    }

    .wallet-address-badge {
        display: none;
    }

    .wallet-modal-content {
        padding: 24px 20px;
        margin: 0 16px;
    }
}
