/* ═══════════════════════════════════════════════════════════════
   FS25 Mods Brasil — Design System Consolidado
   Versão Profissional 2.0
   ═══════════════════════════════════════════════════════════════ */

/* ─── 1. RESET & BASE ─────────────────────────────────────────── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: 'Rajdhani', system-ui, -apple-system, sans-serif;
  background: var(--db);
  color: var(--tp);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── 2. DESIGN TOKENS ────────────────────────────────────────── */
:root {
  /* Cores primárias */
  --ng: #00ff88;
  --ng-dim: rgba(0, 255, 136, 0.1);
  --ng-mid: rgba(0, 255, 136, 0.3);
  --ng-glow: rgba(0, 255, 136, 0.4);

  --ny: #ffd700;
  --ny-dim: rgba(255, 215, 0, 0.1);
  --ny-mid: rgba(255, 215, 0, 0.3);
  --ny-glow: rgba(255, 215, 0, 0.4);

  --nr: #ff3355;
  --nr-dim: rgba(255, 51, 85, 0.1);
  --nr-mid: rgba(255, 51, 85, 0.3);
  --nr-glow: rgba(255, 51, 85, 0.4);

  --np: #9b59b6;
  --np-dim: rgba(155, 89, 182, 0.15);

  /* Fundos */
  --db: #0a0a0f;
  --dc: #12121a;
  --ds: #16213e;
  --ds-light: #1e2d4a;

  /* Texto */
  --tp: #e8e8e8;
  --ts: #a0a0b0;
  --ts-dim: #6a6a7a;

  /* Efeitos */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
  --shadow-ng: 0 0 20px rgba(0,255,136,0.15);
  --shadow-ng-hover: 0 0 30px rgba(0,255,136,0.35);
  --shadow-ny: 0 0 20px rgba(255,215,0,0.15);

  /* Tipografia */
  --font-display: 'Orbitron', system-ui, sans-serif;
  --font-body: 'Rajdhani', system-ui, sans-serif;

  /* Transições */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─── 3. SCROLLBAR ────────────────────────────────────────────── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--db); }
::-webkit-scrollbar-thumb { background: var(--ng); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #00cc6a; }

/* ─── 4. UTILITÁRIOS ──────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1400px;
  margin-inline: auto;
  padding-inline: 2rem;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ─── 5. BACKGROUND EFFECTS ───────────────────────────────────── */
#pc {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.scan {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9998;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.03) 2px,
    rgba(0,0,0,0.03) 4px
  );
}

/* ─── 6. NAVEGAÇÃO ────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 2px solid var(--ng);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.nav::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ng), var(--ny), var(--ng), transparent);
  animation: glowLine 3s ease-in-out infinite;
}

@keyframes glowLine {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: var(--transition-base);
}

.logo:hover { transform: scale(1.02); }

.logo span:first-child {
  font-size: 2rem;
  filter: drop-shadow(0 0 10px var(--ng));
}

.logo span:last-child {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.1rem;
  background: linear-gradient(135deg, var(--ng), var(--ny));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nl {
  display: flex;
  gap: 0.5rem;
  list-style: none;
}

.nl a {
  color: var(--ts);
  text-decoration: none;
  padding: 0.5rem 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  font-size: 0.95rem;
  position: relative;
}

.nl a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--ng);
  transition: var(--transition-base);
  transform: translateX(-50%);
}

.nl a:hover,
.nl a.act {
  color: var(--ng);
  background: var(--ng-dim);
}

.nl a:hover::after,
.nl a.act::after {
  width: 60%;
}

.nu {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.nu .uname {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--ny);
  font-weight: 700;
}

.mb2 {
  display: none !important;
}

/* ─── 7. BOTÕES ───────────────────────────────────────────────── */
.btn {
  padding: 0.6rem 1.5rem;
  border: none;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: var(--transition-base);
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: 500ms;
}

.btn:hover::before { left: 100%; }

.btn:focus-visible {
  outline: 2px solid var(--ng);
  outline-offset: 2px;
}

.btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none !important;
}

