/* Inner Mirror Tarot - Client Draw Only */
:root {
  --bg: #070b1c;
  --bg2: #111936;
  --paper: rgba(255, 252, 239, 0.94);
  --ink: #231b14;
  --cream: #f8edcf;
  --muted: #b9ad93;
  --gold: #d8b45e;
  --gold-soft: rgba(216, 180, 94, 0.22);
  --line: rgba(216, 180, 94, 0.38);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--cream);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;
  background:
    radial-gradient(circle at 20% 0%, rgba(216,180,94,0.20), transparent 28rem),
    radial-gradient(circle at 80% 10%, rgba(78,100,170,0.22), transparent 26rem),
    linear-gradient(135deg, var(--bg), var(--bg2) 55%, #050713);
  line-height: 1.75;
}

body::before {
  content: "✦   ☽   ✧   ☉   ✦";
  position: fixed;
  inset: 1.25rem 0 auto;
  text-align: center;
  color: rgba(216, 180, 94, 0.35);
  letter-spacing: 1rem;
  pointer-events: none;
}


.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1080px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1rem 0;
}

.site-logo {
  color: var(--cream);
  text-decoration: none;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.site-nav {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav a:hover {
  color: var(--gold);
}

.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.about-shell {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 7rem 0 5rem;
}

.about-hero {
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(7, 11, 28, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 1rem;
}

.about-card,
.about-section {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(7, 11, 28, 0.62);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.about-card h2,
.about-section h2 {
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.about-card p,
.about-section p,
.step-list {
  color: var(--muted);
}

.about-section {
  margin-top: 1rem;
}

.step-list {
  margin: 0;
  padding-left: 1.35rem;
}

.step-list li + li {
  margin-top: 0.45rem;
}

.caution-box {
  background: rgba(216, 180, 94, 0.10);
}

.site-footer {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 0 0 2rem;
  color: var(--muted);
  text-align: center;
}

.app-shell {
  width: min(980px, calc(100% - 2rem));
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 7rem 0 4rem;
}

.intro {
  width: min(760px, 100%);
  text-align: center;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  border-radius: 32px;
  background: rgba(7, 11, 28, 0.62);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.eyebrow,
.arcana,
.question-label {
  margin: 0 0 0.55rem;
  color: var(--gold);
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 1rem;
  font-size: clamp(2.1rem, 7vw, 4.6rem);
  line-height: 1.12;
  letter-spacing: -0.06em;
}

.lead {
  max-width: 620px;
  margin: 0 auto 2rem;
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.15rem);
}

.draw-button {
  border: 1px solid rgba(216, 180, 94, 0.85);
  border-radius: 999px;
  padding: 0.95rem 1.8rem;
  min-height: 52px;
  background: linear-gradient(135deg, #e4c26f, #b88935);
  color: #191207;
  font-weight: 900;
  font-size: 1rem;
  cursor: pointer;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.32);
}

.draw-button:hover { transform: translateY(-1px); }
.draw-button.small { min-height: 46px; padding: 0.72rem 1.25rem; }

.hidden { display: none !important; }

.result {
  width: min(940px, 100%);
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1rem, 3vw, 2rem);
  border: 1px solid var(--line);
  border-radius: 36px;
  background: rgba(7, 11, 28, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.card-frame {
  border: 1px solid rgba(216, 180, 94, 0.55);
  border-radius: 24px;
  padding: 0.65rem;
  background: rgba(255, 255, 255, 0.06);
}

.card-frame img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

.result-content {
  background: var(--paper);
  color: var(--ink);
  border-radius: 28px;
  padding: clamp(1.35rem, 4vw, 2.2rem);
}

.result-content h2 {
  margin-bottom: 0.2rem;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.english {
  margin-bottom: 1.5rem;
  color: #766a60;
  font-weight: 700;
}

.keyword-box,
.question-box {
  margin-top: 1.2rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(124, 86, 49, 0.18);
}

.keyword-box h3 {
  margin-bottom: 0.7rem;
  font-size: 1rem;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.chips span {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.34rem 0.75rem;
  background: #efe2d3;
  color: #5c4023;
  font-weight: 800;
  font-size: 0.9rem;
}

.question {
  margin: 0;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  font-weight: 900;
  line-height: 1.45;
}

.scroll-hint {
  margin: 1.4rem auto 0;
  color: var(--muted);
  font-size: 0.92rem;
  text-align: center;
}

.redraw-section {
  width: min(940px, 100%);
  margin: clamp(7rem, 22vh, 13rem) auto 0;
  padding: 2rem 1rem 5rem;
  text-align: center;
  border-top: 1px solid rgba(216, 180, 94, 0.28);
}

.redraw-note {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}


@media (max-width: 780px) {
  .result { grid-template-columns: 1fr; }
  .card-frame { max-width: 300px; margin: 0 auto; }
  body::before { letter-spacing: 0.45rem; }
}


.image-missing {
  min-height: 320px;
  border: 1px dashed rgba(222, 190, 115, 0.65);
  background: rgba(255,255,255,0.06);
}

@media (max-width: 780px) {
  .site-header {
    position: static;
    padding-top: 1rem;
  }

  .site-nav {
    gap: 0.65rem;
  }

  .app-shell {
    padding-top: 2rem;
  }

  .about-shell {
    padding-top: 2rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }
}

/* Added pages: session / contact */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.secondary-action {
  background: transparent;
  color: var(--gold);
  border-color: rgba(216, 180, 94, 0.72);
  box-shadow: none;
}

.two-columns {
  grid-template-columns: repeat(2, 1fr);
}

.simple-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.simple-list li + li {
  margin-top: 0.45rem;
}

.large-step-list li + li {
  margin-top: 0.9rem;
}

.cta-box {
  text-align: center;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

.contact-card {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(7, 11, 28, 0.62);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

.primary-contact {
  grid-row: span 2;
}

.contact-card h2 {
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.contact-card p {
  color: var(--muted);
}

.text-link {
  color: var(--gold);
  font-weight: 900;
  text-decoration: none;
  border-bottom: 1px solid rgba(216, 180, 94, 0.45);
}

.text-link:hover {
  border-bottom-color: var(--gold);
}

.edit-note {
  margin-top: 1rem;
  font-size: 0.86rem;
  color: rgba(248, 237, 207, 0.68) !important;
}

@media (max-width: 780px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .two-columns,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .primary-contact {
    grid-row: auto;
  }
}


.instagram-qr {
  width: 100%;
  max-width: 320px;
  display: block;
  margin: 1rem auto 0;
  border-radius: 24px;
  border: 1px solid rgba(216, 180, 94, 0.32);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.qr-card {
  text-align: center;
}

.small-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(248, 237, 207, 0.72) !important;
}
