* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

:root {
    /* Futuristic Theme */
    --bg-primary: #0a0a0f;
    --bg-secondary: rgba(10, 10, 20, 0.8);
    --bg-card: rgba(15, 15, 30, 0.6);
    --bg-card-hover: rgba(20, 20, 40, 0.8);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.8);
    --text-muted: rgba(255, 255, 255, 0.6);
    --accent-purple: #a855f7;
    --accent-blue: #3b82f6;
    --accent-pink: #ec4899;
    --accent-orange: #f97316;
    --accent-cyan: #06b6d4;
    --border-color: rgba(255, 255, 255, 0.1);
    --hover-bg: rgba(30, 30, 50, 0.9);
    
    /* Neon glow colors */
    --glow-purple: 0 0 20px rgba(168, 85, 247, 0.5), 0 0 40px rgba(168, 85, 247, 0.3);
    --glow-blue: 0 0 20px rgba(59, 130, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.3);
    --glow-pink: 0 0 20px rgba(236, 72, 153, 0.5), 0 0 40px rgba(236, 72, 153, 0.3);
    --glow-orange: 0 0 20px rgba(249, 115, 22, 0.5), 0 0 40px rgba(249, 115, 22, 0.3);
    --glow-cyan: 0 0 20px rgba(6, 182, 212, 0.5), 0 0 40px rgba(6, 182, 212, 0.3);
}

body {
    font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    font-size: 16px;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
}

/* Starry background effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, white, transparent),
        radial-gradient(2px 2px at 60% 70%, white, transparent),
        radial-gradient(1px 1px at 50% 50%, white, transparent),
        radial-gradient(1px 1px at 80% 10%, white, transparent),
        radial-gradient(2px 2px at 90% 60%, white, transparent),
        radial-gradient(1px 1px at 33% 80%, white, transparent),
        radial-gradient(2px 2px at 10% 90%, white, transparent);
    background-size: 200% 200%;
    background-position: 0% 0%;
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

/* Abstract geometric lines */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(168, 85, 247, 0.05) 50%, transparent 70%),
        linear-gradient(-45deg, transparent 30%, rgba(59, 130, 246, 0.05) 50%, transparent 70%);
    background-size: 200px 200px;
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}

.app-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    z-index: 1;
}

/* Banner Container - Keep as is */
.banner-container {
    width: 100%;
    max-width: 100%;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    background: var(--bg-secondary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    aspect-ratio: 3 / 1;
    min-height: 200px;
    display: block;
}

.banner-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: center;
    border-radius: 16px;
}

/* Futuristic Header/Menu */
.header {
    background: rgba(15, 15, 30, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 30px;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
}

.logo-img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    border: 2px solid rgba(168, 85, 247, 0.5);
    box-shadow: var(--glow-purple);
}

.logo h1 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-primary);
    letter-spacing: -0.5px;
    background: linear-gradient(135deg, #ffffff 0%, rgba(168, 85, 247, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
    display: block;
}

.header-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.header-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.header-link:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(168, 85, 247, 0.5);
    color: var(--text-primary);
    box-shadow: var(--glow-purple);
}

.x-logo {
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
}

.header-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary, .btn-wallet {
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-secondary:hover, .btn-wallet:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
    transform: translateY(-2px);
}

