:root {
  /* Tom azul PokeNight (pnight.com.br) */
  --bg: #0b0f34;
  --bg-2: #13184a;
  --ink: #fffafa;
  --muted: #9aa4d0;
  --line: rgba(255, 230, 78, 0.28);
  --gold: #ffe64e;
  --ice: #7ec8ff;
  --violet: #3d5cff;
  --magenta: #5b7cff;
  --danger: #dc2e3b;
  --ok: #6dffb0;
  --radius: 18px;
  --font: "Outfit", system-ui, sans-serif;
  --display: "Bebas Neue", Impact, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: var(--ice); text-decoration: none; }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; image-rendering: auto; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.4rem;
  background: rgba(11, 15, 52, 0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}
.brand-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  filter: drop-shadow(0 0 12px rgba(61, 92, 255, 0.45));
}
.brand-text {
  font-family: var(--display);
  font-size: 1.55rem;
  letter-spacing: 0.04em;
}
.brand-text em {
  font-style: normal;
  color: var(--ice);
}
.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1rem;
  flex-wrap: wrap;
}
.nav > a, .nav-drop-btn {
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  background: none;
  border: 0;
  cursor: pointer;
  font: inherit;
  padding: 0.35rem 0.15rem;
}
.nav > a:hover, .nav-drop-btn:hover, .nav > a.active { color: var(--ink); }
.nav-cta {
  color: #0b0f34 !important;
  background: linear-gradient(135deg, var(--gold), #ffc107);
  padding: 0.55rem 1rem !important;
  border-radius: 999px;
  font-weight: 700 !important;
}
.nav-cta:hover { filter: brightness(1.08); color: #0b0f34 !important; }

.nav-auth {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.5rem;
}
.btn-nav {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 1.1rem !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  font-size: 0.92rem !important;
  line-height: 1.1;
  text-decoration: none !important;
  transition: transform .15s ease, filter .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn-nav:hover { transform: translateY(-1px); }
.btn-nav-primary {
  color: #0b0f34 !important;
  background: linear-gradient(135deg, #fff3a0 0%, #ffe64e 40%, #ffc107 100%) !important;
  border: 1px solid rgba(255, 230, 78, 0.85) !important;
  box-shadow:
    0 0 0 1px rgba(255, 193, 7, 0.25),
    0 8px 24px rgba(255, 230, 78, 0.35),
    0 0 28px rgba(255, 230, 78, 0.2);
}
.btn-nav-primary:hover {
  color: #0b0f34 !important;
  filter: brightness(1.08);
  box-shadow:
    0 0 0 1px rgba(255, 230, 78, 0.45),
    0 10px 28px rgba(255, 230, 78, 0.45),
    0 0 36px rgba(255, 230, 78, 0.3);
}
.btn-nav-ghost {
  color: #ffffff !important;
  background: rgba(110, 231, 255, 0.12) !important;
  border: 1.5px solid rgba(110, 231, 255, 0.75) !important;
  box-shadow: 0 0 18px rgba(110, 231, 255, 0.2);
}
.btn-nav-ghost:hover {
  color: #061018 !important;
  background: linear-gradient(135deg, #9af0ff, #6ee7ff) !important;
  border-color: #b8f6ff !important;
  box-shadow: 0 8px 22px rgba(110, 231, 255, 0.35);
}

.nav-drop { position: relative; }
.nav-drop-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.caret {
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.7;
  transition: transform .15s ease;
}
.nav-drop:hover .caret,
.nav-drop.open .caret {
  transform: rotate(180deg);
}
.nav-drop-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 0.45rem;
  margin-top: 0;
  border-radius: 14px;
  background: rgba(11, 15, 52, 0.97);
  border: 1px solid rgba(126, 200, 255, 0.22);
  box-shadow: 0 18px 40px rgba(0,0,0,0.45);
  z-index: 60;
  /* ponte invisivel pra nao fechar ao mover o mouse */
  padding-top: 0.7rem;
  margin-top: -0.25rem;
}
.nav-drop-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 14px;
}
@media (hover: hover) and (pointer: fine) {
  .nav-drop:hover .nav-drop-menu,
  .nav-drop:focus-within .nav-drop-menu {
    display: grid;
    gap: 0.15rem;
  }
}
.nav-drop.open .nav-drop-menu {
  display: grid;
  gap: 0.15rem;
}
.nav-drop-menu a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: #e8eefc;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-weight: 500;
}
.nav-drop-menu a:hover {
  background: rgba(110, 231, 255, 0.1);
  color: #fff;
}
.mi {
  width: 18px;
  height: 18px;
  display: inline-block;
  border-radius: 4px;
  background: rgba(110, 231, 255, 0.15);
  border: 1px solid rgba(110, 231, 255, 0.35);
  flex: 0 0 18px;
  position: relative;
}
.mi::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: currentColor;
  opacity: 0.85;
  border-radius: 2px;
}
.mi-trophy::after { clip-path: polygon(30% 10%, 70% 10%, 70% 45%, 85% 70%, 15% 70%, 30% 45%); }
.mi-dot::after { border-radius: 50%; inset: 5px; background: #6dffb0; }
.mi-star::after { clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%); }
.mi-swords::after { clip-path: polygon(10% 0, 40% 0, 90% 70%, 100% 100%, 70% 90%, 0 40%, 0 10%); }
.mi-ban::after { border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 2px #ff6b8a; }
.mi-spark::after { clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); }
.mi-book::after { inset: 3px 5px; }
.mi-dl::after { clip-path: polygon(35% 0, 65% 0, 65% 50%, 85% 50%, 50% 90%, 15% 50%, 35% 50%); }
.mi-chat::after { border-radius: 3px 3px 3px 0; }
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: 10px;
  padding: 0.35rem 0.6rem;
  font-size: 1.1rem;
}

