/* Goblin Hero: startscherm en het spelvenster (Unity WebGL). Het spel vult het hele scherm. */
html, body { margin: 0; padding: 0; width: 100%; height: 100%; overflow: hidden; background: #05080d; color: #e8eef2; font-family: system-ui, -apple-system, "Segoe UI", sans-serif; }
/* de browser mag niet scrollen, zoomen of tekst selecteren als je het scherm aanraakt */
#unity-canvas { position: fixed; left: 0; top: 0; width: 100%; height: 100%; display: block; background: #05080d; touch-action: none; outline: none; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; -webkit-tap-highlight-color: transparent; }
#start { position: fixed; inset: 0; display: flex; align-items: flex-end; justify-content: center; z-index: 2; }
#start.weg { display: none; }
#start .plaat { position: absolute; inset: 0; background: #0b0f14 url('/assets/hero/cover.jpg') center 28% / cover no-repeat; }
#start .plaat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5, 8, 13, 0.05) 30%, rgba(5, 8, 13, 0.82) 72%, rgba(5, 8, 13, 0.96) 100%); }
.terug { position: absolute; left: 14px; top: calc(12px + env(safe-area-inset-top)); z-index: 1; color: #e8eef2; text-decoration: none; font-size: 15px; padding: 8px 12px; border-radius: 999px; background: rgba(5, 8, 13, 0.55); }
.paneel { position: relative; z-index: 1; width: min(92vw, 560px); padding: 0 0 calc(26px + env(safe-area-inset-bottom)); text-align: center; }
.paneel h1 { margin: 0 0 8px; font-size: clamp(34px, 9vw, 58px); letter-spacing: 0.03em; color: #ffe9b0; text-shadow: 0 2px 0 #3a2208, 0 0 22px rgba(255, 170, 60, 0.45); }
.paneel p { margin: 0 auto 16px; max-width: 46ch; font-size: 16px; line-height: 1.45; }
.paneel .klein { font-size: 13px; opacity: 0.75; margin: 14px auto 0; }
#speel { font: inherit; font-size: 20px; font-weight: 700; color: #1b1206; background: linear-gradient(180deg, #ffd66b, #f0a52c); border: 0; border-radius: 14px; padding: 14px 34px; min-width: 220px; cursor: pointer; box-shadow: 0 4px 0 #8a5510, 0 10px 24px rgba(0, 0, 0, 0.45); }
#speel:active { transform: translateY(2px); box-shadow: 0 2px 0 #8a5510; }
#speel[disabled] { opacity: 0.6; cursor: default; }
#balk { width: min(76vw, 380px); height: 10px; margin: 18px auto 0; border-radius: 6px; background: #15222e; overflow: hidden; }
#vulling { width: 0%; height: 100%; background: linear-gradient(90deg, #45c8ff, #b06bff); transition: width 0.2s; }
.verborgen { display: none; }
@media (orientation: landscape) and (max-height: 480px) {
  .paneel { padding-bottom: 12px; }
  .paneel h1 { font-size: 30px; margin-bottom: 4px; }
  .paneel p { font-size: 14px; margin-bottom: 10px; }
  .paneel .klein { display: none; }
}
