/* 1987 Cold War Bunker / Phosphor Decay Aesthetic */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #111111;
    color: #33FF33;
    font-family: 'Courier New', monospace;
    overflow: hidden;
    height: 100vh;
    width: 100vw;
    position: relative;
}

#game-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* Initiate Descent Screen */
#initiate-descent {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 100%;
}

#appeal-button {
    background-color: #111111;
    color: #33FF33;
    border: 2px solid #33FF33;
    padding: 20px 40px;
    font-size: 24px;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
}

#appeal-button:hover {
    background-color: #33FF33;
    color: #111111;
    box-shadow: 0 0 20px #33FF33;
}

/* Freeze Screen */
#freeze-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#orbit-text {
    font-size: 48px;
    text-align: center;
    margin-bottom: 50px;
    letter-spacing: 5px;
    animation: phosphor-static 0.5s infinite;
}

#timer {
    font-size: 60px;
    margin-bottom: 50px;
}

#ink-bleed {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        #33FF33,
        #33FF33 1px,
        #111111 1px,
        #111111 2px
    );
    opacity: 0.7;
    animation: ink-bleed 45s linear;
}

/* Wait Screen */
#wait-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 20;
}

#black-screen {
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        #00FF00,
        #00FF00 1px,
        #111111 1px,
        #111111 2px
    );
    opacity: 0.7;
    animation: ink-bleed 45s linear;
}

/* Flicker Screen */
#flicker-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 30;
    display: flex;
    justify-content: center;
    align-items: center;
}

#ghost-stamp {
    font-size: 36px;
    color: #33FF33;
    text-align: center;
    animation: ghost-stamp-flicker 0.033s;
}

/* Crash Screen */
#crash-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    z-index: 40;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #FF0000;
    font-size: 36px;
}

#error-message {
    margin-bottom: 50px;
}

#wax-cursor {
    width: 100%;
    height: 100%;
    background: url('wax-cursor.png') no-repeat;
    background-size: contain;
    pointer-events: none;
    z-index: 50;
}

/* Animations */
@keyframes phosphor-static {
    0% { opacity: 0.8; }
    50% { opacity: 1; }
    100% { opacity: 0.8; }
}

@keyframes ink-bleed {
    0% { opacity: 0.7; }
    100% { opacity: 0.1; }
}

@keyframes ghost-stamp-flicker {
    0% { opacity: 0; }
    49% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Hidden class */
.hidden {
    display: none !important;
}

