/* ==========================================================================
   SKELTH ASCENSION — UI no padrão do LAUNCHER
   Cantos chanfrados, contorno fino (ouro ou verde-água), losango ◆ como marcador,
   etiquetas inclinadas, números e nomes em fonte condensada (Gobold, fonte da marca),
   ícones sociais em círculo branco. Carregar DEPOIS do tema e do hero-cinematic.css.
   ========================================================================== */
@font-face { font-family: 'Gobold'; src: url('fonts/gobold-bold.otf') format('opentype'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --l-gold: #e2b65c;
  --l-gold-soft: rgba(226, 182, 92, 0.55);
  --l-cream: #f3dca6;
  --l-turq: #2fe0c0;
  --l-turq-soft: rgba(47, 224, 192, 0.45);
  --l-panel: linear-gradient(180deg, rgba(9, 30, 27, 0.92), rgba(4, 16, 14, 0.92));
  --l-cond: 'Gobold', 'Oswald', 'Arial Narrow', sans-serif;
  --l-cut: 10px;
}

/* chanfro padrão: corta o canto superior esquerdo e o inferior direito (como os cards do launcher) */
.l-chamfer,
.echo-realm, .echo-news, .login-btn, .hero-pause {
  clip-path: polygon(var(--l-cut) 0, 100% 0, 100% calc(100% - var(--l-cut)), calc(100% - var(--l-cut)) 100%, 0 100%, 0 var(--l-cut));
}

/* contorno que acompanha o chanfro: o fundo do elemento é a cor da borda,
   e o ::after (1px para dentro) é o miolo escuro */
.echo-realm, .echo-news { position: relative; isolation: isolate; border: 0 !important; border-radius: 0 !important; }
.echo-realm::after, .echo-news::after {
  content: ''; position: absolute; inset: 1px; z-index: -1;
  background: var(--l-panel);
  clip-path: polygon(calc(var(--l-cut) - 0.4px) 0, 100% 0, 100% calc(100% - var(--l-cut) + 0.4px), calc(100% - var(--l-cut) + 0.4px) 100%, 0 100%, 0 calc(var(--l-cut) - 0.4px));
}

/* ---------- CONTAGEM: os 4 quadros originais, com nossas cores e contorno chanfrado ---------- */
.echo-countdown { max-width: 420px; }
.echo-countdown-label {
  font-family: var(--e-serif); font-size: 13px; font-weight: 700;
  letter-spacing: 0.18em; color: var(--l-gold);
}
.echo-countdown-units span {
  position: relative; isolation: isolate;
  border: 0 !important; border-radius: 0 !important;
  background: var(--l-gold-soft) !important;
  clip-path: polygon(var(--l-cut) 0, 100% 0, 100% calc(100% - var(--l-cut)), calc(100% - var(--l-cut)) 100%, 0 100%, 0 var(--l-cut));
}
.echo-countdown-units span::after {
  content: ''; position: absolute; inset: 1px; z-index: -1;
  background: linear-gradient(180deg, #0c2a25 0%, #071a17 55%, #04100e 100%);
  clip-path: polygon(calc(var(--l-cut) - 0.4px) 0, 100% 0, 100% calc(100% - var(--l-cut) + 0.4px), calc(100% - var(--l-cut) + 0.4px) 100%, 0 100%, 0 calc(var(--l-cut) - 0.4px));
}
.echo-countdown-units small { color: var(--e-muted); }
.echo-countdown-date { color: var(--e-body); }

/* ---------- CARD DO SERVIDOR ---------- */
.echo-realm {
  background: var(--l-gold-soft);
  padding: 12px 16px; gap: 14px;
}
.echo-realm-orb { width: 44px; height: 44px; }
.echo-realm-orb::before { width: 22px; height: 22px; }
.echo-realm-info b {
  font-family: var(--l-cond); font-weight: 700; font-size: 26px; line-height: 1;
  letter-spacing: 0.06em; color: var(--l-cream);
}
.echo-realm-players { font-size: 12px; color: var(--e-muted); }
.echo-realm-pill {
  border-radius: 0 !important; padding: 4px 9px;
  font-family: var(--e-sans); font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em;
  background: var(--l-turq); color: #02201a; border: 0;
  clip-path: polygon(4px 0, 100% 0, calc(100% - 4px) 100%, 0 100%);
}
.echo-realm-pill.is-loading,
.echo-realm-pill.is-unknown { background: rgba(255, 255, 255, 0.1); color: var(--e-muted); }
.echo-realm-pill.is-maintenance { background: var(--l-gold); color: #241703; }
.echo-realm-pill.is-offline { background: rgba(255, 90, 90, 0.85); color: #2a0606; }

/* ---------- PATCH NOTES: card do launcher com etiqueta inclinada ---------- */
.echo-news {
  background: linear-gradient(135deg, var(--l-turq) 0%, var(--l-turq-soft) 18%, rgba(47, 224, 192, 0.18) 50%, var(--l-turq-soft) 82%, var(--l-turq) 100%);
  padding: 10px 14px 10px 10px;
  transition: transform .2s ease, filter .2s ease;
}
.echo-news:hover { transform: translateY(-2px); filter: drop-shadow(0 0 14px rgba(47, 224, 192, 0.3)); }
.echo-news img {
  border-radius: 0;
  clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px);
}
.echo-news small {
  display: inline-block; width: max-content; margin-bottom: 5px;
  padding: 3px 12px 3px 9px;
  font-family: var(--e-sans); font-size: 9.5px; font-weight: 800; letter-spacing: 0.18em;
  color: #02201a; background: var(--l-turq);
  clip-path: polygon(0 0, 100% 0, calc(100% - 7px) 100%, 0 100%);
}
.echo-news b { font-family: var(--l-cond); font-weight: 700; font-size: 17px; line-height: 1.15; letter-spacing: 0.04em; text-transform: uppercase; color: #fff; }

/* ---------- REDES SOCIAIS: círculo escuro, contorno claro, ícone branco ---------- */
.echo-follow { color: var(--e-muted); }
.echo-socials a {
  border-radius: 50% !important;
  background: rgba(8, 24, 22, 0.85) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  box-shadow: none !important;
}
.echo-socials img { filter: brightness(0) invert(1) !important; opacity: 0.9; }
.echo-socials a:hover { border-color: var(--l-turq) !important; background: rgba(47, 224, 192, 0.12) !important; }
.echo-socials a:hover img { opacity: 1; }

/* ---------- LOGIN e PAUSAR VÍDEO: contorno chanfrado discreto ---------- */
.login-btn {
  border-radius: 0 !important;
  font-family: var(--e-sans); letter-spacing: 0.24em;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  background: rgba(4, 16, 14, 0.55) !important;
}
.login-btn:hover { border-color: var(--l-turq) !important; color: var(--l-turq) !important; }
.hero-pause { border-radius: 0; font-family: var(--e-sans); letter-spacing: 0.14em; text-transform: uppercase; font-size: 10.5px; }

/* celular: a barra da contagem ocupa a largura */
@media (max-width: 1024px) {
  .echo-realm-info b { font-size: 22px; }
}
