/*!
 * Panther Typed Carousel
 * Desarrollado por the panther soft - Maria Lujan Vaira
 */

:root {
  --ptc-gold: #edc431;
  --ptc-red: #ed1f2d;
  --ptc-ink: #ffffff;
  --ptc-shadow: rgba(0, 0, 0, 0.58);
  --ptc-soft-shadow: rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #101010;
  color: var(--ptc-ink);
  font-family: Inter, Montserrat, "Segoe UI", Arial, sans-serif;
}

.panther-hero-carousel {
  position: relative;
  min-height: 459px;
  overflow: hidden;
  isolation: isolate;
  background: #171717;
}

.ptc-slide {
  position: absolute;
  inset: 0;
  display: grid;
  opacity: 0;
  pointer-events: none;
  background-image: linear-gradient(90deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0.38)), var(--slide-image);
  background-position: center;
  background-size: cover;
  transition: opacity 680ms ease;
}

.ptc-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}

.ptc-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(180px, 300px) minmax(0, 760px);
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
  width: min(1120px, calc(100% - 48px));
  min-height: 459px;
  margin: 0 auto;
  padding: 52px 0 76px;
}

.ptc-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: clamp(162px, 19vw, 198px);
  aspect-ratio: 1;
  justify-self: center;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 18px 42px var(--ptc-soft-shadow);
}

.ptc-emblem::before,
.ptc-emblem::after {
  content: "";
  position: absolute;
  inset: -34px;
  border: 3px solid rgba(255, 255, 255, 0.54);
  border-radius: inherit;
}

.ptc-emblem::after {
  inset: -44px;
  border-color: rgba(255, 255, 255, 0.36);
}

.ptc-emblem svg {
  width: 64%;
  height: 64%;
  fill: none;
  stroke: #bb19a9;
  stroke-width: 6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ptc-copy {
  text-shadow: 0 3px 18px var(--ptc-shadow);
}

.ptc-copy p {
  margin: 0 0 8px;
  font-size: clamp(1.1rem, 2.1vw, 1.55rem);
  font-weight: 700;
  line-height: 1.35;
}

.ptc-copy h1 {
  margin: 0;
  max-width: 790px;
  font-size: clamp(2rem, 4.2vw, 3.05rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: 0;
}

.ptc-gold {
  color: var(--ptc-gold);
  white-space: normal;
  overflow-wrap: anywhere;
}

.ptc-typed {
  display: inline;
  vertical-align: baseline;
}

.ptc-typed-text {
  display: inline;
}

.ptc-caret {
  display: inline-block;
  width: 0.08em;
  height: 0.86em;
  transform: translateY(0.08em);
  background: #ffffff;
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.35);
  animation: ptc-caret-blink 780ms steps(1, end) infinite;
}

.ptc-caret:first-child {
  margin-right: 0.17em;
}

.ptc-caret:last-child {
  margin-left: 0.17em;
}

.ptc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 30px;
}

.ptc-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 106px;
  min-height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  transition: transform 180ms ease, filter 180ms ease;
}

.ptc-button:hover,
.ptc-button:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.ptc-button-gold {
  background: var(--ptc-gold);
}

.ptc-button-red {
  background: var(--ptc-red);
}

.ptc-nav {
  position: absolute;
  left: 50%;
  bottom: 35px;
  z-index: 4;
  display: flex;
  gap: 28px;
  transform: translateX(-50%);
}

.ptc-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #ffffff;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.ptc-arrow:hover,
.ptc-arrow:focus-visible {
  color: var(--ptc-gold);
  outline: 0;
}

.ptc-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 4;
  display: flex;
  gap: 9px;
  transform: translateX(-50%);
}

.ptc-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
}

.ptc-dots button.is-active {
  width: 22px;
  border-radius: 999px;
  background: var(--ptc-gold);
}

.ptc-credit {
  position: absolute;
  right: 16px;
  bottom: 12px;
  z-index: 4;
  margin: 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.73rem;
  line-height: 1.2;
  text-align: right;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
}

@keyframes ptc-caret-blink {
  0%,
  49% {
    opacity: 1;
  }

  50%,
  100% {
    opacity: 0;
  }
}

@media (max-width: 760px) {
  .panther-hero-carousel,
  .ptc-content {
    min-height: 650px;
  }

  .ptc-content {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 42px;
    width: min(100% - 34px, 520px);
    padding: 58px 0 92px;
    text-align: center;
  }

  .ptc-emblem {
    width: 142px;
  }

  .ptc-emblem::before {
    inset: -24px;
  }

  .ptc-emblem::after {
    inset: -32px;
  }

  .ptc-actions {
    justify-content: center;
    gap: 14px;
    margin-top: 24px;
  }

  .ptc-button {
    min-width: 128px;
  }

  .ptc-credit {
    left: 16px;
    right: 16px;
    bottom: 10px;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ptc-slide,
  .ptc-button,
  .ptc-caret {
    transition: none;
    animation: none;
  }
}
