:root {
  color-scheme: dark;
  font-family: "Segoe UI", "Microsoft YaHei", sans-serif;
  color: #f7ead7;
  background: #211925;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  place-items: center;
  background: radial-gradient(ellipse at 32% 38%, #513144 0%, transparent 48%),
              linear-gradient(130deg, #2c202e, #19161f);
}
main {
  width: min(860px, calc(100% - 48px));
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(32px, 7vw, 92px);
  padding: 58px 0;
}
.cover { position: relative; width: 74%; max-width: 244px; margin: 0 auto; isolation: isolate; }
.cover::before, .cover::after, .cover img {
  border: 1px solid #af8a67;
  border-radius: 4%;
  box-shadow: 0 12px 30px #100d1766;
}
.cover::before, .cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #4d3244 url("card-back.webp") center / cover;
  transform-origin: 50% 90%;
}
.cover::before { z-index: -2; transform: rotate(-15deg); filter: brightness(.65); }
.cover::after { z-index: -1; transform: rotate(-5deg); filter: brightness(.82); }
.cover img { display: block; width: 100%; height: auto; transform: rotate(5deg); }
h1 { margin: 0; font: 600 clamp(44px, 6vw, 72px)/1.2 "Songti SC", "STSong", "SimSun", serif; letter-spacing: .06em; }
h1 span { display: block; margin-bottom: 12px; font-size: 20px; color: #deb888; letter-spacing: .22em; }
p { margin: 20px 0 0; color: #d2bec9; line-height: 1.75; }
.error { color: #ffcebe; font-size: 14px; }
.enter {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 32px;
  margin-top: 30px; padding: 13px 21px; border-radius: 6px;
  background: #ebc89c; color: #322433; text-decoration: none; font-weight: 650;
}
.enter:hover { background: #f8dbb5; }
.enter:focus-visible { outline: 3px solid #fff1d8; outline-offset: 5px; }
@media (max-width: 620px) {
  main { grid-template-columns: 1fr; gap: 36px; text-align: center; padding: 36px 0; }
  .cover { width: min(44vw, 155px); }
  h1 span { margin-bottom: 5px; font-size: 16px; }
  p { margin-top: 12px; }
  .enter { margin-top: 22px; }
}
