/* =========================
   SCROLLBAR (GLOBAL)
========================= */
:root {
  --fab-right: 24px;
  --fab-bottom: 24px;
  --fab-gap: 12px;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(120, 150, 255, 0.55) rgba(255, 255, 255, 0.06);
}

/* Chrome / Edge / Safari */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 999px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(
    180deg,
    rgba(120, 150, 255, 0.55),
    rgba(79, 108, 255, 0.35)
  );
  border-radius: 999px;
  border: 3px solid rgba(10, 14, 24, 0.85); /* “recorta” e combina com fundo */
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(
    180deg,
    rgba(120, 150, 255, 0.80),
    rgba(79, 108, 255, 0.55)
  );
}

::-webkit-scrollbar-corner {
  background: transparent;
}



/* =========================
   RESET & BASE (REGISTRO)
========================= */
* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  min-height: 100vh;

  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;



background: radial-gradient(
  circle at top,
  #1b1f2a 0%,   /* grafite azulado */
  #0f121a 55%,
  #07090f 100%
);

   
  color: #e6e9f0;
}


/* =========================
   FORM CARD
========================= */
form{
  width: 100%;
  max-width: 420px;

  padding: 32px;
  border-radius: 16px;

  background: linear-gradient(180deg, #121735, #0b0f23);
  box-shadow:
    0 16px 60px rgba(0,0,0,0.65),
    inset 0 0 0 1px rgba(255,255,255,0.06);
}

form h2{
  margin: 0 0 22px;
  text-align: center;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: .3px;
}

/* =========================
   LABELS & HELPERS
========================= */
label{
  display: block;
  margin: 14px 0 8px;
  font-size: 13px;
  font-weight: 700;
  color: #cfd6ff;
}

small{
  font-size: 12px;
  opacity: .75;
}

/* =========================
   FIELDS (BASE)
========================= */
input,
select{
  width: 100%;
  height: 46px;              /* altura única */
  padding: 0 14px;           /* padding consistente */
  border-radius: 12px;

  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);

  color: rgba(255,255,255,0.92);
  font-size: 14px;

  outline: none;
  display: block;
}

input::placeholder{
  color: rgba(255,255,255,0.55);
}

input:focus,
select:focus{
  border-color: rgba(79,108,255,0.70);
  box-shadow: 0 0 0 3px rgba(79,108,255,0.22);
  background: rgba(0,0,0,0.42);
}

/* =========================
   LOGIN ROW (USER + SUFIXO)
========================= */
.login-row{
	
  display: grid;
  grid-template-columns: 1fr 0px;
  gap: 10px;
  align-items: stretch; /* garante mesma altura visual */
}

.login-input{ min-width: 0; }

/* select com seta custom */
.suffix-select{
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  padding-right: 40px; /* espaço para seta */
  font-weight: 800;

  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.75) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.75) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 12px) 19px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.suffix-select:invalid{
  color: rgba(255,255,255,0.55);
}

.suffix-select option{
  background: #0b1020;
  color: rgba(255,255,255,0.92);
}

/* mobile: sufixo desce pra baixo */
@media (max-width: 460px){
  .login-row{
    grid-template-columns: 1fr;
  }
}

/* =========================
   CAPTCHA
========================= */
.captcha-row{
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 10px;
  align-items: stretch;
  margin-top: 0px;
}

.captcha-img{
  width: 170px;
  height: 46px;              /* mesma altura do input */
  border-radius: 12px;

  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.03);

  cursor: pointer;
  display: block;
  object-fit: cover;
}

.captcha-input{
  height: 46px;              /* garante alinhamento */
}

.captcha-hint{
  display: block;
  margin-top: 8px;
  opacity: .75;
  font-size: 12px;
}

@media (max-width: 520px){
  .captcha-row{
    grid-template-columns: 1fr;
  }
  .captcha-img{
    width: 100%;
  }
}

/* =========================
   BUTTON
========================= */
button{
  width: 100%;
  height: 48px;
  margin-top: 14px;

  border: none;
  border-radius: 12px;

  background: linear-gradient(180deg, #5a74ff, #3a52d9);
  color: #ffffff;

  font-size: 14px;
  font-weight: 900;
  letter-spacing: .5px;

  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}

button:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(79,108,255,0.45);
  filter: brightness(1.05);
}

