body {
  background:var(--bg-deep);
  color:var(--text);
  font-family:'Inter',sans-serif;
  line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
a { color:inherit; text-decoration:none; }
::selection { background:var(--grass); color:#0d160f; }
.panel {
  background:var(--bg-panel);
  border:1px solid var(--border);
  border-radius:3px;
}
.hoverable { transition:border-color .2s ease, transform .2s ease, background .2s ease; }
.hoverable:hover {
  border-color:rgba(78,222,108,0.5);
  transform:translateY(-2px);
  background:var(--bg-raised);
  box-shadow:0 6px 20px -6px var(--grass-glow);
}
.section-title {
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:16px;
}
.section-title h2 {
  font-size:0.78rem;
  font-weight:700;
  letter-spacing:1.2px;
  text-transform:uppercase;
  color:var(--text);
  display:flex;
  align-items:center;
  gap:8px;
}
.section-title h2::before {
  content:'';
  width:5px;
  height:14px;
  background:var(--grass);
  border-radius:1px;
  box-shadow:0 0 8px var(--grass-glow);
}
.section-title .line {
  flex:1;
  height:1px;
  background:linear-gradient(90deg, var(--border) 0%, transparent 100%);
}
.btn {
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--grass-soft);
  color:var(--text);
  font-size:0.83rem;
  font-weight:600;
  padding:10px 18px;
  border:1px solid rgba(255,255,255,0.1);
  border-radius:3px;
  cursor:pointer;
  transition:background .18s ease, border-color .18s ease, transform .12s ease;
}
.btn.ghost { background:transparent; border-color:var(--border); }
.btn.ghost:hover { background:var(--bg-raised); box-shadow:none; }
.btn:disabled {
  opacity:0.4;
  cursor:default;
  pointer-events:none;
}
.nav {
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(15,21,22,0.96);
  -webkit-backdrop-filter:blur(8px);
  backdrop-filter:blur(8px);
  border-bottom:1px solid var(--border);
}
.discord-nav-menu button, .discord-nav-menu a {
  display:block;
  width:100%;
  text-align:left;
  background:none;
  border:none;
  color:var(--text-dim);
  padding:8px 10px;
  border-radius:3px;
  cursor:pointer;
  font-size:0.8rem;
  font-family:'Inter';
}
.discord-nav-menu button:hover, .discord-nav-menu a:hover { background:var(--bg-raised); color:var(--text); }
.scene-wrap {
  position:relative;
  overflow:hidden;
  background:#101917;
  border-radius:3px;
}
.scene-img {
  width:100%;
  height:100%;
  display:block;
}
.scene-day { filter:saturate(0.85) brightness(0.92); }
.scene-dusk { filter:hue-rotate(-18deg) saturate(0.9) brightness(0.8); }
.scene-cave { filter:hue-rotate(180deg) saturate(0.5) brightness(0.42); }
.scene-ore { filter:hue-rotate(300deg) saturate(0.75) brightness(0.55); }
.scene-overlay {
  position:absolute;
  inset:0;
  background:linear-gradient(180deg, rgba(18,25,26,0) 35%, rgba(18,25,26,0.92) 100%);
}
.match-tag {
  font-size:0.68rem;
  font-weight:600;
  color:var(--text-dim);
  background:var(--bg-raised);
  padding:5px 9px;
  border-radius:20px;
  white-space:nowrap;
  display:inline-block;
}
.match-tag[data-tag="NEWS"] { color:var(--diamond); background:rgba(79,184,201,0.12); }
.match-tag[data-tag="PVP"] { color:var(--redstone); background:rgba(184,80,63,0.14); }
.match-tag[data-tag="REDSTONE"] { color:var(--redstone); background:rgba(184,80,63,0.14); }
.match-tag[data-tag="SNAPSHOT"] { color:var(--gold); background:rgba(217,172,76,0.14); }
.match-tag[data-tag="COMUNIDAD"] { color:var(--grass); background:rgba(95,174,90,0.14); }
.tag-chip { align-self:flex-start; }
.archive-wrap {
  max-width:1240px;
  margin:0 auto;
  padding:44px 24px 80px;
}
.archive-head { margin-bottom:8px; }
.archive-head h1 {
  font-size:1.7rem;
  font-weight:800;
  margin-bottom:8px;
}
.archive-head p { color:var(--text-dim); font-size:0.88rem; }
.tag-filters {
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin:24px 0 32px;
}
.tag-filter-btn {
  font-size:0.74rem;
  font-weight:700;
  letter-spacing:0.3px;
  text-transform:uppercase;
  color:var(--text-dim);
  background:var(--bg-panel);
  border:1px solid var(--border);
  padding:8px 14px;
  border-radius:20px;
  cursor:pointer;
  transition:all .15s ease;
}
.tag-filter-btn:hover { border-color:var(--grass-soft); color:var(--text); }
.tag-filter-btn.active {
  color:#0d160f;
  background:var(--grass);
  border-color:var(--grass);
}
.nav-hamburger {
  display:none;
  width:32px;
  height:32px;
  align-items:center;
  justify-content:center;
  border-radius:3px;
  cursor:pointer;
  background:transparent;
  border:none;
  color:var(--text);
  flex:0 0 auto;
  padding:0;
}
.nav-hamburger svg { width:20px; height:20px; }
.nav-hamburger:hover { background:var(--bg-raised); }
@media (max-width:980px) {
  .nav-hamburger { display:flex; }
  .nav-links {
    display:none;
    position:absolute;
    top:100%;
    left:0;
    right:0;
    flex-direction:column;
    gap:2px;
    background:var(--bg-panel);
    border-bottom:1px solid var(--border);
    padding:10px 24px 18px;
    box-shadow:0 16px 28px rgba(0,0,0,0.35);
  }
  .nav-links.show { display:flex; }
  .nav-links a {
    padding:12px 4px;
    border-bottom:1px solid var(--border-soft);
    font-size:0.92rem;
  }
  .nav-links a:last-child { border-bottom:none; }
}
@media (max-width:600px) {
  .archive-head h1 { font-size:1.4rem; }
  .nav-inner {
    gap:8px;
    padding:12px 14px;
    flex-wrap:nowrap;
  }
  .logo-word { font-size:0.82rem; }
  .logo-badge { height:22px; }
  .nav-icons .ic { width:26px; height:26px; }
  .discord-nav-btn { padding:6px 9px; font-size:0.7rem; }
  .discord-nav-btn span.label { display:none; }
  .discord-nav-who { padding:3px 6px 3px 3px; max-width:96px; }
  .discord-nav-who span {
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }
  .discord-nav-who img { width:20px; height:20px; }
  .search-wrap { flex:1 1 auto; min-width:0; }
  .nav-search {
    width:100%;
    min-width:0;
    padding:7px 9px;
    font-size:0.76rem;
  }
}

/* ---------- Calendario de eventos ---------- */
.event-list { display:flex; flex-direction:column; gap:14px; }
.event-card {
  display:flex;
  gap:18px;
  padding:20px 22px;
}
.event-card-icon {
  flex:0 0 auto;
  width:48px;
  height:48px;
  border-radius:50%;
  background:rgba(95,174,90,0.12);
  color:var(--grass);
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1.2rem;
}
.event-card-body { flex:1; min-width:0; }
.event-card-head {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:6px;
}
.event-date {
  font-family:'JetBrains Mono',monospace;
  font-size:0.76rem;
  color:var(--text-faint);
  text-transform:capitalize;
}
.event-countdown {
  font-size:0.72rem;
  font-weight:700;
  color:var(--grass);
  background:rgba(95,174,90,0.12);
  padding:4px 10px;
  border-radius:20px;
}
.event-card-body h3 { font-size:1.05rem; font-weight:700; margin-bottom:6px; }
.event-card-body p { color:var(--text-dim); font-size:0.86rem; line-height:1.6; }

@media (max-width:560px) {
  .event-card { flex-direction:column; gap:12px; }
  .event-card-icon { width:40px; height:40px; }
}
