:root {
    /* ═══════════════════════════════════════════════════════════
       FreedomΩ Design System — ΩPedia Design Language
       Clean, minimal, no glow/pulse — Chain 76162
       ═══════════════════════════════════════════════════════════ */
    
    /* Primary Purple (ΩPedia softer purple) */
    --color-primary: #7B2FFF;
    --color-primary-muted: rgba(123, 47, 255, 0.7);
    --color-primary-light: rgba(123, 47, 255, 0.1);
    --color-primary-dark: #6D28D9;
    
    /* Gradient Colors */
    --color-purple-600: #9333EA;
    --color-blue-600: #2563EB;
    --color-cyan-600: #0891B2;
    
    /* Background Colors (ΩPedia deep dark) */
    --color-bg-dark: #0A0A0F;
    --color-secondary: #111120;
    --color-card: rgba(17, 17, 32, 0.8);
    --color-card-dark: rgba(10, 10, 18, 0.95);
    
    /* Text Colors */
    --color-text: #FFFFFF;
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --color-text-dim: rgba(255, 255, 255, 0.5);
    
    /* Status Colors */
    --color-success: #10B981;
    --color-error: #EF4444;
    --color-warning: #F59E0B;
    
    /* Gradient Combinations (subtle, no heavy glow) */
    --gradient-purple: linear-gradient(135deg, #7B2FFF 0%, #9333EA 100%);
    --gradient-purple-blue: linear-gradient(135deg, #7B2FFF 0%, #2563EB 100%);
    --gradient-purple-cyan: linear-gradient(135deg, #7B2FFF 0%, #0891B2 100%);
    --gradient-dark: linear-gradient(135deg, rgba(10, 10, 18, 0.95) 0%, rgba(17, 17, 32, 0.9) 100%);
    --gradient-glass: linear-gradient(135deg, rgba(17, 17, 32, 0.6) 0%, rgba(17, 17, 32, 0.7) 100%);
    --gradient-balance: linear-gradient(135deg, rgba(10, 10, 18, 0.9) 0%, rgba(17, 17, 32, 0.95) 100%);
    --gradient-text: linear-gradient(to right, #7B2FFF, #9333EA);
    
    /* Shadows (clean, no glow) */
    --glow-sm: 0 1px 3px rgba(0, 0, 0, 0.3);
    --glow-md: 0 2px 6px rgba(0, 0, 0, 0.3);
    --glow-lg: 0 4px 12px rgba(0, 0, 0, 0.3);
    --glow-xl: 0 8px 24px rgba(0, 0, 0, 0.3);
    
    /* Shadow Effects (clean) */
    --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-button: 0 2px 6px rgba(0, 0, 0, 0.2);
    --shadow-balance: 0 4px 12px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 4px 16px rgba(0, 0, 0, 0.25);
    
    /* Border Colors (subtle purple tint) */
    --border-light: rgba(123, 47, 255, 0.08);
    --border-primary: rgba(123, 47, 255, 0.15);
    --border-primary-strong: rgba(123, 47, 255, 0.25);
    --border-hover: rgba(123, 47, 255, 0.3);
    
    /* Border Radius (ΩPedia: smaller, cleaner) */
    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-xl: 12px;
    --radius-2xl: 14px;
    --radius-full: 50%;
    
    /* Spacing (8pt Grid) */
    --space-xxs: 4px;
    --space-xs: 8px;
    --space-sm: 12px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-xxl: 48px;
    
    /* Backdrop Filters */
    --blur-light: blur(4px);
    --blur-medium: blur(8px);
    --blur-heavy: blur(12px);
    --blur-glass: blur(12px) saturate(150%);
    
    /* Transitions (ΩPedia: smooth 0.2s, no spring/bounce) */
    --transition-smooth: all 0.2s ease;
    --transition-fast: all 0.15s ease;
    --transition-spring: all 0.2s ease;
    
    /* Typography (ΩPedia fonts) */
    --font-main: 'Inter', sans-serif;
    --font-heading: 'Space Grotesk', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    
    /* Legacy variable mapping for compatibility */
    --primary-color: var(--color-primary);
    --secondary-color: var(--color-purple-600);
    --background-color: var(--color-bg-dark);
    --text-color: var(--color-text);
    --text-secondary: var(--color-text-muted);
    --success-color: var(--color-success);
    --warning-color: var(--color-warning);
    --danger-color: var(--color-error);
    --border-radius-sm: var(--radius-sm);
    --border-radius-md: var(--radius-md);
    --border-radius-lg: var(--radius-lg);
    --border-radius-xl: var(--radius-xl);
    --border-color: var(--border-primary);
    --glass-background: var(--color-card);
    --glass-border: var(--border-primary);
    --glow-effect: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

html {
    background-color: #0A0A0F;
    overflow-x: hidden;
}

body {
    background-color: transparent;
    color: var(--text-color);
    position: relative;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    min-height: 100vh;
    overflow-x: hidden;
}

/* Removed body::before - using matrix-bg.js for background effect */

/* Global link styling — ΩPedia purple, never browser-default blue */
a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.2s ease;
}
a:hover {
    color: var(--color-purple-600);
}
a:visited {
    color: var(--color-primary);
}

h1, h2, h3, .nav-tabs .tab {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

h1 {
    font-size: 20px;
}

h2 {
    font-size: 16px;
    position: relative;
    display: inline-block;
}

h2::after, h3::after, .panel-header h2::after, .card h3::after {
    display: none !important;
}

h3 {
    font-size: 14px;
    font-weight: 600;
}

code, pre, .hash, .address, .seed-phrase {
    font-family: 'JetBrains Mono', monospace;
}

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(10, 10, 18, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 15px 0;
    border-bottom: 1px solid rgba(123, 47, 255, 0.1);
    position: relative;
}

header::after {
    display: none;
}

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

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

.logo img {
    height: 36px;
    width: 36px;
    margin-right: 10px;
    border-radius: 50%;
    object-fit: cover;
    transition: opacity 0.2s ease;
    border: 1px solid rgba(123, 47, 255, 0.2);
}

/* logoPulse animation removed for ΩPedia clean design */

.logo:hover img {
    opacity: 0.85;
}

.logo h1 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #FFFFFF;
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.02em;
}

/* textGlow animation removed for ΩPedia clean design */

.search-box {
    flex: 1;
    max-width: 500px;
    margin: 0 20px;
    display: flex;
    position: relative;
}

/* pulseBorder animation removed */

.search-box::before {
    display: none;
}

/* rotateBorderGlow animation removed */

.search-box input {
    flex: 1;
    padding: 10px 16px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    font-size: 14px;
    border: 1px solid rgba(123, 47, 255, 0.2);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    transition: all 0.2s ease;
    caret-color: var(--color-primary);
    font-family: 'Inter', sans-serif;
    letter-spacing: 0;
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.search-box input:focus {
    outline: none;
    border-color: rgba(123, 47, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.07);
}

.search-box button {
    padding: 0 var(--space-md);
    height: 42px;
    background: var(--color-primary);
    color: white;
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    font-weight: 500;
    font-family: var(--font-main);
    font-size: 14px;
    transition: all 0.2s ease;
}

.search-box button:hover {
    background: var(--color-primary-dark);
}

.search-box button:active {
    opacity: 0.9;
}

.network-selector select {
    padding: 10px 16px;
    background-color: rgba(123, 47, 255, 0.08);
    color: var(--text-color);
    border: 1px solid rgba(123, 47, 255, 0.15);
    border-radius: var(--radius-md);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%237B2FFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 40px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 13px;
}

.network-selector select:hover, .network-selector select:focus {
    border-color: var(--primary-color);
    outline: none;
}

nav {
    background: rgba(10, 10, 18, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(123, 47, 255, 0.08);
}

.nav-tabs {
    display: flex;
    list-style: none;
    overflow-x: auto;
}

.nav-tabs .tab {
    padding: 12px 18px;
    cursor: pointer;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    position: relative;
    font-weight: 500;
    letter-spacing: 0;
    color: var(--text-secondary);
    font-size: 13px;
}

.nav-tabs .tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.2s ease;
}

.nav-tabs .tab:hover {
    background-color: rgba(123, 47, 255, 0.04);
    color: var(--text-color);
}

.nav-tabs .tab.active {
    color: var(--primary-color);
    font-weight: 600;
}

.nav-tabs .tab.active::after {
    transform: scaleX(1);
}

/* Navigation Icon Styles */
.nav-tabs .tab a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.nav-icon {
    font-size: 16px;
    transition: var(--transition-fast);
}

.nav-text {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0;
}

.nav-tabs .tab:hover .nav-icon {
    color: var(--primary-color);
}

.nav-tabs .tab.active .nav-icon {
    color: var(--primary-color);
}

/* Network Submenu Styles */
.submenu {
    background-color: rgba(17, 17, 32, 0.9);
    border-bottom: 1px solid rgba(123, 47, 255, 0.08);
    display: none;
    transition: all 0.2s ease;
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 10;
}

.submenu::before {
    display: none;
}

.submenu.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.submenu-tabs {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow-x: auto;
}

.submenu-tab {
    padding: 12px 18px;
    cursor: pointer;
    white-space: nowrap;
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
}

.submenu-tab a {
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
}

.submenu-tab:hover, 
.submenu-tab:hover a {
    color: var(--primary-color);
}

.submenu-tab::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.2s ease;
    transform: translateX(-50%);
    opacity: 0;
}

.submenu-tab:hover::after {
    width: 30px;
    opacity: 0.6;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Dropdown menu styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-button {
    background-color: transparent;
    color: var(--text-color);
    border: none;
    cursor: pointer;
    padding: 12px 18px;
    font-size: 13px;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}

.dropdown-icon {
    font-size: 0.7rem;
    margin-left: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    min-width: 200px;
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-md);
    box-shadow: var(--card-shadow);
    z-index: 100;
}

.dropdown-content a {
    color: var(--text-color);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    border-bottom: 1px solid rgba(10, 10, 20, 0.8);
    transition: all 0.2s ease;
}

.dropdown-content a:last-child {
    border-bottom: none;
}

.dropdown-content a:hover {
    background-color: rgba(123, 47, 255, 0.1);
    color: var(--accent-color);
    padding-left: 20px;
}

.nav-dropdown:hover .dropdown-content,
.dropdown-button:focus + .dropdown-content,
.dropdown-content:hover {
    display: block;
}

.nav-dropdown:hover .dropdown-icon,
.dropdown-button:focus .dropdown-icon {
    transform: rotate(180deg);
}

/* Make sure dropdown button has consistent style with tabs */
.dropdown-button {
    color: var(--text-secondary);
    font-weight: 500;
}

.dropdown-button:hover,
.dropdown-button:focus {
    color: var(--text-color);
    outline: none;
}

/* Network status bar styles */
.network-status-bar {
    background: rgba(10, 10, 18, 0.5);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(123, 47, 255, 0.08);
    padding: 10px 0;
    margin-bottom: 20px;
}

.network-status-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.network-selector select {
    background-color: rgba(123, 47, 255, 0.06);
    color: var(--color-primary);
    border: 1px solid rgba(123, 47, 255, 0.15);
    border-radius: var(--radius-md);
    padding: 6px 30px 6px 12px;
    font-weight: 500;
    font-size: 13px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%237B2FFF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 12px;
    transition: all 0.2s ease;
}

.network-selector select:hover, .network-selector select:focus {
    border-color: var(--primary-color);
    outline: none;
}

.blockchain-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.85rem;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-value {
    font-weight: 600;
    font-size: 13px;
    color: var(--color-primary);
    font-family: 'JetBrains Mono', monospace;
}

@media (max-width: 768px) {
    .network-status-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .blockchain-stats {
        width: 100%;
        justify-content: space-between;
    }
    
    .nav-tabs {
        overflow-x: auto;
        padding-bottom: 5px;
        flex-wrap: nowrap;
    }
    
    .nav-tabs .tab {
        white-space: nowrap;
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .dropdown-menu {
        width: 180px;
        right: -20px;
    }
}

main {
    padding: 30px 0;
    min-height: calc(100vh - 200px);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.dashboard-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Dashboard modules - Clean Card Design (ΩPedia) */
.dashboard-module {
    background: rgba(17, 17, 32, 0.6);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(123, 47, 255, 0.1);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.dashboard-module::before {
    display: none;
}

.dashboard-module::after {
    display: none;
}

.dashboard-module:hover {
    border-color: rgba(123, 47, 255, 0.18);
}

.dashboard-module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 14px;
    position: relative;
    border-bottom: 1px solid rgba(123, 47, 255, 0.1);
}

.dashboard-module-header h2 {
    font-size: 15px;
    margin: 0;
    color: var(--text-color);
    position: relative;
    display: inline-block;
    letter-spacing: 0.5px;
    font-family: 'Space Grotesk', sans-serif;
}

.dashboard-module-header h2::before {
    display: none;
}

.dashboard-module-header h2::after {
    display: none !important;
}

.dashboard-module-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(123, 47, 255, 0.08);
    opacity: 1;
}

.dashboard-module-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.dashboard-module-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
}

.dashboard-stat {
    background: rgba(17, 17, 32, 0.5);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    border: 1px solid rgba(123, 47, 255, 0.1);
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.dashboard-stat::before {
    display: none;
}

/* shimmer animation removed */

.dashboard-stat:hover {
    border-color: rgba(123, 47, 255, 0.18);
}

.dashboard-stat-value {
    font-size: 20px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 10px 0;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0;
}

.dashboard-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    letter-spacing: 0.02em;
}

.dashboard-stat-change {
    font-size: 0.85rem;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-top: 5px;
}

.change-up {
    color: #10B981;
    background: rgba(16, 185, 129, 0.1);
}

.change-down {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.1);
}

.token-list {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin: 5px 0 15px 0;
}

.token-list th,
.token-list td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(123, 47, 255, 0.08);
    transition: background-color 0.2s ease;
}

.token-list tr {
    transition: all 0.2s ease;
    position: relative;
}

.token-list tr:hover td {
    background-color: rgba(123, 47, 255, 0.03);
}

.token-list tr:hover {
}

.token-list th {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 12px;
}

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

.token-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-weight: bold;
}

.token-icon.umb {
    background: linear-gradient(135deg, #7B2FFF, #9333EA);
    color: white;
}

.token-icon.usud {
    background: linear-gradient(45deg, #26a69a, #00796b);
    color: white;
}

.token-icon.eth {
    background: linear-gradient(45deg, #9c27b0, #673ab7);
    color: white;
}

.token-icon.btc {
    background: linear-gradient(45deg, #ff9800, #f57c00);
    color: white;
}

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

.token-price {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 600;
}

.activity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

.activity-card {
    background: rgba(17, 17, 32, 0.5);
    border-radius: var(--radius-md);
    padding: 18px;
    border: 1px solid rgba(123, 47, 255, 0.1);
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease;
}

.activity-card::before {
    display: none;
}

.activity-card:hover {
    border-color: rgba(123, 47, 255, 0.18);
}

.activity-card h3 {
    margin-top: 0;
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 14px;
    border-bottom: 1px solid rgba(123, 47, 255, 0.08);
    padding-bottom: 10px;
    position: relative;
    letter-spacing: -0.01em;
    font-family: 'Space Grotesk', sans-serif;
}

.activity-stat {
    font-size: 24px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 10px 0 8px 0;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0;
    position: relative;
    display: inline-block;
}

.activity-stat::after {
    display: none;
}

.activity-card:hover .activity-stat::after {
    display: none;
}

.activity-label {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 6px;
    letter-spacing: 0.3px;
}

.cta-button {
    background: var(--color-primary);
    color: white;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 10px;
    font-family: 'Inter', sans-serif;
}

.cta-button::before {
    display: none;
}

.cta-button:hover {
    background: var(--color-primary-dark);
}

.cta-button:hover::before {
    display: none;
}

.cta-button:active {
    opacity: 0.9;
}

.card {
    background: rgba(17, 17, 32, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(123, 47, 255, 0.1);
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.card::before {
    display: none;
}

.card::after {
    display: none;
}

.card:hover {
    border-color: rgba(123, 47, 255, 0.18);
}

.card:hover::after {
    display: none;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    position: relative;
    display: inline-block;
    font-family: 'Space Grotesk', sans-serif;
}

.card h3::after {
    display: none !important;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.status-dot.online {
    background-color: var(--success-color);
}

.status-dot.offline {
    background-color: var(--danger-color);
}

.card-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--primary-color);
}

.section-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .section-panels {
        grid-template-columns: 1fr;
    }
}

.panel {
    background-color: rgba(17, 17, 32, 0.6);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(123, 47, 255, 0.1);
    overflow: hidden;
    transition: all 0.2s ease;
    position: relative;
}

.panel::before {
    display: none;
}

.panel:hover {
    border-color: rgba(123, 47, 255, 0.18);
}

.panel:hover::before {
    display: none;
}

/* Dashboard Sections & Cards */
.dashboard-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 18px;
    color: var(--text-color);
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(123, 47, 255, 0.1);
    position: relative;
    font-family: 'Space Grotesk', sans-serif;
    letter-spacing: -0.01em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 80px;
    height: 2px;
    background: var(--primary-color);
    opacity: 0.5;
}

.dashboard-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.metric-card, .market-card, .stat-card, .protocol-card {
    background: rgba(17, 17, 32, 0.6);
    border: 1px solid rgba(123, 47, 255, 0.1);
    border-radius: 10px;
    padding: 18px;
    flex: 1;
    min-width: 280px;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.metric-card:hover, .market-card:hover, .stat-card:hover, .protocol-card:hover {
    border-color: rgba(123, 47, 255, 0.18);
}

.metric-card::before, .market-card::before, .stat-card::before, .protocol-card::before {
    display: none;
}

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

.metric-header h3, .market-card h3, .stat-card h3, .protocol-card h3 {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.info-icon {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(76, 175, 80, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--accent-color);
    cursor: help;
}

.metric-value, .protocol-value, .stat-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin: 8px 0;
    font-family: 'JetBrains Mono', monospace;
}

.metric-change, .growth-indicator {
    font-size: 0.9rem;
    font-weight: 500;
    margin: 5px 0 15px;
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
}

.positive {
    color: #4caf50;
    background: rgba(76, 175, 80, 0.1);
}

.negative {
    color: #f44336;
    background: rgba(244, 67, 54, 0.1);
}

.chart-container {
    margin-top: 10px;
    height: 150px;
    position: relative;
}

.chart {
    width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(180deg, rgba(76, 175, 80, 0.05) 0%, transparent 80%);
    border-radius: 8px;
}

.chart::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
                rgba(76, 175, 80, 0.2) 0%, 
                rgba(76, 175, 80, 0.1) 25%, 
                rgba(76, 175, 80, 0.05) 50%,
                rgba(76, 175, 80, 0.1) 75%,
                rgba(76, 175, 80, 0.2) 100%);
    opacity: 0.3;
    border-radius: 8px;
    pointer-events: none;
}

.chart-tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.chart-tab {
    background: transparent;
    border: 1px solid rgba(123, 47, 255, 0.15);
    color: var(--text-secondary);
    padding: 3px 8px;
    font-size: 0.75rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.chart-tab.active, .chart-tab:hover {
    background: rgba(123, 47, 255, 0.1);
    color: var(--primary-color);
    border-color: rgba(123, 47, 255, 0.3);
}

/* CTA Section */
.cta-section {
    background: rgba(17, 17, 32, 0.7);
    border-radius: 10px;
    margin: 30px 0;
    padding: 28px;
    border: 1px solid rgba(123, 47, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    display: none;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-button {
    background: var(--color-primary);
    color: white;
    font-weight: 500;
    padding: 10px 28px;
    border: none;
    border-radius: var(--radius-md);
    font-size: 14px;
    margin-top: 15px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cta-button:hover {
    background: var(--color-primary-dark);
}

/* Token Table */
.token-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.token-table th, .token-table td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid rgba(123, 47, 255, 0.08);
}

.token-table th {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.85rem;
}

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

.token-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.75rem;
    background: rgba(123, 47, 255, 0.15);
    color: var(--text-color);
}

.token-icon.umb {
    background: linear-gradient(135deg, #7B2FFF, #9333EA);
    color: white;
}

.token-icon.usud {
    background: linear-gradient(135deg, #26a69a, #00796b);
    color: white;
}

.token-icon.eth {
    background: linear-gradient(135deg, #9c27b0, #673ab7);
    color: white;
}

.token-icon.btc {
    background: linear-gradient(135deg, #ff9800, #f57c00);
    color: white;
}

.token-icon.usdt {
    background: linear-gradient(135deg, #009688, #00796b);
    color: white;
}

.change-positive {
    color: #4caf50;
    font-weight: 500;
}

.change-negative {
    color: #f44336;
    font-weight: 500;
}

/* User Activity & Protocol Cards */
.stat-card, .protocol-card {
    display: flex;
    flex-direction: column;
}

.stat-subtext, .protocol-subtext {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.muted {
    opacity: 0.7;
}

.highlight {
    color: var(--accent-color);
    font-weight: 500;
}

.mini-chart {
    height: 50px;
    margin-top: auto;
    background: linear-gradient(180deg, rgba(76, 175, 80, 0.05) 0%, transparent 100%);
    border-radius: 4px;
}

/* Project Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: auto;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: rgba(17, 17, 32, 0.95);
    margin: 5% auto;
    width: 90%;
    max-width: 600px;
    border-radius: 10px;
    padding: 28px;
    position: relative;
    border: 1px solid rgba(123, 47, 255, 0.15);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--accent-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(123, 47, 255, 0.15);
    border-radius: 8px;
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    transition: all 0.2s ease;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    border-color: var(--primary-color);
    outline: none;
}

.submit-button {
    background: var(--color-primary);
    color: white;
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.submit-button:hover {
    background: var(--color-primary-dark);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(123, 47, 255, 0.08);
    background: rgba(10, 10, 18, 0.3);
    position: relative;
}

.panel-header::after {
    display: none;
}

.panel-header h2 {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Inter', sans-serif;
}

.panel-header h2::before {
    display: none;
}

.view-all {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 11px;
    font-weight: 500;
    opacity: 0.7;
    padding: 4px 10px;
    border: 1px solid rgba(123, 47, 255, 0.15);
    border-radius: 6px;
    transition: all 0.2s ease;
}

.view-all:hover {
    background-color: rgba(123, 47, 255, 0.08);
    border-color: rgba(123, 47, 255, 0.3);
}

.panel-body {
    padding: 10px 0;
    max-height: 400px;
    overflow-y: auto;
    transition: all 0.3s ease;
}

.panel-body::-webkit-scrollbar {
    width: 6px;
}

.panel-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.panel-body::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.panel-body::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 5px;
}

.data-table th {
    text-align: left;
    padding: 8px 14px;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.35);
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    border-bottom: 1px solid rgba(123, 47, 255, 0.08);
    background: transparent;
    position: relative;
}

.data-table th::after {
    display: none;
}

.data-table td {
    padding: 8px 14px;
    border-bottom: 1px solid rgba(123, 47, 255, 0.05);
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
}

.data-table td a {
    color: var(--primary-color);
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    text-decoration: none;
}

.data-table tr {
    transition: all 0.2s ease;
    position: relative;
}

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

.data-table tr:hover td {
    background-color: rgba(123, 47, 255, 0.03);
}

.data-table tr:hover {
}

.data-table tr::before {
    display: none;
}

.data-table tr:hover::before {
    display: none;
}

.hash, .address {
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    position: relative;
    display: inline-block;
}

.hash a, .address a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 4px;
    transition: all 0.2s ease;
    background-color: rgba(123, 47, 255, 0.04);
    display: inline-block;
    max-width: 140px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hash a:hover, .address a:hover {
    background-color: rgba(123, 47, 255, 0.1);
    color: var(--secondary-color);
}

.full-width {
    width: 100%;
}

.loading {
    text-align: center;
    color: var(--text-secondary);
    padding: 30px 0;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 15px;
}

.pagination button {
    padding: 8px 16px;
    background-color: rgba(17, 17, 32, 0.6);
    border: 1px solid rgba(123, 47, 255, 0.15);
    color: var(--text-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
    font-size: 13px;
}

.pagination button::before {
    display: none;
}

.pagination button:hover:not(:disabled) {
    background-color: rgba(123, 47, 255, 0.08);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination button:hover:not(:disabled)::before {
    display: none;
}

.pagination button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Validators Tab Styles */
.validators-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--card-background);
    padding: 15px;
    border-radius: 8px;
    text-align: center;
}

.stat-card h3 {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* Wallet Tab Styles */
.wallet-input {
    display: flex;
    margin-bottom: 30px;
}

.wallet-input input {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid rgba(123, 47, 255, 0.15);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 14px;
    transition: all 0.2s ease;
    caret-color: var(--primary-color);
}

.wallet-input input:focus {
    outline: none;
    border-color: rgba(123, 47, 255, 0.4);
}

.wallet-input button {
    padding: 10px 18px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.2s ease;
}

.wallet-input button::before {
    display: none;
}

.wallet-input button:hover {
    background-color: var(--color-primary-dark);
}

.wallet-input button:hover::before {
    display: none;
}

.hidden {
    display: none;
}

.wallet-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.wallet-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-right: 15px;
}

.copy-btn {
    padding: 5px 10px;
    background-color: rgba(17, 17, 32, 0.6);
    border: 1px solid rgba(123, 47, 255, 0.15);
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
    color: var(--text-secondary);
}

.copy-btn:hover {
    background-color: rgba(123, 47, 255, 0.1);
    border-color: var(--primary-color);
}

.wallet-balances {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.balance-card {
    background-color: var(--card-background);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.balance-card h4 {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.balance-value {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* API Tab Styles */
.api-intro {
    margin-bottom: 30px;
}

.api-base-url {
    background-color: var(--card-background);
    padding: 15px;
    border-radius: 8px;
    margin-top: 20px;
}

.api-base-url h3 {
    margin-bottom: 10px;
    font-size: 1rem;
}

code {
    font-family: 'JetBrains Mono', monospace;
    background-color: rgba(17, 17, 32, 0.8);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--primary-color);
    font-size: 13px;
}

.api-endpoints {
    display: grid;
    gap: 20px;
}

.api-endpoint {
    background-color: var(--card-background);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.api-endpoint h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.api-endpoint code {
    display: inline-block;
    margin-bottom: 15px;
}

.api-endpoint p {
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.api-endpoint h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
    color: var(--text-secondary);
}

pre {
    background-color: rgba(17, 17, 32, 0.6);
    padding: 14px;
    border-radius: 8px;
    overflow-x: auto;
    color: var(--text-color);
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    border: 1px solid rgba(123, 47, 255, 0.08);
}

/* Search Results */
.back-button {
    display: inline-block;
    margin-top: 20px;
    padding: 8px 15px;
    background-color: var(--card-background);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.back-button:hover {
    background-color: rgba(10, 10, 20, 0.8);
    border-color: var(--primary-color);
}

/* Footer - Minimal Design */
footer {
    background: rgba(10, 10, 18, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(123, 47, 255, 0.08);
    margin-top: var(--space-xl);
}

.footer-minimal {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-brand img {
    height: 28px;
    width: 28px;
}

.footer-brand span {
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-color);
    letter-spacing: 0.5px;
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    justify-content: center;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(123, 47, 255, 0.08);
    border: 1px solid rgba(123, 47, 255, 0.12);
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 16px;
}

.social-icon:hover {
    background: rgba(123, 47, 255, 0.15);
    border-color: rgba(123, 47, 255, 0.3);
}

.social-icon:active {
    opacity: 0.9;
}

.footer-copyright {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* Desktop Footer */
@media (min-width: 768px) {
    .footer-minimal {
        flex-direction: row;
        justify-content: space-between;
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE LAYOUT OPTIMIZATION
   Mobile-first approach with 8pt grid spacing
   ═══════════════════════════════════════════════════════════ */

/* Desktop Layout (1200px+) */
@media (min-width: 1200px) {
    .container {
        max-width: 1280px;
        padding: 0 var(--space-xl);
    }
    
    main {
        padding: var(--space-xxl) 0;
    }
    
    .dashboard-cards {
        grid-template-columns: repeat(4, 1fr);
        gap: var(--space-lg);
    }
    
    .dashboard-stat {
        padding: var(--space-lg);
    }
    
    .dashboard-stat-value {
        font-size: 32px;
    }
    
    .nav-tabs .tab {
        padding: var(--space-md) var(--space-lg);
    }
    
    .nav-text {
        font-size: 15px;
    }
    
    .dashboard-module {
        padding: var(--space-xl);
    }
}

/* Tablet Layout (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    main {
        padding: var(--space-xl) 0;
    }
    
    .dashboard-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: var(--space-md);
    }
    
    .dashboard-stat-value {
        font-size: 26px;
    }
    
    .nav-tabs .tab {
        padding: var(--space-sm) var(--space-md);
    }
}

/* Mobile Layout (< 768px) */
@media (max-width: 767px) {
    /* Container */
    .container {
        padding: 0 var(--space-md);
    }
    
    main {
        padding: var(--space-lg) 0;
    }
    
    /* Header */
    header {
        padding: var(--space-sm) 0;
    }
    
    header .container {
        flex-direction: column;
        gap: var(--space-sm);
        align-items: stretch;
    }
    
    .logo {
        justify-content: center;
    }
    
    .logo img {
        height: 40px;
        width: 40px;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    /* Search Box */
    .search-box {
        margin: var(--space-xs) 0;
        max-width: 100%;
        width: 100%;
    }
    
    .search-box input {
        padding: var(--space-sm) var(--space-md);
        font-size: 14px;
    }
    
    .search-box button {
        padding: 0 var(--space-sm);
        height: 44px;
        font-size: 13px;
    }
    
    /* Network Selector */
    .network-selector {
        display: none;
    }
    
    /* Navigation */
    nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .nav-tabs {
        padding: 0;
        gap: 0;
        flex-wrap: nowrap;
        overflow-x: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }
    
    .nav-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .nav-tabs .tab {
        padding: var(--space-sm) var(--space-md);
        flex-shrink: 0;
    }
    
    .nav-tabs .tab a {
        flex-direction: column;
        gap: 4px;
    }
    
    .nav-icon {
        font-size: 18px;
    }
    
    .nav-text {
        font-size: 11px;
        letter-spacing: 0.01em;
    }
    
    /* Network Status Bar */
    .network-status-bar {
        padding: var(--space-xs) 0;
    }
    
    .network-status-content {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .blockchain-stats {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }
    
    .stat-item {
        font-size: 12px;
    }
    
    #status-block-height {
        font-size: 16px;
    }
    
    /* Dashboard Stats */
    .dashboard-cards {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }
    
    .dashboard-stat {
        padding: var(--space-md);
    }
    
    .dashboard-stat-label {
        font-size: 10px;
        letter-spacing: 0.03em;
    }
    
    .dashboard-stat-value {
        font-size: 20px;
    }
    
    .dashboard-stat-change {
        font-size: 10px;
        padding: 3px 6px;
    }
    
    /* Dashboard Modules */
    .dashboard-module {
        padding: var(--space-md);
        margin-bottom: var(--space-lg);
        border-radius: var(--radius-md);
    }
    
    .dashboard-module-header h2 {
        font-size: 16px;
    }
    
    /* Network Overview */
    .status-grid {
        grid-template-columns: 1fr 1fr;
        gap: var(--space-sm);
    }
    
    .status-card {
        padding: var(--space-md);
    }
    
    .status-label {
        font-size: 11px;
    }
    
    .status-value {
        font-size: 18px;
    }
    
    /* Tables */
    .data-table {
        font-size: 12px;
    }
    
    .data-table th,
    .data-table td {
        padding: var(--space-sm) var(--space-xs);
    }
    
    /* Footer */
    footer {
        padding: var(--space-lg) 0;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-lg);
    }
    
    .footer-section {
        width: 100%;
    }
    
    .footer-section h4 {
        font-size: 14px;
        margin-bottom: var(--space-sm);
    }
    
    .footer-links-list {
        gap: var(--space-xs);
    }
    
    .footer-links-list li a {
        font-size: 13px;
    }
    
    /* Wallet */
    .wallet-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }
    
    /* Block Details */
    .block-header {
        flex-direction: column;
        gap: var(--space-sm);
        padding: var(--space-md);
    }
    
    .block-title h3 {
        font-size: 1.2rem;
    }
}

/* Small Mobile (< 375px) */
@media (max-width: 374px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .dashboard-cards {
        grid-template-columns: 1fr;
    }
    
    .nav-tabs .tab {
        padding: var(--space-xs) var(--space-sm);
    }
    
    .nav-text {
        font-size: 10px;
    }
    
    .dashboard-stat-value {
        font-size: 18px;
    }
}

/* TRON-inspired Block Details Styles */
.block-details-container {
    background-color: var(--card-background);
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 30px;
}

.block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px;
    background: rgba(17, 17, 32, 0.4);
    border-bottom: 1px solid rgba(123, 47, 255, 0.08);
    position: relative;
}

.block-header::after {
    display: none;
}

.block-title {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.block-title h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0;
    letter-spacing: -0.01em;
    font-family: 'Space Grotesk', sans-serif;
}

.block-icon {
    font-size: 1.6rem;
    color: var(--secondary-color);
}

.block-time {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-secondary);
    background-color: rgba(17, 17, 32, 0.5);
    padding: 6px 14px;
    border-radius: 8px;
    border: 1px solid rgba(123, 47, 255, 0.1);
    font-size: 13px;
}

.time-icon {
    color: var(--primary-color);
}

.block-info-card {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 12px;
    padding: 18px;
    background-color: rgba(10, 10, 18, 0.3);
}

@media (min-width: 768px) {
    .block-info-card {
        grid-template-columns: repeat(3, 1fr);
    }
}

.block-info-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    padding: 12px;
    background-color: rgba(17, 17, 32, 0.4);
    border-radius: var(--radius-md);
    border: 1px solid rgba(123, 47, 255, 0.08);
    transition: all 0.2s ease;
}

.info-item:hover {
    border-color: rgba(123, 47, 255, 0.18);
}

.info-item.full-width {
    grid-column: 1 / -1;
}

.info-label {
    color: var(--text-secondary);
    font-size: 12px;
    letter-spacing: 0.02em;
    margin-bottom: 6px;
    font-weight: 500;
    font-family: 'Space Grotesk', sans-serif;
}

.info-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    color: var(--text-color);
    word-break: break-all;
}

.info-value.highlight {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.2rem;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    margin-left: 8px;
    padding: 2px 5px;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background-color: rgba(123, 47, 255, 0.1);
}

.tabs-container {
    margin-top: 20px;
}

.tab-buttons {
    display: flex;
    gap: 2px;
    padding: 0 18px;
    border-bottom: 1px solid rgba(123, 47, 255, 0.08);
    background-color: rgba(10, 10, 18, 0.3);
}

.tab-btn {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    padding: 12px 18px;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 13px;
    letter-spacing: -0.01em;
    position: relative;
    transition: all 0.2s ease;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--primary-color);
    transition: transform 0.2s ease;
}

.tab-btn:hover {
    color: var(--text-color);
    background-color: rgba(123, 47, 255, 0.04);
}

.tab-btn.active {
    color: var(--primary-color);
    font-weight: 600;
}

.tab-btn.active::after {
    transform: translateX(-50%) scaleX(1);
}

.tab-content {
    padding: 18px;
    background-color: rgba(10, 10, 18, 0.2);
}

.transactions-list {
    min-height: 200px;
}

.no-data-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 0;
    text-align: center;
    color: var(--text-secondary);
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: var(--border-radius-md);
    border: 1px dashed rgba(123, 47, 255, 0.2);
    margin: 15px 0;
}

.no-data-container p {
    font-size: 16px;
    margin-top: 10px;
}

.no-data {
    text-align: center;
    color: var(--text-secondary);
    padding: 20px;
    font-style: italic;
}

/* Block info card hover effects */
.info-item:hover .info-label {
    color: var(--accent-color);
}

/* Confirmation counter for blocks */
.confirmation-count {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: rgba(123, 47, 255, 0.1);
    padding: 4px 8px;
    border-radius: 0.5rem;
    font-size: 14px;
    margin-left: 10px;
    border: 1px solid rgba(123, 47, 255, 0.3);
}

.confirmation-count .count {
    color: var(--accent-color);
    font-weight: 600;
}

/* Responsive design updates for block details */
@media (max-width: 768px) {
    .block-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .block-time {
        align-self: flex-start;
    }
    
    .block-info-card {
        grid-template-columns: 1fr;
    }
    
    .tab-buttons {
        overflow-x: auto;
        padding-bottom: 5px;
    }
    
    .tab-btn {
        padding: 12px 15px;
        font-size: 0.8rem;
        white-space: nowrap;
    }
}

/* ═══════════════════════════════════════════════════════════
   Utility Text Classes
   ═══════════════════════════════════════════════════════════ */

.text-primary { color: var(--color-primary); }
.text-error { color: var(--color-error); }
.text-muted { color: var(--color-text-dim); }
.text-accent { color: #C084FC; }
.text-info { color: #60A5FA; }
.font-mono { font-family: 'JetBrains Mono', monospace; }

/* ═══════════════════════════════════════════════════════════
   Ω-Memory Stream
   ═══════════════════════════════════════════════════════════ */

.memory-stream {
    margin-top: 24px;
}

.memory-stream .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.memory-stream .panel-header h2 {
    font-family: 'Inter', sans-serif;
}

.memory-filters {
    display: flex;
    gap: 8px;
    padding: 0 18px 16px;
    flex-wrap: wrap;
}

.memory-filter-btn {
    padding: 6px 14px;
    border-radius: 6px;
    border: 1px solid rgba(123, 47, 255, 0.25);
    background: transparent;
    color: var(--color-text-muted);
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s, border-color 0.15s;
}

.memory-filter-btn:hover {
    border-color: rgba(123, 47, 255, 0.5);
    color: var(--color-text);
}

.memory-filter-btn.active {
    background: rgba(123, 47, 255, 0.15);
    border-color: var(--color-primary);
    color: var(--color-primary);
    font-weight: 500;
}

.memory-cards {
    display: flex;
    flex-direction: column;
    gap: 1px;
    padding: 0 18px 18px;
}

.memory-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: var(--color-card);
    border: 1px solid rgba(123, 47, 255, 0.1);
    border-radius: 8px;
    transition: border-color 0.15s;
}

.memory-card:hover {
    border-color: rgba(123, 47, 255, 0.3);
}

.memory-card.loading-placeholder {
    justify-content: center;
    color: var(--color-text-dim);
    font-size: 14px;
    padding: 24px;
}

.memory-card-icon {
    font-size: 20px;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
    padding-top: 2px;
}

.memory-card-body {
    flex: 1;
    min-width: 0;
}

.memory-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.memory-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-family: 'Inter', sans-serif;
}

.memory-badge-public { background: rgba(123, 47, 255, 0.15); color: #A78BFA; }
.memory-badge-private { background: rgba(239, 68, 68, 0.15); color: #F87171; }
.memory-badge-shared { background: rgba(245, 158, 11, 0.15); color: #FBBF24; }
.memory-badge-system { background: rgba(16, 185, 129, 0.15); color: #6EE7B7; }

.memory-card-author {
    font-size: 12px;
    color: var(--color-text-dim);
    font-family: 'JetBrains Mono', monospace;
}

.memory-card-time {
    font-size: 12px;
    color: var(--color-text-dim);
    margin-left: auto;
}

.memory-content {
    font-size: 13px;
    line-height: 1.5;
    color: var(--color-text-muted);
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    word-break: break-word;
}

.memory-encrypted {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: var(--color-text-dim);
    font-style: italic;
}

.memory-card-hash {
    margin-top: 6px;
    font-size: 11px;
    color: var(--color-text-dim);
    font-family: 'JetBrains Mono', monospace;
    opacity: 0.6;
}

.memory-card-hash a {
    color: inherit;
    text-decoration: none;
}

.memory-card-hash a:hover {
    color: var(--color-primary);
}

/* Type badge used in transaction tables */
.tx-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 500;
    white-space: nowrap;
}

@media (max-width: 768px) {
    .memory-filters {
        padding: 0 12px 12px;
    }
    .memory-cards {
        padding: 0 12px 12px;
    }
    .memory-card {
        padding: 12px;
    }
    .memory-card-time {
        margin-left: 0;
        flex-basis: 100%;
        order: 3;
    }
}

/* --- Memory Write UI --- */
.memory-write-toggle {
    display: inline-block;
    margin: 12px 0;
    padding: 8px 18px;
    background: #7B2FFF;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.memory-write-toggle:hover {
    background: #6a22e6;
}
.memory-write-panel {
    background: rgba(17, 17, 32, 0.8);
    border: 1px solid rgba(123, 47, 255, 0.2);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 16px;
}
.memory-auth-prompt {
    text-align: center;
}
.memory-auth-prompt p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 12px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}
.memory-auth-form {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}
.memory-auth-form input {
    padding: 8px 12px;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s;
}
.memory-auth-form input:focus {
    border-color: #7B2FFF;
}
.memory-form-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.memory-form-header span {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 14px;
    font-weight: 500;
}
.memory-write-panel select,
.memory-write-panel input[type="text"],
.memory-write-panel textarea {
    display: block;
    width: 100%;
    padding: 8px 12px;
    margin-bottom: 10px;
    background: rgba(10, 10, 15, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s;
}
.memory-write-panel select:focus,
.memory-write-panel input[type="text"]:focus,
.memory-write-panel textarea:focus {
    border-color: #7B2FFF;
}
.memory-write-panel textarea {
    resize: vertical;
    min-height: 80px;
}
.btn-primary {
    padding: 8px 18px;
    background: #7B2FFF;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary:hover {
    background: #6a22e6;
}
.btn-sm {
    padding: 4px 10px;
    background: transparent;
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    cursor: pointer;
    transition: color 0.2s, border-color 0.2s;
}
.btn-sm:hover {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.5);
}
.memory-status-success {
    color: #22c55e;
    font-size: 13px;
    margin-top: 8px;
    display: block;
}
.memory-status-error {
    color: #ef4444;
    font-size: 13px;
    margin-top: 8px;
    display: block;
}
#memory-write-status {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    margin-top: 8px;
}
#memory-auth-status {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
}

/* Utility classes for consistent styling */
.text-secondary { color: #9333EA; }
.text-muted { color: #9ca3af; }
.text-light { color: #e2e8f0; font-weight: 600; }
.text-accent { color: #C084FC; }
.mono-sm { font-family: 'JetBrains Mono', monospace; font-size: 12px; }

.info-card {
    background: rgba(123, 47, 255, 0.06);
    padding: 14px;
    border-radius: 8px;
    border: 1px solid rgba(123, 47, 255, 0.15);
}
.info-card .info-label {
    color: rgba(255,255,255,0.5);
    font-size: 11px;
    margin-bottom: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}
.info-card .info-value {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    font-size: 14px;
}

.link-pill {
    color: var(--color-primary);
    text-decoration: none;
    padding: 8px 20px;
    border: 1px solid rgba(123, 47, 255, 0.25);
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.2s ease;
}
.link-pill:hover {
    background: rgba(123, 47, 255, 0.1);
    border-color: rgba(123, 47, 255, 0.4);
}

.chain-filter-btn {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid rgba(123, 47, 255, 0.2);
    background: transparent;
    color: #9ca3af;
    cursor: pointer;
    font-size: 13px;
}
.chain-filter-btn.active {
    background: rgba(123, 47, 255, 0.2);
    border-color: rgba(123, 47, 255, 0.4);
    color: #c084fc;
}

.llm-card {
    background: rgba(123, 47, 255, 0.06);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid rgba(123, 47, 255, 0.15);
}
.llm-query-btn {
    padding: 10px;
    background: rgba(123, 47, 255, 0.2);
    border: 1px solid rgba(123, 47, 255, 0.4);
    border-radius: 6px;
    color: #c084fc;
    cursor: pointer;
    text-align: left;
}
.llm-query-btn:hover {
    background: rgba(123, 47, 255, 0.3);
}