/* Layout base */
html,body {
    min-height: 100vh;
    margin: 0;
    background: #000;
    color: #e6eef0;
    font-family: monospace, monospace;
    display: flex;
    flex-direction: column;
}

a {
    color: #fff;
    text-decoration: none;
}

/* Container principal */
.wrap {
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px 12px;
}

/* Botões principais */
.link {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border: 1px solid #222;
    border-radius: 6px;
    background: transparent;
    font-size: 1.06em;
    line-height: 1.1;
    white-space: normal;
    text-decoration: none;
    transition: background 160ms ease, border-color 160ms ease, transform 120ms ease;
}

.link small {
    margin: 0;
    color: #9aa8bf;
    font-size: 0.88em;
    display: block;
}

.link:hover, .link:focus {
    text-decoration: none;
    background: rgba(136, 160, 255, 0.04);
    border-color: #2e3a4a;
    color: #cfe9ff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    outline: none;
}

.link:active {
    transform: translateY(0);
    background: rgba(136, 160, 255, 0.06);
}

code {
    color: #9fd7b5;
}

/* Lista de links */
.links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 1.05em;
    text-align: center;
    align-items: center;
}

.links a {
    color: #8aa7ff;
    text-decoration: none;
    transition: color 0.2s;
}

.links a:hover, .links a:focus {
    color: #88e0b0;
    text-decoration: none;
}

.texto-pequeno {
    display: flex;
    font-size: 0.9em;
    color: #ccc;
    margin-top: 20px;
}

.footer {
    width: 100%;
    text-align: center;
}

.container {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}

/* Responsivo mobile */
@media (max-width: 600px) {
    html, body {
        padding: 12px;
    }

    .wrap {
        margin-top: 8px;
        padding-bottom: 64px;
    }

    .links {
        gap: 8px;
        font-size: 1em;
    }

    .link {
        padding: 10px 14px;
        font-size: 1.02em;
        white-space: normal;
        width: auto;
        flex-direction: column;
        align-items: center;
        gap: 6px;
    }

    .link small {
        display: block;
        margin-left: 0;
    }

    .footer {
        position: relative;
        padding: 10px 0 18px;
    }
}