/* Hero tabs — below animated banner */
body.site-beautify .oe-hero-tabs {
  display: flex;
  width: 100%;
  max-width: 974px;
  margin: 0 auto 0.5rem;
  background: #ffffff;
  border: 1px solid rgba(205, 213, 232, 0.95);
  border-top: none;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 8px 24px rgba(67, 65, 144, 0.08);
  overflow: hidden;
}

body.site-beautify td.oe-psyche-hero-cell .oe-psyche-hero {
  border-radius: 14px 14px 0 0;
  margin-bottom: 0;
}

body.site-beautify .oe-hero-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 14px 10px 18px;
  text-decoration: none;
  color: #0f172a;
  background: #ffffff;
  border-right: 1px solid #e8edf8;
  transition: background 0.25s ease, box-shadow 0.25s ease;
}

body.site-beautify .oe-hero-tab:last-child {
  border-right: none;
}

body.site-beautify .oe-hero-tab:hover,
body.site-beautify .oe-hero-tab:focus-visible {
  background: #f4f7fc;
  box-shadow: inset 0 -3px 0 #38bdf8;
  outline: none;
}

body.site-beautify .oe-hero-tab__label {
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(0.95rem, 1.8vw, 1.05rem);
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 12px;
  color: #000000;
}

/* Shared icon area */
body.site-beautify .oe-hero-tab__icon-slot {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Life patch — slow float + gentle pulse */
body.site-beautify .oe-tab-patch {
  position: relative;
  width: 52px;
  height: 52px;
  display: block;
  animation: oe-tab-patch-float 5s ease-in-out infinite;
}

body.site-beautify .oe-tab-patch__disc {
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #1e293b 0%, #0f172a 55%, #020617 100%);
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 0.15),
    0 2px 8px rgba(0, 0, 0, 0.35);
  animation: oe-tab-patch-pulse 4s ease-in-out infinite;
}

body.site-beautify .oe-tab-patch__shine {
  position: absolute;
  top: 14px;
  left: 16px;
  width: 14px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transform: rotate(-25deg);
}

/* Orion constellation — full hunter shape */
body.site-beautify .oe-tab-orion-svg {
  width: 88px;
  height: auto;
  display: block;
}

body.site-beautify .oe-tab-orion-figure {
  animation: oe-tab-orion-drift 6s ease-in-out infinite;
  transform-origin: 50px 36px;
}

body.site-beautify .oe-tab-orion-star {
  filter: drop-shadow(0 0 3px rgba(56, 189, 248, 0.5));
  animation: oe-tab-orion-twinkle 2.8s ease-in-out infinite;
}

body.site-beautify .oe-tab-orion-star--bright {
  animation-duration: 2.2s;
}

body.site-beautify .oe-tab-orion-star--belt {
  animation-duration: 2s;
}

body.site-beautify .oe-tab-orion-star:nth-child(2) { animation-delay: -0.3s; }
body.site-beautify .oe-tab-orion-star:nth-child(3) { animation-delay: -0.6s; }
body.site-beautify .oe-tab-orion-star:nth-child(4) { animation-delay: -0.9s; }
body.site-beautify .oe-tab-orion-star:nth-child(5) { animation-delay: -1.2s; }
body.site-beautify .oe-tab-orion-star:nth-child(6) { animation-delay: -1.5s; }
body.site-beautify .oe-tab-orion-star:nth-child(7) { animation-delay: -1.8s; }
body.site-beautify .oe-tab-orion-star:nth-child(8) { animation-delay: -2.1s; }
body.site-beautify .oe-tab-orion-star:nth-child(9) { animation-delay: -2.4s; }

/* Copper bracelet ring */
body.site-beautify .oe-tab-copper-svg {
  width: 80px;
  height: auto;
  display: block;
}

body.site-beautify .oe-tab-copper-figure {
  animation: oe-tab-copper-sway 5.5s ease-in-out infinite;
  transform-origin: 50px 34px;
}

body.site-beautify .oe-tab-copper-band {
  filter: drop-shadow(0 2px 4px rgba(139, 69, 19, 0.45));
}

body.site-beautify .oe-tab-copper-shine {
  animation: oe-tab-copper-shimmer 4s ease-in-out infinite;
}

@keyframes oe-tab-copper-shimmer {
  0%, 100% { opacity: 0.5; }
  50%      { opacity: 1; }
}

@keyframes oe-tab-patch-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

@keyframes oe-tab-patch-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(0.92); opacity: 0.92; }
}

@keyframes oe-tab-orion-drift {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50%      { transform: translateY(-3px) rotate(1deg); }
}

@keyframes oe-tab-orion-twinkle {
  0%, 100% { opacity: 0.65; transform: scale(1); }
  50%      { opacity: 1; transform: scale(1.2); }
}

@keyframes oe-tab-copper-sway {
  0%, 100% { transform: translateX(0) rotate(0deg); }
  50%      { transform: translateX(4px) rotate(6deg); }
}

@media (max-width: 640px) {
  body.site-beautify .oe-hero-tab {
    padding: 10px 6px 14px;
  }
  body.site-beautify .oe-hero-tab__label {
    font-size: 0.78rem;
    margin-bottom: 8px;
  }
  body.site-beautify .oe-tab-patch {
    transform: scale(0.85);
  }
  body.site-beautify .oe-tab-orion-svg {
    width: 72px;
  }
  body.site-beautify .oe-tab-copper-svg {
    width: 68px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.site-beautify .oe-tab-patch,
  body.site-beautify .oe-tab-patch__disc,
  body.site-beautify .oe-tab-orion-figure,
  body.site-beautify .oe-tab-copper-figure,
  body.site-beautify .oe-tab-copper-shine {
    animation: none !important;
  }
}