/* Dock lateral — estilo PokeNight */
.social-dock {
  position: fixed;
  right: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 45;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.social-btn {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  background: rgba(12, 18, 40, 0.92);
  border: 1.5px solid rgba(110, 231, 255, 0.55);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  transition: transform .18s ease, border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.social-btn svg {
  width: 24px;
  height: 24px;
}
.social-btn:hover {
  transform: translateY(-2px) scale(1.04);
  color: #fff;
  border-color: #fff;
  box-shadow: 0 14px 32px rgba(110, 231, 255, 0.25);
}
.social-discord:hover {
  background: #5865F2;
  border-color: #5865F2;
}
.social-whatsapp {
  background: #1fad57;
  border-color: #3dff8a;
}
.social-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  transform: scale(1.04);
  animation: drift 18s ease-in-out infinite alternate;
  z-index: -2;
}
.hero-veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11,15,52,0.2) 0%, rgba(11,15,52,0.55) 55%, rgba(11,15,52,0.95) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(61,92,255,0.28), transparent 55%);
}
.hero-content {
  text-align: center;
  padding: 4rem 1.25rem 3rem;
  max-width: 820px;
  animation: rise 0.9s ease both;
}
.hero-logo {
  width: min(420px, 86vw);
  margin: 0 auto 1.2rem;
  background: transparent;
  filter: drop-shadow(0 18px 40px rgba(0,0,0,0.55));
  animation: floaty 5s ease-in-out infinite;
}
.hero-lead {
  font-size: clamp(1.05rem, 2.2vw, 1.3rem);
  color: #d5def8;
  max-width: 34rem;
  margin: 0 auto 1.6rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.65);
}
.hero-actions {
  display: flex;
  gap: 0.85rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.4rem;
}
.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(10, 8, 24, 0.65);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--muted);
  font-size: 0.92rem;
}
.dot {
  width: 9px; height: 9px; border-radius: 50%;
  background: #666;
}
.dot.on { background: var(--ok); box-shadow: 0 0 12px var(--ok); }
.dot.off { background: var(--danger); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  transition: transform .15s ease, filter .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #0b0f34;
  background: linear-gradient(135deg, var(--gold), #ffc107);
  box-shadow: 0 10px 30px rgba(255, 230, 78, 0.28);
}
.btn-ghost {
  color: var(--ink);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
}

.section { padding: 4rem 1.25rem; background: #07060f; }
.page-inner .section,
.page-account .section {
  background: #07060f;
}
.container { width: min(1100px, 100%); margin: 0 auto; }
.container.narrow { width: min(760px, 100%); }
.bands { background: linear-gradient(180deg, #07060f 0%, #0f0a1c 100%); }
.trio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}
.card-feature {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--bg-2);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  animation: rise 0.8s ease both;
}
.card-feature:nth-child(2) { animation-delay: .08s; }
.card-feature:nth-child(3) { animation-delay: .16s; }
.card-feature h3 {
  font-family: var(--display);
  font-size: 1.7rem;
  letter-spacing: 0.03em;
  margin: 0 0 0.5rem;
  color: var(--gold);
}
.card-feature p { color: var(--muted); margin: 0 0 1rem; }
.card-feature a { font-weight: 600; }

.cta-band {
  background: #120b22;
}
.cta-row {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}
.cta-row h2 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 0.3rem;
  letter-spacing: 0.03em;
}
.cta-row p { margin: 0; color: var(--muted); }
.cta-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; }

