@import "https://fonts.googleapis.com/css2?family=Rye&family=Inter:wght@400;500;600;700;800&display=swap";

/* ../tmp/dreamable-publish-1795127944630-qy1820/src/index.css */
:root {
  --sand: #e8c98a;
  --gold: #d9a441;
  --blood: #b23b32;
  --ink: #080b0a;
  --panel: rgba(14, 20, 18, 0.94);
}
* {
  box-sizing: border-box;
}
body {
  font-family:
    "Inter",
    system-ui,
    sans-serif;
  color: #f3ead7;
  user-select: none;
  -webkit-user-select: none;
}
.font-rye {
  font-family:
    "Rye",
    Georgia,
    serif;
  letter-spacing: 0.02em;
}
.game-canvas {
  display: block;
  width: 100%;
  height: 100%;
  touch-action: none;
  cursor: crosshair;
}
.screen-overlay {
  background:
    radial-gradient(
      ellipse at 50% 40%,
      rgba(20, 28, 24, 0.72),
      rgba(4, 6, 5, 0.94));
  backdrop-filter: blur(5px);
}
.panel {
  background:
    linear-gradient(
      160deg,
      rgba(24, 32, 28, 0.97),
      rgba(10, 14, 12, 0.98));
  border: 1px solid rgba(217, 164, 65, 0.28);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.btn-gold {
  background:
    linear-gradient(
      180deg,
      #e6b95c,
      #b9822c);
  color: #1a1206;
  border: 1px solid #f2d28c;
  box-shadow: 0 6px 0 #6d4a17, 0 12px 24px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    filter 0.12s ease;
}
.btn-gold:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 0 #6d4a17, 0 16px 30px rgba(0, 0, 0, 0.5);
}
.btn-gold:active {
  transform: translateY(4px);
  box-shadow: 0 2px 0 #6d4a17;
}
.btn-ghost {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(232, 201, 138, 0.22);
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    transform 0.12s ease;
}
.btn-ghost:hover {
  background: rgba(232, 201, 138, 0.12);
  border-color: rgba(232, 201, 138, 0.5);
  transform: translateY(-1px);
}
.weapon-card {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      165deg,
      rgba(30, 39, 34, 0.98),
      rgba(12, 17, 15, 0.99));
  border: 1px solid rgba(232, 201, 138, 0.22);
  transition:
    transform 0.18s cubic-bezier(.2, .8, .2, 1),
    border-color 0.18s ease,
    box-shadow 0.18s ease;
}
.weapon-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 50% 0%,
      var(--glow, rgba(217,164,65,.18)),
      transparent 65%);
  pointer-events: none;
}
.weapon-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent, #d9a441);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), 0 0 0 1px var(--accent, #d9a441) inset;
}
.hud-chip {
  background: rgba(8, 12, 10, 0.72);
  border: 1px solid rgba(232, 201, 138, 0.16);
  backdrop-filter: blur(6px);
}
.hp-fill {
  background:
    linear-gradient(
      90deg,
      #8e2d28,
      #d95345,
      #ef8a6b);
  box-shadow: 0 0 14px rgba(217, 83, 69, 0.5);
  transition: width 0.18s ease-out;
}
.weapon-slot {
  background: rgba(8, 12, 10, 0.78);
  border: 1px solid rgba(232, 201, 138, 0.16);
  transition: all 0.15s ease;
}
.weapon-slot.active {
  background: rgba(217, 164, 65, 0.16);
  border-color: rgba(232, 201, 138, 0.8);
  box-shadow: 0 0 18px rgba(217, 164, 65, 0.22);
}
@keyframes pulse-soft {
  0%, 100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
}
.pulse-soft {
  animation: pulse-soft 2.4s ease-in-out infinite;
}
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.rise-in {
  animation: rise-in 0.35s cubic-bezier(.2, .8, .2, 1) both;
}
@keyframes wave-flash {
  0% {
    opacity: 0;
  }
  25% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
.wave-flash {
  animation: wave-flash 1.8s ease-out both;
}
@keyframes shake-title {
  0%, 100% {
    transform: rotate(-1deg);
  }
  50% {
    transform: rotate(1deg);
  }
}
.shake-title {
  animation: shake-title 4s ease-in-out infinite;
}
.scanlines::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.12) 0px,
      rgba(0, 0, 0, 0.12) 1px,
      transparent 1px,
      transparent 4px);
  opacity: 0.35;
}
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0b0f0d;
}
::-webkit-scrollbar-thumb {
  background: #4a3a22;
  border-radius: 8px;
}
