/* ==========================================================================
   VARIÁVEIS E RESET GLOBAL
   ========================================================================== */
:root {
    --cor-primaria: #e0a96d;
    --cor-primaria-hover: #c89358;
    --cor-fundo: #121212;
    --cor-fundo-card: #1e1e1e;
    --cor-texto-principal: #ffffff;
    --cor-texto-secundario: #a0a0a0;
    --cor-borda: #2a2a2a;
    --cor-erro: #e53e3e;
    --cor-sucesso: #0e9f6e;
    --fonte-titulo: 'Playfair Display', Georgia, serif;
    --fonte-corpo: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -ms-overflow-style: none;  /* IE e Edge */
    scrollbar-width: none;  /* Firefox */
}

/* Oculta a barra de rolagem no Chrome, Safari e Opera */
*::-webkit-scrollbar {
    display: none;
}

body, html {
    height: 100%;
    width: 100%;
    font-family: var(--fonte-corpo);
    background-color: var(--cor-fundo);
    color: var(--cor-texto-principal);
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    outline: none;
}

/* ==========================================================================
   SISTEMA DE BLOQUEIO (EFEITO DESFOQUE E CADEADO)
   ========================================================================== */
.locked-wrapper {
    position: relative;
    width: 100%;
    min-height: 300px;
}

/* Aplica o desfoque no conteúdo não autorizado */
.content-blur {
    filter: blur(14px);
    pointer-events: none;
    user-select: none;
    transition: filter 0.4s ease;
}

/* Overlay do Cadeado Central */
.lock-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    z-index: 10;
}

.lock-card {
    background-color: var(--cor-fundo-card);
    border: 1px solid var(--cor-borda);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
}

.lock-icon {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.lock-card h3 {
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--cor-texto-principal);
}

.lock-card p {
    font-size: 14px;
    color: var(--cor-texto-secundario);
    margin-bottom: 20px;
}

.lock-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid var(--cor-borda);
    background-color: #2b2b2b;
    color: #fff;
    font-size: 14px;
    margin-bottom: 12px;
}

.lock-input:focus {
    outline: none;
    border-color: var(--cor-primaria);
}

.btn-follow {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    background-color: var(--cor-primaria);
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    transition: background 0.2s ease, opacity 0.2s ease;
}

.btn-follow:disabled {
    background-color: #444;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-follow:not(:disabled):hover {
    background-color: var(--cor-primaria-hover);
}

/* ==========================================================================
   MODAIS E COMPONENTES GENÉRICOS
   ========================================================================== */
.toast-msg {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 14px 20px;
    border-radius: 8px;
    font-size: 14px;
    z-index: 10000;
    display: none;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

.toast-msg.erro {
    background-color: var(--cor-erro);
    color: #fff;
}

.toast-msg.sucesso {
    background-color: var(--cor-sucesso);
    color: #fff;
}