@import url("https://fonts.googleapis.com/css2?family=VT323&display=swap");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    background: radial-gradient(ellipse at center, #1a1410, #0a0805);
    font-family: "VT323", monospace;
    color: #ffb000;
    overflow: hidden;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.screen {
    width: 100%;
    height: 100%;
    padding: 40px;
    position: relative;
    overflow: hidden;
}
.screen::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 176, 0, 0.02) 2px,
        rgba(255, 176, 0, 0.02) 4px
    );
    pointer-events: none;
}
.content {
    position: relative;
    z-index: 1;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    max-width: 600px;
    margin: 0 auto;
}
.terminal-line {
    font-size: 28px;
    color: #ffb000;
    opacity: 0.9;
    text-shadow: 1px 1px 0px rgba(139, 69, 19, 0.5);
    display: flex;
    align-items: center;
}
.cursor {
    display: inline-block;
    width: 12px;
    height: 20px;
    background-color: #ffb000;
    animation: blink 0.8s infinite;
    margin-left: 3px;
    box-shadow: 0 0 3px rgba(255, 176, 0, 0.8);
}
.menu {
    margin-top: 15px;
}
.menu-title {
    font-size: 24px;
    color: #ffb000;
    opacity: 0.7;
    margin-bottom: 15px;
}
.menu-item {
    font-size: 26px;
    color: #ffb000;
    text-decoration: none;
    display: block;
    margin: 10px 0;
    opacity: 0.85;
    text-shadow: 1px 1px 0px rgba(139, 69, 19, 0.5);
    position: relative;
    transition: all 0.2s;
    padding-left: 0;
}
.menu-item::before {
    content: ">";
    position: absolute;
    left: -20px; /* Символ слева за пределами текста */
    opacity: 0;
    transition: opacity 0.2s;
}
.menu-item:hover::before {
    opacity: 1;
}
.menu-item:hover {
    transform: translateX(25px); /* Смещаем текст вправо */
    opacity: 1;
    text-shadow: 0 0 5px rgba(255, 176, 0, 0.5);
}
@keyframes blink {
    0%,
    49% {
        opacity: 1;
    }
    50%,
    100% {
        opacity: 0;
    }
}
.scanline {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        to bottom,
        transparent,
        rgba(255, 176, 0, 0.05),
        transparent
    );
    animation: scan 12s linear infinite;
    pointer-events: none;
}
@keyframes scan {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(600px);
    }
}
.noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.02;
    pointer-events: none;
    background-image: repeating-radial-gradient(
        circle at 50% 50%,
        transparent 0,
        rgba(255, 176, 0, 0.1) 1px,
        transparent 2px
    );
}
@media (max-width: 768px) {
    .terminal-line {
        font-size: 24px;
    }
    .menu-item {
        font-size: 22px;
    }
    .cursor {
        width: 10px;
        height: 18px;
    }
}
