header, footer { 
    display: none !important; 
}

.portal-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    z-index: 9999;
    background: #000;
    overflow: hidden;
}

.portal-item {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.portal-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    filter: brightness(0.25);
    z-index: 1;
}

.portal-item .analog-frame {
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.portal-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #ffffff;
}

.portal-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-style: italic;
    font-weight: 400;
    margin: 0;
}

.portal-link-text {
    font-family: 'Lora', serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 5px;
    opacity: 0.6;
}

.portal-nav-overlay {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    padding: 2.5rem;
}

.nav-branding {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem; 
}

.portal-nav-overlay a, 
.logo-subtext {
    font-family: 'Lora', serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    text-decoration: none;
    opacity: 0.5;
    margin: 0;
    padding: 0;
    display: block;
    line-height: 1;
}

.portal-nav-overlay a {
    transition: opacity 0.3s ease;
}

.portal-nav-overlay a:hover {
    opacity: 1;
}

.logo-subtext {
    cursor: default;
}

.portal-footer-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    z-index: 10;
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 2rem;
}

.portal-footer-overlay a {
    color: #fff;
    text-decoration: none;
    font-family: 'Lora', serif;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.5;
}

.analog-frame {
    border: 10px solid rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
    .portal-fullscreen { flex-direction: column; }
    .portal-item { height: 50%; width: 100%; }
}