.bp {
  background: linear-gradient(135deg, var(--ng), #00cc6a);
  color: #000;
  box-shadow: var(--shadow-ng);
}

.bp:hover:not(:disabled) {
  box-shadow: var(--shadow-ng-hover);
  transform: translateY(-2px);
}

.bs {
  background: linear-gradient(135deg, var(--ny), #c8a415);
  color: #000;
  box-shadow: var(--shadow-ny);
}

.bs:hover:not(:disabled) {
  box-shadow: 0 0 30px var(--ny-glow);
  transform: translateY(-2px);
}

.bd {
  background: linear-gradient(135deg, var(--nr), #cc2944);
  color: #fff;
}

.bd:hover:not(:disabled) {
  box-shadow: 0 0 20px var(--nr-glow);
  transform: translateY(-2px);
}

.bo {
  background: transparent;
  border: 2px solid var(--ng);
  color: var(--ng);
}

.bo:hover:not(:disabled) {
  background: var(--ng);
  color: #000;
}

.bsm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

/* ─── 8. LAYOUT ───────────────────────────────────────────────── */
.main {
  position: relative;
  z-index: 1;
  padding-top: 70px;
}

.st {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 900;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  padding-bottom: 1rem;
}

.st::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--ng), var(--ny), var(--ng), transparent);
  border-radius: 2px;
}

.ft {
  background: var(--dc);
  border-top: 2px solid var(--ng-dim);
  padding: 2rem;
  text-align: center;
  z-index: 1;
  position: relative;
}

.ft p {
  color: var(--ts);
  font-size: 0.9rem;
}

.ft .br {
  font-family: var(--font-display);
  color: var(--ng);
  font-weight: 700;
}

