
:root {
  --black: #000000;
  --black-soft: #050000;
  --blood-dark: #340006;
  --blood: #8f0013;
  --red: #d60024;
  --red-hot: #ff002f;
  --red-soft: #ff4b66;
  --red-dim: #8a0015;
  --line: rgba(255, 0, 47, .42);
  --line-strong: rgba(255, 0, 47, .72);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  font-family: Georgia, 'Times New Roman', serif;
  background: #000;
  color: var(--red-soft);
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% -12%, rgba(170,0,25,.25), transparent 30%),
    radial-gradient(circle at 15% 10%, rgba(120,0,20,.12), transparent 26%),
    radial-gradient(circle at 90% 30%, rgba(120,0,20,.10), transparent 25%),
    linear-gradient(180deg, #000 0%, #050000 55%, #000 100%);
  z-index: 0;
}
a { color: var(--red-hot); text-decoration: none; }
a:hover { text-shadow: 0 0 12px rgba(255,0,47,.75); }

.page {
  position: relative;
  z-index: 1;
  width: min(1050px, 100%);
  margin: 0 auto;
  padding: 18px 12px 58px;
}
.site-nav {
  width: min(970px, 100%);
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(0,0,0,.82);
  box-shadow: 0 0 28px rgba(160,0,24,.25), inset 0 0 24px rgba(100,0,14,.22);
  padding: 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}
