/* Shared Transition Overlay Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@800&display=swap');
@import url('https://cdn.jsdelivr.net/npm/remixicon@3.5.0/fonts/remixicon.css');

#transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    /* Default to visible for entrance */
    pointer-events: all;
    transition: opacity 0.8s ease;
}

#transition-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

#transition-overlay.hidden {
    display: none;
}

.trans-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    transform: scale(1);
    transition: transform 0.8s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.5s;
}

/* Specific state for the "Logo" container logic from index */
.trans-logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.trans-icon {
    font-size: 80px;
    /* Exact size standard */
    line-height: 1;
    color: white;
    filter: drop-shadow(0 0 30px currentColor);
}

.trans-icon i {
    display: block;
}

.trans-name {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: white;
    font-family: 'Outfit', sans-serif;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

/* For Index Page Exit Animation Specifics */
.trans-title-main {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) translateY(-50px);
    width: 100%;
    font-size: 4rem;
    font-weight: 900;
    line-height: 0.9;
    color: white;
    font-family: 'Outfit', sans-serif;
    opacity: 0;
    transition: all 0.5s ease;
}

.trans-title-main.show {
    opacity: 1;
    transform: translate(-50%, -50%) translateY(0);
}

.trans-title-main.hide {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.9);
    filter: blur(10px);
}

.trans-logo-container.blur-in {
    opacity: 0;
    transform: scale(0.8);
    filter: blur(20px);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.trans-logo-container.show {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
}