button:active{
  transform: translateY(0);
  box-shadow: none;
}

/* =========================
   MESSAGE (PHP $msg)
========================= */
form p{
  margin: 12px 0 0;
  text-align: center;
}

form p strong{
  color: #ffffff;
}



/* ===============================
   BOTÃO MÚSICA (MUTE / UNMUTE)
================================ */

.music-toggle {
    position: fixed;
    bottom: var(--fab-bottom);
    right: var(--fab-right);
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.5);
    transition: all 0.2s ease;
    z-index: 9999;
}


.music-toggle:hover {
    background: rgba(40, 40, 40, 0.9);
    transform: translateY(-2px);
}

.music-toggle.muted {
    opacity: 0.7;
}

.to-top {
  position: fixed;
  bottom: calc(var(--fab-bottom) + 2px); /* alinhamento visual */
  right: calc(
    var(--fab-right) + 48px + var(--fab-gap)
  );

  width: 44px;
  height: 44px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.92);
  display: grid;
  place-items: center;
  font-weight: 900;
  cursor: pointer;
  z-index: 9999;

  box-shadow: 0 14px 34px rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);

  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease, border-color .18s ease;
}
.to-top:hover {
  border-color: rgba(79,108,255,0.50);
  box-shadow: 0 18px 46px rgba(0,0,0,0.55);
}

.to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.to-top::before {
  content: '';
  width: 10px;
  height: 10px;
  border-top: 3px solid rgba(255,255,255,0.9);
  border-left: 3px solid rgba(255,255,255,0.9);
  transform: rotate(45deg);
  margin-top: 4px;
}

@media (max-width: 640px) {
  :root {
    --fab-right: 14px;
    --fab-bottom: 72px;
  }
}

/* =========================
   HEADER / NAVBAR
========================= */
header {
    height: 72px;
    padding: 0 32px;
   background: linear-gradient(
    180deg,
    #1f2333,
    #121522
  );
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

header h1 {
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;
    color: #ffffff;
    margin: 0;
}

nav a {
    color: #cfd6ff;
    text-decoration: none;
    margin-left: 20px;
    font-size: 14px;
    position: relative;
    transition: color 0.2s ease;
}

nav a:hover {
    color: #ffffff;
}

nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #4f6cff;
    transition: width 0.25s ease;
}

nav a:hover::after {
    width: 100%;
}

/* =========================
   MAIN / HERO
========================= */
main {
    padding: 10px 20px;
}

mainregister{
  min-height: 100vh;
  padding: 5px 5px;      /* era 60px; reduz */
  display: flex;
  justify-content: center;
  align-items: center;

  transform: translateY(-28px); /* sobe o painel */
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 16px;
    color: #ffffff;
    text-shadow: 0 0 20px rgba(79,108,255,0.35);
}

.hero p {
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
    color: #cfd6ff;
}

/* =========================
   FORMS (LOGIN / REGISTER)
========================= */
form {
    width: 100%;
    max-width: 380px;
    margin: 60px auto;
    padding: 32px;
     background: linear-gradient(
    180deg,
    #1f2333,
    #121522
  );
    border-radius: 14px;
    box-shadow:
        0 10px 40px rgba(0,0,0,0.6),
        inset 0 0 0 1px rgba(255,255,255,0.05);
}

form h2 {
    text-align: center;
    margin-bottom: 24px;
    font-weight: 600;
    color: #ffffff;
}

input {
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 14px;
    background: #080b18;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    color: #e6e9f0;
    font-size: 14px;
    outline: none;
}

input:focus {
    border-color: #4f6cff;
    box-shadow: 0 0 0 2px rgba(79,108,255,0.25);
}

