/* Dark Theme with Eye-Popping Colors - Look Into Pulsechain - CACHE BUST: 20250918-05 */

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #000000;
    min-height: 100vh;
    color: #e0e0e0;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Navigation Tabs - Semi-transparent across all tabs */
.tab-navigation {
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent background for all tabs */
    backdrop-filter: blur(10px); /* Glass effect */
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: none;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Semi-transparent navigation bar for Validators tab */
body.validators-active .tab-navigation {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: none;
    border-bottom: none;
}

/* Semi-transparent navigation bar for PulseX tab */
body.pulsex-active .tab-navigation {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    box-shadow: none;
    border-bottom: none;
}


.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    height: auto;
    min-height: 70px;
}

.nav-tabs {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: nowrap;
}

.nav-tabs-top {
    margin-bottom: 0px;
}

.nav-tabs-bottom {
    margin-top: 0px;
    opacity: 0.9;
}

.nav-tabs-bottom .nav-tab {
    font-size: 0.9rem;
    padding: 10px 18px;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-radius: 25px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 700;
    position: relative;
    overflow: hidden;
}


.nav-tab:hover {
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.nav-tab.active {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    font-weight: 500;
}

.nav-tab i {
    font-size: 1.1rem;
}

/* Main Content */
.main-content {
    flex: 1;
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px 20px;
    width: 100%;
}

/* Add top margin to all tab headers for better spacing from navigation */
.tab-content .overview-header,
.tab-content .analytics-header,
.tab-content .validators-header,
.tab-content .comparison-header,
.tab-content .settings-header {
    margin-top: 60px;
}

/* Reduce gap between PulseX header and charts to overlap with video */
#pulsex-stats .charts-container {
    margin-top: -40px; /* Negative margin to move chart up and overlap with video */
}

/* Reduce gap between Bridge Stats header and content to overlap with video */
#bridge-stats .charts-container {
    margin-top: -40px; /* Negative margin to move content up and overlap with video */
}

/* PulseX Stats page background - simple black */
#pulsex-stats {
    background: #000000;
    min-height: 100vh;
}

/* PulseX Stats header with video background - slightly smaller */
#pulsex-stats .analytics-header {
    position: relative;
    padding: 180px 20px 160px 20px; /* Reduced bottom padding to make video slightly smaller */
    border-radius: 0;
    background: #000000;
    border: none;
    margin: -60px auto 0 auto;
    max-width: 1200px;
    transition: margin-top 0.3s ease;
    overflow: hidden;
}

/* PulseX Video Wrapper - Creates the oval with shadowing */
#pulsex-stats .pulsex-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 0;
}

/* Add gradient overlay to create soft edges - darker shadowing */
#pulsex-stats .pulsex-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        transparent 0%, 
        transparent 15%, 
        rgba(0, 0, 0, 0.2) 25%, 
        rgba(0, 0, 0, 0.4) 35%, 
        rgba(0, 0, 0, 0.6) 45%, 
        rgba(0, 0, 0, 0.8) 55%, 
        rgba(0, 0, 0, 0.9) 65%, 
        rgba(0, 0, 0, 0.95) 75%, 
        rgba(0, 0, 0, 0.98) 85%, 
        rgba(0, 0, 0, 1) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* PulseX Video - Just the video content */
#pulsex-stats .pulsex-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* 40% opacity as requested */
}

/* Make content boxes transparent on PulseX page so video shows through */
#pulsex-stats .analytics-header h1,
#pulsex-stats .analytics-header p {
    position: relative;
    z-index: 10; /* Ensure text is above video */
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for readability */
}

#pulsex-stats .tutorial-navigation {
    position: relative;
    z-index: 10; /* Ensure buttons are above video */
}

/* Extend gradient into navigation area when PulseX tab is active */
body.pulsex-active #pulsex-stats .analytics-header {
    margin-top: -120px;
}

/* Make PulseX chart container transparent so video shows through - but keep chart content visible */
#pulsex-stats .chart-card {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#pulsex-stats .chart-header {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

#pulsex-stats .chart-header h3,
#pulsex-stats .chart-header p {
    position: relative;
    z-index: 10; /* Ensure text is above video */
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for readability */
}

/* Keep chart canvas visible - don't make the actual chart transparent */
#pulsex-stats .chart-container canvas {
    opacity: 1 !important;
    background: transparent !important;
}

/* Back to Top button on PulseX Stats page - match navigation button styling */
#pulsex-stats .back-to-top-btn {
    background: linear-gradient(135deg, #00ff00, #ff0000) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5) !important; /* Neon glow */
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3) !important; /* Neon glow */
    transition: all 0.3s ease !important;
}

#pulsex-stats .back-to-top-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 25px rgba(255, 0, 0, 0.4), 0 0 30px rgba(0, 255, 0, 0.4) !important; /* Enhanced glow on hover */
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.7) !important;
}

#pulsex-stats .back-to-top-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 15px rgba(255, 0, 0, 0.3), 0 0 20px rgba(0, 255, 0, 0.3) !important; /* Maintained glow on active */
}

/* Add gradient effect behind first chart section */
#pulsex-stats .charts-container {
    position: relative;
}

#pulsex-stats .charts-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(90deg, 
        rgba(255, 0, 0, 0.05) 0%, 
        rgba(255, 0, 0, 0.02) 20%, 
        transparent 40%, 
        transparent 60%, 
        rgba(0, 255, 0, 0.02) 80%, 
        rgba(0, 255, 0, 0.05) 100%);
    z-index: -1;
    pointer-events: none;
}

/* PulseX Stats navigation buttons - neon green and red gradient */
#pulsex-stats .tutorial-nav-btn {
    background: linear-gradient(135deg, #00ff00, #ff0000);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    padding: 15px 30px;
    transition: all 0.3s ease;
    min-width: 150px;
    justify-content: center;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

#pulsex-stats .tutorial-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px rgba(255, 0, 0, 0.4), 0 0 30px rgba(0, 255, 0, 0.4);
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.7);
}

#pulsex-stats .tutorial-nav-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 15px rgba(255, 0, 0, 0.3), 0 0 20px rgba(0, 255, 0, 0.3);
}


/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

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

/* Portfolio Tab - Direct Integration, No iframe */
.tab-content#portfolio {
    padding: 0;
    margin: 0;
    width: auto !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

.tab-content#portfolio .portfolio-container {
    min-height: auto;
    max-width: 1200px !important; /* Constrain portfolio container to 1200px */
    margin: 0 auto !important;
    padding: 20px;
    background: #000000;
    color: #ffffff;
    overflow-y: auto;
    width: auto !important; /* Override global width: 100% */
    box-sizing: border-box !important;
}

/* Override main-content width for portfolio tab */
.tab-content#portfolio {
    width: auto !important;
    max-width: 1200px !important;
    margin: 0 auto !important;
}

/* Override main-content container when portfolio tab is active */
.main-content {
    max-width: 1400px;
}

/* Force main-content to be 1200px when portfolio is active */
.main-content:has(#portfolio.active) {
    max-width: 1200px !important;
}

/* Alternative approach - target portfolio tab directly */
#portfolio {
    max-width: 1200px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ULTRA SPECIFIC - Force main-content to be 1200px when portfolio is active */
body .main-content:has(.tab-content#portfolio.active),
body .main-content:has(#portfolio.active),
.main-content:has(.tab-content#portfolio.active),
.main-content:has(#portfolio.active) {
    max-width: 1200px !important;
    width: 1200px !important;
}

/* JavaScript-based solution - when portfolio-active class is added */
.main-content.portfolio-active {
    max-width: 1200px !important;
    width: 1200px !important;
}

/* Portfolio Section Width Constraints - AGGRESSIVE */
#portfolio .portfolio-section,
.tab-content#portfolio .portfolio-section,
div#portfolio .portfolio-section {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Force portfolio sections to be constrained - Following pattern from other tabs */
#portfolio .defi-positions-container,
#portfolio .hex-stakes-section,
#portfolio .nfts-container,
#portfolio .transactions-container,
#portfolio .token-list-container,
#portfolio .holdings-chart-section {
    max-width: 1200px !important; /* Constrain to 1200px max-width */
    margin-left: auto !important; /* Center the section */
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
    box-sizing: border-box !important;
}

/* Portfolio-specific wallet input section - 600px max-width */
#portfolio .wallet-input-section,
.tab-content#portfolio .wallet-input-section,
div#portfolio .wallet-input-section {
    max-width: 600px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ULTRA SPECIFIC - Force wallet input to 600px for portfolio only DESKTOP ONLY */
@media (min-width: 769px) {
    body #portfolio .wallet-input-section,
    body .tab-content#portfolio .wallet-input-section,
    body div#portfolio .wallet-input-section,
    .main-content.portfolio-active .wallet-input-section {
        max-width: 600px !important;
        width: 600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}

/* Portfolio-specific wallet input container - 600px max-width */
#portfolio .wallet-input-container,
.tab-content#portfolio .wallet-input-container,
div#portfolio .wallet-input-container {
    max-width: 600px !important;
    margin: 0 auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* ULTRA SPECIFIC - Force wallet input container to 600px for portfolio only DESKTOP ONLY */
@media (min-width: 769px) {
    body #portfolio .wallet-input-container,
    body .tab-content#portfolio .wallet-input-container,
    body div#portfolio .wallet-input-container,
    .main-content.portfolio-active .wallet-input-container {
        max-width: 600px !important;
        width: 100% !important;
        margin: 0 auto !important;
        box-sizing: border-box !important;
    }
}

#portfolio .token-list-container,
.tab-content#portfolio .token-list-container,
div#portfolio .token-list-container {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

#portfolio .holdings-chart-section,
.tab-content#portfolio .holdings-chart-section,
div#portfolio .holdings-chart-section {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* Target specific portfolio section IDs */
#overview-section,
#positions-section,
#hex-stakes-section,
#transactions-section,
#nfts-section {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
}

/* CLEAN SLATE: All transaction table CSS removed from main styles.css */

/* Target specific containers */
#tokenListContainer {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}


/* PulseX Stats Background */
#pulsex-stats {
    min-height: 100vh;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Overview Tab Styles */
.overview-header {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

/* Landing Page Header Video Background */
#overview .overview-header {
    position: relative;
    padding: 180px 20px 120px 20px;
    border-radius: 0;
    background: #000000;
    border: none;
    margin: -60px auto 0 auto;
    max-width: 1200px;
    transition: margin-top 0.3s ease;
    overflow: hidden;
}

/* Landing Video Wrapper - Creates the oval with shadowing */
#overview .landing-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 0;
}

/* Add gradient overlay to create soft edges */
#overview .landing-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        transparent 0%, 
        transparent 20%, 
        rgba(0, 0, 0, 0.1) 30%, 
        rgba(0, 0, 0, 0.3) 40%, 
        rgba(0, 0, 0, 0.5) 50%, 
        rgba(0, 0, 0, 0.7) 60%, 
        rgba(0, 0, 0, 0.85) 70%, 
        rgba(0, 0, 0, 0.95) 80%, 
        rgba(0, 0, 0, 0.98) 90%, 
        rgba(0, 0, 0, 1) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Landing Video - Just the video content */
#overview .landing-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* 40% opacity as requested */
}

/* Dark gradient overlay for seamless blend - creates soft edges inside the oval */
#overview .landing-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        transparent 0%, 
        transparent 15%, 
        rgba(0, 0, 0, 0.05) 25%, 
        rgba(0, 0, 0, 0.15) 35%, 
        rgba(0, 0, 0, 0.3) 45%, 
        rgba(0, 0, 0, 0.5) 55%, 
        rgba(0, 0, 0, 0.7) 65%, 
        rgba(0, 0, 0, 0.85) 75%, 
        rgba(0, 0, 0, 0.95) 85%, 
        rgba(0, 0, 0, 0.98) 92%, 
        rgba(0, 0, 0, 1) 100%);
    border-radius: 50%;
    pointer-events: none;
    /* Create soft, textured edges with multiple shadow layers */
    box-shadow: 
        inset 0 0 20px rgba(0, 0, 0, 0.1),
        inset 0 0 40px rgba(0, 0, 0, 0.2),
        inset 0 0 80px rgba(0, 0, 0, 0.3),
        inset 0 0 120px rgba(0, 0, 0, 0.4),
        inset 0 0 160px rgba(0, 0, 0, 0.5),
        inset 0 0 200px rgba(0, 0, 0, 0.6),
        inset 0 0 240px rgba(0, 0, 0, 0.7),
        inset 0 0 280px rgba(0, 0, 0, 0.8),
        inset 0 0 320px rgba(0, 0, 0, 0.9),
        inset 0 0 360px rgba(0, 0, 0, 0.95),
        inset 0 0 400px rgba(0, 0, 0, 1);
    /* Add blur for ultra-soft, textured edges */
    filter: blur(2px);
}

/* Time Range Selector Overlay - Positioned in front of video */
#overview .time-range-selector-overlay {
    position: relative;
    z-index: 10; /* Above video */
    background: transparent !important;
    border: none !important;
    margin-top: 20px;
}

/* Make content boxes transparent on landing page so video shows through */
#overview .overview-header {
    background: transparent !important;
    border: none !important;
}

#overview .overview-header h1,
#overview .overview-header p {
    position: relative;
    z-index: 10; /* Ensure text is above video */
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for readability */
}

#overview .portfolio-button-container {
    position: relative;
    z-index: 10; /* Ensure button is above video */
}

/* Make timeframe selection transparent */
#overview .timeframe-selection {
    background: transparent !important;
    border: none !important;
}

#overview .timeframe-selection button {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

#overview .timeframe-selection button:hover {
    background: rgba(255, 255, 255, 0.1) !important;
}

#overview .timeframe-selection button.active {
    background: rgba(230, 25, 230, 0.8) !important;
}

/* Make exclude OA supply button transparent */
#overview .exclude-oa-supply {
    background: rgba(0, 0, 0, 0.3) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

/* Extend gradient into navigation area when overview tab is active */
body.overview-active #overview .overview-header {
    margin-top: -120px;
}

/* Pulse Stats header with video background - slightly smaller */
#pulse-stats .validators-header {
    position: relative;
    padding: 180px 20px 160px 20px; /* Reduced bottom padding to make video slightly smaller */
    border-radius: 0;
    background: #000000;
    border: none;
    margin: -60px auto 0 auto;
    max-width: 1200px;
    transition: margin-top 0.3s ease;
    overflow: hidden;
}

/* Pulse Video Wrapper - Creates the oval with shadowing */
#pulse-stats .pulse-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 0;
}

/* Add gradient overlay to create soft edges - darker shadowing */
#pulse-stats .pulse-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        transparent 0%, 
        transparent 15%, 
        rgba(0, 0, 0, 0.2) 25%, 
        rgba(0, 0, 0, 0.4) 35%, 
        rgba(0, 0, 0, 0.6) 45%, 
        rgba(0, 0, 0, 0.8) 55%, 
        rgba(0, 0, 0, 0.9) 65%, 
        rgba(0, 0, 0, 0.95) 75%, 
        rgba(0, 0, 0, 0.98) 85%, 
        rgba(0, 0, 0, 1) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Pulse Video - Just the video content */
#pulse-stats .pulse-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25; /* Reduced opacity to make video less bright */
}

/* Make content boxes transparent on Pulse page so video shows through */
#pulse-stats .validators-header h1,
#pulse-stats .validators-header p {
    position: relative;
    z-index: 10; /* Ensure text is above video */
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for readability */
}

#pulse-stats .tutorial-navigation {
    position: relative;
    z-index: 10; /* Ensure buttons are above video */
}

/* Reduce gap between Pulse header and charts to overlap with video - consolidated into main rule below */

/* Pulse Stats negative values - magenta pink instead of red */
#pulse-stats .negative,
#pulse-stats .history-stats .negative,
#pulse-stats .tvl-stats .negative,
#pulse-stats .history-stat-value.negative {
    color: #e619e6 !important; /* Magenta pink for negative values */
}

/* Top 40 Chains section - match DeFi Protocols styling exactly */
#pulse-stats .chains-section .chain-card,
#pulse-stats .global-chains-section .chain-card,
#pulse-stats .chains-grid .chain-card {
    background: rgba(255, 255, 255, 0.02) !important;
    border: 1px solid rgba(255, 255, 255, 0.05) !important;
    border-radius: 16px !important;
    padding: 20px !important;
    margin: 5px !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3) !important;
    transition: all 0.3s ease !important;
    text-align: center !important;
}

/* Hover effects removed as requested */

/* HEX Stats page background - simple black (same as PulseX) */
#hex-stats {
    background: #000000;
    min-height: 100vh;
}

/* HEX Stats header with video background - same as PulseX */
#hex-stats .analytics-header {
    position: relative;
    padding: 180px 20px 160px 20px; /* Same padding as PulseX */
    border-radius: 0;
    background: #000000; /* Pure black background like PulseX */
    border: none;
    margin: -60px auto 0 auto;
    max-width: 1200px;
    transition: margin-top 0.3s ease;
    overflow: hidden;
}

/* HEX Video Wrapper - Creates the oval with shadowing (same as PulseX) */
#hex-stats .hex-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 0;
}

/* Add gradient overlay to create soft edges - darker shadowing (same as PulseX) */
#hex-stats .hex-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        transparent 0%, 
        transparent 15%, 
        rgba(0, 0, 0, 0.2) 25%, 
        rgba(0, 0, 0, 0.4) 35%, 
        rgba(0, 0, 0, 0.6) 45%, 
        rgba(0, 0, 0, 0.7) 55%, 
        rgba(0, 0, 0, 0.8) 65%, 
        rgba(0, 0, 0, 0.9) 75%, 
        rgba(0, 0, 0, 0.95) 85%, 
        rgba(0, 0, 0, 0.98) 95%, 
        rgba(0, 0, 0, 1) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* HEX Video - Just the video content (same as PulseX) */
#hex-stats .hex-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* 40% opacity as requested */
}

#hex-stats .analytics-header h1,
#hex-stats .analytics-header p {
    position: relative;
    z-index: 10;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

#hex-stats .tutorial-navigation {
    position: relative;
    z-index: 10;
}

/* HEX Stats navigation buttons - use HEX gradient background with white text */
#hex-stats .tutorial-nav-btn {
    background: linear-gradient(45deg, #ff0, #ff00ff) !important;
    color: #ffffff !important;
    border: none !important;
    background-origin: border-box !important;
    background-clip: padding-box, border-box !important;
    -webkit-background-clip: padding-box, border-box !important;
}

/* HEX Stats back to top button - use HEX gradient */
#hex-stats .back-to-top-btn {
    background: linear-gradient(45deg, #ff0, #ff00ff) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3) !important;
}

/* PLSX Stats navigation buttons - use same green and red gradient as PulseX */
#plsx-stats .tutorial-nav-btn {
    background: linear-gradient(135deg, #00ff00, #ff0000) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 15px 30px !important;
    transition: all 0.3s ease !important;
    min-width: 150px !important;
    justify-content: center !important;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5) !important;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3) !important;
}

#plsx-stats .tutorial-nav-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 25px rgba(255, 0, 0, 0.4), 0 0 30px rgba(0, 255, 0, 0.4) !important;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.7) !important;
}

#plsx-stats .tutorial-nav-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 15px rgba(255, 0, 0, 0.3), 0 0 20px rgba(0, 255, 0, 0.3) !important;
}

/* PLSX Stats page background - simple black (same as PulseX) */
#plsx-stats {
    background: #000000;
    min-height: 100vh;
}

/* PLSX Stats header with video background - same as PulseX */
#plsx-stats .analytics-header {
    position: relative;
    padding: 180px 20px 160px 20px; /* Same padding as PulseX */
    border-radius: 0;
    background: transparent; /* Transparent background so video shows through */
    border: none;
    margin: -60px auto 0 auto;
    max-width: 1200px;
    transition: margin-top 0.3s ease;
    overflow: hidden;
}

/* PLSX Video Wrapper - Creates the oval with shadowing (same as PulseX) */
#plsx-stats .plsx-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 0;
}

/* Add gradient overlay to create soft edges - darker shadowing (same as PulseX) */
#plsx-stats .plsx-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        transparent 0%, 
        transparent 15%, 
        rgba(0, 0, 0, 0.2) 25%, 
        rgba(0, 0, 0, 0.4) 35%, 
        rgba(0, 0, 0, 0.6) 45%, 
        rgba(0, 0, 0, 0.7) 55%, 
        rgba(0, 0, 0, 0.8) 65%, 
        rgba(0, 0, 0, 0.9) 75%, 
        rgba(0, 0, 0, 0.95) 85%, 
        rgba(0, 0, 0, 0.98) 95%, 
        rgba(0, 0, 0, 1) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* PLSX Video - Just the video content (same as PulseX) */
#plsx-stats .plsx-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* 40% opacity as requested */
}

#plsx-stats .analytics-header h1,
#plsx-stats .analytics-header p {
    position: relative;
    z-index: 10; /* Ensure text is above video */
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for readability */
}

#plsx-stats .tutorial-navigation {
    position: relative;
    z-index: 10; /* Ensure buttons are above video */
}

/* Override any conflicting background rules for PLSX Stats header */
#plsx-stats .analytics-header {
    background: transparent !important; /* Force transparent background */
}

/* Ensure PLSX Stats page background is black but header is transparent */
#plsx-stats {
    background: #000000 !important;
    min-height: 100vh;
}

/* Make sure video wrapper is visible */
#plsx-stats .plsx-video-wrapper {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 100% !important;
    height: 100% !important;
    border-radius: 50% !important;
    overflow: hidden !important;
    z-index: 0 !important;
}

/* Ensure video is visible */
#plsx-stats .plsx-video {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    opacity: 0.4 !important;
}

/* Nav bar "PulseChain Stats" text - same gradient as TVL value */
.home-tab-gradient span {
    background: linear-gradient(135deg, #f00, #e619e6, #8000ff, #0080ff, #00eaff) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Nav bar hover effect - same gradient as TVL value */
.nav-tab:hover {
    background: linear-gradient(135deg, #f00, #e619e6, #8000ff, #0080ff, #00eaff) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

/* Extend gradient into navigation area when Pulse tab is active */
body.pulse-active #pulse-stats .validators-header {
    margin-top: -120px;
}

/* Validator Page Header Gradient Background */
#validators .validators-header {
    position: relative;
    padding: 180px 20px 120px 20px;
    border-radius: 0;
    background: #000000;
    backdrop-filter: blur(10px);
    border: none;
    margin: -60px auto 0 auto;
    max-width: 1200px;
    transition: margin-top 0.3s ease;
}

/* Extend gradient into navigation area when validators tab is active */
body.validators-active #validators .validators-header {
    margin-top: -120px;
}

/* Validators Video Wrapper - Creates the oval with shadowing */
#validators .validators-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 0;
}

/* Add gradient overlay to create soft edges - darker shadowing */
#validators .validators-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        transparent 0%, 
        transparent 15%, 
        rgba(0, 0, 0, 0.2) 25%, 
        rgba(0, 0, 0, 0.4) 35%, 
        rgba(0, 0, 0, 0.6) 45%, 
        rgba(0, 0, 0, 0.8) 55%, 
        rgba(0, 0, 0, 0.9) 65%, 
        rgba(0, 0, 0, 0.95) 75%,
        rgba(0, 0, 0, 1) 85%,
        rgba(0, 0, 0, 1) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Validators Video - Just the video content */
#validators .validators-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Increased from 0.4 to 0.6 for higher visibility */
}

/* Make content boxes transparent on Validators page so video shows through */
#validators .validators-header h1,
#validators .validators-header p {
    position: relative;
    z-index: 10; /* Ensure text is above video */
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for readability */
}

#validators .tutorial-navigation {
    position: relative;
    z-index: 10; /* Ensure buttons are above video */
}

/* PumpTires Video Wrapper - Creates the oval with shadowing */
#pumptires-stats .pumptires-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 0;
}

/* Add gradient overlay to create soft edges - darker shadowing */
#pumptires-stats .pumptires-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        transparent 0%, 
        transparent 15%, 
        rgba(0, 0, 0, 0.2) 25%, 
        rgba(0, 0, 0, 0.4) 35%, 
        rgba(0, 0, 0, 0.6) 45%, 
        rgba(0, 0, 0, 0.8) 55%, 
        rgba(0, 0, 0, 0.9) 65%, 
        rgba(0, 0, 0, 0.95) 75%,
        rgba(0, 0, 0, 1) 85%,
        rgba(0, 0, 0, 1) 100%);
    z-index: 2;
    pointer-events: none;
}

/* PumpTires Video - Just the video content */
#pumptires-stats .pumptires-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Same opacity as validators video */
}

/* PumpTires Stats header with video background - same as validators */
#pumptires-stats .analytics-header {
    position: relative;
    padding: 180px 20px 120px 20px;
    border-radius: 0;
    background: #000000;
    backdrop-filter: blur(10px);
    border: none;
    margin: -60px auto 0 auto;
    max-width: 1200px;
    transition: margin-top 0.3s ease;
    overflow: hidden;
}

/* Make content boxes transparent on PumpTires page so video shows through */
#pumptires-stats .analytics-header h1,
#pumptires-stats .analytics-header p {
    position: relative;
    z-index: 10; /* Ensure text is above video */
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for readability */
}

/* Make PumpTires burn section container background transparent */
#pumptires-stats .burn-section {
    background: transparent;
}

/* Back to Top button on PumpTires Stats page - match PulseX styling */
#pumptires-stats .back-to-top-btn {
    background: linear-gradient(135deg, #00ff00, #ff0000) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5) !important; /* Neon glow */
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3) !important; /* Neon glow */
    transition: all 0.3s ease !important;
}

#pumptires-stats .back-to-top-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 25px rgba(255, 0, 0, 0.4), 0 0 30px rgba(0, 255, 0, 0.4) !important; /* Enhanced glow on hover */
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.7) !important;
}

#pumptires-stats .back-to-top-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 15px rgba(255, 0, 0, 0.3), 0 0 20px rgba(0, 255, 0, 0.3) !important; /* Maintained glow on active */
}

.overview-header h1 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.overview-header p {
    font-size: 1.2rem;
    color: #a0a0a0;
    font-weight: 400;
    margin-bottom: 20px;
}