.site-footer {
  border-top: 1px solid rgba(255,255,255,0.07);
  padding: 3rem 1.25rem 1.5rem;
  background: #05040c;
}
.footer-grid {
  width: min(1100px, 100%);
  margin: 0 auto 2rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 1.5rem;
}
.footer-brand {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}
.footer-grid h4 { margin: 0 0 0.6rem; color: var(--gold); }
.footer-grid a, .footer-grid p {
  display: block;
  color: var(--muted);
  margin: 0.25rem 0;
}
.footer-bottom {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: #7d7196;
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 1rem;
}

.auth-wrap {
  min-height: calc(100vh - 80px);
  display: grid;
  place-items: center;
  padding: 2rem 1rem 3rem;
  background: #07060f;
}
.auth-card {
  width: min(720px, 100%);
  padding: 1.6rem;
  border-radius: 22px;
  background: #0c081c;
  border: 1px solid rgba(255, 213, 106, 0.22);
  box-shadow: 0 30px 80px rgba(0,0,0,0.45);
}
.auth-card-sm { width: min(440px, 100%); }
.auth-card h1 {
  font-family: var(--display);
  font-size: 2.4rem;
  margin: 0 0 0.35rem;
  letter-spacing: 0.04em;
}
.muted { color: var(--muted); }
.center { text-align: center; }
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-stack { display: grid; gap: 0.85rem; }
fieldset {
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 0.9rem;
  margin: 0;
}
legend { color: var(--gold); padding: 0 0.35rem; }
label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.65rem;
}
input, select, textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  color: var(--ink);
  padding: 0.7rem 0.85rem;
  font: inherit;
}
input:focus, select:focus {
  outline: 2px solid rgba(110, 231, 255, 0.35);
  border-color: var(--ice);
}
.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
  grid-column: 1 / -1;
}
.form-msg { margin: 0.5rem 0 0; font-weight: 600; }
.form-msg.ok { color: var(--ok); }
.form-msg.err { color: var(--danger); }

.page-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.page-head h1, .section h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  letter-spacing: 0.04em;
  margin: 0;
}
.page-head-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 1rem;
}
.panel {
  background: #120b22;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 1.2rem;
}
.panel h2 {
  margin: 0 0 1rem;
  font-family: var(--display);
  letter-spacing: 0.04em;
  color: var(--gold);
  font-size: 1.6rem;
}
.kv { margin: 0; display: grid; gap: 0.55rem; }
.kv > div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  padding-bottom: 0.4rem;
}
.kv dt { color: var(--muted); }
.kv dd { margin: 0; font-weight: 600; }
.panel-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 1rem; }
.char-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; }
.char-list a {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--ink);
}
.char-list a:hover { border-color: var(--gold); }
.char-list span { color: var(--muted); }
.char-list a.is-active { border-color: var(--gold); background: rgba(232, 196, 98, 0.08); }

