body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: 
        url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5L55 17.5V42.5L30 55L5 42.5V17.5L30 5z' fill='none' stroke='rgba(255,255,255,0.015)' stroke-width='1'/%3E%3Ccircle cx='30' cy='5' r='2' fill='rgba(255,255,255,0.02)'/%3E%3Ccircle cx='55' cy='17.5' r='2' fill='rgba(255,255,255,0.02)'/%3E%3Ccircle cx='55' cy='42.5' r='2' fill='rgba(255,255,255,0.02)'/%3E%3Ccircle cx='30' cy='55' r='2' fill='rgba(255,255,255,0.02)'/%3E%3Ccircle cx='5' cy='42.5' r='2' fill='rgba(255,255,255,0.02)'/%3E%3Ccircle cx='5' cy='17.5' r='2' fill='rgba(255,255,255,0.02)'/%3E%3C/svg%3E"),
        linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    background-size: 60px 60px, 100% 100%;
    min-height: 100vh;
    color: #e4e4e7;
}

/* Header Styles */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    margin-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.header-brand {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-logo {
    width: 88px;
    height: 88px;
    border-radius: 18px;
    box-shadow: 0 4px 28px rgba(139, 92, 246, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-logo:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 36px rgba(139, 92, 246, 0.6);
}

.main-header h1 {
    margin: 0;
    color: #ffffff;
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -1.5px;
    line-height: 1;
    background: linear-gradient(135deg, #22D3EE 0%, #3b82f6 30%, #8b5cf6 60%, #D946EF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 40px rgba(59, 130, 246, 0.4);
    }
    100% {
        text-shadow: 0 0 60px rgba(139, 92, 246, 0.6);
    }
}

.wallet-section {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.wallet-section #connectWallet {
    position: relative;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    z-index: 1;
    overflow: visible;
}

/* Rotating glow behind button */
.wallet-section #connectWallet::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: conic-gradient(from var(--glow-angle, 0deg), #3b82f6, #8b5cf6, #ec4899, #8b5cf6, #3b82f6);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.7;
    filter: blur(12px);
    transition: opacity 0.3s ease;
    animation: rotate-glow 3s linear infinite;
}

@keyframes rotate-glow {
    0% { filter: blur(12px) hue-rotate(0deg); }
    100% { filter: blur(12px) hue-rotate(360deg); }
}

.wallet-section #connectWallet:hover:not(:disabled)::before {
    opacity: 1;
    filter: blur(15px);
}

/* Connecting state - faster rotation */
.wallet-section #connectWallet.connecting::before {
    animation: rotate-glow 1s linear infinite;
    opacity: 1;
    filter: blur(15px);
}

/* Connected state - green glow */
.wallet-section #connectWallet.connected {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.wallet-section #connectWallet.connected::before {
    background: radial-gradient(circle, #10b981, #059669);
    opacity: 0.6;
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: blur(12px); opacity: 0.5; }
    50% { filter: blur(18px); opacity: 0.8; }
}

.wallet-section #connectWallet:hover:not(:disabled) {
    transform: translateY(-2px);
}

/* Wallet address display - dark theme */
.wallet-section #walletAddress,
#walletAddress {
    display: flex;
    align-items: center;
}

/* Wallet Info Display - Dark Theme */
.wallet-section #walletAddress .wallet-info,
#walletAddress .wallet-info,
.wallet-info {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 10px !important;
    padding: 8px 14px !important;
}

.wallet-section #walletAddress .wallet-address,
#walletAddress .wallet-address,
.wallet-info .wallet-address {
    color: #e4e4e7 !important;
    font-size: 14px !important;
    font-family: 'Inter', monospace !important;
    background: transparent !important;
}

/* Copy button in wallet info */
.wallet-section #walletAddress .wallet-info .copy-btn,
.wallet-section .wallet-info button.copy-btn,
#walletAddress .wallet-info .copy-btn,
.wallet-info .copy-btn,
.wallet-info button {
    background: rgba(255, 255, 255, 0.1) !important;
    background-color: rgba(255, 255, 255, 0.1) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 6px 10px !important;
    cursor: pointer !important;
    font-size: 14px !important;
    transition: all 0.2s ease !important;
    box-shadow: none !important;
    min-height: unset !important;
    transform: none !important;
    color: #a1a1aa !important;
}

.wallet-section #walletAddress .wallet-info .copy-btn:hover,
.wallet-section .wallet-info button.copy-btn:hover,
#walletAddress .wallet-info .copy-btn:hover,
.wallet-info .copy-btn:hover,
.wallet-info button:hover {
    background: rgba(59, 130, 246, 0.3) !important;
    background-color: rgba(59, 130, 246, 0.3) !important;
    transform: none !important;
    box-shadow: none !important;
}

.wallet-section #walletAddress strong {
    color: #e4e4e7;
    font-family: 'Inter', sans-serif;
    font-size: 13px;
}

.wallet-section #walletAddress small {
    color: #3b82f6;
    cursor: pointer;
    text-decoration: underline;
}

.wallet-section #walletAddress small:hover {
    color: #60a5fa;
}

/* Responsive Header */
@media (max-width: 768px) {
    .main-header {
        flex-direction: column;
        gap: 16px;
        align-items: center;
        padding: 20px 0;
    }
    
    .header-brand {
        gap: 14px;
        justify-content: center;
    }
    
    .header-logo {
        width: 88px;
        height: 88px;
        border-radius: 18px;
    }
    
    .main-header h1 {
        font-size: 52px;
    }
    
    .wallet-section {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 12px;
        width: 100%;
    }
    
    .wallet-section #connectWallet {
        padding: 10px 18px;
        font-size: 13px;
        border-radius: 10px;
    }
    
    .wallet-section #walletAddress {
        font-size: 13px;
        padding: 10px 14px;
    }
}

/* Responsive h2 */
@media (max-width: 768px) {
    h2 {
        font-size: 24px;
    }
}

.container {
    background: rgba(17, 17, 17, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 36px;
    border-radius: 20px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.container:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.5);
}

h2 {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-description {
    color: #a1a1aa;
    font-size: 15px;
    margin-bottom: 24px;
    line-height: 1.6;
}

button:not(.copy-btn):not(.hint-chip):not(.tab-button):not(.accordion-toggle):not(.clear-btn):not(.close-section-btn):not(.feature-card) {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

button:not(.copy-btn):not(.hint-chip):not(.tab-button):not(.accordion-toggle):not(.clear-btn):not(.close-section-btn):not(.feature-card):hover:not(:disabled) {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

button:disabled {
    background: #374151;
    color: #9ca3af;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

#walletAddress {
    margin-top: 15px;
    padding: 10px;
    background-color: #f8f9fa;
    border-radius: 4px;
    font-family: monospace;
    word-break: break-all;
}

.status {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
}

.status.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status.pending {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffeaa7;
}

#status {
    margin-top: 20px;
    padding: 15px;
    border-radius: 12px;
    background-color: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #a1a1aa;
}

#status.success {
    background-color: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #10b981;
}

#status.error {
    background-color: rgba(239, 68, 68, 0.15);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
}

