* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
  height: 100%;
  overflow: hidden;
  background: #2a1c10;
  font-family: -apple-system, Arial, sans-serif;
  color: #eef1f8;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}
#cv { display: block; }
.hud {
  position: fixed;
  top: max(10px, env(safe-area-inset-top));
  left: 14px;
  right: 14px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  font-weight: 800;
  font-size: 16px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, .6);
  z-index: 5;
}
.hud .a { color: #ffd75e; }
.hud .b { color: #cfd8ea; }
.panel {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 13px;
  background: rgba(34,22,12, .84);
  backdrop-filter: blur(3px);
  text-align: center;
  padding: 20px;
}
.panel[hidden] { display: none; }
.panel h2 { font-size: 34px; letter-spacing: 1px; color: #ffd75e; }
.panel p { font-size: 15px; line-height: 1.8; color: #b8c2d8; }
.panel.menu {
  background: radial-gradient(ellipse at 50% 30%, rgba(34,22,12, .15) 0%, rgba(34,22,12, .84) 74%);
  justify-content: flex-end;
  padding-bottom: max(9vh, 48px);
}
.menu-body { max-width: 100%; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.panel.menu h2 {
  font-size: clamp(32px, 10vw, 52px);
  letter-spacing: 2px;
  background: linear-gradient(180deg, #ffeebc 10%, #c98a06 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 20px rgba(232,163,12,.4));
}
.tagline { color: #ffd75e; letter-spacing: 1px; font-size: 15px; }
.feats { list-style: none; display: flex; flex-direction: column; gap: 7px; margin: 6px 0; }
.feats li {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  padding: 7px 20px;
  font-size: 14px;
  color: #c8d2e8;
}
.howto { font-size: 13px; color: #8fa0c0; }
button {
  border: none;
  border-radius: 12px;
  background: #c98a06;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  padding: 11px 24px;
  cursor: pointer;
  font-family: inherit;
}
button:active { transform: scale(.96); }
button.primary {
  background: linear-gradient(180deg, #ffd75e, #c98a06);
  color: #16121a;
  font-size: 19px;
  padding: 14px 42px;
  border-radius: 14px;
  box-shadow: 0 6px 20px rgba(232,163,12,.4);
}
button.ghost { background: rgba(255, 255, 255, .13); color: #eef1f8; }
.panel-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.in-menu .hud { display: none; }
.banner {
  position: fixed;
  top: 34%;
  left: 0; right: 0;
  text-align: center;
  font-size: clamp(18px, 5vw, 30px);
  font-weight: 900;
  color: #ffd75e;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
  pointer-events: none;
  z-index: 8;
  opacity: 0;
  transition: opacity .3s;
}
.banner.show { opacity: 1; }
