:root {
  --sn-ink: #f5f0e8;
  --sn-muted: #aaa5b5;
  --sn-gold: #d6b66d;
  --sn-gold-pale: #f0daa0;
  --sn-indigo: #70639a;
  --sn-panel: rgba(20, 17, 31, 0.93);
  --sn-line: rgba(214, 182, 109, 0.23);
  --sn-line-soft: rgba(221, 216, 232, 0.11);
  --text-color: var(--sn-ink);
  --accent-color: var(--sn-gold);
  --accent-hover: var(--sn-gold-pale);
  --gold: var(--sn-gold);
  --muted: var(--sn-muted);
  --border: var(--sn-line);
  --card-back-color: #241d3b;
}

html { overflow-x: hidden; }

#tarot-sim-ou-nao-page {
  position: relative;
  isolation: isolate;
  padding: 0 1rem 5rem;
  color: var(--sn-ink);
  background:
    radial-gradient(circle at 20% 4%, rgba(78, 62, 123, 0.24), transparent 31rem),
    radial-gradient(circle at 84% 24%, rgba(119, 91, 54, 0.11), transparent 28rem),
    linear-gradient(180deg, #0c0a14, #14111e 48%, #0b0912);
  overflow: hidden;
}

#tarot-sim-ou-nao-page::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: 0.22;
  pointer-events: none;
  background-image: radial-gradient(rgba(232, 219, 177, 0.5) 0.6px, transparent 0.6px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 42%);
}

#tarot-sim-ou-nao-page button,
#tarot-sim-ou-nao-page textarea { font: inherit; }

#tarot-sim-ou-nao-page button:focus-visible,
#tarot-sim-ou-nao-page textarea:focus-visible,
#tarot-sim-ou-nao-page a:focus-visible,
#tarot-sim-ou-nao-page summary:focus-visible {
  outline: 2px solid var(--sn-gold-pale);
  outline-offset: 4px;
}

.sn-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sn-hero {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(2rem, 6vw, 4.4rem) 0 clamp(1.5rem, 4vw, 2.5rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.sn-eyebrow,
.sn-kicker,
.sn-path-label {
  margin: 0 0 0.65rem;
  color: var(--sn-gold);
  font-family: 'Cinzel', Georgia, serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.sn-hero h1 {
  margin: 0 0 0.65rem;
  color: #fbf8f1;
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  font-weight: 500;
  line-height: 1.1;
}

.sn-hero > p:last-child {
  max-width: 600px;
  margin: 0 auto;
  color: var(--sn-muted);
  font-size: clamp(0.96rem, 2vw, 1.08rem);
  line-height: 1.65;
}

.sn-experience {
  width: min(100%, 980px);
  min-height: 560px;
  margin: 0 auto;
  border: 1px solid var(--sn-line);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255,255,255,0.025), transparent 42%), var(--sn-panel);
  box-shadow: 0 30px 80px rgba(3, 2, 10, 0.55), inset 0 1px rgba(255,255,255,0.035);
  overflow: hidden;
}

.sn-stepper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 1rem clamp(1rem, 9vw, 6rem);
  border-bottom: 1px solid var(--sn-line-soft);
  background: rgba(6, 5, 12, 0.3);
}

.sn-step {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  color: #6f6a78;
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.sn-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 50%;
  left: calc(50% + 2.8rem);
  right: calc(-50% + 2.8rem);
  height: 1px;
  background: var(--sn-line-soft);
}

