/* Firma TikTok en el footer */
.firma-tiktok {
  font-size: 15px;
  color: var(--muted);
}

.firma-tiktok-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s;
}

.firma-tiktok-link:hover {
  color: var(--accent-2);
  text-decoration: underline;
}
.status-label--light {
  color: #b0b4c2;
}
:root {
  --bg: #0b0d10;
  --panel: #12151c;
  --panel-2: #1a1f2b;
  --accent: #e54646;
  --accent-2: #ff6b3d;
  --text: #e6e8ef;
  --muted: #9aa0ad;
  --glow: rgba(229, 70, 70, 0.3);
  --border: rgba(255, 255, 255, 0.08);
  --font-sans: "Space Grotesk", "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "Share Tech Mono", "Space Mono", monospace;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at 20% 20%, rgba(229, 70, 70, 0.05), transparent 35%),
    radial-gradient(circle at 80% 10%, rgba(255, 107, 61, 0.08), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.bg-texture {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.012) 0, rgba(255, 255, 255, 0.012) 1px, transparent 1px, transparent 4px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.01) 0, rgba(255, 255, 255, 0.01) 1px, transparent 1px, transparent 4px);
  mix-blend-mode: soft-light;
  opacity: 0.6;
  z-index: 0;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(11, 13, 16, 0.75);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
  gap: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand__logo {
  height: 32px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(229, 70, 70, 0.25));
}

.brand .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 8px var(--glow), 0 0 12px var(--accent);
}

.nav {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 14px;
  text-transform: uppercase;
}

.nav a {
  padding: 10px 14px;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.nav a:hover {
  background: var(--panel-2);
  color: white;
}

.nav .pill {
  background: var(--accent);
  color: white;
  font-weight: 600;
  letter-spacing: 0.05em;
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 32px;
  padding: 80px 6vw 40px;
  align-items: center;
}

.hero__copy h1 {
  font-size: clamp(32px, 5vw, 54px);
  line-height: 1.05;
  margin: 10px 0 12px;
}

.hero__copy .lede {
  color: var(--muted);
  max-width: 640px;
  line-height: 1.6;
}

.hero__panel {
  display: grid;
  gap: 16px;
  width: min(100%, 540px);
  justify-self: center;
}

.hero__copy {
  max-width: 520px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  width: 100%;
}

.panel.noise {
  background: linear-gradient(135deg, rgba(229, 70, 70, 0.08), rgba(26, 31, 43, 0.9));
}

.panel__title {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.vote-actions {
  display: grid;
  gap: 10px;
    max-width: 540px;
}

.panel__value {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 15px;
}

#server-name {
  white-space: nowrap;
  overflow-x: auto;
}

.panel__sub {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}


.panel__sub.status-operativo {
  color: #3bd66f;
}

.status-label {
  color: var(--muted);
}

.status-label--light {
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.eyebrow--accent {
  color: var(--accent-2);
}

    max-width: 540px;
  margin: 8px 0 0;
}

.cta-row {
  display: flex;
  gap: 12px;
  margin: 18px 0 12px;
  flex-wrap: wrap;
}

.btn {
  border: 1px solid var(--border);
  background: var(--panel-2);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0b0d10;
  box-shadow: 0 10px 30px rgba(229, 70, 70, 0.35);
  border-color: transparent;
}

.btn.ghost {
  background: transparent;
  border-color: var(--accent);
  color: var(--accent-2);
}

.btn.small {
  padding: 10px 14px;
  font-size: 13px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--wide {
  width: 100%;
  text-align: center;
}

.meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.badge {
  background: var(--panel-2);
  padding: 8px 10px;
  border-radius: 10px;
  border: 1px solid var(--border);
  font-size: 12px;
  text-transform: uppercase;
}

.section {
  padding: 36px 6vw 10px;
}


.hero__gallery {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-self: center;
  margin: 0 auto;
  width: min(100%, 520px);
}

.gallery__shell {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(26, 31, 43, 0.9), rgba(229, 70, 70, 0.06));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 520px;
}

.gallery__viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 14px;
  aspect-ratio: 1 / 1;
  background: rgba(0, 0, 0, 0.2);
}

.gallery__track {
  display: flex;
  transition: transform 0.4s ease;
  width: 100%;
}

.gallery__item {
  flex: 0 0 100%;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  display: block;
  border-radius: 14px;
  object-fit: contain;
}