.btn-wallet.connected {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--accent-blue);
    box-shadow: var(--glow-blue);
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1000;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Search Bar */
.search-filters {
    display: flex;
    gap: 16px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.search-bar {
    flex: 1;
    min-width: 0;
    position: relative;
    max-width: 100%;
}

.search-bar input {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: rgba(15, 15, 30, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.search-bar input:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
    background: rgba(15, 15, 30, 0.9);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-select {
    padding: 12px 16px;
    background: rgba(15, 15, 30, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:hover {
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
}

/* Token Links - Beautiful Styled Links */
.token-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.token-link {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--accent-blue);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: none;
    outline: none;
}

.token-link:hover,
.token-link:focus,
.token-link:active {
    background: rgba(59, 130, 246, 0.2);
    border-color: var(--accent-blue);
    color: var(--accent-blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    text-decoration: none;
}

.token-link .link-icon {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Shill Button Special Styling */
.token-link.shill-btn {
    background: rgba(236, 72, 153, 0.15) !important;
    border: 1px solid rgba(236, 72, 153, 0.3) !important;
    color: var(--accent-pink) !important;
}

.token-link.shill-btn:hover,
.token-link.shill-btn:focus,
.token-link.shill-btn:active {
    background: rgba(236, 72, 153, 0.25) !important;
    border-color: var(--accent-pink) !important;
    color: var(--accent-pink) !important;
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.4) !important;
    text-decoration: none;
}

/* DexScreener Link */
.token-link.token-link-dexscreener,
a.token-link-dexscreener {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
    color: #10b981 !important;
}

.token-link.token-link-dexscreener:hover,
.token-link.token-link-dexscreener:focus,
.token-link.token-link-dexscreener:active,
a.token-link-dexscreener:hover,
a.token-link-dexscreener:focus,
a.token-link-dexscreener:active {
    background: rgba(16, 185, 129, 0.2) !important;
    border-color: #10b981 !important;
    color: #10b981 !important;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3) !important;
    text-decoration: none;
}

/* Jupiter Link */
.token-link.token-link-jupiter,
a.token-link-jupiter {
    background: rgba(249, 115, 22, 0.1) !important;
    border: 1px solid rgba(249, 115, 22, 0.3) !important;
    color: var(--accent-orange) !important;
}

.token-link.token-link-jupiter:hover,
.token-link.token-link-jupiter:focus,
.token-link.token-link-jupiter:active,
a.token-link-jupiter:hover,
a.token-link-jupiter:focus,
a.token-link-jupiter:active {
    background: rgba(249, 115, 22, 0.2) !important;
    border-color: var(--accent-orange) !important;
    color: var(--accent-orange) !important;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3) !important;
    text-decoration: none;
}

/* Solscan Link */
.token-link.token-link-solscan,
a.token-link-solscan {
    background: rgba(168, 85, 247, 0.1) !important;
    border: 1px solid rgba(168, 85, 247, 0.3) !important;
    color: var(--accent-purple) !important;
}

.token-link.token-link-solscan:hover,
.token-link.token-link-solscan:focus,
.token-link.token-link-solscan:active,
a.token-link-solscan:hover,
a.token-link-solscan:focus,
a.token-link-solscan:active {
    background: rgba(168, 85, 247, 0.2) !important;
    border-color: var(--accent-purple) !important;
    color: var(--accent-purple) !important;
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.3) !important;
    text-decoration: none;
}

/* Pool Link */
.token-link.token-link-pool,
a.token-link-pool {
    background: rgba(6, 182, 212, 0.1) !important;
    border: 1px solid rgba(6, 182, 212, 0.3) !important;
    color: var(--accent-cyan) !important;
}

.token-link.token-link-pool:hover,
.token-link.token-link-pool:focus,
.token-link.token-link-pool:active,
a.token-link-pool:hover,
a.token-link-pool:focus,
a.token-link-pool:active {
    background: rgba(6, 182, 212, 0.2) !important;
    border-color: var(--accent-cyan) !important;
    color: var(--accent-cyan) !important;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3) !important;
    text-decoration: none;
}

/* Tokens Container - Futuristic Grid */
.tokens-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    width: 100%;
}

/* Futuristic Token Cards - Glassmorphism Style */
.token-card {
    background: rgba(15, 15, 30, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 200px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Random colored borders for cards */
.token-card:nth-child(4n+1) {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: var(--glow-purple);
}

.token-card:nth-child(4n+2) {
    border-color: rgba(59, 130, 246, 0.5);
    box-shadow: var(--glow-blue);
}

.token-card:nth-child(4n+3) {
    border-color: rgba(236, 72, 153, 0.5);
    box-shadow: var(--glow-pink);
}

.token-card:nth-child(4n+4) {
    border-color: rgba(249, 115, 22, 0.5);
    box-shadow: var(--glow-orange);
}

.token-card:hover {
    transform: translateY(-4px);
    background: rgba(20, 20, 40, 0.8);
    border-color: rgba(255, 255, 255, 0.3);
}

.token-card:nth-child(4n+1):hover {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.8), 0 0 60px rgba(168, 85, 247, 0.4);
}

.token-card:nth-child(4n+2):hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.8), 0 0 60px rgba(59, 130, 246, 0.4);
}

.token-card:nth-child(4n+3):hover {
    box-shadow: 0 0 30px rgba(236, 72, 153, 0.8), 0 0 60px rgba(236, 72, 153, 0.4);
}

.token-card:nth-child(4n+4):hover {
    box-shadow: 0 0 30px rgba(249, 115, 22, 0.8), 0 0 60px rgba(249, 115, 22, 0.4);
}

.token-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.token-info {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.token-logo-wrapper {
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
    visibility: visible !important;
    opacity: 1 !important;
}

.token-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.token-logo-fallback {
    font-size: 24px;
    color: var(--text-muted);
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.05);
    z-index: 1 !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Token Details Page Styles */
.token-details-container {
    width: 100%;
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 20px;
}

.token-details-card {
    background: rgba(15, 15, 30, 0.7);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    margin-bottom: 30px;
}

.token-detail-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    object-fit: cover;
    display: block;
}

