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

@font-face {
    font-family: 'Geist';
    src: url('/Geist-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #141419;
    --bg-tertiary: #1a1a24;
    --text-primary: #ffffff;
    --text-secondary: #a0a0ab;
    --text-tertiary: #6b6b78;
    --accent-purple: #1cf4a3;
    --accent-pink: #EC4899;
    --accent-blue: #3B82F6;
    --border-color: rgba(255, 255, 255, 0.08);
    --hover-bg: rgba(255, 255, 255, 0.05);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Decorative WebGL Background */
.decorative-bg {
    position: absolute;
    top: 0;
    left: 16px;
    width: calc(100% - 32px);
    height: calc(100vh - 16px);
    z-index: 2;
    pointer-events: none;
    opacity: 0.6;
    border-radius: 0 0 8px 8px;
    overflow: hidden;
}

/* Hide decorative background when voice room is active */
body:has(.voice-room:not(.hidden)) .decorative-bg {
    display: none;
}

/* Scroll Indicator */
.scroll-indicator {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    cursor: pointer;
    animation: bounce 2s infinite;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.scroll-indicator.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Hide scroll indicator when voice room is active */
body:has(.voice-room:not(.hidden)) .scroll-indicator {
    display: none;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: #0a0a0f;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-content {
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    display: block;
    border-radius: 6px;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 700;
    color: white;
}

.header-search-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    max-width: 500px;
    width: 100%;
}

.header-search-input {
    width: 100%;
    padding: 0.625rem 1rem 0.625rem 2.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 400;
    outline: none;
    transition: all 0.2s ease;
}

.header-search-input:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(28, 244, 163, 0.1);
}

.header-search-input::placeholder {
    color: var(--text-tertiary);
}

.header-search-container .search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-tertiary);
    pointer-events: none;
}

.header-search-results {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.header-search-results.hidden {
    display: none;
}

.header-search-results::-webkit-scrollbar {
    width: 8px;
}

.header-search-results::-webkit-scrollbar-track {
    background: transparent;
}

.header-search-results::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.header-search-results::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-wallet {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-wallet:hover {
    background: var(--hover-bg);
    border-color: rgba(28, 244, 163, 0.4);
    transform: translateY(-1px);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Live Trade Mode Toggle */
.btn-trade-mode {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-trade-mode:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
}

.btn-trade-mode:disabled::after {
    content: 'Connect wallet to enable';
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 1000;
}

.btn-trade-mode:disabled:hover::after {
    opacity: 1;
}

.btn-trade-mode:not(:disabled):hover {
    background: var(--hover-bg);
    border-color: rgba(28, 244, 163, 0.3);
}

.btn-trade-mode.active {
    background: rgba(28, 244, 163, 0.1);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

.trade-mode-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--text-tertiary);
    transition: all 0.3s ease;
}

.btn-trade-mode.active .trade-mode-indicator {
    background: var(--accent-purple);
    box-shadow: 0 0 8px var(--accent-purple);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.btn-wallet.connected {
    background: rgba(28, 244, 163, 0.2);
    border-color: var(--accent-purple);
}

/* Twitter Button */
.btn-twitter {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-twitter:hover {
    background: var(--hover-bg);
    border-color: rgba(28, 244, 163, 0.4);
    transform: translateY(-1px);
}

.btn-twitter.connected {
    background: rgba(28, 244, 163, 0.2);
    border-color: var(--accent-purple);
}

.btn-twitter svg {
    fill: currentColor;
}

/* Main */
.main {
    position: relative;
    padding-top: 5rem;
    min-height: 100vh;
    overflow: visible;
}

/* Landing Page */
.landing-page {
    max-width: none;
    width: 100%;
    margin: 0;
    padding: 0;
    position: relative;
    overflow: visible;
}

/* Full Screen Hero with Orb */
.hero-fullscreen {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-bottom: 10vh;
}

.hero-fullscreen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 16px;
    width: calc(100% - 32px);
    height: calc(100vh - 16px);
    z-index: 1;
    background: linear-gradient(181deg, #0a0a0f, #062820, #0a0a0f);
    background-size: 400% 400%;
    border-radius: 0 0 8px 8px;
    -webkit-animation: AnimationName 16s ease infinite;
    -moz-animation: AnimationName 16s ease infinite;
    -o-animation: AnimationName 16s ease infinite;
    animation: AnimationName 16s ease infinite;
}

@-webkit-keyframes AnimationName {
    0% { background-position: 52% 0%; }
    50% { background-position: 49% 100%; }
    100% { background-position: 52% 0%; }
}

@-moz-keyframes AnimationName {
    0% { background-position: 52% 0%; }
    50% { background-position: 49% 100%; }
    100% { background-position: 52% 0%; }
}

@-o-keyframes AnimationName {
    0% { background-position: 52% 0%; }
    50% { background-position: 49% 100%; }
    100% { background-position: 52% 0%; }
}

@keyframes AnimationName {
    0% { background-position: 52% 0%; }
    50% { background-position: 49% 100%; }
    100% { background-position: 52% 0%; }
}

.hero-title-fullscreen {
    font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 9.7rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    color: white;
    position: relative;
    z-index: 3;
    text-shadow: 
        0 0 60px rgba(0, 0, 0, 1),
        0 0 100px rgba(0, 0, 0, 0.9),
        0 8px 40px rgba(0, 0, 0, 1),
        0 4px 20px rgba(0, 0, 0, 1);
}

.hero-subtitle-fullscreen {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    position: relative;
    z-index: 3;
    background: transparent;
    padding: 0;
    text-shadow: 
        0 0 60px rgba(0, 0, 0, 1),
        0 0 100px rgba(0, 0, 0, 0.9),
        0 8px 40px rgba(0, 0, 0, 1),
        0 4px 20px rgba(0, 0, 0, 1);
}

/* Content Below the Fold */
.content-below {
    position: relative;
    z-index: 1;
    background: var(--bg-primary);
    max-width: 2000px;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 100px; /* Space for fixed header since hero is removed */
}

/* Hero Section Wrapper */
.hero-section-wrapper {
    position: relative;
    padding: 2rem 0 4rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
}

.hero-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 2rem;
    border-radius: 12px;
}

.hero-title {
    font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.7) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--text-secondary);
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 1.25rem;
}

.hero-cta-btn {
    background: var(--accent-purple);
    color: #000000;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.7rem 1.65rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(28, 244, 163, 0.3);
}

.hero-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(28, 244, 163, 0.5);
}

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

