/* MERRYMI EPETY - PREMIUM ANIMATION & GLOW EFFECTS */

.glow-purple {
  box-shadow: 0 0 25px rgba(124, 58, 237, 0.4);
}

.glow-crimson {
  box-shadow: 0 0 25px rgba(236, 72, 153, 0.4);
}

.glow-cyan {
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.4);
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

.animated-glow {
  animation: pulseGlow 3s ease-in-out infinite;
}

.puff-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.76fr) minmax(0, 2.24fr);
  gap: clamp(20px, 3vw, 48px);
  align-items: center;
  max-width: 1440px;
  margin: 18px auto 0;
  padding: 22px clamp(22px, 3vw, 48px);
  border: 1px solid rgba(190, 143, 255, 0.16);
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 50%, rgba(139, 77, 255, 0.2), transparent 40%),
    linear-gradient(110deg, rgba(24, 20, 42, 0.94), rgba(12, 12, 22, 0.96));
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.26), inset 0 1px rgba(255, 255, 255, 0.04);
  overflow: hidden;
}

.puff-showcase::after {
  position: absolute;
  top: -75%;
  right: 18%;
  width: 280px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(184, 70, 210, 0.16);
  filter: blur(55px);
  content: '';
  pointer-events: none;
}

.puff-showcase__intro,
.puff-showcase__rail {
  position: relative;
  z-index: 1;
}

.puff-showcase__intro .eyebrow {
  margin: 0 0 8px;
  color: #c991ff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.puff-showcase__intro h2 {
  max-width: 280px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.08;
}

.puff-showcase__intro > p:last-child {
  max-width: 260px;
  margin: 12px 0 0;
  color: #b8b1c6;
  font-size: 0.88rem;
  line-height: 1.5;
}

.puff-showcase__rail {
  display: grid;
  grid-template-columns: repeat(5, minmax(132px, 1fr));
  gap: 12px;
}

.puff-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 218px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 13px;
  border: 1px solid rgba(229, 215, 255, 0.11);
  border-radius: 18px;
  color: #fff;
  text-decoration: none;
  background: linear-gradient(155deg, rgba(54, 40, 79, 0.72), rgba(19, 18, 31, 0.98));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 10px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  isolation: isolate;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.puff-card::after {
  position: absolute;
  z-index: -1;
  inset: auto -25% -45% 12%;
  height: 50%;
  border-radius: 50%;
  background: rgba(139, 77, 255, 0.3);
  filter: blur(24px);
  content: '';
}

.puff-card__number {
  position: absolute;
  z-index: 2;
  top: 12px;
  left: 12px;
  color: #e7d7ff;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.puff-card img {
  position: absolute;
  z-index: 1;
  top: 22px;
  right: 2px;
  left: 2px;
  width: calc(100% - 4px);
  height: 132px;
  object-fit: contain;
  transition: transform 220ms ease;
}

.puff-card__model,
.puff-card__action {
  position: relative;
  z-index: 2;
}

.puff-card__model {
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
}

.puff-card__action {
  margin-top: 7px;
  color: #c991ff;
  font-size: 0.72rem;
  font-weight: 700;
}

.puff-card:hover,
.puff-card:focus-visible {
  border-color: rgba(198, 128, 255, 0.75);
  box-shadow: 0 14px 32px rgba(93, 43, 156, 0.3), inset 0 1px rgba(255, 255, 255, 0.09);
  outline: none;
  transform: translateY(-5px);
}

.puff-card:hover img,
.puff-card:focus-visible img {
  transform: translateY(-5px) scale(1.05);
}

@media (max-width: 1480px) {
  .puff-showcase {
    margin-right: 30px;
    margin-left: 30px;
  }
}

@media (max-width: 900px) {
  .puff-showcase {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .puff-showcase__intro h2,
  .puff-showcase__intro > p:last-child {
    max-width: none;
  }

  .puff-showcase__rail {
    grid-template-columns: repeat(5, 152px);
    padding-bottom: 5px;
    overflow-x: auto;
    scrollbar-width: thin;
  }
}

@media (max-width: 600px) {
  .puff-showcase {
    margin: 10px 12px 0;
    padding: 19px 16px;
    border-radius: 20px;
  }

  .puff-showcase__intro h2 {
    font-size: 1.42rem;
  }

  .puff-showcase__intro > p:last-child {
    margin-top: 8px;
  }

  .puff-showcase__rail {
    gap: 10px;
    grid-template-columns: repeat(5, 138px);
    margin-right: -4px;
  }

  .puff-card {
    min-height: 202px;
    padding: 12px;
  }

  .puff-card img {
    height: 120px;
  }
}

.card-buy-button {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  padding: 0 14px;
  border: 1px solid rgba(203, 135, 255, 0.72);
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #8d4df5, #b24dcd);
  box-shadow: 0 8px 18px rgba(118, 55, 202, 0.24);
  font-size: 0.69rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.card-buy-button:hover,
.card-buy-button:focus-visible {
  box-shadow: 0 12px 26px rgba(159, 74, 221, 0.38);
  filter: brightness(1.08);
  outline: none;
  transform: translateY(-2px);
}

.guide-page {
  max-width: 1440px;
  margin: 34px auto 72px;
  padding: 0 clamp(20px, 3vw, 48px);
}

.guide-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.55fr);
  gap: clamp(28px, 6vw, 90px);
  min-height: 342px;
  padding: clamp(30px, 5vw, 64px);
  border: 1px solid rgba(196, 147, 255, 0.2);
  border-radius: 30px;
  background:
    radial-gradient(circle at 86% 12%, rgba(169, 75, 238, 0.3), transparent 32%),
    radial-gradient(circle at 4% 94%, rgba(90, 46, 183, 0.2), transparent 36%),
    linear-gradient(132deg, rgba(28, 20, 47, 0.98), rgba(13, 13, 23, 0.98));
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.3), inset 0 1px rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.guide-hero::after {
  position: absolute;
  top: 28px;
  right: -90px;
  width: 275px;
  height: 275px;
  border: 1px solid rgba(211, 163, 255, 0.28);
  border-radius: 50%;
  box-shadow: 0 0 70px rgba(151, 70, 245, 0.35), inset 0 0 42px rgba(159, 81, 241, 0.12);
  content: '';
  pointer-events: none;
}