/* Portfolio Button Styles */
.portfolio-button-container {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.portfolio-button {
    background: linear-gradient(135deg, #e619e6, #00d4ff);
    border: none;
    border-radius: 12px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    padding: 15px 30px;
    transition: all 0.3s ease;
    min-width: 150px;
    justify-content: center;
}

.portfolio-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(230, 25, 230, 0.3);
}

.portfolio-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(230, 25, 230, 0.3);
}

.portfolio-button i {
    font-size: 1.2rem;
}

/* Time Range Selector - Overview Tab Only */
#overview .time-range-selector {
    display: flex;
    gap: 5px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 25px;
    padding: 8px;
    justify-content: center;
    margin: 0 auto;
    max-width: 500px;
}

.time-range-btn {
    padding: 10px 16px;
    background: transparent;
    border: none;
    border-radius: 20px;
    color: #a0a0a0;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
    min-width: 50px;
    outline: none !important;
    box-shadow: none !important;
}

.time-range-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
}

.time-range-btn.active {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-weight: 600;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.exclude-oa-section {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

.exclude-oa-btn {
    background: rgba(255, 255, 255, 0.02);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.exclude-oa-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.exclude-oa-btn.active {
    background: linear-gradient(30deg, #f00 0%, #e619e6 25%, #8000ff 50%, #0080ff 75%, #00eaff 100%);
    border-color: transparent;
    color: #ffffff;
}

/* Main Chart Section - Overview Tab Only */
#overview .main-chart-section {
    margin-top: -40px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Main Chart Section - PLSX Stats Tab Only */
#plsx-stats .main-chart-section {
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Main Chart Section - Gas Stats Tab Only */
#gas-stats .main-chart-section {
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Main Chart Section - Pulse Stats Tab Only */
#pulse-stats .main-chart-section {
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Main Chart Section - HEX Stats Tab Only */
#hex-stats .main-chart-section {
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Main Chart Section - Bridge Stats Tab Only */
#bridge-stats .main-chart-section {
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Main Chart Section - Validators Tab Only */
#validators .main-chart-section {
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Main Chart Section - Token Rankings Tab Only */
#token-rankings .main-chart-section {
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Main Chart Section - ETH Treasuries Tab Only */
#eth-treasuries .main-chart-section {
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Main Chart Card - Overview Tab Only */
#overview .main-chart-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Main Chart Card - PLSX Stats Tab Only */
#plsx-stats .main-chart-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Main Chart Card - Gas Stats Tab Only */
#gas-stats .main-chart-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Main Chart Card - Pulse Stats Tab Only */
#pulse-stats .main-chart-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Main Chart Card - HEX Stats Tab Only */
#hex-stats .main-chart-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Main Chart Card - Bridge Stats Tab Only */
#bridge-stats .main-chart-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Main Chart Card - Validators Tab Only */
#validators .main-chart-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Main Chart Card - Token Rankings Tab Only */
#token-rankings .main-chart-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

/* Main Chart Card - ETH Treasuries Tab Only */
#eth-treasuries .main-chart-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.main-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

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

.main-token-logo {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.token-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.token-logo-img.secondary {
    width: 100%;
    height: 100%;
}

.main-token-details h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.token-description {
    color: #a0a0a0;
    font-size: 1rem;
    font-weight: 500;
}

.day-counter {
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.day-label {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
}

.day-number {
    color: #00eaff;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(0, 234, 255, 0.2);
}

/* PLSX specific green color override */
#total-burned-plsx {
    color: #2FF924;
    text-shadow: 0 0 5px rgba(47, 249, 36, 0.2);
}

.hex-day-number {
    color: #e619e6;
    font-size: 1.1rem;
    font-weight: 600;
    text-shadow: 0 0 5px rgba(230, 25, 230, 0.2);
}

.hex-day-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 10px 0 20px 0;
    padding: 8px 0;
}

.hex-day-counter .day-label {
    color: #a0a0a0;
    font-size: 1.0rem;
    font-weight: 500;
}

.main-price-info {
    text-align: right;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.main-price-display {
    margin-bottom: 10px;
}

.main-current-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #00eaff;
}

.main-price-change {
    font-size: 1.2rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 20px;
    display: inline-block;
}

.main-price-change.positive {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.main-price-change.negative {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

/* Main Chart Container - Overview Tab Only */
#overview .main-chart-container {
    height: 180px;
    margin-bottom: 20px;
    position: relative;
}

/* Main Chart Container - PLSX Stats Tab Only */
#plsx-stats .main-chart-container {
    height: 200px;
    margin-bottom: 20px;
    position: relative;
}

/* Main Chart Container - Gas Stats Tab Only */
#gas-stats .main-chart-container {
    height: 200px;
    margin-bottom: 20px;
    position: relative;
}

/* Main Chart Container - Pulse Stats Tab Only */
#pulse-stats .main-chart-container {
    height: 200px;
    margin-bottom: 20px;
    position: relative;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Main Chart Container - HEX Stats Tab Only */
#hex-stats .main-chart-container {
    height: 200px;
    margin-bottom: 20px;
    position: relative;
}

/* Main Chart Container - Bridge Stats Tab Only */
#bridge-stats .main-chart-container {
    height: 200px;
    margin-bottom: 20px;
    position: relative;
}

/* Main Chart Container - Validators Tab Only */
#validators .main-chart-container {
    height: 200px;
    margin-bottom: 20px;
    position: relative;
}

/* Main Chart Container - Token Rankings Tab Only */
#token-rankings .main-chart-container {
    height: 200px;
    margin-bottom: 20px;
    position: relative;
}

/* Main Chart Container - ETH Treasuries Tab Only */
#eth-treasuries .main-chart-container {
    height: 200px;
    margin-bottom: 20px;
    position: relative;
}

.main-chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.main-chart-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.buy-btn,
.trade-btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
}

.buy-btn {
    background: linear-gradient(135deg, #8B5CF6, #FF6B35);
    color: white;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.trade-btn {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.trade-btn:hover {
    background: white;
    color: black;
    transform: translateY(-2px);
}

/* Secondary Charts Grid - Overview Tab Only */
#overview .secondary-charts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Secondary Chart Container - Overview Tab Only */
#overview .secondary-chart-container {
    height: 130px;
}

/* Secondary Charts Grid - Gas Stats Tab Only */
#gas-stats .secondary-charts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 25px; /* Reduced from 50px to 25px to halve the space */
}

.secondary-chart-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 15px;
    position: relative;
    overflow: hidden;
}

.secondary-chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

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

.secondary-token-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.secondary-token-logo .hexagon {
    width: 35px;
    height: 35px;
}

.secondary-token-logo .hexagon .token-symbol {
    font-size: 0.7rem;
}

.secondary-token-details h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.secondary-token-details .token-description {
    font-size: 0.9rem;
}

.secondary-price-info {
    text-align: right;
}

.secondary-price-display {
    margin-bottom: 8px;
}

.secondary-current-price {
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.secondary-price-change {
    font-size: 1rem;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 15px;
    display: inline-block;
}

.secondary-price-change.positive {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.secondary-price-change.negative {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.secondary-chart-container {
    height: 150px;
    margin-bottom: 15px;
    position: relative;
}

.secondary-chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

.secondary-chart-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 10px;
}

.secondary-chart-actions .buy-btn,
.secondary-chart-actions .trade-btn {
    padding: 8px 20px;
    font-size: 0.9rem;
}

.secondary-chart-stats {
    text-align: center;
}

.stats-text {
    color: #a0a0a0;
    font-size: 0.8rem;
    font-weight: 500;
}

.price-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d4ff, #ff6b35, #00ff88);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.price-card:hover::before {
    opacity: 1;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.2);
}

.pulsechain-card {
    border-left: 4px solid #8B5CF6;
}

.hex-card {
    border-left: 4px solid #ff00ff;
}

.hex-logo {
    background: transparent;
    border-radius: 8px;
}

.plsx-card {
    border-left: 4px solid #FF6B35;
}

.inc-card {
    border-left: 4px solid #00FF40;
}

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

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

.token-icon {
    font-size: 2rem;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
}

.token-details h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.token-symbol {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
}

.price-change {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

.price-change.positive {
    background: rgba(0, 255, 136, 0.2);
    color: #00ff88;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.price-change.negative {
    background: rgba(255, 0, 0, 0.2);
    color: #ff0000;
    border: 1px solid rgba(255, 0, 0, 0.3);
}

.price-display {
    margin-bottom: 25px;
    text-align: center;
}

.current-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    display: block;
    margin-bottom: 5px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.price-usd {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.metric {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.metric-label {
    color: #a0a0a0;
    font-size: 0.85rem;
    font-weight: 500;
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.metric-value.positive {
    color: #00ff88;
}

.metric-value.negative {
    color: #ff6b35;
}

/* Quick Charts Section */
.quick-charts-section {
    margin-top: 50px;
}

.quick-charts-section h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
    font-weight: 600;
}

/* Charts Grid - HEX Stats Tab Only */
#hex-stats .charts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1200px !important; /* Constrain charts to 1200px max-width */
    margin-left: auto !important; /* Center the charts */
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

.mini-chart-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
}

.mini-chart-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.mini-chart-container h3 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
    text-align: center;
}

.mini-chart-container canvas {
    max-height: 200px;
}

/* Look Into Pulse Tab Styles */
.comparison-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.comparison-header h1 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.comparison-header h2 {
    font-size: 1.4rem;
    color: #a0a0a0;
    font-weight: 400;
    margin-bottom: 20px;
}

.comparison-header p {
    font-size: 1.2rem;
    color: #a0a0a0;
    font-weight: 400;
}

.chart-controls-top {
    position: absolute;
    top: 0;
    right: 0;
}

/* Token Legend Styles */
.token-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: center;
}

.token-legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    user-select: none;
}

.token-legend-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.token-legend-item.selected {
    background: rgba(255, 255, 255, 0.1);
}

.token-diamond {
    width: 12px;
    height: 12px;
    transform: rotate(45deg);
    border: 2px solid;
    transition: all 0.3s ease;
}

.token-diamond.ehex {
    border-color: #ff6b35;
    background: #ff6b35;
}

.token-diamond.phex {
    border-color: #ff00ff;
    background: #ff00ff;
}

.token-diamond.btc {
    border-color: #f7931a;
    background: #f7931a;
}

.token-diamond.eth {
    border-color: #627eea;
    background: #627eea;
}

.token-diamond.sol {
    border-color: #9945FF;
    background: #9945FF;
}

.token-diamond.bnb {
    border-color: #F3BA2F;
    background: #F3BA2F;
}

.token-diamond.matic {
    border-color: #8247E5;
    background: #8247E5;
}

.token-diamond.ada {
    border-color: #0033AD;
    background: #0033AD;
}

.token-diamond.hex {
    border-color: #FFD700;
    background: #FFD700;
}

.token-diamond.pls {
    border-color: #8B5CF6;
    background: #8B5CF6;
}

.token-diamond.plsx {
    border-color: #FF6B35;
    background: #FF6B35;
}

.token-diamond.inc {
    border-color: #00FF40;
    background: #00FF40;
}

.token-diamond.ehex-share,
.token-diamond.phex-share,
.token-diamond.combined-hex-liquid,
.token-diamond.combined-hex-staked {
    border-color: #888888;
    background: transparent;
}

.token-legend-item.selected .token-diamond.ehex-share,
.token-legend-item.selected .token-diamond.phex-share,
.token-legend-item.selected .token-diamond.combined-hex-liquid,
.token-legend-item.selected .token-diamond.combined-hex-staked {
    background: #888888;
}

.token-ticker {
    color: #888888;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.token-legend-item.selected .token-ticker {
    color: #ffffff;
}

.token-legend-item[data-token="ehex"] .token-ticker {
    color: #ff6b35;
}

.token-legend-item[data-token="phex"] .token-ticker {
    color: #ff00ff;
}

.token-legend-item[data-token="btc"] .token-ticker {
    color: #f7931a;
}

.token-legend-item[data-token="eth"] .token-ticker {
    color: #627eea;
}

.token-legend-item[data-token="sol"] .token-ticker {
    color: #9945FF;
}

.token-legend-item[data-token="bnb"] .token-ticker {
    color: #F3BA2F;
}

.token-legend-item[data-token="matic"] .token-ticker {
    color: #8247E5;
}

.token-legend-item[data-token="ada"] .token-ticker {
    color: #0033AD;
}

.token-legend-item[data-token="hex"] .token-ticker {
    color: #FFD700;
}

.token-legend-item[data-token="pls"] .token-ticker {
    color: #8B5CF6;
}

.token-legend-item[data-token="plsx"] .token-ticker {
    color: #FF6B35;
}

.token-legend-item[data-token="inc"] .token-ticker {
    color: #00FF40;
}

.exclude-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 0.9rem;
}

.exclude-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.exclude-btn i {
    font-size: 0.8rem;
}

/* Controls */
.controls {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.chain-selector,
.time-selector,
.chart-controls {
    margin-bottom: 25px;
}

.chain-selector h3,
.time-selector h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.3rem;
    font-weight: 600;
}

/* Chain selector grid */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.chain-option {
    display: flex;
    flex-direction: column;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.chain-option:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: rgba(0, 212, 255, 0.3);
}

.chain-option input[type="checkbox"] {
    margin-bottom: 8px;
    transform: scale(1.2);
    accent-color: #00d4ff;
}

.chain-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.launch-date {
    font-size: 0.9rem;
    color: #a0a0a0;
}

/* Time selector buttons */
.time-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.time-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    color: #a0a0a0;
    font-size: 0.95rem;
}

.time-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border-color: rgba(0, 212, 255, 0.3);
    transform: translateY(-2px);
}

.time-btn.active {
    background: linear-gradient(135deg, #00d4ff, #ff6b35);
    border-color: transparent;
    color: #000;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
}

/* Chart controls */
.chart-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.update-btn,
.reset-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.update-btn {
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    color: #000;
}

.update-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

.reset-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.reset-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Chart container - Pulse Stats Tab Only */
#pulse-stats .chart-container {
    background: rgba(0, 0, 0, 0.8) !important; /* Black background to match theme */
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08) !important; /* Restore chart borders */
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    max-width: 1200px !important; /* Constrain chart container width */
    margin: 0 auto 30px auto !important; /* Center chart containers */
}

/* Chart container - General (for other tabs if needed) */
.chart-container {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    max-width: 1200px !important; /* Constrain chart container width to match other sections */
    margin: 0 auto 30px auto !important; /* Center chart containers */
}

/* ROI Chart specific styling */
.chart-container#roi-chart-container {
    height: 800px;
    border: none;
}

/* Watermark removed per user request
.chart-container::before {
    content: 'lookintopulse.com';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.1);
    z-index: 1;
    pointer-events: none;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}
*/

#priceChart {
    width: 100% !important;
    height: 100% !important;
    position: relative;
    z-index: 2;
}

/* Info panel */
.info-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 20px;
    padding: 25px;
}

.info-panel h3 {
    color: #ffffff;
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 600;
}

.info-panel p {
    line-height: 1.6;
    color: #a0a0a0;
    margin-bottom: 15px;
}

.legend-info {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
}

.legend-info p {
    margin: 0;
    color: #00d4ff;
    font-weight: 500;
}

/* Analytics Tab */
.analytics-header {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

.analytics-header h1 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.analytics-header p {
    font-size: 1.2rem;
    color: #a0a0a0;
    font-weight: 400;
}

.coming-soon {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 20px;
}

.coming-soon i {
    font-size: 4rem;
    color: #00d4ff;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.coming-soon h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.coming-soon p {
    color: #a0a0a0;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.coming-soon ul {
    list-style: none;
    color: #a0a0a0;
    font-size: 1rem;
}

.coming-soon li {
    padding: 8px 0;
    position: relative;
    padding-left: 20px;
}

.coming-soon li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #00d4ff;
}

/* Settings Tab */
.settings-header {
    text-align: center;
    margin-bottom: 40px;
}

.settings-header h1 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.settings-header p {
    font-size: 1.2rem;
    color: #a0a0a0;
    font-weight: 400;
}

.settings-content {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 20px;
    padding: 30px;
}

.setting-group {
    margin-bottom: 30px;
}

.setting-group h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.setting-item {
    margin-bottom: 20px;
}

.setting-item label {
    display: block;
    color: #a0a0a0;
    font-size: 0.95rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.setting-item input,
.setting-item select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.setting-item input:focus,
.setting-item select:focus {
    outline: none;
    border-color: #00d4ff;
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.2);
}

.setting-item input::placeholder {
    color: #666;
}

.save-settings-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 15px 30px;
    background: linear-gradient(135deg, #00ff88, #00d4ff);
    border: none;
    border-radius: 25px;
    color: #000;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.save-settings-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.4);
}

/* Loading spinner */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(255, 255, 255, 0.1);
    border-top: 4px solid #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loading p {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 500;
}

/* Token Stats */
.token-stats {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.stat-label {
    color: #b0b0b0;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.stat-value {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
}

.secondary-token-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin: 10px 0;
    padding: 8px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.secondary-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.secondary-stat-label {
    color: #b0b0b0;
    font-size: 0.8rem;
    margin-bottom: 3px;
    text-align: center;
}

.secondary-stat-value {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

/* Holder Growth Section - Overview and PLSX Stats Tabs Only */
#overview .holder-growth-section,
#plsx-stats .holder-growth-section {
    margin: 60px 0;
    padding: 0 40px;
    max-width: 1200px !important; /* Constrain to 1200px max-width */
    margin-left: auto !important; /* Center the section */
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

.holder-growth-section h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    text-align: center;
}

.holder-growth-section p {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 40px;
}

/* Holder Growth Grid - Overview and PLSX Stats Tabs Only */
#overview .holder-growth-grid,
#plsx-stats .holder-growth-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.holder-growth-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 24px;
}

.holder-growth-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

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

.holder-token-logo {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.token-logo-img.holder {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.holder-token-details h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.holder-token-details .token-description {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.8;
}

.holder-disclaimer {
    font-size: 10px;
    color: var(--text-secondary);
    opacity: 0.6;
    font-style: italic;
    display: block;
    margin-top: 2px;
}

.holder-stats-info {
    text-align: right;
}

.holder-current-count {
    margin-bottom: 8px;
}

.holder-count {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

/* PLSX holder count on stats page should be green */
#plsx-holder-count-stats {
    color: #2FF924 !important;
}

/* Center PLSX Burnt Supply header and content */
.plsx-burn-main-card .main-token-details {
    text-align: center;
}

.plsx-burn-main-card .main-token-details h2 {
    text-align: center;
}

.plsx-burn-main-card .day-counter {
    text-align: center;
}

/* Center all text in PLSX Burnt Supply chart */
#plsx-stats .plsx-burn-main-card .main-chart-header {
    text-align: center !important;
    justify-content: center !important;
}

#plsx-stats .plsx-burn-main-card .main-token-info {
    text-align: center !important;
    width: 100% !important;
}

#plsx-stats .plsx-burn-main-card .main-token-details {
    text-align: center !important;
    width: 100% !important;
}

#plsx-stats .plsx-burn-main-card .main-token-details h2 {
    text-align: center !important;
}

#plsx-stats .plsx-burn-main-card .day-counter {
    text-align: center !important;
    justify-content: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
}

#plsx-stats .plsx-burn-main-card .day-counter .day-label {
    text-align: center !important;
}

#plsx-stats .plsx-burn-main-card .day-counter .day-number {
    text-align: center !important;
}

/* PLSX Stats back to top button - use same green and red gradient as navigation buttons */
#plsx-stats .back-to-top-btn {
    background: linear-gradient(135deg, #00ff00, #ff0000) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    padding: 15px 30px !important;
    transition: all 0.3s ease !important;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.5) !important;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3) !important;
}

#plsx-stats .back-to-top-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 25px rgba(255, 0, 0, 0.4), 0 0 30px rgba(0, 255, 0, 0.4) !important;
    text-shadow: 0 0 15px rgba(255, 0, 0, 0.7) !important;
}

#plsx-stats .back-to-top-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 15px rgba(255, 0, 0, 0.3), 0 0 20px rgba(0, 255, 0, 0.3) !important;
}

/* Bridge Stats page background - simple black (same as PulseX) */
#bridge-stats {
    background: #000000;
    min-height: 100vh;
}

/* Gas Stats header with video background - exactly same as PulseX */
#gas-stats .overview-header {
    position: relative;
    padding: 180px 20px 160px 20px; /* Reduced bottom padding to make video slightly smaller */
    border-radius: 0;
    background: #000000;
    border: none;
    margin: -60px auto 0 auto;
    max-width: 1200px;
    transition: margin-top 0.3s ease;
    overflow: hidden;
}

/* Gas Video Wrapper - Creates the oval with shadowing */
#gas-stats .gas-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 0;
}

/* Add gradient overlay to create soft edges - darker shadowing */
#gas-stats .gas-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        transparent 0%, 
        transparent 15%, 
        rgba(0, 0, 0, 0.2) 25%, 
        rgba(0, 0, 0, 0.4) 35%, 
        rgba(0, 0, 0, 0.6) 45%, 
        rgba(0, 0, 0, 0.8) 55%, 
        rgba(0, 0, 0, 0.9) 65%, 
        rgba(0, 0, 0, 0.95) 75%,
        rgba(0, 0, 0, 1) 85%,
        rgba(0, 0, 0, 1) 100%);
    z-index: 2;
    pointer-events: none;
}

/* Gas Video - Just the video content */
#gas-stats .gas-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4; /* 40% opacity as requested */
}

/* Make content boxes transparent on Gas page so video shows through */
#gas-stats .overview-header h1,
#gas-stats .overview-header p {
    position: relative;
    z-index: 10; /* Ensure text is above video */
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for readability */
}

#gas-stats .tutorial-navigation {
    position: relative;
    z-index: 10; /* Ensure buttons are above video */
}

/* Bridge Stats header with video background - exactly same as PulseX */
#bridge-stats .analytics-header {
    position: relative;
    padding: 180px 20px 160px 20px; /* Reduced bottom padding to make video slightly smaller */
    border-radius: 0;
    background: #000000;
    border: none;
    margin: -60px auto 0 auto;
    max-width: 1200px;
    transition: margin-top 0.3s ease;
    overflow: hidden;
}

/* Bridge Video Wrapper - Creates the oval with shadowing */
#bridge-stats .bridge-video-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    overflow: hidden;
    z-index: 0;
}

/* Add gradient overlay to create soft edges - darker shadowing */
#bridge-stats .bridge-video-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, 
        transparent 0%, 
        transparent 15%, 
        rgba(0, 0, 0, 0.2) 25%, 
        rgba(0, 0, 0, 0.4) 35%, 
        rgba(0, 0, 0, 0.6) 45%, 
        rgba(0, 0, 0, 0.8) 55%, 
        rgba(0, 0, 0, 0.9) 65%, 
        rgba(0, 0, 0, 0.95) 75%, 
        rgba(0, 0, 0, 0.98) 85%, 
        rgba(0, 0, 0, 1) 100%);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

/* Bridge Video - Just the video content */
#bridge-stats .bridge-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.6; /* Increased opacity slightly */
}

/* Make content boxes transparent on Bridge page so video shows through */
#bridge-stats .analytics-header h1,
#bridge-stats .analytics-header p {
    position: relative;
    z-index: 10; /* Ensure text is above video */
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Add shadow for readability */
}

#bridge-stats .tutorial-navigation {
    position: relative;
    z-index: 10; /* Ensure buttons are above video */
}

.holder-label {
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.8;
}

.holder-growth-stats {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-end;
}

.holder-daily-add,
.holder-monthly-add {
    font-size: 14px;
    color: var(--success-color);
    background: var(--success-bg);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 500;
}

.holder-monthly-add {
    opacity: 0.9;
}

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

.holder-chart-container canvas {
    border-radius: 12px;
}

/* Responsive design for holder growth */
@media (max-width: 768px) {
    /* PLSX Supply Burn Text Color Fix */
    #plsx-stats .burn-card .stat-value {
        color: #00ff88 !important;
    }
    #plsx-stats .burn-card h3 {
        color: #00ff88 !important;
    }
    #overview .holder-growth-grid,
    #plsx-stats .holder-growth-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    #overview .holder-growth-section,
    #plsx-stats .holder-growth-section {
        padding: 0 20px;
    }
    
    .holder-growth-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .holder-stats-info {
        text-align: left;
        width: 100%;
    }
    
    .holder-growth-change {
        flex-direction: row;
        align-items: center;
        gap: 12px;
    }
}

/* Gas Stats Page Styles */
.gas-stats-header {
    text-align: center;
    margin-bottom: 40px;
}

.gas-stats-header h1 {
    font-size: 2.8rem;
    color: #ffffff;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.gas-stats-header p {
    font-size: 1.2rem;
    color: #a0a0a0;
    font-weight: 400;
}

/* Current Gas Section */
.current-gas-section {
    margin-bottom: 40px;
}

