/* Splash Screen Overrides */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    transform: scale(1);
    transition: transform 0.3s ease-out;
}

.loader.scale-up .splash-content {
    transform: scale(1.1);
}

/* 5x5 Grid */
.glyph-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(5, 1fr);
    gap: 0;
    width: 120px;
    height: 120px;
}

.glyph-dot-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.glyph-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.15);
    /* Inactive state */
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), background-color 0.3s ease, box-shadow 0.3s ease;
}

.glyph-dot.active {
    background-color: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.6);
}

/* Splash Text */
.splash-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.splash-text {
    color: #ffffff;
    font-size: 28px;
    font-weight: 300;
    letter-spacing: 6px;
    opacity: 0;
    transition: opacity 0.3s ease-in;
}

.splash-text.visible {
    opacity: 1;
}

/* Red Indicator */
.splash-indicator {
    width: 8px;
    height: 8px;
    background-color: #d71921;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.splash-indicator.visible {
    opacity: 1;
}