/* =============================================================================
   HERO PRO — homepage premium split layout
============================================================================= */

.hero-pro {
  position: relative;
  padding-top: 1.25rem;
  padding-bottom: 2.75rem;
}

.hero-pro__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .hero-pro__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem 2.5rem;
    align-items: stretch;
  }

  .hero-pro__visual {
    min-height: 100%;
    height: auto;
    max-width: none;
    margin-left: 0;
  }
}

@media (min-width: 1280px) {
  .hero-pro__grid {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: 2rem 3rem;
  }
}

.hero-pro__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  min-width: 0;
}

.hero-pro__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 1.5rem;
}

/* Anel de raios de luz girando ao redor do badge */
.hero-pro__badge-ray {
  position: relative;
  display: inline-flex;
  border-radius: 9999px;
  padding: 2px;
  overflow: hidden;
  isolation: isolate;
  filter: drop-shadow(0 0 14px hsl(var(--primary) / 0.35));
}

.hero-pro__badge-ray::before {
  content: '';
  position: absolute;
  inset: -40%;
  border-radius: inherit;
  background: conic-gradient(
    from 0deg,
    transparent 0deg,
    hsl(var(--primary) / 0.15) 18deg,
    hsl(var(--primary)) 32deg,
    hsl(var(--primary) / 0.2) 46deg,
    transparent 62deg,
    transparent 118deg,
    hsl(var(--primary) / 0.12) 136deg,
    hsl(var(--primary) / 0.95) 152deg,
    hsl(var(--primary) / 0.18) 168deg,
    transparent 184deg,
    transparent 238deg,
    hsl(var(--primary) / 0.1) 256deg,
    hsl(var(--primary) / 0.85) 272deg,
    hsl(var(--primary) / 0.15) 288deg,
    transparent 304deg,
    transparent 360deg
  );
  animation: hero-ray-spin 5s linear infinite;
  z-index: 0;
}

.hero-pro__badge-ray::after {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  background: radial-gradient(
    ellipse at center,
    hsl(var(--primary) / 0.18) 0%,
    hsl(var(--primary) / 0.08) 42%,
    transparent 72%
  );
  pointer-events: none;
  z-index: 0;
}

@keyframes hero-ray-spin {
  to {
    transform: rotate(360deg);
  }
}

.hero-pro__badge {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.58rem 1.2rem;
  border-radius: 9999px;
  border: 1px solid hsl(var(--primary) / 0.5);
  background: linear-gradient(
    180deg,
    hsl(var(--primary) / 0.16) 0%,
    rgb(var(--background)) 100%
  );
  color: hsl(var(--primary));
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow:
    0 0 0 1px hsl(var(--primary) / 0.12) inset,
    0 0 20px hsl(var(--primary) / 0.22);
}

@media (min-width: 640px) {
  .hero-pro__badge {
    padding: 0.65rem 1.35rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
  }
}

.hero-pro__badge-icon {
  width: 1rem;
  height: 1rem;
  flex-shrink: 0;
  fill: currentColor;
  filter: drop-shadow(0 0 8px hsl(var(--primary) / 0.55));
}

@media (min-width: 640px) {
  .hero-pro__badge-icon {
    width: 1.1rem;
    height: 1.1rem;
  }
}

.hero-pro__title {
  margin: 0 0 1rem;
  max-width: 14ch;
  text-align: left;
}

@media (min-width: 640px) {
  .hero-pro__title {
    max-width: 16ch;
  }
}

.hero-pro__subtitle {
  margin: 0 0 1.75rem;
  max-width: 36rem;
  text-align: left;
}

.hero-pro__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2rem;
}

.hero-pro__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.65rem;
  padding: 0 1.15rem;
  border-radius: 0.75rem;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease,
    background 0.28s ease,
    color 0.28s ease;
}

.hero-pro__btn:hover {
  transform: translateY(-2px);
}

.hero-pro__btn--primary {
  color: hsl(0 0% 100% / 0.98);
  background: linear-gradient(
    135deg,
    hsl(var(--primary)) 0%,
    hsl(var(--primary) / 0.78) 100%
  );
  border: 1px solid hsl(var(--primary) / 0.55);
  box-shadow:
    0 0 0 1px hsl(var(--primary) / 0.12) inset,
    0 10px 28px hsl(var(--primary) / 0.32),
    0 0 24px hsl(var(--primary) / 0.22);
}

.hero-pro__btn--primary:hover {
  box-shadow:
    0 0 0 1px hsl(var(--primary) / 0.18) inset,
    0 14px 34px hsl(var(--primary) / 0.38),
    0 0 32px hsl(var(--primary) / 0.28);
}

.hero-pro__btn--discord {
  color: hsl(0 0% 100% / 0.92);
  background: hsl(0 0% 100% / 0.04);
  border: 1px solid hsl(var(--primary) / 0.35);
  box-shadow:
    0 0 0 1px hsl(0 0% 100% / 0.03) inset,
    0 8px 22px hsl(0 0% 0% / 0.2);
}

.hero-pro__btn--discord:hover {
  border-color: hsl(var(--primary) / 0.55);
  background: hsl(var(--primary) / 0.1);
  box-shadow:
    0 0 0 1px hsl(var(--primary) / 0.1) inset,
    0 0 22px hsl(var(--primary) / 0.18);
  color: hsl(var(--primary));
}

