/* Sign-in / sign-up / members home: the 9 level paintings behind an aged parchment card.
   Loaded after styles.css, only on index.html, signin.html and signup.html (admin.html keeps the old look). */
body.gate { background: #0b0805; min-height: 100vh; min-height: 100dvh; font-family: "Cormorant Garamond", Georgia, serif; }

/* the paintings, a dark vignette and ~45% black on top */
.lv-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; background: #0b0805; }
.lv-pic { position: absolute; inset: 0; background: center / cover no-repeat; opacity: 0; transition: opacity 1.5s ease; will-change: opacity, transform; }
.lv-pic.on { opacity: 1; }
.lv-pic.zoom { animation: lvZoom 7.5s linear forwards; }
@keyframes lvZoom { from { transform: scale(1); } to { transform: scale(1.04); } }
.lv-shade { position: absolute; inset: 0; z-index: 3; background: radial-gradient(ellipse at center, rgba(0,0,0,0) 35%, rgba(0,0,0,.6) 100%), rgba(0,0,0,.45); }
.lv-cap { position: fixed; left: 22px; bottom: 18px; z-index: 2; font: 600 13px/1.3 "Cinzel", Georgia, serif; letter-spacing: .12em; color: rgba(245,225,147,.8); text-shadow: 0 1px 3px #000; opacity: 0; transition: opacity .75s ease; pointer-events: none; }
.lv-cap b { font-weight: 700; color: #f5e193; }
.lv-cap.on { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .lv-pic, .lv-cap { transition: none; } .lv-pic.zoom { animation: none; } }

/* layout: the card centred on the screen */
body.gate .shell { position: relative; z-index: 1; max-width: 460px; min-height: 100vh; min-height: 100dvh; margin: 0 auto; padding: 32px 16px 64px; display: flex; flex-direction: column; justify-content: center; }

/* the parchment card */
body.gate .card.parch { position: relative; padding: 30px 30px 24px; border-radius: 10px; color: #3a2614;
  background:
    radial-gradient(ellipse at 20% 15%, rgba(255,250,232,.55), transparent 55%),
    radial-gradient(ellipse at 85% 90%, rgba(150,105,50,.22), transparent 60%),
    radial-gradient(circle at 50% 50%, transparent 60%, rgba(120,80,35,.28) 100%),
    linear-gradient(170deg, #f4e6c4, #e8d3a4 55%, #dcc08a);
  border: 1.5px solid #c9a24e;
  box-shadow: inset 0 0 0 4px rgba(244,230,196,.9), inset 0 0 0 5px rgba(110,72,28,.55), inset 0 0 40px rgba(120,80,35,.25), 0 24px 60px rgba(0,0,0,.65), 0 0 0 1px rgba(0,0,0,.4); }
.parch-top { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; margin-bottom: 8px; }
.parch-top img { width: 76px; height: 76px; filter: drop-shadow(0 3px 5px rgba(60,35,10,.4)); }
.parch-top .kick { font: 700 11px "Cinzel", Georgia, serif; letter-spacing: .24em; text-transform: uppercase; color: #8a5a22; }
.parch-top h1 { margin: 0; font: 700 clamp(22px, 5.6vw, 27px)/1.15 "Cinzel", Georgia, serif; color: #3a2614; letter-spacing: .03em; }
.parch-top p { margin: 2px 0 0; font: italic 500 17px/1.4 "Cormorant Garamond", Georgia, serif; color: #5a3f22; }
.parch-rule { height: 1px; margin: 14px 10% 4px; background: linear-gradient(90deg, transparent, rgba(110,72,28,.55), transparent); }

/* form: dark brown ink, inputs with a thin brown underline */
body.gate .parch label { color: #6a4a26; font: 700 11.5px "Cinzel", Georgia, serif; letter-spacing: .14em; text-transform: uppercase; margin: 16px 0 2px; }
body.gate .parch input { background: transparent; border: 0; border-bottom: 1.5px solid rgba(90,58,24,.55); border-radius: 0; color: #2a1a0c; padding: 8px 2px; font: 500 19px "Cormorant Garamond", Georgia, serif; }
body.gate .parch input::placeholder { color: rgba(90,58,24,.45); font-style: italic; }
body.gate .parch input:focus { outline: none; border-bottom-color: #7a1e18; box-shadow: 0 1.5px 0 #7a1e18; }

/* main button: deep red with gold text and a gold edge */
body.gate .parch .btn { width: 100%; margin-top: 22px; padding: 13px 18px; border-radius: 8px; font: 700 14px "Cinzel", Georgia, serif; letter-spacing: .12em; text-transform: uppercase;
  color: #f5e193; background: linear-gradient(180deg, #9a2a22, #6e1712 60%, #561109); border: 1px solid #d9b24a;
  box-shadow: inset 0 1px 0 rgba(255,210,160,.3), inset 0 0 0 2px rgba(80,15,8,.6), 0 6px 14px rgba(60,20,8,.45); text-shadow: 0 1px 1px rgba(0,0,0,.6); }
body.gate .parch .btn:hover { filter: brightness(1.12); }
body.gate .parch .btn.secondary { color: #5a2a12; background: transparent; border: 1px solid rgba(110,72,28,.6); box-shadow: none; text-shadow: none; }
body.gate .parch .btns { display: grid; gap: 10px; margin-top: 18px; } body.gate .parch .btns .btn { margin-top: 0; text-decoration: none; }

/* messages on parchment */
body.gate .parch .msg { font: 500 17px/1.35 "Cormorant Garamond", Georgia, serif; }
body.gate .parch .msg.ok { background: rgba(70,120,40,.14); color: #2f5a17; border-color: rgba(70,120,40,.4); }
body.gate .parch .msg.err { background: rgba(150,30,25,.1); color: #7a1e18; border-color: rgba(150,30,25,.35); }
body.gate .parch .msg.info { background: rgba(120,80,35,.1); color: #5a3f22; border-color: rgba(120,80,35,.3); }
body.gate .parch .meta { color: #6a4a26; font: 500 16px "Cormorant Garamond", Georgia, serif; text-align: center; margin-top: 16px; }
body.gate .parch .meta a { color: #7a1e18; font-weight: 700; }
body.gate .parch .note { margin: 14px 0 0; font: 500 17px/1.45 "Cormorant Garamond", Georgia, serif; color: #4a3218; text-align: center; }

/* small links + footer: gold on the dark background */
body.gate .nav { justify-content: center; margin: 20px 0 0; gap: 8px 20px; font: 600 12px "Cinzel", Georgia, serif; letter-spacing: .14em; text-transform: uppercase; }
body.gate .nav a { color: rgba(245,225,147,.85); text-shadow: 0 1px 3px #000; }
body.gate .nav a.active { color: #f5e193; text-decoration: underline; text-underline-offset: 4px; }
body.gate .footer { margin-top: 14px; color: rgba(245,225,147,.65); font: 600 11px "Cinzel", Georgia, serif; letter-spacing: .16em; text-transform: uppercase; text-shadow: 0 1px 3px #000; }

@media (max-width: 699px) { body.gate .card.parch { padding: 26px 20px 20px; } .lv-cap { left: 16px; bottom: 12px; font-size: 11.5px; } }
