/**
 * Mythical princess padparadscha — original bar proportions, full facet grid, fractal vortex.
 */
.founding-tanzanite-btn,
.animisha-princess-tanzanite {
  --princess-light-x: 0.5;
  --princess-scroll: 0.5;
  --princess-axis: 0;
  --princess-lustre: 0.5;
  --princess-fractal-a: 0;
  --princess-fractal-b: 0;
  position: relative;
  width: 100%;
  margin-top: 1.25rem;
  padding: 1.1rem 1.3rem;
  min-height: 0;
  line-height: 1.2;
  border: 1px solid rgba(255, 255, 255, 0.48);
  cursor: pointer;
  overflow: hidden;
  -webkit-backdrop-filter: saturate(1.5) brightness(1.14) contrast(1.05);
  backdrop-filter: saturate(1.5) brightness(1.14) contrast(1.05);
  clip-path: polygon(
    8% 0%,
    92% 0%,
    100% 12%,
    100% 88%,
    92% 100%,
    8% 100%,
    0% 88%,
    0% 12%
  );
  background:
    linear-gradient(
      180deg,
      rgba(251, 146, 60, 0.12) 0%,
      transparent 38%,
      transparent 62%,
      rgba(251, 146, 60, 0.12) 100%
    ),
    linear-gradient(
      90deg,
      rgba(192, 132, 252, 0.42) 0%,
      rgba(251, 113, 133, 0.48) 7%,
      rgba(244, 114, 182, 0.46) 11%,
      rgba(234, 88, 12, 0.5) 20%,
      rgba(249, 115, 22, 0.58) 36%,
      rgba(251, 146, 60, 0.55) 44%,
      rgba(253, 224, 71, 0.48) 50%,
      rgba(251, 146, 60, 0.55) 56%,
      rgba(249, 115, 22, 0.58) 64%,
      rgba(234, 88, 12, 0.5) 80%,
      rgba(244, 114, 182, 0.46) 89%,
      rgba(251, 113, 133, 0.48) 93%,
      rgba(192, 132, 252, 0.42) 100%
    );
  box-shadow:
    0 12px 44px rgba(249, 115, 22, 0.38),
    0 0 60px rgba(244, 114, 182, 0.22),
    inset 0 0 36px rgba(234, 88, 12, 0.14),
    inset 0 2px 0 rgba(255, 255, 255, 0.42),
    inset 0 -2px 14px rgba(190, 24, 93, 0.12);
  animation: princess-padparadscha-chroma 10s ease-in-out infinite alternate;
  transition: transform 0.05s ease-out, box-shadow 0.05s ease-out;
}

.founding-princess-cavity {
  position: absolute;
  inset: 3% 4%;
  z-index: 1;
  pointer-events: none;
  box-shadow:
    inset 0 0 32px rgba(124, 58, 237, 0.12),
    inset 0 0 48px rgba(234, 88, 12, 0.12);
  opacity: calc(0.35 + var(--princess-lustre) * 0.35);
}

.founding-tanzanite-core {
  position: absolute;
  inset: -35% -10%;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 48% 95% at 50% 50%,
      rgba(249, 115, 22, 0.48) 0%,
      rgba(251, 146, 60, 0.26) 38%,
      transparent 68%
    );
  mix-blend-mode: screen;
  opacity: calc(0.42 + var(--princess-lustre) * 0.38);
}

.founding-princess-sunset-vein {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(192, 132, 252, 0.1) 0%,
    rgba(249, 115, 22, 0.16) 50%,
    rgba(192, 132, 252, 0.1) 100%
  );
  mix-blend-mode: soft-light;
  opacity: calc(0.4 + var(--princess-lustre) * 0.42);
}

.founding-princess-trapped {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 14% 88% at calc(50% - var(--princess-axis) * 12%) 50%,
      rgba(255, 255, 255, 0.28) 0%,
      rgba(251, 146, 60, 0.16) 30%,
      transparent 62%
    ),
    radial-gradient(
      ellipse 14% 88% at calc(50% + var(--princess-axis) * 12%) 50%,
      rgba(255, 255, 255, 0.24) 0%,
      rgba(244, 114, 182, 0.14) 30%,
      transparent 62%
    );
  mix-blend-mode: soft-light;
  opacity: calc(0.32 + var(--princess-lustre) * 0.38);
}