/* ─── 9. TOASTS ───────────────────────────────────────────────── */
.tb {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.t {
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  animation: toastIn 0.3s ease, toastOut 0.3s ease 2.7s forwards;
  min-width: 280px;
  max-width: 400px;
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
  line-height: 1.4;
}

.t.s {
  background: rgba(0, 255, 136, 0.12);
  border: 1px solid var(--ng);
  color: var(--ng);
}

.t.e {
  background: rgba(255, 51, 85, 0.12);
  border: 1px solid var(--nr);
  color: var(--nr);
}

.t.i {
  background: rgba(255, 215, 0, 0.12);
  border: 1px solid var(--ny);
  color: var(--ny);
}

@keyframes toastIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes toastOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* ─── 10. LOADING ─────────────────────────────────────────────── */
.ld {
  position: fixed;
  inset: 0;
  background: var(--db);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: opacity var(--transition-slow);
}

.ld.h {
  opacity: 0;
  pointer-events: none;
}

.ld .sp {
  width: 60px;
  height: 60px;
  border: 4px solid rgba(0,255,136,0.2);
  border-top-color: var(--ng);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 1rem;
}

.ld .tx {
  font-family: var(--font-display);
  color: var(--ng);
  font-size: 1rem;
  letter-spacing: 3px;
  animation: blink 1s infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

/* ─── 11. FORMULÁRIOS ─────────────────────────────────────────── */
.fg {
  margin-bottom: 1.2rem;
}

.fg label {
  display: block;
  margin-bottom: 0.4rem;
  font-weight: 600;
  color: var(--ts);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.fg input,
.fg select,
.fg textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: var(--ds);
  border: 1px solid var(--ng-dim);
  border-radius: var(--radius-md);
  color: var(--tp);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition-base);
}

.fg input::placeholder,
.fg textarea::placeholder {
  color: var(--ts-dim);
}

.fg input:hover,
.fg select:hover,
.fg textarea:hover {
  border-color: var(--ng-mid);
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  outline: none;
  border-color: var(--ng);
  box-shadow: 0 0 20px rgba(0,255,136,0.15);
}

.fg textarea {
  resize: vertical;
  min-height: 120px;
}

/* ─── 12. BADGES ──────────────────────────────────────────────── */
.badge-msg {
  background: var(--nr);
  color: #fff;
  font-size: 0.7rem;
  padding: 0.15rem 0.4rem;
  border-radius: 10px;
  margin-left: 0.3rem;
  font-weight: 700;
}

.mb {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
  backdrop-filter: blur(4px);
}

.mb-f { background: var(--ng); color: #000; }
.mb-m { background: var(--ny); color: #000; }
.mb-r { background: linear-gradient(135deg, var(--np), #8e44ad); color: #fff; }

.bdg {
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-block;
}

.bdg-new { background: var(--ng-dim); color: var(--ng); border: 1px solid var(--ng); }
.bdg-read { background: rgba(160,160,176,0.1); color: var(--ts); border: 1px solid var(--ts); }
.bdg-rep { background: var(--ny-dim); color: var(--ny); border: 1px solid var(--ny); }
.bdg-pend { background: var(--nr-dim); color: var(--nr); border: 1px solid var(--nr); }
.bdg-res { background: var(--ng-dim); color: var(--ng); border: 1px solid var(--ng); }
.bdg-rej { background: rgba(160,160,176,0.1); color: var(--ts); border: 1px solid var(--ts); }

.mst {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: inline-block;
}

.mst.a { background: var(--ng-dim); color: var(--ng); border: 1px solid var(--ng); }
.mst.co { background: var(--np-dim); color: var(--np); border: 1px solid var(--np); }

/* ─── 13. ANIMAÇÕES ───────────────────────────────────────────── */
.fi {
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
  from { opacity: 0; max-height: 0; }
  to { opacity: 1; max-height: 1000px; }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ─── 14. LIGHTBOX ────────────────────────────────────────────── */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  backdrop-filter: blur(5px);
}

.lb.on { display: flex; }

.lb img {
  max-width: 90%;
  max-height: 90%;
  border-radius: var(--radius-md);
  box-shadow: 0 0 50px rgba(0,255,136,0.2);
}

.lb-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--ng);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition-fast);
  line-height: 1;
}

.lb-close:hover { transform: scale(1.1); color: var(--ny); }

/* ─── 15. MODAL ───────────────────────────────────────────────── */
.mdl {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 5000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  backdrop-filter: blur(8px);
}

.mdl.on { display: flex; }

.mdl-c {
  background: var(--dc);
  border: 1px solid var(--ng-mid);
  border-radius: var(--radius-lg);
  padding: 2rem;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.mdl-c h3 {
  font-family: var(--font-display);
  color: var(--ng);
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.mdl-c .orig {
  background: var(--ds);
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  border-left: 3px solid var(--ny);
}

.mdl-c .orig strong {
  color: var(--ny);
  font-size: 0.8rem;
  display: block;
  margin-bottom: 0.3rem;
}

.mdl-c .orig p {
  color: var(--ts);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════
   PÁGINA: INDEX (INÍCIO)
   ═══════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  width: 100%;
  height: 500px;
  overflow: hidden;
  margin-bottom: 3rem;
}

.hi {
  width: 100%;
  height: 100%;
  position: relative;
}

.sl {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(1.05);
}

.sl.act {
  opacity: 1;
  transform: scale(1);
}

.sl img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.4);
}

.sl-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--db), transparent 50%, rgba(0,0,0,0.3));
}

.sl-ct {
  position: absolute;
  bottom: 60px;
  left: 60px;
  max-width: 600px;
  z-index: 2;
}

.sl-bg {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: var(--ng);
  color: #000;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  margin-bottom: 1rem;
}

.sl-t {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px rgba(0,255,136,0.5);
  line-height: 1.2;
}

.sl-d {
  font-size: 1.1rem;
  color: var(--ts);
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition-base);
  border: 2px solid transparent;
}

.dot:hover { background: rgba(255,255,255,0.6); }

.dot.act {
  background: var(--ng);
  box-shadow: 0 0 15px var(--ng);
  transform: scale(1.3);
  border-color: rgba(0,0,0,0.3);
}

.ar {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: rgba(0,0,0,0.5);
  border: 2px solid var(--ng);
  border-radius: 50%;
  color: var(--ng);
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-base);
  z-index: 10;
}

.ar:hover {
  background: var(--ng);
  color: #000;
}

.ar.p { left: 20px; }
.ar.n { right: 20px; }

.fd {
  text-align: center;
  padding: 2rem 0;
  font-size: 1.5rem;
  letter-spacing: 1rem;
  opacity: 0.5;
  user-select: none;
}

