@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=Nunito:wght@400;600;700;800&display=swap');

:root {
  --purple: rgba(174, 112, 255, .78);
  --purple-hover: rgba(196, 151, 255, .94);
  --ink: #171020;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-snap-type: y mandatory; }
body { margin: 0; color: white; background: #100d18; font-family: Nunito, Arial, sans-serif; }
.screen { min-height: 100svh; height: 100svh; position: relative; overflow: hidden; scroll-snap-align: start; display: grid; place-items: center; }
.backdrop, .shade { position: absolute; inset: 0; }
.backdrop { background-size: cover; background-position: center; transform: scale(1.015); }
.backdrop-home {
  background-image: linear-gradient(135deg, #293e50, #8b657b 48%, #241b3d);
}
.backdrop-menu {
  background-image: linear-gradient(135deg, #111a2a, #33234b 52%, #100e1d);
}
.backdrop-home::after, .backdrop-menu::after {
  content: ""; position: absolute; inset: 0; opacity: .24;
  background-image: linear-gradient(30deg, transparent 48%, rgba(255,255,255,.08) 49%, transparent 51%);
  background-size: 46px 46px;
}
.shade { background: linear-gradient(90deg, rgba(10,8,18,.48), rgba(10,8,18,.12), rgba(10,8,18,.48)), linear-gradient(0deg, rgba(10,8,18,.35), transparent 55%, rgba(10,8,18,.22)); }
.menu-shade { background: rgba(7, 5, 14, .43); }
.hero-content, .menu-content { position: relative; z-index: 1; text-align: center; padding: 24px; width: min(900px, 92vw); animation: appear .9s ease both; }
.eyebrow { font: 10px 'Press Start 2P', monospace; letter-spacing: 3px; color: #e4caff; text-shadow: 0 2px 12px #000; margin-bottom: 25px; }
h1, h2 { font-family: 'Press Start 2P', monospace; line-height: 1.55; text-shadow: 0 5px 0 rgba(0,0,0,.24), 0 8px 25px rgba(0,0,0,.55); }
h1 { font-size: clamp(24px, 5vw, 48px); margin: 0 0 18px; }
h2 { font-size: clamp(20px, 3.5vw, 34px); margin: 0 0 38px; }
.hero-content p { font-size: clamp(16px, 2vw, 21px); margin: 0 0 36px; text-shadow: 0 2px 8px #000; }
.pixel-button, .corner-button {
  border: 2px solid rgba(35, 18, 54, .7); color: var(--ink); background: var(--purple);
  box-shadow: 0 6px 0 rgba(31, 16, 48, .7), 0 12px 30px rgba(0,0,0,.24);
  cursor: pointer; transition: transform .16s ease, background .16s ease, box-shadow .16s ease;
  font-family: 'Press Start 2P', monospace; text-transform: uppercase;
}
.pixel-button { padding: 19px 24px; font-size: 12px; line-height: 1.6; }
.pixel-button:hover, .corner-button:hover { background: var(--purple-hover); transform: translateY(-4px); box-shadow: 0 10px 0 rgba(31,16,48,.65), 0 17px 32px rgba(0,0,0,.3); }
.pixel-button:active, .corner-button:active { transform: translateY(3px); box-shadow: 0 2px 0 rgba(31,16,48,.7); }
.enter-button { min-width: 220px; }
.enter-button span { margin-left: 12px; }
.scroll-hint { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.7); font: 8px 'Press Start 2P', monospace; letter-spacing: 2px; }
.menu-buttons { width: min(560px, 90vw); margin: auto; display: grid; gap: 16px; }
.section-button { width: 100%; min-height: 62px; font-size: clamp(9px, 1.4vw, 12px); }
.corner-button { position: absolute; z-index: 2; bottom: 28px; padding: 14px 17px; font-size: 10px; }
.donate { left: 28px; }
.socials { right: 28px; }
.heart { color: #38142f; font-size: 18px; vertical-align: -1px; margin-right: 7px; }
.youtube { display: inline-grid; place-items: center; width: 20px; height: 14px; border-radius: 4px; background: #291b35; color: #d7b6ff; font-size: 10px; margin-right: 7px; }
dialog { width: min(480px, calc(100vw - 32px)); border: 2px solid rgba(205,166,255,.8); border-radius: 4px; padding: 38px 28px 28px; color: white; background: #21172e; text-align: center; box-shadow: 0 20px 80px #000a; }
dialog::backdrop { background: rgba(0,0,0,.72); backdrop-filter: blur(5px); }
dialog h3 { font: 15px 'Press Start 2P', monospace; line-height: 1.8; margin: 0 0 18px; }
dialog p { color: #e4d9ed; line-height: 1.7; margin-bottom: 24px; }
.close-dialog { position: absolute; right: 12px; top: 8px; border: 0; color: white; background: transparent; font-size: 30px; cursor: pointer; }
.dialog-ok { font-size: 9px; }
@keyframes appear { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 600px) {
  .corner-button { bottom: 16px; padding: 11px 10px; font-size: 8px; }
  .donate { left: 12px; } .socials { right: 12px; }
  .menu-content { transform: translateY(-10px); }
  .menu-buttons { gap: 12px; }
  .section-button { min-height: 56px; padding: 14px 8px; }
}
