/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Configuración del body */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    background-image: 
        linear-gradient(rgba(200, 200, 200, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 200, 200, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Degradado radial aplicado con pseudo-elemento */
body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 70%);
    pointer-events: none;
    z-index: 1;
}

/* Contenedor principal */
.container {
    width: 100%;
    min-height: 100vh;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Título principal */
.main-title {
    font-family: 'Instrument Serif', Georgia, 'Times New Roman', Times, serif;
    font-size: 4rem;
    font-weight: 400;
    font-style: italic;
    color: #333;
    letter-spacing: -0.02em;
    margin: 0 0 15px 0;
    text-align: center;
    transform: translateY(20px);
}

/* Contenedor de enlaces */
.links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transform: translateY(20px);
}

/* Enlaces */
.link {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    font-size: 0.9rem;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.link:hover {
    color: #555;
}

/* Responsive - ajustar tamaño de cuadrícula y texto en pantallas más pequeñas */
@media (max-width: 768px) {
    body {
        background-size: 30px 30px;
    }
    
    .main-title {
        font-size: 3rem;
    }
    
    .links {
        gap: 6px;
    }
    
    .link {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    body {
        background-size: 25px 25px;
    }
    
    .main-title {
        font-size: 2.5rem;
    }
    
    .links {
        gap: 5px;
    }
    
    .link {
        font-size: 0.75rem;
    }
}