.founding-princess-fractal-core {
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: radial-gradient(
    ellipse 78% 94% at 50% 50%,
    #000 0%,
    transparent 84%
  );
  mask-image: radial-gradient(
    ellipse 78% 94% at 50% 50%,
    #000 0%,
    transparent 84%
  );
}

.founding-princess-fractal-vortex {
  position: absolute;
  inset: -22%;
  z-index: 1;
  pointer-events: none;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(252, 211, 77, 0.34) 1.2deg,
    transparent 2.4deg,
    transparent 11deg,
    rgba(255, 255, 255, 0.28) 12deg,
    transparent 13.2deg
  );
  mix-blend-mode: color-dodge;
  opacity: calc(0.38 + var(--princess-lustre) * 0.52);
  will-change: transform;
  animation: princess-vortex-spin 36s linear infinite;
}

.founding-princess-fractal-bleed {
  position: absolute;
  inset: -18%;
  z-index: 5;
  pointer-events: none;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(252, 211, 77, 0.3) 1.4deg,
    transparent 2.8deg,
    transparent 10deg,
    rgba(255, 255, 255, 0.24) 11.5deg,
    transparent 13deg
  );
  mix-blend-mode: color-dodge;
  transform-origin: 50% 50%;
  will-change: transform;
  animation: princess-vortex-spin 36s linear infinite;
}

.founding-princess-fractal-bleed--l {
  opacity: calc(0.28 + var(--princess-lustre) * 0.45);
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 36%,
    transparent 52%
  );
  mask-image: linear-gradient(90deg, #000 0%, #000 36%, transparent 52%);
}

.founding-princess-fractal-bleed--r {
  opacity: calc(0.28 + var(--princess-lustre) * 0.45);
  animation-direction: reverse;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 48%,
    #000 64%,
    #000 100%
  );
  mask-image: linear-gradient(90deg, transparent 48%, #000 64%, #000 100%);
}

.founding-princess-fractal-bleed--crown {
  inset: -10%;
  z-index: 4;
  mix-blend-mode: soft-light;
  opacity: calc(0.2 + var(--princess-lustre) * 0.34);
  animation-duration: 48s;
  -webkit-mask-image: radial-gradient(
    ellipse 82% 96% at 50% 50%,
    transparent 28%,
    #000 52%,
    transparent 78%
  );
  mask-image: radial-gradient(
    ellipse 82% 96% at 50% 50%,
    transparent 28%,
    #000 52%,
    transparent 78%
  );
}

.founding-princess-fractal-ring {
  position: absolute;
  inset: 0;
  z-index: 2;
  mix-blend-mode: color-dodge;
  transform-origin: 50% 50%;
  will-change: transform;
}

.founding-princess-fractal-ring[data-depth="0"] {
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(251, 146, 60, 0.55) 2.8deg,
    transparent 5.6deg,
    transparent 18deg,
    rgba(255, 255, 255, 0.42) 20.5deg,
    transparent 23deg,
    transparent 36deg,
    rgba(252, 211, 77, 0.38) 38deg,
    transparent 40deg
  );
  clip-path: polygon(50% 12%, 88% 50%, 50% 88%, 12% 50%);
  opacity: calc(0.32 + var(--princess-lustre) * 0.48);
  animation: princess-fractal-orbit-a 28s linear infinite;
}

.founding-princess-fractal-ring[data-depth="1"] {
  inset: 5% 8%;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(249, 115, 22, 0.48) 2.2deg,
    transparent 4.4deg,
    transparent 14deg,
    rgba(255, 255, 255, 0.32) 15.8deg,
    transparent 17.5deg
  );
  clip-path: polygon(50% 18%, 82% 50%, 50% 82%, 18% 50%);
  opacity: calc(0.26 + var(--princess-lustre) * 0.42);
  animation: princess-fractal-orbit-b 22s linear infinite reverse;
}

.founding-princess-fractal-ring[data-depth="2"] {
  inset: 10% 14%;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(244, 114, 182, 0.42) 1.8deg,
    transparent 3.6deg,
    transparent 10deg,
    rgba(252, 211, 77, 0.32) 11.2deg,
    transparent 12.5deg
  );
  clip-path: polygon(50% 24%, 76% 50%, 50% 76%, 24% 50%);
  mix-blend-mode: soft-light;
  opacity: calc(0.24 + var(--princess-lustre) * 0.4);
  animation: princess-fractal-orbit-a 16s linear infinite;
}