/* Grids & Cards Index */
.mg {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 0 2rem 3rem;
  max-width: 1400px;
  margin: 0 auto;
}

.mc {
  background: var(--dc);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ng-dim);
  transition: var(--transition-base);
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.mc:hover {
  transform: translateY(-8px);
  border-color: var(--ng);
  box-shadow: var(--shadow-ng);
}

.mc img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.mc:hover img { transform: scale(1.05); }

.mc-i { overflow: hidden; position: relative; }

.mc-b { padding: 1.2rem; }

.mc-b h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.mc-b p {
  font-size: 0.9rem;
  color: var(--ts);
  margin-bottom: 1rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mc-m {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
}

.mc-m .au { color: var(--ny); font-weight: 600; }
.mc-m .dl { color: var(--ts); }

/* Meta Mini Cards */
.mm {
  background: var(--dc);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--ny-dim);
  transition: var(--transition-base);
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.mm:hover {
  transform: translateY(-8px);
  border-color: var(--ny);
  box-shadow: var(--shadow-ny);
}

.mm img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.mm-b { padding: 1.2rem; }

.mm-b h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--ny);
}

.mm-p {
  width: 100%;
  height: 12px;
  background: var(--ds);
  border-radius: 6px;
  overflow: hidden;
  margin: 0.8rem 0;
  border: 1px solid rgba(0,0,0,0.2);
}

.mm-pf {
  height: 100%;
  background: linear-gradient(90deg, var(--ng), var(--ny));
  border-radius: 6px;
  transition: width 1s ease;
}

.mm-s {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
}

.mm-s .p {
  color: var(--ng);
  font-family: var(--font-display);
  font-weight: 700;
}

.mm-s .s { color: var(--ts); }

/* ═══════════════════════════════════════════════════════════════
   PÁGINA: BIBLIOTECA
   ═══════════════════════════════════════════════════════════════ */

.lc {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.lp {
  text-align: center;
  padding: 4rem 2rem;
}

.lp .ic {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px var(--ng-dim));
}

.lp h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.lp p {
  color: var(--ts);
  margin-bottom: 2rem;
  max-width: 500px;
  margin-inline: auto;
}

/* ═══════════════════════════════════════════════════════════════
   PÁGINA: METAS
   ═══════════════════════════════════════════════════════════════ */

.mc2 {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  background: var(--dc);
  border-radius: var(--radius-xl);
  border: 1px solid var(--ny-dim);
  overflow: hidden;
  margin-bottom: 2rem;
  transition: var(--transition-base);
  animation: fadeIn 0.6s ease-out;
}

.card:hover {
  border-color: var(--ny);
  box-shadow: var(--shadow-ny);
}

.card-i {
  display: flex;
  gap: 2rem;
  padding: 2rem;
}

.card-img {
  width: 300px;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.card-info { flex: 1; min-width: 0; }

.card-t {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: var(--ny);
  line-height: 1.3;
}

.card-d {
  color: var(--ts);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.card-cat {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: var(--ng-dim);
  border: 1px solid var(--ng-mid);
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--ng);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Progresso */
.prog-s { margin-bottom: 1.5rem; }

.prog-l {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.prog-l .cur {
  color: var(--ng);
  font-family: var(--font-display);
}

.prog-l .tgt { color: var(--ts); }

.prog-b {
  width: 100%;
  height: 24px;
  background: var(--ds);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--ng-dim);
}

.prog-f {
  height: 100%;
  background: linear-gradient(90deg, var(--ng), var(--ny));
  border-radius: 12px;
  transition: width 1.5s ease;
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.prog-f::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.25) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}

.pct {
  text-align: center;
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 900;
  margin-top: 0.5rem;
}

.pct.c {
  color: var(--ng);
  text-shadow: 0 0 20px var(--ng-glow);
  animation: pulse 1.5s ease-in-out infinite;
}

.pct.ic { color: var(--ny); }

.sv {
  background: var(--ng-dim);
  border: 1px solid var(--ng);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ng);
  font-size: 1.1rem;
  display: inline-block;
}

.usb {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.8rem;
  background: var(--ng-dim);
  border: 1px solid var(--ng);
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--ng);
  font-weight: 700;
}