.gas-prices-module {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.gas-prices-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.gas-prices-header h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.current-beats {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
}

.beats-label {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
}

.beats-value {
    color: #00d4ff;
    font-size: 1.8rem;
    font-weight: 700;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Gas Operations Grid */
.gas-operations-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.gas-operation {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.gas-operation:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.gas-operation h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.gas-cost {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gas-cost-value {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.3);
}

.gas-cost-pls {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Gas Chart Section */
.gas-chart-section {
    margin-bottom: 50px;
}

.gas-chart-container {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    height: 400px;
    position: relative;
}

.gas-chart-container canvas {
    width: 100% !important;
    height: 100% !important;
}

/* ETH Comparison Section */
.eth-comparison-section {
    margin-bottom: 40px;
}

.eth-comparison-section h2 {
    color: #ffffff;
    font-size: 2.2rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

.eth-comparison-section p {
    color: #a0a0a0;
    font-size: 1.1rem;
    text-align: center;
    margin-bottom: 40px;
}

.comparison-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1000px;
    margin: 0 auto;
}

.comparison-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    transition: all 0.3s ease;
}

/* Removed hover effect for comparison cards - no longer clickable */

.comparison-header {
    text-align: center;
    margin-bottom: 20px;
}

.comparison-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.comparison-content {
    text-align: center;
}

.cost-comparison {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.pulsechain-cost,
.ethereum-cost {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    border-radius: 10px;
}

.pulsechain-cost {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.ethereum-cost {
    background: rgba(255, 255, 255, 0.05);
    border: none;
}

.chain-label {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
}

.cost-value {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.savings {
    text-align: center;
}

.savings-text {
    color: #00ff88;
    font-size: 1.3rem;
    font-weight: 700;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

/* Responsive design for gas stats */
@media (max-width: 768px) {

    .gas-operations-grid,
    .comparison-cards-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gas-prices-header {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        text-align: center;
    }
    
    .current-beats {
        align-items: center;
    }
    
    .gas-stats-header h1 {
        font-size: 2.2rem;
    }
    
    .eth-comparison-section h2 {
        font-size: 1.8rem;
    }
    
    .gas-chart-container {
        height: 300px !important;
        min-height: 300px !important;
        padding: 20px;
    }
    
    .gas-prices-module {
        padding: 20px;
    }
}

/* HEX Stats Section */
.hex-stats-section {
    margin: 40px 0;
    padding: 0 40px;
    max-width: 1200px !important; /* Constrain to 1200px max-width */
    margin-left: auto !important; /* Center the section */
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

.hex-stats-section h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
    text-align: center;
}

.hex-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hex-stat-box {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: none;
    border-left: 3px solid transparent;
    border-top-left-radius: 8px;
    border-radius: 12px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    text-align: center;
}

.hex-stat-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(135deg, #8B5CF6 0%, #FF00FF 50%, #FFD700 100%);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.hex-stat-label {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.hex-stat-value {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.2;
}

.hex-stat-sublabel {
    color: #b0b0b0;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 2px;
}

/* Responsive HEX Stats */
@media (max-width: 1024px) {
    .hex-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .hex-stats-section {
        padding: 0 20px;
    }
    
    .hex-stats-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .hex-stat-box {
        padding: 16px;
    }
    
    .hex-stat-value {
        font-size: 1.5rem;
    }
}

/* Social Analytics Section - Overview Tab Only */
#overview .social-analytics-section {
    margin: 60px auto;
    padding: 0 40px;
    max-width: 1000px; /* Match Add to Wallet section width */
}

/* Social Analytics Header Box - Overview Tab Only */
#overview .social-analytics-header {
    margin: 0 0 30px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    text-align: center;
}

#overview .social-analytics-header h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

#overview .social-analytics-header p {
    color: #b0b0b0;
    font-size: 1rem;
    margin: 0;
}

/* Social Metrics Box - Overview Tab Only */
#overview .social-metrics-box {
    margin: 0 0 30px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Social Stats - Overview Tab Only */
#overview .social-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Social Stats - General (for other tabs if needed) */
.social-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 200px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.social-stat-label {
    color: #a0a0a0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
    font-weight: 500;
}

.social-stat-value {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
}

/* Social Charts Grid - Overview Tab Only */
#overview .social-charts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Social Chart Containers - Overview Tab Only */
#overview .social-charts-grid .chart-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
}

/* Social Chart Titles */
.social-chart-title {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
}

/* Chart value styling with PulseChain gradient */
.chart-value {
    background: linear-gradient(135deg,
            #f00 0%,
            #e619e6 25%,
            #8000ff 50%,
            #0080ff 75%,
            #00eaff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Social Charts specific styling */
#socialInteractionsChart,
#socialPostsChart {
    background: transparent !important;
}

/* Responsive design for social charts */
@media (max-width: 968px) {
    #overview .social-charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    #overview .social-charts-grid .chart-container {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
    
    .social-charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Responsive design for social stats */
@media (max-width: 768px) {
    #overview .social-stats,
    .social-stats {
        flex-direction: column;
        gap: 15px;
    }

    .social-stat {
        min-width: auto;
        padding: 20px;
    }

    .social-stat-value {
        font-size: 1.6rem;
    }

    .social-analytics-section {
        padding: 0 20px;
    }
    
    #overview .social-charts-grid .chart-container {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
}

/* Add to Wallet Section - Overview Tab Only */
#overview .add-to-wallet-section {
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 1000px;
}

/* Add to Wallet Section - General (for other tabs if needed) */
.add-to-wallet-section {
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 1000px;
}

.add-to-wallet-section h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.add-to-wallet-section p {
    color: #b0b0b0;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 30px;
}

.wallet-tokens-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto;
}

.wallet-token-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
}

.wallet-token-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.wallet-token-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.wallet-token-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.wallet-token-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    text-align: center;
}

.wallet-token-name {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

.wallet-token-symbol {
    color: #b0b0b0;
    font-size: 0.9rem;
}

/* Token-specific styling for wallet buttons */
.wallet-token-btn[data-token="pls"] .wallet-token-logo {
    background: transparent;
}

.wallet-token-btn[data-token="hex"] .wallet-token-logo {
    background: transparent;
}

.wallet-token-btn[data-token="plsx"] .wallet-token-logo {
    background: transparent;
}

.wallet-token-btn[data-token="inc"] .wallet-token-logo {
    background: transparent;
}

.wallet-token-btn[data-token="weth"] .wallet-token-logo {
    background: transparent;
}

/* Hover effects with token-specific colors */
.wallet-token-btn[data-token="pls"]:hover {
    border-color: rgba(0, 212, 255, 0.5);
    box-shadow: 0 8px 25px rgba(0, 212, 255, 0.2);
}

.wallet-token-btn[data-token="hex"]:hover {
    border-color: rgba(255, 0, 255, 0.5);
    box-shadow: 0 8px 25px rgba(255, 0, 255, 0.2);
}

.wallet-token-btn[data-token="plsx"]:hover {
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.2);
}

.wallet-token-btn[data-token="inc"]:hover {
    border-color: rgba(0, 255, 136, 0.5);
    box-shadow: 0 8px 25px rgba(0, 255, 136, 0.2);
}

.wallet-token-btn[data-token="weth"]:hover {
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Buy Section - Overview Tab Only */
#overview .buy-section {
    margin: 40px auto;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 1000px;
}

/* Buy Section - General (for other tabs if needed) */
.buy-section {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.buy-section h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.buy-section p {
    color: #b0b0b0;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 30px;
}

/* Trade Section (Same style as Buy Section) */
.trade-section {
    margin: 40px 0;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    max-width: 1200px;
    margin: 40px auto;
}

.trade-section h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-align: center;
}

.trade-section p {
    color: #b0b0b0;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 30px;
}

.trade-links-grid {
    display: flex;
    justify-content: center;
    max-width: 300px;
    margin: 0 auto;
}

.pulsex-dex-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #00FF40 !important; /* GREEN BUTTON - RESTORED */
    color: #000000 !important; /* Black text as requested */
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    outline: none !important; /* Remove outline */
    text-shadow: none !important; /* Remove text highlight */
    box-shadow: 0 4px 15px rgba(0, 255, 136, 0.3);
}

.pulsex-dex-btn:hover {
    transform: translateY(-2px);
    background: #00FF40 !important; /* Keep green on hover */
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
    color: #000000 !important; /* Keep black text on hover */
    text-decoration: none;
}

/* PulseChain MetaMask Button */
.pulsechain-metamask-btn {
    display: inline-block;
    padding: 15px 30px;
    background: linear-gradient(30deg, #f00 0%, #e619e6 25%, #8000ff 50%, #0080ff 75%, #00eaff 100%);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
    outline: none !important;
    text-shadow: none !important;
    box-shadow: 0 4px 15px rgba(230, 25, 230, 0.3);
    cursor: pointer;
    width: 100%;
}

.pulsechain-metamask-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(230, 25, 230, 0.4);
}

.pulsex-dex-btn:focus {
    outline: none !important; /* Remove focus outline */
    box-shadow: 0 6px 20px rgba(0, 255, 136, 0.4);
}

.buy-links-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.buy-link-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    text-decoration: none;
}

.buy-link-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.buy-link-logo {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

.buy-link-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.buy-link-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    text-align: center;
}

.buy-link-name {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 600;
}

/* Trade Section */
.trade-section {
    margin-top: 40px;
    text-align: center;
}

.trade-section h3 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.trade-section p {
    color: #b0b0b0;
    font-size: 1rem;
    text-align: center;
    margin-bottom: 30px;
}

.pulsex-dex-btn {
    display: inline-block;
    padding: 15px 30px;
    background: #00FF40;
    color: #ffffff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 255, 64, 0.3);
    border: none;
    cursor: pointer;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 1);
}

.pulsex-dex-btn:hover {
    transform: translateY(-2px);
}

/* Responsive design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 10px;
    }
    
    .nav-tabs {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .nav-tabs-top,
    .nav-tabs-bottom {
        margin: 0;
    }
    
    .nav-tab {
        padding: 10px 15px;
        font-size: 0.9rem;
        color: #ffffff !important; /* Force white text on mobile */
        background: rgba(255, 255, 255, 0.05) !important; /* Add subtle background */
    }
    
    .main-content {
        padding: 20px 15px;
    }
    
    .overview-header h1,
    .comparison-header h1,
    .analytics-header h1,
    .settings-header h1 {
        font-size: 2.2rem;
    }
    
    /* Make core-coins-header same size as comparison-header on mobile */
    .core-coins-header h2 {
        font-size: 2.2rem !important;
    }
    
    .core-coins-header p {
        font-size: 1rem !important;
    }
    
    #overview .secondary-charts-grid,
    #gas-stats .secondary-charts-grid {
        grid-template-columns: 1fr;
    }
    
    .main-chart-header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .main-price-info {
        text-align: center;
    }
    
    .secondary-chart-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .secondary-price-info {
        text-align: center;
    }
    
    .time-range-selector {
        flex-wrap: wrap;
        gap: 3px;
        padding: 6px;
    }
    
    .time-range-btn {
        padding: 8px 12px;
        font-size: 0.8rem;
        min-width: 40px;
    }
    
    .checkbox-grid {
        grid-template-columns: 1fr;
    }
    
    .time-buttons {
        justify-content: center;
    }
    
    .chart-controls {
        flex-direction: column;
        align-items: center;
    }
    
    .update-btn,
    .reset-btn {
        width: 200px;
    }
    
    .wallet-tokens-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .buy-links-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .nav-tab span {
        display: none;
    }
    
    .nav-tab {
        padding: 12px;
        color: #ffffff !important; /* Force white text on small mobile */
        background: rgba(255, 255, 255, 0.05) !important; /* Add subtle background */
        -webkit-text-fill-color: #ffffff !important;
        background-clip: unset !important;
        -webkit-background-clip: unset !important;
        text-shadow: none !important;
    }
    
    .nav-tab:hover {
        color: #00BFFF !important;
        -webkit-text-fill-color: #00BFFF !important;
        background: rgba(0, 191, 255, 0.2) !important;
    }
    
    .nav-tab.active {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    .overview-header h1,
    .comparison-header h1,
    .analytics-header h1,
    .settings-header h1 {
        font-size: 1.8rem;
    }
    
    .controls {
        padding: 20px;
    }
    
    .chart-container {
        padding: 20px;
    }
    
    .price-card {
        padding: 20px;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    
    .wallet-tokens-grid,
    .buy-links-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* ========================
   VALIDATORS PAGE STYLES
   ======================== */

.validators-header {
    text-align: center;
    margin-top: 60px;
    margin-bottom: 40px;
}

.validators-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.validators-header p {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 20px;
}

.validators-subheading,
.comparison-subheading {
    font-size: 1.1rem;
    color: #a0a0a0;
    text-align: center;
    margin-bottom: 20px;
}

.update-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 0.9rem;
    color: #666;
}

.refresh-btn {
    background: linear-gradient(135deg, #ff0080, #8000ff);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(255, 0, 128, 0.4);
}

/* Historical Validator Chart */
.validator-history-section {
    margin: 40px 0 50px 0;
}

.validator-history-section h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #ffffff;
    text-align: center;
}

.validator-history-section p {
    text-align: center;
    color: #a0a0a0;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.validator-history-chart {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    height: 450px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.validator-history-chart .chart-header {
    margin-bottom: 20px;
    text-align: left;
}

.validator-history-chart .chart-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.validator-history-chart .chart-header p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0;
}


/* History Stats - Pulse Stats Tab Only */
#pulse-stats .history-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* History Stats - General (for other tabs if needed) */
.history-stats {
    display: flex;
    justify-content: space-around;
    gap: 20px;
    margin-top: 20px;
    margin-bottom: 40px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.history-stat {
    background: transparent;
    border: none;
    padding: 10px;
    text-align: center;
    transition: all 0.3s ease;
    flex: 1;
}

/* Removed hover effect for history stats - no longer clickable */

.history-stat-label {
    display: block;
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.history-stat-value {
    display: block;
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
}

.history-stat-value.positive {
    color: #00ff88;
}

.history-stat-value.negative {
    color: #ff0000;
}

/* Validator Metrics Grid */
.validator-metrics-grid {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    margin-bottom: 50px;
    justify-content: space-between;
    flex-wrap: wrap;
}

.validator-metric-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    text-align: center;
    position: relative;
    overflow: hidden;
    flex: 1;
    min-width: 0;
}


/* Removed hover effect for validator metric cards */

/* Removed metric-icon styles - icons no longer used */

.metric-content {
    flex: 1;
}

.metric-content h3 {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 8px;
    font-weight: 500;
}

.metric-value {
    font-size: 2rem;
    font-weight: 700;
    color: #8B5CF6;
    margin-bottom: 5px;
}

.metric-change {
    font-size: 0.9rem;
    color: #666;
}

/* Network Statistics Chart */
.network-stats-section {
    margin-bottom: 50px;
}

.network-stats-section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #ffffff;
    text-align: center;
}

.network-stats-chart {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    height: 400px;
}

/* Top Validators Table */
.top-validators-section {
    margin-bottom: 50px;
}

.top-validators-section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #ffffff;
    text-align: center;
}

/* Validator Stats Page - 1200px max-width sections */
#validators .top-validators-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#validators .chain-comparison-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#validators .validator-metrics-grid {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

#validators .validator-history-section {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.validators-table-container {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
}

.validators-table {
    width: 100%;
    border-collapse: collapse;
}

.validators-table th {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-weight: 600;
    padding: 20px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.validators-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
}


.loading-row {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 40px !important;
}

.validator-address {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 8px;
    border-radius: 6px;
    margin-right: 10px;
}

.copy-btn {
    background: linear-gradient(135deg, #00eaff, #0080ff);
    color: white;
    border: none;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
    margin-left: 5px;
}

.copy-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(0, 234, 255, 0.4);
}

.copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 234, 255, 0.9);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    z-index: 10000;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.status-active {
    color: #00ff88 !important;
    font-weight: 600;
}

.status-inactive {
    color: #ff4444;
    font-weight: 600;
}

.network-share {
    font-weight: 600;
    color: #00eaff;
}

/* Chain Comparison Section */
.chain-comparison-section {
    margin-bottom: 50px;
}

.chain-comparison-section h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: #ffffff;
    text-align: center;
}

.comparison-cards {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

/* Remove the special positioning for 5th and 6th cards since we're now using 3 columns */

.comparison-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    transition: all 0.3s ease;
}

/* Removed hover effect for comparison cards */

.chain-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.chain-info > div {
    text-align: center;
    flex-shrink: 0;
    width: auto;
}

.chain-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* Chain logo images now use actual PNG files */
.chain-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

/* DEX Rankings Section - PulseX Stats Tab Only */
#pulsex-stats .dex-rankings-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* DEX Rankings Section - General (for other tabs if needed) */
.dex-rankings-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dex-rankings-section .analytics-header {
    margin-bottom: 30px;
}

.dex-rankings-section .analytics-header h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.dex-rankings-section .analytics-header p {
    color: #a0a0a0;
    font-size: 1.1rem;
    margin: 0;
}

.chain-info h3 {
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 4px;
    margin-top: 0;
    line-height: 1.2;
}

.chain-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.2;
}

.chain-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.chain-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.chain-stat:last-child {
    border-bottom: none;
}

.stat-label {
    color: #a0a0a0;
    font-size: 0.95rem;
}

.stat-value {
    color: #ffffff;
    font-weight: 600;
}

/* Validators Disclaimer */
.validators-disclaimer {
    background: rgba(255, 165, 0, 0.1);
    border: 1px solid rgba(255, 165, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
    text-align: center;
}

.validators-disclaimer p {
    color: #ffcc80;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* Responsive Design for Validators */
@media (max-width: 768px) {
    .validators-header h1 {
        font-size: 2rem;
    }

    .validator-metrics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .validator-metric-card {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    /* Removed metric-icon responsive styles - icons no longer used */

    .metric-value {
        font-size: 1.5rem;
    }

    .validators-table {
        font-size: 0.85rem;
    }

    .validators-table th,
    .validators-table td {
        padding: 10px 8px;
    }

    .validator-address {
        font-size: 0.75rem;
        word-break: break-all;
    }

    /* POS Networks comparison - stack vertically and increase heading sizes */
    .comparison-cards {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
    }
    
    .comparison-card {
        width: 100% !important;
        margin: 0 !important;
        padding: 15px !important;
    }
    
    .comparison-card h3 {
        font-size: 0.8rem !important; /* 2x larger than current size */
    }
    
    /* POS Networks comparison metrics - slightly smaller for mobile */
    .comparison-cards .chain-stat .stat-label {
        font-size: 1.4rem !important;
    }
    
    .comparison-cards .chain-stat .stat-value {
        font-size: 1.5rem !important;
        font-weight: 700 !important;
    }
    
    .comparison-cards .chain-stats {
        gap: 15px !important;
    }
    
    .comparison-cards .chain-stat {
        padding: 12px 0 !important;
    }

    .network-stats-chart {
        padding: 20px;
        height: auto !important;
        min-height: 300px !important;
    }
}

/* ========================
   PULSEX STATS STYLING
   ======================== */

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

/* Stat Cards */
.stat-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    text-align: center;
}

/* Hover effect removed per user request
#pulsex-stats .stat-card:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}
*/

.stat-card.pulsex-card {
    border-left: 4px solid #FF6B35;
}

.stat-card.pulsex-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(0, 255, 136, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card.burn-card {
    border-left: 4px solid transparent;
}

/* Removed burn-card overlay to prevent any darkening effects */

.burn-section {
    margin-bottom: 50px;
}

.burn-header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
}

.burn-section h2 {
    font-size: 2rem;
    margin: 0;
    color: #ffffff;
}

.burn-subheading {
    color: #b0b0b0;
    font-size: 1rem;
    margin: 5px 0 0 0;
    text-align: center;
    text-shadow: none;
}

.daily-burn-section {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

.daily-burn-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #00ff88;
    text-align: center;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.3);
}

/* Hover effect removed per user request
.stat-card.pulsex-card:hover::before {
    opacity: 1;
}

/* Site Footer Disclaimer */
.site-footer {
    margin-top: 60px;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.disclaimer {
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    margin: 0 0 20px 0;
    font-weight: 400;
}

.disclaimer strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* Donation Section */
.donation-section {
    margin-top: 25px;
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.donation-address-line {
    font-size: 12px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    margin: 0;
    font-weight: 400;
    word-break: break-all;
}

.donation-address-line strong {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.copy-address-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px;
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(230, 25, 230, 0.3);
    outline: none;
}

.copy-address-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(230, 25, 230, 0.4);
}

.copy-address-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(230, 25, 230, 0.3);
}

/* Footer Buttons Layout */
.footer-buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

/* Social Icon Button */
.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.social-icon-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    color: #ffffff;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.social-icon-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.1);
}

.social-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    max-width: 100%;
    max-height: 100%;
    display: block;
}

/* Responsive footer */
@media (max-width: 768px) {
    .site-footer {
        margin-top: 40px;
        padding: 15px 0;
    }
    
    .footer-content {
        padding: 0 15px;
    }
    
    .disclaimer {
        font-size: 10px;
        line-height: 1.3;
    }
    
    .donation-section {
        margin-top: 15px;
        padding-top: 0;
    }
    
    .donation-address-line {
        font-size: 10px;
        line-height: 1.3;
    }
    
    .footer-buttons {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    
    .copy-address-btn {
        padding: 10px 20px !important;
        font-size: 0.85rem !important;
        width: 100% !important;
        max-width: 250px !important;
    }
    
    .social-icon-btn {
        width: 40px;
        height: 40px;
    }
    
    .social-icon-img {
        width: 18px;
        height: 18px;
    }
}

/* Getting Started Section Styles */
#getting-started {
    background: #000000;
    min-height: 100vh;
    color: #ffffff;
}

#getting-started .getting-started-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

#getting-started .getting-started-header {
    text-align: center;
    margin-bottom: 60px;
}

#getting-started .getting-started-header h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

#getting-started .getting-started-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

#getting-started .tutorial-section {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 40px;
    backdrop-filter: blur(20px);
}

#getting-started .tutorial-header {
    margin-bottom: 30px;
}

#getting-started .tutorial-header h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 15px;
}

#getting-started .tutorial-subtitle {
    font-size: 1.1rem;
    color: #a0a0a0;
    line-height: 1.6;
}

#getting-started .video-container {
    margin: 30px auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    text-align: center;
}

#getting-started .tutorial-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 15px;
    margin: 0 auto;
}

/* Desktop-specific centering override */
@media (min-width: 769px) {
    #getting-started .video-container {
        text-align: center !important;
        margin: 30px auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: 800px !important;
        max-width: 800px !important;
    }
    
    #getting-started .tutorial-video {
        margin: 0 auto !important;
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
}

/* FINAL OVERRIDE - Force wallet input to 600px for portfolio DESKTOP ONLY */
@media (min-width: 769px) {
    body .main-content.portfolio-active #portfolio .wallet-input-section,
    body .main-content.portfolio-active .tab-content#portfolio .wallet-input-section,
    body .main-content.portfolio-active div#portfolio .wallet-input-section {
        max-width: 600px !important;
        width: 600px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}

*/ .stat-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
}

.stat-header h3 {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.stat-header i {
    color: #FF6B35;
    font-size: 1.2rem;
}

#pulsex-stats .stat-value {
    font-size: 2.8rem;
    font-weight: 700;
    color: #FF0000;
    margin-bottom: 5px;
}

/* Make burn card values even larger and more prominent */
.burn-card .stat-value {
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: #2FF924 !important;
}

#pulsex-stats .stat-label {
    color: #9CA3AF;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Charts Container - PulseX Stats Tab Only */
#pulsex-stats .charts-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
    width: 1200px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Charts Container - Bridge Stats Tab Only */
#bridge-stats .charts-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
    width: 1200px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Charts Container - General (for other tabs if needed) */
.charts-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 40px;
}

/* Chart Card - PulseX Stats Tab Only */
#pulsex-stats .chart-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden; /* Keep content contained within the card */
    margin-bottom: 30px;
    width: 1200px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Chart Card - General (for other tabs if needed) */
.chart-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 25px;
    position: relative;
    overflow: hidden;
    margin-bottom: 30px;
}

#pulsex-stats .chart-card::before {
    display: none;
}

.chart-header {
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-align: center;
}

.chart-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
}

.chart-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px 0;
}

.chart-header p {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin: 0;
}

#pulsex-stats .chart-container {
    position: relative;
    height: 400px;
    background: transparent;
    border-radius: 15px;
    padding: 15px;
    width: 1150px !important; /* Reduced to account for chart padding and prevent overflow */
    max-width: 1150px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    overflow: hidden; /* Keep charts contained within the container */
}

/* Chains Section - Pulse Stats Tab Only */
#pulse-stats .chains-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Chains Section - General (for other tabs if needed) */
.chains-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chains-container {
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
}

.chains-header {
    margin-bottom: 30px;
    text-align: center;
}

.chains-header h2 {
    font-size: 2rem;
    color: #ffffff;
    margin-bottom: 10px;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.chains-header p {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin: 0;
}

/* Top Chains Grid - 5 per row layout */
.chains-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-top: 20px;
}

@media (max-width: 1400px) {
    .chains-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1000px) {
    .chains-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .chains-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .chains-grid {
        grid-template-columns: 1fr;
    }
}

.chain-card {
    background: transparent;
    border: none;
    border-radius: 15px;
    padding: 15px;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
}


.chain-card.pulsechain {
    background: transparent;
    position: relative;
}

.chain-card.pulsechain::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #f00, #e619e6, #8000ff, #0080ff, #00eaff);
    border-radius: 15px 0 0 15px;
}

.chain-rank {
    color: #ffffff;
    font-size: 0.8rem;
    font-weight: 600;
    text-align: center;
    flex-shrink: 0;
}

.chain-logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    flex-shrink: 0;
    font-weight: bold;
    font-size: 1.2rem;
    color: #ffffff;
}


.chain-name {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.chain-tvl {
    color: #00d4ff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
}

.chain-tvl.pulsechain-gradient {
    background: linear-gradient(135deg, #f00, #e619e6, #8000ff, #0080ff, #00eaff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.chain-tvl.regular {
    color: #00d4ff;
}

.chain-tvl-label {
    display: none; /* Hide the label to match DEX style */
}

.chain-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.chain-logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.chain-logo-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #f00, #e619e6, #8000ff, #0080ff, #00eaff);
    color: white;
    font-weight: bold;
    font-size: 14px;
    border-radius: 50%;
}

.loading-message {
    text-align: center;
    color: #a0a0a0;
    font-size: 1.1rem;
    padding: 40px;
}

/* Chart Stats Grid - PulseX Stats Tab Only */
#pulsex-stats .chart-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Chart Stats Grid - General (for other tabs if needed) */
.chart-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.chart-stat-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: none;
}

.chart-stat-header h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    opacity: 0.9;
}

.chart-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #00FF40;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.chart-stat-label {
    color: #9CA3AF;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
}

/* PulseX Chart Specific Styling */
#pulsex-tvl-chart,
#pulsex-volume-chart,
#pulsex-fees-chart {
    position: relative;
    z-index: 1;
    width: 100% !important;
    height: 100% !important;
}

/* ========================
   ETH TREASURIES STYLING
   ======================== */

/* PulseChain Treasury Section */
.pulsechain-treasury-section {
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}


.treasury-header {
    text-align: center;
    margin-bottom: 30px;
}

.treasury-header h2 {
    color: #ffffff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: none;
}

.treasury-subtitle {
    color: #a0a0a0;
    font-size: 1.1rem;
    font-weight: 500;
}

.treasury-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    justify-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.treasury-metric-card {
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
    text-align: center;
}

.treasury-metric-card .metric-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.treasury-metric-card .metric-label {
    color: #a0a0a0;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.treasury-metric-card .metric-value {
    color: #ffffff;
    font-size: 6.4rem; /* 2X larger than 3.2rem */
    font-weight: 600;
    margin-bottom: 5px;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    text-align: center;
}

