/* tog theme + gippity + alanoo tweaks */
body {
    background-color: #0a0a1a;
    margin: 0;
    padding: 0;
    font-family: 'Press Start 2P', cursive;
    color: #e0e0e0;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.content {
    padding: 20px;
    text-align: center;
}

.pixel-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 20px;
}

.warning {
    color: #ff5555;
    animation: flicker 2s infinite alternate;
}

.secret-code {
    color: #55ff55;
    font-size: 16px;
    margin: 20px 0;
    word-break: break-all;
}

.pixel-border {
    border: 4px solid #333;
    position: relative;
    background-color: #111;
    box-shadow: 0 0 0 4px #222, 
                0 0 0 8px #111, 
                0 0 20px rgba(0, 0, 0, 0.5);
}

.pixel-border::before {
    content: "";
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 2px solid #444;
    pointer-events: none;
}

.pixel-border.secret {
    border-color: #5f0;
    box-shadow: 0 0 0 4px #3a3, 
                0 0 0 8px #111, 
                0 0 20px rgba(95, 255, 0, 0.3);
}

.pixel-border.forbidden {
    border-color: #f05;
    box-shadow: 0 0 0 4px #a33, 
                0 0 0 8px #111, 
                0 0 20px rgba(255, 0, 95, 0.3);
}
.pixel-art {
    margin: 20px auto;
    position: relative;
    height: 200px;
    align-items: center;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.pixel-input {
    margin: 20px 0;
}

.pixel-input-field {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    padding: 10px;
    border: 3px solid #555;
    background-color: #222;
    color: #fff;
    width: 300px;
    max-width: 80%;
    margin-bottom: 10px;
}

.pixel-button {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    padding: 10px 20px;
    background-color: #555;
    color: #fff;
    border: none;
    border-bottom: 4px solid #333;
    border-right: 4px solid #333;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin: 10px 0;
}

.pixel-button:hover {
    background-color: #666;
}

.pixel-button:active {
    border-bottom: 2px solid #333;
    border-right: 2px solid #333;
    transform: translate(2px, 2px);
}

@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        opacity: 1;
    }
    20%, 22%, 24%, 55% {
        opacity: 0.5;
    }
}

@media (max-width: 600px) {
    .pixel-text {
        font-size: 10px;
    }
    
    .pixel-input-field {
        width: 80%;
        font-size: 10px;
    }
    
    .pixel-button {
        font-size: 10px;
        padding: 8px 16px;
    }
    
    .pixel-art {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}