* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }

body{
  overflow: hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;

  /* Your background photo */
  background: url("images/background.jpg") center/cover no-repeat fixed;
  background-color: #050505; /* fallback */
}

/* Optional: darken background slightly so UI pops */
body::before{
  content:"";
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.25);
  z-index: 0;
}

#canvas{
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: block;
  z-index: 1;
  pointer-events: none;
}

.overlay{
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 5;
}

.panel{
  width: min(320px, 90vw);
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(0,0,0,0.35);
  border: 2px solid rgba(255,0,0,0.65);
  box-shadow: 0 0 18px rgba(255,0,0,.6), 0 0 44px rgba(255,0,0,.28);
  backdrop-filter: blur(6px);
  text-align: center;
}

.title{
  color: rgba(255,255,255,.92);
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.date{
  width: 220px;
  max-width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(0,0,0,.55);
  color: #fff;
  outline: none;
}

.date:focus{
  border-color: rgba(255,0,0,.55);
  box-shadow: 0 0 0 3px rgba(255,0,0,.22), 0 0 18px rgba(255,0,0,.35);
}

.enter{
  margin-top: 12px;
  cursor: pointer;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.25);
  background: rgba(255,0,0,.18);
  color: #fff;
  box-shadow: 0 0 18px rgba(255,0,0,.45);
}

.hint{
  min-height: 18px;
  margin-top: 10px;
  font-size: 13px;
  opacity: .9;
  color: rgba(255,255,255,.9);
}

.unlocked{
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
  background: rgba(0,0,0,.72);
  backdrop-filter: blur(6px);
  color: #fff;
}

.hidden{ display:none; }