.metric-note {
    color: #888888;
    font-size: 0.8rem;
    font-weight: 400;
    font-style: italic;
}

/* PulseChain gradient styling for all metric values - matches navbar hover gradient */
.treasury-metric-card .metric-value {
    background: linear-gradient(30deg, #f00 0%, #e619e6 25%, #8000ff 50%, #0080ff 75%, #00eaff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

/* Responsive Design for Treasury Section */
@media (max-width: 768px) {
    .treasury-metrics-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .treasury-metric-card {
        padding: 20px;
        gap: 15px;
    }
    
    .metric-icon {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }
    
    /* Make ETH Treasuries metrics 2X larger on mobile */
    .treasury-metric-card .metric-label {
        font-size: 1.6rem !important; /* 2X larger than 0.8rem */
    }
    
    .treasury-metric-card .metric-value {
        font-size: 3.2rem !important; /* 2X larger than 1.6rem */
        font-weight: 700 !important;
    }
    
    .metric-value {
        font-size: 1.5rem;
    }
    
    .treasury-header h2 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .pulsechain-treasury-section {
        padding: 20px;
    }
    
    .treasury-metric-card {
        flex-direction: column;
        text-align: center;
        gap: 15px;
        align-items: center;
        justify-content: center;
    }
    
    .treasury-metric-card .metric-value {
        font-size: 1.3rem;
        text-align: center;
    }
}


/* Treasuries Container */
.treasuries-container {
    background: transparent;
    border: none;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    max-width: 1200px !important; /* Force constrain container width */
    margin: 0 auto 30px auto !important; /* Force center the container */
    box-sizing: border-box !important; /* Ensure padding doesn't overflow */
}

.treasuries-header {
    text-align: center;
    margin-bottom: 30px;
}

.treasuries-header h2 {
    color: #ffffff;
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.treasuries-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.treasuries-info .info-item {
    color: #a0a0a0;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Treasuries Table */
.treasuries-table-container {
    overflow-x: auto;
    border-radius: 15px;
    border: none;
    max-width: 100% !important; /* Prevent overflow */
    width: fit-content !important; /* Size to content, not full width */
    margin: 0 auto !important; /* Center the table container */
}

.treasuries-table {
    width: 100% !important;
    max-width: 1100px !important; /* Force constrain table width */
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    margin: 0 auto !important; /* Force center the table */
}

.treasuries-table thead {
    background: rgba(255, 255, 255, 0.05);
}

.treasuries-table th {
    color: #ffffff;
    font-weight: 600;
    padding: 20px 15px;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

.treasuries-table td {
    padding: 20px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    font-size: 0.95rem;
}


/* Table Column Widths */
.rank-col {
    width: 80px;
    text-align: center;
}

.logo-col {
    width: 100px;
    text-align: center;
}

.name-col {
    width: 35%;
    min-width: 250px;
    text-align: left;
    padding-left: 30px;
}

.treasuries-table th.name-col {
    text-align: left;
    padding-left: 30px;
}

.amount-col {
    width: 20%;
    text-align: center;
    min-width: 180px;
}

.value-col {
    width: 20%;
    text-align: center;
    min-width: 180px;
}

/* Entity Logo */
.entity-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    border: none;
}

.entity-logo.placeholder {
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a0a0a0;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Entity Name */
.entity-name {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 3px;
}

.entity-symbol {
    color: #a0a0a0;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Amount and Value Styling */
.eth-amount {
    font-weight: 600;
    color: #ffffff;
    font-family: 'Courier New', monospace;
}

.usd-value {
    font-weight: 600;
    color: #00ff88;
    font-family: 'Courier New', monospace;
}

/* Rank Styling */
.rank-number {
    font-weight: 700;
    color: #a0a0a0;
    font-size: 1.1rem;
}

/* Loading State */
.treasuries-loading {
    text-align: center;
    padding: 60px 20px;
    color: #a0a0a0;
}

.treasuries-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top: 3px solid #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

/* Footer */
.treasuries-footer {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
}

.treasuries-footer h4 {
    color: #ffffff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.treasuries-footer p {
    color: #a0a0a0;
    line-height: 1.6;
    margin-bottom: 10px;
}

.treasuries-footer ul {
    color: #a0a0a0;
    line-height: 1.6;
    padding-left: 20px;
}

.treasuries-footer li {
    margin-bottom: 8px;
}

.update-info {
    font-size: 0.9rem;
    color: #888888;
}

/* Responsive Design */
@media (max-width: 768px) {
    
    .treasuries-info {
        flex-direction: column;
        gap: 10px;
    }
    
    .treasuries-footer {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .treasuries-table th,
    .treasuries-table td {
        padding: 15px 10px;
        font-size: 0.9rem;
    }
    
    .name-col {
        min-width: 150px;
    }
    
    .amount-col,
    .value-col {
        width: 120px;
    }
}

@media (max-width: 480px) {
    .treasuries-container {
        padding: 20px;
    }
    
    .treasuries-table th,
    .treasuries-table td {
        padding: 12px 8px;
        font-size: 0.85rem;
    }
    
    .entity-logo {
        width: 30px;
        height: 30px;
    }
    
    .price-value {
        font-size: 1.5rem;
    }
}

/* Responsive Design for PulseX Stats */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    #pulsex-stats .chart-container {
        height: auto !important;
        min-height: 300px !important;
        padding: 10px;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 100% !important;
    }
    
    /* Fix PulseX Stats charts container overflow on mobile */
    #pulsex-stats .charts-container {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }
    
    #pulsex-stats .chart-card {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        padding: 15px !important;
    }
    
    /* Ensure stats grids don't overflow on mobile */
    #pulsex-stats .chart-stats-grid,
    #pulsex-stats .volume-stats-grid,
    #pulsex-stats .fees-stats-grid {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        grid-template-columns: repeat(2, 1fr) !important;
    }
    
    /* Fix DEX Rankings section overflow on mobile */
    #pulsex-stats .dex-rankings-section {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding: 20px 10px !important;
        box-sizing: border-box !important;
    }
    
    /* Back to Top Button - Mobile Only */
    .back-to-top-btn {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin: 40px auto 30px auto;
        padding: 15px 30px;
        background: linear-gradient(135deg, #ff00ff, #00ffff);
        border: none;
        border-radius: 12px;
        color: #ffffff;
        font-size: 1rem;
        font-weight: 700;
        cursor: pointer;
        transition: all 0.3s ease;
        box-shadow: 0 5px 15px rgba(230, 25, 230, 0.3);
        width: fit-content;
        max-width: 90%;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }
    
    .back-to-top-btn:active {
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(230, 25, 230, 0.4);
    }
    
    .back-to-top-btn:focus {
        outline: none;
    }
    
    .back-to-top-btn i {
        font-size: 1.2rem;
    }
    
    /* Fix Richard Heart Core Coins ROI chart overflow on mobile */
    #lookintopulse .core-coins-section {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }
    
    #lookintopulse .core-coins-chart-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        padding: 15px !important;
    }
    
    #lookintopulse .core-coins-chart-container canvas {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Fix ROI chart container overflow on mobile */
    #lookintopulse #roi-chart-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        padding: 15px !important;
        height: 600px !important;
        min-height: 600px !important;
    }
    
    #lookintopulse #roi-chart-container canvas {
        max-width: 100% !important;
        height: 100% !important;
    }
    
    /* Fix token legend overflow on mobile */
    .token-legend {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        box-sizing: border-box !important;
        padding: 15px 10px !important;
        gap: 10px !important;
    }
    
    .token-legend-item {
        padding: 6px 10px !important;
        font-size: 0.85rem !important;
    }
    
    /* Overview tab chart containers - maintain width constraints */
    #overview .chart-container {
        height: auto !important;
        min-height: 300px !important;
        padding: 10px;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    .chart-header h3 {
        font-size: 1.2rem;
    }
    
    #pulsex-stats .chart-stats-grid,
    .chart-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .chart-stat-card {
        padding: 12px;
    }
    
    .chart-stat-value {
        font-size: 1.2rem;
    }
    
    .chart-stat-header h4 {
        font-size: 0.8rem;
    }
    
    .chart-stat-label {
        font-size: 0.7rem;
    }
}

/* ========================
   TUTORIAL NAVIGATION
   ======================== */

.tutorial-navigation {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: center;
    margin: 30px 0 40px 0;
    padding: 0 20px;
}

.tutorial-nav-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.tutorial-nav-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: linear-gradient(135deg, #ff00ff, #00ffff);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(230, 25, 230, 0.2);
    text-decoration: none;
    white-space: nowrap;
    min-width: fit-content;
}

.tutorial-nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(230, 25, 230, 0.3);
}

.tutorial-nav-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(230, 25, 230, 0.25);
}

.tutorial-nav-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(230, 25, 230, 0.3);
}

/* Mobile responsiveness for tutorial navigation */
@media (max-width: 768px) {
    .tutorial-navigation {
        gap: 12px;
        margin: 20px 0 30px 0;
    }
    
    .tutorial-nav-row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .tutorial-nav-btn {
        width: 100%;
        max-width: 300px;
        padding: 14px 20px;
        font-size: 0.95rem;
    }
}

/* ========================
   BACK TO TOP BUTTON
   ======================== */

/* Style back to top button for both desktop and mobile */
.back-to-top-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 10px !important;
    margin: 40px auto 30px auto !important;
    padding: 15px 30px !important;
    background: linear-gradient(135deg, #ff00ff, #00ffff) !important;
    border: none !important;
    border-radius: 12px !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 5px 15px rgba(230, 25, 230, 0.3) !important;
    width: fit-content !important;
    max-width: 90% !important;
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    text-align: center !important;
    position: relative !important;
    left: 0 !important;
    right: 0 !important;
}

.back-to-top-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(230, 25, 230, 0.4) !important;
}

.back-to-top-btn:active {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 20px rgba(230, 25, 230, 0.4) !important;
}

.back-to-top-btn:focus {
    outline: none !important;
}

.back-to-top-btn i {
    font-size: 1.2rem !important;
}

/* ========================
   TOP 30 DEX RANKINGS
   ======================== */

/* DEX Rankings Header */
.dex-rankings-header {
    text-align: center;
    margin-bottom: 40px;
}

.dex-rankings-header h2 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(45deg, #FF6B35, #00FF40);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dex-rankings-header p {
    color: #9CA3AF;
    font-size: 1.1rem;
    margin: 0;
}

/* DEX Rankings Grid */
.dex-rankings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

/* DEX Card */
.dex-card {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 15px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}


.dex-card.pulsex-highlight {
    border-left: 4px solid #00FF40;
}





/* DEX Logo */
.dex-logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    flex-shrink: 0;
}

.dex-logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

/* DEX Info */
.dex-info {
    flex: 1;
    min-width: 0;
}

.dex-name {
    color: #ffffff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dex-card.pulsex-highlight .dex-name {
    color: #00FF40;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.dex-chain {
    color: #9CA3AF;
    font-size: 0.9rem;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.dex-tvl {
    color: #00FF40;
    font-size: 1.1rem;
    font-weight: 600;
}

.dex-card.pulsex-highlight .dex-tvl {
    color: #00FF40;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}


/* PulseX Summary */
.pulsex-summary {
    background: rgba(255, 107, 53, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-top: 30px;
}

.pulsex-summary-header h3 {
    color: #FF6B35;
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-align: center;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.3);
}

.pulsex-summary-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.pulsex-current-rank,
.pulsex-tvl-info,
.pulsex-combined-info,
.pulsex-growth-info {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
}

.pulsex-current-rank .rank-label,
.pulsex-tvl-info .tvl-label,
.pulsex-combined-info .combined-label,
.pulsex-growth-info .growth-label {
    color: #9CA3AF;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 8px;
}

.pulsex-current-rank .rank-value,
.pulsex-tvl-info .tvl-value,
.pulsex-combined-info .combined-value,
.pulsex-growth-info .growth-value {
    color: #FF6B35;
    font-size: 1.3rem;
    font-weight: 700;
    display: block;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.pulsex-current-rank .dex-name {
    color: #ffffff;
    font-size: 1rem;
    margin-top: 5px;
}

.pulsex-combined-info .combined-note {
    color: #9CA3AF;
    font-size: 0.8rem;
    display: block;
    margin-top: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dex-rankings-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }
    
    .dex-card {
        padding: 10px !important;
        flex-direction: column !important;
        text-align: center !important;
        gap: 8px !important;
    }
    
    /* Smaller logo for 2-column mobile layout */
    .dex-logo {
        width: 35px !important;
        height: 35px !important;
    }
    
    .dex-logo img {
        width: 28px !important;
        height: 28px !important;
    }
    
    .dex-info {
        text-align: center !important;
    }
    
    /* Smaller text for mobile 2-column layout */
    .dex-name {
        font-size: 0.85rem !important;
        margin: 0 0 4px 0 !important;
        white-space: normal !important;
        line-height: 1.2 !important;
    }
    
    .dex-chain {
        font-size: 0.7rem !important;
        margin-bottom: 3px !important;
        justify-content: center !important;
    }
    
    .dex-tvl {
        font-size: 0.85rem !important;
    }
    
    /* Rank number styling */
    .dex-rank {
        font-size: 0.8rem !important;
    }

    
    .pulsex-summary-content {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .pulsex-summary {
        padding: 20px;
    }
}

/* Volume Statistics Grid - PulseX Stats Tab Only */
#pulsex-stats .volume-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Volume Statistics Grid - General (for other tabs if needed) */
.volume-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.volume-stat-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: none;
}

.volume-stat-header h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    opacity: 0.9;
}

.volume-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #00FF40;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.volume-stat-label {
    color: #9CA3AF;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
}


/* Responsive Design for Volume Stats */
@media (max-width: 768px) {
    #pulsex-stats .volume-stats-grid,
    .volume-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .volume-stat-card {
        padding: 12px;
    }
    
    .volume-stat-value {
        font-size: 1.2rem;
    }
    
    .volume-stat-header h4 {
        font-size: 0.8rem;
    }
}


/* Fees Statistics Grid - PulseX Stats Tab Only */
#pulsex-stats .fees-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* Fees Statistics Grid - General (for other tabs if needed) */
.fees-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.fees-stat-card {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: none;
}

.fees-stat-header h4 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0 0 8px 0;
    opacity: 0.9;
}

.fees-stat-value {
    font-size: 1.4rem;
    font-weight: 700;
    color: #00FF40;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.2);
}

.fees-stat-label {
    color: #9CA3AF;
    font-size: 0.8rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Responsive Design for Fees Stats */
@media (max-width: 768px) {
    #pulsex-stats .fees-stats-grid,
    .fees-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        margin-top: 15px;
        padding-top: 15px;
    }
    
    .fees-stat-card {
        padding: 12px;
    }
    
    .fees-stat-value {
        font-size: 1.2rem;
    }
    
    .fees-stat-header h4 {
        font-size: 0.8rem;
    }
}

/* Richard Heart Core Coins ROI Chart */
.core-coins-section {
    margin-top: 40px;
    margin-bottom: 30px;
}

.core-coins-header {
    text-align: center;
    margin-bottom: 25px;
}

.core-coins-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #ffffff;
}

.core-coins-header p {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 20px;
}

.core-coins-chart-container {
    background: transparent;
    backdrop-filter: blur(20px);
    border: none;
    border-radius: 20px;
    padding: 25px;
    position: relative;
    max-width: 1200px !important; /* Constrain core coins chart width to match other sections */
    margin: 0 auto !important; /* Center the core coins chart */
}

#coreCoinsROIChart {
    max-height: 600px;
    position: relative;
    z-index: 2;
}

/* Gas Stats Page Additions */
.stat-pls {
    display: block;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: 2px;
}

/* Gas comparison cards - apply PulseChain gradient to savings text */
.send-comparison-card .secondary-current-price,
.approve-comparison-card .secondary-current-price,
.swap-comparison-card .secondary-current-price {
    background: linear-gradient(30deg, #f00 0%, #e619e6 25%, #8000ff 50%, #0080ff 75%, #00eaff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.gas-main-card .main-token-logo {
    display: none;
}

#gasChart {
    max-height: 300px;
    position: relative;
    z-index: 2;
}

/* Gas comparison cards - Complete Grid Structure */
.send-comparison-card,
.approve-comparison-card,
.swap-comparison-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 0;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

/* Top section - spans both columns for the heading */
.send-comparison-card .secondary-chart-header,
.approve-comparison-card .secondary-chart-header,
.swap-comparison-card .secondary-chart-header {
    grid-column: 1 / -1;
    grid-row: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    text-align: center;
    margin-bottom: 20px;
}

/* Left side of top section - action name */
.send-comparison-card .secondary-token-info,
.approve-comparison-card .secondary-token-info,
.swap-comparison-card .secondary-token-info {
    grid-column: 1;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Right side of top section - cheaper text */
.send-comparison-card .secondary-price-info,
.approve-comparison-card .secondary-price-info,
.swap-comparison-card .secondary-price-info {
    grid-column: 2;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Bottom section - spans both columns for the stats */
.send-comparison-card .secondary-token-stats,
.approve-comparison-card .secondary-token-stats,
.swap-comparison-card .secondary-token-stats {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    text-align: center;
    justify-items: center;
    align-items: center;
    width: 100%;
    padding: 0;
    margin: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 15px;
}

.send-comparison-card .secondary-stat-item,
.approve-comparison-card .secondary-stat-item,
.swap-comparison-card .secondary-stat-item {
    display: grid;
    grid-template-rows: auto auto;
    justify-items: center;
    align-items: center;
    text-align: center;
    width: 100%;
    height: 100%;
    padding: 10px 5px;
    box-sizing: border-box;
}

.send-comparison-card .secondary-stat-label,
.approve-comparison-card .secondary-stat-label,
.swap-comparison-card .secondary-stat-label {
    grid-row: 1;
    justify-self: center;
    align-self: center;
    text-align: center;
    width: 100%;
    margin: 0;
}

.send-comparison-card .secondary-stat-value,
.approve-comparison-card .secondary-stat-value,
.swap-comparison-card .secondary-stat-value {
    grid-row: 2;
    justify-self: center;
    align-self: center;
    text-align: center;
    width: 100%;
    margin: 0;
}

/* PLS Burn Tracking Section */
.burn-tracking-section {
    margin-top: 10px; /* Reduced from 20px to 10px to halve the space */
}

/* Reduce spacing in burn tracking section header */
.burn-tracking-section .overview-header {
    margin-bottom: 20px;
    padding: 0;
}

/* Force reduce spacing for PLS Daily burn section with high specificity */
#gas-stats .burn-tracking-section .overview-header,
div.tab-content#gas-stats div.burn-tracking-section div.overview-header {
    margin-top: 10px !important;
    margin-bottom: 20px !important; /* Added small space between heading and chart */
    padding: 0 !important;
}

/* Inflation/Deflation Display */
.inflation-deflation-display {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    margin-top: 20px;
    border: none;
}

.inflation-deflation-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.inflation-deflation-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    opacity: 0.9;
}

.inflation-deflation-value {
    font-size: 1.4rem;
    font-weight: 700;
    text-align: center;
    text-shadow: none;
}

.burn-main-card .main-token-logo {
    background: linear-gradient(45deg, #FF6B35, #FF0000);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.supply-chart-card {
    width: 100%;
}

.supply-chart-card .secondary-chart-container {
    height: 400px;
}

#burnChart,
#supplyChart {
    max-height: 400px;
    position: relative;
    z-index: 2;
}

/* PLSX Buy and Burn Section */
.plsx-burn-section {
    margin-top: 40px;
    max-width: 1200px !important; /* Constrain to 1200px max-width */
    margin-left: auto !important; /* Center the section */
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

.plsx-burn-main-card .main-token-logo {
    background: linear-gradient(45deg, #FF6B35, #FF8C00);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.plsx-burn-main-card .main-token-details h2 {
    color: #ffffff !important;
    text-shadow: none !important;
}

.oa-toggle-section {
    margin: 20px 0;
    text-align: center;
}

.oa-toggle-btn {
    background: linear-gradient(45deg, #8B5CF6, #A855F7);
    border: none;
    border-radius: 15px;
    padding: 12px 24px;
    color: #fff;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    min-width: 250px;
    margin: 0 auto;
}

.oa-toggle-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.toggle-text {
    font-size: 1rem;
}

.toggle-percentage {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 4px 8px;
    font-size: 0.9rem;
    font-weight: bold;
}

#plsxDeflationChart {
    max-height: 300px;
    position: relative;
    z-index: 2;
}

/* Bridge Stats Styles - Pulse Stats Tab Only */
#pulse-stats .bridge-tvl-display {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.9), rgba(20, 20, 20, 0.95));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    margin: 40px auto 20px auto; /* Moved further down to give video more space */
    max-width: 1200px;
    backdrop-filter: blur(10px); /* Add blur effect for better video overlay */
    position: relative;
    z-index: 10; /* Ensure TVL box is above the background video */
}

/* Bridge Stats Styles - General (for other tabs if needed) */
.bridge-tvl-display {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(20, 20, 20, 0.9));
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    z-index: 10;
}

.bridge-tvl-display .chart-header {
    margin-bottom: 30px;
}

.bridge-tvl-display .chart-header h2 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    position: relative;
    z-index: 10;
}

.bridge-tvl-display .chart-header p {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin: 0;
    position: relative;
    z-index: 10;
}

.tvl-main-value {
    font-size: 3.5rem;
    font-weight: 700;
    color: #8B5CF6;
    margin-bottom: 10px;
    position: relative;
    z-index: 10;
}

.tvl-main-value.pulsechain-gradient {
    background: linear-gradient(135deg, #f00, #e619e6, #8000ff, #0080ff, #00eaff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    background-size: 100% 100%;
}

.history-stat-value.pulsechain-gradient {
    background: linear-gradient(135deg, #f00, #e619e6, #8000ff, #0080ff, #00eaff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    background-size: 100% 100%;
}

.chart-current-number.pulsechain-gradient {
    background: linear-gradient(135deg, #f00, #e619e6, #8000ff, #0080ff, #00eaff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
    background-size: 100% 100%;
}

.tvl-subtitle {
    font-size: 1.2rem;
    color: #a0a0a0;
    font-weight: 500;
    position: relative;
    z-index: 10;
}

#bridgeTvlChart {
    max-height: 600px;
    position: relative;
    z-index: 2;
}

/* Specific styling for Bridge TVL chart container */
.validator-history-chart:has(#bridgeTvlChart) {
    height: 600px;
    min-width: 100%;
    padding-bottom: 80px;
    overflow: visible;
}

#bridgeFlowsChart {
    max-height: 450px;
    position: relative;
    z-index: 2;
}

/* Bridge token table styling removed - empty rule */

/* Active Tokens Subheading */
.active-tokens-subheading {
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 20px 0 30px 0;
    text-align: center;
}

.active-tokens-subheading span {
    color: #8B5CF6;
    font-weight: 700;
}

.chart-header p {
    color: #a0a0a0;
    margin-bottom: 20px;
}

/* HEX Stakes Chart Section Styles */
.hex-stakes-chart-section {
    background: #000000;
    border-radius: 20px;
    padding: 30px;
    margin: 20px 0 0 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    max-width: 1200px !important; /* Constrain to 1200px max-width */
    margin-left: auto !important; /* Center the section */
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

.hex-stakes-chart-section .full-width {
    width: 100%;
    max-width: none;
}

.hex-stakes-chart-section .chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.hex-stakes-chart-section .chart-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0;
}

.hex-stakes-chart-section .chart-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hex-stakes-chart-section .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #cccccc;
    font-size: 0.9rem;
}

