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

:root {
  --tactical-green: #39ff14;
  --signal-blue: #00d9ff;
  --warning-orange: #ff6b35;
  --dark-bg: #0a0e1a;
  --grid-color: rgba(57, 255, 20, 0.15);
  --accent-glow: rgba(57, 255, 20, 0.4);
}

html {
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--dark-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Share Tech Mono', monospace;
  color: var(--tactical-green);
  overflow-x: hidden;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

body::before {
  content: '';
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridScroll 20s linear infinite;
  opacity: 0.3;
  z-index: 0;
}

@keyframes gridScroll {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

body::after {
  content: '';
  position: fixed;
  top: -100%;
  left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--tactical-green), transparent);
  box-shadow: 0 0 20px var(--tactical-green);
  animation: scan 4s linear 1;
  animation-fill-mode: forwards;
  z-index: 1;
  pointer-events: none;
}

@keyframes scan {
  0% { top: -10%; }
  100% { top: 110%; }
}

.nav {
  background: linear-gradient(180deg, #2d3748 0%, rgba(45, 55, 72, 0.95) 100%);
  padding: 1rem;
  text-align: center;
  font-size: 0.85rem;
  border-bottom: 1px solid #4a5568;
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  font-family: Arial, sans-serif;
  width: 100%;
  box-sizing: border-box;
}

.nav a {
  color: #90cdf4;
  text-decoration: none;
  margin: 0 0.5rem;
  padding: 0.5rem 0.75rem;
  transition: all 0.2s;
  display: inline-block;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
}

.nav a:hover {
  color: #63b3ed;
  background-color: rgba(99, 179, 237, 0.1);
  border-radius: 4px;
}

.nav a.active {
  color: #f6ad55;
  font-weight: bold;
}

.container {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 1rem;
  max-width: 100%;
  width: 100%;
  overflow-x: hidden;
}

.logo-wrapper {
  position: relative;
  display: inline-block;
  padding: 2rem 1rem;
  max-width: 100%;
  overflow: hidden;
}

.logo-hero {
  position: relative;
  display: inline-block;
}

.logo-wrapper img {
  max-width: 100%;
  height: auto;
  border: 2px solid var(--tactical-green);
  border-radius: 4px;
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.3);
  margin: 2rem auto;
  display: block;
}

.radar-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid var(--tactical-green);
  border-radius: 50%;
  opacity: 0;
  animation: radarPulse 3s ease-out 1;
  animation-fill-mode: forwards;
  pointer-events: none;
}

.radar-ring:nth-child(1) { width: 240px; height: 240px; animation-delay: 0s; }
.radar-ring:nth-child(2) { width: 300px; height: 300px; animation-delay: 1s; }
.radar-ring:nth-child(3) { width: 360px; height: 360px; animation-delay: 2s; }

@keyframes radarPulse {
  0% { transform: translate(-50%, -50%) scale(0.3); opacity: 1; }
  100% { transform: translate(-50%, -50%) scale(1); opacity: 0; }
}

.logo-svg {
  position: relative;
  z-index: 3;
  filter: drop-shadow(0 0 20px var(--accent-glow));
}

.wombat-icon {
  width: 200px;
  height: 200px;
  margin: 0 auto 2rem;
  position: relative;
}

