.easter-egg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.easter-egg-overlay.visible {
    display: flex;
    opacity: 1;
}

.terminal {
    background-color: #1a1a1a;
    border: 1px solid #444;
    border-radius: 5px;
    width: 90%;
    max-width: 640px;
    height: 80%;
    max-height: 400px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    font-family: var(--font-mono);
    transform: scale(0.9);
    transition: transform 0.3s ease-in-out;
}

.easter-egg-overlay.visible .terminal {
    transform: scale(1);
}

.terminal-header {
    background-color: #333;
    padding: 8px 12px;
    border-bottom: 1px solid #444;
    color: #ccc;
    font-size: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 5px 5px 0 0;
}

.close-button {
    background: none;
    border: none;
    color: #ccc;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
}

.terminal-body {
    padding: 15px;
    color: #00ff41; /* Classic green terminal text */
    font-size: 1.4rem;
    line-height: 1.6;
    overflow-y: auto;
    white-space: pre-wrap;
}

.cursor {
    display: inline-block;
    background-color: #00ff41;
    width: 8px;
    height: 1.5rem;
    animation: blink 1s step-end infinite;
    vertical-align: bottom;
}

@keyframes blink {
    50% { opacity: 0; }
}