.hex-stakes-chart-section .legend-color {
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

.hex-stakes-chart-section .legend-color.pre-pulsechain {
    background: linear-gradient(45deg, #ff0, #ff00ff);
    opacity: 0.7;
}

.hex-stakes-chart-section .legend-color.pulsechain {
    background: linear-gradient(45deg, #ff0, #ff00ff);
}

.hex-stakes-chart-section .legend-color.launch-line {
    background: #ff69b4;
    width: 20px;
    height: 2px;
}

/* HEX T-Share Chart Section */
.hex-tshare-chart-section {
    margin: 40px 0;
    padding: 0 20px;
    max-width: 1200px !important; /* Constrain to 1200px max-width */
    margin-left: auto !important; /* Center the section */
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

/* HEX Payout Chart Section */
.hex-payout-chart-section {
    margin: 40px 0;
    padding: 0 20px;
    max-width: 1200px !important; /* Constrain to 1200px max-width */
    margin-left: auto !important; /* Center the section */
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

.hex-payout-chart-section .chart-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hex-payout-chart-section .chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.hex-payout-chart-section .chart-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.hex-payout-chart-section .chart-wrapper {
    position: relative;
    height: 400px;
    margin-bottom: 30px;
}

.hex-payout-chart-section .chart-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.hex-payout-chart-section .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hex-payout-chart-section .stat-label {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-align: center;
}

.hex-payout-chart-section .stat-value {
    display: block;
    background: linear-gradient(45deg, #FFD700 0%, #FF00FF 50%, #8B5CF6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.hex-tshare-chart-section .chart-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hex-tshare-chart-section .chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.hex-tshare-chart-section .chart-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.hex-tshare-chart-section .chart-legend {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hex-tshare-chart-section .legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #a0a0a0;
    font-size: 0.9rem;
}

.hex-tshare-chart-section .legend-color {
    width: 16px;
    height: 16px;
    border-radius: 2px;
}

.hex-tshare-chart-section .legend-color.tshare-rate {
    background: linear-gradient(45deg, #FFD700, #FFA500);
}

.hex-tshare-chart-section .legend-color.launch-line {
    background: #ff69b4;
    width: 20px;
    height: 2px;
}

.hex-tshare-chart-section .chart-wrapper {
    position: relative;
    height: 400px;
    margin-bottom: 30px;
}

.hex-tshare-chart-section .chart-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.hex-tshare-chart-section .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hex-tshare-chart-section .stat-label {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-align: center;
}

.hex-tshare-chart-section .stat-value {
    display: block;
    background: linear-gradient(45deg, #FFD700 0%, #FF00FF 50%, #8B5CF6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

/* HEX T-Share Metrics Section */
.hex-tshare-metrics-section {
    margin: 40px 0;
    padding: 0 20px;
    max-width: 1200px !important; /* Constrain to 1200px max-width */
    margin-left: auto !important; /* Center the section */
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

.hex-tshare-metrics-section h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    text-align: center;
}

.hex-tshare-metrics-section .hex-stats-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin-bottom: 30px;
    max-width: 1200px !important; /* Changed from 1400px to 1200px */
    margin-left: auto !important;
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

.hex-tshare-metrics-section .hex-stat-box {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.hex-tshare-metrics-section .hex-stat-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.3);
}

.hex-tshare-metrics-section .hex-stat-label {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hex-tshare-metrics-section .hex-stat-value {
    color: #FFD700;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.hex-tshare-metrics-section .hex-stat-sublabel {
    color: #666;
    font-size: 0.8rem;
}

/* Responsive design for T-Share chart */
@media (max-width: 768px) {
    .hex-tshare-chart-section .chart-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .hex-tshare-chart-section .chart-legend {
        justify-content: flex-start;
    }
    
    .hex-tshare-chart-section .chart-wrapper {
        height: auto !important;
        min-height: 300px !important;
    }
    
    .hex-tshare-chart-section .chart-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hex-tshare-metrics-section .hex-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Responsive design for T-Share metrics */
@media (max-width: 1200px) {
    .hex-tshare-metrics-section .hex-stats-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 18px;
    }
}

@media (max-width: 768px) {
    .hex-tshare-metrics-section .hex-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

.hex-stakes-chart-section .chart-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding: 20px;
    background: #000000;
    border-radius: 10px;
    flex-wrap: wrap;
    gap: 20px;
}

.hex-stakes-chart-section .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    min-width: 150px;
}

.hex-stakes-chart-section .stat-label {
    display: block;
    color: #cccccc;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.hex-stakes-chart-section .stat-value {
    display: block;
    background: linear-gradient(45deg, #ff0, #ff00ff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: bold;
}

/* HEX Liquidity Charts Styles */
.hex-liquidity-section {
    padding: 20px;
    max-width: 1200px !important; /* Constrain to 1200px max-width */
    margin-left: auto !important; /* Center the section */
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

/* HEX Liquidity Charts - Make them larger to fill space */
.hex-liquidity-section .charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 30px; /* Larger gap between charts */
    margin-bottom: 30px;
    max-width: 1200px !important; /* Constrain to 1200px max-width */
    margin-left: auto !important; /* Center the charts */
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

/* HEX Liquidity Charts - Individual chart containers */
.hex-liquidity-section .chart-container {
    min-height: 400px; /* Make charts taller */
    background: transparent;
    border-radius: 15px;
    padding: 20px;
    max-width: none !important; /* Allow charts to fill their grid space */
    width: 100% !important; /* Fill the grid cell */
}

/* HEX Liquidity Metrics - Constrain to 1200px */
.hex-liquidity-section .liquidity-metrics {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

/* Charts Grid - PLSX Stats Tab Only */
#plsx-stats .charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

/* PLSX Liquidity Charts Styles - FOCUSED APPROACH */
.plsx-liquidity-section {
    padding: 20px;
    max-width: 1200px !important; /* Constrain to 1200px max-width */
    margin-left: auto !important; /* Center the section */
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

/* PLSX Liquidity Section - MAXIMUM SPECIFICITY OVERRIDE */
.tab-content#plsx-stats .plsx-liquidity-section {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: auto !important;
    padding: 20px !important;
}

/* PLSX Charts Grid - MAXIMUM SPECIFICITY OVERRIDE */
.tab-content#plsx-stats .plsx-liquidity-section .plsx-charts-grid {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: auto !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    margin-bottom: 30px !important;
}

/* PLSX History Stats - MAXIMUM SPECIFICITY OVERRIDE */
.tab-content#plsx-stats .plsx-liquidity-section .history-stats {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: auto !important;
}

/* PLSX LIQUIDITY - NUCLEAR OPTION - MOST SPECIFIC POSSIBLE */
div.tab-content#plsx-stats div.plsx-liquidity-section {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

div.tab-content#plsx-stats div.plsx-liquidity-section div.plsx-charts-grid {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 30px !important;
    margin-bottom: 30px !important;
    box-sizing: border-box !important;
}

div.tab-content#plsx-stats div.plsx-liquidity-section div.history-stats {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    box-sizing: border-box !important;
}

/* PLSX TOP DATA SECTION - NUCLEAR OPTION */
div.tab-content#plsx-stats div.stats-grid {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* PLSX STAT CARDS - ENSURE PROPER BORDERS */
div.tab-content#plsx-stats div.stats-grid .stat-card {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* PLSX HOLDER GROWTH SECTION - NUCLEAR OPTION */
div.tab-content#plsx-stats div.holder-growth-section {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* PLSX BURN SECTION - NUCLEAR OPTION */
div.tab-content#plsx-stats div.burn-section {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* BRIDGE STATS PAGE - NUCLEAR OPTION */
/* Bridge Total Value Locked (TVL) + metrics */
div.tab-content#bridge-stats div.bridge-tvl-display {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* Bridge TVL History Stats (24H, 7D, 30D changes) - ULTRA SPECIFIC */
div.tab-content#bridge-stats div.bridge-tvl-display div.history-stats {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* Historical Bridge TVL chart - ULTRA SPECIFIC */
div.tab-content#bridge-stats div.validator-history-chart {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* Override the specific bridge TVL chart rule that sets min-width: 100% */
div.tab-content#bridge-stats div.validator-history-chart:has(#bridgeTvlChart) {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    min-width: 1200px !important;
    padding: 20px !important;
    padding-bottom: 100px !important; /* Extra space for X-axis labels */
    box-sizing: border-box !important;
    overflow: visible !important; /* Allow labels to show */
}

/* Daily Net Inflow/Outflow chart - increase height for full Y-axis range */
div.tab-content#bridge-stats div.validator-history-chart:has(#bridgeFlowsChart) {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    min-width: 1200px !important;
    padding: 20px !important;
    padding-bottom: 100px !important; /* Extra space for X-axis labels */
    box-sizing: border-box !important;
    overflow: visible !important; /* Allow labels to show */
    min-height: 500px !important; /* Increased height for full Y-axis range */
    height: 500px !important; /* Fixed height to accommodate -6M range */
}

/* Monthly Net Inflow/Outflow chart - increase height for full Y-axis range */
div.tab-content#bridge-stats div.validator-history-chart:has(#bridgeMonthlyFlowsChart) {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    min-width: 1200px !important;
    padding: 20px !important;
    padding-bottom: 100px !important; /* Extra space for X-axis labels */
    box-sizing: border-box !important;
    overflow: visible !important; /* Allow labels to show */
    min-height: 500px !important; /* Increased height for full Y-axis range */
    height: 500px !important; /* Fixed height to accommodate -6M range */
}

/* GAS STATS PAGE - NUCLEAR OPTION */
/* Gas Send, Approve, Swap metrics */
div.tab-content#gas-stats div.main-chart-card div.token-stats {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* Gas ETH Comparison Section (Send, Approve, Swap comparison cards) */
div.tab-content#gas-stats div.secondary-charts-grid {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* Gas Supply Analysis Chart */
div.tab-content#gas-stats div.burn-tracking-section div.secondary-charts-grid {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* Gas Comparison Header */
div.tab-content#gas-stats div.gas-comparison-header {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    text-align: center !important;
}

div.tab-content#gas-stats div.gas-comparison-header h2 {
    color: #ffffff !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
}

div.tab-content#gas-stats div.gas-comparison-header p {
    color: #a0a0a0 !important;
    font-size: 1rem !important;
    margin: 0 !important;
}

/* PLS Daily burn header - match Gas Comparison to ETH styling */
div.tab-content#gas-stats div.burn-tracking-section div.overview-header h2 {
    color: #ffffff !important;
    font-size: 2rem !important;
    font-weight: 700 !important;
    margin: 0 0 10px 0 !important;
}

div.tab-content#gas-stats div.burn-tracking-section div.overview-header p {
    color: #a0a0a0 !important;
    font-size: 1rem !important;
    margin: 0 !important;
}

/* PLS Supply Analysis side-by-side metrics */
.inflation-deflation-display-side-by-side {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 20px;
    background: transparent;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.inflation-deflation-left,
.inflation-deflation-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
}

.inflation-deflation-left {
    margin-right: 20px;
}

.inflation-deflation-right {
    margin-left: 20px;
}

.inflation-deflation-label {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 8px;
    font-weight: 500;
}

.inflation-deflation-value {
    color: #ffffff;
    font-size: 1.4rem;
    font-weight: 700;
}

/* Bridge Top 10 Tokens Breakdown section */
div.tab-content#bridge-stats div.top-validators-section {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 1200px !important;
    padding: 20px !important;
    box-sizing: border-box !important;
}

/* PLSX Stats - Specific section constraints with higher specificity */
#plsx-stats .analytics-header,
#plsx-stats .burn-section,
#plsx-stats .stats-grid,
#plsx-stats .plsx-liquidity-section,
#plsx-stats .holder-growth-section,
#plsx-stats .plsx-burn-section,
#plsx-stats .main-chart-section,
#plsx-stats .charts-grid,
#plsx-stats .plsx-charts-grid {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: auto !important;
}

/* PLSX Stats - Override global rules with even higher specificity */
.tab-content#plsx-stats .analytics-header,
.tab-content#plsx-stats .burn-section,
.tab-content#plsx-stats .stats-grid,
.tab-content#plsx-stats .plsx-liquidity-section,
.tab-content#plsx-stats .holder-growth-section,
.tab-content#plsx-stats .plsx-burn-section,
.tab-content#plsx-stats .main-chart-section,
.tab-content#plsx-stats .charts-grid,
.tab-content#plsx-stats .plsx-charts-grid {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: auto !important;
}

.plsx-charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Two equal columns */
    gap: 30px; /* Larger gap between charts */
    margin-bottom: 30px;
    max-width: 1200px !important; /* Constrain to 1200px max-width */
    margin-left: auto !important; /* Center the charts */
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

/* PLSX Liquidity Charts - Individual chart containers */
.plsx-liquidity-section .chart-container {
    min-height: 400px; /* Make charts taller */
    background: transparent;
    border-radius: 15px;
    padding: 20px;
    max-width: none !important; /* Allow charts to fill their grid space */
    width: 100% !important; /* Fill the grid cell */
}

/* PLSX Liquidity Metrics - Constrain to 1200px */
.plsx-liquidity-section .liquidity-metrics {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

.chart-container {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 30px;
    position: relative;
}

.chart-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-align: center;
    color: #ffffff;
}

.chart-wrapper {
    position: relative;
    height: 350px;
}


/* Responsive HEX Charts */
@media (max-width: 768px) {
    #hex-stats .charts-grid,
    #plsx-stats .charts-grid {
        grid-template-columns: 1fr;
    }
    
    .plsx-charts-grid {
        grid-template-columns: 1fr;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important;
    }
    
    /* PLSX Liquidity Charts - Reduce height on mobile */
    .plsx-liquidity-section .chart-container {
        min-height: 300px;
        max-width: none !important;
        width: 100% !important;
    }
    
    /* PLSX Liquidity Section - MOBILE MAXIMUM SPECIFICITY OVERRIDE */
    .tab-content#plsx-stats .plsx-liquidity-section {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important;
        padding: 20px !important;
    }
    
    /* PLSX Charts Grid - MOBILE MAXIMUM SPECIFICITY OVERRIDE */
    .tab-content#plsx-stats .plsx-liquidity-section .plsx-charts-grid {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }
    
    /* PLSX History Stats - MOBILE MAXIMUM SPECIFICITY OVERRIDE */
    .tab-content#plsx-stats .plsx-liquidity-section .history-stats {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important;
    }
    
    /* PLSX LIQUIDITY - MOBILE NUCLEAR OPTION */
    div.tab-content#plsx-stats div.plsx-liquidity-section {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
    
    div.tab-content#plsx-stats div.plsx-liquidity-section div.plsx-charts-grid {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        box-sizing: border-box !important;
    }
    
    div.tab-content#plsx-stats div.plsx-liquidity-section div.history-stats {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        box-sizing: border-box !important;
    }
    
    /* PLSX TOP DATA SECTION - MOBILE NUCLEAR OPTION */
    div.tab-content#plsx-stats div.stats-grid {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
    
    /* PLSX STAT CARDS - MOBILE ENSURE PROPER BORDERS */
    div.tab-content#plsx-stats div.stats-grid .stat-card {
        border: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-right: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }
    
    /* PLSX HOLDER GROWTH SECTION - MOBILE NUCLEAR OPTION */
    div.tab-content#plsx-stats div.holder-growth-section {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
    
    /* PLSX BURN SECTION - MOBILE NUCLEAR OPTION */
    div.tab-content#plsx-stats div.burn-section {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
    
    /* BRIDGE STATS PAGE - MOBILE NUCLEAR OPTION */
    /* Bridge Total Value Locked (TVL) + metrics */
    div.tab-content#bridge-stats div.bridge-tvl-display {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
    
    /* Bridge TVL History Stats (24H, 7D, 30D changes) - Mobile ULTRA SPECIFIC */
    div.tab-content#bridge-stats div.bridge-tvl-display div.history-stats {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
    
    /* Historical Bridge TVL chart - Mobile ULTRA SPECIFIC */
    div.tab-content#bridge-stats div.validator-history-chart {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
    
    /* Override the specific bridge TVL chart rule that sets min-width: 100% - Mobile */
    div.tab-content#bridge-stats div.validator-history-chart:has(#bridgeTvlChart) {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        min-width: 1200px !important;
        padding: 20px !important;
        padding-bottom: 100px !important; /* Extra space for X-axis labels */
        box-sizing: border-box !important;
        overflow: visible !important; /* Allow labels to show */
    }
    
    /* Daily Net Inflow/Outflow chart - increase height for full Y-axis range - Mobile */
    div.tab-content#bridge-stats div.validator-history-chart:has(#bridgeFlowsChart) {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        min-width: 1200px !important;
        padding: 20px !important;
        padding-bottom: 100px !important; /* Extra space for X-axis labels */
        box-sizing: border-box !important;
        overflow: visible !important; /* Allow labels to show */
        min-height: 500px !important; /* Increased height for full Y-axis range */
        height: 500px !important; /* Fixed height to accommodate -6M range */
    }
    
    /* Monthly Net Inflow/Outflow chart - increase height for full Y-axis range - Mobile */
    div.tab-content#bridge-stats div.validator-history-chart:has(#bridgeMonthlyFlowsChart) {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        min-width: 1200px !important;
        padding: 20px !important;
        padding-bottom: 100px !important; /* Extra space for X-axis labels */
        box-sizing: border-box !important;
        overflow: visible !important; /* Allow labels to show */
        min-height: 500px !important; /* Increased height for full Y-axis range */
        height: 500px !important; /* Fixed height to accommodate -6M range */
    }
    
    /* GAS STATS PAGE - MOBILE NUCLEAR OPTION */
    /* Gas Send, Approve, Swap metrics */
    div.tab-content#gas-stats div.main-chart-card div.token-stats {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
    
    /* Gas ETH Comparison Section (Send, Approve, Swap comparison cards) */
    div.tab-content#gas-stats div.secondary-charts-grid {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
    
    /* Gas Supply Analysis Chart */
    div.tab-content#gas-stats div.burn-tracking-section div.secondary-charts-grid {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
    
    /* Gas Comparison Header - Mobile */
    div.tab-content#gas-stats div.gas-comparison-header {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    
    div.tab-content#gas-stats div.gas-comparison-header h2 {
        color: #ffffff !important;
        font-size: 2rem !important;
        font-weight: 700 !important;
        margin: 0 0 10px 0 !important;
    }
    
    div.tab-content#gas-stats div.gas-comparison-header p {
        color: #a0a0a0 !important;
        font-size: 1rem !important;
        margin: 0 !important;
    }
    
    /* Bridge Top 10 Tokens Breakdown section */
    div.tab-content#bridge-stats div.top-validators-section {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: 1200px !important;
        padding: 20px !important;
        box-sizing: border-box !important;
    }
    
    /* PLSX Stats - Override global mobile rules */
    .plsx-liquidity-section {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important;
    }
    
    /* PLSX Holder Growth - Override global mobile rules */
    #plsx-stats .holder-growth-section {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important;
    }
    
    /* PLSX Burn Section - Override global mobile rules */
    .plsx-burn-section {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important;
    }
    
    /* PLSX Stats - Specific section constraints for mobile */
    #plsx-stats .analytics-header,
    #plsx-stats .burn-section,
    #plsx-stats .stats-grid,
    #plsx-stats .plsx-liquidity-section,
    #plsx-stats .holder-growth-section,
    #plsx-stats .plsx-burn-section,
    #plsx-stats .main-chart-section,
    #plsx-stats .charts-grid,
    #plsx-stats .plsx-charts-grid {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important;
    }
    
    /* PLSX Stats - Override global mobile rules with even higher specificity */
    .tab-content#plsx-stats .analytics-header,
    .tab-content#plsx-stats .burn-section,
    .tab-content#plsx-stats .stats-grid,
    .tab-content#plsx-stats .plsx-liquidity-section,
    .tab-content#plsx-stats .holder-growth-section,
    .tab-content#plsx-stats .plsx-burn-section,
    .tab-content#plsx-stats .main-chart-section,
    .tab-content#plsx-stats .charts-grid,
    .tab-content#plsx-stats .plsx-charts-grid {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important;
    }
    
    /* HEX Liquidity Charts - Stack vertically on mobile */
    .hex-liquidity-section .charts-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important;
    }
    
    /* HEX Liquidity Charts - Reduce height on mobile */
    .hex-liquidity-section .chart-container {
        min-height: 300px;
        max-width: none !important;
        width: 100% !important;
    }
    
    /* HEX Stats - Override global mobile chart container rules */
    #hex-stats .charts-grid {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important;
    }
    
    /* HEX Stats - Override global mobile chart container rules */
    .hex-stats-section {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important;
    }
    
    /* HEX T-Share Metrics - Override global mobile rules */
    .hex-tshare-metrics-section {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important;
    }
    
    .hex-tshare-metrics-section .hex-stats-grid {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important;
    }
    
    /* HEX Chart Sections - Override global mobile rules */
    .hex-stakes-chart-section,
    .hex-tshare-chart-section,
    .hex-payout-chart-section,
    .hex-stakes-ending-chart-section {
        max-width: 1200px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        width: auto !important;
    }
    
    .chart-wrapper {
        height: auto !important;
        min-height: 300px !important;
    }
}

/* Section Heading Styles */
.section-heading-centered {
    text-align: center;
    margin: 40px 0 20px 0;
}

.section-heading-centered h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin: 0;
    padding-bottom: 10px;
    border-bottom: none;
    display: inline-block;
}

/* ==================== LEAGUES STYLES ==================== */

.all-tokens-leagues {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin: 2rem auto; /* Center the leagues container */
    max-width: 1200px !important; /* Constrain leagues width to match PLS chart */
}

.token-leagues-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #333;
    transition: all 0.3s ease;
}

.token-leagues-section:hover {
    border-color: #8B5CF6;
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.2);
}

.token-leagues-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #333;
}

.token-logo-header {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid #8B5CF6;
}

