/* Configuración General */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* 1. AÑADIR TU IMAGEN AQUÍ */
    background-image: url('background.webp'); /* Reemplaza por tu imagen */
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Mantiene la imagen fija al hacer scroll */
    
    background-color: #121212; /* Color de fondo de respaldo */
    color: #f0f0f0; /* Un gris muy claro, casi blanco, para legibilidad */
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    opacity: 0; /* Para el efecto de carga */
    position: relative; /* Necesario para la capa overlay */
}

/* 2. NUEVA CLASE: CAPA DE SUPERPOSICIÓN OSCURA */
.background-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Negro con 75% de opacidad. Ajusta este valor (0.75) si quieres 
       que la imagen se vea más o menos */
    background-color: rgba(0, 0, 0, 0.65); 
    
    /* OPCIONAL: Un ligero desenfoque para más elegancia */
    /* backdrop-filter: blur(3px); */
    
    z-index: 1; /* Detrás del contenido, delante de la imagen */
}

.container {
    position: relative; /* Para estar por encima de la capa overlay */
    z-index: 2;
    width: 100%;
    max-width: 420px;
    padding: 80px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Encabezado */
header {
    text-align: center;
    margin-bottom: 70px;
}

.logo-container {
    margin-bottom: 30px;
}

.logo {
    width: 65px;
    height: 65px;
    object-fit: contain;
    /* Si tu logo tiene color, puedes forzarlo a blanco: */
    /* filter: brightness(0) invert(1); */
}

.brand-name {
    
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 4px;
    color: var(--asturias-cream);
}

.subtitle {
    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    color: #b0b0b0; /* Gris ligeramente más claro */
}

.tagline {
    font-size: 0.95rem;
    font-weight: 300;
    font-style: italic;
    color: #a0a0a0; /* Gris ligeramente más claro */
}

/* Botones 'Outline' Minimalistas */
.links {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 80px;
}

.btn-outline {
    background-color: transparent;
    /* Borde un poco más claro para contrastar con la imagen oscura */
    border: 1px solid rgba(255, 255, 255, 0.3); 
    color: #ffffff;
    text-align: center;
    padding: 18px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
    transition: all 0.4s ease;
}

/* Efecto Hover: Sutil toque del rojo */
.btn-outline:hover {
    border-color: #e0d3d4;
    background-color: rgba(227, 28, 44, 0.05); /* Un fondo rojo casi invisible */
    color: #ffffff;
    box-shadow: 0 0 15px rgba(227, 28, 44, 0.2);
}

/* Pie de página y Redes Sociales Sobrias */
footer {
    width: 100%;
    text-align: center;
    margin-top: auto;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 35px;
}

.social-icons a {
    color: #888888; /* Iconos un poco más claros */
    font-size: 1.3rem;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    color: #ffffff;
    transform: translateY(-2px);
}

.developer {
    font-size: 0.75rem;
    color: #777777;
    font-weight: 300;
    letter-spacing: 1px;
}

.developer span {
    font-weight: 400;
    color: #999999;
}

/* Ajustes para pantallas pequeñas */
@media (max-width: 380px) {
    .brand-name { font-size: 2rem; }
    .btn-outline { padding: 16px; font-size: 0.9rem; }
    .container { padding: 60px 20px; }
}