.sn-step b {
  display: grid;
  place-items: center;
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid rgba(214,182,109,0.18);
  border-radius: 50%;
  font-size: 0.65rem;
}
.sn-step.is-current { color: var(--sn-gold-pale); }
.sn-step.is-current b { border-color: var(--sn-gold); background: rgba(214,182,109,0.11); }
.sn-step.is-complete { color: #a69061; }
.sn-step.is-complete b { color: #16110a; border-color: var(--sn-gold); background: var(--sn-gold); }

.sn-panel {
  max-width: none;
  margin: 0;
  padding: clamp(1.4rem, 5vw, 3.5rem);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: sn-panel-in 0.32s ease both;
}
.sn-panel[hidden] { display: none !important; }
.sn-panel-heading { max-width: 670px; margin: 0 auto 2rem; text-align: center; }
.sn-panel-heading h2 {
  margin: 0 0 0.7rem;
  color: #f8f3eb;
  font-family: 'Cinzel', Georgia, serif;
  font-size: clamp(1.55rem, 3.8vw, 2.3rem);
  font-weight: 500;
  line-height: 1.22;
  text-wrap: balance;
}
.sn-panel-heading > p:last-child { margin: 0; color: var(--sn-muted); line-height: 1.65; }

.sn-question-form { width: min(100%, 720px); margin: 0 auto 2rem; }
.sn-question-form label { display: block; margin-bottom: 0.55rem; color: #e9e2e5; font-size: 0.86rem; font-weight: 600; }
#tarot-sim-ou-nao-page textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(225,219,232,0.18);
  border-radius: 12px;
  color: #f7f1e9;
  background: rgba(5, 4, 10, 0.45);
  resize: vertical;
  transition: border-color 0.2s, box-shadow 0.2s;
}
#tarot-sim-ou-nao-page textarea:focus { border-color: rgba(214,182,109,0.68); box-shadow: 0 0 0 3px rgba(214,182,109,0.08); }
#tarot-sim-ou-nao-page textarea::placeholder { color: #746f7c; }

.sn-suggestions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.7rem; }
#tarot-sim-ou-nao-page .sn-suggestions button {
  padding: 0.45rem 0.72rem;
  border: 1px solid rgba(112,99,154,0.28);
  border-radius: 999px;
  color: #b7b0c5;
  background: rgba(112,99,154,0.08);
  cursor: pointer;
  font-size: 0.73rem;
}
#tarot-sim-ou-nao-page .sn-suggestions button:hover { color: #eee7f7; border-color: rgba(143,128,188,0.5); }

