/* ===== Game Complete Screen ===== */
#gameCompleteScreen {
    position: absolute;
    width: 100%;
    display: none;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background: radial-gradient(circle at center, #001a1a 0%, #000 80%);
    color: #66ffff;
    font-family: "Courier New", monospace;
    text-align: center;
    overflow: hidden;
    animation: fadeIn 1.5s ease forwards;
}

#gameCompleteScreen .gamecomplete-container {
    padding: 2rem;
    max-width: 500px;
    animation: pulseGlow 4s infinite alternate;
}

#gameCompleteScreen .gamecomplete-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
    text-shadow: 0 0 12px #00ffff;
    margin-bottom: 1rem;
}

#gameCompleteScreen .gamecomplete-subtitle {
    font-size: 1rem;
    color: #aaffff;
    margin-bottom: 2rem;
    line-height: 1.5;
}

#gameCompleteScreen .anomaly-status {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    justify-items: center;
    margin-bottom: 2rem;
}

#gameCompleteScreen .anomaly-slot {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    border: 1px solid #004;
    box-shadow: 0 0 6px #004;
}

#gameCompleteScreen .anomaly-slot.resolved {
    background: #00ffcc33;
    border-color: #0ff;
    box-shadow: 0 0 10px #0ff;
}

#gameCompleteScreen .gamecomplete-buttons button {
    background: transparent;
    border: 1px solid #00ffff;
    color: #00ffff;
    padding: 0.6rem 1.4rem;
    margin: 0 0.5rem;
    border-radius: 4px;
    font-family: inherit;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

#gameCompleteScreen .gamecomplete-buttons button:hover {
    background: #00ffff;
    color: #000;
    box-shadow: 0 0 10px #00ffff;
}

/* === Animations === */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px #00ffff; }
    50% { opacity: 0.8; text-shadow: 0 0 20px #00ffff; }
}