#stats-section {
    padding-top: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stats-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stats-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--accent);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.stat-icon {
    font-size: 2.2rem;
    color: var(--accent);
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0.8;
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: right;
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    text-align: right;
}

.chart-container {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--border-radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow);
    grid-column: span 1;
}

.chart-container.full-width {
    grid-column: 1 / -1;
}

.chart-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    text-align: center;
}

.chart-container canvas {
    max-height: 400px;
    width: 100% !important;
}

#stats-filters {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 2rem;
}

.token-details-card {
    grid-column: 1 / -1;
    display: none;
}

.token-details-card .card-body {
    padding: 1.5rem;
}

.token-details-card .server-list {
    list-style: none;
    padding: 0;
    margin: 0;
    max-height: 200px;
    overflow-y: auto;
}

.token-details-card .server-list li {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.token-details-card .server-list li:last-child {
    border-bottom: none;
}

.token-details-card .server-list strong {
    color: var(--text-primary);
    margin-right: 0.5rem;
}


@media (max-width: 768px) {
    .stats-card {
        padding: 1.5rem;
    }
}