.guild-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1rem;
  align-items: start;
}
.guild-chars { position: sticky; top: 1rem; }
.guild-main { display: grid; gap: 1rem; }
.form-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}
.form-inline input[type="text"] {
  flex: 1;
  min-width: 160px;
}
.invite-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}
.invite-list > li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.85rem 0.95rem;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.invite-list > li > div:first-child {
  display: grid;
  gap: 0.25rem;
}
.invite-actions {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  align-items: flex-start;
}
.guild-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}
.btn-link {
  background: none;
  border: 0;
  color: var(--gold);
  cursor: pointer;
  padding: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.btn-link:hover { color: #fff; }
.btn-danger {
  background: linear-gradient(135deg, #c6284a, #8e1f36);
  color: #fff;
  border: 0;
}
.btn-danger:hover { filter: brightness(1.08); }
.panel-danger-zone h2 { color: #ff8aa0; }

.table {
  width: 100%;
  border-collapse: collapse;
  background: #120b22;
  border-radius: 14px;
  overflow: hidden;
}
.table th, .table td {
  text-align: left;
  padding: 0.75rem 0.9rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.table th { color: var(--gold); font-weight: 600; background: rgba(0,0,0,0.2); }
.steps { color: var(--muted); padding-left: 1.2rem; }
.steps li { margin: 0.5rem 0; }
.download-panel { margin: 1.5rem 0; text-align: center; }
.prose ol { color: var(--muted); }
.alert {
  padding: 0.9rem 1rem;
  border-radius: 12px;
  margin-bottom: 1rem;
}
.alert-warn {
  background: rgba(255, 180, 50, 0.12);
  border: 1px solid rgba(255, 180, 50, 0.35);
  color: #ffd89a;
}
.status-section { padding-top: 1.5rem; }
.status-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}
.stat-card {
  background: #120b22;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 0.9rem 1rem;
  display: grid;
  gap: 0.25rem;
}
.stat-label { color: var(--muted); font-size: 0.82rem; }
.stat-card strong { font-size: 1.25rem; }
.stat-card strong.ok { color: var(--ok); }
.stat-card strong.bad { color: var(--danger); }
.stat-card small { color: var(--muted); font-weight: 500; font-size: 0.85rem; }
.motd-panel {
  background: #140d28;
  border: 1px solid rgba(255, 213, 106, 0.22);
  border-radius: 18px;
  padding: 1.1rem 1.25rem;
}
.motd-head {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-bottom: 0.6rem;
}
.motd-head h2 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0.04em;
  color: var(--gold);
  font-size: 1.6rem;
}
.motd-body {
  margin: 0;
  white-space: pre-wrap;
  color: #e8deff;
  font-family: var(--font);
  line-height: 1.55;
}
.pill {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
}
.pill-on { background: rgba(109,255,176,0.15); color: var(--ok); }
.pill-off { background: rgba(255,255,255,0.06); color: var(--muted); }
.points-value { color: var(--gold); font-size: 1.15rem; }
.points-hint { margin: 0.8rem 0 0; font-size: 0.9rem; }
.shiny-group { margin-bottom: 1.75rem; }
.shiny-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.7rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid rgba(255, 213, 106, 0.2);
}
.shiny-group-head h2 {
  margin: 0;
  font-family: var(--display);
  letter-spacing: 0.04em;
  color: var(--gold);
  font-size: 1.45rem;
}
.shiny-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.65rem;
}
.shiny-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0.9rem;
  border-radius: 12px;
  background: #120b22;
  border: 1px solid rgba(255,255,255,0.08);
}
.shiny-info {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}
.shiny-info strong {
  color: #fff;
  font-size: 0.98rem;
}
.shiny-base {
  color: var(--muted);
  font-size: 0.78rem;
}
.shiny-rate {
  flex: 0 0 auto;
  min-width: 2rem;
  text-align: center;
  color: #0b0f34;
  background: linear-gradient(135deg, #fff3a0, var(--gold));
  font-weight: 800;
  font-size: 0.95rem;
  padding: 0.35rem 0.55rem;
  border-radius: 999px;
}
.flash {
  text-align: center;
  padding: 0.7rem 1rem;
  font-weight: 600;
}
.flash-ok { background: rgba(109,255,176,0.15); color: var(--ok); }
.flash-err { background: rgba(255,107,138,0.15); color: var(--danger); }

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes drift {
  from { transform: scale(1.04) translateY(0); }
  to { transform: scale(1.08) translateY(-1.5%); }
}

@media (max-width: 900px) {
  .trio, .footer-grid, .account-grid, .form-grid, .guild-layout { grid-template-columns: 1fr; }
  .guild-chars { position: static; }
  .status-grid { grid-template-columns: repeat(2, 1fr); }
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    background: rgba(7,6,15,0.96);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    gap: 0.35rem;
  }
  .nav.open { display: flex; }
  .nav-auth {
    margin-left: 0;
    margin-top: 0.5rem;
    flex-direction: column;
    align-items: stretch;
  }
  .btn-nav {
    width: 100%;
    justify-content: center;
  }
  .nav-drop-menu {
    position: static;
    display: none;
    margin-top: 0.35rem;
    padding-top: 0.45rem;
    box-shadow: none;
  }
  .nav-drop-menu::before { display: none; }
  .nav-drop.open .nav-drop-menu { display: grid; }
  @media (hover: hover) and (pointer: fine) {
    .nav-drop:hover .nav-drop-menu { display: none; }
    .nav-drop.open:hover .nav-drop-menu { display: grid; }
  }
  .social-dock {
    right: 0.7rem;
    top: auto;
    bottom: 1.1rem;
    transform: none;
  }
  .social-btn {
    width: 46px;
    height: 46px;
    border-radius: 12px;
  }
  .social-btn svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .status-grid { grid-template-columns: repeat(3, 1fr); }
}

