@font-face { font-family: "Cinzel"; font-weight: 900; src: url("fonts/cinzel-latin-900-normal.woff2") format("woff2"); font-display: swap; }

.splash {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  /* Anchored to the top so the hanging sign is never cropped on wide screens */
  background: #050403 url("cidergaming.jpg") center top / cover no-repeat;
  color: var(--cream);
  text-align: center;
}
.splash::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 40%;
  background: linear-gradient(to top, rgb(5 4 3 / .9) 0%, rgb(5 4 3 / 0) 100%);
  pointer-events: none;
}
.splash-main {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  width: min(680px, 100% - 32px);
  margin-inline: auto;
  padding-block: 32px clamp(32px, 7vh, 64px);
}
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* The door */
.enter-btn {
  display: inline-block;
  padding: 18px 46px;
  background: linear-gradient(180deg, #3d2010 0%, #1a0b04 100%);
  color: #ffe8b5;
  border: 2px solid #df9e38;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgb(0 0 0 / .95), inset 0 1px 0 rgb(255 235 180 / .25), 0 0 20px rgb(223 158 56 / .35);
  font: 900 clamp(1.1rem, 2vw, 1.4rem)/1.3 "Cinzel", Georgia, serif;
  letter-spacing: 3px;
  text-decoration: none;
  text-transform: uppercase;
  transition: all .35s ease;
}
.enter-btn:hover {
  background: linear-gradient(180deg, #592e16 0%, #291206 100%);
  border-color: #ffd87d;
  color: #fff;
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 14px 40px #000, 0 0 35px rgb(255 216 125 / .65);
}
.enter-btn:active { transform: translateY(1px); }
.door-note { margin-top: 16px; color: var(--cream); font-size: 1rem; text-shadow: 0 1px 6px #000; }
.door-message { margin-top: 8px; color: #ffe8b5; font-style: italic; text-shadow: 0 1px 6px #000; }

/* Members only panel */
.door-panel {
  padding: clamp(24px, 5vw, 36px);
  margin-bottom: 28px;
  background: rgb(20 10 4 / .92);
  border: 2px solid #df9e38;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgb(0 0 0 / .95);
}
.door-panel h1 { font: 900 clamp(1.6rem, 5vw, 2.5rem)/1.2 "Cinzel", Georgia, serif; letter-spacing: 2px; color: #ffe8b5; margin-bottom: 12px; text-transform: uppercase; }

@media (max-width: 420px) {
  .enter-btn { padding-inline: 24px; letter-spacing: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .enter-btn { transition: none; }
  .enter-btn:hover, .enter-btn:active { transform: none; }
}
