.oracle-page { width: min(100% - 3rem, 76rem); margin: 0 auto 5rem; }
.oracle-page .seo-breadcrumb { margin-block: 1.4rem; }
.oracle-hero { padding: clamp(3rem, 7vw, 6rem); background: radial-gradient(circle at 85% 12%, #213654, transparent 45%), #07182d; color: #f9f1df; border: 1px solid #be9856; }
.oracle-hero .eyebrow { color: #e2c47e; }
.oracle-hero h1 { max-width: 14ch; font-size: clamp(3.5rem, 7vw, 7rem); line-height: .95; }
.oracle-hero p:last-child { max-width: 39rem; margin: 1.8rem 0 0; font-size: 1.12rem; }
.oracle-layout, .oracle-result { display: grid; grid-template-columns: minmax(0, 1fr) minmax(18rem, .75fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; padding: clamp(3rem, 6vw, 5rem); background: var(--paper); border: 1px solid var(--line); border-top: 0; }
.oracle-prompt h2, .oracle-reading h2 { font-size: clamp(2.8rem, 5vw, 4.7rem); }
.oracle-prompt form { display: grid; gap: .8rem; margin-top: 2rem; }
.oracle-prompt label { font-weight: 700; }
.oracle-prompt textarea { width: 100%; resize: vertical; border: 1px solid #687b78; border-radius: 0; padding: .9rem; background: #fff; color: var(--ink); font: inherit; }
.oracle-prompt form .button { justify-self: start; }
.oracle-privacy, .oracle-guidance { font-size: .89rem; color: #4c5652; }
.oracle-privacy { margin: 0 0 .5rem; }
.oracle-guidance { margin-top: 1.5rem; }
.oracle-back { aspect-ratio: 805 / 1200; max-width: 23rem; width: 100%; justify-self: center; margin: 0; box-shadow: 0 18px 36px #0b182a38; }
.oracle-back img { width: 100%; height: 100%; object-fit: contain; }
.oracle-result { grid-template-columns: minmax(15rem, .75fr) minmax(0, 1fr); align-items: center; border-top: 1px solid var(--line); }
.oracle-result[hidden], .oracle-back[hidden] { display: none; }
.oracle-card { position: relative; max-width: 21rem; width: 100%; aspect-ratio: 600 / 1066; justify-self: center; perspective: 1200px; }
.oracle-card-inner { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; transition: transform 1.35s cubic-bezier(.2,.68,.18,1); box-shadow: 0 18px 36px #0b182a38; }
.oracle-card.is-flipped .oracle-card-inner { transform: rotateY(180deg); }
.oracle-card-face { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.oracle-card-front { transform: rotateY(180deg); object-fit: contain; background: #07182d; }
.oracle-sparks { position: absolute; inset: 0; pointer-events: none; overflow: visible; }
.oracle-spark { position: absolute; width: 2rem; height: 2rem; background: radial-gradient(circle, #fff9d5 0 12%, #f9dd8e 25%, #d99d3e 70%); filter: drop-shadow(0 0 .55rem #f3c66d); clip-path: polygon(50% 0, 58% 42%, 100% 50%, 58% 58%, 50% 100%, 42% 58%, 0 50%, 42% 42%); opacity: 0; animation: oracle-spark 2.6s ease-in-out both; }
.oracle-spark:nth-child(1) { top: 8%; left: -4%; animation-delay: .05s; }
.oracle-spark:nth-child(2) { top: 38%; right: -5%; width: 1.25rem; height: 1.25rem; animation-delay: .18s; }
.oracle-spark:nth-child(3) { bottom: 14%; left: -5%; width: 1rem; height: 1rem; animation-delay: .32s; }
@keyframes oracle-spark { 0% { opacity: 0; transform: translateY(.6rem) scale(.25) rotate(-15deg); } 30% { opacity: 1; transform: translateY(0) scale(1.15) rotate(0); } 68% { opacity: .95; transform: translateY(-.6rem) scale(.9) rotate(10deg); } 100% { opacity: 0; transform: translateY(-1.5rem) scale(.4) rotate(18deg); } }
.oracle-reading { opacity: 1; transition: opacity .55s ease; }
.oracle-result.is-drawing .oracle-reading { opacity: 0; visibility: hidden; }
.oracle-number-fix { position: absolute; top: 4.6%; left: 50%; transform: translateX(-50%); width: 12%; aspect-ratio: 1; display: grid; place-items: center; border-radius: 50%; background: #081b2f; color: #f5d58e; font: 1.15rem/1 var(--serif); }
.oracle-number-fix[hidden] { display: none; }
.oracle-reading h3 { margin-top: 1.6rem; font-size: 2rem; }
.oracle-reading p { max-width: 36rem; }
.oracle-question-repeat { overflow-wrap: anywhere; font-style: italic; }
.oracle-offers { margin-top: 2.5rem; padding: clamp(2rem, 5vw, 4rem); background: #e4e9df; }
.oracle-offers h2 { max-width: 18ch; font-size: clamp(2.7rem, 5vw, 4.2rem); }
.oracle-offers p { max-width: 50rem; }
.oracle-explainer, .snail-details { padding: clamp(2rem, 5vw, 4rem); background: var(--paper); border: 1px solid var(--line); border-top: 0; }
.oracle-explainer h2, .snail-details h2, .snail-intro h2 { font-size: clamp(2.8rem, 5vw, 4.4rem); }
.oracle-explainer p, .snail-details p { max-width: 49rem; }
.snail-intro { display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); padding: clamp(2rem, 5vw, 4rem); background: var(--paper); border: 1px solid var(--line); border-top: 0; }
.snail-intro h2 { line-height: 1; }
.snail-intro figure { width: min(100%, 22rem); justify-self: center; }
.snail-intro img { border-radius: 50%; }
.snail-intro figcaption { margin-top: .65rem; text-align: center; font-size: .8rem; color: #4c5652; }
.snail-details ul { margin: 1.5rem 0; padding-left: 1.5rem; columns: 2; }
.snail-details li { break-inside: avoid; margin-bottom: .55rem; }
.snail-faq { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 2rem; }
.snail-faq h3 { font-size: 1.7rem; }
.daily-affirmation { position: fixed; max-width: min(29rem, calc(100% - 2rem)); width: 100%; padding: 2.7rem 2rem 2rem; border: 2px solid #bc9857; color: var(--ink); background: #fffcf6; box-shadow: 0 20px 80px #07182d88; text-align: center; }
.daily-affirmation::backdrop { background: #07182db8; }
.daily-affirmation h2 { font-size: clamp(2.8rem, 7vw, 4rem); line-height: 1; }
.daily-affirmation .eyebrow { color: #725531; }
.daily-text { font: 1.65rem/1.3 var(--serif); margin: 2rem auto 1rem; }
.daily-source { font-size: .82rem; color: #4c5652; margin-bottom: 1.7rem; }
.daily-close { position: absolute; top: .35rem; right: .55rem; border: 0; background: transparent; font-size: 2rem; line-height: 1; width: 2.7rem; height: 2.7rem; }
@media (prefers-reduced-motion: reduce) { .oracle-spark { display: none; animation: none; } .oracle-card-inner, .oracle-reading { transition: none; } }
@media (max-width: 700px) {
  .oracle-page { width: min(100% - 1.4rem, 76rem); }
  .oracle-layout, .oracle-result { grid-template-columns: 1fr; padding: 2rem 1.3rem; }
  .oracle-back { max-width: 15rem; }
  .oracle-hero { padding: 3rem 1.5rem; }
  .snail-intro, .snail-faq { grid-template-columns: 1fr; }
  .snail-intro { padding: 2rem 1.3rem; }
  .snail-details ul { columns: 1; }
}