.founding-princess-fractal-ring[data-depth="3"] {
  inset: 15% 20%;
  background: repeating-conic-gradient(
    from 0deg at 50% 50%,
    transparent 0deg,
    rgba(255, 255, 255, 0.45) 1.2deg,
    transparent 2.4deg
  );
  clip-path: polygon(50% 30%, 70% 50%, 50% 70%, 30% 50%);
  opacity: calc(0.2 + var(--princess-lustre) * 0.38);
  animation: princess-fractal-orbit-b 12s linear infinite reverse;
}

.founding-princess-fractal-ring[data-depth="1"] {
  animation-direction: reverse;
}

.founding-princess-refract-a,
.founding-princess-refract-b {
  position: absolute;
  inset: -50% -25%;
  z-index: 4;
  pointer-events: none;
  mix-blend-mode: overlay;
}

.founding-princess-refract-a {
  background: linear-gradient(
    45deg,
    transparent 36%,
    rgba(251, 146, 60, 0.12) 44%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(251, 146, 60, 0.12) 56%,
    transparent 64%
  );
  opacity: calc(0.32 + var(--princess-lustre) * 0.45);
  animation: princess-refract-slide-a 6s ease-in-out infinite alternate;
}

.founding-princess-refract-b {
  background: linear-gradient(
    -45deg,
    transparent 36%,
    rgba(244, 114, 182, 0.1) 44%,
    rgba(255, 255, 255, 0.18) 50%,
    rgba(244, 114, 182, 0.1) 56%,
    transparent 64%
  );
  opacity: calc(0.32 + var(--princess-lustre) * 0.45);
  animation: princess-refract-slide-b 6s ease-in-out infinite alternate-reverse;
}

.founding-princess-beam {
  position: absolute;
  top: 6%;
  bottom: 6%;
  width: 6%;
  left: 50%;
  z-index: 5;
  pointer-events: none;
  transform: translateX(-50%);
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.06) 46%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.06) 54%,
    transparent 100%
  );
  mix-blend-mode: soft-light;
  opacity: calc(0.1 + var(--princess-lustre) * 0.12);
  filter: blur(2px);
}

.founding-princess-table {
  position: absolute;
  top: 6%;
  left: 14%;
  right: 14%;
  height: 32%;
  z-index: 2;
  pointer-events: none;
  clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.22) 0%,
    transparent 100%
  );
  opacity: calc(0.35 + var(--princess-lustre) * 0.35);
  mix-blend-mode: soft-light;
}

.founding-princess-facet-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
  pointer-events: none;
  opacity: 0.92;
  mix-blend-mode: overlay;
}

.founding-princess-facet-svg .princess-sector {
  fill: rgba(255, 255, 255, 0.04);
  stroke: none;
}

.founding-princess-facet-svg .princess-crown-quad {
  fill: rgba(255, 255, 255, 0.02);
  stroke: none;
}

.founding-princess-facet-svg .princess-ray {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 0.28;
  vector-effect: non-scaling-stroke;
}

.founding-princess-facet-svg .princess-diamond {
  fill: rgba(251, 146, 60, 0.03);
  stroke: rgba(252, 211, 77, 0.16);
  stroke-width: 0.26;
  vector-effect: non-scaling-stroke;
}

.founding-princess-facet-svg .princess-frame {
  fill: none;
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 0.3;
  vector-effect: non-scaling-stroke;
}

.founding-princess-facet-svg .princess-end-facet {
  fill: rgba(255, 255, 255, 0.03);
  stroke: rgba(252, 211, 77, 0.14);
  stroke-width: 0.26;
  vector-effect: non-scaling-stroke;
}

.founding-princess-facet-svg .princess-end-ray {
  fill: none;
  stroke: rgba(255, 255, 255, 0.12);
  stroke-width: 0.26;
  vector-effect: non-scaling-stroke;
}

.founding-princess-specular {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background:
    radial-gradient(
      ellipse 12% 78% at calc(50% - var(--princess-axis) * 10%) 50%,
      rgba(255, 255, 255, 0.28) 0%,
      transparent 58%
    ),
    radial-gradient(
      ellipse 12% 78% at calc(50% + var(--princess-axis) * 10%) 50%,
      rgba(252, 211, 77, 0.2) 0%,
      transparent 58%
    );
  mix-blend-mode: overlay;
  opacity: calc(0.35 + var(--princess-lustre) * 0.38);
  animation: princess-specular-pulse 4.5s ease-in-out infinite alternate;
}