/* —— Doacao —— */
.nav-shop {
  color: var(--gold) !important;
  font-weight: 700;
}
.donate-page {
  position: relative;
  overflow: hidden;
}
.donate-page::before {
  content: "";
  position: absolute;
  inset: -20% auto auto 50%;
  width: 720px;
  height: 720px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(61, 92, 255, 0.22), transparent 68%);
  pointer-events: none;
  z-index: 0;
}
.donate-shell {
  position: relative;
  z-index: 1;
  max-width: 560px;
  margin: 0 auto;
  padding: 0 1rem 2rem;
}
.donate-hero {
  text-align: center;
  margin-bottom: 1.4rem;
}
.donate-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.donate-hero h1 {
  margin: 0 0 0.55rem;
  font-family: var(--display);
  font-size: clamp(2.4rem, 7vw, 3.4rem);
  letter-spacing: 0.04em;
  line-height: 0.95;
}
.donate-lead {
  margin: 0 auto 0.85rem;
  max-width: 38ch;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.55;
}
.donate-rate {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin: 0;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--muted);
  font-size: 0.88rem;
}
.donate-rate strong { color: var(--ink); }
.donate-promo-banner {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 1rem auto 0;
  max-width: 420px;
  padding: 0.9rem 1rem;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(255, 230, 78, 0.16), rgba(109, 255, 176, 0.1));
  border: 1px solid rgba(255, 230, 78, 0.42);
}
.donate-promo-banner[hidden] { display: none !important; }
.donate-promo-banner strong {
  color: var(--gold);
  letter-spacing: 0.08em;
  font-size: 0.82rem;
}
.donate-promo-banner em { color: var(--ok); font-style: normal; font-weight: 700; }

.donate-admin {
  margin-bottom: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 230, 78, 0.2);
}
.donate-admin-head h2 {
  margin: 0;
  font-size: 1rem;
}
.donate-admin-head p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.donate-toggle {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.45rem;
  margin-top: 0.85rem;
}
.donate-toggle-btn {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.22);
  color: var(--muted);
  border-radius: 12px;
  padding: 0.75rem 0.4rem;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: .15s ease;
}
.donate-toggle-btn:hover { color: var(--ink); border-color: rgba(255,230,78,0.35); }
.donate-toggle-btn.is-on {
  color: #151528;
  background: var(--gold);
  border-color: var(--gold);
  box-shadow: 0 8px 24px rgba(255, 230, 78, 0.25);
}

