/* ============================================================
   AUTH OVERLAY (cadastro/login) + MODAL DO ÁLBUM + SELO DE BLOQUEIO
   ============================================================ */

/* ---- Overlay de autenticação ---- */
.auth-overlay{
  position:fixed; inset:0; z-index:1200;
  display:none; align-items:center; justify-content:center;
  padding:18px;
  background:rgba(4,8,18,.82);
  backdrop-filter:blur(7px); -webkit-backdrop-filter:blur(7px);
}
.auth-overlay.show{ display:flex; animation:authFade .35s ease; }
@keyframes authFade{ from{opacity:0} to{opacity:1} }

.auth-card{
  width:100%; max-width:380px;
  background:linear-gradient(180deg,rgba(20,29,58,.97),rgba(8,12,28,.99));
  border:1px solid rgba(245,192,67,.38);
  border-radius:22px; padding:26px 24px 22px;
  box-shadow:0 24px 70px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.03) inset;
  color:#fff; text-align:center;
  animation:authPop .4s cubic-bezier(.2,.9,.3,1.2);
}
@keyframes authPop{ from{opacity:0; transform:translateY(14px) scale(.96)} to{opacity:1; transform:none} }
.auth-card[hidden]{ display:none; }

.auth-cup{ font-size:38px; line-height:1; filter:drop-shadow(0 4px 10px rgba(245,192,67,.45)); }
/* logo no topo da tela de login (no lugar do troféu + texto) */
.auth-logo{ display:block; height:58px; width:auto; max-width:80%; margin:2px auto 6px; object-fit:contain;
  filter:drop-shadow(0 3px 8px rgba(0,0,0,.5)) drop-shadow(0 0 10px rgba(245,192,67,.3)); }
