.energy-page {
  overflow: hidden;
}

.energy-oracle {
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 221, 138, 0.42), transparent 29%),
    radial-gradient(circle at 83% 18%, rgba(83, 198, 255, 0.28), transparent 30%),
    linear-gradient(145deg, #fff7e6 0%, #f8e1c0 38%, #f3d1c8 68%, #eee6ff 100%);
  color: #291532;
  font-family: "Open Sans", Arial, sans-serif;
  padding: 0;
}

.energy-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: 22px;
  align-items: center;
  min-height: 390px;
  padding: 28px clamp(18px, 4vw, 58px) 18px;
}

.energy-hero__copy {
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.energy-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #6b255f;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.energy-kicker::before {
  content: "";
  width: 34px;
  height: 2px;
  background: #d98528;
}

.energy-hero h1 {
  margin: 10px 0 14px;
  color: #251033;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(26px, 3.5vw, 39px);
  line-height: 1.12;
  letter-spacing: 0;
}

.energy-hero p {
  max-width: 570px;
  margin: 0;
  color: #59415e;
  font-size: 18px;
  line-height: 1.68;
}

.energy-hero__orb {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
}

#auraCanvas {
  width: min(100%, 340px);
  max-width: 340px;
  aspect-ratio: 1;
  display: block;
}

.orb-core {
  position: absolute;
  width: min(35vw, 168px);
  min-width: 126px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-align: center;
  background: rgba(255, 252, 238, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 0 35px rgba(255, 255, 255, 0.72), 0 0 34px rgba(255, 222, 143, 0.54);
  color: #4d2557;
  font-family: Adamina, Georgia, serif;
  font-size: 18px;
}

.oracle-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 22px;
  align-items: start;
  padding: 0 clamp(16px, 4vw, 58px) 34px;
}

.oracle-steps {
  grid-column: 1 / -1;
  display: flex;
  gap: 10px;
  align-items: center;
}

.step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.54);
  color: #754f72;
  border: 1px solid rgba(108, 60, 114, 0.18);
  font-weight: 700;
}

.step-dot.is-active {
  background: #351058;
  color: #fff7df;
  box-shadow: 0 7px 18px rgba(53, 16, 88, 0.25);
}

.oracle-form,
.sound-panel {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(94, 55, 94, 0.16);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(79, 48, 67, 0.10);
}

.oracle-form {
  padding: clamp(18px, 3vw, 28px);
}

.oracle-panel {
  display: none;
  border: 0;
  margin: 0;
  padding: 0;
  min-height: 360px;
}

.oracle-panel.is-active {
  display: block;
}

.oracle-panel legend,
.sound-panel h2 {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  color: #2c1437;
  font-family: Adamina, Georgia, serif;
  font-size: 26px;
  line-height: 1.22;
}

.panel-intro,
.sound-panel p {
  margin: 0 0 20px;
  color: #685069;
  font-size: 15px;
  line-height: 1.6;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.color-grid {
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
}

.word-grid {
  grid-template-columns: repeat(auto-fit, minmax(152px, 1fr));
}

.choice-card {
  appearance: none;
  border: 1px solid rgba(80, 46, 87, 0.18);
  border-radius: 8px;
  min-height: 138px;
  padding: 16px;
  background: rgba(255, 250, 240, 0.78);
  color: #2c1732;
  cursor: pointer;
  text-align: left;
  transition: border-color 100ms ease, background 100ms ease;
}

.choice-card:hover,
.choice-card:focus-visible {
  border-color: rgba(116, 57, 124, 0.42);
  outline: none;
}

.choice-card.is-selected {
  background: #fffdf6;
  border-color: rgba(53, 16, 88, 0.72);
  box-shadow: 0 0 0 3px rgba(246, 181, 63, 0.24), 0 18px 34px rgba(68, 35, 78, 0.16);
}

.choice-card strong,
.choice-card small {
  display: block;
}

.choice-card strong {
  margin-top: 12px;
  font-size: 18px;
  line-height: 1.2;
}

.choice-card small {
  margin-top: 7px;
  color: #765e75;
  font-size: 13px;
  line-height: 1.35;
}

.color-swatch {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95), transparent 26%),
    var(--choice-color);
  box-shadow: 0 0 22px rgba(126, 70, 152, 0.28);
}

.word-card {
  min-height: 118px;
}

