/* body {
  background-color: #050505 !important;
  position: relative;
}

/* body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("/static/img/logo.50bc82cafc8f.png") center / cover no-repeat; 
  filter: blur(40px) brightness(0.6);
  transform: scale(1.2);

  z-index: -1;
  pointer-events: none;
} */ */

.rulebook-wrap {
  position: relative;
  overflow: hidden;
  background: transparent;
  min-height: 100vh;
}

.rulebook-heading {
  letter-spacing: 1px;
  font-size: 1.15rem;
  text-align: left;
  margin-left: 0;
}

.rulebook-divider {
  width: 100%;
  max-width: 95%;
  border: none;
  border-top: 3px solid #e50914;
  margin-top: 0.5rem;
  margin-left: 0;
}

.pdf-viewer-card {
  width: min(540px, 92vw);
  margin: 0 auto 80px;
  background: transparent;
  padding: 0;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}

#rulebookViewer {
  display: block;
  width: 100%;
  height: 78vh;
  border: 0;
  background: transparent !important;
  pointer-events: none;
  opacity: 1;
}

.pdf-footer {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  padding-top: 16px;
  color: #e6e6e6;
  font-size: 0.95rem;
  background: transparent;
}

.pdf-nav {
  color: #e50914 !important;
  text-decoration: none;
  font-weight: 600;
}

.pdf-nav:hover {
  color: #ff6666 !important;
  text-decoration: underline;
}

.pdf-indicator {
  color: #e50914;
  font-weight: 700;
}

.pdf-nav.is-hidden {
  visibility: hidden;
}

.nav-over-hero {
  background-color: rgba(0, 0, 0, 0.72) !important;
  backdrop-filter: blur(8px);
}

.nav-over-hero.scrolled {
  background-color: rgba(0, 0, 0, 0.82) !important;
}

@media (max-width: 768px) {
  .pdf-viewer-card {
    width: 96vw;
  }

  #rulebookViewer {
    height: 72vh;
  }

  .pdf-footer {
    gap: 12px;
    font-size: 0.9rem;
  }
}