@import url('https://fonts.googleapis.com/css2?family=Bungee&family=Syne+Mono&display=swap');

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

body { min-height: 100vh; background: #080a0c; font-family: 'Syne Mono', monospace; color: #c8a84b; user-select: none; }

#ah-app { min-height: 100vh; padding: 16px; position: relative; }

#ah-hud { display: flex; justify-content: space-between; gap: 12px; max-width: 560px; margin: 0 auto 16px; font-size: 0.75rem; align-items: center; flex-wrap: wrap; }
.ah-start-best { font-size: 0.72rem; opacity: 0.75; margin-bottom: 18px; color: #f0d880; }
#ah-noise-bar { display: inline-block; width: 80px; height: 6px; background: #1a1018; vertical-align: middle; border-radius: 3px; overflow: hidden; }
#ah-noise-fill { display: block; height: 100%; width: 0; background: #c41e3a; }

#ah-stage { max-width: 560px; margin: 0 auto; }
#ah-float { min-height: 80px; display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; justify-content: center; }

.ah-book {
  padding: 12px 16px; background: #1a1820; border: 2px solid #4a4050;
  border-radius: 4px; cursor: grab; font-family: 'Bungee', cursive; font-size: 0.9rem;
  animation: ah-float 2s ease-in-out infinite;
}
.ah-book.selected { border-color: #f0d880; box-shadow: 0 0 12px rgba(240,216,128,0.3); }
@keyframes ah-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

#ah-shelves { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ah-shelf {
  padding: 20px; background: #101418; border: 2px dashed #3a4048;
  border-radius: 6px; text-align: center; cursor: pointer; font-family: 'Bungee', cursive; font-size: 1.2rem;
}
.ah-shelf:hover { border-color: #c8a84b; }

.ah-screen {
  position: fixed; inset: 0; z-index: 20; display: none; flex-direction: column;
  align-items: center; justify-content: center; padding: 24px; text-align: center; background: rgba(4, 6, 8, 0.96);
}
.ah-screen.active { display: flex; }

.ah-credit { font-size: 0.65rem; letter-spacing: 0.35em; text-transform: uppercase; opacity: 0.7; margin-bottom: 12px; }
h1 { font-family: 'Bungee', cursive; font-size: clamp(1.2rem, 4vw, 1.8rem); color: #f0d880; margin-bottom: 12px; }
.ah-tagline { font-size: 0.85rem; opacity: 0.85; margin-bottom: 8px; }
.ah-sub { font-size: 0.75rem; line-height: 1.6; opacity: 0.65; margin-bottom: 24px; max-width: 420px; }

button { font-family: 'Syne Mono', monospace; font-size: 0.75rem; letter-spacing: 0.15em; padding: 12px 28px; color: #fff; background: #2a1018; border: 1px solid rgba(200,168,75,0.4); border-radius: 6px; cursor: pointer; }
.ah-exit { position: fixed; bottom: 12px; right: 14px; font-size: 0.7rem; color: rgba(200,168,75,0.6); text-decoration: none; }
