* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Jersey 10', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: #fff;
    padding: 20px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e11;
}

header h1 {
    font-size: 2.5em;
    color: #e11;
    text-shadow: 0 0 20px rgba(238, 17, 17, 0.5);
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    padding: 10px 20px;
    background: rgba(238, 17, 17, 0.1);
    border: 1px solid #e11;
    border-radius: 8px;
    transition: all 0.3s;
}

.nav-links a:hover {
    background: #e11;
    transform: translateY(-2px);
}

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

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(238, 17, 17, 0.3);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(238, 17, 17, 0.3);
}

.stat-card .number {
    font-size: 3em;
    font-weight: bold;
    color: #e11;
    margin: 10px 0;
}

.stat-card .label {
    color: #aaa;
    font-size: 1.1em;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.chart-container {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(238, 17, 17, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
}

.chart-container h2 {
    margin-bottom: 20px;
    color: #e11;
}

canvas {
    max-height: 400px;
}

.activity-log {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(238, 17, 17, 0.3);
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(10px);
}

.activity-log h2 {
    margin-bottom: 20px;
    color: #e11;
}

.activity-item {
    padding: 15px;
    border-left: 3px solid #e11;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 10px;
    border-radius: 4px;
}

.activity-item .time {
    color: #888;
    font-size: 0.85em;
}

.activity-item .action {
    color: #e11;
    font-weight: bold;
    margin: 5px 0;
}

.top-licenses {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(238, 17, 17, 0.3);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
}

.top-licenses h2 {
    margin-bottom: 20px;
    color: #e11;
}

.license-item {
    display: flex;
    justify-content: space-between;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    margin-bottom: 10px;
    border-radius: 8px;
    border-left: 3px solid #e11;
}

.license-item .token {
    font-family: monospace;
    color: #e11;
}

.license-item .count {
    background: rgba(238, 17, 17, 0.2);
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
}

.loading {
    text-align: center;
    padding: 50px;
    font-size: 1.5em;
    color: #e11;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 2s infinite;
}