:root {
    --bg-color: #050505;
    --text-main: #d4d4d4;
    --text-highlight: #3498db;
    --warning: #e74c3c;
    --border-color: #333;
    --nav-bg: #111;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: 'Space Mono', monospace, Arial, sans-serif;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Subtle old CRT scanline effect */
.scan-line {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0),
        rgba(255, 255, 255, 0) 50%,
        rgba(0, 0, 0, 0.1) 50%,
        rgba(0, 0, 0, 0.1)
    );
    background-size: 100% 4px;
    z-index: 100;
    pointer-events: none;
    opacity: 0.3;
}

.container {
    flex: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 10;
}

.header {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    margin-bottom: 2rem;
    padding: 1rem 1.5rem;
    display: inline-block;
}

.logo {
    max-width: 250px;
    height: auto;
    display: block;
    /* Filtro para invertir el azul oscuro del logo a un celeste brillante para el tema oscuro */
    filter: invert(1) hue-rotate(180deg) brightness(1.8) contrast(1.2);
}

.status-warning {
    margin-top: 1rem;
}

.status-warning h1 {
    font-size: 1.5rem;
    color: var(--warning);
    margin-bottom: 0.5rem;
    letter-spacing: 2px;
}

.status-warning p {
    font-size: 1rem;
    letter-spacing: 1px;
    color: #888;
}

.blinking-cursor {
    animation: blink 1s step-end infinite;
    font-weight: bold;
    color: var(--warning);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.access-info {
    border: 1px solid var(--border-color);
    padding: 2rem;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.8);
    position: relative;
}

/* Little corners effect */
.access-info::before,
.access-info::after {
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border-color: var(--text-highlight);
    border-style: solid;
}

.access-info::before {
    top: -1px;
    left: -1px;
    border-width: 2px 0 0 2px;
}

.access-info::after {
    bottom: -1px;
    right: -1px;
    border-width: 0 2px 2px 0;
}

.access-info h2 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    color: var(--text-highlight);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.clearance-levels {
    text-align: left;
    margin: 0 auto;
    max-width: 400px;
}

.clearance-levels p {
    margin-bottom: 1rem;
    font-size: 0.95rem;
    font-weight: bold;
    color: #aaa;
    border-bottom: 1px dashed var(--border-color);
    padding-bottom: 0.5rem;
}

.clearance-levels ul {
    list-style-type: none;
    margin-bottom: 2rem;
}

.clearance-levels ul li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
    position: relative;
    color: var(--text-main);
}

.warning-text {
    font-size: 0.85rem;
    color: var(--warning);
    margin-top: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav {
    background-color: var(--nav-bg);
    border-top: 1px solid var(--border-color);
    padding: 1.5rem 0;
    width: 100%;
    z-index: 10;
}

.footer-nav nav ul {
    list-style-type: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 3rem;
}

.footer-nav nav ul li a {
    color: #666;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.footer-nav nav ul li a:hover {
    color: var(--text-highlight);
    text-shadow: 0 0 8px rgba(52, 152, 219, 0.6);
}

@media (max-width: 600px) {
    .footer-nav nav ul {
        flex-direction: column;
        gap: 1.5rem;
        align-items: center;
    }
}
