:root{--bg:#08090b;--panel:#101216;--panel2:#15181d;--line:#282d35;--text:#f2f3f5;--muted:#9aa1ac;--accent:#e7e9ec;--danger:#ef5555;--ok:#58d68d;--warn:#f6c453;--blue:#5aa9ff;--purple:#af7cff;--orange:#ff9f43}
*{box-sizing:border-box}body{margin:0;background:radial-gradient(circle at top,#171a20 0,#090a0d 38%,#050607 100%);color:var(--text);font:15px Inter,system-ui,Segoe UI,Arial,sans-serif;min-height:100vh}
a{color:inherit}.wrap{max-width:1100px;margin:auto;padding:28px 18px 70px}.hero{border:1px solid var(--line);background:linear-gradient(135deg,rgba(255,255,255,.05),rgba(255,255,255,.015));padding:34px;border-radius:22px;box-shadow:0 25px 70px #0008}
.brand{letter-spacing:.28em;font-weight:800;font-size:12px;color:#c9cdd3}.hero h1{font-size:clamp(32px,6vw,64px);margin:12px 0 12px;letter-spacing:-.04em}.hero p{max-width:820px;color:var(--muted);font-size:17px;line-height:1.65}
.card{margin-top:18px;background:rgba(16,18,22,.95);border:1px solid var(--line);border-radius:18px;padding:22px}.card h2{margin:0 0 18px;font-size:18px;letter-spacing:.04em}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
label{display:block;color:#cfd3d8;font-size:13px;margin-bottom:6px}input,select,textarea{width:100%;border:1px solid #303640;background:#0b0d10;color:#fff;border-radius:11px;padding:12px 13px;outline:none}textarea{min-height:110px;resize:vertical}input:focus,select:focus,textarea:focus{border-color:#69717d;box-shadow:0 0 0 3px #ffffff0a}
.full{grid-column:1/-1}.checks{display:flex;flex-wrap:wrap;gap:8px}.chip{border:1px solid #343a44;background:#0d0f12;padding:9px 11px;border-radius:999px}.chip input{width:auto;margin-right:6px}
.btn{border:1px solid #e8eaed;background:#f1f3f5;color:#050607;font-weight:800;border-radius:11px;padding:12px 17px;cursor:pointer}.btn.secondary{background:#15181d;color:#fff;border-color:#343a44}.btn.danger{background:#291416;border-color:#5c252a;color:#ffd9dc}.topbar{display:flex;gap:10px;justify-content:space-between;align-items:center;margin-bottom:18px}.muted{color:var(--muted)}.alert{padding:13px;border-radius:10px;margin:12px 0;border:1px solid #343a44;background:#0c0e11}.success{border-color:#275a3d;color:#bff4d2}.error{border-color:#6c2e34;color:#ffc2c7}
.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:14px}table{border-collapse:collapse;width:100%;min-width:900px;background:#0d0f12}th,td{text-align:left;padding:12px;border-bottom:1px solid #242932}th{font-size:12px;color:#aeb5be;text-transform:uppercase;letter-spacing:.06em}.badge{padding:5px 9px;border-radius:999px;border:1px solid #3a4049;font-size:12px;white-space:nowrap}.score{font-size:28px;font-weight:900}.kv{display:grid;grid-template-columns:220px 1fr;gap:8px 16px}.kv div{padding:7px 0;border-bottom:1px solid #222730}.status-big{font-size:28px;font-weight:900}.hide{display:none!important}
@media(max-width:720px){.grid,.grid3{grid-template-columns:1fr}.hero{padding:24px}.card{padding:16px}.kv{grid-template-columns:1fr}.wrap{padding:16px 12px 50px}}

/* =========================================================
   THE GHOST RP - TEMA PRETO + DOURADO
   ========================================================= */

:root{
  --ghost-gold:#f6c945;
  --ghost-gold-strong:#ffd966;
  --ghost-bg:#040506;
  --ghost-card:#0d0f12;
  --ghost-line:rgba(246,201,69,.20);
  --ghost-text:#f7f7f5;
  --ghost-muted:#9da3aa;
}

body{
  background:
    radial-gradient(circle at 50% -10%, rgba(246,201,69,.13), transparent 34%),
    linear-gradient(180deg,#090a0c 0%,#040506 45%,#020303 100%);
  color:var(--ghost-text);
}

.wrap{
  max-width:1180px;
}

.hero{
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,rgba(246,201,69,.07),rgba(255,255,255,.015) 45%,rgba(0,0,0,.15));
  border:1px solid var(--ghost-line);
  border-radius:24px;
  box-shadow:0 30px 90px rgba(0,0,0,.65), inset 0 1px rgba(255,255,255,.04);
}

.hero::before{
  content:"";
  position:absolute;
  width:300px;
  height:300px;
  border-radius:50%;
  right:-140px;
  top:-180px;
  background:rgba(246,201,69,.11);
  filter:blur(35px);
  pointer-events:none;
}

.brand{
  color:var(--ghost-gold);
  text-shadow:0 0 20px rgba(246,201,69,.25);
}

.hero h1{
  color:#fff;
  text-shadow:0 8px 40px rgba(0,0,0,.7);
}

.hero p{
  color:#b4b8bd;
}

.card{
  background:linear-gradient(145deg,rgba(18,21,25,.98),rgba(8,10,12,.98));
  border:1px solid var(--ghost-line);
  box-shadow:0 18px 45px rgba(0,0,0,.38), inset 0 1px rgba(255,255,255,.025);
  transition:border-color .2s ease,transform .2s ease,box-shadow .2s ease;
}

.card:hover{
  border-color:rgba(246,201,69,.34);
  box-shadow:0 24px 55px rgba(0,0,0,.48),0 0 30px rgba(246,201,69,.025);
}

.card h2{
  color:#fff;
}

label{
  color:#d7d9dc;
  font-weight:600;
}

input,
select,
textarea{
  background:#080a0d;
  border:1px solid rgba(255,255,255,.10);
  color:#fff;
  border-radius:12px;
  transition:border-color .2s ease,box-shadow .2s ease,background .2s ease;
}

input:hover,
select:hover,
textarea:hover{
  border-color:rgba(246,201,69,.26);
}

input:focus,
select:focus,
textarea:focus{
  border-color:var(--ghost-gold);
  background:#0b0d10;
  box-shadow:0 0 0 3px rgba(246,201,69,.10),0 0 22px rgba(246,201,69,.05);
}

input::placeholder,
textarea::placeholder{
  color:#656b72;
}

.chip{
  background:#090b0e;
  border:1px solid rgba(255,255,255,.10);
  color:#dfe1e4;
  transition:.2s ease;
}

.chip:hover{
  border-color:rgba(246,201,69,.50);
  background:rgba(246,201,69,.05);
}

.btn{
  border:1px solid var(--ghost-gold);
  background:linear-gradient(135deg,var(--ghost-gold-strong),var(--ghost-gold));
  color:#090909;
  font-weight:900;
  box-shadow:0 8px 25px rgba(246,201,69,.13);
  transition:transform .15s ease,box-shadow .2s ease,filter .2s ease;
}

.btn:hover{
  transform:translateY(-1px);
  box-shadow:0 12px 35px rgba(246,201,69,.23);
  filter:brightness(1.05);
}

.btn.secondary{
  background:#0c0e11;
  color:var(--ghost-gold);
  border-color:rgba(246,201,69,.45);
}

.btn.secondary:hover{
  background:rgba(246,201,69,.08);
}

.table-wrap{
  border:1px solid var(--ghost-line);
  background:#080a0c;
  box-shadow:0 15px 40px rgba(0,0,0,.35);
}

table{
  background:#090b0e;
}

th{
  color:var(--ghost-gold);
  background:linear-gradient(180deg,rgba(246,201,69,.08),rgba(246,201,69,.025));
  border-bottom:1px solid rgba(246,201,69,.20);
}

td{
  border-bottom:1px solid rgba(255,255,255,.055);
}

tbody tr:hover{
  background:rgba(246,201,69,.035);
}

.badge{
  border:1px solid rgba(246,201,69,.30);
  background:rgba(246,201,69,.055);
  color:#f6d978;
}

.status-big,
.score{
  color:var(--ghost-gold);
  text-shadow:0 0 24px rgba(246,201,69,.12);
}

::selection{
  background:rgba(246,201,69,.85);
  color:#050505;
}

@media(max-width:720px){
  .hero{
    border-radius:18px;
  }

  .card{
    border-radius:15px;
  }

  .btn{
    min-height:46px;
  }
}


/* =========================================================
   THE GHOST RP - FANTASMAS FLUTUANTES
   ========================================================= */

body{
  position:relative;
  overflow-x:hidden;
}

body::before,
body::after{
  content:"👻";
  position:fixed;
  z-index:0;
  pointer-events:none;
  user-select:none;
  opacity:.075;
  filter:
    grayscale(1)
    sepia(1)
    saturate(4)
    hue-rotate(345deg)
    drop-shadow(0 0 18px rgba(246,201,69,.28));

  animation:ghostFloat 9s ease-in-out infinite;
}

body::before{
  font-size:150px;
  left:3vw;
  top:20vh;
  transform:rotate(-12deg);
}

body::after{
  font-size:210px;
  right:2vw;
  top:55vh;
  opacity:.05;
  animation-duration:13s;
  animation-delay:-4s;
  transform:rotate(10deg);
}

.wrap,
.container,
main,
.hero,
.card,
.topbar{
  position:relative;
  z-index:2;
}

/* fantasma decorativo interno */

.hero::after{
  content:"👻";
  position:absolute;
  right:28px;
  bottom:-20px;

  font-size:110px;
  line-height:1;

  opacity:.10;

  filter:
    grayscale(1)
    sepia(1)
    saturate(4)
    hue-rotate(345deg)
    drop-shadow(0 0 22px rgba(246,201,69,.32));

  pointer-events:none;

  animation:ghostHero 6s ease-in-out infinite;
}

/* movimento geral */

@keyframes ghostFloat{
  0%{
    transform:translate3d(0,0,0) rotate(-7deg);
  }

  25%{
    transform:translate3d(18px,-24px,0) rotate(3deg);
  }

  50%{
    transform:translate3d(-6px,-42px,0) rotate(8deg);
  }

  75%{
    transform:translate3d(-20px,-16px,0) rotate(-2deg);
  }

  100%{
    transform:translate3d(0,0,0) rotate(-7deg);
  }
}

@keyframes ghostHero{
  0%{
    transform:translateY(0) rotate(-5deg);
  }

  50%{
    transform:translateY(-18px) rotate(5deg);
  }

  100%{
    transform:translateY(0) rotate(-5deg);
  }
}

/* brilho ambiente */

body::selection{
  background:#f6c945;
  color:#000;
}

/* versões menores no mobile */

@media(max-width:720px){

  body::before{
    font-size:95px;
    left:-15px;
    top:18vh;
    opacity:.055;
  }

  body::after{
    font-size:125px;
    right:-22px;
    top:62vh;
    opacity:.04;
  }

  .hero::after{
    font-size:72px;
    right:12px;
    bottom:-10px;
    opacity:.08;
  }

}

/* acessibilidade */

@media(prefers-reduced-motion:reduce){

  body::before,
  body::after,
  .hero::after{
    animation:none;
  }

}

