/* ============================================================
   MZLINK · Modo Premium 👑
   Visual VIP para utilizadores Premium
   ============================================================ */

/* ===== Borda dourada no topo ===== */
body.premium-mode {
  background:
    radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.06), transparent 40%),
    #f8f9fb !important;
}

body.premium-mode .header-topo {
  border-bottom: 3px solid #d4af37 !important;
  background: linear-gradient(180deg, #fffdf5, #ffffff) !important;
}

body.premium-mode .logo-header {
  color: #a8842c !important;
  text-shadow: 0 1px 2px rgba(212, 175, 55, 0.2);
}

/* ===== Banner de boas-vindas ===== */
.premium-banner {
  display: none;
  margin: 12px 16px 0;
  padding: 14px 18px;
  background: linear-gradient(135deg, #0f1115, #1a1d24);
  border: 1px solid #d4af37;
  border-radius: 14px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.25);
  align-items: center;
  gap: 12px;
  position: relative;
  overflow: hidden;
}

.premium-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.15), transparent);
  animation: brilhoBanner 3s infinite;
}

@keyframes brilhoBanner {
  0% { left: -100%; }
  100% { left: 100%; }
}

body.premium-mode .premium-banner {
  display: flex;
}

.premium-banner .coroa {
  font-size: 1.6rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(212, 175, 55, 0.6));
}

.premium-banner .texto {
  flex: 1;
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

.premium-banner .texto strong {
  background: linear-gradient(135deg, #d4af37, #f5d76e);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
}

.premium-banner .link-premium {
  background: linear-gradient(135deg, #d4af37, #f5d76e);
  color: #1a1a1a;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 900;
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: transform 0.2s;
}

.premium-banner .link-premium:hover {
  transform: scale(1.05);
}

/* ===== Cards com brilho dourado ===== */
body.premium-mode .result-card {
  border: 1px solid #f0e6c8;
}

body.premium-mode .result-card:hover {
  border-color: #d4af37;
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.15);
}

/* ===== Botão Premium a pulsar ===== */
body.premium-mode .btn-premium-topo,
body.premium-mode .btn-premium {
  animation: pulseOuro 2.5s infinite;
}

@keyframes pulseOuro {
  0%, 100% { box-shadow: 0 4px 12px rgba(212, 175, 55, 0.4); }
  50% { box-shadow: 0 6px 20px rgba(212, 175, 55, 0.7); }
}

/* ===== Badge Premium na saudação ===== */
body.premium-mode .saudacao {
  color: #8b6914 !important;
}

/* ===== Responsivo ===== */
@media (max-width: 640px) {
  .premium-banner {
    margin: 10px 12px 0;
    padding: 12px 14px;
    font-size: 0.82rem;
    flex-wrap: wrap;
  }
  .premium-banner .coroa { font-size: 1.3rem; }
  .premium-banner .link-premium {
    width: 100%;
    text-align: center;
    margin-top: 6px;
  }
}