/* =========================
   BUTTONS
========================= */
button {
    width: 100%;
    padding: 13px;
    background: linear-gradient(180deg, #5a74ff, #3a52d9);
    border: none;
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

button:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(79,108,255,0.45);
}

button:active {
    transform: translateY(0);
}

/* =========================
   USER PANEL
========================= */
.panel {
    max-width: 900px;
    margin: 60px auto;
    padding: 32px;
    background: linear-gradient(180deg, #121735, #0b0f23);
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

.panel h2 {
    margin-bottom: 12px;
    color: #ffffff;
}

.panel p {
    color: #cfd6ff;
}

.panel a {
    display: inline-block;
    margin-top: 14px;
    margin-right: 14px;
    color: #7d92ff;
    text-decoration: none;
    font-size: 14px;
}

.panel a:hover {
    color: #ffffff;
}

/* =========================
   PANEL GRID
========================= */
.panel-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

/* =========================
   PANEL CARD
========================= */
.panel-card {
 
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 12px 40px rgba(0,0,0,0.55);
}

.panel-card h3 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 18px;
    color: #ffffff;
}

.panel-card p {
    font-size: 14px;
    margin: 6px 0;
	
    color: #cfd6ff;
}

.panel-full {
    grid-column: 1 / -1;
}
/* =========================
   PANEL IMAGE
========================= */
.panel-image {
    margin-top: 18px;
    display: flex;
    justify-content: center;
}

.panel-image img {
    width: 100%;
    max-width: 420px;        /* controla tamanho */
    height: auto;

    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);

    box-shadow:
        0 10px 30px rgba(0,0,0,0.55),
        inset 0 0 0 1px rgba(255,255,255,0.04);

    transition: transform .3s ease, box-shadow .3s ease;
}

/* efeito leve (opcional, elegante) */
.panel-image img:hover {
    transform: scale(1.02);
    box-shadow:
        0 14px 36px rgba(0,0,0,0.65),
        inset 0 0 0 1px rgba(255,255,255,0.06);
}

/* mobile */
@media (max-width: 520px) {
    .panel-image img {
        max-width: 100%;
    }
}

/* =========================
   ACTIONS
========================= */
.panel-actions {
    margin-top: 16px;
}

.panel-actions .btn {
    display: inline-block;
    padding: 10px 16px;
    background: linear-gradient(
    180deg,
    #1f2333,
    #121522
  );
    border-radius: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.panel-actions .btn:hover {
    box-shadow: 0 8px 24px rgba(79,108,255,0.45);
}

/* =========================
   STATUS
========================= */
.status {
    font-weight: 600;
}

.status.online {
    color: #4cff9a;
}

.status.offline {
    color: #ff7d7d;
}
/* =========================
   MINI METRICS
========================= */
.mini-metrics {
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.mini-metric {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    padding: 12px 14px;
}

.mini-metric .label {
    display: block;
    font-size: 12px;
    color: #cfd6ff;
    margin-bottom: 6px;
}

.mini-metric .value {
    display: block;
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.3px;
}

@media (max-width: 820px) {
    .mini-metrics { grid-template-columns: 1fr; }
}

/* =========================
   TABLE
========================= */
.panel-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 13px;
}

.panel-table th,
.panel-table td {
    padding: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.panel-table th {
    color: #ffffff;
    text-align: left;
}

.panel-table td {
    color: #cfd6ff;
}

/* =========================
   PANEL FORM
========================= */
.panel-form {
    display: flex;
    flex-direction: column;
}

.panel-form label {
    font-size: 13px;
    margin: 10px 0 4px;
    color: #cfd6ff;
}

.panel-form input {
    background: #080b18;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 8px;
    padding: 12px;
    color: #e6e9f0;
}

/* =========================
   MESSAGES
========================= */
.msg {
    margin-top: 14px;
    padding: 10px;
    border-radius: 8px;
    font-size: 13px;
    text-align: center;
}

.msg.success {
    background: rgba(76,255,154,0.12);
    color: #4cff9a;
}

.msg.error {
    background: rgba(255,125,125,0.12);
    color: #ff7d7d;
}

/* =========================
   SECURITY LIST
========================= */
.security-list {
    margin: 12px 0 0;
    padding-left: 18px;
    font-size: 13px;
    color: #cfd6ff;
}

.security-list li {
    margin-bottom: 6px;
}
/* =========================
   NAV BADGE
========================= */
.nav-badge {
    margin-left: 18px;
    font-size: 12px;
    color: #cfd6ff;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
}
/* =========================
   RANK TABLE (BASE)
========================= */
.rank-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.rank-table th,
.rank-table td {
    padding: 8px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.rank-table th {
    color: #ffffff;
    text-align: left;
    font-weight: 600;
}

.rank-table td {
    color: #cfd6ff;
}

/* =========================
   RANKING UNIFICADO
========================= */
.rank-unified th,
.rank-unified td {
    text-align: center;
}

.rank-unified th:nth-child(2),
.rank-unified td:nth-child(2) {
    text-align: left;
}

.rank-unified .pvp {
    color: #4cff9a;
    font-weight: 600;
}

.rank-unified .pk {
    color: #ff7d7d;
    font-weight: 600;
}
/* =========================
   CHAR GRID
========================= */
.char-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
    margin-top: 16px;
}

.char-tile {
    all: unset;
    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 14px;

    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 12px 14px;

    transition: all .2s ease;
}

.char-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(0,0,0,.45);
    border-color: rgba(79,108,255,.45);
}

/* avatar */
.char-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;

    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.08);
    background: rgba(0,0,0,0.35);
    object-fit: cover;
}