.ma {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.nm {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--ts);
}

.nm .ic {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px var(--ny-dim));
}

/* ═══════════════════════════════════════════════════════════════
   PÁGINA: LOGIN
   ═══════════════════════════════════════════════════════════════ */

.ab {
  background: var(--dc);
  border: 1px solid var(--ng-mid);
  border-radius: var(--radius-xl);
  padding: 3rem;
  width: 100%;
  max-width: 450px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.ab::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--ng), transparent, var(--ny), transparent, var(--ng));
  border-radius: 22px;
  z-index: -1;
  animation: borderRotate 4s linear infinite;
  background-size: 300% 300%;
}

@keyframes borderRotate {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.ab h2 {
  font-family: var(--font-display);
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.8rem;
  background: linear-gradient(135deg, var(--ng), var(--ny));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.ab .sub {
  text-align: center;
  color: var(--ts);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.sw {
  text-align: center;
  margin-top: 1.5rem;
  color: var(--ts);
}

.sw a {
  color: var(--ng);
  text-decoration: none;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.sw a:hover {
  text-decoration: underline;
  color: var(--ny);
}

/* ═══════════════════════════════════════════════════════════════
   PÁGINA: MENSAGENS
   ═══════════════════════════════════════════════════════════════ */

.fm-card {
  background: var(--dc);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ng-dim);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: var(--transition-base);
}

.fm-card:hover {
  border-color: var(--ng);
  box-shadow: var(--shadow-ng);
}

.fm-card h3 {
  font-family: var(--font-display);
  color: var(--ng);
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.msg-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.msg-card {
  background: var(--dc);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ng-dim);
  overflow: hidden;
  transition: var(--transition-base);
  animation: fadeIn 0.5s ease-out;
}

.msg-card:hover { border-color: var(--ng-mid); }

.msg-card.unread { border-left: 4px solid var(--ng); }
.msg-card.replied { border-left: 4px solid var(--ny); }

.msg-hd {
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: rgba(0,0,0,0.2);
  transition: var(--transition-fast);
}

.msg-hd:hover { background: rgba(0,0,0,0.3); }

.msg-sub {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--tp);
}

.msg-date {
  font-size: 0.8rem;
  color: var(--ts);
}

.msg-badges {
  display: flex;
  gap: 0.5rem;
}

.msg-body {
  padding: 1.5rem;
  border-top: 1px solid var(--ng-dim);
  display: none;
}

.msg-body.open {
  display: block;
  animation: slideDown 0.3s ease;
}

.msg-content {
  color: var(--tp);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  white-space: pre-wrap;
}

.reply-box {
  background: linear-gradient(135deg, var(--ny-dim), var(--ng-dim));
  border: 1px solid var(--ny-mid);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-top: 1rem;
}

.reply-box h4 {
  font-family: var(--font-display);
  color: var(--ny);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.reply-content {
  color: var(--tp);
  line-height: 1.7;
  white-space: pre-wrap;
}

.reply-date {
  font-size: 0.75rem;
  color: var(--ts);
  margin-top: 0.8rem;
  text-align: right;
}

.empty {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--ts);
}

.empty .ic {
  font-size: 4rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px var(--ng-dim));
}

.empty h3 {
  font-family: var(--font-display);
  margin-bottom: 0.5rem;
  color: var(--tp);
}

/* ═══════════════════════════════════════════════════════════════
   PÁGINA: BUGS
   ═══════════════════════════════════════════════════════════════ */

.up-area {
  border: 2px dashed var(--ng-mid);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-base);
  background: var(--ng-dim);
}

.up-area:hover {
  border-color: var(--ng);
  background: rgba(0,255,136,0.05);
}

.up-area.has-file {
  border-color: var(--ng);
  background: rgba(0,255,136,0.08);
}

.up-area input { display: none; }