.word-spark {
  position: relative;
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #fff8c9 0 3px, transparent 4px),
    radial-gradient(circle at 50% 6%, #f7c85e 0 2px, transparent 3px),
    radial-gradient(circle at 94% 50%, #7ad7ff 0 2px, transparent 3px),
    radial-gradient(circle at 50% 94%, #d99cff 0 2px, transparent 3px),
    radial-gradient(circle at 6% 50%, #8fe7bb 0 2px, transparent 3px);
  box-shadow: 0 0 18px rgba(246, 181, 63, 0.34);
}

.word-spark::before,
.word-spark::after {
  content: "";
  position: absolute;
}

.word-spark::before {
  inset: 8px;
  background:
    radial-gradient(circle at 38% 30%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(135deg, #ffd86d, #b779ff 70%, #65ddc6);
  clip-path: polygon(50% 0%, 61% 34%, 96% 50%, 61% 66%, 50% 100%, 39% 66%, 4% 50%, 39% 34%);
}

.word-spark::after {
  inset: 4px;
  border: 1px solid rgba(97, 48, 113, 0.26);
  border-radius: 50%;
  background: transparent;
  transform: rotate(-22deg) scaleX(1.18);
}

.shape-symbol,
.geometry-mark {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
}

.shape-circle {
  border: 4px solid #56b9c5;
  border-radius: 50%;
  box-shadow: inset 0 0 0 10px rgba(86, 185, 197, 0.14);
}

.shape-triangle {
  width: 0;
  height: 0;
  border-left: 31px solid transparent;
  border-right: 31px solid transparent;
  border-bottom: 56px solid #e88f3a;
}

.shape-spiral {
  display: grid;
  place-items: center;
}

.shape-spiral span {
  position: absolute;
  border-radius: 50%;
  border: 3px solid transparent;
  border-top-color: #9b62d8;
  border-right-color: #9b62d8;
}

.shape-spiral span:nth-child(1) {
  width: 54px;
  height: 54px;
  transform: rotate(18deg);
}

.shape-spiral span:nth-child(2) {
  width: 40px;
  height: 40px;
  transform: rotate(92deg);
}

.shape-spiral span:nth-child(3) {
  width: 26px;
  height: 26px;
  transform: rotate(166deg);
}

.shape-spiral span:nth-child(4) {
  width: 12px;
  height: 12px;
  border-width: 2px;
  border-color: #9b62d8;
}

.shape-star {
  background: #e9b13d;
  clip-path: polygon(50% 0%, 62% 33%, 98% 35%, 69% 56%, 79% 91%, 50% 70%, 21% 91%, 31% 56%, 2% 35%, 38% 33%);
}

.shape-moon {
  border-radius: 50%;
  background: #15275f;
  box-shadow: inset -18px 0 0 #ffd86d;
}

.shape-diamond {
  background: #47b8cf;
  transform: rotate(45deg) scale(0.76);
}

.geometry-mark {
  border-radius: 50%;
}

.geometry-mark::before,
.geometry-mark::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 2px solid #6f3d93;
}

.flower {
  background:
    radial-gradient(circle at 50% 18%, transparent 10px, #6f3d93 11px, transparent 12px),
    radial-gradient(circle at 22% 36%, transparent 10px, #6f3d93 11px, transparent 12px),
    radial-gradient(circle at 78% 36%, transparent 10px, #6f3d93 11px, transparent 12px),
    radial-gradient(circle at 35% 72%, transparent 10px, #6f3d93 11px, transparent 12px),
    radial-gradient(circle at 65% 72%, transparent 10px, #6f3d93 11px, transparent 12px);
}

.flower::before,
.flower::after {
  border-radius: 50%;
}

.merkaba::before {
  clip-path: polygon(50% 0, 100% 86%, 0 86%);
}

.merkaba::after {
  clip-path: polygon(50% 100%, 100% 14%, 0 14%);
}

.yantra::before {
  transform: rotate(0deg);
  clip-path: polygon(50% 0, 100% 86%, 0 86%);
}

.yantra::after {
  inset: 14px;
  transform: rotate(180deg);
  clip-path: polygon(50% 0, 100% 86%, 0 86%);
}

.metatron {
  background:
    radial-gradient(circle at 50% 50%, #6f3d93 0 4px, transparent 5px),
    radial-gradient(circle at 50% 10%, #6f3d93 0 4px, transparent 5px),
    radial-gradient(circle at 86% 32%, #6f3d93 0 4px, transparent 5px),
    radial-gradient(circle at 72% 82%, #6f3d93 0 4px, transparent 5px),
    radial-gradient(circle at 28% 82%, #6f3d93 0 4px, transparent 5px),
    radial-gradient(circle at 14% 32%, #6f3d93 0 4px, transparent 5px);
}

.metatron::before {
  inset: 10px;
  border-radius: 50%;
}

.metatron::after {
  inset: 16px;
  transform: rotate(45deg);
}

.seed {
  background:
    radial-gradient(circle at 50% 50%, transparent 8px, #6f3d93 9px, transparent 10px),
    radial-gradient(circle at 50% 22%, transparent 8px, #6f3d93 9px, transparent 10px),
    radial-gradient(circle at 74% 36%, transparent 8px, #6f3d93 9px, transparent 10px),
    radial-gradient(circle at 74% 64%, transparent 8px, #6f3d93 9px, transparent 10px),
    radial-gradient(circle at 50% 78%, transparent 8px, #6f3d93 9px, transparent 10px),
    radial-gradient(circle at 26% 64%, transparent 8px, #6f3d93 9px, transparent 10px),
    radial-gradient(circle at 26% 36%, transparent 8px, #6f3d93 9px, transparent 10px);
}

.seed::before {
  border-radius: 50%;
}

.seed::after {
  display: none;
}

.vesica::before,
.vesica::after {
  top: 8px;
  bottom: 8px;
  width: 34px;
  border-radius: 50%;
}

.vesica::before {
  left: 4px;
}

.vesica::after {
  right: 4px;
  left: auto;
}

.birth-panel input[type="date"] {
  display: block;
  box-sizing: border-box;
  width: min(100%, 360px);
  height: 52px;
  border: 1px solid rgba(66, 38, 72, 0.25);
  border-radius: 8px;
  padding: 0 14px;
  background: #fffdf6;
  color: #2c1732;
  font-size: 17px;
}

.birth-label {
  display: block;
  margin: 0 0 8px;
  color: #4c3150;
  font-weight: 700;
}

.birth-preview {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(53, 16, 88, 0.08);
  color: #55375b;
}

.birth-preview strong {
  color: #351058;
  font-size: 24px;
}

.oracle-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
  padding-top: 22px;
}

.oracle-button {
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  padding: 0 18px;
  background: #351058;
  color: #fff7df;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(53, 16, 88, 0.22);
}

.oracle-button.ghost {
  background: rgba(255, 255, 255, 0.72);
  color: #351058;
  box-shadow: none;
  border: 1px solid rgba(53, 16, 88, 0.2);
}

.oracle-button.reveal {
  display: none;
  background: linear-gradient(135deg, #7e2c77, #d98528);
}

.oracle-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.sound-panel {
  position: sticky;
  top: 16px;
  padding: 22px;
}

.result-details {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.result-details[hidden] {
  display: none;
}

.result-card {
  border: 1px solid rgba(80, 46, 87, 0.14);
  border-radius: 8px;
  padding: 12px 14px;
  background: rgba(255, 252, 246, 0.72);
}

.result-card b {
  display: block;
  margin-bottom: 5px;
  color: #8f5517;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.result-card span {
  display: block;
  color: #513458;
  font-size: 13px;
  line-height: 1.5;
}

.sound-window {
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-radius: 8px;
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(40, 15, 55, 0.14), rgba(255, 251, 238, 0.7)),
    radial-gradient(circle at center top, rgba(116, 202, 222, 0.4), transparent 48%);
  overflow: hidden;
}

.sound-bars {
  display: flex;
  align-items: end;
  gap: 9px;
  height: 88px;
  margin-bottom: auto;
}

.sound-bars span {
  width: 100%;
  min-width: 10px;
  height: 24px;
  border-radius: 999px 999px 2px 2px;
  background: linear-gradient(180deg, #fff4c7, #9c5eb1 58%, #351058);
  opacity: 0.76;
  transform-origin: bottom;
}

.is-playing .sound-bars span {
  animation: toneBar 1.4s ease-in-out infinite;
}

.is-playing .sound-bars span:nth-child(2) { animation-delay: 0.12s; }
.is-playing .sound-bars span:nth-child(3) { animation-delay: 0.28s; }
.is-playing .sound-bars span:nth-child(4) { animation-delay: 0.43s; }
.is-playing .sound-bars span:nth-child(5) { animation-delay: 0.18s; }
.is-playing .sound-bars span:nth-child(6) { animation-delay: 0.36s; }
.is-playing .sound-bars span:nth-child(7) { animation-delay: 0.52s; }

@keyframes toneBar {
  0%, 100% { transform: scaleY(0.35); }
  50% { transform: scaleY(1); }
}

.player-controls {
  display: flex;
  gap: 12px;
  margin: 18px 0;
}

.round-control {
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: #351058;
  color: #fff8df;
  cursor: pointer;
  box-shadow: 0 10px 22px rgba(53, 16, 88, 0.24);
}

.round-control:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  box-shadow: none;
}

.round-control + .round-control {
  background: #fffaf0;
  color: #351058;
  border: 1px solid rgba(53, 16, 88, 0.18);
  box-shadow: none;
}

.tone-recipe {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tone-recipe span {
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(53, 16, 88, 0.08);
  color: #513458;
  font-size: 12px;
  font-weight: 700;
}

.energy-footer {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: flex-start;
  padding: 28px clamp(16px, 4vw, 58px) 34px;
  background: rgba(47, 20, 61, 0.92);
  color: #fff7df;
}

.energy-footer__brand {
  max-width: 390px;
}

.energy-footer__brand span,
.energy-footer__brand strong {
  display: block;
}

.energy-footer__brand span {
  color: #f6c873;
  font-family: Adamina, Georgia, serif;
  font-size: 20px;
  line-height: 1.25;
}

.energy-footer__brand strong {
  margin-top: 6px;
  color: rgba(255, 248, 226, 0.82);
  font-size: 14px;
  line-height: 1.5;
}

.energy-footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 14px;
  justify-content: flex-end;
}

.energy-footer__links a {
  color: #fff7df;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
}

.energy-footer__links a:hover,
.energy-footer__links a:focus-visible {
  color: #f6c873;
  text-decoration: underline;
}

.energy-seo {
  padding: 30px clamp(16px, 4vw, 58px) 38px;
  background: rgba(255, 250, 240, 0.88);
  color: #513458;
}

.energy-seo h2,
.energy-seo h3 {
  color: #2c1437;
  font-family: Adamina, Georgia, serif;
  letter-spacing: 0;
}

.energy-seo h2 {
  margin: 0 0 12px;
  font-size: 24px;
  line-height: 1.25;
}

.energy-seo h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

.energy-seo p {
  max-width: 920px;
  margin: 0 0 14px;
  color: #604536;
  font-size: 15px;
  line-height: 1.65;
}

.energy-faq-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.energy-faq-list article {
  border: 1px solid rgba(94, 55, 94, 0.14);
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.66);
}

.energy-legal-footer .cms-legal-footer-text {
  max-width: 1240px;
  margin: 0 auto;
  color: rgba(58, 48, 41, 0.90);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 13px;
  line-height: 1.55;
  text-align: center;
}

.energy-legal-footer .cms-legal-footer-text a,
.energy-legal-footer .cms-legal-footer-text strong {
  color: rgba(58, 48, 41, 0.90);
}

@media (max-width: 980px) {
  .energy-hero,
  .oracle-shell {
    grid-template-columns: 1fr;
  }

  .energy-hero {
    min-height: auto;
  }

  .energy-hero__orb {
    min-height: 300px;
  }

  .sound-panel {
    position: static;
  }

  .energy-footer {
    display: block;
  }

  .energy-footer__links {
    justify-content: flex-start;
    margin-top: 18px;
  }

  .energy-faq-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  body {
    padding-left: 8px;
    padding-right: 8px;
  }

  .energy-hero {
    padding-top: 30px;
  }

  .energy-hero h1 {
    font-size: 28px;
  }

  .energy-hero p {
    font-size: 16px;
  }

  .choice-grid,
  .color-grid {
    grid-template-columns: 1fr;
  }

  .oracle-panel {
    min-height: 0;
  }

  .oracle-actions {
    justify-content: stretch;
  }

  .oracle-button {
    flex: 1 1 150px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .choice-card,
  .sound-bars span {
    animation: none !important;
    transition: none;
  }
}