.guide-hero__copy,
.guide-hero__aside {
  position: relative;
  z-index: 1;
}

.guide-hero h1 {
  max-width: 790px;
  margin: 10px 0 16px;
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.guide-hero .lead {
  max-width: 715px;
  margin: 0;
  color: #beb7cb;
  font-size: clamp(0.95rem, 1.25vw, 1.1rem);
  line-height: 1.65;
}

.guide-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.guide-hero__aside {
  display: grid;
  align-content: center;
  gap: 12px;
}

.guide-hero__aside span {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  min-height: 60px;
  padding: 17px 18px;
  border: 1px solid rgba(214, 184, 255, 0.16);
  border-radius: 16px;
  color: #d2a0ff;
  background: rgba(10, 10, 19, 0.35);
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.guide-hero__aside small {
  color: #b6aec5;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.guide-step {
  position: relative;
  display: flex;
  min-height: 310px;
  flex-direction: column;
  padding: 28px;
  border: 1px solid rgba(210, 186, 250, 0.13);
  border-radius: 22px;
  background: linear-gradient(145deg, rgba(29, 25, 46, 0.96), rgba(16, 15, 27, 0.98));
  overflow: hidden;
}

.guide-step::after {
  position: absolute;
  right: -42px;
  bottom: -55px;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(191, 135, 255, 0.16);
  border-radius: 50%;
  content: '';
}

.guide-step__number {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(196, 127, 255, 0.55);
  border-radius: 50%;
  color: #d19aff;
  background: rgba(126, 55, 203, 0.18);
  font-size: 0.74rem;
  font-weight: 900;
}

.guide-step .eyebrow {
  margin: 0 0 9px;
  font-size: 0.66rem;
}

.guide-step h2 {
  max-width: 280px;
  margin: 0;
  color: #fff;
  font-size: clamp(1.3rem, 1.8vw, 1.7rem);
  line-height: 1.05;
}

.guide-step p:not(.eyebrow) {
  margin: 14px 0 21px;
  color: #b5aeba;
  font-size: 0.91rem;
  line-height: 1.58;
}

.guide-step > a {
  position: relative;
  z-index: 1;
  width: fit-content;
  margin-top: auto;
  color: #ce95ff;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.guide-step > a:hover,
.guide-step > a:focus-visible {
  color: #fff;
  outline: none;
}

.guide-notice {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 18px;
  padding: 19px 24px;
  border: 1px solid rgba(190, 135, 255, 0.24);
  border-radius: 18px;
  background: linear-gradient(100deg, rgba(67, 34, 101, 0.52), rgba(21, 18, 33, 0.95));
}

.guide-notice > b {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(145deg, #a459ff, #6c30c4);
  box-shadow: 0 8px 20px rgba(123, 57, 210, 0.35);
}

.guide-notice strong {
  color: #fff;
  font-size: 0.88rem;
}

.guide-notice p {
  margin: 4px 0 0;
  color: #bbb4c5;
  font-size: 0.82rem;
  line-height: 1.45;
}

.guide-related {
  margin-top: 58px;
}

.guide-related .section-heading {
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(218, 199, 255, 0.12);
}

.guide-related .section-heading h2 {
  margin: 0;
  font-size: clamp(1.75rem, 2.5vw, 2.55rem);
}

@media (max-width: 900px) {
  .guide-hero {
    grid-template-columns: 1fr;
  }

  .guide-hero__aside {
    grid-template-columns: repeat(3, 1fr);
  }

  .guide-hero__aside span {
    min-height: 54px;
    padding: 14px;
  }

  .guide-steps {
    grid-template-columns: 1fr;
  }

  .guide-step {
    min-height: 0;
  }
}

@media (max-width: 600px) {
  .guide-page {
    margin: 18px auto 40px;
    padding: 0 12px;
  }

  .guide-hero {
    padding: 28px 20px;
    border-radius: 22px;
  }

  .guide-hero h1 {
    font-size: 2.28rem;
  }

  .guide-hero__aside {
    gap: 8px;
  }

  .guide-hero__aside span {
    min-height: 50px;
    flex-direction: column;
    justify-content: center;
    gap: 3px;
    padding: 10px;
    font-size: 0.92rem;
  }

  .guide-hero__aside small {
    font-size: 0.55rem;
  }

  .guide-hero__actions .button {
    width: 100%;
  }

  .guide-step {
    padding: 24px 20px;
    border-radius: 18px;
  }

  .guide-notice {
    align-items: flex-start;
    padding: 18px;
  }

  .guide-related {
    margin-top: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