.up-icon {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.up-text {
  color: var(--ts);
  font-size: 0.9rem;
}

.up-text strong { color: var(--ng); }

.up-preview {
  max-width: 100%;
  max-height: 200px;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  display: none;
  box-shadow: var(--shadow-sm);
}

.up-preview.show { display: block; }

.up-remove {
  color: var(--nr);
  cursor: pointer;
  font-size: 0.8rem;
  margin-top: 0.5rem;
  display: none;
  font-weight: 600;
  transition: var(--transition-fast);
}

.up-remove:hover { text-decoration: underline; }

.up-remove.show { display: inline-block; }

.rep-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rep-card {
  background: var(--dc);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ng-dim);
  overflow: hidden;
  transition: var(--transition-base);
  animation: fadeIn 0.5s ease-out;
}

.rep-card:hover { border-color: var(--ng-mid); }

.rep-card.pending { border-left: 4px solid var(--nr); }
.rep-card.resolved { border-left: 4px solid var(--ng); }
.rep-card.rejected { border-left: 4px solid var(--ts); }

.rep-hd {
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: rgba(0,0,0,0.2);
  transition: var(--transition-fast);
}

.rep-hd:hover { background: rgba(0,0,0,0.3); }

.rep-mod {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--tp);
}

.rep-date {
  font-size: 0.8rem;
  color: var(--ts);
}

.rep-badges {
  display: flex;
  gap: 0.5rem;
}

.rep-body {
  padding: 1.5rem;
  border-top: 1px solid var(--ng-dim);
  display: none;
}

.rep-body.open {
  display: block;
  animation: slideDown 0.3s ease;
}

.rep-desc {
  color: var(--tp);
  line-height: 1.7;
  margin-bottom: 1rem;
  white-space: pre-wrap;
}

.rep-img {
  max-width: 100%;
  max-height: 300px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ng-mid);
  cursor: pointer;
  transition: var(--transition-fast);
}

.rep-img:hover { transform: scale(1.02); }

.admin-rep {
  background: linear-gradient(135deg, var(--ng-dim), var(--ny-dim));
  border: 1px solid var(--ng-mid);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-top: 1rem;
}

.admin-rep h4 {
  font-family: var(--font-display);
  color: var(--ng);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
}

.admin-rep p {
  color: var(--tp);
  line-height: 1.7;
  white-space: pre-wrap;
}

.admin-rep-date {
  font-size: 0.75rem;
  color: var(--ts);
  margin-top: 0.8rem;
  text-align: right;
}

/* ═══════════════════════════════════════════════════════════════
   PÁGINA: ADMIN
   ═══════════════════════════════════════════════════════════════ */

.ac {
  padding: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.ag {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.ap {
  background: var(--dc);
  border-radius: var(--radius-lg);
  border: 1px solid var(--ng-dim);
  padding: 2rem;
  transition: var(--transition-base);
}

.ap:hover { border-color: var(--ng-mid); }

.ap h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
  color: var(--ng);
}

.aml { margin-top: 1rem; }

.ami {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem;
  background: var(--ds);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  border: 1px solid rgba(0,255,136,0.05);
  transition: var(--transition-fast);
}

.ami:hover {
  border-color: var(--ng);
  transform: translateX(4px);
}

.ami-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
}

.ami-img {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  flex-shrink: 0;
}

.ami-name {
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ami-sub {
  font-size: 0.8rem;
  color: var(--ts);
}

.ad {
  padding: 0.8rem;
  background: var(--ds);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  border-left: 3px solid var(--ny);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  transition: var(--transition-fast);
}

.ad:hover { background: var(--ds-light); }

.ad-n {
  font-weight: 700;
  color: var(--ny);
}

.ad-d {
  font-size: 0.85rem;
  color: var(--ts);
}

.ad2 {
  text-align: center;
  padding: 4rem 2rem;
}

.ad2 .ic {
  font-size: 4rem;
  margin-bottom: 1rem;
}

.ad2 h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--nr);
}

.ad2 p {
  color: var(--ts);
  margin-bottom: 2rem;
}

/* Admin: Mensagens */
.msg-adm {
  padding: 0.8rem;
  background: var(--ds);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  border-left: 3px solid var(--ng);
  transition: var(--transition-fast);
}

.msg-adm:hover { border-left-color: var(--ny); }

.msg-adm.unread {
  background: var(--ng-dim);
  border-left-color: var(--nr);
}

.msg-adm-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.msg-adm-user {
  font-weight: 700;
  color: var(--ng);
}