.gallery__btn {
  border: 1px solid var(--border);
  background: rgba(11, 13, 16, 0.75);
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.gallery__btn:hover {
  background: var(--panel-2);
  transform: translateY(-1px);
}

.gallery__btn:disabled {
  opacity: 0.4;
  cursor: default;
  transform: none;
}

.section--compact {
  padding-top: 8px;
}

.section__header {
  max-width: 760px;
}

.section__header h2 {
  margin: 6px 0 4px;
  font-size: 30px;
}

.map-link {
  color: var(--accent-2);
  font-weight: 600;
  text-decoration: none;
  margin-left: 6px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 4px;
}

.map-link:hover {
  text-decoration: underline;
}

.grid {
  display: grid;
  gap: 18px;
}

.info-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 18px;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.card--accent {
  background: linear-gradient(145deg, rgba(229, 70, 70, 0.08), rgba(26, 31, 43, 0.9));
}

.card__title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.card__value {
  font-family: var(--font-mono);
  font-size: 15px;
  margin-bottom: 6px;
}

.card__sub {
  color: var(--muted);
  margin: 0 0 12px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pill--warn {
  border-color: var(--accent);
  color: var(--accent-2);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  display: inline-flex;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px dashed var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 13px;
}

.modes-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 16px;
}

.mode-card {
  background: linear-gradient(160deg, var(--panel), #0d1016);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px;
  position: relative;
  overflow: hidden;
}

.mode-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(229, 70, 70, 0.12), transparent 60%);
  pointer-events: none;
}

.mode__label {
  font-family: var(--font-mono);
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.community-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 16px;
}

.footer {
  padding: 30px 6vw 40px;
  color: var(--muted);
  border-top: 1px solid var(--border);
  background: rgba(11, 13, 16, 0.9);
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer__row {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.footer__dayz {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 32px;
  width: auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.5));
}

.glitch {
  position: relative;
  display: inline-block;
  color: white;
  text-shadow: 0 0 10px rgba(229, 70, 70, 0.5);
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  overflow: hidden;
  clip: rect(0, 900px, 0, 0);
}

.glitch::before {
  left: 2px;
  text-shadow: -2px 0 #00e0ff;
  animation: glitch 2s infinite linear alternate-reverse;
}

.glitch::after {
  left: -2px;
  text-shadow: -2px 0 var(--accent);
  animation: glitch 2s infinite linear alternate;
}

@keyframes glitch {
  0% { clip: rect(6px, 9999px, 44px, 0); }
  20% { clip: rect(40px, 9999px, 14px, 0); }
  40% { clip: rect(18px, 9999px, 60px, 0); }
  60% { clip: rect(50px, 9999px, 24px, 0); }
  80% { clip: rect(28px, 9999px, 80px, 0); }
  100% { clip: rect(10px, 9999px, 40px, 0); }
}

.modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
  max-width: min(90vw, 960px);
  max-height: min(90vh, 720px);
  display: grid;
}

.modal__close {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
  z-index: 2;
}

.modal__close:hover {
  background: rgba(0, 0, 0, 0.8);
}

.modal__image {
  width: 100%;
  height: 100%;
  max-height: 680px;
  object-fit: contain;
  border-radius: 10px;
}

.modal:focus-visible,
.modal__dialog:focus-visible,
.modal__close:focus-visible,
.map-link:focus-visible {
  outline: 2px solid var(--accent-2);
  outline-offset: 3px;
}

@media (max-width: 720px) {
  .topbar { padding: 12px 20px; }
  .nav { gap: 8px; font-size: 12px; }
  .hero { padding: 60px 20px 30px; }
  .section { padding: 28px 20px 6px; }
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(5, 7, 20, 0.86);
  border-bottom: 1px solid rgba(var(--frost-rgb), 0.18);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px clamp(14px, 3.2vw, 48px);
  color: rgba(223, 229, 255, 0.88);
}

.topbar__center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
}

.tiktok-icon-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 24px;
  background: none;
  border-radius: 50%;
  transition: box-shadow 0.2s;
}

.tiktok-icon-link svg {
  display: block;
  width: 40px;
  height: 40px;
  filter: drop-shadow(0 2px 8px var(--glow));
}

.tiktok-icon-link:hover svg {
  filter: drop-shadow(0 4px 16px var(--accent));
}