.token-logo-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.token-info-header h2 {
    font-size: 2rem;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.token-quick-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.quick-stat {
    font-size: 0.9rem;
    color: #a0a0a0;
    font-weight: 500;
}

.quick-stat span {
    color: #ffffff;
    font-weight: 600;
}

.leagues-chart-container {
    margin: 2rem 0;
}

.leagues-chart-header {
    text-align: center;
    margin-bottom: 2rem;
}

.leagues-chart-header h2 {
    font-size: 2.2rem;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    font-weight: 700;
}

.leagues-chart-header p {
    color: #a0a0a0;
    font-size: 1.1rem;
    margin: 0;
}

.leagues-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.league-card {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    padding: 2rem;
    border: 2px solid #333;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.league-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.league-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #8B5CF6, #7C3AED, #6D28D9);
}

.league-card.poseidon::before {
    background: linear-gradient(90deg, #FFD700, #FFA500);
}

.league-card.whale::before {
    background: linear-gradient(90deg, #FF6B35, #FF8C00);
}

.league-card.shark::before {
    background: linear-gradient(90deg, #00FF40, #00CC6A);
}

.league-card.dolphin::before {
    background: linear-gradient(90deg, #627EEA, #4F46E5);
}

.league-card.squid::before {
    background: linear-gradient(90deg, #9945FF, #7C3AED);
}

.league-card.turtle::before {
    background: linear-gradient(90deg, #F3BA2F, #F59E0B);
}

.league-card.crab::before {
    background: linear-gradient(90deg, #E84142, #DC2626);
}

.league-card.shrimp::before {
    background: linear-gradient(90deg, #A0A0A0, #808080);
}

.league-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.league-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
}

.league-card.poseidon .league-icon {
    background: linear-gradient(135deg, #FFD700, #FFA500);
}

.league-card.whale .league-icon {
    background: linear-gradient(135deg, #FF6B35, #FF8C00);
}

.league-card.shark .league-icon {
    background: linear-gradient(135deg, #00FF40, #00CC6A);
}

.league-card.dolphin .league-icon {
    background: linear-gradient(135deg, #627EEA, #4F46E5);
}

.league-card.squid .league-icon {
    background: linear-gradient(135deg, #9945FF, #7C3AED);
}

.league-card.turtle .league-icon {
    background: linear-gradient(135deg, #F3BA2F, #F59E0B);
}

.league-card.crab .league-icon {
    background: linear-gradient(135deg, #E84142, #DC2626);
}

.league-card.shrimp .league-icon {
    background: linear-gradient(135deg, #A0A0A0, #808080);
}

.league-info h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
    font-weight: 700;
}

.league-percentage {
    font-size: 1rem;
    color: #a0a0a0;
    font-weight: 500;
}

.league-requirements {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.requirement-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: none;
}

.requirement-label {
    font-size: 0.9rem;
    color: #a0a0a0;
    font-weight: 500;
}

.requirement-value {
    font-size: 1rem;
    color: #ffffff;
    font-weight: 600;
    text-align: right;
}

.requirement-value.large {
    font-size: 1.1rem;
    font-weight: 700;
}

.leagues-loading {
    text-align: center;
    padding: 4rem 2rem;
    color: #a0a0a0;
}

.leagues-loading .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #333;
    border-top: 4px solid #8B5CF6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .all-tokens-leagues {
        gap: 2rem;
    }

    .leagues-grid {
        grid-template-columns: 1fr;
    }

    .token-leagues-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .token-quick-stats {
        justify-content: center;
        gap: 1rem;
    }

    .league-card {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .all-tokens-leagues {
        gap: 1.5rem;
        margin: 1rem 0;
    }

    .token-leagues-section {
        padding: 1.5rem;
    }

    .token-logo-header {
        width: 50px;
        height: 50px;
    }

    .token-info-header h2 {
        font-size: 1.5rem;
    }

    .token-quick-stats {
        flex-direction: column;
        gap: 0.5rem;
        align-items: center;
        justify-content: center;
    }
}

/* Leagues Page Styles - FORCE 1200px constraint */
.all-tokens-leagues {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 20px !important;
    margin-top: 20px !important;
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.token-leagues-section {
    background: transparent;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.token-leagues-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.token-logo-header {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Remove circular background */
    background: transparent;
    border-radius: 0;
    border: none;
}

.token-logo-header img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.token-info-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 5px 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.token-quick-stats {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 10px !important;
}

.quick-stat {
    display: flex;
    flex-direction: column;
    gap: 2px;
    flex: 1;
    text-align: center;
}

.quick-stat-label {
    color: #a0a0a0;
    font-size: 0.8rem;
    font-weight: 500;
}

.quick-stat-value {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
}

.leagues-grid {
    margin-top: 20px;
}

/* Leagues Table Styles */
.leagues-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.9);
    border-radius: 10px;
    overflow: hidden;
    border: none;
}

.leagues-table thead {
    background: rgba(255, 255, 255, 0.05);
}

.leagues-table th {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 15px 12px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.leagues-table td {
    color: #ffffff;
    font-size: 0.9rem;
    padding: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Removed hover effect for cleaner look */
.leagues-table tbody tr:hover {
    background: transparent !important;
}

.leagues-table tbody tr:focus {
    background: transparent !important;
}

.league-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.league-icon {
    font-size: 1.2rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.league-text {
    color: #ffffff;
}

.league-percentage {
    color: #a0a0a0;
    font-weight: 500;
}

.league-tokens {
    color: #00ff88;
    font-weight: 600;
}

.league-value {
    color: #ffd700;
    font-weight: 600;
}

/* League-specific row colors - REMOVED to eliminate hover effects */
.league-row.poseidon,
.league-row.whale,
.league-row.shark,
.league-row.dolphin,
.league-row.squid,
.league-row.turtle,
.league-row.crab,
.league-row.shrimp {
    border-left: none !important;
    border: none !important;
}

/* Responsive design for leagues */
@media (max-width: 1200px) {
    .all-tokens-leagues {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    /* Make leagues table horizontally scrollable on mobile */
    .leagues-grid {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-behavior: smooth !important;
        /* Ensure proper scrolling container */
        width: 100% !important;
        max-width: 100% !important;
        /* Add visual scroll indicators */
        border-radius: 8px !important;
        /* Ensure scrolling is visible */
        position: relative !important;
    }
    
    .leagues-table {
        min-width: 700px !important; /* Increased from 600px to 700px for better content display */
        width: auto !important;
        /* Ensure table doesn't shrink */
        table-layout: auto !important;
    }
    
    /* Keep original font sizes and padding for readability */
    .leagues-table th,
    .leagues-table td {
        padding: 12px 10px !important; /* Increased horizontal padding */
        font-size: 0.9rem !important;
        white-space: nowrap !important;
        /* Ensure text doesn't wrap */
        overflow: visible !important;
    }
    
    /* Ensure column headers are properly spaced */
    .leagues-table th {
        min-width: 120px !important; /* Ensure minimum column width */
        text-align: center !important;
    }
    
    /* Ensure data cells have proper spacing */
    .leagues-table td {
        min-width: 100px !important; /* Ensure minimum cell width */
        text-align: center !important;
    }
    
    .league-icon {
        font-size: 1rem !important;
        width: 20px !important;
        height: 20px !important;
    }
    
    .league-tokens {
        font-size: 0.9rem !important;
    }
    
    /* Add scroll indicators for better UX */
    .leagues-grid::-webkit-scrollbar {
        height: 6px !important;
    }
    
    .leagues-grid::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 3px !important;
    }
    
    .leagues-grid::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3) !important;
        border-radius: 3px !important;
    }
    
    .leagues-grid::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5) !important;
    }
    
    .league-percentage {
        font-size: 0.9rem !important;
    }
    
    .league-value {
        font-size: 0.9rem !important;
    }
}

/* FORCE CSS UPDATES - Leagues Page - Updated: 2024-12-19 15:30 */
.token-leagues-section .token-quick-stats {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 20px !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
}

.token-leagues-section .quick-stat {
    flex: 1 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
    padding: 0 10px !important;
}

/* FORCE REMOVE ALL HOVER EFFECTS */
.token-leagues-section {
    transition: none !important;
    transform: none !important;
}

.token-leagues-section:hover,
.token-leagues-section:focus,
.token-leagues-section:active {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    outline: none !important;
    background: rgba(0, 0, 0, 0.8) !important;
    transition: none !important;
}

/* REMOVED - was causing problems */

/* SIMPLE: Remove all hover effects */
.token-leagues-section .leagues-table tbody tr:hover {
    background: transparent !important;
}

.token-leagues-section .leagues-table tbody tr {
    background: transparent !important;
}

/* Remove any potential hover effects from league cards or rows */
.league-card:hover,
.league-card:focus,
.league-card:active,
.league-row:hover,
.league-row:focus,
.league-row:active {
    transform: none !important;
    box-shadow: none !important;
    background: transparent !important;
    background-color: transparent !important;
    outline: none !important;
    border-color: inherit !important;
}

/* Remove any potential hover effects from the entire leagues grid */
.leagues-grid:hover,
.leagues-grid:focus,
.leagues-grid:active {
    transform: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* New layout for token quick stats */
.token-quick-stats {
    display: flex !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 20px !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    flex-wrap: nowrap !important;
    overflow: visible !important;
    margin-bottom: 20px !important;
    padding-bottom: 15px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.quick-stat {
    flex: 1 !important;
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
    min-width: 0 !important;
    padding: 0 10px !important;
}
/* ========================
   TOKEN RANKINGS STYLING
   ======================== */

/* Token Rankings Header */
.token-rankings-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
}

.token-rankings-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.token-rankings-header p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}


/* Crypto Overview Modules */
.crypto-overview-modules {
    max-width: 1000px;
    margin: 0 auto 40px auto;
    padding: 0 20px;
}

.overview-modules-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.overview-module {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.overview-module h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
    text-align: center;
}

/* Market Overview Module */
.overview-metrics {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.metric-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: transparent !important;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 48px; /* Match the height of volume-leader-item */
}

/* Force override for market overview metric items */
.market-overview-module .metric-item {
    background: transparent !important;
}

.metric-label {
    font-size: 0.9rem;
    color: #a0a0a0;
}

.metric-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #ffffff;
}

/* Volume Leaders Module */
.volume-leaders-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.volume-leader-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

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

.leader-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.leader-details {
    display: flex;
    flex-direction: column;
}

.leader-symbol {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
}

.leader-name {
    font-size: 0.8rem;
    color: #a0a0a0;
}

.leader-metrics {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.leader-volume {
    font-weight: 600;
    color: #ffffff;
    font-size: 0.9rem;
}

.leader-change {
    font-size: 0.8rem;
    font-weight: 600;
}

.leader-change.positive {
    color: #00ff88;
}

.leader-change.negative {
    color: #ff4444;
}


/* Mobile Responsive */
@media (max-width: 768px) {
    .overview-modules-container {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .overview-metrics {
        gap: 12px;
    }
    
    .overview-module {
        padding: 20px;
    }
    
    .overview-module h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    /* Fix leagues page - force 1 column on mobile */
    #leagues .all-tokens-leagues {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
        gap: 2rem !important;
    }
    
    #leagues .token-leagues-section {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        flex: none !important;
    }
    
    #leagues .leagues-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    
    #leagues .league-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Fix leagues header on mobile */
    #leagues .analytics-header {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix ETH Treasuries page on mobile */
    #eth-treasuries .pulsechain-treasury-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 30px 15px !important;
        box-sizing: border-box !important;
    }
    
    #eth-treasuries .treasury-metrics-grid {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    #eth-treasuries .treasury-metric-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    #eth-treasuries .analytics-header {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Make ETH Treasuries metrics reasonably larger on mobile */
    #eth-treasuries .treasury-metric-card .metric-label {
        font-size: 0.9rem !important;
    }
    
    #eth-treasuries .treasury-metric-card .metric-value {
        font-size: 6.4rem !important;
        font-weight: 600 !important;
    }
    
    /* Fix ETH Treasuries table container on mobile */
    #eth-treasuries .treasuries-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix crypto overview modules container on mobile */
    .crypto-overview-modules {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Make market overview metrics same size as volume leaders on mobile */
    .market-overview-module .metric-label {
        font-size: 0.9rem !important; /* Match volume leaders size */
    }
    
    .market-overview-module .metric-value {
        font-size: 1.1rem !important; /* Slightly larger than labels */
        font-weight: 600 !important;
    }
    
    .metric-value {
        font-size: 1.1rem;
    }
    
    .volume-leader-item {
        padding: 8px;
    }
    
    .leader-logo {
        width: 20px;
        height: 20px;
    }
}

/* Token Rankings Section */
.token-rankings-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Token Rankings Table Container */
.token-rankings-table-container {
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
}

/* Token Rankings Table */
.token-rankings-table {
    width: 100%;
    border-collapse: collapse;
}

.token-rankings-table th {
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-weight: 600;
    padding: 20px 15px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.token-rankings-table td {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    font-size: 0.9rem;
}

/* Hover effect removed for token rankings table */

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

/* Rank Column */
.token-rank {
    font-weight: bold;
    color: #667eea;
    font-size: 1rem;
    text-align: center;
    width: 60px;
}

/* Token Info Column */
.token-info {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 200px;
}

.token-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

/* Specific override for token rankings table */
.token-rankings-table .token-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    border: none !important;
    background: none !important;
}

.token-details {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.token-symbol {
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
}

.token-name {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
}

/* Price Column */
.token-price {
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
}

/* Market Cap Column */
.token-market-cap {
    color: #e0e0e0;
    font-size: 0.9rem;
}

/* Volume Column */
.token-volume {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Change Columns */
.token-change {
    font-weight: 600;
    font-size: 0.9rem;
}

.token-change.positive {
    color: #4ade80;
}

.token-change.negative {
    color: #ff4444;
}

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.pagination-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.pagination-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.pagination-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

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

.page-numbers {
    display: flex;
    gap: 5px;
}

.page-btn {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.page-btn.active {
    background: linear-gradient(30deg, #f00 0%, #e619e6 25%, #8000ff 50%, #0080ff 75%, #00eaff 100%);
    color: #ffffff;
}

/* Loading Row */
.loading-row {
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-style: italic;
    padding: 40px 20px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .token-rankings-header h1 {
        font-size: 2rem;
    }
    
    .token-rankings-table {
        font-size: 0.8rem;
    }
    
    .token-rankings-table th,
    .token-rankings-table td {
        padding: 10px 8px;
    }
    
    /* Fix token rankings header on mobile */
    .token-rankings-header {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix token rankings section on mobile */
    .token-rankings-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix price column alignment - force left align on mobile */
    .token-rankings-table td:nth-child(3) {
        text-align: left !important;
    }
    
    .token-info {
        min-width: 150px;
    }
    
    .token-icon {
        width: 24px;
        height: 24px;
    }
    
    .pagination-container {
        flex-direction: column;
        text-align: center;
    }
    
    .pagination-controls {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .token-rankings-table th:nth-child(6),
    .token-rankings-table td:nth-child(6),
    .token-rankings-table th:nth-child(7),
    .token-rankings-table td:nth-child(7) {
        display: none;
    }
    
    .token-rankings-table th,
    .token-rankings-table td {
        padding: 8px 6px;
    }
}

/* PRODUCTION MOBILE FIXES */

/* Mobile Navigation Fix */
@media (max-width: 768px) {
    .tab-navigation {
        background: rgba(0, 0, 0, 0.95) !important; /* Ensure solid background on mobile */
        backdrop-filter: blur(10px);
    }
    
    .nav-tabs {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        -ms-overflow-style: none;
        gap: 5px;
        flex-wrap: nowrap !important;
    }
    
    .nav-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .nav-tab {
        flex-shrink: 0 !important;
        min-width: 100px;
        padding: 8px 12px;
        font-size: 0.85rem;
        white-space: nowrap;
        color: #ffffff !important; /* Force white text on mobile */
        background: rgba(255, 255, 255, 0.05) !important; /* Add subtle background */
    }
    
    /* Mobile tab hover and active states */
    .nav-tab:hover {
        color: #00BFFF !important; /* PulseChain blue on mobile hover */
        background: rgba(0, 191, 255, 0.1) !important;
    }
    
    .nav-tab.active {
        color: #ffffff !important; /* White for active tab on mobile */
        background: rgba(255, 255, 255, 0.1) !important;
    }
    
    /* Ensure content is properly contained on mobile */
    .main-content {
        padding: 15px 10px !important;
        max-width: 100vw;
        overflow-x: hidden;
    }
    
    /* Improve chart readability on mobile */
    .chart-container {
        margin: 10px 0;
        padding: 15px !important;
    }
    
    /* Comprehensive mobile text and metric sizing adjustments */
    
    /* General metric and stat text sizing - 2x smaller for cleaner display */
    .stat-value, .metric-value {
        font-size: 0.55rem !important;
    }
    
    .stat-label, .metric-label {
        font-size: 0.375rem !important;
    }
    
    /* Secondary stat values */
    .secondary-stat-value {
        font-size: 0.4rem !important;
    }
    
    .secondary-stat-label {
        font-size: 0.35rem !important;
    }
    
    /* PLSX stats DEX Rankings - 2 per row and make logos/text 0.5x smaller */
    #plsx-stats .dex-rankings-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 per row instead of 1 */
        gap: 10px !important;
    }
    
    #plsx-stats .dex-rankings-grid .dex-card {
        padding: 8px !important; /* 0.5x smaller than 12px */
        margin-bottom: 8px !important;
    }
    
    #plsx-stats .dex-rankings-grid .dex-card h3 {
        font-size: 0.5rem !important; /* 0.5x smaller than 1rem */
        margin-bottom: 4px !important; /* 0.5x smaller than 8px */
    }
    
    #plsx-stats .dex-rankings-grid .dex-card .dex-metric {
        margin-bottom: 3px !important; /* 0.5x smaller than 6px */
    }
    
    #plsx-stats .dex-rankings-grid .dex-card .dex-metric-label {
        font-size: 0.175rem !important; /* 0.5x smaller than 0.35rem */
    }
    
    #plsx-stats .dex-rankings-grid .dex-card .dex-metric-value {
        font-size: 0.225rem !important; /* 0.5x smaller than 0.45rem */
    }
    
    /* DEX Rankings - make boxes smaller for other pages */
    .dex-rankings-grid .dex-card {
        padding: 12px !important;
        margin-bottom: 10px !important;
    }
    
    .dex-rankings-grid .dex-card h3 {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }
    
    .dex-rankings-grid .dex-card .dex-metric {
        margin-bottom: 6px !important;
    }
    
    .dex-rankings-grid .dex-card .dex-metric-label {
        font-size: 0.35rem !important;
    }
    
    .dex-rankings-grid .dex-card .dex-metric-value {
        font-size: 0.45rem !important;
    }
    
    /* Top 40 Chains by TVL - make boxes smaller */
    .chains-grid .chain-card {
        padding: 10px !important;
        margin-bottom: 8px !important;
    }
    
    .chains-grid .chain-card h3 {
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }
    
    .chains-grid .chain-card .chain-tvl {
        font-size: 0.4rem !important;
    }
    
    .chains-grid .chain-card .chain-change {
        font-size: 0.35rem !important;
    }
    
    /* Treasury metric cards */
    .treasury-metric-card {
        padding: 12px !important;
    }
    
    .treasury-metric-card .metric-value {
        font-size: 0.6rem !important;
    }
    
    .treasury-metric-card .metric-label {
        font-size: 0.35rem !important;
    }
    
    /* Volume and fees stats grids */
    .volume-stats-grid .stat-card,
    .fees-stats-grid .stat-card {
        padding: 10px !important;
    }
    
    .volume-stats-grid .stat-value,
    .fees-stats-grid .stat-value {
        font-size: 0.5rem !important;
    }
    
    .volume-stats-grid .stat-label,
    .fees-stats-grid .stat-label {
        font-size: 0.35rem !important;
    }
    
    /* Validator metrics - stack vertically on mobile */
    .validator-metrics-grid {
        display: flex !important;
        flex-direction: column !important;
        gap: 15px !important;
        margin-top: 20px !important;
        margin-bottom: 30px !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    .validator-metric-card {
        padding: 20px 15px !important;
        width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
    
    .validator-metrics-grid .metric-value {
        font-size: 1.5rem !important; /* 3X larger than 0.5rem */
        font-weight: 700 !important;
    }
    
    .validator-metrics-grid .metric-content h3 {
        font-size: 1.1rem !important;
    }
    
    .validator-metrics-grid .metric-change {
        font-size: 0.85rem !important;
    }
    
    /* Fix validators section overflow on mobile */
    #validators .validators-header {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix validators comparison section on mobile */
    #validators .chain-comparison-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    #validators .comparison-cards {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    #validators .comparison-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    
    /* Fix PumpTires Stats section on mobile */
    #pumptires-stats .pumptires-stats-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Center PLS Supply Locked heading on mobile */
    #pumptires-stats .burn-section .burn-header {
        text-align: center !important;
    }
    
    #pumptires-stats .burn-section .burn-header h2 {
        text-align: center !important;
    }
    
    /* Fix Bridge Stats page on mobile */
    #bridge-stats .bridge-tvl-display,
    div.tab-content#bridge-stats div.bridge-tvl-display {
        width: 100% !important;
        max-width: 100% !important;
        padding: 30px 15px !important;
        box-sizing: border-box !important;
        margin: 20px 0 !important;
    }
    
    #bridge-stats .bridge-tvl-display .history-stats,
    div.tab-content#bridge-stats div.bridge-tvl-display div.history-stats {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 10px !important;
    }
    
    /* Fix Historical Bridge TVL chart on mobile */
    #bridge-stats .validator-history-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
        margin: 30px 0 !important;
    }
    
    #bridge-stats .validator-history-chart {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    #bridge-stats .validator-history-chart canvas {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* Fix bridge stats analytics header on mobile */
    #bridge-stats .analytics-header {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix bridge stats top validators section on mobile */
    #bridge-stats .top-validators-section,
    div.tab-content#bridge-stats div.top-validators-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix Bridge Top 10 Tokens heading on mobile */
    #bridge-stats .top-validators-section h2 {
        text-align: center !important;
        font-size: 1.5rem !important;
        padding: 0 !important;
    }
    
    /* Fix active tokens subheading on mobile */
    #bridge-stats .active-tokens-subheading {
        text-align: center !important;
        font-size: 0.9rem !important;
        padding: 0 !important;
    }
    
    /* Make Bridge Top 10 Tokens table scrollable on mobile */
    #bridge-stats .top-validators-section .validators-table-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
    }
    
    #bridge-stats .top-validators-section .validators-table {
        min-width: 700px !important;
        width: auto !important;
        font-size: 0.85rem !important;
    }
    
    #bridge-stats .top-validators-section .validators-table th,
    #bridge-stats .top-validators-section .validators-table td {
        padding: 10px 8px !important;
        white-space: nowrap !important;
    }
    
    /* Fix all bridge charts on mobile */
    #bridge-stats .chart-container,
    #bridge-stats .chart-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Fix ALL Bridge charts with maximum specificity on mobile */
    #bridge-stats .validator-history-section,
    div.tab-content#bridge-stats div.validator-history-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
        margin: 30px 0 !important;
    }
    
    #bridge-stats .validator-history-chart,
    div.tab-content#bridge-stats div.validator-history-chart,
    div.tab-content#bridge-stats div.validator-history-chart:has(#bridgeTvlChart),
    div.tab-content#bridge-stats div.validator-history-chart:has(#bridgeFlowsChart),
    div.tab-content#bridge-stats div.validator-history-chart:has(#bridgeMonthlyFlowsChart) {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        padding: 20px 15px 30px 15px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        overflow-y: hidden !important;
        overflow: hidden !important;
        height: 520px !important;
        min-height: 520px !important;
        max-height: 520px !important;
    }
    
    #bridge-stats .validator-history-chart canvas,
    #bridgeTvlChart,
    #bridgeFlowsChart,
    #bridgeMonthlyFlowsChart {
        max-width: 100% !important;
        width: 100% !important;
        height: 450px !important;
        max-height: 450px !important;
    }
    
    /* Additional wrapper constraints for bridge charts on mobile */
    #bridge-stats .chart-container,
    #bridge-stats .chart-wrapper,
    div.tab-content#bridge-stats .chart-container,
    div.tab-content#bridge-stats .chart-wrapper {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        height: auto !important;
        padding-bottom: 0 !important;
    }
    
    /* Specific override for bridge TVL display container on mobile */
    #bridge-stats .bridge-tvl-display,
    div.tab-content#bridge-stats div.bridge-tvl-display,
    #bridge-stats .validator-history-section,
    div.tab-content#bridge-stats div.validator-history-section {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding: 20px 15px !important;
        box-sizing: border-box !important;
    }
    
    #bridge-stats .validator-history-chart .chart-header h2 {
        font-size: 1.3rem !important;
    }
    
    #bridge-stats .validator-history-chart .chart-header p {
        font-size: 0.85rem !important;
    }
    
    /* Fix PumpTires burn section on mobile */
    #pumptires-stats .burn-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    #pumptires-stats .burn-section .stats-grid {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 0 !important;
    }
    
    /* Reduce PumpTires metrics values text size on mobile */
    #pumptires-stats .burn-card .stat-value {
        font-size: 1.5rem !important;
        font-weight: 600 !important;
    }
    
    #pumptires-stats .burn-card .stat-header h3 {
        font-size: 0.9rem !important;
    }
    
    #pumptires-stats .burn-card .stat-label {
        font-size: 0.75rem !important;
    }
    
    /* PumpTires chart "Total Locked:" text - 2X larger on mobile */
    #pumptires-stats .plsx-burn-main-card .day-counter .day-label {
        font-size: 1.8rem !important; /* 2X larger than 0.9rem */
    }
    
    #pumptires-stats .plsx-burn-main-card .day-counter .day-number {
        font-size: 2.2rem !important; /* 2X larger than 1.1rem */
        font-weight: 700 !important;
    }
    
    #pumptires-stats .main-chart-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Make PumpTires table scrollable on mobile */
    #pumptires-stats .pumptires-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        box-sizing: border-box !important;
        padding: 0 !important;
    }
    
    #pumptires-stats .pumptires-table-container {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    #pumptires-stats .pumptires-table {
        min-width: 1000px !important;
        width: auto !important;
        font-size: 0.8rem !important;
        table-layout: fixed !important;
    }
    
    #pumptires-stats .pumptires-table th,
    #pumptires-stats .pumptires-table td {
        padding: 12px 8px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* Ensure headers are not truncated */
    #pumptires-stats .pumptires-table th {
        font-size: 0.75rem !important;
        font-weight: 600 !important;
        text-align: center !important;
    }
    
    /* Ensure contract addresses are readable */
    #pumptires-stats .pumptires-table .contract-address {
        font-size: 0.7rem !important;
        font-family: monospace !important;
    }
    
    /* Set specific column widths for better spacing */
    #pumptires-stats .pumptires-table .logo-col {
        width: 80px !important; /* Increased to fit logos properly */
    }
    
    #pumptires-stats .pumptires-table .ticker-col {
        width: 90px !important;
    }
    
    #pumptires-stats .pumptires-table .contract-col {
        width: 140px !important;
    }
    
    #pumptires-stats .pumptires-table .price-col {
        width: 110px !important;
    }
    
    #pumptires-stats .pumptires-table .marketcap-col {
        width: 120px !important;
    }
    
    #pumptires-stats .pumptires-table .liquidity-col {
        width: 120px !important;
    }
    
    #pumptires-stats .pumptires-table .change-col {
        width: 100px !important;
    }
    
    #pumptires-stats .pumptires-table .links-col {
        width: 80px !important;
    }
    
    /* Make Pumptires token logos appropriately sized on mobile */
    #pumptires-stats .pumptires-table .token-logo,
    #pumptires-stats .token-logo,
    .pumptires-table .token-logo {
        width: 40px !important;
        height: 40px !important;
        max-width: 40px !important;
        max-height: 40px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        border: 1px solid rgba(255, 255, 255, 0.2) !important;
        background: rgba(255, 255, 255, 0.05) !important;
        box-sizing: border-box !important;
    }
    
    /* Center Original Pumptires memes heading on mobile */
    #pumptires-stats .pumptires-section-header {
        text-align: center !important;
        padding: 0 15px !important;
    }
    
    #pumptires-stats .pumptires-section-header h2 {
        text-align: center !important;
    }
    
    /* Token rankings table - make horizontally scrollable on mobile */
    .token-rankings-table-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(255, 255, 255, 0.3) transparent !important;
    }
    
    .token-rankings-table-container::-webkit-scrollbar {
        height: 6px !important;
    }
    
    .token-rankings-table-container::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 3px !important;
    }
    
    .token-rankings-table-container::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3) !important;
        border-radius: 3px !important;
    }
    
    .token-rankings-table-container::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5) !important;
    }
    
    .token-rankings-table {
        min-width: 800px !important; /* Ensure table is wide enough to scroll */
    }
    
    .token-rankings-table th,
    .token-rankings-table td {
        font-size: 0.8rem !important;
        padding: 6px 4px !important;
        white-space: nowrap !important; /* Prevent text wrapping */
    }
    
    /* Bridge stats validators table - make horizontally scrollable on mobile */
    .validators-table-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: thin !important;
        scrollbar-color: rgba(255, 255, 255, 0.3) transparent !important;
    }
    
    .validators-table-container::-webkit-scrollbar {
        height: 6px !important;
    }
    
    .validators-table-container::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1) !important;
        border-radius: 3px !important;
    }
    
    .validators-table-container::-webkit-scrollbar-thumb {
        background: rgba(255, 255, 255, 0.3) !important;
        border-radius: 3px !important;
    }
    
    .validators-table-container::-webkit-scrollbar-thumb:hover {
        background: rgba(255, 255, 255, 0.5) !important;
    }
    
    .validators-table {
        min-width: 700px !important; /* Ensure table is wide enough to scroll */
    }
    
    .validators-table th,
    .validators-table td {
        font-size: 0.8rem !important;
        padding: 6px 4px !important;
        white-space: nowrap !important; /* Prevent text wrapping */
    }
    
    /* Leagues table - removed mobile font size reductions */
    
    /* Treasuries table */
    .treasuries-table th,
    .treasuries-table td {
        font-size: 0.8rem !important;
        padding: 6px 4px !important;
    }
    
    /* Gas stats metrics under charts */
    .gas-operations-grid .gas-operation {
        padding: 10px !important;
    }
    
    .gas-operations-grid .gas-operation h3 {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }
    
    .gas-operations-grid .gas-cost-value {
        font-size: 0.6rem !important;
    }
    
    .gas-operations-grid .gas-cost-pls {
        font-size: 0.4rem !important;
    }
    
    /* ETH comparison cards */
    .comparison-cards-grid .comparison-card {
        padding: 10px !important;
    }
    
    .comparison-cards-grid .comparison-card h3 {
        font-size: 1rem !important;
        margin-bottom: 8px !important;
    }
    
    .comparison-cards-grid .cost-value {
        font-size: 0.5rem !important;
    }
    
    .comparison-cards-grid .savings-text {
        font-size: 0.5rem !important;
    }
    
    /* HEX stats metrics */
    .hex-stats-grid .hex-stat-card {
        padding: 10px !important;
    }
    
    .hex-stats-grid .hex-stat-card h3 {
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }
    
    .hex-stats-grid .hex-stat-value {
        font-size: 0.5rem !important;
    }
    
    .hex-stats-grid .hex-stat-label {
        font-size: 0.35rem !important;
    }
    
    /* Social stats */
    .social-stats .social-stat {
        padding: 8px !important;
    }
    
    .social-stats .social-stat-value {
        font-size: 0.5rem !important;
    }
    
    .social-stats .social-stat-label {
        font-size: 0.35rem !important;
    }
    
    /* DeFi protocols */
    .defi-protocols-grid .defi-protocol-card {
        padding: 10px !important;
    }
    
    .defi-protocols-grid .defi-protocol-card h3 {
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }
    
    .defi-protocols-grid .defi-protocol-tvl {
        font-size: 0.4rem !important;
    }
    
    .defi-protocols-grid .defi-protocol-change {
        font-size: 0.35rem !important;
    }
    
    /* Improve table readability on mobile */
    table {
        font-size: 0.85rem;
    }
    
    /* Additional mobile metric adjustments */
    .metric-card,
    .stat-card,
    .chart-stat {
        padding: 8px !important;
        margin-bottom: 8px !important;
    }
    
    .metric-card h3,
    .stat-card h3 {
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }
    
    /* PLSX stats - make chart metrics values same size as labels */
    #plsx-stats .chart-stat-value,
    #plsx-stats .volume-stat-value,
    #plsx-stats .fees-stat-value {
        font-size: 0.35rem !important; /* Same size as labels */
    }
    
    #plsx-stats .chart-stat-label,
    #plsx-stats .volume-stat-label,
    #plsx-stats .fees-stat-label {
        font-size: 0.35rem !important; /* Keep labels at current size */
    }
    
    /* Ensure all other metric values are appropriately sized */
    .chart-stat-value,
    .volume-stat-value,
    .fees-stat-value {
        font-size: 0.5rem !important;
    }
    
    .chart-stat-label,
    .volume-stat-label,
    .fees-stat-label {
        font-size: 0.35rem !important;
    }
    
    /* History stats under charts - make text larger for validators page */
    .history-stat-label {
        font-size: 0.7rem !important; /* 2x larger than 0.35rem */
    }
    
    .history-stat-value {
        font-size: 0.85rem !important; /* 1.7x larger than 0.5rem */
    }
    
    /* Landing page - center PLS chart layout like HEX/PLSX/INC */
    #overview .main-chart-header {
        flex-direction: column !important;
        gap: 15px !important;
        text-align: center !important;
    }
    
    #overview .main-token-info {
        justify-content: center !important;
    }
    
    #overview .main-price-info {
        text-align: center !important;
    }
    
    /* Make PLS chart stats smaller on mobile */
    #overview .main-chart-card .token-stats .stat-label {
        font-size: 0.8rem !important; /* Half of 1.6rem */
    }
    
    #overview .main-chart-card .token-stats .stat-value {
        font-size: 0.9rem !important; /* Half of 1.8rem */
        font-weight: 600 !important;
    }
    
    #overview .secondary-chart-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    #overview .secondary-token-info {
        flex: 1 !important;
    }
    
    #overview .secondary-price-info {
        text-align: right !important;
        flex: 1 !important;
        margin-left: 0 !important;
    }
    
    /* Mobile-specific sizing for token cards - keep horizontal layout */
    #overview .secondary-token-logo {
        width: 45px !important;
        height: 45px !important;
        min-width: 45px !important;
    }
    
    #overview .secondary-token-logo img {
        width: 45px !important;
        height: 45px !important;
    }
    
    #overview .secondary-token-info {
        gap: 10px !important;
        flex: 0 1 auto !important;
        min-width: 0 !important;
    }
    
    #overview .secondary-token-details h3 {
        font-size: 1.1rem !important;
        margin-bottom: 2px !important;
    }
    
    #overview .token-description {
        font-size: 0.75rem !important;
    }
    
    #overview .secondary-price-display {
        margin-bottom: 5px !important;
    }
    
    #overview .secondary-current-price {
        font-size: 1.1rem !important;
        font-weight: 600 !important;
    }
    
    #overview .secondary-price-change {
        padding: 4px 10px !important;
        font-size: 0.8rem !important;
        border-radius: 15px !important;
        display: inline-block !important;
    }
    
    #overview .secondary-price-info {
        flex: 0 1 auto !important;
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        gap: 5px !important;
    }
    
    /* Mobile - make HEX/PLSX/INC stats text normal size */
    #overview .secondary-stat-label {
        font-size: 0.8rem !important;
    }
    
    #overview .secondary-stat-value {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
    }
    
    /* Landing page - make PLS chart day and value text 2x larger */
    #overview .day-label {
        font-size: 0.5rem !important; /* 2x larger than 0.25rem */
    }
    
    #overview .day-number {
        font-size: 0.6rem !important; /* 2x larger than 0.3rem */
    }
    
    /* Landing page - change holder growth charts to desktop layout with holder count on right */
    #overview .holder-growth-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
    }
    
    #overview .holder-token-info {
        flex: 1 !important;
    }
    
    #overview .holder-stats-info {
        text-align: right !important;
        flex: 1 !important;
        margin-left: 20px !important;
    }
    
    #overview .holder-current-count {
        text-align: right !important;
    }
    
    #overview .holder-growth-stats {
        text-align: right !important;
    }
    
    /* Landing page - make social analytics metrics text 2x larger */
    #overview .social-stat-label {
        font-size: 0.7rem !important; /* 2x larger than 0.35rem */
    }
    
    #overview .social-stat-value {
        font-size: 1.0rem !important; /* 2x larger than 0.5rem */
    }
    
    /* Landing page - make add to wallet and buy section boxes 1.5x smaller */
    #overview .wallet-token-btn {
        padding: 8px !important; /* 1.5x smaller than 12px */
        gap: 8px !important; /* 1.5x smaller than 12px */
    }
    
    #overview .wallet-token-logo {
        width: 24px !important; /* 1.5x smaller than 36px */
        height: 24px !important; /* 1.5x smaller than 36px */
    }
    
    #overview .wallet-token-img {
        width: 20px !important; /* 1.5x smaller than 30px */
        height: 20px !important; /* 1.5x smaller than 30px */
    }
    
    #overview .wallet-token-name {
        font-size: 0.6rem !important; /* 1.5x smaller than 0.9rem */
    }
    
    #overview .buy-link-btn {
        padding: 8px !important; /* 1.5x smaller than 12px */
        gap: 8px !important; /* 1.5x smaller than 12px */
    }
    
    #overview .buy-link-logo {
        width: 24px !important; /* 1.5x smaller than 36px */
        height: 24px !important; /* 1.5x smaller than 36px */
    }
    
    #overview .buy-link-img {
        width: 20px !important; /* 1.5x smaller than 30px */
        height: 20px !important; /* 1.5x smaller than 30px */
    }
    
    #overview .buy-link-name {
        font-size: 0.6rem !important; /* 1.5x smaller than 0.9rem */
    }
    
    #overview .pulsex-dex-btn {
        padding: 10px 20px !important; /* 1.5x smaller than 15px 30px */
        font-size: 1.33rem !important; /* 1.5x smaller than 2rem */
    }
    
    /* Home page main token details - make smaller but readable */
    .main-token-details h2 {
        font-size: 1.2rem !important;
    }
    
    /* Gas stats - make GAS heading and Transaction fees 2x larger */
    #gas-stats .main-token-details h2 {
        font-size: 2.4rem !important; /* 2x larger than 1.2rem */
    }
    
    #gas-stats .token-description {
        font-size: 1.0rem !important; /* 2x larger than 0.5rem */
    }
    
    /* Gas stats - make current beats heading and value 3x larger */
    #gas-stats .day-label {
        font-size: 0.75rem !important; /* 3x larger than 0.25rem */
    }
    
    #gas-stats .day-number {
        font-size: 0.9rem !important; /* 3x larger than 0.3rem */
    }
    
    /* Gas stats - make send/approve/swap labels 2x larger, values 0.5x smaller and centered */
    #gas-stats .stat-label {
        font-size: 0.7rem !important; /* 2x larger than 0.35rem */
    }
    
    #gas-stats .stat-value {
        font-size: 0.275rem !important; /* 0.5x smaller than 0.55rem */
        text-align: center !important; /* Center the values */
    }
    
    #gas-stats .stat-pls {
        font-size: 0.2rem !important; /* 0.5x smaller than 0.4rem */
        text-align: center !important; /* Center the PLS values */
    }
    
    /* Gas stats ETH comparison - center headings, make headings 1.5x larger, values 1.5x larger, prices 2x larger */
    #gas-stats .secondary-token-details h3 {
        text-align: center !important; /* Center the headings */
        font-size: 1.2rem !important; /* 1.5x larger than 0.8rem */
    }
    
    #gas-stats .secondary-current-price {
        font-size: 0.75rem !important; /* 1.5x larger than 0.5rem */
    }
    
    #gas-stats .secondary-stat-value {
        font-size: 0.6rem !important; /* 2x larger than 0.3rem */
    }
    
    /* Gas stats PLS Daily Burn chart - center all text on mobile */
    #gas-stats .burn-main-card .main-chart-header {
        flex-direction: column !important;
        text-align: center !important;
    }
    
    #gas-stats .burn-main-card .main-token-details {
        text-align: center !important;
        width: 100% !important;
    }
    
    #gas-stats .burn-main-card .main-token-details h2 {
        text-align: center !important;
        font-size: 1.8rem !important;
    }
    
    #gas-stats .burn-main-card .main-token-details .token-description {
        text-align: center !important;
    }
    
    #gas-stats .burn-main-card .day-counter {
        text-align: center !important;
        justify-content: center !important;
    }
    
    #gas-stats .burn-main-card .main-price-info {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    #gas-stats .burn-main-card .day-number {
        font-size: 1.2rem !important;
    }
    
    /* Gas stats PLS burn chart - increase height so all 3 metrics are visible */
    #gas-stats .burn-main-card .main-chart-container {
        height: 550px !important;
        min-height: 550px !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    #gas-stats .burn-main-card .main-chart-container canvas {
        height: 100% !important;
    }
    
    /* Ensure PLS Daily Burn card has no extra bottom space */
    #gas-stats .burn-main-card {
        padding-bottom: 15px !important;
        overflow: hidden !important;
        height: auto !important;
    }
    
    /* Gas stats PLS burn chart metrics - match PLS Supply analysis chart styling */
    #gas-stats .burn-main-card .token-stats .stat-label {
        font-size: 0.9rem !important; /* Match PLS Supply analysis chart */
    }
    
    #gas-stats .burn-main-card .token-stats .stat-value {
        font-size: 0.9rem !important; /* Match PLS Supply analysis chart */
        text-align: center !important;
        font-weight: 600 !important;
    }
    
    /* Fix PLS Daily Burn metrics layout on mobile - ensure all three metrics are visible */
    #gas-stats .burn-main-card .token-stats {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 10px 8px !important;
        gap: 8px !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        /* Ensure metrics are properly contained within chart container */
        margin: 0 !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    
    /* Individual PLS Daily Burn metric styling for mobile */
    #gas-stats .burn-main-card .token-stats .stat-item {
        flex: 1 !important;
        min-width: 0 !important;
        text-align: center !important;
        padding: 6px 3px !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure PLS Daily Burn metrics don't wrap */
    #gas-stats .burn-main-card .token-stats .stat-item .stat-label,
    #gas-stats .burn-main-card .token-stats .stat-item .stat-value {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* Gas stats - reduce Send, Approve, Swap metrics text size on mobile */
    #gas-stats .token-stats .stat-label {
        font-size: 0.8rem !important;
    }
    
    #gas-stats .token-stats .stat-value {
        font-size: 0.9rem !important;
        font-weight: 600 !important;
    }
    
    #gas-stats .token-stats .stat-pls {
        font-size: 0.8rem !important;
    }
    
    /* Fix BEATS chart metrics to match PLS Supply analysis chart styling */
    #gas-stats .main-chart-card .token-stats .stat-label {
        font-size: 0.9rem !important; /* Match PLS Supply analysis chart */
    }
    
    #gas-stats .main-chart-card .token-stats .stat-value {
        font-size: 0.9rem !important; /* Match PLS Supply analysis chart */
        font-weight: 600 !important;
    }
    
    #gas-stats .main-chart-card .token-stats .stat-pls {
        font-size: 0.8rem !important; /* Keep PLS amounts slightly smaller */
    }
    
    /* Fix gas stats metrics layout on mobile - ensure all three metrics are visible */
    #gas-stats .main-chart-card .token-stats {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 15px 10px !important;
        gap: 10px !important;
        box-sizing: border-box !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        /* Ensure metrics are properly contained within chart container */
        margin: 0 !important;
        border-radius: 8px !important;
        background: rgba(255, 255, 255, 0.02) !important;
        border: 1px solid rgba(255, 255, 255, 0.05) !important;
    }
    
    /* Individual metric styling for mobile */
    #gas-stats .main-chart-card .token-stats .stat-item {
        flex: 1 !important;
        min-width: 0 !important;
        text-align: center !important;
        padding: 8px 4px !important;
        box-sizing: border-box !important;
    }
    
    /* Ensure metrics don't wrap */
    #gas-stats .main-chart-card .token-stats .stat-item .stat-label,
    #gas-stats .main-chart-card .token-stats .stat-item .stat-value,
    #gas-stats .main-chart-card .token-stats .stat-item .stat-pls {
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    /* Gas stats - PulseChain Gas chart height on mobile */
    #gas-stats .main-chart-container {
        height: 300px !important;
        min-height: 300px !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    #gas-stats .main-chart-container canvas {
        height: 100% !important;
    }
    
    /* Ensure gas chart card is properly sized */
    #gas-stats .gas-main-card,
    #gas-stats .main-chart-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px 10px 15px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        height: auto !important;
    }
    
    /* Gas stats - Fix Gas Comparison to ETH section on mobile */
    #gas-stats .secondary-charts-grid,
    div.tab-content#gas-stats div.secondary-charts-grid {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Getting Started Videos - Mobile Responsive Fix */
    #getting-started .getting-started-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    #getting-started .getting-started-content {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    #getting-started .tutorial-section {
        width: 100% !important;
        max-width: 100% !important;
        margin-bottom: 40px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    #getting-started .video-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
        margin: 20px 0 !important;
    }
    
    #getting-started .tutorial-video {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
        border-radius: 12px !important;
    }
    
    #getting-started .tutorial-header {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 20px !important;
    }
    
    #getting-started .tutorial-header h2 {
        font-size: 1.5rem !important;
        color: #ffffff !important;
        margin-bottom: 10px !important;
        word-wrap: break-word !important;
    }
    
    #getting-started .tutorial-subtitle {
        font-size: 1rem !important;
        color: #a0a0a0 !important;
        line-height: 1.5 !important;
        word-wrap: break-word !important;
    }
    
    /* Fix comparison cards (Send, Approve, Swap) */
    #gas-stats .send-comparison-card,
    #gas-stats .approve-comparison-card,
    #gas-stats .swap-comparison-card,
    #gas-stats .secondary-chart-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix gas comparison header on mobile */
    #gas-stats .gas-comparison-header,
    div.tab-content#gas-stats div.gas-comparison-header {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix gas supply analysis section on mobile */
    #gas-stats .burn-tracking-section,
    #gas-stats .burn-tracking-section .secondary-charts-grid,
    div.tab-content#gas-stats div.burn-tracking-section div.secondary-charts-grid {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix PLS Supply analysis chart card on mobile */
    #gas-stats .supply-chart-card,
    #gas-stats .burn-tracking-section .supply-chart-card {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }
    
    /* Fix inflation/deflation side-by-side display on mobile */
    #gas-stats .inflation-deflation-display-side-by-side {
        width: 100% !important;
        max-width: 100% !important;
        flex-direction: column !important;
        gap: 15px !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }
    
    #gas-stats .inflation-deflation-left,
    #gas-stats .inflation-deflation-right {
        width: 100% !important;
        text-align: center !important;
    }
    
    /* Increase PLS Supply chart height so all metrics are visible */
    #gas-stats .supply-chart-card .secondary-chart-container {
        height: 450px !important;
        min-height: 450px !important;
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    
    #gas-stats .supply-chart-card .secondary-chart-container canvas {
        height: 100% !important;
        max-width: 100% !important;
    }
    
    /* Ensure PLS Supply Analysis card has no extra bottom space */
    #gas-stats .supply-chart-card {
        padding-bottom: 15px !important;
        overflow: hidden !important;
        height: auto !important;
    }
    
    /* Make Days Since Launch, Avg Daily Burn, Burn Rate values same size as labels */
    #gas-stats .supply-chart-card .token-stats .stat-value {
        font-size: 0.9rem !important; /* Same size as labels */
        font-weight: 600 !important;
    }
    
    #gas-stats .supply-chart-card .token-stats .stat-label {
        font-size: 0.9rem !important;
    }
    
    /* Fix PLS Supply analysis header on mobile */
    #gas-stats .burn-tracking-section .overview-header,
    div.tab-content#gas-stats div.burn-tracking-section div.overview-header {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    /* Fix burn tracking main chart section on mobile */
    #gas-stats .burn-tracking-section .main-chart-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }
    
    #gas-stats .burn-tracking-section .main-chart-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px 15px !important;
    }
    
    /* Gas stats supply analysis - make inflation/deflation tracking 2x larger and metric headings 2x larger */
    #gas-stats .secondary-chart-card .secondary-token-details h3 {
        font-size: 1.0rem !important; /* 2x larger than 0.5rem */
    }
    
    #gas-stats .secondary-chart-card .stat-label {
        font-size: 0.7rem !important; /* 2x larger than 0.35rem */
    }
    
    /* Inflation/Deflation Display Mobile */
    .inflation-deflation-display {
        padding: 15px 20px !important;
        margin-top: 15px !important;
        gap: 12px !important;
        text-align: center !important;
    }
    
    .inflation-deflation-section {
        text-align: center !important;
        gap: 5px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .inflation-deflation-label {
        font-size: 0.6rem !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    .inflation-deflation-value {
        font-size: 1.0rem !important;
        text-align: center !important;
        width: 100% !important;
    }
    
    /* PLSX stats - make burnt supply heading and value 3x larger */
    #plsx-stats .burn-card h3 {
        font-size: 1.2rem !important; /* 3x larger than 0.4rem */
    }
    
    #plsx-stats .burn-card .stat-value {
        font-size: 1.5rem !important; /* 3x larger than 0.5rem */
    }
    
    /* PLSX stats - center the value text with metric headings in burnt supply chart */
    #plsx-stats .stat-item .stat-value {
        text-align: center !important; /* Center the values to match the centered headings */
    }
    
    /* PLSX stats - make burned today metrics headings and values 1.5x larger */
    #plsx-stats .history-stat-label {
        font-size: 0.525rem !important; /* 1.5x larger than 0.35rem */
    }
    
    #plsx-stats .history-stat-value {
        font-size: 0.75rem !important; /* 1.5x larger than 0.5rem */
    }
    
    /* PLSX stats - Fix all sections centering and overflow on mobile */
    @media (max-width: 768px) {
        #plsx-stats .analytics-header,
        #plsx-stats .stats-grid,
        #plsx-stats .burn-section,
        #plsx-stats .plsx-burn-section,
        #plsx-stats .plsx-liquidity-section,
        #plsx-stats .plsx-charts-grid,
        #plsx-stats .charts-grid,
        #plsx-stats .history-stats,
        #plsx-stats .holder-growth-section,
        #plsx-stats .main-chart-section {
            width: 100% !important;
            max-width: 100% !important;
            margin-left: auto !important;
            margin-right: auto !important;
            padding-left: 15px !important;
            padding-right: 15px !important;
            box-sizing: border-box !important;
            overflow-x: hidden !important;
        }
    }
    
    /* Fix PLSX burn section on mobile - ensure centered */
    #plsx-stats .burn-section {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box !important;
    }
    
    #plsx-stats .burn-header {
        text-align: center !important;
        width: 100% !important;
    }
    
    /* Fix stats grid on mobile - ensure centered */
    #plsx-stats .stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
    
    /* Override desktop width: 1200px rule with ultra-high specificity on mobile */
    div.tab-content#plsx-stats div.stats-grid,
    .tab-content#plsx-stats .stats-grid,
    div.tab-content#plsx-stats div.burn-section,
    .tab-content#plsx-stats .burn-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix burn cards - ensure centered content */
    #plsx-stats .burn-card {
        padding: 15px !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }
    
    #plsx-stats .burn-card .stat-header,
    #plsx-stats .burn-card h3,
    #plsx-stats .burn-card .stat-value,
    #plsx-stats .burn-card .stat-label {
        text-align: center !important;
    }
    
    /* PLSX Burnt Supply chart "User Supply Burned" text - half size on mobile */
    #plsx-stats .plsx-burn-main-card .day-counter .day-label {
        font-size: 0.9rem !important; /* Half of 1.8rem */
    }
    
    #plsx-stats .plsx-burn-main-card .day-counter .day-number {
        font-size: 2.2rem !important; /* 2X larger than 1.1rem */
        font-weight: 700 !important;
    }
    
    #plsx-stats .plsx-burn-main-card .day-counter {
        margin-top: 12px !important;
        gap: 8px !important;
    }
    
    /* Fix PLSX Liquidity section charts - DEX Distribution and Token Pairs */
    #plsx-stats .plsx-liquidity-section,
    .tab-content#plsx-stats .plsx-liquidity-section,
    div.tab-content#plsx-stats div.plsx-liquidity-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 20px 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
    
    #plsx-stats .plsx-charts-grid,
    .tab-content#plsx-stats .plsx-liquidity-section .plsx-charts-grid,
    div.tab-content#plsx-stats div.plsx-liquidity-section div.plsx-charts-grid {
        width: 100% !important;
        max-width: 100% !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
    
    #plsx-stats .plsx-charts-grid .chart-container {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px !important;
    }
    
    #plsx-stats .chart-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 15px !important;
    }
    
    /* Fix PLSX holder growth section */
    #plsx-stats .holder-growth-section,
    div.tab-content#plsx-stats div.holder-growth-section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
    
    #plsx-stats .holder-growth-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px 15px !important;
        overflow: hidden !important;
    }
    
    /* Ensure holder header on mobile fits within card */
    #plsx-stats .holder-growth-header {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 0 !important;
    }
    
    /* Fix section heading centered */
    #plsx-stats .section-heading-centered {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix PLSX main chart container */
    #plsx-stats .main-chart-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        padding: 15px !important;
        box-sizing: border-box !important;
    }
    
    /* Fix PLSX burn main card */
    #plsx-stats .plsx-burn-main-card,
    #plsx-stats .burn-main-card {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 20px 15px !important;
    }
    
    /* Fix chart containers inside PLSX stats */
    #plsx-stats .chart-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* Fix holder chart container */
    #plsx-stats .holder-chart-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* PLSX stats - move holders and holder amount to top right, right aligned across from PLSX logo */
    #plsx-stats .holder-growth-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: flex-start !important;
    }
    
    #plsx-stats .holder-token-info {
        flex: 1 !important;
        text-align: center !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
    }
    
    #plsx-stats .holder-stats-info {
        text-align: center !important;
        flex: 1 !important;
        margin-left: 0 !important;
        padding: 0 10px !important;
        box-sizing: border-box !important;
        width: 100% !important;
    }
    
    #plsx-stats .holder-current-count {
        text-align: center !important;
    }
    
    #plsx-stats .holder-growth-stats {
        text-align: center !important;
    }
    
    /* HEX stats - make labels and values 2x larger */
    #hex-stats .hex-stat-label {
        font-size: 0.7rem !important; /* 2x larger than 0.35rem */
    }
    
    #hex-stats .hex-stat-value {
        font-size: 1.0rem !important; /* 2x larger than 0.5rem */
    }
    
    /* HEX stats - Active HEX Stakes chart legend text 2X smaller on mobile */
    #hex-stats .hex-stakes-chart-section .legend-item {
        font-size: 0.45rem !important; /* 2X smaller than 0.9rem */
    }
    
    #hex-stats .hex-stakes-chart-section .legend-item span {
        font-size: 0.45rem !important; /* 2X smaller than 0.9rem */
    }
    
    /* HEX stats - Active HEX Stakes chart day label and number - reduced to half size */
    #hex-stats .hex-day-counter .day-label {
        font-size: 1.5rem !important; /* Half of 3.0rem */
    }
    
    #hex-stats .hex-day-number {
        font-size: 1.65rem !important; /* Half of 3.3rem */
    }
    
    #hex-stats .hex-day-counter {
        gap: 10px !important;
        margin: 10px 0 20px 0 !important;
    }
    
    /* ROI charts - increase Richard Heart tickers chart height for mobile to fit legend buttons */
    #lookintopulse .core-coins-chart-container {
        height: 600px !important;
        min-height: 600px !important;
        overflow-y: visible !important;
    }
    
    #lookintopulse .core-coins-chart-container canvas {
        height: 500px !important;
    }
    
    /* Pulse stats - make PulseChain TVL display value 0.5x smaller */
    #pulse-stats .tvl-main-value {
        font-size: 1.5rem !important; /* 0.5x smaller than 3rem */
    }
    
    /* Pulse stats - make chart metrics labels 1.5x larger and values 2x larger */
    #pulse-stats .history-stat-label {
        font-size: 0.525rem !important; /* 1.5x larger than 0.35rem */
    }
    
    #pulse-stats .history-stat-value {
        font-size: 1.0rem !important; /* 2x larger than 0.5rem */
    }
    
    /* Pulse stats - change top 40 chains to 2 per row instead of 3 */
    #pulse-stats .chains-grid {
        grid-template-columns: repeat(2, 1fr) !important; /* 2 per row instead of 3 */
        gap: 15px !important;
    }
    
    .main-current-price {
        font-size: 1.1rem !important;
    }
    
    .main-price-change {
        font-size: 0.6rem !important;
    }
    
    .token-description {
        font-size: 0.5rem !important;
    }
    
    /* Home page secondary token details - make smaller but readable */
    .secondary-token-details h3 {
        font-size: 0.8rem !important;
    }
    
    .secondary-current-price {
        font-size: 0.7rem !important;
    }
    
    .secondary-price-change {
        font-size: 0.5rem !important;
    }
    
    .secondary-token-details .token-description {
        font-size: 0.45rem !important;
    }
    
    /* Page headers - make 2x larger for better mobile readability */
    .overview-header h1,
    .comparison-header h1,
    .analytics-header h1,
    .settings-header h1 {
        font-size: 2.8rem !important; /* 2x larger than 1.4rem */
    }
    
    .overview-header p,
    .comparison-header p,
    .analytics-header p,
    .settings-header p {
        font-size: 1.2rem !important; /* 2x larger than 0.6rem */
    }
    
    /* Portfolio Button Mobile Styles */
    .portfolio-button {
        font-size: 0.9rem !important;
        padding: 12px 24px !important;
        gap: 6px !important;
        min-width: 120px !important;
    }
    
    .portfolio-button i {
        font-size: 1rem !important;
    }
    
    .comparison-header h2 {
        font-size: 0.7rem !important;
    }
    
    /* Day counters and other large text */
    .day-number,
    .hex-day-number {
        font-size: 0.3rem !important;
    }
    
    .day-label,
    .hex-day-counter .day-label {
        font-size: 0.25rem !important;
    }
    
    /* Current price displays */
    .current-price {
        font-size: 0.5rem !important;
    }
    
    /* Token details */
    .token-details h3 {
        font-size: 0.4rem !important;
    }
    
    /* Mini chart headers */
    .mini-chart-container h3 {
        font-size: 0.3rem !important;
    }
    
    /* Coming soon text */
    .coming-soon h2 {
        font-size: 0.5rem !important;
    }
    
    .coming-soon p {
        font-size: 0.3rem !important;
    }
    
    .coming-soon li {
        font-size: 0.25rem !important;
    }
    
    /* Setting group headers */
    .setting-group h3 {
        font-size: 0.4rem !important;
    }
    
    /* Setting labels */
    .setting-group label {
        font-size: 0.25rem !important;
    }
    
    /* Setting inputs */
    .setting-group input,
    .setting-group select {
        font-size: 0.25rem !important;
    }
    
    /* Setting buttons */
    .setting-group button {
        font-size: 0.25rem !important;
    }
    
    /* Loading text */
    .loading p {
        font-size: 0.3rem !important;
    }
    
    /* Quick charts section headers */
    .quick-charts-section h2 {
        font-size: 0.5rem !important;
    }
    
    /* Launch date text */
    .launch-date {
        font-size: 0.25rem !important;
    }
    
    /* Stats text */
    .stats-text {
        font-size: 0.2rem !important;
    }
    
    th, td {
        padding: 8px 4px !important;
    }
}