/* meta */
.char-meta { flex: 1; min-width: 0; }

.char-name {
    display: flex;
    align-items: center;
    gap: 8px;

    font-weight: 10000;
    color: #ffffff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.char-sub {
    margin-top: 6px;
    font-size: 13px;
    color: #cfd6ff;
    opacity: .9;
}

/* online dot */
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.dot.on  { background:#4cff9a; box-shadow:0 0 8px rgba(76,255,154,.6); }
.dot.off { background:#ff7d7d; box-shadow:0 0 8px rgba(255,125,125,.5); }

/* =========================
   MODAL BASE
========================= */
.modal-open { overflow: hidden; }

.char-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
}

.char-modal[aria-hidden="true"] { display: none; }

.char-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
    backdrop-filter: blur(2px);
}

/* card */
.char-modal-card {
    position: relative;
    max-width: 760px;
    max-height: 86vh;
    margin: 6vh auto;

    display: flex;
    flex-direction: column;

    background: linear-gradient(180deg, #23262f, #0b0f23);
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,0.08);
    box-shadow: 0 40px 120px rgba(0,0,0,.85);
    overflow: hidden;
}

/* header */
.char-modal-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 18px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.char-modal-head h4 {
    margin: 0;
    font-size: 16px;
    color: #ffffff;
}

/* close */
.char-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;

    border: 1px solid rgba(255,255,255,0.12);
    background: rgba(255,255,255,0.05);
    color: #fff;
    font-size: 20px;

    cursor: pointer;
    transition: background .15s;
}
.char-close:hover { background: rgba(255,255,255,0.12); }

/* body */
.char-modal-body {
    padding: 18px;
    overflow-y: auto;
}

/* =========================
   TABLE (MODAL)
========================= */
.char-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.char-table th,
.char-table td {
    padding: 10px 12px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    vertical-align: top;
}

.char-table th {
    width: 38%;
    text-align: left;
    font-weight: 700;
    color: #ffffff;
}

.char-table td {
    color: #cfd6ff;
    word-break: break-word;
}

/* =========================
   MODAL ACTIONS
========================= */
.char-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.char-modal-actions .btn {
    padding: 10px 16px;
}

.btn.ghost {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.14);
}

/* =========================
   MOBILE FIX
========================= */
@media (max-width: 720px) {

    .char-modal-card {
        margin: 0;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .char-modal-body {
        padding: 14px;
    }

    .char-table th {
        width: 44%;
    }
}

.hero {
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 40px;
    background:
        linear-gradient(180deg, rgba(79,108,255,0.12), rgba(0,0,0,0.65)),
        url("../img/hero-bg.png") center / cover no-repeat;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.6);
    text-align: center;
}


/* Home layout */
.hero-home .hero-inner { max-width: 1050px; margin: 0 auto; }
.hero-badge {
  display: inline-block;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: .6px;
}

.hero-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }
.btn { display:inline-flex; align-items:center; justify-content:center; padding: 10px 14px; border-radius: 10px; text-decoration:none; border: 1px solid rgba(255,255,255,.10); }
.btn.primary { font-weight: 800; }

.hero-mini { display:flex; gap:12px; flex-wrap:wrap; margin-top: 18px; }
.hero-mini-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}
.hero-mini-item .k { display:block; font-weight: 800; opacity: .9; }
.hero-mini-item .v { display:block; opacity: .8; margin-top: 2px; }

.home-grid {
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px 0;
}

@media (max-width: 980px){
  .home-grid { grid-template-columns: 1fr; }
}