.token-info h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.token-info .token-symbol {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.token-info .token-address {
    font-size: 14px;
    color: var(--text-muted);
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.token-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.token-stats .stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.token-stats .stat-label {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.token-stats .stat-value {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.token-stats .stat-value.positive {
    color: #10b981;
}

.token-stats .stat-value.negative {
    color: #ef4444;
}

.token-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.farming-section {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.farming-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.farming-label {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent-blue);
}

.farming-details {
    color: var(--text-secondary);
    line-height: 1.8;
}

.loading-indicator {
    text-align: center;
    padding: 60px 20px;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

#loadingText {
    color: var(--text-secondary);
    font-size: 16px;
}

.token-name {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.2;
}

.token-symbol {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.token-price {
    text-align: right;
    flex-shrink: 0;
}

.price-value {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.price-change {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
}

.price-change.positive {
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.price-change.negative {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.token-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.stat-label-small {
    font-size: 11px;
    color: var(--text-muted);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value-small {
    font-size: 13px;
    color: var(--text-primary);
    font-weight: 600;
}

.roi-section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.roi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.roi-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.roi-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
}

.roi-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.roi-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 11px;
}

.roi-item-label {
    color: var(--text-muted);
}

.roi-item-value {
    font-weight: 600;
    color: var(--text-primary);
}

.roi-item-value.positive {
    color: #10b981;
}

.roi-item-value.negative {
    color: #ef4444;
}

/* Loading Indicator */
.loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--accent-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.empty-state h2 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 16px;
    color: var(--text-muted);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 20, 0.95);
    backdrop-filter: blur(20px);
    z-index: 9999;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    max-width: 400px;
    margin: 0 auto;
    background: rgba(15, 15, 30, 0.8);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.mobile-menu-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-menu-item {
    padding: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.mobile-menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
}

/* Settings Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

.modal-close {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

.modal-body {
    color: var(--text-primary);
}

.settings-section {
    margin-bottom: 24px;
}

.settings-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.settings-section label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.settings-section label:hover {
    background: rgba(255, 255, 255, 0.1);
}

.settings-section input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.settings-section input[type="number"],
.settings-section select {
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 14px;
    width: 100%;
    max-width: 200px;
}

.settings-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.settings-actions button {
    flex: 1;
    min-width: 120px;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
}

.settings-actions button:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger-menu {
        display: flex;
    }
    
    .header-actions {
        display: none;
    }
    
    .tokens-container {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
    
    .token-card {
        padding: 16px;
        min-height: 180px;
    }
    
    .token-stats {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .banner-container {
        min-height: 150px;
    }
}

@media (max-width: 480px) {
    .tokens-container {
        grid-template-columns: 1fr;
    }
    
    .app-container {
        padding: 12px;
    }
    
    .header {
        padding: 16px;
    }
}

/* Remove whale background */
.whale-background {
    display: none;
}

/* Stats Bar */
.stats-bar {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.stat-item {
    flex: 1;
    min-width: 200px;
    background: rgba(15, 15, 30, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
}

/* Quick Actions Bar */
.quick-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    overflow-x: auto;
    padding-bottom: 8px;
}

.quick-action-btn {
    padding: 10px 16px;
    background: rgba(15, 15, 30, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.quick-action-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Activity Sidebar */
.activity-sidebar {
    position: fixed;
    right: -400px;
    top: 0;
    width: 400px;
    height: 100vh;
    background: rgba(15, 15, 30, 0.95);
    backdrop-filter: blur(30px);
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 9998;
    transition: right 0.3s ease;
    overflow-y: auto;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
}

.activity-sidebar.active {
    right: 0;
}

.activity-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.activity-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.activity-toggle {
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.activity-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
}

.activity-content {
    padding: 20px;
}

.activity-log-item {
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    border-left: 3px solid var(--accent-purple);
}

.activity-time {
    color: var(--text-muted);
    font-weight: 600;
    margin-right: 8px;
}

.activity-message {
    color: var(--text-secondary);
}

.activity-toggle-btn {
    position: fixed;
    right: 20px;
    bottom: 20px;
    padding: 12px 20px;
    background: rgba(15, 15, 30, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    z-index: 9997;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.activity-toggle-btn:hover {
    background: rgba(20, 20, 40, 0.95);
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
    transform: translateY(-2px);
}

/* View Modes */
.tokens-container.view-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tokens-container.view-list .token-card {
    flex-direction: row;
    align-items: center;
    min-height: auto;
}

.tokens-container.view-compact {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.tokens-container.view-compact .token-card {
    padding: 16px;
    min-height: 150px;
}

.tokens-container.view-detailed .token-card {
    min-height: 300px;
}

/* Button Settings */
.btn-settings {
    padding: 10px 16px;
    background: rgba(15, 15, 30, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.btn-settings:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-purple);
    box-shadow: var(--glow-purple);
    color: var(--text-primary);
}
