@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700&family=Roboto:wght@300;500&display=swap');

:root {
  --verde-neon: #00ff99;
}


/* ============================================================
   BASE DO SITE
   ============================================================ */

body {
  margin: 0;
  background-color: #050505;
  color: #f1f1f1;
  font-family: 'Roboto', sans-serif;
  overflow-x: hidden;
}

/* ============================================================
   HEADER
   ============================================================ */

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5vw;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  box-sizing: border-box; /* 🔒 Padrão permanente definido pelo usuário */
}

header h1 {
  font-family: 'Cinzel', serif;
  letter-spacing: 3px;
  font-size: 1.8rem;
  color: #00ff99;
  text-shadow: 0 0 12px rgba(0, 255, 128, 0.6);
}

/* ============================================================
   NAVEGAÇÃO
   ============================================================ */

nav a {
  color: #ccc;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: #00ff99;
}

/* Botão do Header */

.btn-topo {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid #00ff99;
  border-radius: 8px;
  color: #00ff99;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(0, 255, 128, 0.05);
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(0, 255, 128, 0.2);
  text-decoration: none;
}

.btn-topo:hover {
  background: rgba(0, 255, 128, 0.2);
  box-shadow: 0 0 15px rgba(0, 255, 128, 0.5);
  transform: scale(1.05);
}

/* ============================================================
   FOOTER
   ============================================================ */

footer {
  background-color: #000;
  text-align: center;
  padding: 40px 20px;
  font-size: 0.9rem;
  color: #888;
}

footer a {
  color: #aaa;
  margin: 0 10px;
  text-decoration: none;
}

footer a:hover {
  color: #00ff99;
}

/* ============================================================
   CONTEÚDO E GRID
   ============================================================ */

.content {
  padding: 80px 20px;
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

/* ============================================================
   CARDS
   ============================================================ */

a.card {
  background: #111;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: #f1f1f1;
  transition: transform 0.3s;
  display: block;
}

a.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0, 255, 153, 0.3);
}

a.card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

a.card h4 {
  font-family: 'Cinzel', serif;
  margin: 15px 10px 5px;
  color: #00ff99;
}

a.card p {
  font-size: 0.9rem;
  color: #aaa;
  margin: 0 10px 20px;
}

/* ============================================================
   CONTADOR NIXIE MINI  — 21×51 px (SEM BRILHO)
   ============================================================ */

.visitante-container {
  text-align: center;
  margin-top: 100px;
  margin-bottom: 40px;
  color: #c8925f;
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
}

.visitante-texto {
  font-size: 0.9rem;
  margin-bottom: 14px;
  text-transform: lowercase;
  color: #b97442;
  text-shadow: 0 0 4px rgba(255, 120, 40, 0.3);
}

/* Moldura geral */

.contador-nixie {
  display: inline-flex;
  gap: 4px;
  padding: 14px 18px;
  background: radial-gradient(circle at center, #1b0f00, #000);
  border-radius: 10px;
  border: 1px solid rgba(255, 120, 20, 0.35);
  box-shadow:
    0 0 18px rgba(255, 110, 20, 0.25),
    inset 0 0 10px rgba(255, 100, 20, 0.15);
  position: relative;
}

/* Reflexo da moldura */

.contador-nixie::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background: radial-gradient(
    circle at 50% 0%,
    rgba(255,255,255,0.10),
    transparent 65%
  );
  mix-blend-mode: screen;
  opacity: 0.2;
  pointer-events: none;
}

/* Dígito do tubo */

.digito {
  width: 21px;
  height: 51px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  border-radius: 3px;
  filter: brightness(1); /* sem glow */
}

/* Reflexo sutil do vidro */

.digito::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.05),
    rgba(255,255,255,0.00)
  );
  mix-blend-mode: screen;
  opacity: 0.15;
  pointer-events: none;
}

.verde {
  color: var(--verde-neon);
}