.feature-list { margin: 10px 0 0; padding-left: 18px; }
.feature-list li { margin: 6px 0; opacity: .92; }

.steps { margin: 10px 0 0; padding-left: 18px; }
.steps li { margin: 6px 0; opacity: .92; }

.muted { opacity: .75; }

.status-box {
  margin-top: 10px;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
}
.status-row { display:flex; justify-content:space-between; padding: 6px 0; }
.status-row .label { opacity: .75; }
.status-row .value { font-weight: 800; }

.news-list { margin-top: 10px; display:flex; flex-direction:column; gap: 10px; }
.news-item {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.07);
}
.news-title { font-weight: 900; }
.news-meta { opacity: .7; font-size: 12px; margin-top: 4px; }
.news-summary{
  opacity:.85;
  font-size:13px;
  margin-top:6px;
  line-height:1.35;
}

.community { padding: 6px 0 18px; }
.community-actions { display:flex; gap:10px; flex-wrap:wrap; margin-top: 10px; }

.panel-full { grid-column: 1 / -1; }
.hero.hero-home { background: linear-gradient(180deg, rgba(0,0,0,0.1), rgba(0,0,0,0.25)), url("../img/hero-bg.jpg") center center / contain no-repeat, #0b0f1a; height: 200; }

@media (max-width: 900px) {
  .hero.hero-home {
    height: 380px;
    background-position: center center;
  }
}

@media (max-width: 600px) {
  .hero.hero-home {
    height: 280px;
  }
}




.hero.hero-home h2 {
  text-shadow:
    0 0 18px rgba(255,140,0,0.45),
    0 0 36px rgba(255,80,0,0.25);
}

.hero-badge {
  background: rgba(0,0,0,0.55);
  border: 1px solid rgba(255,140,0,0.35);
  color: #ffcc80;
  font-weight: 800;
}

/* BLOCO DE INFO ABAIXO DO HERO */
.hero-info {
  padding: 26px 16px 10px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.0), rgba(0,0,0,0.0));
}

.hero-info-inner {
  max-width: 1050px;
  margin: 0 auto;
}

.hero-description {
  margin: 10px 0 14px;
  max-width: 780px;
  opacity: 0.85;
}

/* Ajuste hero-mini para esse contexto */
.hero-info .hero-mini {
  margin-top: 14px;
}
.hero-info {
  position: relative;
}

.hero-info::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  right: 0;
  height: 40px;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.0));
}

.btn {
  gap: 15px;
}

.btn svg {
  flex: 0 0 auto;
  opacity: 0.95;
}
/* ===============================
   COMMUNITY BUTTONS (MMORPG)
================================ */

.community-actions--mmorpg{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

@media (max-width: 900px){
  .community-actions--mmorpg{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px){
  .community-actions--mmorpg{
    grid-template-columns: 1fr;
  }
}

.soc-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;

  height: 44px;
  padding: 0 14px;
  border-radius: 12px;

  text-decoration: none;
  font-weight: 800;
  letter-spacing: .3px;

  color: rgba(255,255,255,0.88);
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);

  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
  transition: transform .18s ease, background .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.soc-btn svg{
  width: 18px;
  height: 18px;
  opacity: .92;
}

/* Hover com “polish” */
.soc-btn:hover{
  transform: translateY(-2px);
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 16px 40px rgba(0,0,0,0.45);
}

/* Acessibilidade: foco */
.soc-btn:focus-visible{
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,140,0,0.25), 0 16px 40px rgba(0,0,0,0.45);
}

/* Variações por marca (sem “gritar”) */
.soc-discord { border-color: rgba(122,215,255,0.22); }
.soc-whatsapp{ border-color: rgba(127,214,138,0.22); }
.soc-facebook{ border-color: rgba(255,255,255,0.12); } /* neutro pra não ficar azul forte */

/* Botão primário (Central de Suporte) */
.soc-btn.is-primary{
  background: linear-gradient(180deg, rgba(255,140,0,0.22), rgba(0,0,0,0.10));
  border-color: rgba(255,140,0,0.35);
  color: #ffdf9f;
}

.soc-btn.is-primary:hover{
  background: linear-gradient(180deg, rgba(255,140,0,0.28), rgba(0,0,0,0.12));
  border-color: rgba(255,140,0,0.45);
}

