/*
 * OCERAOT_HOME_BUTTON_MAGIC_LOGO_V2
 * OCERAOT_HOME_BUTTON_LIGHT_BLUE_V3
 * OCERAOT_HOME_BUTTON_MEDIUM_BLUE_V4
 * Logotipo central integrado, animado y enlazado al inicio.
 */

#Bodycontainer {
  position: relative;
}

#OceraHomeButtonWrap {
  position: absolute;
  top: 18px;
  right: 205px;
  left: 205px;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 118px;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

#OceraHomeButton {
  position: relative;
  display: block;
  width: calc(100% - 40px);
  max-width: 680px;
  height: 112px;
  margin: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  outline: 0;
  background:
    radial-gradient(
      ellipse at center,
      rgba(16, 92, 142, 0.28) 0%,
      rgba(3, 37, 66, 0.14) 38%,
      rgba(1, 14, 28, 0.04) 62%,
      transparent 76%
    );
  box-shadow: none;
  color: #f3e8d4;
  text-align: center;
  text-decoration: none !important;
  cursor: pointer;
  pointer-events: auto;
  box-sizing: border-box;
  transition:
    filter 170ms ease,
    transform 170ms ease;
}

#OceraHomeButton::before {
  content: "";
  position: absolute;
  top: 20px;
  right: 9%;
  bottom: 17px;
  left: 9%;
  border-radius: 50%;
  background:
    radial-gradient(
      ellipse at center,
      rgba(32, 140, 198, 0.18),
      rgba(232, 190, 95, 0.05) 45%,
      transparent 72%
    );
  filter: blur(5px);
  pointer-events: none;
}

#OceraHomeButton::after {
  content: "";
  position: absolute;
  right: 16%;
  bottom: 14px;
  left: 16%;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(40, 120, 158, 0.12) 7%,
    rgba(114, 145, 151, 0.88) 24%,
    rgba(220, 181, 91, 0.84) 50%,
    rgba(114, 145, 151, 0.88) 76%,
    rgba(40, 120, 158, 0.12) 93%,
    transparent 100%
  );
  box-shadow:
    0 1px 0 rgba(2, 8, 13, 0.88),
    0 0 7px rgba(39, 145, 196, 0.24);
  pointer-events: none;
}

#OceraHomeButton .ocera-home-name {
  position: relative;
  z-index: 5;
  display: inline-block;
  margin: 0;
  padding: 5px 25px 0;
  background: linear-gradient(
    180deg,
    #f3fdff 0%,
    #d6f5ff 28%,
    #a7e5ff 50%,
    #e6faff 68%,
    #69c8ef 100%
  );
  color: #8bd5f1;
  font-family:
    "Segoe Script",
    "Brush Script MT",
    "Lucida Handwriting",
    "URW Chancery L",
    "Apple Chancery",
    cursive;
  font-size: clamp(46px, 5vw, 62px);
  font-style: italic;
  font-weight: 700;
  line-height: 69px;
  letter-spacing: 2px;
  white-space: nowrap;
  text-shadow:
    1px 2px 1px #01060a,
    0 0 4px rgba(211, 246, 255, 0.82),
    0 0 9px rgba(36, 146, 207, 0.65),
    0 0 18px rgba(15, 90, 145, 0.36);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: #82cfee;
  -webkit-text-stroke: 0.35px rgba(13, 24, 30, 0.88);
}

#OceraHomeButton .ocera-home-name::before {
  content: attr(data-text);
  position: absolute;
  top: 5px;
  right: 25px;
  left: 25px;
  z-index: -1;
  color: rgba(51, 165, 221, 0.38);
  text-align: center;
  -webkit-text-fill-color: rgba(51, 165, 221, 0.28);
  filter: blur(6px);
  transform: scale(1.025);
  pointer-events: none;
}

#OceraHomeButton .ocera-home-subtitle {
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  z-index: 5;
  display: block;
  margin: 0;
  padding: 0;
  color: #c7d9df;
  font-family: Verdana, Arial, Helvetica, sans-serif;
  font-size: 8px;
  font-weight: 700;
  line-height: 12px;
  letter-spacing: 6px;
  text-shadow:
    1px 1px 1px #01060a,
    0 0 4px rgba(30, 137, 191, 0.62);
}

#OceraHomeButton .ocera-home-ornament {
  position: absolute;
  top: 84px;
  z-index: 3;
  display: block;
  width: calc(50% - 174px);
  min-width: 62px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(74, 115, 127, 0.90) 28%,
    rgba(223, 188, 107, 0.94) 82%,
    #d8cfaa
  );
  box-shadow:
    0 1px 0 rgba(0, 5, 10, 0.88),
    0 0 6px rgba(44, 139, 184, 0.34);
  pointer-events: none;
}

#OceraHomeButton .ocera-home-ornament::before {
  content: "";
  position: absolute;
  top: -4px;
  width: 10px;
  height: 10px;
  border: 1px solid #d5bc76;
  background:
    radial-gradient(
      circle at 36% 32%,
      #dff6ff 0,
      #52bce8 18%,
      #126193 48%,
      #061d31 72%
    );
  box-shadow:
    0 0 0 1px #061018,
    0 0 7px rgba(76, 190, 238, 0.78),
    inset 0 0 3px #dff7ff;
  transform: rotate(45deg);
}

#OceraHomeButton .ocera-home-ornament::after {
  content: "";
  position: absolute;
  top: -8px;
  width: 68px;
  height: 8px;
  border-top: 1px solid rgba(176, 161, 113, 0.72);
  border-radius: 50%;
}

#OceraHomeButton .ocera-home-ornament-left {
  left: 18px;
}

#OceraHomeButton .ocera-home-ornament-left::before {
  right: -5px;
}