.site-nav a {
  color: var(--red-soft);
  padding: 10px 13px;
  border-radius: 999px;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.site-nav a.active,
.site-nav a:hover {
  color: #ffd9df;
  background: linear-gradient(135deg, #5a000a, #b1001d 60%, #430007);
  box-shadow: 0 0 18px rgba(255,0,47,.35);
}
.shell, .content-card {
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #000;
  box-shadow: 0 0 42px rgba(145,0,22,.28), inset 0 0 70px rgba(120,0,18,.18);
  position: relative;
  overflow: hidden;
}
.shell { padding: 22px; }
.content-card { padding: clamp(22px, 5vw, 48px); }
.hero { text-align: center; padding: 12px 4px 10px; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--red-hot);
  font-size: 12px;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255,0,47,.7);
}
h1, .page-title {
  margin: 0;
  color: var(--red-hot);
  text-shadow: 0 0 20px rgba(255,0,47,.55), 0 0 3px #000;
  font-size: clamp(46px, 12vw, 94px);
  line-height: .92;
  letter-spacing: -2px;
}
.page-title { font-size: clamp(42px, 10vw, 78px); text-align: center; margin-bottom: 18px; }
.subtitle, .lead {
  width: min(740px, 100%);
  margin: 22px auto 0;
  color: var(--red-soft);
  font-size: clamp(19px, 4.5vw, 31px);
  line-height: 1.36;
  text-align: center;
}
.ritual-box {
  width: min(760px, 100%);
  margin: 30px auto 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #000;
  box-shadow: inset 0 0 42px rgba(80,0,10,.28), 0 20px 42px rgba(0,0,0,.72);
}
label {
  display: block;
  color: var(--red-hot);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  margin-bottom: 11px;
}
input {
  width: 100%;
  border: 1px solid var(--line);
  background: #000;
  color: var(--red-hot);
  border-radius: 18px;
  padding: 17px 18px;
  font: 20px Georgia, 'Times New Roman', serif;
  outline: none;
  box-shadow: inset 0 0 20px rgba(0,0,0,.95);
}
input::placeholder { color: rgba(255,75,102,.45); }
input:focus { border-color: var(--red-hot); box-shadow: 0 0 0 3px rgba(255,0,47,.16), inset 0 0 18px rgba(0,0,0,.9); }
.button-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
button, .button-link {
  border: 0;
  border-radius: 999px;
  font: 700 18px Georgia, 'Times New Roman', serif;
  color: #ffdce1;
  padding: 15px 28px;
  min-height: 54px;
  cursor: pointer;
  background: linear-gradient(135deg, #5d000a, #b0001d 55%, #3c0006);
  box-shadow: 0 0 30px rgba(255, 0, 43, 0.36), inset 0 0 12px rgba(255,255,255,.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
button:hover, .button-link:hover { filter: brightness(1.12); box-shadow: 0 0 38px rgba(255,0,47,.58); }
button:active { transform: scale(.98); }
.secondary {
  border: 1px solid var(--line);
  background: #000;
  color: var(--red-hot);
}
.mystery-wrap { margin: 34px auto 10px; width: min(420px, 88vw); display: block; }
.mystery-card {
  aspect-ratio: 2 / 3;
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: #000;
  box-shadow: 0 0 48px rgba(0,0,0,.86), 0 0 30px rgba(160,0,20,.28), inset 0 0 50px rgba(160,0,20,.08);
  position: relative;
  overflow: hidden;
}
.mystery-card img { width: 100%; height: 100%; display: block; object-fit: cover; filter: brightness(.86) contrast(1.18) saturate(.9); }
.mystery-card::after {
  content: "This deck remains a mystery until the mirror chooses.";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  color: var(--red-hot);
  font-size: 14px;
  line-height: 1.3;
  letter-spacing: .8px;
  text-align: center;
  text-shadow: 0 0 10px #000, 0 0 14px rgba(255,0,47,.85);
  background: rgba(0,0,0,.72);
  border: 1px solid rgba(255,0,47,.42);
  border-radius: 14px;
  padding: 10px 12px;
}
.mystery-text { text-align: center; color: rgba(255,75,102,.72); font-size: 15px; margin: 12px 0 0; letter-spacing: .6px; }
.status { min-height: 25px; margin: 18px 0 0; color: var(--red-hot); font-size: 16px; text-align: center; }
.reading { display: none; margin: 38px auto 0; width: min(780px, 100%); animation: rise .55s ease both; }
.reading.show { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: translateY(0); } }
.answer-line { color: var(--red-hot); text-align: center; font-size: 16px; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.revealed-card {
  width: min(410px, 100%);
  margin: 0 auto 24px;
  border-radius: 20px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 0 52px rgba(0,0,0,.9), 0 0 30px rgba(190,0,28,.28);
  overflow: hidden;
  background: #000;
}
.revealed-card img { display: block; width: 100%; height: auto; background: #000; }
.reading-panel {
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 25px;
  background: #000;
  box-shadow: inset 0 0 48px rgba(90,0,12,.25), 0 20px 42px rgba(0,0,0,.7);
}
.question-display { color: var(--red-soft); font-style: italic; text-align: center; font-size: 18px; margin: 0 0 18px; }
.reading-panel h2 { color: var(--red-hot); text-align: center; font-size: clamp(35px, 9vw, 58px); line-height: .98; margin: 0 0 12px; text-shadow: 0 0 18px rgba(255,0,47,.5); }
.keywords { color: var(--red); text-align: center; letter-spacing: 4px; text-transform: uppercase; font-size: 13px; margin: 0 0 22px; font-weight: 700; }
.section { border-top: 1px solid rgba(255,0,47,.26); padding: 20px 0 0; margin-top: 20px; }
.section h3, .meaning-title { color: var(--red-hot); text-transform: uppercase; letter-spacing: 3px; font-size: 16px; font-weight: 700; margin: 0 0 9px; }
.section p, .meaning { color: var(--red-soft); font-size: clamp(20px, 4.8vw, 30px); line-height: 1.38; margin: 0; text-shadow: 0 0 8px rgba(255,0,47,.18); }
.small-print, .footer { color: rgba(255,75,102,.62); text-align: center; font-size: 14px; line-height: 1.45; }
.footer { margin-top: 36px; }
.text-page { width: min(850px, 100%); margin: 0 auto; }
.text-page h2 { color: var(--red-hot); font-size: clamp(28px, 6vw, 44px); margin: 34px 0 12px; text-shadow: 0 0 15px rgba(255,0,47,.35); }
.text-page h3 { color: var(--red-hot); font-size: clamp(22px, 5vw, 32px); margin: 30px 0 10px; }
.text-page p, .text-page li {
  color: var(--red-soft);
  font-size: clamp(18px, 4.2vw, 25px);
  line-height: 1.45;
}
.text-page ul { padding-left: 24px; }
.callout {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #030000;
  padding: 20px;
  margin: 26px 0;
  box-shadow: inset 0 0 30px rgba(100,0,16,.22);
}
.contact-email {
  display: inline-block;
  margin: 20px auto 0;
  font-size: clamp(20px, 5vw, 32px);
  color: var(--red-hot);
  word-break: break-word;
}
@media (max-width: 560px) {
  .page { padding: 12px 8px 42px; }
  .shell, .content-card { padding: 14px; border-radius: 22px; }
  .ritual-box { padding: 18px; }
  button, .button-link { width: 100%; font-size: 17px; }
  .reading-panel { padding: 21px 18px; }
  .mystery-wrap { width: min(330px, 88vw); }
  .site-nav { border-radius: 18px; }
  .site-nav a { font-size: 12px; padding: 9px 10px; }
}
