:root{
  --bg:#070a0d;
  --panel:#0c1218;
  --panel2:#0a0f14;
  --text:#e9f2ff;
  --muted:#9bb0c9;
  --neon:#2cff7a;
  --neon2:#00ffb3;
  --border: rgba(44,255,122,.18);
  --shadow: 0 18px 50px rgba(0,0,0,.55);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background: radial-gradient(900px 500px at 10% 0%, rgba(44,255,122,.10), transparent 60%),
              radial-gradient(900px 500px at 90% 10%, rgba(0,255,179,.08), transparent 55%),
              var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
code{color:var(--neon)}

.topbar{
  display:flex;
  gap:16px;
  align-items:center;
  justify-content:space-between;
  padding:18px 22px;
  border-bottom:1px solid var(--border);
  background: rgba(7,10,13,.65);
  backdrop-filter: blur(10px);
  position: sticky;
  top:0;
  z-index: 10;
}

.brand{display:flex; gap:12px; align-items:center}
.brand h1{margin:0; font-size:18px; letter-spacing:1px}
.brand p{margin:0; font-size:12px; color:var(--muted)}
.brand.mini p{display:none}

/* LOGO HEADER */
.logo-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  border-radius: 12px;

  background: rgba;
 

}


.search{display:flex; gap:10px; align-items:center; width:min(520px, 60vw)}
.search input{
  flex:1;
  padding:12px 14px;
  border-radius: 14px;
  border:1px solid var(--border);
  outline:none;
  background: rgba(12,18,24,.75);
  color:var(--text);
}

.container{padding:20px; max-width:1100px; margin:0 auto}

.panel{.panel{
  position: sticky;
  top: 78px; /* altura de la barra superior */
  z-index: 9;

  background: rgba(12,18,24,.92);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:16px;

  backdrop-filter: blur(10px);
}

}

.filters{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap:10px;
}

select{
  width:100%;
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(10,15,20,.85);
  color:var(--text);
  outline:none;
}

.meta{
  margin-top:12px;
  display:flex;
  justify-content:space-between;
  gap:10px;
  color:var(--muted);
  font-size:12px;
}

.grid{
  margin-top:16px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}

.card{
  background: rgba(12,18,24,.65);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding:14px;
  box-shadow: var(--shadow);
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(44,255,122,.35);
}

.row{display:flex; gap:12px; align-items:center}
.thumb{
  width:54px; height:54px;
  border-radius: 16px;
  border:1px solid var(--border);
  background: rgba(0,0,0,.25);
  object-fit: cover;
}
.title{margin:0; font-size:16px}
.sub{margin:2px 0 0; font-size:12px; color:var(--muted)}
.badges{display:flex; flex-wrap:wrap; gap:8px; margin-top:10px}
.badge{
  font-size:12px;
  padding:6px 10px;
  border-radius: 999px;
  border:1px solid var(--border);
  color: var(--muted);
  background: rgba(10,15,20,.65);
}
.badge.neon{
  color:#001a0a;
  background: linear-gradient(135deg, var(--neon), var(--neon2));
  border-color: transparent;
  font-weight: 800;
}

.actions{display:flex; gap:10px; margin-top:12px}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  cursor:pointer;
  user-select:none;
}
.btn.primary{
  background: linear-gradient(135deg, rgba(44,255,122,.95), rgba(0,255,179,.85));
  color:#001a0a;
  border-color: transparent;
  font-weight: 900;
}
.btn.secondary{
  background: rgba(10,15,20,.75);
  color: var(--text);
}

.footer{opacity:.75; font-size:12px; text-align:center; padding:22px}

.back{
  padding:10px 12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(10,15,20,.65);
}

/* server page */
.server-card{
  margin-top:16px;
  background: rgba(12,18,24,.65);
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:16px;
}
.hero{display:flex; gap:14px; align-items:center}
.avatar{
  width:86px; height:86px;
  border-radius: 22px;
  border:1px solid var(--border);
  object-fit: cover;
  background: rgba(0,0,0,.25);
}
.hero-info h2{margin:0; font-size:22px}
.tagline{margin:6px 0 0; color:var(--muted)}
.desc{margin-top:14px}
.desc h3{margin:0 0 6px}
.desc p{margin:0; color:var(--text); opacity:.9; line-height:1.5}
.links{display:flex; gap:10px; margin-top:14px; flex-wrap:wrap}
.details{
  margin-top:14px;
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:10px;
}
.kv{
  padding:12px;
  border-radius: 14px;
  border:1px solid var(--border);
  background: rgba(10,15,20,.55);
}
.kv span{display:block; font-size:12px; color:var(--muted)}
.kv strong{display:block; margin-top:4px; font-size:14px}

.empty{padding:30px; text-align:center; color:var(--muted)}

