/* ================================================================
   auth_patch.css — Swir World v3.0
   Adicione ao final do style.css (ou importe separado no index.html)
   Cobre: verify box, char-slots, avatar-card, btn-genero, voc-desc
================================================================ */

/* ── Animação genérica ─────────────────────────────────────────── */
@keyframes fadeIn {
    from { opacity:0; transform:translateY(-5px); }
    to   { opacity:1; transform:translateY(0); }
}

/* ── Verify box (confirmação de e-mail) ────────────────────────── */
.verify-box {
    text-align: center;
    padding: 4px 0;
}
.verify-icon  { font-size: 48px; margin-bottom: 10px; }
.verify-titulo{ color: #e0c97f; font-size: 18px; font-weight: 700; margin: 0 0 10px; }
.verify-texto { color: #aaa; font-size: 13px; line-height: 1.6; margin-bottom: 12px; }

/* ── Input genérico auth ───────────────────────────────────────── */
.auth-input {
    width: 100%;
    box-sizing: border-box;
    padding: 10px 13px;
    background: #141414;
    border: 1px solid #2a2a2a;
    border-radius: 7px;
    color: #e0e0e0;
    font-size: 14px;
    transition: border-color .2s;
    margin-bottom: 8px;
}
.auth-input:focus {
    outline: none;
    border-color: #e0c97f;
}

/* ── Botão link auth ───────────────────────────────────────────── */
.btn-auth-link {
    background: none;
    border: none;
    color: #e0c97f;
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    display: block;
    width: 100%;
    margin-top: 10px;
    padding: 4px;
    transition: opacity .2s;
}
.btn-auth-link:hover { opacity: .7; }

/* ── Char slots grid container ─────────────────────────────────── */
#char-slots-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

/* ── Char slot — box base ──────────────────────────────────────── */
.char-slot {
    background: linear-gradient(160deg, #1e1e1e 0%, #161616 100%);
    border: 2px solid #3a3a3a;
    border-radius: 12px;
    padding: 20px 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-height: 175px;
    justify-content: center;
    transition: border-color .2s, box-shadow .2s, transform .15s;
    cursor: pointer;
    position: relative;
    box-shadow: 0 2px 12px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.04);
}
.char-slot::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 11px;
    border: 1px solid rgba(255,255,255,.04);
    pointer-events: none;
}
.char-slot:hover {
    border-color: #e0c97f;
    box-shadow: 0 0 24px rgba(224,201,127,.2), 0 4px 16px rgba(0,0,0,.5);
    transform: translateY(-2px);
}

/* ── Slot vazio ────────────────────────────────────────────────── */
.char-slot-vazio {
    border: 2px solid #2e2e2e;
    background: linear-gradient(160deg, #181818 0%, #121212 100%);
    opacity: .8;
}
.char-slot-vazio:hover {
    opacity: 1;
    border-color: #e0c97fcc;
    box-shadow: 0 0 28px rgba(224,201,127,.18), 0 4px 16px rgba(0,0,0,.5);
    transform: translateY(-2px);
}

.char-slot-bloqueado {
    opacity: .15;
    pointer-events: none;
    cursor: default;
    border: 2px dashed #2a2a2a;
}

.char-slot-plus {
    font-size: 38px;
    color: #444;
    line-height: 1;
    margin-bottom: 4px;
    transition: color .2s;
}
.char-slot-vazio:hover .char-slot-plus { color: #e0c97f88; }

.char-slot-label {
    font-size: 11px;
    color: #e0c97f;
    letter-spacing: 2px;
    font-weight: 700;
    text-transform: uppercase;
}

/* ── Avatar dentro do slot ─────────────────────────────────────── */
.char-slot-avatar {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0f0f0f;
    border-radius: 8px;
    border: 1px solid #333;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.char-slot-avatar img {
    width: 66px;
    height: 66px;
    object-fit: contain;
    image-rendering: pixelated;
}

.char-slot-info  { text-align: center; }
.char-slot-nome  { font-size: 14px; font-weight: 700; color: #e0c97f; letter-spacing: .5px; }
.char-slot-detalhe { font-size: 11px; color: #888; margin-top: 3px; }

.char-slot-btns  { display: flex; gap: 6px; margin-top: 8px; }

.btn-char-jogar {
    background: linear-gradient(135deg, #e0c97f, #b8954a);
    color: #0d0d0d;
    border: none;
    border-radius: 6px;
    padding: 7px 16px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: opacity .15s, transform .1s;
    letter-spacing: .5px;
    box-shadow: 0 2px 8px rgba(224,201,127,.25);
}
.btn-char-jogar:hover { opacity: .88; transform: translateY(-1px); }

.btn-char-delete {
    background: transparent;
    border: 1px solid #3a3a3a;
    color: #555;
    border-radius: 6px;
    padding: 7px 10px;
    font-size: 11px;
    cursor: pointer;
    transition: border-color .15s, color .15s;
}
.btn-char-delete:hover { border-color: #e74c3c; color: #e74c3c; }

/* ── Botões de gênero ──────────────────────────────────────────── */
.btn-genero {
    background: #141414;
    border: 1px solid #2a2a2a;
    color: #aaa;
    border-radius: 7px;
    padding: 9px 0;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .15s, color .15s, background .15s;
    width: 100%;
}
.btn-genero:hover  { border-color: #e0c97f55; color: #ccc; }
.btn-genero.selected {
    border-color: #e0c97f;
    color: #e0c97f;
    background: rgba(224,201,127,.08);
}

/* ── Avatar cards ──────────────────────────────────────────────── */
.avatar-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 14px 8px 12px;
    background: #181818;
    border: 2px solid #333;
    border-radius: 10px;
    cursor: pointer;
    transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
    text-align: center;
    position: relative;
}
.avatar-card:hover {
    border-color: #e0c97f88;
    background: #1f1f1f;
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(224,201,127,.18);
}
.avatar-card.selected {
    border-color: #e0c97f;
    background: rgba(224,201,127,.07);
    box-shadow: 0 0 18px rgba(224,201,127,.28);
}
.avatar-card img {
    width: 74px;
    height: 90px;
    object-fit: contain;
    image-rendering: pixelated;
    display: block;
    margin: 0 auto;
}
.avatar-card span {
    font-size: 11px;
    color: #888;
    font-weight: 700;
    text-align: center;
    display: block;
    width: 100%;
    letter-spacing: .5px;
}
.avatar-card.selected span { color: #e0c97f; }

/* ── Descrição de vocação ──────────────────────────────────────── */
.voc-desc-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: 700;
    color: #e0c97f;
}
.voc-desc-texto {
    font-size: 11px;
    color: #bbb;
    line-height: 1.55;
    margin: 0 0 8px;
}
.voc-desc-stats  { display: flex; flex-direction: column; gap: 3px; }
.voc-stat-row    { display: flex; justify-content: space-between; font-size: 14px; }
.voc-stat-nome   { color: #777; }
.voc-stat-stars  { color: #e0c97f; letter-spacing: 1px; }

/* ── Avatar grid (3 colunas — uma por vocação) ─────────────────── */
#avatar-grid {
    grid-template-columns: repeat(3, 1fr) !important;
}
.avatar-grid-hint {
    grid-column: 1/-1;
    text-align: center;
    color: #444;
    font-size: 12px;
    padding: 20px;
}
