:root {
    --scorpion-orange: #FF6D00;
    --scorpion-amber: #FFAB00;
    --scorpion-red: #D84315;
    --scorpion-bg: #0A0A10;
    --scorpion-surface: #12121A;
    --scorpion-surface-light: #1A1A28;
    --scorpion-border: rgba(255, 109, 0, 0.10);
    --scorpion-text: rgba(255, 255, 255, 0.90);
    --scorpion-text-muted: rgba(255, 255, 255, 0.55);
}

html, body {
    font-family: 'Rajdhani', sans-serif;
    background: var(--scorpion-bg);
    color: var(--scorpion-text);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

#app {
    position: relative;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.loading-screen {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: var(--scorpion-bg);
}

.loading-brand {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.8rem;
    letter-spacing: 0.25em;
    color: var(--scorpion-orange);
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.loading-bar {
    width: 180px;
    height: 3px;
    background: rgba(255, 109, 0, 0.15);
    border-radius: 2px;
    overflow: hidden;
}

.loading-bar-fill {
    width: 40%;
    height: 100%;
    background: linear-gradient(90deg, var(--scorpion-orange), var(--scorpion-amber));
    border-radius: 2px;
    animation: loadingSlide 1.2s ease-in-out infinite;
}

@keyframes loadingSlide {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(350%); }
}

.mud-paper {
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.mud-paper:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 109, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.mud-card {
    transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.mud-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(255, 109, 0, 0.06), 0 4px 12px rgba(0, 0, 0, 0.3);
}

.metric-card {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--scorpion-border);
    background: linear-gradient(135deg, var(--scorpion-surface) 0%, var(--scorpion-surface-light) 100%);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, var(--scorpion-orange), transparent);
}

.stat-number {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 2.5rem;
    line-height: 1;
    color: rgba(255, 255, 255, 0.95);
}

.stat-label {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--scorpion-text-muted);
}

.glow-accent {
    position: relative;
}

.glow-accent::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 30px rgba(255, 109, 0, 0.03);
    pointer-events: none;
}

.page-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--scorpion-border);
}

.page-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--scorpion-text);
    margin: 0;
    letter-spacing: 0.04em;
}

.page-header p {
    color: var(--scorpion-text-muted);
    margin: 0.5rem 0 0 0;
    font-size: 0.9rem;
}

.section-card {
    background: var(--scorpion-surface);
    border: 1px solid var(--scorpion-border);
    border-radius: 12px;
    padding: 1.5rem;
}

.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--scorpion-orange);
    margin-bottom: 1rem;
}

::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--scorpion-bg);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 109, 0, 0.25);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 109, 0, 0.4);
}

::selection {
    background: rgba(255, 109, 0, 0.30);
    color: #fff;
}