.wombat-silhouette {
  fill: var(--tactical-green);
  filter: drop-shadow(0 0 10px var(--tactical-green));
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

.signal-wave {
  stroke: var(--signal-blue);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: signalFlow 3s ease-in-out infinite;
}

@keyframes signalFlow {
  0% { stroke-dashoffset: 200; opacity: 0; }
  50% { opacity: 1; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

.signal-wave:nth-of-type(1) { animation-delay: 0s; }
.signal-wave:nth-of-type(2) { animation-delay: .2s; }
.signal-wave:nth-of-type(3) { animation-delay: .4s; }
.signal-wave:nth-of-type(4) { animation-delay: .6s; }

.title {
  font-family: 'Orbitron', sans-serif;
  font-weight: 900;
  font-size: 4rem;
  letter-spacing: 0.3rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--tactical-green), var(--signal-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 30px var(--accent-glow));
  animation: titleGlow 3s ease-in-out infinite;
}

@keyframes titleGlow {
  0%, 100% { filter: drop-shadow(0 0 30px var(--accent-glow)); }
  50% { filter: drop-shadow(0 0 50px var(--accent-glow)); }
}

.subtitle {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.95rem;
  letter-spacing: 0.4rem;
  color: var(--signal-blue);
  margin-bottom: 2rem;
  text-transform: uppercase;
  opacity: 0.9;
  max-width: 100%;
  overflow-wrap: break-word;
}

.acronym {
  font-family: 'Orbitron', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--tactical-green);
  letter-spacing: 0.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
  text-shadow: 0 0 10px var(--accent-glow);
}

.acronym span {
  display: block;
  animation: letterReveal 0.5s ease-out forwards;
  opacity: 0;
  transform: translateX(-20px);
}

.acronym span:nth-child(1) { animation-delay: 0.1s; }
.acronym span:nth-child(2) { animation-delay: 0.2s; }
.acronym span:nth-child(3) { animation-delay: 0.3s; }
.acronym span:nth-child(4) { animation-delay: 0.4s; }
.acronym span:nth-child(5) { animation-delay: 0.5s; }

@keyframes letterReveal {
  to { opacity: 1; transform: translateX(0); }
}

.branding {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.85rem;
  color: var(--warning-orange);
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  margin-top: 2rem;
  opacity: 0.85;
  max-width: 100%;
  overflow-wrap: break-word;
  line-height: 1.5;
}

.branding a {
  color: var(--tactical-green);
  text-decoration: none;
  transition: all 0.2s;
  border-bottom: 1px solid var(--tactical-green);
}

.branding a:hover {
  color: var(--signal-blue);
  border-bottom-color: var(--signal-blue);
  text-shadow: 0 0 10px var(--signal-blue);
}

.action-buttons {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.wombat-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.15rem;
  text-decoration: none;
  text-transform: uppercase;
  border: 2px solid;
  border-radius: 4px;
  transition: all 0.3s ease;
  overflow: hidden;
  z-index: 1;
}

.wombat-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  transition: left 0.3s ease;
  z-index: -1;
}

.wombat-button:hover::before {
  left: 0;
}

.wombat-button.primary {
  color: var(--tactical-green);
  border-color: var(--tactical-green);
  background: rgba(57, 255, 20, 0.05);
  box-shadow: 0 0 15px rgba(57, 255, 20, 0.2);
}

.wombat-button.primary::before {
  background: var(--tactical-green);
}

.wombat-button.primary:hover {
  color: var(--dark-bg);
  box-shadow: 0 0 25px rgba(57, 255, 20, 0.6);
  transform: translateY(-2px);
}

.wombat-button.secondary {
  color: var(--signal-blue);
  border-color: var(--signal-blue);
  background: rgba(0, 217, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 217, 255, 0.2);
}

.wombat-button.secondary::before {
  background: var(--signal-blue);
}

.wombat-button.secondary:hover {
  color: var(--dark-bg);
  box-shadow: 0 0 25px rgba(0, 217, 255, 0.6);
  transform: translateY(-2px);
}

.button-icon {
  font-size: 1.2rem;
  filter: drop-shadow(0 0 5px currentColor);
}

.button-text {
  font-size: 0.85rem;
}

.freq-section { margin-top: 2rem; }

.freq-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  color: var(--signal-blue);
  letter-spacing: 0.2rem;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.freq-display {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  max-width: 100%;
}

.freq-badge {
  background: rgba(57, 255, 20, 0.1);
  border: 1px solid var(--tactical-green);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.75rem;
  letter-spacing: 0.1rem;
  color: var(--tactical-green);
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
  animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 10px rgba(57, 255, 20, 0.2); }
  50% { box-shadow: 0 0 20px rgba(57, 255, 20, 0.4); }
}

.freq-badge:nth-child(1) { animation-delay: 0s; }
.freq-badge:nth-child(2) { animation-delay: 0.2s; }
.freq-badge:nth-child(3) { animation-delay: 0.4s; }
.freq-badge:nth-child(4) { animation-delay: 0.6s; }
.freq-badge:nth-child(5) { animation-delay: 0.8s; }

.freq-badge.optional {
  opacity: 0.6;
  border-style: dashed;
  animation: none;
}

@media (max-width: 768px) {
  .freq-badge.optional {
    display: none;
  }
}

.corner-bracket {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid var(--tactical-green);
  opacity: 0.5;
  pointer-events: none;
}

.corner-bracket.top-left {
  top: 1rem; left: 1rem;
  border-right: none;
  border-bottom: none;
}

.corner-bracket.top-right {
  top: 1rem; right: 1rem;
  border-left: none;
  border-bottom: none;
}

