body {
    background-color: #1a1a1a;
    color: #00ff00;
    /* Classic terminal green */
    font-family: 'Press Start 2P', cursive;
    margin: 0;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    text-align: center;
    position: relative;
}

h1 {
    font-size: 3rem;
    text-transform: uppercase;
    text-shadow: 4px 4px 0px #000000;
    /* Blocky shadow */
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.7;
    }
}

/* Optional: Scanline effect */
body::before {
    content: " ";
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.25) 50%), linear-gradient(90deg, rgba(255, 0, 0, 0.06), rgba(0, 255, 0, 0.02), rgba(0, 0, 255, 0.06));
    z-index: 2;
    background-size: 100% 2px, 3px 100%;
    pointer-events: none;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.5rem;
        /* Smaller font for mobile */
        text-shadow: 2px 2px 0px #000000;
        /* Smaller shadow */
        padding: 0 15px;
        word-spacing: 100vw;
        line-height: 1;
    }
}

/* Auth Container (Top Right) */
.auth-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 101;
}

.auth-btn,
.username-btn {
    background: #000;
    border: 3px solid #00ff00;
    color: #00ff00;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    text-decoration: none;
    display: inline-block;
}

.auth-btn:hover,
.username-btn:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
}

/* Logout Modal */
.logout-modal {
    position: fixed;
    top: 70px;
    right: 20px;
    background: rgba(0, 20, 0, 0.95);
    border: 3px solid #00ff00;
    z-index: 100;
    padding: 10px;
}

.logout-modal.hidden {
    display: none;
}

.logout-btn {
    background: #000;
    border: 3px solid #00ff00;
    color: #00ff00;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    width: 100%;
}

.logout-btn:hover {
    background: #00ff00;
    color: #000;
}

/* Tools Button */
.tools-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #000;
    border: 3px solid #00ff00;
    color: #00ff00;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    z-index: 100;
}

.contacts-button {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #000;
    border: 3px solid #00ff00;
    color: #00ff00;
    font-family: 'Press Start 2P', monospace;
    font-size: 12px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    z-index: 100;
}

.contacts-button:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
}

.contacts-button:active {
    transform: scale(0.98);
}

.tools-button:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.8);
}

.tools-button:active {
    transform: scale(0.98);
}

/* Tools Menu */
.tools-menu {
    position: fixed;
    bottom: 90px;
    right: 30px;
    background: rgba(0, 20, 0, 0.95);
    border: 3px solid #00ff00;
    z-index: 99;
    min-width: 200px;
}

.contacts-menu {
    position: fixed;
    bottom: 90px;
    left: 30px;
    background: rgba(0, 20, 0, 0.95);
    border: 3px solid #00ff00;
    z-index: 99;
    min-width: 200px;
}

.contacts-menu.hidden {
    display: none;
}

.tools-menu.hidden {
    display: none;
}

.tools-item {
    display: block;
    color: #00ff00;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    padding: 15px;
    text-decoration: none;
    border-bottom: 1px solid #00ff00;
    transition: all 0.2s;
}

.tools-item:last-child {
    border-bottom: none;
}

.tools-item:hover {
    background: #00ff00;
    color: #000;
}

.upgrade-btn {
    background: #000;
    border: 3px solid #00ff00;
    color: #00ff00;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s;
    text-transform: uppercase;
    width: 100%;
    margin-bottom: 10px;
}

.upgrade-btn:hover {
    background: #00ff00;
    color: #000;
}