/* URGENT MOBILE FIX - Maximum Specificity Nav Text Override */
@media (max-width: 768px) {
    /* Use maximum CSS specificity to override gradient text */
    .tab-navigation .nav-container .nav-tabs .nav-tab,
    .tab-navigation .nav-container .nav-tabs .nav-tab:hover,
    .tab-navigation .nav-container .nav-tabs .nav-tab:active,
    .tab-navigation .nav-container .nav-tabs .nav-tab:focus,
    .tab-navigation .nav-container .nav-tabs .nav-tab.active,
    .tab-navigation .nav-container .nav-tabs-top .nav-tab,
    .tab-navigation .nav-container .nav-tabs-bottom .nav-tab {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
        background: transparent !important;
        background-image: none !important;
        background-clip: unset !important;
        -webkit-background-clip: unset !important;
        text-shadow: none !important;
    }
    
    /* Mobile hover - solid color only */
    .tab-navigation .nav-container .nav-tabs .nav-tab:hover {
        background: rgba(0, 191, 255, 0.3) !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    
    /* Mobile active state */
    .tab-navigation .nav-container .nav-tabs .nav-tab.active {
        background: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    
    /* Ensure nav-tab spans are also white */
    .nav-tab span {
        color: inherit !important;
        -webkit-text-fill-color: inherit !important;
    }
}

/* Canvas Mobile Support */
@media (max-width: 768px) {
    canvas {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
    }
}

/* HEX Stakes Ending Chart Section */
.hex-stakes-ending-chart-section {
    margin: 40px 0;
    padding: 0 20px;
    max-width: 1200px !important; /* Constrain to 1200px max-width */
    margin-left: auto !important; /* Center the section */
    margin-right: auto !important;
    width: auto !important; /* Override global width: 100% */
}

.hex-stakes-ending-chart-section .chart-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.hex-stakes-ending-chart-section .chart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.hex-stakes-ending-chart-section .chart-header h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

.hex-stakes-ending-chart-section .chart-wrapper {
    position: relative;
    height: 400px;
    margin-bottom: 30px;
}

.hex-stakes-ending-chart-section .chart-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.hex-stakes-ending-chart-section .stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hex-stakes-ending-chart-section .stat-label {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-align: center;
}

.hex-stakes-ending-chart-section .stat-value {
    display: block;
    background: linear-gradient(45deg, #FFD700 0%, #FF00FF 50%, #8B5CF6 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

/* Stake HEX Module */
.stake-hex-module {
    margin: 40px auto !important;
    padding: 0 20px !important;
    max-width: 500px !important;
    width: 500px !important;
    display: flex !important;
    justify-content: center !important;
}

.stake-hex-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100% !important;
    max-width: 450px !important;
}

.stake-hex-logo {
    flex-shrink: 0;
}

.stake-hex-logo .hex-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.stake-hex-text {
    flex: 1;
}

.stake-hex-text h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.stake-hex-text p {
    color: #a0a0a0;
    font-size: 1rem;
    margin: 0;
}

.stake-hex-button {
    flex-shrink: 0;
}

.stake-hex-btn {
    background: linear-gradient(45deg, #FFD700 0%, #FF00FF 50%, #8B5CF6 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 255, 0.3);
}

.stake-hex-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 255, 0.4);
}

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

/* Responsive design for stake HEX module */
@media (max-width: 768px) {
    .stake-hex-module {
        max-width: 100% !important;
        width: 100% !important;
        margin: 30px auto !important;
        padding: 0 15px !important;
        box-sizing: border-box !important;
    }
    
    .stake-hex-content {
        flex-direction: column !important;
        text-align: center !important;
        gap: 15px !important;
        padding: 20px 15px !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .stake-hex-logo .hex-logo {
        width: 50px !important;
        height: 50px !important;
    }
    
    .stake-hex-text h3 {
        font-size: 1.3rem !important;
    }
    
    .stake-hex-text p {
        font-size: 0.9rem !important;
    }
    
    .stake-hex-btn {
        padding: 12px 25px !important;
        font-size: 1rem !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* PulseChain DeFi Protocols Section - Pulse Stats Tab Only */
#pulse-stats .pulsechain-defi-protocols-section {
    margin: 40px auto;
    padding: 0 20px;
    max-width: 1200px;
}

/* PulseChain DeFi Protocols Section - General (for other tabs if needed) */
.pulsechain-defi-protocols-section {
    margin: 40px 0;
    padding: 0 20px;
}

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

.defi-protocol-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-align: center;
}

/* Hover effects removed as requested */

.defi-protocol-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.defi-protocol-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.defi-protocol-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
}

.defi-protocol-logo-fallback {
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ff0040, #ff007f, #0080ff, #00ffff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: white;
    font-size: 1.2rem;
    border-radius: 8px;
}

.defi-protocol-info h3 {
    color: #ffffff;
    font-size: 1.3rem;
    font-weight: 600;
    margin: 0 0 5px 0;
    text-align: center;
}

.defi-protocol-category {
    color: #a0a0a0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: center;
}

.defi-protocol-tvl {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.defi-protocol-description {
    color: #c0c0c0;
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 15px;
}

.defi-protocol-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #00d4ff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.defi-protocol-link:hover {
    color: #00eaff;
}

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

.defi-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.defi-stat-label {
    color: #a0a0a0;
    font-size: 0.9rem;
    margin-bottom: 8px;
    text-align: center;
}

.defi-stat-value {
    background: linear-gradient(45deg, #ff0040, #ff007f, #0080ff, #00ffff);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.loading-message {
    grid-column: 1 / -1;
    text-align: center;
    color: #a0a0a0;
    font-size: 1.1rem;
    padding: 40px;
}

/* Responsive design for DeFi protocols */
@media (max-width: 768px) {
    .defi-protocols-grid {
        grid-template-columns: 1fr;
    }
    
    .defi-protocol-header {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .defi-protocol-tvl {
        font-size: 1.5rem;
    }
    
    .defi-protocols-stats {
        grid-template-columns: 1fr;
    }
}

/* Text Overflow Protection */
.social-stat-value,
.history-stat-value,
.metric-value,
.chart-stat-value,
.volume-stat-value,
.fees-stat-value,
.treasury-metric-card .metric-value {
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    min-width: 0 !important;
    text-align: center;
}

/* FORCE LEAGUES 1200px CONSTRAINT - OVERRIDE ALL OTHER RULES */
#all-tokens-leagues.all-tokens-leagues {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* FORCE ROI CHARTS 1200px CONSTRAINT - OVERRIDE ALL OTHER RULES */
#roi-chart-container.chart-container,
.core-coins-chart-container {
    max-width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* HOME TAB - MAKE LARGER AND POSITION TO FAR LEFT */
.home-tab-gradient {
    font-size: 1.4rem !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    margin-right: 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    order: -1 !important;
}

/* FINAL MOBILE FIXES - DO NOT AFFECT DESKTOP */

/* Fix 1: Force white nav text on mobile (all states) */
@media (max-width: 768px) {
    .nav-tab,
    .nav-tab span,
    .nav-tab i {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
    
    .nav-tab:hover,
    .nav-tab:hover span,
    .nav-tab:hover i {
        color: #00BFFF !important;
        -webkit-text-fill-color: #00BFFF !important;
        background-clip: unset !important;
        -webkit-background-clip: unset !important;
    }
    
    .nav-tab.active,
    .nav-tab.active span,
    .nav-tab.active i {
        color: #ffffff !important;
        -webkit-text-fill-color: #ffffff !important;
    }
}

/* Fix 2: Mobile page layout and container width */
@media (max-width: 768px) {
    html {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        position: relative;
        /* Ensure body doesn't interfere with sticky positioning */
        overflow-y: auto !important;
    }
    
    .app-container {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        /* Ensure app container doesn't interfere with sticky positioning */
        overflow-y: visible !important;
    }
    
    .tab-navigation {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        overflow-y: visible !important; /* Allow mobile dropdown to overflow */
        position: fixed !important; /* Fixed positioning to stay at top when scrolling */
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important; /* Higher z-index to ensure it stays on top */
        transform: translateZ(0) !important; /* Force hardware acceleration */
        will-change: transform !important; /* Optimize for fixed positioning */
    }
    
    .main-content {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding: 15px !important;
        padding-top: 120px !important; /* Add top padding to account for fixed navigation */
    }
    
    .tab-content {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
    }
    
    /* Ensure all containers don't exceed screen width */
    .nav-container {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        overflow-y: visible !important; /* Allow mobile dropdown to overflow */
        margin: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
    
    .overview-section,
    .comparison-section,
    .analytics-section,
    .settings-section,
    .gas-stats-section,
    .validator-section,
    .bridge-stats-section {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        margin: 0 !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
    }
}


/* COMPREHENSIVE MOBILE CHART AND TEXT FIXES */

/* Fix 3: Chart containers and text overflow on mobile */
@media (max-width: 768px) {
    
    /* All chart containers */
    .chart-container,
    .main-chart-container,
    .secondary-chart-container,
    .mini-chart-container,
    .gas-chart-container,
    .holder-chart-container {
        width: 100% !important;
        max-width: calc(100vw - 30px) !important;
        margin: 15px 0 !important;
        padding: 15px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
    
    /* OVERRIDE: All tabs chart containers should respect their max-width constraints */
    #overview .main-chart-container,
    #overview .secondary-chart-container,
    #overview .chart-container,
    #pulsex-stats .main-chart-container,
    #pulsex-stats .secondary-chart-container,
    #pulsex-stats .chart-container,
    #pulse-stats .main-chart-container,
    #pulse-stats .secondary-chart-container,
    #pulse-stats .chart-container,
    #hex-stats .main-chart-container,
    #hex-stats .secondary-chart-container,
    #hex-stats .chart-container,
    #gas-stats .main-chart-container,
    #gas-stats .secondary-chart-container,
    #gas-stats .chart-container,
    #bridge-stats .main-chart-container,
    #bridge-stats .secondary-chart-container,
    #bridge-stats .chart-container,
    #validators .main-chart-container,
    #validators .secondary-chart-container,
    #validators .chart-container,
    #token-rankings .main-chart-container,
    #token-rankings .secondary-chart-container,
    #token-rankings .chart-container,
    #eth-treasuries .main-chart-container,
    #eth-treasuries .secondary-chart-container,
    #eth-treasuries .chart-container {
        width: auto !important;
        max-width: 1200px !important;
        margin: 15px auto !important;
    }
    
    /* Canvas elements - Remove fixed max-height constraint */
    canvas {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        /* Removed max-height constraint to allow charts to size naturally */
    }
    
    /* Mobile Chart Container Fixes - Allow flexible heights */
    .chart-container,
    .chart-wrapper,
    .main-chart-container,
    .secondary-chart-container,
    .gas-chart-container,
    .hex-payout-chart-section .chart-wrapper,
    .hex-tshare-chart-section .chart-wrapper,
    .hex-stakes-ending-chart-section .chart-wrapper {
        height: auto !important;
        min-height: 250px !important;
        max-height: none !important;
    }
    
    
    /* Specific chart types with different height needs */
    .chart-container#roi-chart-container {
        min-height: 400px !important;
    }
    
    .hex-payout-chart-section .chart-wrapper,
    .hex-tshare-chart-section .chart-wrapper,
    .hex-stakes-ending-chart-section .chart-wrapper {
        min-height: 300px !important;
    }
}

/* Daily Active Users Chart Current Value Styling */
.chart-current-value {
    text-align: center;
    margin-top: 1rem;
}

.chart-current-label {
    display: block;
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.chart-current-number {
    display: block;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0;
}
    
    /* Gas charts need more space */
    .gas-chart-container {
        min-height: 300px !important;
        height: 300px !important;
    }
    
    /* Main charts in overview */
    .main-chart-container {
        min-height: 300px !important;
    }
    
    /* OVERRIDE: Overview tab main chart should be smaller */
    #overview .main-chart-container {
        min-height: 180px !important;
        height: 180px !important;
    }
    
    /* Secondary charts can be smaller */
    .secondary-chart-container {
        min-height: 200px !important;
    }
    
    /* OVERRIDE: Overview tab secondary charts should be smaller */
    #overview .secondary-chart-container {
        min-height: 130px !important;
        height: 130px !important;
    }
    
    /* Text overflow fixes */
    h1, h2, h3, h4, h5, h6 {
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
        white-space: normal !important;
    }
    
    /* Metric cards and stat values */
    .metric-card,
    .chart-stat,
    .stat-card {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .metric-value,
    .stat-value,
    .chart-value {
        font-size: 1.2rem !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        max-width: 100% !important;
    }
    
    /* HEX Stats Page Specific Fixes */
    .hex-stats-section,
    .hex-metrics-grid,
    .hex-charts-container {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        padding: 0 15px !important;
        margin: 0 !important;
    }
    
    /* Ensure no element causes horizontal scroll - EXCEPT all tab elements */
    *:not(#overview *):not(#pulsex-stats *):not(#pulse-stats *):not(#hex-stats *):not(#gas-stats *):not(#bridge-stats *):not(#validators *):not(#token-rankings *):not(#eth-treasuries *) {
        max-width: 100vw !important;
        box-sizing: border-box !important;
    }
    
    /* All tab elements should respect their own max-width constraints */
    #overview *,
    #pulsex-stats *,
    #pulse-stats *,
    #hex-stats *,
    #gas-stats *,
    #bridge-stats *,
    #validators *,
    #token-rankings *,
    #eth-treasuries * {
        box-sizing: border-box !important;
    }
    
    /* Force responsive behavior */
    .chart-responsive {
        position: relative !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}


/* MOBILE HAMBURGER NAVIGATION */

/* Hide mobile menu on desktop */
.mobile-nav-menu {
    display: none !important;
}

/* Ensure mobile nav is hidden on desktop screens */
@media (min-width: 769px) {
    .mobile-nav-menu {
        display: none !important;
    }
}

/* Hide desktop nav on mobile */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-nav-menu {
        display: block;
        position: relative;
        width: 100%;
        z-index: 1001;
        overflow: visible; /* Ensure dropdown can extend beyond container */
    }
    
    /* Mobile Navigation Controls Container */
    .mobile-nav-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        width: 100%;
    }
    
    /* Home Icon Button */
    .home-icon-button {
        display: flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 2px solid #ffffff;
        border-radius: 50%;
        width: 50px;
        height: 50px;
        color: #ffffff;
        cursor: pointer;
        font-size: 18px;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }
    
    .home-icon-button:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: #00BFFF;
        color: #00BFFF;
        transform: scale(1.05);
    }
    
    .home-icon-button:active {
        transform: scale(0.95);
    }
    
    /* Ensure mobile navigation stays sticky during scroll */
    .mobile-nav-menu {
        position: relative;
        z-index: 1001;
    }
    
    /* Additional mobile fixed navigation reinforcement */
    .tab-navigation {
        position: fixed !important; /* Fixed positioning to stay at top when scrolling */
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 9999 !important; /* Higher z-index to ensure it stays on top */
        will-change: transform !important; /* Optimize for fixed positioning */
        /* Ensure smooth fixed behavior */
        transform: translateZ(0) !important; /* Force hardware acceleration */
        backface-visibility: hidden !important; /* Prevent flickering */
    }
    
    /* Ensure nav container doesn't clip the dropdown */
    .nav-container {
        overflow: visible !important;
    }
    
    .tab-navigation {
        overflow: visible !important;
    }
    
    /* Hamburger Button */
    .hamburger-button {
        display: flex;
        align-items: center;
        gap: 10px;
        background: transparent;
        border: 2px solid #ffffff;
        border-radius: 25px;
        padding: 12px 20px;
        color: #ffffff;
        cursor: pointer;
        font-size: 16px;
        font-weight: 500;
        width: 200px;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }
    
    .hamburger-button:hover {
        background: rgba(255, 255, 255, 0.1);
        border-color: #00BFFF;
        color: #00BFFF;
    }
    
    /* Hamburger Icon */
    .hamburger-line {
        width: 20px;
        height: 2px;
        background: #ffffff;
        transition: all 0.3s ease;
        display: block;
    }
    
    .hamburger-button:hover .hamburger-line {
        background: #00BFFF;
    }
    
    /* Mobile Dropdown */
    .mobile-dropdown {
        position: fixed;
        top: 80px; /* Adjusted for fixed navigation */
        left: 50%;
        transform: translateX(-50%);
        width: calc(100vw - 40px);
        max-width: 400px;
        min-width: 280px;
        max-height: 0;
        overflow: hidden;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(20px);
        border: none;
        border-radius: 15px;
        transition: max-height 0.3s ease;
        z-index: 99999; /* Much higher z-index to ensure it appears above everything */
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    }
    
    .mobile-dropdown.open {
        max-height: 90vh;
        overflow-y: auto;
    }
    
    /* Mobile Menu Backdrop */
    .mobile-menu-backdrop {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background: rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(5px);
        z-index: 9999; /* Just below the dropdown */
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-backdrop.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Mobile Nav Tabs Container */
    .mobile-nav-tabs {
        padding: 15px;
        display: flex;
        flex-direction: column;
        gap: 8px;
        max-height: calc(90vh - 30px);
        overflow-y: auto;
    }
    
    /* Individual Mobile Nav Tabs */
    .mobile-nav-tab {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 15px 20px;
        background: transparent;
        border: none;
        border-radius: 12px;
        color: #ffffff;
        font-size: 16px;
        font-weight: 500;
        cursor: pointer;
        transition: all 0.3s ease;
        text-align: left;
        width: 100%;
    }
    
    .mobile-nav-tab:hover {
        background: rgba(0, 191, 255, 0.2);
        color: #ffffff;
    }
    
    .mobile-nav-tab.active {
        background: rgba(0, 191, 255, 0.3);
        color: #ffffff;
        font-weight: 600;
    }
    
    .mobile-nav-tab i {
        font-size: 18px;
        width: 20px;
        text-align: center;
        color: inherit;
    }
    
    /* Scrollbar styling for mobile dropdown */
    .mobile-nav-tabs::-webkit-scrollbar {
        width: 6px;
    }
    
    .mobile-nav-tabs::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.1);
        border-radius: 3px;
    }
    
    .mobile-nav-tabs::-webkit-scrollbar-thumb {
        background: rgba(0, 191, 255, 0.7);
        border-radius: 3px;
    }
    
    .mobile-nav-tabs::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 191, 255, 0.9);
    }
    
    /* Ensure smooth scrolling on mobile */
    .mobile-nav-tabs {
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
    }
}