/* botão "Deseja divulgar?" (Instagram) dentro do Indique e Ganhe */
.afil-divulgar{ display:flex; align-items:center; justify-content:center; gap:8px;
  margin-top:8px; color:#fff !important; text-decoration:none;
  background:linear-gradient(95deg,#f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%) !important;
  box-shadow:0 6px 16px rgba(220,39,67,.35), inset 0 1px 0 rgba(255,255,255,.25) !important; }
.afil-divulgar .ig-ico{ font-size:18px; line-height:1; }
.afil-divulgar:hover{ filter:brightness(1.07); }
.afil-divulgar:active{ transform:translateY(1px); }
/* logo no topo da carteira (no lugar do antigo emoji 👛) */
.wallet-logo{ display:block; height:52px; width:auto; max-width:78%; margin:2px auto 4px; object-fit:contain;
  filter:drop-shadow(0 3px 8px rgba(0,0,0,.5)) drop-shadow(0 0 10px rgba(245,192,67,.3)); }
/* botão depositar dentro da carteira */
.wallet-dep-btn{ display:flex; align-items:center; justify-content:center; gap:6px; width:100%;
  margin:10px 0 4px; padding:12px 0; border:0; border-radius:14px; cursor:pointer;
  font-family:'Oswald',sans-serif; font-weight:700; font-size:16px; letter-spacing:.05em; color:#06210f;
  background:linear-gradient(180deg,#7bf0a8,#22c55e 60%,#15a347);
  box-shadow:0 6px 16px rgba(34,197,94,.4), inset 0 1px 0 rgba(255,255,255,.4); }
.wallet-dep-btn .dep-plus{ font-size:20px; line-height:1; margin-top:-2px; }
.wallet-dep-btn:hover{ filter:brightness(1.06); }
.wallet-dep-btn:active{ transform:translateY(1px); }
.auth-title{
  font-family:'Oswald',sans-serif; font-weight:700; letter-spacing:.06em;
  font-size:20px; margin:8px 0 4px; color:#ffe79a;
  text-shadow:0 2px 10px rgba(245,192,67,.25);
}
.auth-sub{ font-size:13px; color:#9fb0d8; margin-bottom:16px; line-height:1.4; }

.auth-label{
  display:block; text-align:left; font-family:'Oswald',sans-serif;
  font-size:11px; letter-spacing:.1em; color:#8ea0c8; margin:12px 2px 5px;
}
.auth-input{
  width:100%; font-size:16px; color:#fff;
  background:rgba(8,13,30,.9); border:1px solid rgba(255,255,255,.12);
  border-radius:12px; padding:13px 14px; outline:none;
  transition:border-color .2s, box-shadow .2s;
}
.auth-input::placeholder{ color:#5d6b8e; }
.auth-input:focus{ border-color:#f5c043; box-shadow:0 0 0 3px rgba(245,192,67,.16); }

.auth-btn{
  width:100%; margin-top:18px; cursor:pointer; border:none;
  font-family:'Oswald',sans-serif; font-weight:700; letter-spacing:.08em; font-size:16px;
  color:#3a2a07; border-radius:14px; padding:14px;
  background:linear-gradient(180deg,#ffe79a,#f5c043 55%,#e0a82e);
  box-shadow:0 8px 20px rgba(245,192,67,.32);
  transition:filter .15s, transform .05s;
}
.auth-btn:hover{ filter:brightness(1.05); }
.auth-btn:active{ transform:translateY(1px); }
.auth-btn:disabled{ opacity:.6; cursor:default; }

.auth-switch{ margin-top:15px; font-size:13px; color:#9fb0d8; }
.auth-switch a{ color:#ffe79a; font-weight:700; text-decoration:none; }
.auth-switch a:hover{ text-decoration:underline; }

.auth-err{
  display:none; background:rgba(239,68,68,.14); border:1px solid rgba(239,68,68,.4);
  color:#ffb4b4; font-size:13px; border-radius:10px; padding:9px 12px; margin-bottom:4px;
}
.auth-err.show{ display:block; }

/* ---- Selo de bloqueio (modalidade indisponível) ---- */
.lock-badge{
  position:fixed; top:46%; left:50%; transform:translate(-50%,-50%) rotate(-7deg);
  z-index:60; display:none; align-items:center; gap:8px;
  font-family:'Oswald',sans-serif; font-weight:700; letter-spacing:.12em; font-size:22px;
  color:#fff; padding:14px 26px; border-radius:16px;
  background:linear-gradient(180deg,rgba(20,29,58,.92),rgba(8,12,28,.95));
  border:2px solid rgba(245,192,67,.6);
  box-shadow:0 12px 40px rgba(0,0,0,.5);
  text-shadow:0 2px 8px rgba(0,0,0,.5);
}
.lock-badge.show{ display:flex; }
.lock-badge .lock-ico{ font-size:24px; }

/* Estado "bloqueado": esmaece e desativa o dock */
.dock.locked{ filter:grayscale(.7) brightness(.7); opacity:.7; pointer-events:none; }

/* ============================================================
   BOTÃO DEPOSITAR (HUD)
   ============================================================ */
/* Depositar usa a moldura .ui-chip (ui.css); fonte verde igual à carteira */
.ui-deposito{ padding:0 8px; gap:2px; font-size:10.5px; letter-spacing:.03em; color:var(--green);
  text-shadow:0 0 8px rgba(0,255,136,.45); }
.ui-deposito .dep-plus{ font-size:13px; line-height:1; margin-top:-1px; color:var(--green); }
.ui-deposito:hover{ filter:brightness(1.08); }

/* ============================================================
   CARD DE DEPÓSITO
   ============================================================ */
.dep-card, .wallet-card{ max-width:420px; position:relative; }
.dep-close{
  position:absolute; top:12px; right:14px; z-index:2;
  width:34px; height:34px; border-radius:50%; cursor:pointer;
  border:1px solid rgba(255,255,255,.18); color:#fff; font-size:20px; line-height:1;
  background:rgba(8,13,30,.85);
}
.dep-close:hover{ background:rgba(245,192,67,.25); }

.dep-banner{ display:block; width:100%; height:auto; border-radius:14px; margin:2px 0 14px;
  box-shadow:0 8px 24px rgba(0,0,0,.45); }
.auth-banner{ display:block; width:100%; height:auto; border-radius:14px; margin:2px 0 16px;
  box-shadow:0 8px 24px rgba(0,0,0,.45); }

.dep-ofertas{ display:grid; grid-template-columns:repeat(6,1fr); gap:7px; margin-top:6px; }
.dep-oferta{ grid-column:span 2; }                          /* 3 por linha */
.dep-oferta:nth-last-child(-n+2){ grid-column:span 3; }     /* 2 últimos: 2 por linha */
.dep-oferta{
  cursor:pointer; border:1px solid rgba(245,192,67,.28); border-radius:10px;
  background:linear-gradient(180deg,rgba(22,32,62,.85),rgba(10,15,34,.92));
  padding:7px 4px; text-align:center; transition:transform .08s, border-color .2s, box-shadow .2s;
}
.dep-oferta:hover{ border-color:#f5c043; box-shadow:0 4px 12px rgba(245,192,67,.18); transform:translateY(-1px); }
.dep-oferta:active{ transform:translateY(0); }
.dep-oferta .do-valor{ font-family:'Oswald',sans-serif; font-weight:700; font-size:15px; line-height:1.05; color:#fff; }
.dep-oferta .do-bonus{ font-size:9px; font-weight:700; margin-top:2px; color:#7bf0a8; white-space:nowrap; }
.dep-oferta:nth-last-child(-n+2) .do-valor{ font-size:18px; }
.dep-oferta:nth-last-child(-n+2) .do-bonus{ font-size:11px; }
.dep-oferta .do-bonus.zero{ color:#6b7a9c; }
.dep-oferta.destaque{ border-color:rgba(245,192,67,.5); }
.dep-oferta.sel{ border-color:#7bf0a8; box-shadow:0 0 0 2px rgba(123,240,168,.5) inset, 0 4px 12px rgba(34,197,94,.22); }
.dep-form .auth-input{ margin-bottom:2px; }

/* etapa PIX */
.dep-pix-validade{
  text-align:center; font-family:'Oswald',sans-serif; font-size:14px; letter-spacing:.04em;
  color:#ffe79a; margin:4px 0 10px;
}
.dep-pix-validade #depTimer{ font-weight:700; font-size:18px; color:#fff; }
.dep-pix-validade.expirado{ color:#ffb4b4; }
.dep-pix-head{ text-align:center; margin:4px 0 12px; }
.dep-pix-valor{ font-family:'Oswald',sans-serif; font-weight:700; font-size:24px; color:#fff; }
.dep-pix-bonus{ font-size:13px; color:#7bf0a8; font-weight:700; }
.dep-pix-qr{ display:flex; justify-content:center; margin:10px auto 14px; padding:10px; width:max-content; background:#fff; border-radius:14px; }
.dep-pix-qr img, .dep-pix-qr canvas{ display:block; }
.dep-pix-code{
  width:100%; resize:none; font-size:12px; color:#cdd7f0; word-break:break-all;
  background:rgba(8,13,30,.9); border:1px solid rgba(255,255,255,.12); border-radius:10px; padding:10px;
}
.dep-pix-wait{ text-align:center; font-size:13px; color:#ffe79a; margin-top:12px; }
.dep-pix-wait.pago{ color:#7bf0a8; font-weight:700; }
.dep-voltar, .wallet-voltar{
  display:block; width:100%; margin-top:10px; background:none; border:none;
  color:#9fb0d8; cursor:pointer; font-size:13px;
}
.dep-voltar:hover{ color:#fff; }

/* ============================================================
   CARD DA CARTEIRA
   ============================================================ */
.wallet-saldo{
  display:flex; align-items:center; justify-content:space-between;
  background:rgba(8,13,30,.7); border:1px solid rgba(245,192,67,.25);
  border-radius:14px; padding:14px 16px; margin:6px 0 14px;
}
.wallet-saldo-label{ font-family:'Oswald',sans-serif; letter-spacing:.1em; color:#9fb0d8; font-size:12px; }
.wallet-saldo-val{ font-family:'Oswald',sans-serif; font-weight:700; font-size:24px; color:#7bf0a8; }

.wallet-roll{ margin-bottom:14px; text-align:left; }
.wallet-roll-head{ display:flex; justify-content:space-between; font-family:'Oswald',sans-serif; font-size:12px; color:#9fb0d8; margin-bottom:6px; letter-spacing:.06em; }
.wallet-roll-bar{ height:10px; border-radius:6px; background:rgba(255,255,255,.08); overflow:hidden; }
.wallet-roll-bar i{ display:block; height:100%; width:0; border-radius:6px; background:linear-gradient(90deg,#22c55e,#7bf0a8); transition:width .5s; }
.wallet-roll-msg{ font-size:12px; margin-top:6px; }
.wallet-roll-msg.ok{ color:#7bf0a8; }
.wallet-roll-msg.falta{ color:#ffb4b4; }

.wallet-form{ text-align:left; margin-bottom:14px; }
.wallet-hist-title{ font-family:'Oswald',sans-serif; font-size:12px; letter-spacing:.1em; color:#9fb0d8; text-align:left; margin:6px 0 8px; }
.wallet-hist-list{ display:flex; flex-direction:column; gap:8px; max-height:200px; overflow-y:auto; }
.wallet-hi{ display:flex; align-items:center; justify-content:space-between; gap:8px; background:rgba(8,13,30,.6); border:1px solid rgba(255,255,255,.08); border-radius:10px; padding:9px 12px; text-align:left; }
.wallet-hi .hi-val{ font-family:'Oswald',sans-serif; font-weight:700; color:#fff; font-size:15px; }
.wallet-hi .hi-data{ font-size:11px; color:#8ea0c8; }
.wallet-hi .hi-motivo{ font-size:11px; color:#ffb4b4; margin-top:2px; }
.hi-badge{ font-family:'Oswald',sans-serif; font-size:11px; font-weight:700; padding:3px 9px; border-radius:10px; white-space:nowrap; }
.hi-badge.pendente{ background:rgba(245,192,67,.15); color:#ffe79a; border:1px solid rgba(245,192,67,.4); }
.hi-badge.aprovado{ background:rgba(34,197,94,.15); color:#7bf0a8; border:1px solid rgba(34,197,94,.4); }
.hi-badge.recusado{ background:rgba(239,68,68,.15); color:#ffb4b4; border:1px solid rgba(239,68,68,.4); }
.wallet-hist-vazio{ font-size:12px; color:#8ea0c8; text-align:center; padding:10px; }

/* ============================================================
   TOAST (feedback elegante)
   ============================================================ */
.copa-toast{
  position:fixed; left:50%; bottom:26px; transform:translateX(-50%) translateY(20px);
  z-index:2000; max-width:min(440px,92vw); pointer-events:none;
  background:linear-gradient(180deg,rgba(22,32,62,.98),rgba(10,15,34,.99));
  border:1px solid rgba(123,240,168,.45); border-radius:14px;
  color:#eaf2ff; font-size:13.5px; line-height:1.45; padding:14px 18px;
  box-shadow:0 16px 44px rgba(0,0,0,.55);
  opacity:0; transition:opacity .3s, transform .3s; text-align:left;
}
.copa-toast.show{ opacity:1; transform:translateX(-50%) translateY(0); }
.copa-toast .ct-ico{ font-size:16px; margin-right:6px; }

/* ============================================================
   MENU DE NAVEGAÇÃO
   ============================================================ */
.menu-card{ max-width:400px; }
.menu-logo{ display:block; height:54px; width:auto; max-width:80%; margin:2px auto 8px; object-fit:contain;
  filter:drop-shadow(0 3px 8px rgba(0,0,0,.5)) drop-shadow(0 0 10px rgba(245,192,67,.3)); }
.menu-grid{ display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:8px; }
.menu-item{
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
  text-decoration:none; cursor:pointer; border:1px solid rgba(245,192,67,.28);
  background:linear-gradient(180deg,rgba(22,32,62,.9),rgba(10,15,34,.95));
  border-radius:16px; padding:16px 8px; color:#fff;
  font-family:'Oswald',sans-serif; font-weight:600; font-size:13px; letter-spacing:.02em;
  transition:transform .08s, border-color .2s, box-shadow .2s;
}
.menu-item:hover{ border-color:#f5c043; box-shadow:0 8px 22px rgba(245,192,67,.22); transform:translateY(-2px); }
.menu-item:active{ transform:translateY(0); }
.menu-item .mi-ico{ font-size:26px; line-height:1; }
.menu-item.menu-sair{ border-color:rgba(239,68,68,.4); color:#ffb4b4; }
.menu-item.menu-sair:hover{ border-color:#ef4444; box-shadow:0 8px 22px rgba(239,68,68,.2); }

/* ============================================================
   CARD AFILIADO
   ============================================================ */
.afil-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:14px 0 4px; }
.afil-stat{
  display:flex; flex-direction:column; align-items:center; gap:2px;
  background:rgba(8,13,30,.6); border:1px solid rgba(255,255,255,.08); border-radius:12px; padding:10px 6px;
}
.afil-stat .as-n{ font-family:'Oswald',sans-serif; font-weight:700; font-size:20px; color:#ffe79a; line-height:1; }
.afil-stat .as-l{ font-size:10.5px; color:#9fb0d8; letter-spacing:.04em; text-transform:uppercase; }

/* ---- Modal do álbum (iframe interno) ---- */
.album-modal{
  position:fixed; inset:0; z-index:1100; display:none;
  align-items:center; justify-content:center; padding:16px;
  background:rgba(4,8,18,.8); backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
}
.album-modal.show{ display:flex; animation:authFade .3s ease; }
.album-modal-box{
  position:relative; width:100%; max-width:840px; height:88vh;
  background:#070f20; border:1px solid rgba(245,192,67,.3);
  border-radius:20px; overflow:hidden;
  box-shadow:0 24px 70px rgba(0,0,0,.6);
}
/* o × agora vive no cabeçalho do álbum (iframe), padronizado com a engrenagem */
.album-modal-close{ display:none; }
.album-frame{ width:100%; height:100%; border:0; display:block; background:#070f20; }
