body {
    /* Fondo unificado (más oscuro para coincidir con historico) */
    background-color: #0f0f0f;
    color: #e0e0e0;
    font-family: 'Segoe UI', 'Arial', sans-serif;
    margin: 0;
    padding: 0;
}

/* Barra de navegación */
.navbar {
    background-color: #0f1117;
    border-bottom: 2px solid #30a14e;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.nav-brand {
    font-size: 24px;
    font-weight: bold;
    color: #30a14e;
    text-decoration: none;
    cursor: pointer;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 30px;
}

.nav-link {
    color: #30a14e;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-bottom: 2px solid transparent;
}

.nav-link:hover {
    color: #ffcc00;
    border-bottom-color: #ffcc00;
}

.nav-link:visited {
    color: #30a14e;
}

.nav-link.active {
    color: #30a14e;
    border-bottom-color: #30a14e;
}

.burger {
    display: none;
    flex-direction: row;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1100;
    width: 50px;
    height: 50px;
    justify-content: center;
    align-items: center;
    padding: 0;
}

.burger svg {
    width: 28px;
    height: 28px;
}

.container {
    max-width: 1200px;
    margin: 40px auto;
    /* Ajuste ligero para que el contenedor combine con el nuevo fondo */
    background-color: #1a1a1a;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.7);
    padding: 32px;
    text-align: center;
}

h1 {
    color: #f5f6fa;
    margin-bottom: 16px;
}

p {
    color: #b0b3b8;
}

.subtitle {
    font-size: 14px;
    margin-top: 16px;
    color: #30a14e;
}

/* Estilos para móviles */
@media (max-width: 700px) {
    .burger {
        display: flex !important;
    }
    
    .nav-container {
        padding: 0 8px;
        position: relative;
    }
    
    .nav-menu {
        position: absolute;
        top: 60px;
        left: 0;
        width: 100vw;
        background: #181a20;
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        transition: max-height 0.3s ease, opacity 0.3s ease;
        box-shadow: 0 2px 8px rgba(0,0,0,0.7);
        z-index: 999;
    }
    
    .nav-menu.nav-menu-open {
        max-height: 400px;
        opacity: 1;
        padding: 10px 0;
    }
    
    .nav-link {
        width: 100%;
        text-align: left;
        font-size: 1.1rem;
        padding: 16px 18px;
        border-radius: 0;
        border-bottom: 1px solid #23272f;
        display: block;
    }
    
    .nav-brand {
        font-size: 1.1rem;
    }
    
    .container {
        max-width: 98vw;
        margin: 16px auto;
        padding: 16px;
    }
    
    h1 {
        font-size: 1.3rem;
    }
}

/* Reloj UTC */
.utc-clock {
    font-size: 13px;
    color: #30a14e;
    margin-bottom: 30px;
    text-align: center;
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, rgba(48, 161, 78, 0.1) 0%, rgba(48, 161, 78, 0.05) 100%);
    border: 1px solid rgba(48, 161, 78, 0.3);
    border-radius: 8px;
    padding: 10px 20px;
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 4px 15px rgba(48, 161, 78, 0.1);
    letter-spacing: 1px;
    font-weight: 500;
}
