/* ============================================================
   Roleta Hextech — Theme Kit
   Camada visual compartilhada (glass / orbs / grid / pills)
   aplicada sobre a paleta dourado+teal já usada nas páginas
   (--gold, --gold-bright, --gold-dark, --blue-1, --teal, --red, --panel).
   Cada página deve continuar declarando seu próprio :root com
   essas variáveis; este arquivo só consome, nunca redeclara.
   ============================================================ */

/* ---- Tipografia ---- */
body, input, textarea, select, button {
  font-family: 'Outfit', 'Spectral', sans-serif;
}
h1, h2, h3, h4, h5, h6,
.font-display,
.nav-bar, .top-bar, .header, .hub-topbar,
.title, .auth-modal h2 {
  font-family: 'Space Grotesk', 'Cinzel', sans-serif;
}
.font-mono, .mono, code {
  font-family: 'JetBrains Mono', monospace;
}

/* ---- Scrollbar ---- */
* { scrollbar-width: thin; scrollbar-color: var(--gold, #c8aa6e) transparent; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: var(--gold, #c8aa6e); border-radius: 999px; }

/* ---- Fundo decorativo: grid + orbs ---- */
.grid-bg {
  position: fixed; inset: 0; z-index: -1;
  background-image:
    linear-gradient(rgba(240,230,210,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(240,230,210,0.035) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 78%);
  pointer-events: none;
}
.orb {
  position: fixed; z-index: -1;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.45;
}
.orb-gold {
  width: 700px; height: 700px;
  background: radial-gradient(circle at center, rgba(200,170,110,0.55), transparent 70%);
  top: -220px; left: -180px;
}
.orb-teal {
  width: 760px; height: 760px;
  background: radial-gradient(circle at center, rgba(10,200,185,0.35), transparent 70%);
  top: 8%; right: -260px;
}
.orb-red {
  width: 560px; height: 560px;
  background: radial-gradient(circle at center, rgba(224,87,76,0.18), transparent 70%);
  bottom: -220px; left: 28%;
}

/* ---- Glassmorphism ---- */
.glass {
  background: rgba(200,170,110,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(200,170,110,0.14);
}
.glass-strong {
  background: rgba(10,20,40,0.82);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(200,170,110,0.16);
}
.glass-teal {
  background: rgba(10,200,185,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(10,200,185,0.18);
}

/* ---- Cards com hover ---- */
.hx-card {
  transition: transform 0.35s cubic-bezier(0.2,0.8,0.2,1), border-color 0.35s, box-shadow 0.35s;
}
.hx-card:hover {
  transform: translateY(-6px);
  border-color: rgba(200,170,110,0.5);
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 30px rgba(200,170,110,0.2);
}
.hx-shine { position: relative; overflow: hidden; }
.hx-shine::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.10) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.7s;
}
.hx-card:hover .hx-shine::after { transform: translateX(100%); }

/* ---- Botões pill ---- */
.pill-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, filter 0.15s, background 0.2s, border-color 0.2s;
}
.pill-btn:hover { transform: translateY(-1px); }
.pill-btn-primary {
  background: linear-gradient(135deg, var(--gold-bright, #f0e6d2), var(--gold, #c8aa6e));
  color: var(--blue-1, #0a1428);
}
.pill-btn-primary:hover { filter: brightness(1.08); }
.pill-btn-ghost {
  background: rgba(200,170,110,0.08);
  border-color: rgba(200,170,110,0.25);
  color: var(--gold-bright, #f0e6d2);
}
.pill-btn-ghost:hover { background: rgba(200,170,110,0.16); }
.pill-btn-teal {
  background: linear-gradient(135deg, var(--teal, #0ac8b9), var(--teal-dark, #005a5e));
  color: #04211f;
}
.pill-btn-teal:hover { filter: brightness(1.1); }

/* ---- Badges/pills genéricos ---- */
.hx-badge {
  display: inline-flex; align-items: center; gap: 6px;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.4px;
}
.hx-badge-live {
  background: rgba(224,87,76,0.15);
  border: 1px solid rgba(224,87,76,0.35);
  color: #ff8b80;
}
.hx-badge-online {
  background: rgba(10,200,185,0.12);
  border: 1px solid rgba(10,200,185,0.3);
  color: var(--teal, #0ac8b9);
}

/* ---- Animações ---- */
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes pulse2 { 0%,100% { opacity: 1; } 50% { opacity: 0.55; } }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.hx-float { animation: float 6s ease-in-out infinite; }
.hx-pulse { animation: pulse2 2s infinite; }