.donate-card {
  padding: 1.45rem 1.3rem 1.25rem;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.045), transparent 28%),
    linear-gradient(165deg, rgba(28, 36, 88, 0.98), rgba(10, 14, 42, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.06) inset,
    0 28px 70px rgba(0, 0, 0, 0.4);
}
.donate-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.donate-card-title h2 {
  margin: 0;
  font-size: 1.15rem;
  letter-spacing: 0.01em;
}
.donate-card-title p {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}
.btn-sm { padding: 0.45rem 0.8rem; font-size: 0.85rem; }
.shop-balance {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(109, 255, 176, 0.1);
  border: 1px solid rgba(109, 255, 176, 0.3);
  color: var(--muted);
  font-size: 0.85rem;
  white-space: nowrap;
}
.shop-balance strong { color: var(--ok); }
.donate-label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.55rem;
  font-size: 0.95rem;
}
.donate-input-wrap {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.15rem 1rem;
  border-radius: 16px;
  background: rgba(0,0,0,0.32);
  border: 1px solid rgba(126, 200, 255, 0.28);
  box-shadow: 0 0 0 3px rgba(126, 200, 255, 0.06);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.donate-input-wrap:focus-within {
  border-color: rgba(126, 200, 255, 0.55);
  box-shadow: 0 0 0 4px rgba(126, 200, 255, 0.12);
}
.donate-input {
  flex: 1;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: clamp(1.8rem, 5vw, 2.35rem);
  font-weight: 700;
  font-family: var(--display);
  letter-spacing: 0.04em;
  outline: none;
  padding: 0.7rem 0;
  -moz-appearance: textfield;
  appearance: textfield;
}
.donate-input::-webkit-outer-spin-button,
.donate-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.donate-input-suffix {
  color: var(--muted);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  flex-shrink: 0;
}
.donate-hint {
  margin: 0.45rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
}
.donate-presets {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 1rem 0 1.2rem;
}
.donate-chip {
  appearance: none;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.03);
  color: var(--muted);
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: .15s ease;
}
.donate-chip.is-on,
.donate-chip:hover {
  color: var(--ink);
  border-color: rgba(126, 200, 255, 0.5);
  background: rgba(126, 200, 255, 0.12);
}
.donate-summary {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1.05rem;
  margin-bottom: 1.15rem;
  border-radius: 16px;
  background: rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.06);
}
.donate-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.donate-summary-row strong {
  color: var(--ink);
  font-size: 1.05rem;
}
.donate-credit { color: var(--gold) !important; font-size: 1.25rem !important; }
.donate-mult { color: var(--ok) !important; }
.btn-donate {
  width: 100%;
  padding: 1rem 1.1rem;
  font-size: 1.05rem;
  font-weight: 700;
  border-radius: 14px;
  letter-spacing: 0.01em;
}
.donate-legal {
  margin: 0.95rem 0 0;
  font-size: 0.78rem;
  line-height: 1.5;
  text-align: center;
  color: var(--muted);
}
.donate-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1.25rem;
}
.donate-steps article {
  padding: 0.9rem 0.85rem;
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.donate-steps span {
  display: block;
  font-family: var(--display);
  color: var(--gold);
  letter-spacing: 0.08em;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}
.donate-steps h3 {
  margin: 0 0 0.3rem;
  font-size: 0.95rem;
}
.donate-steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.4;
}
.donate-result .shop-points {
  font-size: 2rem;
  color: var(--gold);
  font-weight: 700;
}

@media (max-width: 640px) {
  .donate-steps { grid-template-columns: 1fr; }
  .donate-card-top { flex-direction: column; align-items: stretch; }
  .shop-balance { align-self: flex-start; }
}
