/* ============ ammo.cx — Luminous Void Redesign ============ */

:root {
  --bg: #050505;
  --fg: #ffffff;
  --muted: #888888;
  
  /* Modern Indigo/Violet Glow */
  --accent-1: #4f46e5; 
  --accent-2: #c026d3;
  --glow-strength: rgba(79, 70, 229, 0.15);
  
  --glass-surface: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
  --glass-highlight: rgba(255, 255, 255, 0.1);
  
  --font-main: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-main);
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  /* subtle noise texture */
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.03'/%3E%3C/svg%3E");
}

/* ✦ BACKGROUNDS */
.grid-bg {
  position: absolute;
  inset: 0;
  /* Dot Matrix Pattern */
  background-image: radial-gradient(var(--glass-border) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(circle at 50% 50%, black 40%, transparent 100%);
  opacity: 0.5;
  z-index: -2;
}

/* Moving Glow Orb */
.ambient-glow {
  position: absolute;
  top: 50%; left: 50%;
  width: 800px; height: 800px;
  background: radial-gradient(circle, var(--accent-1), transparent 60%);
  filter: blur(120px);
  opacity: 0.2;
  z-index: -3;
  animation: floatOrb 10s ease-in-out infinite alternate;
  transform: translate(-50%, -50%);
}

/* ✦ FLOATING NAV */
.nav {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  min-width: 320px;
  padding: 12px 24px;
  
  /* Glass Pill Styling */
  background: rgba(10, 10, 10, 0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  z-index: 100;
  box-shadow: 0 10px 40px -10px rgba(0,0,0,0.5);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  color: var(--fg);
  font-size: 14px;
  opacity: 0.8;
}

.brand {
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}

/* ✦ HERO SECTION */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  z-index: 5;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: fadeUp 1s var(--ease);
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 100px;
  background: var(--glass-surface);
  border: 1px solid var(--glass-border);
  font-size: 11px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 32px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: var(--font-mono);
  box-shadow: 0 0 0 1px transparent;
  transition: all 0.3s;
}

.badge-pill:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-2px);
  cursor: default;
}

.status-dot {
  width: 6px;
  height: 6px;
  background: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 10px #22c55e;
  animation: pulseDot 2s infinite;
}

h1 {
  font-size: clamp(56px, 9vw, 120px);
  line-height: 0.9;
  font-weight: 800;
  letter-spacing: -0.05em;
  margin-bottom: 32px;
  color: #fff;
}

.text-gradient {
  background: linear-gradient(to bottom right, #fff 40%, #888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  max-width: 480px;
  margin: 0 auto 48px;
  font-weight: 400;
}

/* ✦ BUTTONS */
.btn-primary {
  position: relative;
  text-decoration: none;
  background: #fff;
  color: #000;
  padding: 16px 42px;
  border-radius: 100px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.4s var(--ease);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: scale(1.05);
  box-shadow: 0 0 40px rgba(255, 255, 255, 0.3);
}

.btn-secondary {
  display: none; /* Hidden for cleaner minimalist look, or remove this line to show */
}

/* ✦ FOOTER */
.footer {
  text-align: center;
  padding: 30px;
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--glass-border);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ✦ ANIMATIONS */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(60px) scale(0.95); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes floatOrb {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.2; }
  100% { transform: translate(-40%, -60%) scale(1.1); opacity: 0.3; }
}

@keyframes pulseDot {
  0% { opacity: 1; }
  50% { opacity: 0.5; }
  100% { opacity: 1; }
}

/* Mobile Tweaks */
@media (max-width: 768px) {
  .nav { 
    top: auto; 
    bottom: 30px; /* Moves nav to bottom on mobile for thumb access */
    min-width: auto;
    width: 90%;
  }
  h1 { font-size: 56px; }
}