#status.pending {
    background-color: rgba(59, 130, 246, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

#status.warning {
    background-color: rgba(245, 158, 11, 0.15);
    border-color: rgba(245, 158, 11, 0.3);
    color: #f59e0b;
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #0052ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Analytics Section Styles */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .analytics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .analytics-grid {
        grid-template-columns: 1fr;
    }
}

.analytics-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: white;
    padding: 24px;
    border-radius: 16px;
    text-align: left;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    min-height: 120px;
}

.analytics-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.analytics-card h3 {
    margin: 0 0 12px 0;
    font-size: 13px;
    font-weight: 500;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.metric-change {
    font-size: 14px;
    font-weight: 500;
}

.metric-change.positive {
    color: #4ade80;
}

.metric-change.negative {
    color: #f87171;
}

.metric-subtitle {
    font-size: 12px;
    opacity: 0.75;
    margin-top: 4px;
}

/* Tabs */
.tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 4px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    gap: 4px;
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.tab-button {
    background: transparent;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #71717a;
    border-radius: 8px;
    transition: all 0.2s ease;
    box-shadow: none;
}

.tab-button:hover {
    color: #a1a1aa;
    background: rgba(255, 255, 255, 0.05);
}

.tab-button.active {
    color: #ffffff;
    background: rgba(59, 130, 246, 0.2);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.15);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* AI Insights */
.ai-insights {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.ai-insights h3 {
    margin: 0 0 15px 0;
    font-size: 18px;
}

.insight-items {
    margin-bottom: 20px;
}

.insight-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 8px;
    margin-bottom: 10px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.insight-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
}

.insight-metric {
    background: rgba(255, 255, 255, 0.1);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.risk-low { color: #4ade80; }
.risk-medium { color: #fbbf24; }
.risk-high { color: #f87171; }

/* Chart Container */
.chart-container {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-top: 30px;
    margin-bottom: 20px;
    min-height: 300px;
}

.chart-container h3 {
    margin: 0 0 20px 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
}

.chart-container canvas {
    max-height: 250px;
}

/* Token Grid */
.token-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

.token-card {
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.token-card:hover {
    transform: translateY(-3px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.token-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.token-header h4 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.token-change {
    font-size: 13px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 6px;
}

.token-change.positive {
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
}

.token-change.negative {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.15);
}

.token-balance {
    font-size: 15px;
    color: #a1a1aa;
    margin-bottom: 6px;
}

.token-value {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.token-name {
    font-size: 12px;
    color: #71717a;
}

/* NFT Gallery */
.nft-scroll-container {
    overflow-x: auto;
    padding-bottom: 10px;
}

.nft-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.nft-card {
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nft-card:hover {
    transform: translateY(-4px);
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.nft-image {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
}

.nft-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nft-info {
    padding: 16px;
}

.nft-info h4 {
    margin: 0 0 6px 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nft-collection {
    margin: 0;
    color: #8B5CF6;
    font-size: 13px;
}

/* DeFi Grid */
.defi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
}

.defi-card {
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.defi-card:hover {
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.defi-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.defi-header h4 {
    margin: 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.defi-type {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.defi-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 12px;
}

.defi-stat {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.defi-stat .stat-label {
    font-size: 11px;
    color: #71717a;
    text-transform: uppercase;
}

.defi-stat .stat-value {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.defi-stat .stat-value.positive {
    color: #10b981;
}

.defi-pair {
    font-size: 13px;
    color: #a1a1aa;
}

/* Wallet Search Result Card */
.wallet-result-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.wallet-header-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.wallet-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #8B5CF6 0%, #3B82F6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.wallet-icon {
    font-size: 36px;
}

.wallet-identity {
    flex: 1;
    min-width: 200px;
}

.wallet-title {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.wallet-ens {
    display: inline-block;
    background: linear-gradient(135deg, #8B5CF6, #3B82F6);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.wallet-address-full {
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
    color: #a1a1aa;
    margin: 4px 0;
    word-break: break-all;
}

.wallet-balance-section {
    text-align: right;
    padding: 16px 24px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 12px;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.balance-value {
    font-size: 28px;
    font-weight: 800;
    color: #8B5CF6;
}

.balance-label {
    font-size: 12px;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.wallet-stats-section {
    padding: 20px;
}

.wallet-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 16px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.stat-card .stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 12px;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.defi-summary {
    margin-bottom: 20px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 16px;
}

.defi-summary h3 {
    margin: 0 0 8px 0;
    color: #ffffff;
    font-size: 18px;
}

.defi-total {
    font-size: 24px;
    color: #10b981;
}

.defi-total strong {
    font-weight: 800;
}

/* History List */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 16px 20px;
    transition: all 0.2s ease;
}

.history-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
    background: rgba(17, 17, 17, 0.8);
}

.history-icon {
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
}

.history-main {
    flex: 1;
}

.history-type {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.history-hash {
    font-size: 13px;
    color: #3B82F6;
    text-decoration: none;
    font-family: monospace;
}

.history-hash:hover {
    text-decoration: underline;
}

.history-details {
    text-align: right;
}

.history-value {
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.history-date {
    font-size: 12px;
    color: #71717a;
}

/* Additional NFT info styles */
.nft-info h4 {
    margin: 0 0 6px 0;
    color: #ffffff;
    font-size: 15px;
}

.nft-info p {
    margin: 0;
    color: #a1a1aa;
    font-size: 13px;
}

/* History link styles */
.history-hash a {
    color: #3B82F6;
    text-decoration: none;
    font-family: monospace;
}

.history-hash a:hover {
    text-decoration: underline;
}

.history-details {
    text-align: right;
    font-size: 14px;
    color: #666;
}

.history-details div {
    margin-bottom: 2px;
}

/* No Data State */
.no-data {
    text-align: center;
    padding: 60px 40px;
    color: #71717a;
    font-size: 16px;
    background: rgba(17, 17, 17, 0.5);
    border-radius: 16px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
}

/* Enhanced Loading States */
.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    color: #a1a1aa;
    font-size: 16px;
}

.loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid #3B82F6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
        margin: 10px;
    }
    
    button {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .status {
        padding: 10px;
        font-size: 14px;
    }
    
    .analytics-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .analytics-card {
        padding: 15px;
    }
    
    .metric-value {
        font-size: 24px;
    }
    
    .tabs {
        overflow-x: auto;
        /* -webkit-overflow-scrolling is deprecated and not needed for modern browsers */
    }
    
    .tab-button {
        padding: 10px 16px;
        font-size: 13px;
    }
    
    .token-grid,
    .nft-grid {
        grid-template-columns: 1fr;
    }
    
    .defi-grid {
        grid-template-columns: 1fr;
    }
    
    .history-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .history-details {
        text-align: left;
    }
}

/* Enhanced Button Styles */
button {
    transition: all 0.3s ease;
}

button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Improved Status Messages */
.status {
    padding: 12px 16px;
    border-radius: 8px;
    margin: 10px 0;
    font-weight: 500;
}

.status.success {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.status.error {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.status.pending {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

/* AI Suggestions Styles */
.ai-suggestions {
    text-align: center;
}

.ai-suggestions h3 {
    margin: 0 0 24px 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 600;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.suggestion-card {
    background: rgba(31, 31, 31, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.suggestion-card:hover {
    background: rgba(41, 41, 41, 0.9);
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.3);
}

.suggestion-info {
    flex: 1;
    text-align: left;
}

.suggestion-info h4 {
    margin: 0 0 8px 0;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
}

.suggestion-info p {
    margin: 0 0 8px 0;
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.4;
}

.suggestion-address {
    font-family: 'Inter', monospace;
    color: #60a5fa !important;
    font-weight: 600 !important;
    font-size: 12px !important;
}

.suggestion-arrow {
    font-size: 24px;
    color: #3b82f6;
    font-weight: 700;
    margin-left: 16px;
    transition: transform 0.3s ease;
}

.suggestion-card:hover .suggestion-arrow {
    transform: translateX(4px);
}

/* Status Messages */
.status {
    padding: 12px 16px;
    border-radius: 12px;
    margin: 10px 0;
    font-weight: 500;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.status.success {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.3);
}

.status.error {
    background: rgba(239, 68, 68, 0.2);
    color: #f87171;
    border-color: rgba(239, 68, 68, 0.3);
}

.status.pending {
    background: rgba(245, 158, 11, 0.2);
    color: #fbbf24;
    border-color: rgba(245, 158, 11, 0.3);
}
.search-container {
    display: flex;
    gap: 12px;
    margin-bottom: 28px;
    align-items: stretch;
    width: 100%;
}

.search-container input {
    flex: 1;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    color: #ffffff;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s ease;
}

.search-container input:focus {
    outline: none;
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-container input::placeholder {
    color: #52525b;
}

.search-container button {
    padding: 16px 24px;
    white-space: nowrap;
}

#clearSearch {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

#clearSearch:hover {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

/* Trending Searches */
.trending-searches {
    margin-bottom: 24px;
}

.trending-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.trending-icon {
    font-size: 18px;
    animation: pulse 2s infinite;
}

.trending-label {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
}

.trending-count {
    font-size: 14px;
    color: #9ca3af;
    margin-left: auto;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Search Results */
.search-results {
    margin-top: 20px;
}

.search-result-item {
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 16px;
}

.search-result-item h3 {
    color: #ffffff;
    margin-bottom: 12px;
    font-size: 18px;
}

.search-result-item p {
    color: #e4e4e7;
    margin-bottom: 8px;
    font-size: 14px;
}

.search-result-item strong {
    color: #3b82f6;
}

#addressSearch {
    flex: 1;
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 20px;
    border-radius: 16px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

#addressSearch:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1), 0 8px 30px rgba(0, 0, 0, 0.2);
    background: rgba(17, 17, 17, 0.8);
    transform: translateY(-1px);
}

#searchButton, #clearSearch {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px 24px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.2);
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

#searchButton:hover:not(:disabled), #clearSearch:hover {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
    border-color: rgba(255, 255, 255, 0.2);
}

#clearSearch {
    background: rgba(107, 114, 128, 0.8);
}

#clearSearch:hover {
    background: rgba(156, 163, 175, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(107, 114, 128, 0.3);
}

/* Enhanced Status Messages */
.status {
    padding: 16px 20px;
    border-radius: 12px;
    margin: 12px 0;
    font-weight: 500;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* ... existing code ... */

.nft-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 16px;
}

.nft-preview-card {
    background: white;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nft-preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.nft-preview-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.nft-preview-info {
    padding: 12px;
    text-align: center;
}

.nft-preview-info p {
    margin: 0;
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

/* Hero Section - Sleek Professional */
.hero-sleek {
    position: relative;
    padding: 60px 20px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, 
        rgba(10, 10, 10, 1) 0%,
        rgba(15, 15, 25, 1) 100%);
}

.hero-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, 
        rgba(59, 130, 246, 0.15) 0%, 
        rgba(139, 92, 246, 0.08) 40%,
        transparent 70%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 50px;
    font-size: 13px;
    color: #10b981;
    margin-bottom: 24px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 24px 0;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

.gradient-text {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 50%, #ec4899 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 18px;
    color: #a1a1aa;
    margin: 0 0 40px 0;
    line-height: 1.6;
    font-weight: 400;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 36px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border: none;
    border-radius: 14px;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
}

.cta-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(59, 130, 246, 0.4);
}

.cta-primary svg {
    transition: transform 0.2s ease;
}

.cta-primary:hover svg {
    transform: translateX(4px);
}

.hero-metrics {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 12px;
    flex-wrap: wrap;
    max-width: 800px;
    margin: 0 auto;
}

.metric-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    min-width: 120px;
    transition: all 0.2s ease;
}

.metric-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.12);
}

.metric-value {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 12px;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Hero Integrated Search */
.hero-search {
    width: 100%;
    max-width: 700px;
    margin: 0 auto 36px;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 6px;
    transition: all 0.3s ease;
}

.search-wrapper::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: conic-gradient(from 0deg, #3b82f6, #8b5cf6, #ec4899, #8b5cf6, #3b82f6);
    border-radius: 17px;
    z-index: -1;
    opacity: 0;
    filter: blur(12px);
    transition: opacity 0.3s ease;
}

.search-wrapper:focus-within {
    border-color: rgba(59, 130, 246, 0.5);
    background: rgba(255, 255, 255, 0.06);
}

.search-wrapper:focus-within::before {
    opacity: 0.6;
    animation: rotate-glow 3s linear infinite;
}

.search-wrapper:hover::before {
    opacity: 0.4;
}

.search-icon {
    margin-left: 16px;
    color: #52525b;
    flex-shrink: 0;
}

.search-wrapper input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 14px 16px;
    color: #ffffff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    outline: none;
}

.search-wrapper input::placeholder {
    color: #52525b;
}

.search-wrapper button {
    position: relative;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
    overflow: visible;
}

.search-wrapper button::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: conic-gradient(from 0deg, #3b82f6, #8b5cf6, #ec4899, #8b5cf6, #3b82f6);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 0.3s ease;
}

.search-wrapper button:hover::before {
    opacity: 0.7;
    animation: rotate-glow 3s linear infinite;
}

.search-wrapper button:active::before {
    opacity: 1;
}

.search-hints {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap;
}

.search-hints > span {
    color: #52525b;
    font-size: 13px;
}

.hint-chip {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    color: #a1a1aa;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
}

.hint-chip:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    transform: none;
    box-shadow: none;
}

/* Search Results Container */
.search-results-container {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.results-header h2 {
    margin: 0;
}

.clear-btn {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.2);
    color: #ef4444;
    padding: 8px 16px;
    font-size: 13px;
    box-shadow: none;
}

.clear-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    box-shadow: none;
    transform: none;
}

/* Feature Cards */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin: 40px auto 0;
}

.feature-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 28px 32px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    box-shadow: none;
    overflow: visible;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.3), transparent 70%);
    border-radius: 18px;
    opacity: 0;
    z-index: -1;
    filter: blur(20px);
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-3px);
    box-shadow: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-card-content {
    flex: 1;
    min-width: 0;
}

.feature-card-content h3 {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 6px 0;
}

.feature-card-content p {
    font-size: 14px;
    color: #71717a;
    margin: 0;
    line-height: 1.5;
}

.feature-card-arrow {
    font-size: 18px;
    color: #52525b;
    transition: transform 0.2s ease;
}

.feature-card:hover .feature-card-arrow {
    transform: translateX(4px);
    color: #a1a1aa;
}

/* Feature Section Styling */
.feature-section {
    animation: slideDown 0.3s ease;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-section.hidden {
    display: none;
}

.section-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.section-header-row h2 {
    margin: 0;
}

.close-section-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #71717a;
    font-size: 16px;
    box-shadow: none;
    cursor: pointer;
}

.close-section-btn:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: rgba(239, 68, 68, 0.3);
    color: #ef4444;
    transform: none;
    box-shadow: none;
}

/* Mobile styles for feature cards */
@media (max-width: 600px) {
    .feature-cards {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-card {
        padding: 16px 20px;
    }
    
    .feature-card-icon {
        font-size: 28px;
    }
    
    .feature-card-content h3 {
        font-size: 15px;
    }
    
    .feature-card-content p {
        font-size: 12px;
    }
}

/* Mobile styles for sleek hero */
@media (max-width: 768px) {
    .hero-sleek {
        padding: 40px 16px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 15px;
        margin-bottom: 24px;
    }
    
    .hero-glow {
        width: 300px;
        height: 300px;
    }
    
    .hero-search {
        max-width: 100%;
    }
    
    .search-wrapper {
        flex-direction: column;
        padding: 8px;
        gap: 8px;
    }
    
    .search-wrapper input {
        width: 100%;
        text-align: center;
    }
    
    .search-wrapper button {
        width: 100%;
    }
    
    .hero-metrics {
        flex-wrap: wrap;
        justify-content: center;
        gap: 8px;
    }
    
    .metric-card {
        min-width: 100px;
        padding: 12px 16px;
    }
    
    .metric-value {
        font-size: 16px;
    }
    
    .metric-label {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .metric-card {
        min-width: 80px;
        padding: 10px 12px;
    }
    
    .metric-value {
        font-size: 14px;
    }
    
    .cta-primary {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
        font-size: 16px;
    }
}

/* Original Hero Section (kept for reference) */
.hero-section:not(.compact) {
    padding: 80px 20px 60px;
    background: linear-gradient(135deg, 
        rgba(59, 130, 246, 0.1) 0%, 
        rgba(139, 92, 246, 0.1) 50%, 
        rgba(236, 72, 153, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.hero-section:not(.compact)::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(59, 130, 246, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 50px;
    align-items: start;
    position: relative;
    z-index: 1;
}

.hero-text h2 {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 24px 0;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, #a1a1aa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 18px;
    color: #a1a1aa;
    margin: 0 0 40px 0;
    line-height: 1.6;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: #60a5fa;
    margin-bottom: 8px;
    display: block;
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-visual {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.feature-showcase {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.feature-card {
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
}

.feature-card.featured {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(17, 17, 17, 0.8));
    border: 1px solid rgba(59, 130, 246, 0.3);
    padding: 32px;
}

.feature-card.featured:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25), rgba(17, 17, 17, 0.8));
}

.feature-icon {
    font-size: 32px;
    margin-bottom: 16px;
    display: block;
}

.feature-card.featured .feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 12px 0;
}

.feature-card h4 {
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.feature-card p {
    color: #a1a1aa;
    font-size: 14px;
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.feature-metrics {
    display: flex;
    gap: 16px;
    margin-top: 16px;
}

.feature-metrics .metric {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    color: #60a5fa;
    font-weight: 500;
}

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.feature-grid .feature-card {
    display: flex;
    flex-direction: column;
    min-height: 140px;
}

.feature-grid .feature-card p {
    margin-bottom: 0;
    flex-grow: 1;
}

/* Responsive Feature Showcase */
@media (max-width: 640px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card.featured {
        padding: 24px;
    }
    
    .feature-card.featured .feature-icon {
        font-size: 36px;
    }
}

/* Responsive Hero Section */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text h2 {
        font-size: 36px;
    }
    
    .hero-text p {
        font-size: 16px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 24px;
    }
    
    .hero-visual {
        height: 300px;
    }
    
    .floating-card {
        font-size: 14px;
        padding: 16px 20px;
    }
}

@media (max-width: 640px) {
    .hero-section {
        padding: 60px 20px 40px;
    }
    
    .hero-text h2 {
        font-size: 28px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-number {
        font-size: 24px;
    }
    
    .hero-visual {
        height: 250px;
    }
    
    .floating-card {
        font-size: 12px;
        padding: 12px 16px;
    }
}
.quick-suggestions {
    margin-top: 16px;
    margin-bottom: 20px;
}

.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.chip {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    font-family: 'Inter', sans-serif;
}

.chip:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    color: #93c5fd;
}

.chip:active {
    transform: translateY(0);
}

/* Search Results */
.search-results {
    margin-top: 20px;
}

.search-result-card {
    background: rgba(17, 17, 17, 0.9);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.address-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.address-title h3 {
    margin: 0;
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
}

.address-type {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.address-info {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
    align-items: start;
}

.address-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.address-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.address-label {
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    min-width: 80px;
}

.address-value {
    color: #e4e4e7;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', monospace;
}

.full-address {
    background: rgba(31, 31, 31, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    font-family: 'Inter', monospace;
    font-size: 13px;
    color: #a1a1aa;
    word-break: break-all;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.address-balance {
    text-align: right;
    padding: 16px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    min-width: 120px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.balance-amount {
    font-size: 24px;
    font-weight: 700;
    color: #60a5fa;
    margin-bottom: 4px;
}

.balance-label {
    font-size: 12px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}

.metric {
    background: rgba(31, 31, 31, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.metric:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.15);
}

.metric-label {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.metric-value {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.contract-info, .wallet-info {
    margin-top: 20px;
    padding: 20px;
    background: rgba(31, 31, 31, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.contract-info h4, .wallet-info h4 {
    margin: 0 0 16px 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(31, 31, 31, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    border-left: 4px solid #3b82f6;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.info-label {
    font-size: 14px;
    color: #9ca3af;
    font-weight: 500;
}

.info-value {
    font-size: 14px;
    color: #e4e4e7;
    font-weight: 500;
}

.recent-activity {
    margin-top: 20px;
}

.recent-activity h4 {
    margin: 0 0 16px 0;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
}

.activity-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.activity-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: rgba(31, 31, 31, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.activity-item:hover {
    background: rgba(41, 41, 41, 0.9);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-1px);
}

.activity-hash a {
    color: #0052ff;
    text-decoration: none;
    font-family: 'Inter', monospace;
    font-size: 14px;
    font-weight: 500;
}

.activity-hash a:hover {
    color: #1d4ed8;
    text-decoration: underline;
}

.activity-details {
    text-align: right;
    font-size: 13px;
    color: #9ca3af;
}

/* Responsive Design for Search */
@media (max-width: 768px) {
    .suggestion-chips {
        justify-content: center;
    }
    
    .chip {
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .search-container {
        flex-direction: column;
        gap: 12px;
    }
    
    #addressSearch {
        width: 100%;
    }
    
    #searchButton,
    #clearSearch {
        width: 100%;
    }
    
    .address-header {
        flex-direction: column;
        gap: 16px;
        align-items: stretch;
    }
    
    .address-balance {
        text-align: center;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .activity-item {
        flex-direction: column;
        gap: 8px;
        align-items: flex-start;
    }
    
    .activity-details {
        text-align: left;
    }
}

/* Enhanced Loading States for Search */
.search-result-card.loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    color: #666;
    font-size: 16px;
}

.search-result-card.loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top: 2px solid #0052ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 12px;
}

/* Analytics Section Visibility */
#analyticsSection {
    display: block;
}

/* Hidden tabs by default */
#analyticsSection .tabs {
    display: none;
}

/* Wallet Connect Prompt */
.wallet-connect-prompt {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    padding: 40px 20px;
}

.prompt-content {
    text-align: center;
    max-width: 400px;
    background: rgba(17, 17, 17, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.prompt-content:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.3);
}

.prompt-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: float-icon 3s ease-in-out infinite;
}

@keyframes float-icon {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.prompt-content h3 {
    color: #ffffff;
    font-size: 24px;
    font-weight: 700;
    margin: 0 0 16px 0;
}

.prompt-content p {
    color: #a1a1aa;
    font-size: 16px;
    line-height: 1.6;
    margin: 0 0 32px 0;
}

.prompt-connect-btn {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.3);
    font-family: 'Inter', sans-serif;
}

.prompt-connect-btn:hover {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(59, 130, 246, 0.4);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Enhanced Trending Chips */
.suggestion-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 12px;
}

.trending-chip {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(30, 30, 30, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 12px;
    transition: all 0.2s ease;
    text-align: left;
    height: auto;
}

.trending-chip:hover {
    background: rgba(40, 40, 40, 0.8);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.trending-chip .chip-icon {
    font-size: 20px;
    background: rgba(255, 255, 255, 0.05);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.trending-chip .chip-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.trending-chip .chip-query {
    color: #e4e4e7;
    font-weight: 600;
    font-size: 14px;
}

.trending-chip .chip-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

/* Category Colors */
.trending-chip.defi .chip-label { color: #60a5fa; }
.trending-chip.meme .chip-label { color: #f472b6; }
.trending-chip.nft .chip-label { color: #a78bfa; }
.trending-chip.social .chip-label { color: #34d399; }
.trending-chip.token .chip-label { color: #fbbf24; }

/* Global vs Local */
.trending-chip.global-trend {
    border-left: 3px solid #0052ff;
}

.trending-chip.local-trend {
    border-left: 3px solid #10b981;
}

/* ============================================
   x402 Private Transaction Styles
   ============================================ */

#x402Section {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

#x402Section h2 {
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-description {
    color: #a1a1aa;
    margin-bottom: 24px;
    font-size: 14px;
}

.x402-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    color: #e4e4e7;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 14px 16px;
    color: #e4e4e7;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-group input::placeholder {
    color: #71717a;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.privacy-options {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #a1a1aa;
    font-size: 14px;
    transition: color 0.2s ease;
}

.checkbox-label:hover {
    color: #e4e4e7;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
    cursor: pointer;
}

.x402-info {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    padding: 16px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-label {
    color: #71717a;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: #e4e4e7;
    font-weight: 600;
    font-size: 14px;
}

.button-group {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.primary-btn {
    flex: 1;
    min-width: 200px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.primary-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.primary-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.secondary-btn {
    padding: 16px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: #e4e4e7;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.stealth-display {
    margin-top: 24px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(59, 130, 246, 0.1) 100%);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 16px;
}

.stealth-display h4 {
    margin: 0 0 8px 0;
    color: #10b981;
    font-size: 16px;
}

.stealth-description {
    color: #a1a1aa;
    font-size: 13px;
    margin-bottom: 12px;
}

.stealth-address-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 8px;
    overflow: hidden;
}

.stealth-address-box code {
    flex: 1;
    color: #10b981;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 13px;
    word-break: break-all;
}

.stealth-address-box .copy-btn {
    padding: 8px 12px;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 6px;
    color: #10b981;
    cursor: pointer;
    transition: all 0.2s ease;
}

.stealth-address-box .copy-btn:hover {
    background: rgba(16, 185, 129, 0.3);
}

/* Privacy Level Select Styling */
#privacyLevel option {
    background: #1a1a1a;
    color: #e4e4e7;
}

/* ============================================
   Wallet Profile Card Styles
   ============================================ */

.wallet-profile-card {
    background: linear-gradient(135deg, rgba(30, 30, 40, 0.9) 0%, rgba(20, 20, 30, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    margin-top: 20px;
}

.profile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 12px;
    border: 2px solid;
}

.badge-emoji {
    font-size: 24px;
}

.badge-label {
    font-weight: 600;
    font-size: 16px;
    color: #e4e4e7;
}

.risk-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 12px 20px;
    border: 3px solid;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
}

.score-grade {
    font-size: 28px;
    font-weight: 800;
}

.score-value {
    font-size: 12px;
    color: #a1a1aa;
}

.profile-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .profile-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

.profile-stats .stat-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
}

.profile-stats .stat-label {
    display: block;
    font-size: 11px;
    color: #71717a;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.profile-stats .stat-value {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #e4e4e7;
}

.trading-style-section,
.flags-section,
.risk-factors,
.behavior-metrics {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wallet-profile-card h4 {
    font-size: 14px;
    font-weight: 600;
    color: #a1a1aa;
    margin: 0 0 12px 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.style-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.style-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.style-badge.primary {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border-color: rgba(59, 130, 246, 0.3);
}

.style-emoji {
    font-size: 24px;
}

.style-info {
    display: flex;
    flex-direction: column;
}

.style-name {
    font-weight: 600;
    color: #e4e4e7;
    font-size: 14px;
}

.style-desc {
    font-size: 12px;
    color: #71717a;
}

.style-badge.secondary {
    padding: 8px 12px;
}

.style-badge.secondary .style-emoji {
    font-size: 18px;
}

.style-badge.secondary .style-name {
    font-size: 12px;
    text-transform: capitalize;
}

.flags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.flag-item {
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 13px;
    color: #d4d4d8;
}

.flag-item.warning {
    background: rgba(239, 68, 68, 0.15);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.factors-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.factor-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.factor-name {
    font-weight: 500;
    color: #e4e4e7;
    min-width: 100px;
}

.factor-impact {
    font-weight: 700;
    font-size: 14px;
    min-width: 50px;
}

.factor-impact.positive {
    color: #10b981;
}

.factor-impact.negative {
    color: #ef4444;
}

.factor-reason {
    color: #71717a;
    font-size: 13px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

@media (max-width: 600px) {
    .metrics-grid {
        grid-template-columns: 1fr;
    }
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.metric .metric-label {
    font-size: 12px;
    color: #71717a;
}

.metric .metric-value {
    font-size: 14px;
    font-weight: 600;
    color: #e4e4e7;
}

.metric-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.metric-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6 0%, #10b981 100%);
    border-radius: 3px;
    transition: width 0.5s ease;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* ============================================
   Educational Accordion Styles
   ============================================ */

.info-accordion {
    margin-bottom: 24px;
}

.accordion-toggle {
    width: 100%;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    color: #e4e4e7;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.accordion-toggle:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.25) 0%, rgba(139, 92, 246, 0.25) 100%);
    border-color: rgba(59, 130, 246, 0.5);
}

.accordion-toggle.active {
    border-radius: 12px 12px 0 0;
    border-bottom: none;
}

.accordion-icon {
    transition: transform 0.3s ease;
    font-size: 12px;
}

.accordion-toggle.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-top: none;
    border-radius: 0 0 12px 12px;
    padding: 24px;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.info-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.info-section h4 {
    color: #e4e4e7;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 12px 0;
}

.info-section p {
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 12px 0;
}

.info-section ul,
.info-section ol {
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.8;
    margin: 0;
    padding-left: 20px;
}

.info-section li {
    margin-bottom: 6px;
}

.info-section strong {
    color: #e4e4e7;
}

.instruction-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 16px;
    margin-bottom: 12px;
}

.instruction-box:last-child {
    margin-bottom: 0;
}

.instruction-box h5 {
    color: #3b82f6;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.instruction-box ol {
    margin: 0;
    padding-left: 18px;
}

.info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.info-table tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 10px 12px;
    color: #a1a1aa;
}

.info-table td:first-child {
    width: 140px;
    color: #e4e4e7;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px 0 0 6px;
}

.info-table td:last-child {
    border-radius: 0 6px 6px 0;
}

.warning-box {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 12px;
    padding: 16px;
}

.warning-box h4 {
    color: #fbbf24;
}

.warning-box ul {
    margin: 0;
}

.warning-box li {
    color: #d4d4d8;
}

/* DexScreener Token Display Styles */
.token-header-banner {
    height: 120px;
    background-size: cover;
    background-position: center;
    border-radius: 16px 16px 0 0;
    margin: -24px -24px 20px -24px;
}

.token-logo {
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.token-price {
    text-align: right;
}

.price-amount {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
}

.price-change {
    font-size: 14px;
    font-weight: 600;
}

.price-change.price-up {
    color: #10b981;
}

.price-change.price-down {
    color: #ef4444;
}

.dex-market-data {
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin: 20px 0;
}

.market-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .market-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

.market-metric {
    text-align: center;
    padding: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.market-metric .metric-label {
    display: block;
    font-size: 11px;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 6px;
}

.market-metric .metric-value {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
}

.price-changes {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 16px;
}

.price-tag {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.price-tag.up {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.price-tag.down {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.token-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.token-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: #e4e4e7;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.token-link:hover {
    background: rgba(99, 102, 241, 0.3);
    border-color: #6366f1;
    color: #ffffff;
    transform: translateY(-2px);
}

.token-link.dexscreener-link {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3) 0%, rgba(139, 92, 246, 0.3) 100%);
    border-color: #6366f1;
}

.token-link.dexscreener-link:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.5) 0%, rgba(139, 92, 246, 0.5) 100%);
}

/* ===== NEW TOKEN CARD STYLES ===== */
.token-card {
    padding: 0;
    overflow: hidden;
}

.token-header-section {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.token-avatar {
    flex-shrink: 0;
}

.token-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid #6366f1;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.3);
    object-fit: cover;
}

.token-placeholder {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 700;
    color: white;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.token-identity {
    flex: 1;
    min-width: 200px;
}

.token-name {
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px 0;
}

.token-symbol {
    display: inline-block;
    background: rgba(99, 102, 241, 0.3);
    color: #a5b4fc;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.token-address {
    font-size: 12px;
    color: #71717a;
    font-family: monospace;
    margin: 8px 0;
    word-break: break-all;
}

.basescan-link {
    font-size: 13px;
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.basescan-link:hover {
    color: #818cf8;
    text-decoration: underline;
}

.token-price-section {
    text-align: right;
    margin-left: auto;
}

.current-price {
    font-size: 32px;
    font-weight: 700;
    color: #ffffff;
}

.price-change-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
}

.price-change-badge.up {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}

.price-change-badge.down {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

/* Section blocks */
.section-block {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.section-block:last-child {
    border-bottom: none;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #e4e4e7;
    margin: 0 0 16px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Market section */
.market-section {
    background: rgba(0, 0, 0, 0.2);
}

.market-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 768px) {
    .market-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.market-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.market-item .label {
    display: block;
    font-size: 11px;
    color: #a1a1aa;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.market-item .value {
    display: block;
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.price-changes-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    justify-content: center;
}

.change-pill {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.change-pill.up {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.change-pill.down {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Info section */
.info-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
}

.info-row .label {
    font-size: 14px;
    color: #a1a1aa;
}

.info-row .value {
    font-size: 14px;
    font-weight: 600;
    color: #e4e4e7;
}

.info-row .value.badge {
    background: rgba(99, 102, 241, 0.2);
    color: #a5b4fc;
    padding: 4px 12px;
    border-radius: 12px;
}

/* Links section */
.links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.link-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.link-btn.website {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border-color: rgba(59, 130, 246, 0.3);
}

.link-btn.social {
    background: rgba(139, 92, 246, 0.15);
    color: #a78bfa;
    border-color: rgba(139, 92, 246, 0.3);
}

.link-btn.dexscreener {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2) 0%, rgba(139, 92, 246, 0.2) 100%);
    color: #a5b4fc;
    border-color: #6366f1;
}

.link-btn.basescan {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.3);
}

.link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.link-btn.website:hover {
    background: rgba(59, 130, 246, 0.25);
}

.link-btn.social:hover {
    background: rgba(139, 92, 246, 0.25);
}

.link-btn.dexscreener:hover {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.35) 0%, rgba(139, 92, 246, 0.35) 100%);
}

.link-btn.basescan:hover {
    background: rgba(16, 185, 129, 0.25);
}

/* ===== TOKEN INTELLIGENCE STYLES ===== */
.token-intel-section {
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, transparent 100%);
}

.token-intel-section > .section-title {
    font-size: 20px;
    margin-bottom: 0;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Intelligence Score */
.score-section {
    padding: 0;
    border: none;
}

.intel-score-header {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    margin-bottom: 16px;
}

.intel-score-circle {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.intel-score-circle .score-value {
    font-size: 36px;
    font-weight: 700;
    line-height: 1;
}

.intel-score-circle .score-label {
    font-size: 12px;
    color: #71717a;
}

.intel-score-info {
    flex: 1;
}

.intel-score-info .section-title {
    margin-bottom: 8px;
}

.score-grade {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* Risk Assessment */
.risk-section {
    border: none;
    padding-top: 0;
}

.risk-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.risk-meter {
    flex: 1;
    height: 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    overflow: hidden;
}

.risk-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.5s ease;
}

.risk-label {
    font-weight: 600;
    font-size: 14px;
    white-space: nowrap;
}

.risk-list {
    margin-bottom: 12px;
}

.risk-list h4 {
    font-size: 13px;
    margin: 0 0 8px 0;
    color: #a1a1aa;
}

.risk-item {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 6px;
}

.risk-item.danger {
    background: rgba(239, 68, 68, 0.15);
    border-left: 3px solid #ef4444;
    color: #fca5a5;
}

.risk-item.warning {
    background: rgba(234, 179, 8, 0.15);
    border-left: 3px solid #eab308;
    color: #fde047;
}

.risk-item.positive {
    background: rgba(16, 185, 129, 0.15);
    border-left: 3px solid #10b981;
    color: #6ee7b7;
}

/* Tokenomics */
.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .tokenomics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tokenomics-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.tokenomics-item .label {
    font-size: 11px;
    color: #71717a;
    text-transform: uppercase;
}

.tokenomics-item .value {
    font-size: 14px;
    font-weight: 600;
    color: #e4e4e7;
}

.tokenomics-item .value.badge {
    display: inline-block;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
}

.tokenomics-item .value.badge.excellent { background: rgba(16, 185, 129, 0.2); color: #10b981; }
.tokenomics-item .value.badge.good { background: rgba(132, 204, 22, 0.2); color: #84cc16; }
.tokenomics-item .value.badge.fair { background: rgba(234, 179, 8, 0.2); color: #eab308; }
.tokenomics-item .value.badge.low { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

/* Technical Analysis */
.technical-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .technical-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.tech-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 16px;
    text-align: center;
}

.tech-label {
    font-size: 11px;
    color: #71717a;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.tech-value {
    font-size: 18px;
    font-weight: 700;
    color: #e4e4e7;
    margin-bottom: 4px;
}

.tech-value.bullish { color: #10b981; }
.tech-value.bearish { color: #ef4444; }

.tech-sub {
    font-size: 11px;
    color: #71717a;
}

.tech-sub.bullish { color: #10b981; }
.tech-sub.bearish { color: #ef4444; }

/* Momentum Bars */
.momentum-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
}

.momentum-section h4 {
    font-size: 13px;
    color: #a1a1aa;
    margin: 0 0 12px 0;
}

.momentum-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}

.momentum-bar:last-child {
    margin-bottom: 0;
}

.momentum-bar .label {
    width: 100px;
    font-size: 12px;
    color: #a1a1aa;
}

.momentum-bar .bar-container {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
}

.momentum-bar .bar-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

.momentum-bar .bar-fill.positive {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
}

.momentum-bar .bar-fill.negative {
    background: linear-gradient(90deg, #ef4444 0%, #f87171 100%);
}

.momentum-bar .value {
    width: 70px;
    text-align: right;
    font-size: 13px;
    font-weight: 600;
    color: #e4e4e7;
}

/* Trading Activity */
.trading-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .trading-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trading-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.trading-item .label {
    font-size: 11px;
    color: #71717a;
    text-transform: uppercase;
}

.trading-item .value {
    font-size: 14px;
    font-weight: 600;
    color: #e4e4e7;
}

.trading-item .value.badge {
    display: inline-block;
    width: fit-content;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
}

.trading-item .value.badge.high { background: rgba(239, 68, 68, 0.2); color: #ef4444; }
.trading-item .value.badge.moderate { background: rgba(234, 179, 8, 0.2); color: #eab308; }
.trading-item .value.badge.low { background: rgba(16, 185, 129, 0.2); color: #10b981; }

/* ===== TRADER ACTIVITY STYLES ===== */
.trader-section {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.05) 0%, transparent 100%);
}

.trader-sentiment {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.sentiment-indicator {
    padding: 12px 24px;
    border-radius: 12px;
    border: 2px solid;
}

.sentiment-label {
    font-size: 18px;
    font-weight: 700;
}

.sentiment-stats {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.sentiment-stats span {
    font-size: 14px;
    color: #a1a1aa;
}

.sentiment-stats strong {
    color: #e4e4e7;
}

/* Pressure Bar */
.pressure-section {
    margin-bottom: 20px;
}

.pressure-header {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #a1a1aa;
    margin-bottom: 8px;
}

.pressure-bar {
    display: flex;
    height: 24px;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
}

.pressure-fill.buy {
    background: linear-gradient(90deg, #10b981 0%, #34d399 100%);
    transition: width 0.5s ease;
}

.pressure-fill.sell {
    background: linear-gradient(90deg, #f87171 0%, #ef4444 100%);
    transition: width 0.5s ease;
}

.pressure-values {
    display: flex;
    justify-content: space-between;
    margin-top: 8px;
    font-size: 14px;
    font-weight: 600;
}

.pressure-values .buy { color: #10b981; }
.pressure-values .sell { color: #ef4444; }

/* Transaction Breakdown */
.txn-breakdown {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 20px;
}

.txn-breakdown h4 {
    font-size: 13px;
    color: #a1a1aa;
    margin: 0 0 12px 0;
}

.txn-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .txn-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.txn-period {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 12px;
    text-align: center;
}

.period-label {
    display: block;
    font-size: 12px;
    color: #71717a;
    margin-bottom: 8px;
    font-weight: 600;
}

.txn-counts {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.txn-counts .buys {
    color: #10b981;
    font-size: 13px;
}

.txn-counts .sells {
    color: #ef4444;
    font-size: 13px;
}

/* Trader Metrics */
.trader-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

@media (max-width: 768px) {
    .trader-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

.trader-metric {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.trader-metric .label {
    font-size: 11px;
    color: #71717a;
    text-transform: uppercase;
}

.trader-metric .value {
    font-size: 16px;
}

/* Wallet Intelligence Styles */
.wallet-intel-header {
    margin-bottom: 20px;
}

.intel-loading {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    color: #a1a1aa;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: #3B82F6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.wallet-classification-banner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15) 0%, transparent 100%);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-left: 4px solid #3B82F6;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.classification-main {
    display: flex;
    align-items: center;
    gap: 16px;
}

.classification-emoji {
    font-size: 36px;
}

.classification-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.classification-label {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.classification-confidence {
    font-size: 13px;
    color: #a1a1aa;
}

.classification-flags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.flag-badge {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: #e4e4e7;
}

.wallet-intel-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.intel-section {
    background: rgba(17, 17, 17, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 24px;
}

.intel-section h3 {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 16px 0;
}

.risk-gauge {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gauge-value {
    font-size: 48px;
    font-weight: 800;
    color: #3B82F6;
}

.gauge-grade {
    font-size: 24px;
    font-weight: 700;
    color: #a1a1aa;
    padding: 4px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.risk-factors {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.risk-factor {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    font-size: 13px;
}

.risk-factor.positive .factor-impact {
    color: #10b981;
}

.risk-factor.negative .factor-impact {
    color: #ef4444;
}

.factor-name {
    color: #e4e4e7;
    flex: 1;
}

.factor-impact {
    font-weight: 600;
}

.factor-reason {
    color: #71717a;
    font-size: 12px;
}

.primary-style {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.style-emoji {
    font-size: 28px;
}

.style-name {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.style-confidence {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
}

.style-description {
    width: 100%;
    color: #a1a1aa;
    font-size: 14px;
    margin: 8px 0 0 0;
}

.secondary-styles {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
}

.secondary-label {
    color: #71717a;
    font-size: 13px;
}

.secondary-badge {
    background: rgba(255, 255, 255, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    color: #e4e4e7;
}

.behavior-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.behavior-metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.behavior-metric .metric-label {
    font-size: 11px;
    color: #71717a;
    text-transform: uppercase;
}

.behavior-metric .metric-val {
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

.behavior-metric .metric-val.positive {
    color: #10b981;
}

.behavior-metric .metric-val.negative {
    color: #ef4444;
}

.summary-text {
    color: #a1a1aa;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    font-weight: 600;
    color: #e4e4e7;
}

/* ============================================
   COMPREHENSIVE MOBILE OPTIMIZATION
   ============================================ */

/* Small tablets and large phones */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }
    
    /* Search container */
    .search-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .search-container input {
        width: 100%;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .search-container button {
        width: 100%;
    }
    
    #clearSearch {
        width: auto;
        padding: 10px 20px;
    }
    
    /* Wallet result cards */
    .wallet-result-card,
    .token-card {
        padding: 16px;
    }
    
    .wallet-header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .wallet-balance-section {
        width: 100%;
        text-align: left;
    }
    
    .wallet-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    
    .stat-card {
        padding: 12px;
    }
    
    .stat-card .stat-value {
        font-size: 18px;
    }
    
    /* Token header */
    .token-header-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .token-price-section {
        width: 100%;
        text-align: left;
    }
    
    /* Profile sections */
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .profile-stats {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Behavior metrics */
    .behavior-grid {
        grid-template-columns: 1fr;
    }
    
    /* Risk analysis */
    .risk-factors {
        gap: 8px;
    }
    
    .risk-factor {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    /* Trending searches */
    .trending-header {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .suggestion-chips {
        justify-content: flex-start;
    }
    
    .suggestion-chip {
        font-size: 12px;
        padding: 6px 10px;
    }
    
    /* X402 Form */
    .x402-form {
        padding: 16px;
    }
    
    .x402-info {
        flex-direction: column;
        gap: 8px;
    }
    
    .button-group {
        flex-direction: column;
    }
    
    .button-group button {
        width: 100%;
    }
    
    /* Accordion */
    .accordion-toggle {
        padding: 12px;
        font-size: 14px;
    }
    
    .accordion-content {
        padding: 12px;
    }
    
    /* Info tables */
    .info-table {
        font-size: 13px;
    }
    
    .info-table td {
        padding: 8px 4px;
    }
}

/* Small phones */
@media (max-width: 480px) {
    body {
        padding: 8px;
    }
    
    /* Mobile header - MUCH LARGER sizes */
    .header-logo {
        width: 140px !important;
        height: 140px !important;
        border-radius: 28px !important;
        box-shadow: 0 8px 32px rgba(59, 130, 246, 0.3) !important;
    }
    
    .main-header h1 {
        font-size: 72px !important;
        font-weight: 800 !important;
        letter-spacing: -1px !important;
    }
    
    .header-brand {
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .main-header {
        padding: 24px 0 !important;
    }
    
    .container {
        padding: 12px;
        margin: 8px 0;
        border-radius: 12px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .section-description {
        font-size: 13px;
    }
    
    /* Wallet stats - single column on very small screens */
    .wallet-stats-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Profile stats */
    .profile-stats {
        grid-template-columns: 1fr !important;
    }
    
    /* Analytics cards */
    .analytics-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Tabs scrollable */
    .tabs {
        gap: 4px;
        padding-bottom: 8px;
    }
    
    .tab-button {
        padding: 8px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    /* Feature tags wrap */
    .hero-features-inline {
        gap: 6px;
    }
    
    .feature-tag {
        padding: 4px 8px;
        font-size: 10px;
    }
    
    /* Wallet icon smaller */
    .wallet-icon {
        font-size: 28px;
    }
    
    .wallet-avatar {
        width: 50px;
        height: 50px;
    }
    
    /* Token avatar */
    .token-avatar {
        width: 50px;
        height: 50px;
    }
    
    .token-image,
    .token-placeholder {
        width: 50px;
        height: 50px;
    }
    
    /* Address truncation */
    .wallet-address-full,
    .token-address {
        font-size: 11px;
        word-break: break-all;
    }
    
    /* Market metrics */
    .market-metrics,
    .market-grid {
        grid-template-columns: 1fr !important;
    }
    
    /* Trading grid */
    .trading-grid,
    .txn-grid,
    .trader-metrics {
        grid-template-columns: 1fr !important;
    }
    
    /* Tokenomics */
    .tokenomics-grid,
    .technical-grid {
        grid-template-columns: 1fr !important;
    }
}

/* Touch-friendly improvements */
@media (hover: none) and (pointer: coarse) {
    button,
    .tab-button,
    .suggestion-chip,
    .accordion-toggle {
        min-height: 44px; /* iOS recommended touch target */
    }
    
    .suggestion-chip {
        padding: 10px 14px;
    }
    
    input[type="text"],
    input[type="number"],
    select {
        min-height: 44px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
}

/* Landscape phone optimization */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section.compact {
        padding: 12px;
    }
    
    .container {
        margin: 8px 0;
    }
}

/* Footer Styles */
.site-footer {
    margin-top: 60px;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.footer-name {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.footer-links {
    display: flex;
    gap: 24px;
}

.footer-link {
    color: #71717a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: #ffffff;
}

.footer-info {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #52525b;
    font-size: 13px;
}

.built-on-base {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.built-on-base:hover {
    color: #60a5fa;
}

.footer-divider {
    color: #3f3f46;
}

.footer-copyright {
    color: #52525b;
}

/* Stealth Steps Visual Flow */
.stealth-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 24px 0;
    padding: 24px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 16px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    min-width: 120px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -10px;
    left: -10px;
    width: 24px;
    height: 24px;
    background: #3b82f6;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 700;
    color: white;
}

.step-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.step-card h4 {
    color: #e4e4e7;
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.step-card p {
    color: #a1a1aa;
    font-size: 12px;
    margin: 0;
}

.step-arrow {
    font-size: 24px;
    color: #3b82f6;
    font-weight: bold;
}

@media (max-width: 768px) {
    .stealth-steps {
        flex-direction: column;
        gap: 12px;
    }
    
    .step-arrow {
        transform: rotate(90deg);
    }
    
    .step-card {
        width: 100%;
        max-width: 200px;
    }
}

/* Key Backup Modal */
.key-backup-warning {
    background: linear-gradient(135deg, rgba(234, 179, 8, 0.15), rgba(234, 88, 12, 0.15));
    border: 1px solid rgba(234, 179, 8, 0.3);
    border-radius: 12px;
    padding: 16px;
    margin-top: 16px;
}

.key-backup-warning h5 {
    color: #fbbf24;
    margin: 0 0 8px 0;
    font-size: 14px;
}

.key-backup-warning p {
    color: #a1a1aa;
    font-size: 13px;
    margin: 0 0 12px 0;
}

.backup-btn {
    background: linear-gradient(135deg, #eab308, #ea580c);
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.2s ease;
}

.backup-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(234, 179, 8, 0.3);
}

/* Live Stats Pulse */
.live-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: #22c55e;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.live-dot {
    width: 6px;
    height: 6px;
    background: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}