/* =========================
   SUFIXO TOGGLE
========================= */
.suffix-toggle{
  display: flex;
  align-items: center;
  gap: 10px;

  margin: 14px 0 6px;
  font-size: 13px;
  font-weight: 700;
  color: #cfd6ff;

  cursor: pointer;
}

.suffix-toggle input{
  width: 16px;
  height: 16px;
  accent-color: #5a74ff;
}

/* =========================
   SUFIXO SELECT ROW
========================= */
.suffix-row{
  margin-bottom: 6px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;

  transition: all .25s ease;
}

.suffix-row.active{
  opacity: 1;
  max-height: 80px;
}

/* select reaproveita seu visual */
.suffix-select{
  width: 100%;
  height: 46px;
  border-radius: 12px;

  padding: 0 40px 0 14px;
  font-weight: 800;

  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(0,0,0,0.35);
  color: rgba(255,255,255,0.92);

  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,0.75) 50%),
    linear-gradient(135deg, rgba(255,255,255,0.75) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 19px,
    calc(100% - 12px) 19px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

.suffix-select:disabled{
  opacity: .5;
}
/* =========================
   LOGIN HINT (SUFIXO)
========================= */
.login-hint{
  margin-top: 10px;
  text-align: center;
  font-size: 12px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;

  transition: opacity .25s ease, max-height .25s ease;
}

.login-hint.active{
  opacity: .8;
  max-height: 40px;
}


/* =========================
   SIEGE GRID
========================= */
.siege-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
  width: 100%;
}

.siege-card{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 34px rgba(0,0,0,0.35);
}

.siege-card h3{
  margin: 0 0 10px 0;
  font-size: 16px;
  letter-spacing: .3px;
}

.siege-meta{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 12px;
}

.siege-meta .item{
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px 12px;
}

.siege-meta .k{
  display:block;
  font-size: 12px;
  opacity: .75;
}

.siege-meta .v{
  display:block;
  font-weight: 800;
  margin-top: 2px;
}

.siege-registrations{
  margin-top: 10px;
}

.siege-registrations .title{
  font-size: 12px;
  opacity: .8;
  margin-bottom: 8px;
  display:flex;
  justify-content: space-between;
  align-items:center;
}

.clan-list{
  display: grid;
  gap: 8px;
}

.clan-row{
  display:flex;
  justify-content: space-between;
  align-items:center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}

.clan-name{
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.clan-badge{
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  opacity: .9;
}

.badge-attacker{ background: rgba(255,80,80,0.10); }
.badge-defender{ background: rgba(120,150,255,0.10); }
.badge-owner{ background: rgba(255,200,90,0.10); }

.siege-empty{
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  opacity: .8;
  font-size: 13px;
}


.clan-more{
  margin-top: 10px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.92);
  font-weight: 800;
}

.clan-more:hover{
  border-color: rgba(79,108,255,0.45);
}

.clan-list.is-hidden{
  display: none;
  margin-top: 10px;
}
.clan-list{
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
}


/* =========================
   DOWNLOAD PAGE (EXCLUSIVO)
========================= */

.download-wrap {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* Header */
.download-header h2 {
  margin: 0;
  font-size: 22px;
}

.download-header p {
  opacity: .8;
  margin-top: 6px;
  max-width: 720px;
}

/* Grid */
.download-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

/* Card */
.download-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 16px;
  padding: 16px;

  display: flex;
  flex-direction: column;
  gap: 12px;

  box-shadow: 0 12px 32px rgba(0,0,0,0.35);
}

.download-card.is-primary {
  border-color: rgba(79,108,255,0.45);
  background: linear-gradient(
    180deg,
    rgba(79,108,255,0.15),
    rgba(255,255,255,0.04)
  );
}

/* Card head */
.download-card-head {
  display: flex;
  align-items: center;
  gap: 10px;
}

.download-icon {
  font-size: 20px;
}

.download-title {
  font-weight: 800;
  font-size: 15px;
}

/* Text */
.download-desc {
  opacity: .85;
  font-size: 14px;
  line-height: 1.4;
}

/* Meta */
.download-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  opacity: .75;
}

/* Button */
.download-btn {
  margin-top: auto;
  text-align: center;
  padding: 12px;
  border-radius: 12px;

  font-weight: 800;
  text-decoration: none;

  background: rgba(79,108,255,0.65);
  color: #fff;

  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}

