@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

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

body {
    font-family: 'Press Start 2P', monospace;
    
    /* Fondo postapocalíptico visible en su brillo original */
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;

    color: #33ff33;
    padding: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Marco que limita el contenido al área de la pantalla del monitor */
.screen-container {
    width: 100%;
    max-width: 620px; /* Ajusta según el marco interno del CRT */
    background-color: rgba(4, 12, 4, 0.92); /* Fondo del cristal CRT */
    border: 1px solid rgba(51, 255, 51, 0.3);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 25px rgba(51, 255, 51, 0.15), inset 0 0 15px rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(2px);
    margin: auto;
}

/* Cabecera / Título estilo Retro */
header {
    text-align: center;
    margin-bottom: 20px;
}

.status-tag {
    font-size: 0.45rem;
    color: #ff3333;
    background: #1a0000;
    border: 1px solid #ff3333;
    padding: 4px 8px;
    display: inline-block;
    margin-bottom: 8px;
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.4);
}

header h1 {
    font-size: 1.3rem;
    color: #ffaa00;
    text-shadow: 2px 2px #000, 0 0 8px rgba(255, 170, 0, 0.6);
}

/* Botones de navegación superiores */
.nav-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn {
    background-color: #0d1a0d;
    border: 2px solid #33ff33;
    box-shadow: inset 1px 1px #1e381e, inset -1px -1px #000, 2px 2px 0px #000;
    color: #33ff33;
    padding: 10px 14px;
    font-family: 'Press Start 2P', monospace;
    font-size: 0.55rem;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn:hover {
    background-color: #33ff33;
    color: #000;
    box-shadow: 0 0 10px rgba(51, 255, 51, 0.8);
}

.btn:active {
    transform: translate(1px, 1px);
    box-shadow: none;
}

/* Caja de bienvenida estilo terminal bunker */
.welcome-box {
    background-color: rgba(10, 20, 10, 0.8);
    border: 1px solid #ffaa00;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 3px 3px 0px #000;
}

.welcome-box h2 {
    font-size: 0.65rem;
    color: #ffaa00;
    margin-bottom: 10px;
}

.welcome-box p {
    font-size: 0.48rem;
    line-height: 1.7;
    color: #a3c2a3;
    margin-bottom: 6px;
}

.welcome-box strong {
    color: #ff3333;
}

.welcome-box .status-foot {
    margin-top: 10px;
    color: #33ff33;
    border-top: 1px dashed #224422;
    padding-top: 8px;
}



footer {
    margin-top: 20px;
    font-size: 0.45rem;
    color: #446644;
    text-align: center;
}