:root {
    --bg: #030305;
    --accent: #0047FF;
    --accent-glow: rgba(0, 71, 255, 0.5);
    --text-primary: #FFFFFF;
    --text-secondary: #6B7280;
    --border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    cursor: crosshair;
}

body {
    background-color: var(--bg);
    color: var(--text-primary);
    font-family: 'JetBrains Mono', monospace;
    overflow: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Шум */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    pointer-events: none;
    opacity: 0.04;
    background: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

/* Динамическая сетка */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: 50px 50px;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    z-index: -2;
    mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle at center, black 40%, transparent 100%);
}

/* Светящийся прожектор за курсором */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: -1;
    opacity: 0.3;
    transition: opacity 0.5s ease;
}

.terminal-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

/* Header */
.sys-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1rem;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.sys-info .highlight {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

.sys-status {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-secondary);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.8);
    }
}

/* Center Content */
.core-display {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

/* Огромная типографика */
.mega-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(4rem, 15vw, 15rem);
    font-weight: 900;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 2px var(--border);
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    transition: all 0.3s ease;
}

/* Эффект заливки при наведении контейнера */
.core-display:hover .mega-title {
    -webkit-text-stroke: 0px transparent;
    color: var(--text-primary);
    text-shadow: 0 0 40px var(--accent-glow);
}

.crypto-subtitle {
    margin-top: 2rem;
    font-size: clamp(0.9rem, 1.5vw, 1.2rem);
    color: var(--text-secondary);
    letter-spacing: 4px;
    line-height: 1.6;
    max-width: 800px;
}

/* Grid Metrics */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 6rem;
    width: 100%;
    max-width: 900px;
    text-align: left;
}

.metric-box {
    border-top: 1px solid var(--border);
    padding-top: 1rem;
    position: relative;
}

.metric-box::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 0;
    width: 20px;
    height: 3px;
    background: var(--accent);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.metric-value {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.metric-desc {
    font-size: 0.65rem;
    color: var(--accent);
    margin-top: 0.5rem;
    letter-spacing: 1px;
}

.progress-line {
    margin-top: 10px;
    height: 2px;
    background: var(--border);
    width: 100%;
}

.progress-line .fill {
    height: 100%;
    background: var(--accent);
    width: 99.9%;
    box-shadow: 0 0 10px var(--accent);
}

.blinking {
    animation: blink 1s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 4rem;
    }

    .sys-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}