/* ==========================================================================
   0NYX HOSTING - STRICT MONOCHROME DESIGN SYSTEM (STRICT 0% BLUE)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Silkscreen:wght@400;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700;800&display=swap');

:root {
  --bg-dark: #05070b;
  --bg-surface: rgba(10, 13, 20, 0.95);
  --border-white: rgba(255, 255, 255, 0.15);
  --border-white-strong: #ffffff;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: #05070b;
  color: #ffffff;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Typography */
.font-pixel {
  font-family: 'Silkscreen', 'JetBrains Mono', monospace !important;
  letter-spacing: 0.03em !important;
}

.font-body {
  font-family: 'Plus Jakarta Sans', sans-serif !important;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace !important;
}

h1.font-pixel, h2.font-pixel, h3.font-pixel {
  line-height: 1.15 !important;
}

.content {
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Strict Monochrome Glows (Zero Blue) */
.headline-glow-white {
  text-shadow: 0 0 25px rgba(255, 255, 255, 0.5), 0 0 50px rgba(255, 255, 255, 0.2) !important;
  color: #ffffff !important;
}

.text-glow-dark {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9) !important;
}

/* Background Grids & Scanlines */
.grid-bg {
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.04) 1px, transparent 1px) !important;
  background-size: 36px 36px !important;
}

.scanlines {
  background: linear-gradient(
    rgba(18, 16, 16, 0) 50%, 
    rgba(0, 0, 0, 0.4) 50%
  ) !important;
  background-size: 100% 4px !important;
  pointer-events: none !important;
}

/* Strict Monochrome Action Buttons (Zero Blue) */
.onyx-btn, .pixel-button, .pixel-blue, .pixel-dark, .pixel-subtle {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  font-family: 'Silkscreen', monospace !important;
  font-weight: 700 !important;
  font-size: 0.85rem !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  padding: 0.85rem 1.65rem !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  cursor: pointer !important;
  background-color: #121722 !important;
  border: 1px solid #ffffff !important;
  color: #ffffff !important;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 255, 255, 0.15) !important;
  transition: all 0.2s ease !important;
  user-select: none !important;
  position: relative !important;
}

.onyx-btn:hover, .pixel-button:hover, .pixel-blue:hover, .pixel-dark:hover, .pixel-subtle:hover {
  background-color: #1c2436 !important;
  border-color: #ffffff !important;
  color: #ffffff !important;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.6), 0 0 26px rgba(255, 255, 255, 0.35) !important;
  transform: translateY(-1px) !important;
}

.onyx-btn-dark, .pixel-dark {
  background-color: #080b12 !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
}

/* Range Sliders */
.custom-range {
  width: 100%;
  height: 8px;
  appearance: none;
  -webkit-appearance: none;
  background: #0d1320;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s ease;
}

.custom-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
  border: 2px solid #05070b;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.8);
  transition: transform 0.15s ease;
}

.custom-range::-webkit-slider-thumb:hover,
.custom-range:active::-webkit-slider-thumb {
  transform: scale(1.25);
  background: #ffffff;
}

.custom-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: #ffffff;
  cursor: pointer;
  border: 2px solid #05070b;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.8);
  transition: transform 0.15s ease;
}

/* Eyebrows */
.eyebrow {
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  font-family: 'JetBrains Mono', monospace !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.15em !important;
  text-transform: uppercase !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Pixel Panel & Frames */
.pixel-panel {
  position: relative !important;
  background-color: #05070b !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 4px !important;
  transition: all 0.3s ease !important;
}

.pixel-panel:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.pixel-frame {
  background-color: rgba(10, 13, 20, 0.95) !important;
  backdrop-filter: blur(16px) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 4px !important;
  transition: all 0.25s ease !important;
}

.pixel-frame:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
  transform: translateY(-2px);
}

/* Feature Animation Canvas Containers */
.anim-canvas-container {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #020407;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.anim-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* Discord Button Styling */
.pixel-discord {
  background-color: #5865F2 !important;
  border-color: #7983f5 !important;
  color: #ffffff !important;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.4) !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.pixel-discord:hover {
  background-color: #4752C4 !important;
  border-color: #ffffff !important;
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.7) !important;
  transform: translateY(-2px) scale(1.02) !important;
}

/* Micro-Animations & Glow Effects */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.01); }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-5px); }
}

.pulse-glow {
  animation: pulse-subtle 3s infinite ease-in-out;
}

.float-slow {
  animation: float-slow 4s infinite ease-in-out;
}

/* Accordion Smooth Transition */
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
  opacity: 0;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  opacity: 1;
  padding-top: 1rem;
}

/* -----------------------------------------------------------------------
   SCROLL REVEAL ANIMATIONS
   Elements start hidden; JS Intersection Observer adds .is-visible
----------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* Hero entrance */
@keyframes fade-up {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-enter { animation: fade-up 0.7s cubic-bezier(0.22, 1, 0.36, 1) both; }
.hero-enter-1 { animation-delay: 0.05s; }
.hero-enter-2 { animation-delay: 0.18s; }
.hero-enter-3 { animation-delay: 0.30s; }
.hero-enter-4 { animation-delay: 0.44s; }

/* Nav link underline hover */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.25s ease;
}
.nav-link:hover::after { width: 100%; }


