*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --bg: #FF7939;
  --bg-dark: #e65c1a;
  --text: #ffffff;
  --lime: #c8f542;
  --gold: #f5c842;
  --green: #2ecc71;
  --green-dark: #1fa855;
  --shadow: rgba(0, 0, 0, 0.25);
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, sans-serif;
  color: var(--text);
  background-color: #FF7939;
}

.page {
  width: min(100%, 420px);
  margin: 0 auto;
  padding: 3rem 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100vh;
  height: 100dvh;
  overflow-y: auto;
  box-sizing: border-box;
}

.hero__title {
  margin: 0 0 0.5rem;
  font-size: clamp(1.2rem, 3.5vh, 1.5rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
}

.hero__title-line {
  display: block;
}

.hero__title-line--highlight {
  color: var(--lime);
}

.hero__avatar-wrap {
  display: inline-flex;
  padding: 3px;
  margin-bottom: 0.5rem;
  border-radius: 50%;
  background: linear-gradient(145deg, #ffe566, var(--gold), #e8a820);
  box-shadow:
    0 0 18px rgba(245, 200, 66, 0.55),
    0 8px 24px var(--shadow);
}

.hero__avatar {
  display: block;
  width: clamp(70px, 12vh, 110px);
  height: clamp(70px, 12vh, 110px);
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--bg);
}

.hero__subtitle {
  margin: 0 auto;
  max-width: 340px;
  font-size: clamp(0.8rem, 2vh, 0.92rem);
  line-height: 1.45;
  font-weight: 500;
}

.hero__subtitle strong {
  color: var(--lime);
  font-weight: 700;
}

.carousel-section {
  margin-top: 0.5rem;
}

.carousel-section__label {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.35rem 0.9rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.18);
  border-radius: 999px;
}

/* Frame/container that wraps the whole carousel + dots */
.carousel-frame {
  border: #ffe566;
  border-radius: 18px;
  background: rgba(0 0 0 / 35%);
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.18),
    0 6px 24px rgba(0, 0, 0, 0.22);
  padding: 0.5rem 0 0.7rem;
  position: relative;
  overflow: hidden;
}

.carousel {
  position: relative;
  display: grid;
  grid-template-columns: 2.2rem 1fr 2.2rem;
  align-items: center;
  gap: 0;
}

.carousel__viewport {
  position: relative;
  padding: 1rem 0;
  overflow: visible;
  width: 100%;
  grid-column: 1 / -1;
}

.carousel__track {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1px;
  width: 100%;
  height: clamp(160px, 28vh, 260px);
  margin: 0 auto;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.carousel__slide {
  width: 65%;
  margin: 0;
  flex-shrink: 0;
  height: 100%;
  background: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  border-radius: 14px;
  overflow: hidden;
  transform: scale(0.82);
  filter: blur(3px);
  opacity: 0.55;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), filter 0.5s ease, opacity 0.5s ease;
}

.carousel__slide.is-active {
  transform: scale(1);
  filter: blur(0);
  opacity: 1;
  pointer-events: auto;
  z-index: 3;
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.35),
    0 4px 12px rgba(0, 0, 0, 0.2);
}

.carousel__slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.carousel__nav {
  flex-shrink: 0;
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--gold);
  font-size: 1.3rem;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  text-shadow:
    0 0 10px rgba(245, 200, 66, 0.9),
    0 0 22px rgba(245, 200, 66, 0.5);
  transition: transform 0.15s ease, opacity 0.15s ease;
  z-index: 10;
}

.carousel__nav:hover {
  transform: scale(1.12);
}

.carousel__nav:active {
  transform: scale(0.92);
}

/* Bottom bar: prev · dots · next */
.carousel__bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0 0.5rem 0.2rem;
}

.carousel__dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  margin: 0;
  z-index: 2;
  flex: 1;
}

.carousel__dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.carousel__dot.is-active {
  background: var(--gold);
  transform: scale(1.25);
}

.cta {
  margin-top: 0.5rem;
}

.cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 360px;
  padding: 1rem 1.5rem;
  border: none;
  cursor: pointer;
  border-radius: 999px;
  background: linear-gradient(180deg, #3ddc72 0%, var(--green) 45%, var(--green-dark) 100%);
  color: var(--text);
  font-family: inherit;
  font-size: clamp(0.8rem, 2vh, 0.95rem);
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow:
    0 4px 0 #168a44,
    0 12px 28px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.cta__button:hover {
  transform: translateY(-2px);
  box-shadow:
    0 6px 0 #168a44,
    0 16px 32px rgba(0, 0, 0, 0.32);
}

.cta__button:active {
  transform: translateY(2px);
  box-shadow:
    0 2px 0 #168a44,
    0 8px 20px rgba(0, 0, 0, 0.24);
}

.cta__button-text {
  display: inline-block;
  line-height: 1;
}

.cta__icon {
  width: 1.35rem;
  height: 1.35rem;
  fill: currentColor;
  flex-shrink: 0;
  display: inline-block;
}

.cta__proof {
  margin: 1rem 0 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.cta__proof strong {
  color: var(--gold);
  font-weight: 800;
  display: inline-block;
  transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.2s ease;
}

.cta__proof strong.pulse {
  transform: scale(1.25);
  color: var(--lime);
}

@media (min-width: 480px) {
  .page {
    padding: 4.5rem 1.5rem;
  }

  .carousel__track {
    height: clamp(200px, 35vh, 290px);
  }
}