.corner-bracket.bottom-left {
  bottom: 1rem; left: 1rem;
  border-right: none;
  border-top: none;
}

.corner-bracket.bottom-right {
  bottom: 1rem; right: 1rem;
  border-left: none;
  border-top: none;
}

.footer {
  position: relative;
  width: 100%;
  padding: 1rem;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1rem;
  z-index: 10;
  background: linear-gradient(0deg, rgba(10, 14, 26, 0.9) 0%, transparent 100%);
  margin-top: 2rem;
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  body::before, body::after { display: none; }
}

@media (max-width: 768px) {
  .nav {
    font-size: 0.7rem;
    gap: 0.25rem;
  }

  .nav a {
    margin: 0 0.25rem;
    padding: 0.4rem 0.4rem;
  }

  .container { 
    padding: 1rem;
    padding-top: 5rem;
  }
  
  .logo-wrapper { padding: 1.5rem 1rem; }

  .wombat-icon {
    width: 150px;
    height: 150px;
    margin-bottom: 1.5rem;
  }

  .radar-ring:nth-child(1) { width: 170px; height: 170px; }
  .radar-ring:nth-child(2) { width: 220px; height: 220px; }
  .radar-ring:nth-child(3) { width: 270px; height: 270px; }

  .title {
    font-size: 2.5rem;
    letter-spacing: 0.15rem;
    word-break: keep-all;
    margin-bottom: 1rem;
  }

  .subtitle {
    font-size: 0.7rem;
    letter-spacing: 0.1rem;
    line-height: 1.7;
    padding: 0 1rem;
    margin-bottom: 2rem;
  }

  .acronym {
    font-size: 0.9rem;
    letter-spacing: 0.1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
  }

  .freq-section { margin-top: 2rem; }

  .freq-label {
    font-size: 0.75rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.1rem;
  }

  .freq-display {
    gap: 0.75rem;
    padding: 0 1rem;
    margin-bottom: 1.5rem;
  }

  .freq-badge {
    font-size: 0.7rem;
    padding: 0.5rem 0.75rem;
    letter-spacing: 0.08rem;
  }

  .branding {
    font-size: 0.7rem;
    letter-spacing: 0.1rem;
    line-height: 1.7;
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .action-buttons {
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
    padding: 0 1rem;
  }

  .wombat-button {
    width: 100%;
    max-width: 300px;
    padding: 0.85rem 1.5rem;
    font-size: 0.8rem;
    letter-spacing: 0.1rem;
    justify-content: center;
  }

  .button-icon {
    font-size: 1rem;
  }

  .button-text {
    font-size: 0.75rem;
  }

  .corner-bracket { width: 30px; height: 30px; }

  .corner-bracket.top-left,
  .corner-bracket.top-right { top: 0.5rem; }

  .corner-bracket.bottom-left,
  .corner-bracket.bottom-right { bottom: 0.5rem; }

  .corner-bracket.top-left,
  .corner-bracket.bottom-left { left: 0.5rem; }

  .corner-bracket.top-right,
  .corner-bracket.bottom-right { right: 0.5rem; }

  .footer {
    font-size: 0.65rem;
    padding: 0.75rem;
  }
}

@media (max-width: 400px) {
  .title { 
    font-size: 2rem; 
    letter-spacing: 0.15rem; 
    margin-bottom: 1rem;
  }
  
  .subtitle { 
    font-size: 0.65rem; 
    letter-spacing: 0.1rem; 
    line-height: 1.6;
    padding: 0 0.75rem;
  }
  
  .acronym { 
    font-size: 0.8rem; 
    letter-spacing: 0.1rem;
  }
  
  .freq-label { 
    font-size: 0.7rem; 
    letter-spacing: 0.1rem;
  }
  
  .freq-badge { 
    font-size: 0.65rem; 
    padding: 0.4rem 0.65rem; 
    letter-spacing: 0.05rem;
  }
  
  .branding { 
    font-size: 0.65rem; 
    letter-spacing: 0.1rem; 
    line-height: 1.6;
    padding: 0 0.75rem;
  }

  .action-buttons {
    margin-top: 1.5rem;
    padding: 0 0.75rem;
  }

  .wombat-button {
    padding: 0.75rem 1.25rem;
    font-size: 0.75rem;
  }

  .button-icon {
    font-size: 0.9rem;
  }

  .button-text {
    font-size: 0.7rem;
  }
}
