@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;500;600;700&display=swap');

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

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0d00 50%, #000000 100%);
    color: #ffffff;
    overflow-x: hidden;
}

.glass-panel {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.glass-panel::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ff8c00, #00ffff, #ff8c00);
    z-index: -1;
    border-radius: 18px;
    animation: borderGlow 3s ease-in-out infinite alternate;
}

.neon-orange {
    color: #ff8c00;
    text-shadow: 0 0 5px #ff8c00, 0 0 10px #ff8c00, 0 0 15px #ff8c00, 0 0 20px #ff8c00;
    animation: neonPulse 2s infinite alternate;
}

.neon-cyan {
    color: #00ffff;
    text-shadow: 0 0 5px #00ffff, 0 0 10px #00ffff, 0 0 15px #00ffff, 0 0 20px #00ffff;
}

@keyframes neonPulse {
    from {
        text-shadow: 0 0 5px #ff8c00, 0 0 10px #ff8c00, 0 0 15px #ff8c00, 0 0 20px #ff8c00;
    }
    to {
        text-shadow: 0 0 10px #ff8c00, 0 0 20px #ff8c00, 0 0 30px #ff8c00, 0 0 40px #ff8c00;
    }
}

@keyframes borderGlow {
    from {
        opacity: 0.3;
    }
    to {
        opacity: 0.7;
    }
}

@keyframes sparkTrail {
    0% {
        transform: translateY(0) scale(0);
        opacity: 1;
    }
    100% {
        transform: translateY(-20px) scale(1);
        opacity: 0;
    }
}

.spark {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ff8c00;
    border-radius: 50%;
    animation: sparkTrail 1s ease-out forwards;
}

.glow-button {
    background: rgba(255, 140, 0, 0.1);
    border: 1px solid rgba(255, 140, 0, 0.3);
    color: #ff8c00;
    transition: all 0.3s ease;
}

.glow-button:hover {
    background: rgba(255, 140, 0, 0.2);
    box-shadow: 0 0 15px rgba(255, 140, 0, 0.5);
}

.cyan-button {
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.3);
    color: #00ffff;
}

.cyan-button:hover {
    background: rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
    background: linear-gradient(45deg, #ff8c00, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tier-bronze {
    border-color: #cd7f32;
    box-shadow: 0 0 10px rgba(205, 127, 50, 0.5);
}

.tier-silver {
    border-color: #c0c0c0;
    box-shadow: 0 0 10px rgba(192, 192, 192, 0.5);
}

.tier-gold {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.tier-diamond {
    border-color: #00ffff;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

.chart-line {
    stroke: url(#orangeCyanGradient);
    stroke-width: 3;
    fill: none;
    filter: url(#glow);
}

.chart-area {
    fill: url(#areaGradient);
    opacity: 0.3;
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 140, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 140, 0, 0);
    }
}

.copy-success {
    animation: copyFlash 1s ease;
}

@keyframes copyFlash {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .glass-panel {
        border-radius: 12px;
    }
    
    .glass-panel::before {
        border-radius: 14px;
    }
}