/* ============================================================
   REAL PVP — Tema (inspirado no estilo racing/PvP)
   Paleta: preto + laranja/vermelho metálico
   ============================================================ */

:root {
  --brand: #ff6a00;          /* laranja principal */
  --brand-2: #e11d2e;        /* vermelho */
  --brand-dark: #cc5200;
  --bg: #050505;
  --card: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --muted: #9ca3af;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Inter", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: #fff;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; transition: color .2s; }

h1, h2, h3, .oswald, .font-display {
  font-family: "Oswald", "Inter", sans-serif;
  text-transform: uppercase;
  letter-spacing: .02em;
  font-style: italic;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* ─── Navegação ─────────────────────────────────────────────── */
header.nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(5, 5, 5, 0.82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 10px 20px; }
.nav-links { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav-links a { color: #d1d5db; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .22em; }
.nav-links a:hover { color: var(--brand); }
.logo { display: flex; align-items: center; }
.logo img { height: 64px; width: auto; object-fit: contain; transition: transform .3s; }
.logo img:hover { transform: rotate(2deg) scale(1.03); }
.logo-text { font-family: "Oswald", sans-serif; font-weight: 900; font-size: 22px; letter-spacing: .1em; font-style: italic; }
.logo-text span { color: var(--brand); text-shadow: 0 0 14px rgba(255, 106, 0, .6); }

main { padding: 32px 0 72px; }
footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  text-align: center;
  color: #4b5563;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .5em;
}

/* ─── Cards / glass ─────────────────────────────────────────── */
.card, .glass {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  backdrop-filter: blur(18px);
  transition: border-color .3s, transform .3s, background .3s;
}
.card:hover, .glass:hover { border-color: rgba(255, 106, 0, .55); transform: translateY(-4px); }
.card.p-0 { padding: 0; overflow: hidden; }

.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }

/* ─── Botões ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 4px; padding: 12px 24px; font-weight: 900; cursor: pointer;
  border: 1px solid transparent; font-size: 12px; text-transform: uppercase;
  letter-spacing: .14em; font-style: italic;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0% 100%);
  transition: all .25s ease;
}
.btn:hover { transform: skewX(-5deg) scale(1.04); filter: brightness(1.15); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 10px 34px -12px rgba(255, 106, 0, .9); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-ghost { background: rgba(255,255,255,.03); border-color: rgba(255,255,255,.18); color: #fff; }
.btn-ghost:hover { border-color: var(--brand); background: rgba(255,106,0,.08); }
.btn-sm { padding: 8px 16px; font-size: 11px; }
.btn-racing { clip-path: polygon(10% 0, 100% 0, 90% 100%, 0% 100%); }

/* ─── Formulários ───────────────────────────────────────────── */
.input, select, textarea {
  width: 100%; border-radius: 8px; border: 1px solid var(--border);
  background: rgba(0,0,0,.45); color: #fff; padding: 11px 13px; font-size: 14px; font-family: inherit;
}
.input:focus, select:focus, textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255,106,0,.12); }
.label { display: block; margin-bottom: 5px; font-size: 11px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); font-weight: 700; }

/* ─── Badges / textos ───────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center; gap: 6px; border-radius: 999px;
  padding: 3px 12px; font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .1em;
}
.badge-ok { background: rgba(34,197,94,.16); color: #86efac; }
.badge-no { background: rgba(239,68,68,.16); color: #fca5a5; }
.badge-info { background: rgba(255,255,255,.08); color: #d1d5db; }

.neon { color: var(--brand); text-shadow: 0 0 12px rgba(255,106,0,.55); }
.neon-glow { text-shadow: 0 0 18px rgba(255,106,0,.55); }
.muted { color: var(--muted); }
.text-sm { font-size: 14px; }
.text-xs { font-size: 12px; }
.text-red { color: #f87171; }
.text-green { color: #4ade80; }
.mt-2 { margin-top: 8px; } .mt-4 { margin-top: 16px; } .mt-6 { margin-top: 24px; }
.mb-2 { margin-bottom: 8px; } .mb-4 { margin-bottom: 16px; } .mb-6 { margin-bottom: 24px; }
.flex { display: flex; gap: 12px; align-items: center; }
.between { justify-content: space-between; }
.wrap { flex-wrap: wrap; }
.center { text-align: center; }
.mono { font-family: ui-monospace, Consolas, monospace; }

.table { width: 100%; border-collapse: collapse; font-size: 14px; }
.table th, .table td { text-align: left; padding: 9px; border-bottom: 1px solid var(--border); }
.table th { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }

/* ─── Hero ──────────────────────────────────────────────────── */
.hero {
  position: relative;
  border-radius: 18px;
  padding: 90px 40px;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(5,5,5,.72), rgba(5,5,5,.92)),
    url('/assets/fundo.png') center/cover fixed;
  border: 1px solid rgba(255,106,0,.18);
}
.hero h1 {
  font-size: clamp(42px, 8vw, 110px);
  font-weight: 900;
  line-height: .95;
  margin: 18px 0;
  letter-spacing: -.02em;
}
.hero h1 .accent { color: var(--brand); }
.hero p { max-width: 720px; margin: 0 auto 32px; color: #d1d5db; font-size: 16px; }
.hero .badge-live {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(255,106,0,.1); border: 1px solid rgba(255,106,0,.25);
  padding: 8px 20px; border-radius: 999px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .2em; font-size: 11px;
}
.pulse-dot { position: relative; width: 10px; height: 10px; }
.pulse-dot::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--brand); animation: ping 1.4s cubic-bezier(0,0,.2,1) infinite; }
.pulse-dot::after { content: ""; position: absolute; inset: 0; border-radius: 999px; background: var(--brand); }
@keyframes ping { 75%, 100% { transform: scale(2.2); opacity: 0; } }

