/* ============================================================
   BAIAK BOCAINA - LANDING PAGE
   Arte base: 1350 x 686
   ============================================================ */

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    width: 100%;
    min-height: 100%;
}

html {
    background: #061222;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    background: #061222;
    font-family: Arial, Helvetica, sans-serif;
}

/* ============================================================
   ARTE PRINCIPAL
   Mantém exatamente a proporção 1350 x 686 e centraliza a
   landing em qualquer resolução.
   ============================================================ */

#landing {
    position: relative;
    width: min(1350px, 100vw);
    aspect-ratio: 1350 / 686;
    margin: 0 auto;

    background-image: url("images/background_artwork.png?v=4");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: 100% 100%;

    overflow: hidden;
}

/* ============================================================
   PAINEL CENTRAL

   A arte possui uma área escura central entre aproximadamente:
   X: 584 a 767
   Y: 154 a 385

   Os valores abaixo acompanham proporcionalmente a imagem.
   ============================================================ */

.server-panel {
    position: absolute;
    left: 43.15%;
    top: 23.9%;
    width: 13.75%;
    height: 31.8%;

    color: #ffd056;
    text-align: left;
    font-size: clamp(9px, 1.02vw, 14px);
    font-weight: 700;
    line-height: 1.25;

    text-shadow:
        -1px -1px 1px #000,
         1px -1px 1px #000,
        -1px  1px 1px #000,
         1px  1px 1px #000,
         0     2px 2px rgba(0, 0, 0, .9);
}

.info-line {
    display: flex;
    align-items: baseline;
    gap: .35em;
    min-width: 0;
    margin: 0 0 8.5% 0;
    white-space: nowrap;
}

.info-label {
    flex: 0 0 auto;
    color: #ffbf29;
}

.info-value {
    min-width: 0;
    color: #ffe78c;
}

.address-line {
    font-size: 88%;
    letter-spacing: -0.02em;
}

.status-line {
    margin-bottom: 5%;
}

.server-status {
    font-weight: 800;
}

.server-status.online {
    color: #42ff42;
}

.server-status.offline {
    color: #ff4d4d;
}

.players-line {
    margin-top: -1%;
    color: #f7e9bd;
    text-align: center;
    font-size: 78%;
    font-weight: 700;
    opacity: .95;
}

/* ============================================================
   TEXTO DE REGRAS
   ============================================================ */

.agreement {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;

    color: #f5a623;
    font-size: clamp(6px, .62vw, 8.5px);
    font-weight: 700;
    line-height: 1.18;
    text-align: left;

    text-shadow: 1px 1px 1px #000;
}

.agreement a {
    color: #ffd45c;
    text-decoration: underline;
}

.agreement a:hover,
.agreement a:focus-visible {
    color: #fff3b0;
}

/* ============================================================
   BOTÃO INFERIOR

   A imagem original possui 205 x 78 e encaixa no quadro
   ornamental inferior da arte.
   ============================================================ */

.enter-area {
    position: absolute;
    left: 50%;
    top: 56.15%;
    width: 15.19%;
    aspect-ratio: 205 / 78;
    transform: translateX(-50%);
}

.enter-link,
.enter-link img {
    display: block;
    width: 100%;
    height: 100%;
}

.enter-link img {
    object-fit: contain;
    border: 0;
    transition: transform .14s ease, filter .14s ease;
}

.enter-link:hover img,
.enter-link:focus-visible img {
    transform: scale(1.035);
    filter: brightness(1.10);
}

.enter-link:focus-visible {
    outline: none;
}

/* ============================================================
   TELAS PEQUENAS
   A arte inteira reduz junto; apenas damos pequenos ajustes de
   legibilidade para celulares muito estreitos.
   ============================================================ */

@media (max-width: 700px) {
    .server-panel {
        font-size: clamp(7px, 2.05vw, 11px);
    }

    .agreement {
        font-size: clamp(4.7px, 1.23vw, 7px);
    }
}