.msg-adm-sub {
  font-size: 0.9rem;
  color: var(--tp);
  margin-top: 0.2rem;
}

.msg-adm-date {
  font-size: 0.75rem;
  color: var(--ts);
  white-space: nowrap;
}

.msg-adm-body {
  color: var(--ts);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  line-height: 1.5;
}

.msg-adm-rep {
  background: var(--ny-dim);
  border: 1px solid var(--ny-mid);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
  margin-top: 0.5rem;
}

.msg-adm-rep strong {
  color: var(--ny);
  font-size: 0.8rem;
}

.msg-adm-rep p {
  color: var(--tp);
  font-size: 0.9rem;
  margin-top: 0.3rem;
  line-height: 1.5;
}

.msg-adm-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
}

/* Admin: Bugs */
.bug-adm {
  padding: 0.8rem;
  background: var(--ds);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  border-left: 3px solid var(--nr);
  transition: var(--transition-fast);
}

.bug-adm:hover { border-left-color: var(--ny); }

.bug-adm.resolved {
  border-left-color: var(--ng);
  background: rgba(0,255,136,0.03);
}

.bug-adm.rejected {
  border-left-color: var(--ts);
  background: rgba(160,160,176,0.03);
}

.bug-adm-hd {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.5rem;
  gap: 1rem;
}

.bug-adm-user {
  font-weight: 700;
  color: var(--ng);
  font-size: 0.9rem;
}

.bug-adm-mod {
  font-family: var(--font-display);
  color: var(--ny);
  font-size: 0.85rem;
}

.bug-adm-date {
  font-size: 0.75rem;
  color: var(--ts);
  white-space: nowrap;
}

.bug-adm-desc {
  color: var(--tp);
  font-size: 0.9rem;
  margin-bottom: 0.8rem;
  line-height: 1.5;
  white-space: pre-wrap;
}

.bug-adm-img {
  max-width: 100%;
  max-height: 200px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--ng-mid);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-bottom: 0.8rem;
}

.bug-adm-img:hover { transform: scale(1.02); }

.bug-adm-note {
  background: var(--ng-dim);
  border: 1px solid var(--ng-mid);
  border-radius: var(--radius-sm);
  padding: 0.8rem;
  margin-top: 0.5rem;
}

.bug-adm-note strong {
  color: var(--ng);
  font-size: 0.8rem;
}

.bug-adm-note p {
  color: var(--tp);
  font-size: 0.9rem;
  margin-top: 0.3rem;
  line-height: 1.5;
}

.bug-adm-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.8rem;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVIDADE
   ═══════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
  .nav { padding: 0 1rem; }

  .nl { display: none; }

  .mb2 {
    display: flex !important;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--ng);
    border-radius: var(--radius-sm);
    color: var(--ng);
    font-size: 1.2rem;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    padding: 0;
  }

  .nl.mob {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10,10,15,0.98);
    padding: 1rem;
    border-bottom: 2px solid var(--ng);
    gap: 0.25rem;
  }

  .hero { height: 350px; }
  .sl-ct { left: 20px; bottom: 40px; max-width: 80%; }
  .sl-t { font-size: 1.5rem; }
  .mg { grid-template-columns: 1fr; padding: 0 1rem 2rem; }
  .mc2 { padding: 1rem; }
  .card-i { flex-direction: column; }
  .card-img { width: 100%; height: 200px; }
  .ag { grid-template-columns: 1fr; }
  .rep-hd { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .msg-hd { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .ami { gap: 0.5rem; }
  .ami-info { min-width: 0; }
  .ad { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .container { padding-inline: 1rem; }
  .lc { padding: 1rem; }
  .ac { padding: 1rem; }
  .tb { right: 10px; left: 10px; }
  .t { min-width: unset; width: 100%; }
}

@media (max-width: 480px) {
  .ab { padding: 2rem 1.5rem; }
  .hero { height: 300px; }
  .sl-ct { bottom: 30px; left: 15px; }
  .ar { width: 40px; height: 40px; font-size: 1.2rem; }
  .ar.p { left: 10px; }
  .ar.n { right: 10px; }
  .st { font-size: 1.3rem; }
}