:root {
  --midnight-black: #0b0f14;
  --tactical-white: #f5f5f5;
  --camo-green: #2e3b2f;
  --camo-green-soft: #3f5240;
  --card-surface: rgba(14, 18, 16, 0.93);
  --line: rgba(107, 133, 110, 0.55);
  --line-soft: rgba(107, 133, 110, 0.25);
  --text: var(--tactical-white);
  --muted: #c6ccc5;
  --warning: #d8b35d;
  --danger: #cc6f66;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Roboto", "Segoe UI", Tahoma, sans-serif;
  color: var(--text);
  background:
    radial-gradient(1000px 560px at 10% -5%, rgba(46, 59, 47, 0.4), transparent 58%),
    radial-gradient(850px 480px at 92% 110%, rgba(63, 82, 64, 0.32), transparent 56%),
    linear-gradient(165deg, #090d12 0%, #0b0f14 42%, #11171c 100%);
  overflow-x: hidden;
}

.grid-overlay {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(245, 245, 245, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(245, 245, 245, 0.022) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  mask-image: radial-gradient(circle at center, black 25%, transparent 100%);
}

.shell {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.panel {
  width: min(1020px, 100%);
  border: 1px solid var(--line);
  background: var(--card-surface);
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(245, 245, 245, 0.03) inset,
    0 25px 64px rgba(0, 0, 0, 0.48);
  overflow: hidden;
  animation: rise-in 680ms cubic-bezier(0.18, 0.8, 0.2, 1) both;
}

.panel::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--camo-green), transparent);
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(11, 15, 20, 0.6), rgba(11, 15, 20, 0.4));
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spear-mark {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  object-fit: cover;
  filter: drop-shadow(0 0 10px rgba(245, 245, 245, 0.15));
  flex-shrink: 0;
}

.logo-text {
  font-family: "Roboto", sans-serif;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--tactical-white);
}

.status-badge {
  font-family: "Roboto Condensed", sans-serif;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--warning);
  border: 1px solid var(--warning);
  background: rgba(216, 179, 93, 0.06);
  border-radius: 6px;
  padding: 8px 12px;
  font-weight: 600;
  flex-shrink: 0;
}

.content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 0;
}

.left,
.right {
  padding: 28px;
}

.left {
  border-right: 1px solid var(--line);
}

h1 {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: clamp(2.4rem, 5.2vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.01em;
  font-weight: 700;
  text-transform: uppercase;
  text-wrap: balance;
}

.sub {
  margin: 16px 0 0;
  max-width: 56ch;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
}

.stamp {
  display: none;
}

.stamp-dot {
  display: none;
}

.highlights {
  display: none;
}

.controls {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 10px;
  padding: 11px 15px;
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
  transition: transform 150ms ease, box-shadow 150ms ease, background 150ms ease, border-color 150ms ease;
}

.btn.primary {
  color: var(--tactical-white);
  background: linear-gradient(110deg, #314934, #2e3b2f 55%, #243126);
  border: 1px solid rgba(245, 245, 245, 0.2);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.btn.secondary {
  color: var(--text);
  background: rgba(245, 245, 245, 0.03);
  border: 1px solid var(--line);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn.secondary:hover {
  border-color: rgba(245, 245, 245, 0.32);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.status-container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.info-btn {
  width: 100%;
  min-height: 72px;
}

.metric,
.status-item {
  border: 1px solid var(--line-soft);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(46, 59, 47, 0.2), rgba(0, 0, 0, 0.18));
  padding: 12px;
}

.metric .k,
.status-item .k {
  margin: 0;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.metric .v,
.status-item .v {
  margin: 6px 0 0;
  font-family: "Roboto", sans-serif;
  font-size: 1.16rem;
  font-weight: 700;
}

.status {
  margin-top: 12px;
  padding: 10px 12px;
  font-family: "Roboto Condensed", sans-serif;
  border-radius: 10px;
  border: 1px solid rgba(204, 111, 102, 0.45);
  background: rgba(204, 111, 102, 0.1);
  color: #f1d2cf;
  font-size: 0.9rem;
}

.foot {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  font-family: "Roboto Condensed", sans-serif;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.9rem;
  background: rgba(46, 59, 47, 0.1);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.99);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes spin {
  from {
    transform: rotateZ(0deg);
  }
  to {
    transform: rotateZ(360deg);
  }
}

@keyframes sparkle {
  0%, 100% {
    filter: drop-shadow(0 0 12px rgba(245, 245, 245, 0.18));
  }
  50% {
    filter: drop-shadow(0 0 20px rgba(46, 59, 47, 0.8));
  }
}

@keyframes glow-burst {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(0.3);
  }
}

@keyframes float-message {
  0% {
    opacity: 0;
    transform: translateY(40px);
  }
  20% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(-40px);
  }
}

@keyframes bullet-fall {
  0% {
    transform: translateY(-20px) rotateZ(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(100vh) rotateZ(720deg);
    opacity: 0;
  }
}

.falling-bullet {
  position: fixed;
  width: 8px;
  height: 16px;
  background: linear-gradient(180deg, #d8b35d, #cc8844);
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(216, 179, 93, 0.6), inset 0 0 4px rgba(255, 255, 255, 0.3);
  pointer-events: none;
  z-index: 5000;
  animation: bullet-fall 2.5s linear;
}

.brand-lockup.spin {
  animation: spin 600ms ease-in-out;
  cursor: pointer;
}

.spear-mark.sparkle {
  animation: sparkle 500ms ease-in-out;
}

.glow-particle {
  position: fixed;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--camo-green-soft), transparent);
  box-shadow: 0 0 10px rgba(46, 59, 47, 0.8);
  --tx: calc((Math.random() - 0.5) * 200px);
  --ty: calc((Math.random() - 0.5) * 200px);
  animation: glow-burst 1200ms ease-out forwards;
  pointer-events: none;
  z-index: 10000;
}

.easter-message {
  position: fixed;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--camo-green-soft);
  text-shadow: 0 0 15px rgba(63, 82, 64, 0.9);
  letter-spacing: 0.08em;
  z-index: 10001;
  animation: float-message 1.8s ease-in-out;
  pointer-events: none;
  font-family: "Roboto Condensed", sans-serif;
}

.music-player {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(11, 15, 20, 0.9);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  z-index: 10002;
}

.music-player[hidden] {
  display: none;
}

.music-btn {
  border: 1px solid var(--line);
  background: rgba(245, 245, 245, 0.04);
  color: var(--text);
  border-radius: 8px;
  padding: 8px 12px;
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.music-btn:hover {
  border-color: rgba(245, 245, 245, 0.32);
}

.music-volume {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "Roboto Condensed", sans-serif;
  color: var(--muted);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.music-volume input[type="range"] {
  width: 110px;
}

@media (max-width: 860px) {
  .content {
    grid-template-columns: 1fr;
  }

  .left {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .topbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .right {
    padding-top: 20px;
  }
}

@media (max-width: 560px) {
  .shell {
    padding: 12px;
  }

  .left,
  .right {
    padding: 20px;
  }

  .metrics {
    grid-template-columns: 1fr;
  }

  .music-player {
    width: calc(100% - 24px);
    justify-content: center;
    flex-wrap: wrap;
  }
}
