/* maintenance.css - ZOWB CRYPTO Maintenance Page */
:root {
    --primary-green: #4CAF50;
    --green-glow: #00ff66;
    --green-btn-bg: #00bf4e;
    --dark-green: #2E7D32;
    --blood-red: #ff2a2a;
    --neon-yellow: #ffcc00;
    --pixel-bg: #070709;
    --border-outer: #2e2c3d;
    --text-muted: #78788c;
}

/* Font loading */
@font-face {
    font-family: 'Press Start 2P';
    src: url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');
}

/* ===================== BODY / LAYOUT ===================== */
body {
    background-color: var(--pixel-bg);
    color: #ffffff;
    font-family: 'Press Start 2P', monospace;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding: 12px 10px;
    margin: 0;
    image-rendering: pixelated;
    image-rendering: crisp-edges;
    box-sizing: border-box;
}

/* ===================== BG IMAGE ===================== */
.page-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.25) contrast(1.1);
    z-index: -2;
}

/* ===================== SCANLINE CRT ===================== */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; bottom: 0; right: 0;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.4) 50%);
    background-size: 100% 4px;
    z-index: 100;
    pointer-events: none;
    opacity: 0.6;
}

/* ===================== LOBBY WRAPPER ===================== */
.lobby-wrapper {
    width: 100%;
    max-width: 760px;
    background: rgba(7, 7, 10, 0.78);
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.08);
    outline: 2px solid #000;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.9), inset 0 0 15px rgba(0, 0, 0, 0.8);
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    box-sizing: border-box;
}

/* ===================== MAIN AREA ===================== */
.lobby-main {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===================== TITLE BLOCK ===================== */
.title-block {
    text-align: center;
    margin-bottom: 16px;
}

/* Linha 1 — mode-tag (verde pulsante) */
.mode-tag {
    font-size: 13px;
    color: var(--green-glow);
    text-shadow: 2px 2px 0px #003311;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 8px;
    animation: pulseGreen 2.5s infinite alternate;
}

@keyframes pulseGreen {
    0%   { text-shadow: 2px 2px 0px #003311, 0 0 4px rgba(0,255,102,0.3); }
    100% { text-shadow: 2px 2px 0px #003311, 0 0 10px rgba(0,255,102,0.8); }
}

/* Linha 2 — main-title (vermelho piscante) */
.main-title {
    font-size: 36px;
    color: var(--blood-red);
    letter-spacing: 3px;
    margin-bottom: 8px;
    line-height: 1.1;
    animation: titleBlink 2s infinite ease-in-out;
}

@keyframes titleBlink {
    0%, 100% {
        color: var(--blood-red);
        text-shadow: 3px 3px 0px #4a0000, 0 0 12px rgba(255,42,42,0.8), 0 0 20px rgba(255,42,42,0.4);
        opacity: 1;
    }
    48% {
        color: var(--blood-red);
        text-shadow: 3px 3px 0px #4a0000, 0 0 12px rgba(255,42,42,0.8);
        opacity: 1;
    }
    50% {
        color: #550000;
        text-shadow: 3px 3px 0px #220000;
        opacity: 0.35;
    }
    52% {
        color: var(--blood-red);
        text-shadow: 3px 3px 0px #4a0000, 0 0 15px rgba(255,42,42,0.9);
        opacity: 1;
    }
    54% {
        color: #770000;
        text-shadow: 3px 3px 0px #220000;
        opacity: 0.5;
    }
    56% {
        color: var(--blood-red);
        text-shadow: 3px 3px 0px #4a0000, 0 0 12px rgba(255,42,42,0.8);
        opacity: 1;
    }
}

/* Descrição (fonte VT323 maior, mais legível) */
.lobby-description {
    font-family: 'VT323', monospace;
    font-size: 17px;
    color: #b0b0cc;
    max-width: 620px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-shadow: 1px 1px 0px #000;
}

/* ===================== STATUS PANEL ===================== */
.status-panel {
    width: 100%;
    max-width: 480px;
    background: rgba(13, 12, 21, 0.85);
    border: 3px solid var(--border-outer);
    outline: 2px solid #000;
    padding: 14px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 0;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
}

.status-text {
    font-size: 10px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
}

/* Quadradinho indicador de status */
.status-square {
    width: 10px;
    height: 10px;
    background-color: var(--blood-red);
    box-shadow: 0 0 6px var(--blood-red);
    display: inline-block;
    flex-shrink: 0;
    animation: squarePulse 1.5s infinite alternate;
}

.status-square.connected {
    background-color: var(--green-glow);
    box-shadow: 0 0 6px var(--green-glow);
}

@keyframes squarePulse {
    0%   { opacity: 0.4; }
    100% { opacity: 1; box-shadow: 0 0 10px var(--blood-red); }
}

.status-disconnected { color: var(--blood-red); }
.status-connected-txt { color: var(--green-glow); }

/* ===================== BOTÃO CONNECT WALLET ===================== */
.btn-connect-wrapper {
    width: 100%;
    max-width: 320px;
}

.btn-connect {
    width: 100%;
    background: var(--green-btn-bg);
    color: #000000;
    font-weight: bold;
    border: 2px solid #000;
    padding: 10px;
    font-family: 'Press Start 2P', monospace;
    font-size: 10px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: inset -2px -2px 0px #00732f, inset 2px 2px 0px #66ffa3;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-connect:hover {
    background: var(--green-glow);
    box-shadow: inset -2px -2px 0px #00993d, inset 2px 2px 0px #b3ffd6, 0 0 10px rgba(0,255,102,0.5);
}

.btn-connect:active { transform: translateY(1px); }
.btn-connect:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}

/* ===================== FOOTER ===================== */
.lobby-footer {
    font-size: 8.5px;
    color: var(--text-muted);
    text-align: center;
    padding: 10px 0 5px 0;
    z-index: 10;
    letter-spacing: 1px;
    width: 100%;
    max-width: 760px;
    flex-shrink: 0;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 600px) {
    .lobby-wrapper { padding: 15px 10px; }
    .main-title { font-size: 26px; }
    .lobby-description { font-size: 16px; }
    .btn-connect { font-size: 9px; }
    .mode-tag { font-size: 11px; }
}