/* ============================================================
   MCPvP Brasil - estilo clássico de site de servidor
   ============================================================ */
:root {
  --green: #2fbf4a;
  --green-dark: #23963a;
  --yellow: #ffd21f;
  --link: #5fd46f;
  --panel: rgba(20, 20, 20, .84);
  --border: rgba(255, 255, 255, .09);
  --sans: "Open Sans", "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 66px; }
body {
  font-family: var(--sans); font-size: 15px; line-height: 1.6;
  color: #d6d6d6; background: #1b2414;
  padding-top: 50px; /* altura da barra fixa */
}
a { color: var(--link); text-decoration: none; }
a:hover { color: #8ff09b; text-decoration: underline; }
.ico { width: 16px; height: 16px; fill: currentColor; flex: none; }

/* ---------- Fundo: o mapa, fixo atrás de tudo ---------- */
.bg {
  position: fixed; inset: -30px; z-index: -2;
  background: url("bg.jpg") center / cover no-repeat;
  filter: blur(5px) brightness(.72);
  opacity: 0; transition: opacity .5s ease;
}
.bg.loaded { opacity: 1; }
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at center, rgba(0, 0, 0, .1) 35%, rgba(0, 0, 0, .6) 100%);
}

.container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 15px; }

/* ---------- Barra de menu ---------- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 10; height: 50px;
  background: linear-gradient(#2a2a2a, #1b1b1b);
  border-bottom: 1px solid #000; box-shadow: 0 2px 6px rgba(0, 0, 0, .5);
}
.nav-inner { display: flex; align-items: center; height: 50px; }
.brand {
  display: flex; align-items: center; gap: 8px; margin-right: 16px;
  font-size: 17px; font-weight: 800; color: #fff; white-space: nowrap;
}
.brand span { color: var(--yellow); }
.brand:hover { color: #fff; text-decoration: none; }
.brand img { image-rendering: pixelated; }
.nav { display: flex; list-style: none; height: 100%; }
.nav a {
  display: flex; align-items: center; gap: 6px; height: 100%; padding: 0 15px;
  color: #9d9d9d; font-weight: 600; font-size: 14px;
}
.nav a:hover { color: #fff; text-decoration: none; background: rgba(255, 255, 255, .04); }
.nav .active a { color: #fff; background: #0f0f0f; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 1px solid #444; border-radius: 4px; padding: 9px 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: #ccc; border-radius: 1px; }
.nav-toggle span + span { margin-top: 4px; }

/* ---------- Banner (compacto) ---------- */
.page { padding-top: 22px; padding-bottom: 22px; }
.banner {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  padding: 20px 15px; margin-bottom: 20px;
  background: rgba(0, 0, 0, .4); border: 1px solid var(--border); border-radius: 6px;
}
.banner-heart { image-rendering: pixelated; filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, .6)); }
.banner h1 {
  font-size: 32px; font-weight: 800; line-height: 1.1; color: #fff; letter-spacing: -.5px;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, .55);
}
.banner h1 em { font-style: normal; color: var(--yellow); }
.banner p { margin-top: 4px; font-size: 14px; font-weight: 600; color: #8fe89c; text-shadow: 1px 1px 0 #000; }

/* ---------- Colunas ---------- */
.row { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; }
.panel {
  background: var(--panel); border: 1px solid var(--border); border-radius: 6px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .4);
}
.col-main { padding: 6px 26px 24px; }
.col-main h2 {
  font-size: 24px; font-weight: 600; color: #fff; margin: 24px 0 10px;
  padding-bottom: 6px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.col-main p { margin-bottom: 10px; }
.col-main ol { margin: 6px 0 10px 24px; }
.col-main li { margin-bottom: 6px; }
.rules > li { margin-bottom: 14px; }
.rules ol { margin: 6px 0 0 22px; }
.rules ol li { margin-bottom: 2px; }
.rules strong { color: #fff; }
.pun { color: #ff8080; font-size: 13px; }

/* ---------- Lateral ---------- */
.col-side { display: grid; gap: 20px; }
.side-box { padding: 16px 18px 18px; }
.side-box h3 {
  font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  color: #fff; margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.small { font-size: 13px; color: #999; margin-top: 8px; text-align: center; }

/* Caixa do IP */
.ip-box {
  display: flex; flex-direction: column; align-items: center; gap: 2px; width: 100%;
  padding: 12px 10px; cursor: pointer; font-family: var(--sans);
  background: rgba(0, 0, 0, .45); color: #fff;
  border: 1px dashed rgba(255, 255, 255, .25); border-radius: 4px;
  transition: border-color .15s, background .15s;
}
.ip-box:hover { border-color: var(--green); background: rgba(47, 191, 74, .12); }
.ip-box:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.ip-value { font-size: 20px; font-weight: 800; letter-spacing: .3px; }
.ip-hint { font-size: 12px; color: #aaa; }

/* Status (bolinha + contagem) */
.status {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-top: 12px; font-size: 14px; font-weight: 600; color: #ccc;
}
.dot { width: 9px; height: 9px; border-radius: 50%; background: #777; flex: none; }
.status.online .dot { background: var(--green); box-shadow: 0 0 0 3px rgba(47, 191, 74, .25); animation: pulse 2s infinite; }
.status.online b { color: #7cf08b; }
.status.offline .dot { background: #e5484d; }
@keyframes pulse { 50% { box-shadow: 0 0 0 6px rgba(47, 191, 74, 0); } }

/* Botão */
.btn {
  display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  padding: 10px 14px; border-radius: 4px; font-weight: 700; font-size: 14px; color: #fff;
}
.btn:hover { color: #fff; text-decoration: none; filter: brightness(1.1); }
.btn-discord { background: #5865f2; border: 1px solid #3f4ad1; }

/* Redes sociais: uma por linha, nome inteiro sempre visível */
.social-list { list-style: none; display: grid; gap: 6px; }
.social-list a {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px;
  border-radius: 4px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .07);
  color: #e6e6e6; font-weight: 600; font-size: 14px;
}
.social-list a:hover { background: rgba(255, 255, 255, .11); color: #fff; text-decoration: none; }
.social-list .net { flex: 1; }
.social-list .at { font-size: 12px; font-weight: 400; color: #999; }

/* ---------- Rodapé ---------- */
.footer { margin-top: 20px; padding: 14px 20px; font-size: 13px; color: #999; }

/* ---------- Aviso "copiado" ---------- */
.toast {
  position: fixed; left: 50%; top: 64px; transform: translate(-50%, -10px); z-index: 20;
  padding: 10px 16px; border-radius: 4px; font-size: 14px; font-weight: 600; color: #fff;
  background: var(--green-dark); box-shadow: 0 4px 12px rgba(0, 0, 0, .4);
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- Celular / tela pequena ---------- */
@media (max-width: 860px) {
  .row { grid-template-columns: 1fr; }
  .col-side { order: -1; }
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 50px; left: 0; right: 0; height: auto;
    flex-direction: column; background: #1b1b1b; border-bottom: 1px solid #000;
  }
  .nav.open { display: flex; }
  .nav a { height: auto; padding: 12px 20px; }
  .col-main { padding: 4px 18px 18px; }
  .col-main h2 { font-size: 20px; }
  .banner h1 { font-size: 26px; }
  .banner-heart { width: 40px; height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg, .toast { transition: none; }
  .status.online .dot { animation: none; }
}

/* Discord + redes na mesma caixa */
.btn-discord + .social-list { margin-top: 10px; }
