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

body {
    font-family: 'Courier New', Courier, monospace;
    background: #050505;
    color: #0f0;
    padding: 20px;
    text-shadow: 0 0 4px rgba(0, 255, 0, 0.7);
    overflow-x: hidden;
}

.scanlines {
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    background-size: 100% 4px, 6px 100%;
    pointer-events: none;
    z-index: 100;
}

#boot-screen {
    display: none;
    white-space: pre-wrap;
    line-height: 1.4;
}

#main-content {
    display: none;
    max-width: 900px; /* Ограничиваем ширину для красоты */
}

#main-content h1 {
    margin-bottom: 20px;
    color: #0f0;
    font-size: 20px;
    white-space: pre;
    overflow: hidden;
}

/* Сетка дашборда */
.dashboard {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    margin: 10px 0 20px 0;
}

.panel {
    flex: 1 1 300px; /* На ПК блоки встанут в 2 колонки, на телефоне в 1 */
}

.panel pre {
    line-height: 1.6;
    font-size: 16px;
    margin: 0;
}

pre {
    line-height: 1.6;
    font-size: 16px;
}

#main-content h2 {
    margin: 20px 0 15px 0;
    color: #0f0;
}

#menu {
    list-style: none;
}

#menu li {
    margin: 10px 0;
}

.menu-item {
    color: #0f0;
    text-decoration: none;
    font-size: 18px;
    display: inline-block;
    padding: 5px 10px;
    border: 1px solid transparent;
    transition: background 0.1s;
}

.menu-item:hover, .menu-item.selected {
    background: #0f0;
    color: #000;
    text-decoration: none;
    text-shadow: none;
    font-weight: bold;
}

.blink {
    animation: blinker 1s linear infinite;
}
@keyframes blinker {
    50% { opacity: 0; }
}

#cookie-banner {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: #111;
    border-top: 2px solid #0f0;
    padding: 20px;
    color: #0f0;
    z-index: 200;
}

#cookie-banner p {
    margin-bottom: 15px;
    line-height: 1.6;
}

#cookie-banner button {
    background: #0f0;
    color: #000;
    border: none;
    padding: 10px 30px;
    font-size: 16px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

#cookie-banner button:hover {
    background: #0c0;
}
