/* Estilos generales */
body {
    font-family: 'Inter', sans-serif;
    margin: 1;
    padding: 0;
    color: #333;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
    position: relative;
    transition: background 0.3s ease-in-out;
}

/* Fondo con líneas topográficas en modo oscuro */
body.dark-mode {
    background-color: #181818;
}

body.dark-mode::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/asfalt-light.png');
    opacity: 0.4;
    z-index: -1;
}

/* Contenedor */
.container {
    width: 90%;
    max-width: 500px;
    padding: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    text-align: center;
    backdrop-filter: blur(10px);
    transition: background 0.3s, box-shadow 0.3s;
}

/* Estilos en modo oscuro */
.dark-mode .container {
    background: rgba(30, 30, 30, 0.9);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    color: white;
}

/* Botón de modo oscuro */
.dark-mode-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.8);
    border: none;
    cursor: pointer;
    font-size: 1.5rem;
    padding: 10px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, background 0.3s;
}

.dark-mode-btn:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 1);
}

.dark-mode .dark-mode-btn {
    background: rgba(50, 50, 50, 0.8);
    color: white;
}

.dark-mode .dark-mode-btn:hover {
    background: rgba(80, 80, 80, 1);
}

/* Iconos sociales */
.social-links {
    margin-top: 20px;
}

.social-links a {
    font-size: 24px;
    margin: 0 10px;
    color: #333;
    transition: color 0.3s ease-in-out;
}

.social-links a:hover {
    color: #0077b5;
}

.dark-mode .social-links a {
    color: white;
}

.dark-mode .social-links a:hover {
    color: #1da1f2;
}

/* Modo Claro - Imagen de fondo */
body.light-mode {
    background: url('img2.jpeg') no-repeat center center fixed;
    background-size: cover;
}