/* Hero Video */
.hero-video-container {
    width: 100%;
    max-width: 1400px;
    margin: 3rem auto 0;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(28, 244, 163, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-video {
    width: 100%;
    height: auto;
    display: block;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* Feature Section - Trench Mode */
.feature-section {
    padding: 6rem 2rem;
    margin: 4rem auto;
    max-width: 1400px;
    position: relative;
}

.trench-mode-section {
    background: linear-gradient(135deg, rgba(28, 244, 163, 0.03) 0%, transparent 50%, rgba(28, 244, 163, 0.02) 100%);
    border-radius: 24px;
    border: 1px solid rgba(28, 244, 163, 0.1);
    overflow: hidden;
}

.feature-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.feature-text {
    padding: 2rem;
    position: relative;
    min-height: 350px;
    display: flex;
    align-items: center;
}

.feature-mode-text {
    position: absolute;
    top: 50%;
    left: 2rem;
    right: 2rem;
    transform: translateY(-50%) translateX(0);
    opacity: 1;
    transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-mode-text.slide-out-left {
    opacity: 0;
    transform: translateY(-50%) translateX(-50px);
}

.feature-mode-text.slide-in-right {
    opacity: 0;
    transform: translateY(-50%) translateX(50px);
}

.feature-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(28, 244, 163, 0.1);
    border: 1px solid rgba(28, 244, 163, 0.2);
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.feature-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.feature-badge span {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent-purple);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-title {
    font-family: 'Geist', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-description {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.feature-benefits {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.feature-benefit {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.benefit-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(28, 244, 163, 0.1);
    border: 1px solid rgba(28, 244, 163, 0.2);
    border-radius: 12px;
    color: var(--accent-purple);
    flex-shrink: 0;
}

.feature-benefit span {
    font-size: 1rem;
    color: var(--text-primary);
    font-weight: 500;
}

.feature-visual {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.trench-3d-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.feature-visual-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    background: 
        radial-gradient(circle at 50% 50%, transparent 30%, rgba(10, 10, 15, 0.5) 100%);
}

/* Mode Selector Bubbles */
.mode-selector {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 1.5rem;
}

.mode-bubble {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.mode-bubble:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

.mode-bubble.active {
    background: var(--accent-purple);
    box-shadow: 0 0 10px rgba(28, 244, 163, 0.5);
    transform: scale(1.2);
}

/* Token Section */
.token-section {
    padding: 5rem 3rem;
    margin: 4rem auto;
    max-width: 1400px;
    position: relative;
    background: linear-gradient(135deg, rgba(28, 244, 163, 0.03) 0%, transparent 30%, rgba(28, 244, 163, 0.02) 100%);
    border-radius: 24px;
    border: 1px solid rgba(28, 244, 163, 0.1);
    overflow: hidden;
}

.token-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(28, 244, 163, 0.4), transparent);
}

/* Token Header */
.token-header {
    text-align: center;
    margin-bottom: 4rem;
}

.token-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(28, 244, 163, 0.1);
    border: 1px solid rgba(28, 244, 163, 0.25);
    border-radius: 50px;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--accent-purple);
}

.token-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.token-title {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.token-highlight {
    color: var(--accent-purple);
    font-weight: 700;
}

.token-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Token Main Grid */
.token-main {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 4rem;
}

/* Token Visual with Orbits */
.token-visual-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

.token-orbit {
    position: absolute;
    width: 300px;
    height: 300px;
}

.orbit-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(28, 244, 163, 0.1);
    border-radius: 50%;
}

.orbit-ring-1 {
    width: 200px;
    height: 200px;
    animation: orbitRotate 20s linear infinite;
}

.orbit-ring-2 {
    width: 260px;
    height: 260px;
    animation: orbitRotate 30s linear infinite reverse;
}

.orbit-ring-3 {
    width: 320px;
    height: 320px;
    border-style: dashed;
    animation: orbitRotate 40s linear infinite;
}

@keyframes orbitRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.orbit-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--accent-purple);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(28, 244, 163, 0.6);
}

.orbit-particle-1 {
    top: 50%;
    left: 50%;
    animation: orbitParticle1 20s linear infinite;
}

.orbit-particle-2 {
    animation: orbitParticle2 30s linear infinite;
}

.orbit-particle-3 {
    animation: orbitParticle3 40s linear infinite;
}

@keyframes orbitParticle1 {
    from { transform: rotate(0deg) translateX(100px) rotate(0deg); }
    to { transform: rotate(360deg) translateX(100px) rotate(-360deg); }
}

@keyframes orbitParticle2 {
    from { transform: rotate(120deg) translateX(130px) rotate(-120deg); }
    to { transform: rotate(480deg) translateX(130px) rotate(-480deg); }
}

@keyframes orbitParticle3 {
    from { transform: rotate(240deg) translateX(160px) rotate(-240deg); }
    to { transform: rotate(600deg) translateX(160px) rotate(-600deg); }
}

.token-center {
    position: relative;
    z-index: 2;
}

.token-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(28, 244, 163, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: tokenPulse 3s ease-in-out infinite;
}

@keyframes tokenPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.token-icon-wrapper {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, rgba(28, 244, 163, 0.15), rgba(28, 244, 163, 0.05));
    border: 2px solid rgba(28, 244, 163, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: 
        0 0 50px rgba(28, 244, 163, 0.25),
        inset 0 0 30px rgba(28, 244, 163, 0.1);
}

.token-icon-large {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.token-ticker-display {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent-purple);
    margin-top: 1.5rem;
    letter-spacing: 0.1em;
    text-shadow: 0 0 30px rgba(28, 244, 163, 0.4);
    text-align: center;
}

/* Token Description Box */
.token-description-box {
    padding: 2.5rem;
    background: rgba(28, 244, 163, 0.03);
    border: 1px solid rgba(28, 244, 163, 0.1);
    border-radius: 20px;
}

.token-desc-title {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.token-desc-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.token-highlight-box {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.25rem;
    background: rgba(28, 244, 163, 0.08);
    border-left: 3px solid var(--accent-purple);
    border-radius: 0 12px 12px 0;
}

.highlight-icon {
    color: var(--accent-purple);
    flex-shrink: 0;
}

.token-highlight-box p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.token-highlight-box strong {
    color: var(--accent-purple);
}

/* Token Cards */
.token-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.token-card {
    background: rgba(28, 244, 163, 0.03);
    border: 1px solid rgba(28, 244, 163, 0.1);
    border-radius: 16px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.token-card:hover {
    background: rgba(28, 244, 163, 0.06);
    border-color: rgba(28, 244, 163, 0.25);
    transform: translateY(-4px);
    box-shadow: 0 10px 40px rgba(28, 244, 163, 0.1);
}

.token-card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: rgba(28, 244, 163, 0.1);
    border: 1px solid rgba(28, 244, 163, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-purple);
}

.token-card-value {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--accent-purple);
    margin-bottom: 0.25rem;
}

.token-card-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.token-card-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Revenue Sources */
.token-revenue {
    text-align: center;
}

.token-revenue-title {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 1.5rem;
}

.revenue-sources {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.revenue-source {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(28, 244, 163, 0.05);
    border: 1px solid rgba(28, 244, 163, 0.15);
    border-radius: 50px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.revenue-source:hover {
    background: rgba(28, 244, 163, 0.1);
    border-color: rgba(28, 244, 163, 0.3);
    color: white;
}

.revenue-icon {
    color: var(--accent-purple);
    display: flex;
}

/* Token Section Responsive */
@media (max-width: 1200px) {
    .token-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .token-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .token-visual-container {
        order: -1;
        min-height: 300px;
    }
}

@media (max-width: 768px) {
    .token-section {
        padding: 3rem 1.5rem;
        margin: 2rem 1rem;
    }
    
    .token-title {
        font-size: 2.5rem;
    }
    
    .token-cards {
        grid-template-columns: 1fr;
    }
    
    .token-icon-wrapper {
        width: 100px;
        height: 100px;
    }
    
    .token-icon-large {
        width: 60px;
        height: 60px;
    }
    
    .revenue-sources {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 1024px) {
    .feature-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .feature-visual {
        height: 400px;
        order: -1;
    }
    
    .feature-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .feature-section {
        padding: 3rem 1.5rem;
        margin: 2rem 1rem;
    }
    
    .feature-title {
        font-size: 2.5rem;
    }
    
    .feature-description {
        font-size: 1.1rem;
    }
    
    .feature-visual {
        height: 300px;
    }
}

/* Search Section */
.search-section {
    max-width: 700px;
    margin: 1.5rem auto 3rem auto;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.search-box:focus-within {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 4px rgba(28, 244, 163, 0.1);
}

.search-icon {
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 400;
}

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

.btn-search {
    padding: 0.625rem 1.5rem;
    background: var(--accent-purple);
    border: none;
    border-radius: 10px;
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-search:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(28, 244, 163, 0.3);
}

.search-results-popup {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    z-index: 100;
}

.search-results-popup.hidden {
    display: none;
}

.search-results-popup::-webkit-scrollbar {
    width: 8px;
}

.search-results-popup::-webkit-scrollbar-track {
    background: transparent;
}

.search-results-popup::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.search-results-popup::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Rooms Section */
.rooms-section {
    margin-top: 0;
    margin-bottom: 4rem;
}

.rooms-columns {
    display: grid;
    grid-template-columns: repeat(3, 2.6fr);
    gap: 1rem;
}

.rooms-column {
    display: flex;
    flex-direction: column;
}

.rooms-panel {
    display: flex;
    flex-direction: column;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    overflow: hidden;
}

.section-title {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    padding: 1.3rem 1.625rem;
    border-bottom: 1px solid var(--border-color);
    margin: 0;
    flex-shrink: 0;
}

.rooms-list {
    display: flex;
    flex-direction: column;
    max-height: 900px;
    overflow-y: auto;
}

.rooms-list::-webkit-scrollbar {
    width: 8px;
}

.rooms-list::-webkit-scrollbar-track {
    background: transparent;
}

.rooms-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.rooms-list::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

.active-room-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: transparent;
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 1.3rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.active-room-item:last-child {
    border-bottom: none;
}

.active-room-item:hover {
    background: var(--hover-bg);
}

.active-room-icon {
    position: relative;
    width: 52px;
    height: 52px;
    border-radius: 5px;
    background: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.45rem;
    color: white;
    flex-shrink: 0;
    overflow: visible;
    padding: 3px;
    box-sizing: content-box;
}

.active-room-icon.is-pump {
    border: 1.5px solid var(--accent-purple);
    box-shadow: 0 0 8px rgba(28, 244, 163, 0.4);
}

.active-room-pump-badge {
    position: absolute;
    bottom: -4px;
    right: -4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1.5px solid var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    box-shadow: 0 0 5px rgba(28, 244, 163, 0.5);
}

.active-room-pump-badge img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.active-room-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.active-room-header {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.active-room-ticker {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
}

.active-room-name {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.14rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.active-room-badges {
    display: flex;
    align-items: center;
    gap: 0.65rem;
}

.active-room-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    width: 18px;
    height: 18px;
}

.active-room-badge:hover {
    opacity: 0.7;
}

.active-room-badge svg {
    display: block;
    width: 18px;
    height: 18px;
}

.active-room-badge img {
    height: 18px;
    width: auto;
}

.active-room-status {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.5rem;
}

.active-room-live {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.325rem 0.8rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 6px;
    font-size: 0.975rem;
    font-weight: 500;
    color: #22c55e;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.active-room-users {
    color: var(--text-secondary);
    font-size: 1.14rem;
    font-weight: 500;
}


/* Voice Room */
.voice-room {
    position: fixed;
    top: 5rem;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

.voice-room-body {
    flex: 1;
    display: flex;
    overflow: hidden;
    position: relative;
}

.voice-room-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-color);
    z-index: 10;
}

.room-header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    cursor: pointer;
    transition: background 0.2s ease;
    border-bottom: 1px solid var(--border-color);
}

.search-result-item:last-child {
    border-bottom: none;
}

.search-result-item:hover {
    background: var(--hover-bg);
}

.search-result-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--accent-purple);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
    flex-shrink: 0;
    overflow: hidden;
}

.search-result-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result-info {
    flex: 1;
    min-width: 0;
}

.search-result-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.125rem;
}

.search-result-address {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
    font-family: 'Courier New', monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.search-result-badge {
    padding: 0.25rem 0.625rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 500;
    color: #22c55e;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.search-result-badge.pump-badge-label {
    background: rgba(28, 244, 163, 0.1);
    border: 1px solid rgba(28, 244, 163, 0.3);
    color: var(--accent-purple);
}

.btn-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-back:hover {
    background: var(--hover-bg);
    border-color: var(--accent-purple);
}

.room-token-display {
    display: flex;
    align-items: flex-start;
    gap: 0.875rem;
    padding-top: 0.25rem;
}

.room-token-icon-wrapper {
    position: relative;
    flex-shrink: 0;
    border-radius: 6px;
}

.room-token-icon-wrapper.is-pump {
    padding: 4px;
    background: #0a0a0f;
    border: 1.5px solid #1cf4a3;
    border-radius: 8px;
}

.room-token-icon {
    width: 48px;
    height: 48px;
    border-radius: 5px;
    background: #0a0a0f;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
    color: white;
    overflow: hidden;
    box-sizing: border-box;
}

.room-token-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 5px;
}

.pump-badge {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid #1cf4a3;
    background: #0a0a0f;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.pump-badge.hidden {
    display: none;
}

.room-token-info {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.room-token-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.room-token-ticker {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.room-token-name-wrapper {
    display: flex;
    align-items: center;
    gap: 0.375rem;
}

.room-token-name {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.9625rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.room-token-copy {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    padding: 0;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.room-token-copy:hover {
    opacity: 1;
    color: var(--text-primary);
}

.room-token-copy:active {
    transform: scale(0.9);
}

.room-token-copy svg {
    display: block;
}

.room-token-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-height: 18px;
}

.room-token-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.room-token-badge:hover {
    opacity: 0.7;
}

.room-token-badge img {
    height: 16px;
    width: auto;
    display: block;
}

.room-token-badge svg {
    display: block;
    width: 16px;
    height: 16px;
}

.room-token-search-badge svg {
    display: block;
    width: 16px;
    height: 16px;
}

.room-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-count-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

/* User Info Popup */
.user-info-popup {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    align-items: center;
    background: rgba(20, 20, 25, 0.98);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 100;
    animation: slideIn 0.2s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.user-info-popup.hidden {
    display: none;
}

.user-info-section {
    padding: 0.75rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.25rem;
}

.user-info-avatar {
    padding: 0.75rem 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1cf4a3 0%, #0ea371 100%);
    font-size: 0.875rem;
    font-weight: 600;
    color: #000;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-info-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
}

.user-info-details {
    min-width: 80px;
}

.user-info-wallet {
    min-width: 120px;
}

.user-info-label {
    font-size: 0.7rem;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

.user-info-value {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
    white-space: nowrap;
}

.user-wallet-address {
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 500;
}

.user-info-x-section {
    display: flex;
    align-items: center;
}

.user-info-wallet-section.hidden,
.user-info-x-icon-section.hidden {
    display: none;
}

.user-info-wallet-section,
.user-info-x-icon-section {
    display: flex;
    align-items: center;
}

.user-info-x-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 0.75rem;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.user-info-x-icon-link:hover {
    color: #1cf4a3;
}

.user-info-x-icon-link svg {
    width: 18px;
    height: 18px;
}

/* Mute User Button */
.user-info-mute {
    padding: 0.5rem 0.75rem;
    display: flex;
    align-items: center;
}

.btn-mute-user {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-mute-user:hover {
    color: #ffffff;
}

.btn-mute-user.muted {
    color: #ef4444;
}

.btn-mute-user svg {
    width: 18px;
    height: 18px;
}

/* Address List Sidebar */
.address-list-sidebar {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 350px;
    max-height: calc(100% - 2rem);
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10;
}

.address-list-sidebar.collapsed {
    transform: translateX(calc(100% + 1rem));
    opacity: 0;
    pointer-events: none;
}

.address-list-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.address-list-header h3 {
    font-family: 'Geist', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.address-list-collapse {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.address-list-collapse:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.address-list-collapse svg {
    transform: rotate(-90deg);
    transition: transform 0.2s ease;
}

.address-list-toggle {
    position: absolute;
    top: 1rem;
    right: 0;
    width: 40px;
    height: 48px;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid var(--border-color);
    border-right: none;
    border-radius: 12px 0 0 12px;
    color: var(--text-primary);
    cursor: pointer;
    backdrop-filter: blur(20px);
    box-shadow: -4px 0 16px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 9;
}

.address-list-toggle:hover {
    background: var(--hover-bg);
    border-color: var(--accent-purple);
    transform: translateX(-4px);
}

.address-list-toggle.hidden {
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
}

.address-list-content {
    flex: 1;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.address-list-content::-webkit-scrollbar {
    width: 8px;
}

.address-list-content::-webkit-scrollbar-track {
    background: transparent;
}

.address-list-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.address-list-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

.address-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    transition: background 0.2s ease;
    cursor: pointer;
}

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

.address-item-rank {
    font-family: 'Geist', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-tertiary);
    min-width: 32px;
}

.address-item-mute {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: rgba(255, 255, 255, 0.6);
}

.address-item-mute:hover {
    color: rgba(255, 255, 255, 0.9);
}

.address-item-mute svg {
    width: 16px;
    height: 16px;
}

.address-item-mute.muted {
    color: #ef4444;
}

.address-item-mute.muted:hover {
    color: #dc2626;
}

.address-item-info {
    flex: 1;
    min-width: 0;
}

.address-item-address {
    font-family: 'Geist', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.address-item-share {
    font-family: 'Geist', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    min-width: 60px;
    text-align: right;
}

/* Bubble Canvas */
.bubble-canvas {
    flex: 1;
    position: relative;
    overflow: hidden;
    background: 
        radial-gradient(circle at 20% 30%, rgba(28, 244, 163, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(28, 244, 163, 0.03) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(59, 130, 246, 0.03) 0%, transparent 50%),
        linear-gradient(180deg, #0a0a0f 0%, #000000 100%);
    cursor: grab;
}

.bubble-canvas:active {
    cursor: grabbing;
}

#canvas, #canvasHolders, #canvasWhales {
    width: 100%;
    height: 100%;
    display: block;
}

/* Tier Switcher Toolbar */
.tier-toolbar {
    position: absolute;
    top: 16px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    gap: 4px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 12px;
    backdrop-filter: blur(12px);
}

.tier-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tier-btn:hover:not(.locked) {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.tier-btn.active {
    background: rgba(28, 244, 163, 0.2);
    color: var(--accent-purple);
}

.tier-btn.locked {
    opacity: 0.5;
    cursor: not-allowed;
}

.tier-btn-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
}

.tier-btn-name {
    font-family: 'Geist', sans-serif;
}

.tier-btn-lock {
    width: 12px;
    height: 12px;
    margin-left: 4px;
    opacity: 0.7;
    flex-shrink: 0;
}

.tier-btn.unlocked .tier-btn-lock {
    display: none;
}

/* Chat Sidebar */
.chat-sidebar {
    position: absolute;
    top: 1rem;
    left: 1rem;
    width: 350px;
    max-height: calc(100% - 2rem);
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, opacity 0.3s ease;
    z-index: 10;
}

.chat-sidebar.minimized {
    transform: translateX(calc(-100% - 1rem));
    opacity: 0;
    pointer-events: none;
}

.chat-sidebar-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.chat-sidebar-header h3 {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.chat-sidebar-minimize {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.2s ease;
}

.chat-sidebar-minimize:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    min-height: 200px; /* Ensure minimum height so messages are visible */
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.15);
}

.chat-message {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    transition: background 0.2s;
}

.chat-message:hover {
    background: rgba(255, 255, 255, 0.05);
}

.chat-message-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chat-message-username {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.875rem;
}

.chat-message-time {
    font-size: 0.75rem;
    color: var(--text-tertiary);
}

.chat-message-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.chat-input-container {
    padding: 1rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-shrink: 0;
}

.chat-input {
    flex: 1;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem;
    color: var(--text-primary);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.2s ease;
}

.chat-input:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(28, 244, 163, 0.1);
}

.chat-input:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-send-btn {
    width: 40px;
    height: 40px;
    background: var(--accent-purple);
    border: none;
    border-radius: 8px;
    color: #000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.chat-send-btn:hover:not(:disabled) {
    background: rgba(28, 244, 163, 0.9);
    transform: scale(1.05);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.chat-cooldown-indicator {
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.1);
    border-top: 1px solid rgba(239, 68, 68, 0.2);
    text-align: center;
    font-size: 0.8rem;
    color: #ef4444;
    flex-shrink: 0;
}

.chat-cooldown-indicator.hidden {
    display: none;
}

.chat-sidebar-toggle {
    position: absolute;
    top: 1rem;
    left: 0;
    width: 40px;
    height: 48px;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid var(--border-color);
    border-left: none;
    border-radius: 0 12px 12px 0;
    color: var(--text-primary);
    cursor: pointer;
    backdrop-filter: blur(20px);
    box-shadow: 4px 0 16px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 9;
}

.chat-sidebar-toggle:hover {
    background: var(--hover-bg);
    border-color: var(--accent-purple);
    transform: translateX(4px);
}

.chat-sidebar-toggle.hidden {
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Chat sidebar - full width on mobile, bottom sheet style */
    .chat-sidebar {
        position: fixed;
        top: auto;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        max-height: 60vh;
        border-radius: 20px 20px 0 0;
        border-left: none;
        border-right: none;
        border-bottom: none;
    }
    
    .chat-sidebar.minimized {
        transform: translateY(calc(100% - 60px));
        opacity: 1;
        pointer-events: auto;
    }
    
    .chat-sidebar.minimized .chat-messages,
    .chat-sidebar.minimized .chat-input-container {
        display: none;
    }
    
    .chat-sidebar-toggle {
        position: fixed;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 60px;
        height: 60px;
        border-radius: 50% 50% 0 0;
        border: 1px solid var(--border-color);
        border-bottom: none;
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
    }
    
    .chat-sidebar-toggle.hidden {
        transform: translateX(-50%) translateY(100%);
    }
    
    /* Voice room controls - stack on mobile */
    .voice-room-controls {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .voice-controls-left,
    .voice-controls-right {
        width: 100%;
        justify-content: center;
    }
    
    /* Header adjustments */
    .header {
        padding: 0.75rem 1rem;
    }
    
    .header-left {
        gap: 0.5rem;
    }
    
    .logo-text {
        font-size: 1.25rem;
    }
    
    /* Room header */
    .voice-room-header {
        padding: 0.75rem 1rem;
        flex-wrap: wrap;
    }
    
    .room-header-left {
        flex: 1;
        min-width: 0;
    }
    
    .room-token-display {
        gap: 0.5rem;
    }
    
    /* Address list sidebar - full width on mobile */
    .address-list-sidebar {
        width: 100%;
        max-width: 100%;
        right: 0;
        left: 0;
        border-radius: 0;
    }
    
    .address-list-sidebar.collapsed {
        transform: translateY(calc(-100% + 60px));
    }
    
    /* Tier toolbar - smaller on mobile */
    .tier-toolbar {
        top: 8px;
        padding: 4px;
        gap: 2px;
    }
    
    .tier-btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    /* Chat messages - adjust padding */
    .chat-messages {
        padding: 0.75rem;
        min-height: 150px;
    }
    
    /* Hero section adjustments */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    /* Search box */
    .search-box {
        padding: 0.75rem;
    }
    
    /* Room cards */
    .active-room-item {
        padding: 1rem;
    }
    
    /* User info popup - full width on mobile */
    .user-info-popup {
        width: calc(100% - 2rem);
        max-width: 400px;
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .chat-sidebar {
        max-height: 70vh;
    }
    
    .voice-room-controls {
        padding: 0.75rem;
    }
    
    .btn-control {
        padding: 0.75rem 1rem;
        font-size: 0.875rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .room-token-ticker {
        font-size: 1.1rem;
    }
    
    .room-token-name {
        font-size: 0.9rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn-control,
    .chat-send-btn,
    .chat-sidebar-minimize,
    .address-list-collapse {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Prevent text selection on buttons */
    button {
        -webkit-tap-highlight-color: transparent;
        user-select: none;
    }
    
    /* Better scrolling on mobile */
    .chat-messages,
    .address-list-content {
        -webkit-overflow-scrolling: touch;
    }
}


/* Voice Room Controls */
.voice-room-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem 2rem;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--border-color);
    z-index: 10;
    position: relative;
}

.btn-control {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1.75rem;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-control:hover {
    background: var(--hover-bg);
    border-color: var(--accent-purple);
}

.btn-control-mute.muted {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

.btn-control-test {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: #22c55e;
}

.btn-control-test:hover {
    background: rgba(34, 197, 94, 0.2);
    border-color: rgba(34, 197, 94, 0.5);
}

/* Voice Effects "Coming Soon" tooltip */
.btn-control-effects {
    position: relative;
}

.btn-control-effects::after {
    content: 'Coming soon';
    position: absolute;
    bottom: -36px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.75rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    z-index: 1000;
}

.btn-control-effects:hover::after {
    opacity: 1;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: var(--text-secondary);
}

.volume-slider {
    width: 120px;
    height: 4px;
    border-radius: 2px;
    background: var(--bg-tertiary);
    outline: none;
    -webkit-appearance: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-purple);
    cursor: pointer;
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--accent-purple);
    cursor: pointer;
    border: none;
}

.volume-value {
    font-size: 0.875rem;
    font-weight: 500;
    min-width: 40px;
}

/* Voice Effects Container */
.voice-effects-container {
    position: relative;
    display: inline-block;
}

/* Voice Effects Menu */
.voice-effects-menu {
    position: absolute;
    bottom: 100%;
    left: 0;
    margin-bottom: 0.5rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    width: 180px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.5);
    z-index: 100;
    transition: opacity 0.2s, transform 0.2s;
    
    /* Hide scrollbar but allow scrolling */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

/* Hide scrollbar for Chrome/Safari/Opera */
.voice-effects-menu::-webkit-scrollbar {
    display: none;
}

.voice-effects-menu.hidden {
    opacity: 0;
    transform: translateY(10px);
    pointer-events: none;
}

.voice-effects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
}

.voice-effects-header h3 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.close-effects-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: all 0.2s;
}

.close-effects-btn:hover {
    background: var(--hover-bg);
    color: var(--text-primary);
}

.voice-effects-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.voice-effect-btn {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-tertiary);
    border: 2px solid transparent;
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    width: 100%;
}

.voice-effect-btn:hover {
    background: var(--hover-bg);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
}

.voice-effect-btn.active {
    background: rgba(28, 244, 163, 0.1);
    border-color: var(--accent-purple);
}

.effect-icon {
    font-size: 1.5rem;
    line-height: 1;
    min-width: 24px;
    text-align: center;
}

.effect-name {
    font-size: 0.875rem;
    color: var(--text-secondary);
    flex: 1;
}

.voice-effect-btn.active .effect-name {
    color: var(--accent-purple);
    font-weight: 600;
}

/* Stress Test Section */
.voice-effects-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.75rem 0;
}

.stress-test-section {
    padding-top: 0.5rem;
}

.stress-test-btn {
    background: rgba(239, 68, 68, 0.1) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
}

.stress-test-btn:hover {
    background: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
}

.stress-test-btn .effect-name {
    color: #ef4444 !important;
}

.stress-test-stats {
    margin-top: 0.75rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.stress-test-stats div {
    margin-bottom: 0.25rem;
}

.stress-test-stats span {
    color: var(--text-primary);
    font-weight: 600;
}

/* Utility */
.hidden {
    display: none !important;
}

/* Footer */
.site-footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 2rem;
    margin-top: 4rem;
    width: 100%;
}

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

.footer-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.footer-text {
    font-family: 'Geist', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.footer-right {
    display: flex;
    align-items: center;
}

.footer-x-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.footer-x-link:hover {
    background: rgba(28, 244, 163, 0.1);
    border-color: var(--accent-purple);
    color: var(--accent-purple);
}

/* Responsive */
@media (max-width: 1024px) {
    .rooms-columns {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    /* Hide search bar earlier to prevent overlap with Trench Mode button */
    .header-search-container {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-title-fullscreen {
        font-size: 3.08rem;
    }

    .hero-subtitle-fullscreen {
        font-size: 1.2rem;
        padding: 0.32rem 1.2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.35rem;
    }

    .header-content {
        gap: 1rem;
    }

    .room-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .room-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .voice-room-header {
        flex-wrap: wrap;
    }
}

/* Animations */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100px);
    }
}

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

.room-card, .token-item, .user-card {
    animation: fadeIn 0.3s ease;
}