.float { animation: float 6s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ─── Marquee ───────────────────────────────────────────────── */
.marquee { overflow: hidden; border: 1px solid var(--border); border-radius: 8px; background: rgba(0,0,0,.45); padding: 10px 0; }
.marquee-track { display: flex; gap: 44px; white-space: nowrap; width: max-content; animation: marquee 28s linear infinite; font-size: 12px; text-transform: uppercase; letter-spacing: .18em; color: var(--muted); font-weight: 700; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ─── Rádio ─────────────────────────────────────────────────── */
#radio-player { position: fixed; bottom: 18px; right: 18px; z-index: 60; }
.radio-box {
  display: flex; align-items: center; gap: 12px;
  background: rgba(10,10,10,.85); backdrop-filter: blur(14px);
  border: 1px solid rgba(255,106,0,.35); border-radius: 999px;
  padding: 8px 16px; box-shadow: 0 10px 40px -12px rgba(255,106,0,.6);
}
.radio-box .lbl { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .2em; color: var(--brand); }
.radio-btn {
  width: 34px; height: 34px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center;
  transition: transform .2s;
}
.radio-btn:hover { transform: scale(1.12); }

/* ─── Utilitários visuais ───────────────────────────────────── */
.accent { color: var(--brand); }
.divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,106,0,.5), transparent); margin: 40px 0; }
.stat-value { font-family: "Oswald", sans-serif; font-size: 38px; font-weight: 900; font-style: italic; margin: 6px 0; }
.stat-label { font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .3em; color: var(--brand); }
.alert-error { color: #f87171; font-size: 14px; }
.alert-ok { color: #4ade80; font-size: 14px; }

/* ============================================================
   PAINEL ADMINISTRATIVO
   ============================================================ */
.admin-layout { display: grid; grid-template-columns: 235px 1fr; gap: 24px; align-items: start; }
.admin-aside { position: sticky; top: 92px; }
.admin-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.admin-brand img { height: 48px; width: auto; object-fit: contain; }
.admin-brand .txt { font-family: "Oswald", sans-serif; font-weight: 700; font-size: 16px; font-style: italic; letter-spacing: .06em; }
.admin-brand .txt span { color: var(--brand); }
.admin-role { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .25em; color: var(--brand); margin: 0 0 14px; }
.admin-nav { display: flex; flex-direction: column; gap: 2px; }
.admin-nav a {
  display: block; padding: 11px 14px; border-radius: 10px; font-size: 12px; font-weight: 800;
  text-transform: uppercase; letter-spacing: .12em; color: #9ca3af;
  border-left: 3px solid transparent; transition: all .2s;
}
.admin-nav a:hover { color: #fff; background: rgba(255,255,255,.04); }
.admin-nav a.active { color: #fff; background: rgba(255,106,0,.12); border-left-color: var(--brand); }

.admin-content > h1 {
  font-size: 30px; margin: 0 0 20px; padding-left: 14px;
  border-left: 4px solid var(--brand); line-height: 1.1;
}
.admin-content .card { margin-bottom: 14px; }
.admin-content .grid { margin-top: 6px; }
.admin-content h3 { color: #fff; font-size: 18px; }

.admin-stat { padding: 18px; }
.admin-stat .stat-label { margin: 0 0 4px; }
.admin-stat .stat-value { margin: 0; }

@media (max-width: 900px) {
  .admin-layout { grid-template-columns: 1fr; }
  .admin-aside { position: static; }
  .admin-nav { flex-direction: row; flex-wrap: wrap; }
  .admin-nav a { border-left: 0; border-bottom: 3px solid transparent; }
  .admin-nav a.active { border-left: 0; border-bottom-color: var(--brand); }
}