.hero-pro__discord-icon {
  flex-shrink: 0;
}

.hero-pro__stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  width: 100%;
}

@media (min-width: 640px) {
  .hero-pro__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.hero-pro__stat {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 5.5rem;
  padding: 0.85rem 0.9rem;
  border-radius: 0.85rem;
  border: 1px solid hsl(var(--primary) / 0.22);
  background: linear-gradient(
    180deg,
    hsl(0 0% 100% / 0.035) 0%,
    hsl(var(--primary) / 0.05) 100%
  );
  box-shadow:
    0 0 0 1px hsl(0 0% 100% / 0.03) inset,
    0 10px 26px hsl(0 0% 0% / 0.18);
  transition:
    transform 0.28s ease,
    border-color 0.28s ease,
    box-shadow 0.28s ease;
}

.hero-pro__stat:hover {
  transform: translateY(-2px);
  border-color: hsl(var(--primary) / 0.38);
  box-shadow:
    0 0 0 1px hsl(var(--primary) / 0.1) inset,
    0 0 24px hsl(var(--primary) / 0.14);
}

.hero-pro__stat--rating {
  border-color: hsl(var(--primary) / 0.32);
  box-shadow:
    0 0 0 1px hsl(var(--primary) / 0.08) inset,
    0 10px 26px hsl(0 0% 0% / 0.18),
    0 0 22px hsl(var(--primary) / 0.12);
}

.hero-pro__stat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: hsl(var(--primary));
  filter: drop-shadow(0 0 8px hsl(var(--primary) / 0.4));
}

.hero-pro__stat-copy {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}

.hero-pro__stat-copy strong {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: hsl(0 0% 100% / 0.94);
}

.hero-pro__stat-sub {
  font-size: 0.68rem;
  line-height: 1.45;
  color: hsl(0 0% 100% / 0.52);
}

.hero-pro__stars {
  display: inline-flex;
  align-items: center;
  gap: 0.18rem;
}

.hero-pro__star {
  width: 0.82rem;
  height: 0.82rem;
  fill: hsl(var(--primary));
  filter: drop-shadow(0 0 6px hsl(var(--primary) / 0.55));
}

.hero-pro__star--lg {
  width: 1.25rem;
  height: 1.25rem;
}

.hero-pro__stat-icon--filled {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 0 8px hsl(var(--primary) / 0.4));
}

.hero-pro__visual {
  position: relative;
  min-width: 0;
  width: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent;
}

.hero-pro__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-pro__marquee-track {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  width: max-content;
  height: auto;
  padding-inline: 0.25rem;
  animation: hero-marquee-scroll 152s linear infinite;
  will-change: transform;
}

.hero-pro__visual--marquee:hover .hero-pro__marquee-track {
  animation-play-state: paused;
}

@keyframes hero-marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.hero-pro__marquee-item {
  flex: 0 0 auto;
  width: auto;
  height: auto;
  line-height: 0;
  background: rgb(var(--background));
  isolation: isolate;
  border-radius: 1.35rem;
  overflow: hidden;
  pointer-events: auto;
  border: 1px solid hsl(var(--primary) / 0.28);
  box-shadow:
    0 0 0 1px hsl(var(--primary) / 0.08),
    0 0 22px hsl(var(--primary) / 0.12);
  transform: translateY(0) scale(1);
  transition:
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease,
    box-shadow 0.35s ease;
}

.hero-pro__marquee-item:hover {
  transform: translateY(-5px) scale(1.04);
  border-color: hsl(var(--primary) / 0.55);
  box-shadow:
    0 0 0 1px hsl(var(--primary) / 0.2),
    0 10px 28px hsl(0 0% 0% / 0.22),
    0 0 34px hsl(var(--primary) / 0.32);
}

.hero-pro__marquee-item img {
  width: auto;
  height: clamp(18rem, 42vw, 32rem);
  max-height: min(32rem, 72vh);
  object-fit: contain;
  object-position: center;
  display: block;
  pointer-events: none;
  user-select: none;
  mix-blend-mode: lighten;
  border-radius: inherit;
}

@media (max-width: 1023px) {
  .hero-pro__visual {
    max-width: none;
    margin-inline: auto;
  }

  .hero-pro__marquee-item img {
    height: clamp(14rem, 58vw, 26rem);
    max-height: min(26rem, 62vh);
  }
}

@media (max-width: 1023px) {
  .hero-pro__content {
    align-items: center;
    text-align: center;
  }

  .hero-pro__title,
  .hero-pro__subtitle {
    text-align: center;
    max-width: none;
  }

  .hero-pro__badges {
    justify-content: center;
  }

  .hero-pro__actions {
    justify-content: center;
  }

  .hero-pro__stat {
    min-height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-pro__btn,
  .hero-pro__stat {
    transition: none;
  }

  .hero-pro__badge-ray::before,
  .hero-pro__marquee-track {
    animation: none;
  }

  .hero-pro__marquee-item,
  .hero-pro__marquee-item:hover {
    transform: none;
  }
}