.sn-paths { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; width: min(100%, 820px); margin: 0 auto; }
.sn-path { position: relative; display: flex; flex-direction: column; padding: 1.55rem; border: 1px solid var(--sn-line-soft); border-radius: 17px; background: rgba(255,255,255,0.018); }
.sn-path--complete { border-color: rgba(214,182,109,0.42); background: linear-gradient(150deg, rgba(214,182,109,0.09), rgba(81,66,126,0.11)); }
.sn-path h3 { margin: 0 0 0.55rem; color: #f9f4ec; font-family: 'Cinzel', Georgia, serif; font-size: 1.06rem; font-weight: 500; }
.sn-path > p:not(.sn-path-label) { flex: 1; margin: 0 0 1.2rem; color: var(--sn-muted); font-size: 0.83rem; line-height: 1.55; }
.sn-path > small { display: block; margin-top: 0.65rem; color: #888290; font-size: 0.69rem; text-align: center; }
.sn-recommended { position: absolute; top: -0.65rem; right: 1.2rem; padding: 0.28rem 0.72rem; border-radius: 99px; color: #21170a; background: var(--sn-gold); font-size: 0.6rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }

#tarot-sim-ou-nao-page .sn-path-button {
  width: 100%;
  padding: 0.82rem 1rem;
  border: 1px solid rgba(225,219,232,0.24);
  border-radius: 999px;
  color: #eee8ef;
  background: rgba(255,255,255,0.04);
  cursor: pointer;
  font-weight: 650;
  transition: transform 0.2s, border-color 0.2s, filter 0.2s;
}
#tarot-sim-ou-nao-page .sn-path-button:hover { transform: translateY(-2px); border-color: var(--sn-gold); }
#tarot-sim-ou-nao-page .sn-path-button--gold { color: #21170b; border-color: var(--sn-gold); background: linear-gradient(135deg, #b89148, #ead091 56%, #bea05e); box-shadow: 0 9px 24px rgba(139,103,40,0.16); }
#tarot-sim-ou-nao-page .sn-path-button--gold:hover { filter: brightness(1.07); }
.sn-form-error { margin: 1rem auto 0; color: #efa8b7; font-size: 0.82rem; text-align: center; }

.sn-back { margin: -0.3rem 0 1.3rem; padding: 0.35rem 0; border: 0; color: var(--sn-muted); background: transparent; cursor: pointer; font-size: 0.83rem; }
.sn-back:hover { color: var(--sn-gold-pale); }
.sn-intention { width: min(100%, 620px); margin: 0 auto 1rem; color: #c5bdca; font-family: Georgia, serif; font-size: 0.96rem; font-style: italic; line-height: 1.55; text-align: center; }
.sn-panel--table { min-height: 570px; }
#tarot-sim-ou-nao-page .card-table { padding-top: 0; }
#tarot-sim-ou-nao-page .table-overline { color: #a99bcf; }
#tarot-sim-ou-nao-page .table-instruction { font-family: 'Cinzel', Georgia, serif; font-weight: 500; }
#tarot-sim-ou-nao-page .table-shuffle { width: auto; padding: 0.6rem 1.5rem; border: 1px solid var(--sn-line); border-radius: 999px; color: var(--sn-ink); background: transparent; cursor: pointer; }
#tarot-sim-ou-nao-page .table-reveal { width: auto; padding: 0.85rem 2rem; border: 0; border-radius: 999px; color: #21170b; background: linear-gradient(135deg, #b89148, #ead091 56%, #bea05e); cursor: pointer; font-weight: 650; }

.sn-panel-heading--answer { margin-bottom: 1.7rem; }
#sn-result-question { color: #c6bdc8; font-style: italic; }
.sn-answer-card { display: grid; grid-template-columns: 1fr 190px 1fr; gap: 1.5rem; align-items: center; padding: clamp(1.2rem, 4vw, 2rem); border: 1px solid var(--sn-line); border-radius: 19px; background: rgba(255,255,255,0.02); }
.sn-answer-verdict { text-align: center; }
.sn-answer-verdict > span { display: grid; place-items: center; width: 2.7rem; height: 2.7rem; margin: 0 auto 0.7rem; border: 1px solid currentColor; border-radius: 50%; font-size: 1.25rem; }
.sn-answer-verdict > p { margin: 0; color: var(--sn-muted); font-size: 0.68rem; letter-spacing: 0.11em; text-transform: uppercase; }
.sn-answer-verdict strong { display: block; margin: 0.45rem 0; font-family: 'Cinzel', Georgia, serif; font-size: clamp(1.6rem, 4vw, 2.55rem); font-weight: 500; line-height: 1.1; }
.sn-answer-verdict small { display: block; color: var(--sn-muted); font-size: 0.78rem; line-height: 1.5; }
.sn-answer-card--yes .sn-answer-verdict { color: #91c9a0; }
.sn-answer-card--no .sn-answer-verdict { color: #d98e99; }
.sn-answer-card--maybe .sn-answer-verdict { color: #b2a2d4; }
.sn-revealed-card { text-align: center; }
.sn-card-frame { padding: 0.4rem; border: 1px solid var(--sn-line); border-radius: 9px; background: rgba(214,182,109,0.04); box-shadow: 0 15px 32px rgba(2,1,7,0.4); }
.sn-card-frame img { display: block; width: 100%; height: auto; border-radius: 5px; }
.sn-revealed-card h3 { margin: 0.8rem 0 0; color: #f7f2ea; font-family: 'Cinzel', Georgia, serif; font-size: 0.88rem; font-weight: 500; }
.sn-card-message > p:not(.sn-kicker) { margin: 0; color: #c0b9c3; font-size: 0.86rem; line-height: 1.62; }
.sn-card-message .sn-reflection { margin-top: 0.8rem !important; padding-top: 0.8rem; border-top: 1px solid var(--sn-line-soft); color: #8d8793 !important; font-size: 0.76rem !important; }
#sn-result > .ai-reading { margin: 0 0 1.4rem; border-color: rgba(214,182,109,0.4); background: linear-gradient(145deg, rgba(214,182,109,0.09), rgba(81,66,126,0.1)); }

.sn-guide { width: min(100%, 980px); box-sizing: border-box; margin: 3.2rem auto 0; padding: clamp(1rem, 3vw, 2rem) 0; color: var(--sn-muted); }
.sn-guide > header { max-width: 740px; margin-bottom: 2rem; }
.sn-guide h2, .sn-guide h3 { color: #f1ece7; font-family: 'Cinzel', Georgia, serif; font-weight: 500; }
.sn-guide h2 { margin: 0 0 0.7rem; font-size: clamp(1.5rem, 3.6vw, 2rem); line-height: 1.25; }
.sn-guide h3 { margin: 0 0 0.65rem; font-size: 1.06rem; }
.sn-guide p, .sn-guide li { line-height: 1.7; }
.sn-polarity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.sn-polarity { padding: 1.35rem; border: 1px solid var(--sn-line-soft); border-radius: 15px; background: rgba(255,255,255,0.018); }
.sn-polarity > span { display: inline-grid; place-items: center; width: 2rem; height: 2rem; margin-bottom: 0.8rem; border: 1px solid currentColor; border-radius: 50%; }
.sn-polarity p { margin: 0; font-size: 0.84rem; }
.sn-polarity--yes > span { color: #84bd93; }
.sn-polarity--no > span { color: #cf838e; }
.sn-polarity--maybe > span { color: #a99aca; }
.sn-knowledge-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2rem; }
.sn-knowledge-grid article { padding: 1.5rem; border: 1px solid var(--sn-line-soft); border-radius: 15px; }
.sn-knowledge-grid ul { margin: 0; padding-left: 1.1rem; }
.sn-knowledge-grid li { margin-bottom: 0.35rem; font-size: 0.84rem; }
.sn-knowledge-grid p { margin-top: 0; font-size: 0.86rem; }
.sn-knowledge-grid a { color: var(--sn-gold-pale); text-decoration: none; }
.sn-faq { margin-top: 2.5rem; }
.sn-faq details { border-top: 1px solid var(--sn-line-soft); }
.sn-faq details:last-child { border-bottom: 1px solid var(--sn-line-soft); }
.sn-faq summary { position: relative; padding: 1rem 2rem 1rem 0; color: #e9e2e8; cursor: pointer; list-style: none; }
.sn-faq summary::-webkit-details-marker { display: none; }
.sn-faq summary::after { content: '+'; position: absolute; right: 0.35rem; color: var(--sn-gold); font-size: 1.2rem; }
.sn-faq details[open] summary::after { content: '−'; }
.sn-faq details p { max-width: 800px; margin: 0 0 1rem; font-size: 0.86rem; }
.sn-more { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 2.4rem; }
.sn-more h3 { flex-basis: 100%; }
.sn-more a { padding: 0.55rem 0.8rem; border: 1px solid var(--sn-line-soft); border-radius: 999px; color: var(--sn-gold-pale); font-size: 0.77rem; text-decoration: none; }

@keyframes sn-panel-in { from { opacity: 0; transform: translateY(9px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 760px) {
  .dropdown-menu { width: min(18rem, calc(100vw - 1rem)) !important; max-width: calc(100vw - 1rem) !important; }
  .dropdown-menu li, .dropdown-menu .page-link { width: auto !important; max-width: 100% !important; box-sizing: border-box; }
  #tarot-sim-ou-nao-page { padding-inline: 0.65rem; }
  .sn-experience { border-radius: 18px; }
  .sn-stepper { padding-inline: 1rem; }
  .sn-step { gap: 0.25rem; font-size: 0.6rem; }
  .sn-step:not(:last-child)::after { left: calc(50% + 2.1rem); right: calc(-50% + 2.1rem); }
  .sn-paths, .sn-polarity-grid, .sn-knowledge-grid { grid-template-columns: 1fr; }
  .sn-answer-card { grid-template-columns: 118px 1fr; align-items: start; }
  .sn-revealed-card { grid-column: 1; grid-row: 1 / span 2; }
  .sn-answer-verdict { grid-column: 2; text-align: left; }
  .sn-answer-verdict > span { margin: 0 0 0.7rem; }
  .sn-card-message { grid-column: 2; }
}

@media (max-width: 480px) {
  .sn-hero { padding-top: 1.7rem; }
  .sn-panel { padding: 1.25rem 0.9rem 1.7rem; }
  .sn-step { flex-direction: column; }
  .sn-step:not(:last-child)::after { top: 0.62rem; left: calc(50% + 1rem); right: calc(-50% + 1rem); }
  .sn-paths { gap: 1.2rem; }
  .sn-answer-card { grid-template-columns: 94px 1fr; gap: 1rem; padding: 1rem; }
  .sn-card-message { grid-column: 1 / -1; }
}

@media (prefers-reduced-motion: reduce) {
  .sn-panel, #tarot-sim-ou-nao-page * { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