/* HOME TAB GRADIENT AND LOGO STYLING */

/* Desktop Home Tab - Permanent Gradient */
.home-tab-gradient {
    background: linear-gradient(135deg, #ff00ff, #00ffff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}

/* Home Tab Icon - Desktop */
.home-tab-icon {
    width: 1.4rem;
    height: 1.4rem;
    margin-right: 4px;
    opacity: 0.9;
}

/* Mobile Home Tab - White Text with Logo */
.home-tab-mobile {
    color: #ffffff !important;
}

/* Home Tab Icon - Mobile */
.home-tab-icon-mobile {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 4px;
    opacity: 0.9;
}

/* Ensure icons dont get gradient effect */
.home-tab-gradient .home-tab-icon {
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
}


/* HOME TAB GRADIENT AND LOGO STYLING */

/* Desktop Home Tab - Permanent Gradient */
.home-tab-gradient {
    background: linear-gradient(135deg, #ff00ff, #00ffff) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    color: transparent !important;
}

/* Home Tab Icon - Desktop */
.home-tab-icon {
    width: 2rem;
    height: 2rem;
    margin-right: 8px;
    opacity: 0.9;
    filter: none !important;
}

/* Mobile Home Tab - White Text with Logo */
.home-tab-mobile {
    color: #ffffff !important;
}

/* Home Tab Icon - Mobile */
.home-tab-icon-mobile {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 4px;
    opacity: 0.9;
}

/* Ensure icons dont get gradient effect */
.home-tab-gradient .home-tab-icon {
    -webkit-text-fill-color: initial !important;
    background-clip: initial !important;
    -webkit-background-clip: initial !important;
}




/* Ecosystem Tab Styles */
.tab-content#ecosystem {
    max-width: 1200px !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

/* Override main-content width for ecosystem tab */
body .main-content:has(.tab-content#ecosystem.active),
body .main-content:has(#ecosystem.active),
.main-content:has(.tab-content#ecosystem.active),
.main-content:has(#ecosystem.active) {
    max-width: 1200px !important;
    width: 1200px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.ecosystem-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

.ecosystem-header {
    text-align: center;
    margin-bottom: 40px;
}

.ecosystem-header h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    text-align: center;
}

.ecosystem-subtitle {
    color: #cccccc;
    font-size: 1.2rem;
    margin: 0;
    text-align: center;
    font-weight: 400;
}

.ecosystem-map {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 40px;
    max-width: 100%;
    box-sizing: border-box;
}

/* First section (Official PulseChain Projects) spans full width */
.ecosystem-section.full-width {
    width: 100%;
}

/* Container for the four smaller boxes */
.ecosystem-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Container for DEXES section, stacked smaller boxes, and lending section */
.ecosystem-dexes-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    max-width: 100%;
    box-sizing: border-box;
    margin-top: 30px;
}

/* DEXES section (takes 2/3 of the width) */
.ecosystem-section.dexes-width {
    width: 100%;
}

/* Lending section (takes 2/3 of the width) */
.ecosystem-section.lending-width {
    width: 100%;
}

/* Container for the two stacked smaller boxes */
.ecosystem-stacked {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    width: 100%;
}

/* Container for lending section (full width) */
.ecosystem-lending-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
    box-sizing: border-box;
}

/* Other sections share the row */
.ecosystem-section.half-width {
    width: 100%;
}

.ecosystem-section {
    background: transparent;
    border: none;
    border-radius: 12px;
    padding: 25px;
}

.ecosystem-section h3 {
    color: #ffffff;
    font-size: 1.5rem;
    margin: 0 0 20px 0;
    text-align: center;
}

/* Mobile responsive for ecosystem */
@media (max-width: 768px) {
    .ecosystem-container {
        padding: 15px;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .ecosystem-header h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }
    
    .ecosystem-subtitle {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .ecosystem-section {
        padding: 15px;
        margin-bottom: 20px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .ecosystem-section h3 {
        font-size: 1.2rem;
        margin-bottom: 15px;
    }
    
    .ecosystem-map {
        max-width: 100%;
        padding: 0;
        margin-top: 30px;
    }
    
    .ecosystem-row {
        grid-template-columns: 1fr;
        gap: 15px;
        width: 100%;
    }
    
    .ecosystem-dexes-row {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 20px;
    }
    
    .ecosystem-stacked {
        grid-template-rows: 1fr;
        gap: 15px;
    }
    
    .ecosystem-lending-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    /* Ensure project lists are mobile-friendly */
    .ecosystem-section.full-width .project-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .project-item {
        padding: 10px;
        gap: 10px;
    }
}

/* Ecosystem Project Icons and Layout */
.project-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* For full-width sections, use multi-column layout */
.ecosystem-section.full-width .project-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.project-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #000000;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.project-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.project-logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000000;
    flex-shrink: 0;
}

.project-logo img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 50%;
}

.project-name {
    color: #ffffff;
    font-size: 1rem;
    font-weight: 500;
    flex-grow: 1;
}

.link-icon {
    color: #cccccc;
    font-size: 0.8rem;
    opacity: 0.7;
    flex-shrink: 0;
}

/* Mobile ecosystem icons */
@media (max-width: 768px) {
    .project-logo {
        width: 32px;
        height: 32px;
    }
    
    .project-logo img {
        width: 24px;
        height: 24px;
    }
    
    .project-name {
        font-size: 0.9rem;
    }
    
    .link-icon {
        font-size: 0.7rem;
    }
}

/* Extra small mobile screens for ecosystem */
@media (max-width: 480px) {
    .ecosystem-container {
        padding: 10px;
    }
    
    .ecosystem-header h1 {
        font-size: 1.5rem;
    }
    
    .ecosystem-subtitle {
        font-size: 0.9rem;
    }
    
    .ecosystem-section {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    .ecosystem-section h3 {
        font-size: 1.1rem;
        margin-bottom: 12px;
    }
    
    .ecosystem-map {
        margin-top: 20px;
    }
    
    .ecosystem-row,
    .ecosystem-dexes-row,
    .ecosystem-lending-row {
        gap: 12px;
    }
    
    .ecosystem-section.full-width .project-list {
        gap: 8px;
    }
    
    .project-item {
        padding: 8px;
        gap: 8px;
    }
    
    .project-logo {
        width: 28px;
        height: 28px;
    }
    
    .project-logo img {
        width: 20px;
        height: 20px;
    }
    
    .project-name {
        font-size: 0.85rem;
    }
    
    .link-icon {
        font-size: 0.6rem;
    }
}

/* Get Started Section */
.get-started-section {
    text-align: center;
    margin: 40px auto;
    max-width: 600px;
    padding: 30px;
    background: transparent;
    border: none;
    border-radius: 0;
}

.get-started-section h2 {
    color: #ffffff;
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
    text-align: center;
}

.get-started-section p {
    color: #cccccc;
    font-size: 1.1rem;
    margin: 0 0 25px 0;
    text-align: center;
}

/* Tutorial Videos Button - styled like Portfolio button */
.tutorial-videos-button {
    background: linear-gradient(135deg, #e619e6, #8000ff);
    border: none;
    border-radius: 8px;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 12px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    box-shadow: 0 4px 15px rgba(230, 25, 230, 0.3);
}

.tutorial-videos-button:hover {
    background: linear-gradient(135deg, #ff1aff, #9933ff);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 25, 230, 0.4);
}

.tutorial-videos-button:active {
    transform: translateY(0);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .get-started-section {
        margin: 30px 15px;
        padding: 25px 20px;
    }
    
    .get-started-section h2 {
        font-size: 1.6rem;
    }
    
    .get-started-section p {
        font-size: 1rem;
    }
    
    .tutorial-videos-button {
        font-size: 1rem;
        padding: 10px 25px;
    }
}

/* Trade Sections Container - Side by Side Layout */
.trade-sections-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.trade-sections-container .trade-section {
    margin: 0; /* Remove individual margins since container handles spacing */
}

/* Mobile: Stack vertically on small screens */
@media (max-width: 768px) {
    .trade-sections-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}
