/* Main stylesheet for 45-Second Bureaucratic Siege */

body {
    background-color: #000000;
    color: #00FF00;
    font-family: 'Courier New', monospace;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#game-container {
    width: 100vw;
    height: 100vh;
    position: relative;
    background-color: #000000;
    overflow: hidden;
}

#header {
    text-align: center;
    padding: 20px;
    border-bottom: 1px solid #00FF00;
    margin-bottom: 30px;
}

h1 {
    font-size: 2.5em;
    text-shadow: 0 0 10px #00FF00;
    margin: 0;
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.2em;
    margin-top: 10px;
    opacity: 0.8;
}

#main-ui {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
}

#tax-form {
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid #00FF00;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.5);
}

h2 {
    margin-top: 0;
    text-shadow: 0 0 5px #00FF00;
}

.form-section {
    margin: 15px 0;
}

label {
    display: inline-block;
    width: 100px;
    text-align: right;
    margin-right: 10px;
}

input {
    background-color: #000000;
    color: #00FF00;
    border: 1px solid #00FF00;
    padding: 5px;
    font-family: 'Courier New', monospace;
}

#submit-section {
    margin-top: 20px;
}

#submit-btn {
    background-color: #000000;
    color: #00FF00;
    border: 2px solid #00FF00;
    padding: 10px 20px;
    font-size: 1.2em;
    font-family: 'Courier New', monospace;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

#submit-btn:hover {
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
}

#progress-container {
    width: 80%;
    height: 20px;
    background-color: #000000;
    border: 1px solid #00FF00;
    margin: 20px auto;
    overflow: hidden;
}

#progress-bar {
    width: 0%;
    height: 100%;
    background-color: #00FF00;
    transition: width 0.1s;
}

.hidden {
    display: none !important;
}

#denied-pixel {
    margin: 30px 0;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.8);
    border: 1px solid #00FF00;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

#denied-clicker {
    width: 10px;
    height: 10px;
    background-color: #00FF00;
    margin: 20px auto;
    cursor: pointer;
    box-shadow: 0 0 5px #00FF00;
    transition: all 0.1s;
}

#denied-clicker:hover {
    transform: scale(1.2);
    box-shadow: 0 0 10px #00FF00;
}

#crash-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1000;
}

#crash-text {
    font-size: 3em;
    text-shadow: 0 0 20px #00FF00;
    margin-bottom: 50px;
}

#crash-animation {
    width: 80%;
    height: 200px;
    background-color: #00FF00;
    opacity: 0.1;
    animation: glitch 0.5s infinite;
}

@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Glitch effect for text */
.glitch {
    position: relative;
    animation: glitch-anim 2s infinite;
}

@keyframes glitch-anim {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

/* Phosphor bleed effect */
.bleed {
    animation: bleed 0.5s infinite;
}

@keyframes bleed {
    0% { opacity: 1; }
    50% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* System hemorrhage effect */
.hemorrhage {
    animation: hemorrhage 0.3s infinite;
}

@keyframes hemorrhage {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}