@media (max-width: 980px){
  .filters{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .grid{grid-template-columns: repeat(2, minmax(0, 1fr))}
  .details{grid-template-columns: repeat(2, minmax(0, 1fr))}
}
@media (max-width: 560px){
  .grid{grid-template-columns: 1fr}
  .search{width: 52vw}
}
/* ============================= */
/* FONDO FIJO DOFHUB */
/* ============================= */

body{
  margin: 0;
  min-height: 100vh;

  background-image: url("/assets/bg/fondo.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Capa oscura encima para que se lea todo */
body::before{
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  background: radial-gradient(
    circle at 50% 20%,
    rgba(44,255,122,0.18),
    rgba(0,0,0,0.85) 60%,
    rgba(0,0,0,0.92)
  );

  pointer-events: none;
  z-index: -1;
}
/* Contenedor meta centrado */
.meta {
  display: flex;
  flex-direction: column;     /* uno debajo del otro */
  align-items: center;        /* centrado horizontal */
  gap: 14px;
  margin-top: 5px;
}

/* Texto motivador */
.meta .hint {
  font-size: 1.3rem;          /* más grande */
  font-weight: 700;           /* negrilla */
  text-align: center;

  color: #dbe612;             /* verde principal DOFHUB */

  /* fondo para legibilidad */
  


  /* brillo suave */
  text-shadow: 
    0 0 8px rgba(45, 255, 143, 0.45),
    0 0 18px rgba(45, 255, 143, 0.25);

  max-width: 900px;
}

/* Ajuste para celulares */
@media (max-width: 768px) {
  .meta .hint {
    font-size: 1.1rem;
    padding: 12px 16px;
  }
}
/* Contador bonito "X servidores" */
#count{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.2px;

  color: #d7ffe9; /* verde muy claro */
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(45,255,143,0.35);
  padding: 10px 14px;
  border-radius: 999px; /* pastilla */

  backdrop-filter: blur(8px);

  box-shadow:
    0 0 0 1px rgba(45,255,143,0.12),
    0 10px 30px rgba(0,0,0,0.35);
}
/* Ocultamos la barra de búsqueda pero la dejamos para JS */
.search {
  display: none !important;
}
/* CONTADOR - TWELVNY FONT */
.server-count-top #count {
  font-family: "Twelvny", sans-serif;
  font-size: 1.6rem;
  font-weight: 400;
  color: #2dff8f;             /* verde DOFHUB */
  letter-spacing: 0.6px;
  text-transform: uppercase;  /* opcional, estilo gamer */
}
.server-count-top #count {
  font-size: 1.4rem;
  font-weight: 700;
  color: #2dff8f;      /* verde DOFHUB */
  letter-spacing: 0.4px;

  background: none;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* Móvil */
@media (max-width: 768px) {
  .server-count-top {
    margin: 12px auto 0;
  }

  .server-count-top #count {
    font-size: 1.1rem;
    text-align: center;
  }
}
/* TWELVNY FONT LOADING */
@font-face {
  font-family: "Twelvny";
  src: url("/assets/fonts/twelvny.woff2") format("woff2"),
       url("/assets/fonts/twelvny.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
/* ===============================
   CTA FOOTER (WHATSAPP)
   =============================== */

/* CTA fijo abajo */
.cta-footer{
  position: fixed;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);

  width: calc(100% - 40px);
  max-width: 1100px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;

  padding: 14px 16px;
  border-radius: 18px;

  background: rgba(0,0,0,0.65);
  border: 1px solid rgba(45,255,143,0.18);
  backdrop-filter: blur(10px);

  z-index: 90;
}


.cta-text h3{
  margin: 0 0 6px 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: #d7ffe9;
}

.cta-text p{
  margin: 0;
  color: rgba(215,255,233,0.75);
  font-size: 0.95rem;
}

.btn-whatsapp{
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 16px;
  border-radius: 14px;
  text-decoration: none;

  font-weight: 800;
  color: #08110d;
  background: #2dff8f;

  box-shadow: 0 0 14px rgba(45,255,143,0.20);
  transition: transform .15s ease, filter .15s ease;
}

.btn-whatsapp:hover{
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.footer-note{
  margin-top: 14px;
  opacity: 0.7;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px){
  .cta-footer{
    flex-direction: column;
    text-align: center;
  }

  .btn-whatsapp{
    width: 100%;
  }
}
/* ===============================
   FILTROS FIJOS (STICKY) - SOLO FILTROS
   =============================== */

/* Quitamos sticky del panel completo */
.panel{
  position: static;
  background: transparent;
  backdrop-filter: none;
  padding-bottom: 0;
}

/* ===============================
   FILTROS FIJOS (FIXED REAL)
   =============================== */

.filters{
  position: fixed;
  top: 80px; /* debajo del header */
  left: 50%;
  transform: translateX(-50%);

  width: calc(100% - 40px);
  max-width: 1100px;

  z-index: 80;
  padding: 12px;
  border-radius: 18px;
}

/* Espacio para que el contenido no quede debajo */
.panel{
  padding-top: 0px;
}

/* Móvil */
@media (max-width: 768px){
  .filters{
    top: 70px;
    width: calc(100% - 24px);
  }

  .panel{
    padding-top: 100px;
  }
}
/* Espacio para que el CTA fijo no tape las cards */
body{
  padding-bottom: 120px;
}
@media (max-width: 768px){
  .cta-footer{
    width: calc(100% - 24px);
    bottom: 12px;
    flex-direction: column;
    text-align: center;
  }

  .btn-whatsapp{
    width: 100%;
  }
}
/* ===============================
   FILTROS OCULTOS POR DEFECTO
   =============================== */

.filters{
  display: none;
}
/* ===============================
   BADGE "DESTACADO" EN ORO
   (usa .badge.neon en tu JS)
   =============================== */

.badge.neon{
  background: linear-gradient(135deg,#ffe08a,#f5c24b,#d6a019) !important;
  color: #2b1c00 !important;
  font-weight: 800 !important;

  border: 1px solid rgba(255,224,138,.65) !important;

  box-shadow:
    0 0 10px rgba(255,210,100,.35),
    inset 0 1px 0 rgba(255,255,255,.35) !important;

  text-shadow: 0 1px 0 rgba(255,255,255,.25) !important;
}