.download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(0,0,0,0.45);
  background: rgba(79,108,255,0.85);
}

/* Box sections */
.download-box {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 16px;
}

.download-box h3 {
  margin: 0 0 10px;
}

/* Steps */
.download-steps {
  padding-left: 18px;
  line-height: 1.6;
  opacity: .9;
}

/* Reqs */
.download-reqs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 12px;
}

.download-req {
  display: block;
  padding: 12px;
  border-radius: 12px;

  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);

  text-decoration: none;
  color: inherit;
}

.download-req:hover {
  border-color: rgba(79,108,255,0.45);
}

/* Notes */
.download-notes {
  padding-left: 18px;
  opacity: .85;
}

/* Support */
.download-support {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.support-btn {
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;

  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
}

.support-btn.primary {
  background: rgba(79,108,255,0.65);
  border-color: rgba(79,108,255,0.55);
}

.support-btn:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,0.45);
}

/* Mobile */
@media (max-width: 640px) {
  .download-header h2 {
    font-size: 18px;
  }
}


/* =========================
   BOSS PAGE (SIMPLES / LIMPO)
========================= */
.boss-header{
  display:flex; justify-content:space-between; align-items:center; gap:10px;
  margin-bottom:10px;
}

.boss-header h3{ margin:0; }

.boss-search{
  width:min(360px, 100%);
  height:42px;
  padding:0 12px;
  border-radius:12px;
  background: rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
  font-weight:800;
  outline:none;
}
.boss-search:focus{
  border-color: rgba(79,108,255,0.45);
  box-shadow: 0 0 0 3px rgba(79,108,255,0.18);
}

.boss-list{ display:flex; flex-direction:column; gap:10px; }

.boss-row{
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 12px 14px;
}

.boss-main{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.boss-title{
  display:flex;
  flex-direction:column;
  gap:4px;
  min-width:0;
}

.boss-name{
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.boss-sub{
  display:flex;
  align-items:center;
  gap:10px;
  font-size:12px;
  opacity:.78;
}

.boss-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.boss-chip{
  font-size:12px;
  font-weight:900;
  padding:5px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  opacity:.95;
}

.boss-chip.alive{ background: rgba(60,200,120,0.12); color:#7dffb3; border-color: rgba(60,200,120,0.25); }
.boss-chip.dead{ background: rgba(200,60,60,0.12); color:#ff9a9a; border-color: rgba(200,60,60,0.25); }
.boss-chip.respawn{ background: rgba(255,170,60,0.12); color:#ffd19a; border-color: rgba(255,170,60,0.25); }

.boss-chip.countdown{
  background: rgba(79,108,255,0.12);
  border-color: rgba(79,108,255,0.25);
  color: rgba(220,230,255,0.95);
}

.boss-extra{
  margin-top:10px;
  padding-top:10px;
  border-top:1px solid rgba(255,255,255,0.08);
  opacity:.9;
  font-size:13px;
  display:grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap:10px;
}

.boss-box{
  background: rgba(0,0,0,0.22);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 10px 12px;
}
.boss-box .k{ display:block; opacity:.75; font-size:12px; }
.boss-box .v{ display:block; font-weight:900; margin-top:4px; }

.boss-pager{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  margin-top:12px;
  flex-wrap:wrap;
}

.boss-pager .info{
  opacity:.75;
  font-size:12px;
}

.boss-btn{
  padding:10px 12px;
  border-radius:12px;
  cursor:pointer;
  font-weight:5000;
  border:1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.92);
  white-space: nowrap; /* <<< ESSENCIAL */
}


.boss-btn:disabled{ opacity:.45; cursor:not-allowed; }
.boss-chip.sleeping {
  background: rgba(120,120,255,0.15);
  color: #aab6ff;
  border: 1px solid rgba(120,120,255,0.35);
}

@media (max-width: 640px){
  .boss-main{ flex-direction:column; align-items:flex-start; }
  .boss-right{ justify-content:flex-start; }
}

/* =========================
   FOOTER
========================= */
footer {
    margin-top: 5px;
    padding: 5px;
    text-align: center;
    font-size: 12px;
    color: #8a90b8;
    border-top: 1px solid rgba(255,255,255,0.05);
}
