:root {
  --wz-blue: #38bdf8;
  --wz-blue-deep: #2563eb;
  --wz-red: #f43f5e;
  --wz-ink: #020617;
  --wz-panel: rgba(5, 9, 20, .92);
  --wz-border: rgba(96, 165, 250, .34);
}

html { background: var(--wz-ink); }
body {
  font-family: 'Exo 2', sans-serif;
  color: #e2e8f0;
  min-height: 100vh;
  background-color: var(--wz-ink) !important;
  background-image: url('/ranwarzone/images/ran-warzone-ep11-register.png') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-attachment: fixed !important;
  position: relative;
  z-index: 1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(2, 6, 23, .46), rgba(2, 6, 23, .74) 38%, rgba(2, 6, 23, .74) 62%, rgba(2, 6, 23, .46)) !important;
  z-index: -1;
}

.hero-section, .hero {
  background-image: url('/ranwarzone/images/ran-warzone-ep11-register.png') !important;
  background-size: cover !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
}

.hero::before {
  background: linear-gradient(180deg, rgba(2, 6, 23, .34), rgba(2, 6, 23, .76)) !important;
  opacity: 1 !important;
}

.hero-overlay {
  background: linear-gradient(180deg, rgba(2, 6, 23, .28), rgba(2, 6, 23, .70)) !important;
}

body > main, .content-wrap {
  background-color: transparent !important;
}

body > section:not(.hero-section):not(.hero) {
  background-color: rgba(2, 6, 23, .78) !important;
}

#header, .site-header, .wz-header {
  background: rgba(2, 6, 23, .88) !important;
  border-bottom: 1px solid rgba(96, 165, 250, .22);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .32);
  backdrop-filter: blur(12px);
}

#header nav, .nav-wrap, .wz-nav {
  min-height: 72px;
}

#header nav > a:first-child, .brand, .wz-brand {
  font-family: 'Russo One', sans-serif;
  text-transform: uppercase;
  text-shadow: 0 0 16px rgba(56, 189, 248, .28);
}

#header nav > a:first-child span, .brand span, .wz-brand span {
  background: linear-gradient(90deg, #f43f5e, #f8fafc 44%, #38bdf8);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

#header nav a, .desktop-nav a, .mobile-nav a, .wz-links a {
  transition: color .18s ease, text-shadow .18s ease, border-color .18s ease;
}

#header nav a:hover, .desktop-nav a:hover, .mobile-nav a:hover, .wz-links a:hover,
#header nav a.active, .desktop-nav a.active, .mobile-nav a.active {
  color: #7dd3fc !important;
  text-shadow: 0 0 12px rgba(56, 189, 248, .55);
}

.warzone-card, .card, .equipment-card,
.bg-black.bg-opacity-70, .bg-black\/70 {
  border-color: var(--wz-border) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .46), 0 0 24px rgba(37, 99, 235, .10) !important;
}

.text-glow-blue, .glow {
  text-shadow: 0 0 10px rgba(56, 189, 248, .72), 0 0 24px rgba(37, 99, 235, .40) !important;
}

.section-divider {
  background: linear-gradient(90deg, transparent, var(--wz-red), #f8fafc, var(--wz-blue), transparent) !important;
}

footer {
  background: rgba(2, 6, 23, .94) !important;
  border-top: 1px solid rgba(96, 165, 250, .18);
}

.wz-header { position: fixed; inset: 0 0 auto; z-index: 50; }
.wz-nav { max-width: 1280px; margin: auto; padding: 0 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.wz-brand { color: white; font-size: 1.65rem; letter-spacing: .05em; text-decoration: none; white-space: nowrap; }
.wz-links { display: flex; align-items: center; gap: 1.35rem; }
.wz-links a { color: #d1d5db; font-size: .78rem; font-weight: 700; letter-spacing: .10em; text-decoration: none; }
.wz-links a.active { color: #7dd3fc; }
.wz-page { padding-top: 104px; }
.wz-footer { padding: 2rem 1rem; text-align: center; color: #94a3b8; }
.wz-footer small { display: block; margin-top: .4rem; color: #64748b; }

@media (max-width: 900px) {
  .wz-links { gap: .75rem; flex-wrap: wrap; justify-content: flex-end; }
  .wz-links a { font-size: .68rem; }
}

@media (max-width: 680px) {
  .wz-nav { min-height: 82px; align-items: flex-start; padding-top: .85rem; padding-bottom: .75rem; }
  .wz-brand { font-size: 1.15rem; margin-top: .2rem; }
  .wz-links { max-width: 62%; gap: .55rem .8rem; }
  .wz-page { padding-top: 110px; }
}
