@import url('https://fonts.googleapis.com/css2?family=Courier+Prime:ital,wght@0,400;0,700;1,400&family=VT323&display=swap');

* {
    box-sizing: border-box;
    cursor: crosshair;
}

body {
    background-color: #020202;
    background-image: repeating-linear-gradient(0deg, #000, #000 2px, #080808 2px, #080808 4px);
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    font-family: 'Courier Prime', monospace;
}

.crt-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.5) 50%);
    background-size: 100% 5px;
    z-index: 999;
    pointer-events: none;
    opacity: 0.8;
    animation: screen-burn 0.2s infinite;
}

.win-window {
    width: 580px;
    background-color: #0f0f0f;
    border-top: 3px solid #222;
    border-left: 3px solid #222;
    border-right: 3px solid #050505;
    border-bottom: 3px solid #050505;
    box-shadow: 0px 0px 25px #000;
}

.win-titlebar {
    background: #200000;
    color: #8b0000;
    padding: 6px 10px;
    font-size: 0.8rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #0f0f0f;
    letter-spacing: 1px;
}

.win-body {
    padding: 25px;
}

.header-area {
    text-align: left;
    margin-bottom: 20px;
    border-bottom: 1px dashed #222;
    padding-bottom: 15px;
}

h1 {
    font-family: 'VT323', monospace;
    font-size: 3rem;
    color: #404040;
    margin: 0;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 0.75rem;
    color: #222;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 2px;
}

.text-terminal {
    background-color: #050505;
    border-top: 2px solid #000;
    border-left: 2px solid #000;
    border-right: 2px solid #222;
    border-bottom: 2px solid #222;
    padding: 15px;
    color: #555;
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-align: left;
}

.navigation-matrix {
    width: 100%;
    margin-bottom: 20px;
}

.navigation-matrix td {
    width: 50%;
}

.retro-btn {
    display: block;
    text-decoration: none;
    text-align: center;
    padding: 12px;
    font-family: 'VT323', monospace;
    font-size: 1.6rem;
    letter-spacing: 2px;
    background-color: #121212;
    border-top: 2px solid #252525;
    border-left: 2px solid #252525;
    border-right: 2px solid #050505;
    border-bottom: 2px solid #050505;
}

.life-btn .btn-text { color: #252525; }
.death-btn .btn-text { color: #200000; }

.retro-btn:hover {
    border-top: 2px solid #050505;
    border-left: 2px solid #050505;
    border-right: 2px solid #252525;
    border-bottom: 2px solid #252525;
    background-color: #0b0b0b;
}

.life-btn:hover .btn-text {
    color: #666;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.death-btn:hover .btn-text {
    color: #990000;
    text-shadow: 0 0 8px #ff0000;
    animation: text-glitch 0.1s infinite;
}

.system-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #222;
    border-top: 1px solid #1a1a1a;
    padding-top: 15px;
    margin-top: 10px;
}

@keyframes screen-burn {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 0.75; }
}

@keyframes text-glitch {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-1px); filter: blur(0.3px); }
}