.founding-princess-caustic {
  position: absolute;
  inset: 0;
  z-index: 7;
  pointer-events: none;
  background:
    repeating-linear-gradient(
      45deg,
      transparent 0px,
      transparent 9px,
      rgba(255, 255, 255, 0.02) 9px,
      rgba(251, 146, 60, 0.08) 10px,
      transparent 13px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0px,
      transparent 9px,
      rgba(255, 255, 255, 0.015) 9px,
      rgba(244, 114, 182, 0.06) 10px,
      transparent 13px
    );
  -webkit-mask-image: radial-gradient(
    ellipse 96% 82% at 50% 50%,
    #000 18%,
    transparent 70%
  );
  mask-image: radial-gradient(
    ellipse 96% 82% at 50% 50%,
    #000 18%,
    transparent 70%
  );
  mix-blend-mode: overlay;
  opacity: calc(0.32 + var(--princess-lustre) * 0.42);
  animation: princess-caustic-drift 7.5s ease-in-out infinite alternate;
}

.founding-tanzanite-label {
  position: relative;
  z-index: 10;
  display: block;
  width: 100%;
  text-align: center;
  font-family: "Audiowide", "Exo 2", "Orbitron", sans-serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  text-shadow:
    0 0 20px rgba(255, 255, 255, 0.9),
    0 0 34px rgba(252, 211, 77, 0.55),
    0 0 48px rgba(251, 146, 60, 0.4),
    0 2px 6px rgba(124, 45, 18, 0.85);
}

.founding-tanzanite-btn:hover,
.animisha-princess-tanzanite:hover {
  transform: translateY(-3px) scale(1.01);
  box-shadow:
    0 14px 48px rgba(249, 115, 22, 0.55),
    0 0 72px rgba(244, 114, 182, 0.4),
    inset 0 0 40px rgba(249, 115, 22, 0.16);
}

.founding-tanzanite-label--gemified {
  font-size: 1.15rem;
  letter-spacing: 0.26em;
}

.animisha-princess-tanzanite--labelless .founding-tanzanite-label {
  opacity: 0;
  visibility: hidden;
}

.animisha-princess-tanzanite--square,
.founding-thanks-gem {
  width: min(280px, 78vw);
  max-width: 280px;
  aspect-ratio: 1;
  height: auto;
  padding: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.founding-thanks-gem {
  cursor: default;
}

.founding-tanzanite-btn:disabled,
.animisha-princess-tanzanite:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  transform: none;
  animation: none;
}

@keyframes princess-padparadscha-chroma {
  0% {
    filter: hue-rotate(0deg) brightness(1.04) saturate(1.1);
  }
  50% {
    filter: hue-rotate(4deg) brightness(1.1) saturate(1.16);
  }
  100% {
    filter: hue-rotate(-3deg) brightness(1.06) saturate(1.12);
  }
}

@keyframes princess-vortex-spin {
  from {
    transform: rotate(0deg) translateZ(0);
  }
  to {
    transform: rotate(360deg) translateZ(0);
  }
}

@keyframes princess-fractal-orbit-a {
  from {
    transform: rotate(0deg) translateZ(0);
  }
  to {
    transform: rotate(360deg) translateZ(0);
  }
}

@keyframes princess-fractal-orbit-b {
  from {
    transform: rotate(0deg) translateZ(0);
  }
  to {
    transform: rotate(-360deg) translateZ(0);
  }
}

@keyframes princess-refract-slide-a {
  0% {
    transform: translateX(calc(-10% + var(--princess-axis) * -5%));
  }
  100% {
    transform: translateX(calc(10% + var(--princess-axis) * 5%));
  }
}

@keyframes princess-refract-slide-b {
  0% {
    transform: translateX(calc(10% + var(--princess-axis) * 5%));
  }
  100% {
    transform: translateX(calc(-10% + var(--princess-axis) * -5%));
  }
}

@keyframes princess-specular-pulse {
  0% {
    opacity: calc(0.28 + var(--princess-lustre) * 0.32);
  }
  100% {
    opacity: calc(0.42 + var(--princess-lustre) * 0.45);
  }
}

@keyframes princess-caustic-drift {
  0% {
    transform: translateX(-4%);
  }
  100% {
    transform: translateX(4%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .founding-tanzanite-btn,
  .animisha-princess-tanzanite,
  .founding-princess-fractal-vortex,
  .founding-princess-fractal-bleed,
  .founding-princess-fractal-ring,
  .founding-princess-refract-a,
  .founding-princess-refract-b,
  .founding-princess-specular,
  .founding-princess-caustic {
    animation: none !important;
  }
}
