* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Poppins', sans-serif;
    background-color: #000;
    overflow: hidden; /* Evita el scroll en el portal */
}

.portal-container {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 10s linear;
}

/* Efecto de zoom suave para que se vea premium */
.portal-container:hover .background-image {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Oscurece la foto para que se lea el texto */
}

.content {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 400px;
}

.logo {
    width: 180px;
    margin-top: -40px;
    margin-bottom: 40px;
    filter: drop-shadow(0px 4px 10px rgba(0,0,0,0.5));
}

.portal-menu {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.portal-btn {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 2px;
    font-weight: 400;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.portal-btn:hover {
    background: #fff;
    color: #000;
    border-color: #fff;
}

.portal-btn span {
    font-family: 'Libre Baskerville', serif;
}

.social-links {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    opacity: 0.7;
    transition: opacity 0.3s;
}

.social-links a:hover {
    opacity: 1;
}

/* Adaptación para pantallas pequeñas */
@media (max-width: 480px) {
    .logo { width: 140px; }
    .portal-btn { padding: 15px 20px; font-size: 0.8rem; }
}

img {
    min-width: 300px;
}