body {
    background-color: #0a0a0f; /* Very dark blue/black */
    color: #00ff99; /* Bright neon green/cyan */
    font-family: 'Orbitron', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    overflow-x: hidden;
}

.container {
    padding: 20px;
    max-width: 800px;
    width: 90%;
}

#logo {
    max-width: 250px;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px #00ff99);
}

h1 {
    font-size: 3.5em;
    margin-top: 0;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 0 5px #00ff99, 0 0 10px #00ff99, 0 0 15px #00b36b;
}

h1 .zero {
    color: #00ff99; /* Highlight the '0' */
    animation: pulseZero 2s infinite;
}

@keyframes pulseZero {
    0%, 100% { text-shadow: 0 0 5px #00ff99, 0 0 10px #00ff99, 0 0 15px #00b36b; }
    50% { text-shadow: 0 0 10px #00ff99, 0 0 20px #00ff99, 0 0 30px #00e673; }
}

.subtitle {
    font-size: 1.2em;
    margin-bottom: 30px;
    color: #99ffcc;
    font-family: 'Roboto Mono', monospace;
}

#generateButton {
    background-color: #00ff99;
    color: #0a0a0f;
    border: none;
    padding: 15px 30px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1em;
    text-transform: uppercase;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, box-shadow 0.3s, transform 0.1s;
    box-shadow: 0 0 10px #00ff99, 0 0 5px #00ff99 inset;
    margin-bottom: 30px;
}

#generateButton:hover {
    background-color: #33ffbb;
    box-shadow: 0 0 15px #33ffbb, 0 0 8px #33ffbb inset;
}

#generateButton:active {
    transform: scale(0.98);
    box-shadow: 0 0 5px #00ff99, 0 0 3px #00ff99 inset;
}

#generateButton:disabled {
    background-color: #555;
    color: #888;
    cursor: not-allowed;
    box-shadow: none;
}


#codeOutputWrapper {
    background-color: rgba(0, 20, 10, 0.8); /* Darker, slightly transparent green */
    border: 1px solid #00ff99;
    border-radius: 5px;
    padding: 15px;
    height: 300px; /* Fixed height */
    overflow-y: auto; /* Scroll for overflow */
    box-shadow: 0 0 10px #00ff99 inset, 0 0 5px #000;
    margin-bottom: 20px;
}

#codeDisplay {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9em;
    color: #00ff99;
    white-space: pre-wrap; /* Wrap lines but preserve whitespace */
    word-wrap: break-word; /* Break long words */
    text-align: left;
    display: block; /* Ensure it takes full width of pre */
    line-height: 1.5;
}

/* Custom scrollbar for a more thematic feel */
#codeOutputWrapper::-webkit-scrollbar {
    width: 10px;
}

#codeOutputWrapper::-webkit-scrollbar-track {
    background: #0a0a0f;
    border-left: 1px solid #00ff99;
}

#codeOutputWrapper::-webkit-scrollbar-thumb {
    background: #00ff99;
    border-radius: 5px;
}

#codeOutputWrapper::-webkit-scrollbar-thumb:hover {
    background: #33ffbb;
}


.footer-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 0.9em;
    color: #66ffaa;
    margin-top: 20px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    h1 {
        font-size: 2.5em;
    }
    .subtitle {
        font-size: 1em;
    }
    #generateButton {
        padding: 12px 25px;
        font-size: 1em;
    }
    #codeOutputWrapper {
        height: 250px;
    }
    #codeDisplay {
        font-size: 0.8em;
    }
}