#OceraHomeButton .ocera-home-ornament-left::after {
  right: 7px;
  transform: rotate(8deg);
}

#OceraHomeButton .ocera-home-ornament-right {
  right: 18px;
  background: linear-gradient(
    90deg,
    #d8cfaa,
    rgba(223, 188, 107, 0.94) 18%,
    rgba(74, 115, 127, 0.90) 72%,
    transparent
  );
}

#OceraHomeButton .ocera-home-ornament-right::before {
  left: -5px;
}

#OceraHomeButton .ocera-home-ornament-right::after {
  left: 7px;
  transform: rotate(-8deg);
}

#OceraHomeButton .ocera-home-spark {
  position: absolute;
  z-index: 8;
  display: block;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #fffbe2;
  box-shadow:
    0 0 3px #ffffff,
    0 0 7px #8ee2ff,
    0 0 12px rgba(58, 173, 228, 0.82);
  opacity: 0.18;
  pointer-events: none;
  animation: ocera-home-twinkle 2.2s ease-in-out infinite;
}

#OceraHomeButton .ocera-home-spark::before,
#OceraHomeButton .ocera-home-spark::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 1px;
  background: linear-gradient(
    180deg,
    transparent,
    #ffffff 45%,
    #ffffff 55%,
    transparent
  );
}

#OceraHomeButton .ocera-home-spark::before {
  width: 1px;
  height: 17px;
  transform: translateY(-8px);
}

#OceraHomeButton .ocera-home-spark::after {
  width: 17px;
  height: 1px;
  transform: translateX(-8px);
}

#OceraHomeButton .ocera-home-spark-1 {
  top: 19px;
  left: 19%;
  animation-delay: -0.3s;
}

#OceraHomeButton .ocera-home-spark-2 {
  top: 8px;
  left: 36%;
  animation-delay: -1.7s;
  animation-duration: 2.8s;
}

#OceraHomeButton .ocera-home-spark-3 {
  top: 22px;
  right: 24%;
  animation-delay: -0.9s;
  animation-duration: 1.9s;
}

#OceraHomeButton .ocera-home-spark-4 {
  top: 47px;
  right: 9%;
  animation-delay: -2.1s;
  animation-duration: 3.1s;
}

#OceraHomeButton .ocera-home-spark-5 {
  bottom: 29px;
  right: 31%;
  animation-delay: -1.2s;
  animation-duration: 2.5s;
}

#OceraHomeButton .ocera-home-spark-6 {
  bottom: 20px;
  left: 25%;
  animation-delay: -2.4s;
  animation-duration: 3.3s;
}

#OceraHomeButton .ocera-home-spark-7 {
  top: 49px;
  left: 7%;
  animation-delay: -0.6s;
  animation-duration: 2.4s;
}

#OceraHomeButton .ocera-home-spark-8 {
  top: 6px;
  right: 41%;
  animation-delay: -2.8s;
  animation-duration: 3.6s;
}

#OceraHomeButton:hover,
#OceraHomeButton:focus {
  filter: brightness(1.16);
  transform: translateY(-2px) scale(1.01);
  text-decoration: none !important;
}

#OceraHomeButton:hover .ocera-home-name,
#OceraHomeButton:focus .ocera-home-name {
  text-shadow:
    1px 2px 1px #01060a,
    0 0 6px rgba(220, 248, 255, 0.94),
    0 0 12px rgba(56, 177, 231, 0.88),
    0 0 24px rgba(20, 108, 170, 0.52);
}

#OceraHomeButton:focus-visible {
  outline: 1px solid rgba(241, 210, 137, 0.88);
  outline-offset: 5px;
  border-radius: 50%;
}

#OceraHomeButton:active {
  filter: brightness(0.96);
  transform: translateY(0) scale(0.995);
}

@keyframes ocera-home-twinkle {
  0%,
  100% {
    opacity: 0.12;
    transform: scale(0.28) rotate(0deg);
  }
  42% {
    opacity: 0.48;
    transform: scale(0.62) rotate(22deg);
  }
  51% {
    opacity: 1;
    transform: scale(1.18) rotate(45deg);
  }
  63% {
    opacity: 0.34;
    transform: scale(0.48) rotate(68deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  #OceraHomeButton,
  #OceraHomeButton .ocera-home-spark {
    animation: none;
    transition: none;
  }

  #OceraHomeButton .ocera-home-spark {
    opacity: 0.55;
    transform: scale(0.65);
  }
}
/* OCERAOT_HOME_LETRAS_ORIGINALES_V1_BEGIN */
/*
 * Recupera exclusivamente la tipografía, el color y la sombra
 * del primer botón OCERAOT. No altera tamaño, posición ni adornos.
 */
#OceraHomeButton .ocera-home-name {
  background: none !important;
  color: #f5daa0 !important;
  font-family: Georgia, "Times New Roman", serif !important;
  font-style: normal !important;
  font-weight: 700 !important;
  letter-spacing: 5px !important;
  text-shadow:
    1px 2px 1px #02070b,
    0 0 5px rgba(32, 132, 190, 0.72),
    0 0 11px rgba(229, 179, 78, 0.18) !important;
  -webkit-background-clip: border-box !important;
  background-clip: border-box !important;
  -webkit-text-fill-color: #f5daa0 !important;
  -webkit-text-stroke: 0 !important;
}

#OceraHomeButton .ocera-home-name::before {
  content: none !important;
  display: none !important;
}

#OceraHomeButton:hover .ocera-home-name,
#OceraHomeButton:focus .ocera-home-name {
  color: #ffe6aa !important;
  -webkit-text-fill-color: #ffe6aa !important;
}
/* OCERAOT_HOME_LETRAS_ORIGINALES_V1_END */
