/* Landing page: clean layout with a few simple, gentle animations. */

/* ---------- Page background: soft and static (no fixed, blurry blobs) ---------- */
.site-glow,
.site-grid {
  display: none;
}
/* main.css fixes html/body to 100% height, which made this gradient tile in stripes. */
html {
  height: auto;
  min-height: 100%;
}
body {
  height: auto;
  min-height: 100vh;
  background: linear-gradient(180deg, #fff6fa 0%, #fffbfd 40%, #f7fffd 100%);
}
.site-shell::before {
  content: '';
  position: absolute;
  inset: 0 0 auto 0;
  height: 760px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(640px 420px at 10% 22%, rgba(255, 62, 155, .13), transparent 70%),
    radial-gradient(680px 460px at 90% 30%, rgba(102, 208, 188, .2), transparent 70%);
}

/* ---------- Keyframes (kept to a minimum) ---------- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}
@keyframes badgePop {
  0% { transform: scale(.4); }
  60% { transform: scale(1.3); }
  100% { transform: scale(1); }
}
@keyframes skeleton {
  to { background-position: -200% 0; }
}
@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, .5); }
  100% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
}

/* ---------- Buttons ---------- */
.btn {
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: none;
}
.btn--lg {
  padding: 15px 30px;
  font-size: 15px;
}
.btn--added {
  background: linear-gradient(135deg, #22c55e, #66d0bc) !important;
  border-color: transparent !important;
  color: #fff !important;
}
.btn--white {
  background: #fff;
  color: var(--accent);
  border: 1px solid transparent;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .12);
}
.btn--outline-white {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, .8);
}
.btn--outline-white:hover {
  background: rgba(255, 255, 255, .16);
}

/* ---------- Hero ---------- */
.hero2 {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: 64px;
  padding: 44px 0 72px;
}
.hero2__copy > * {
  animation: fadeUp .7s ease both;
}
.hero2__copy > *:nth-child(2) { animation-delay: .08s; }
.hero2__copy > *:nth-child(3) { animation-delay: .16s; }
.hero2__copy > *:nth-child(4) { animation-delay: .24s; }
.hero2__copy > *:nth-child(5) { animation-delay: .32s; }

.pill-live {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent3);
  background: rgba(255, 255, 255, .85);
  border: 1px solid var(--stroke-strong);
  box-shadow: var(--shadow-soft);
}
.pill-live i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulseDot 1.8s ease-out infinite;
}

.hero2 h1 {
  margin: 22px 0 0;
  max-width: 12ch;
  font-size: clamp(2.9rem, 5.2vw, 4.7rem);
  line-height: 1.02;
  letter-spacing: -.045em;
}
.grad-text {
  background: linear-gradient(100deg, var(--accent), #ff7ab8 55%, #c05fd0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero2 .lead {
  margin: 22px 0 0;
  max-width: 46ch;
  font-size: 1.1rem;
}
.hero2__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}
.hstats {
  display: flex;
  gap: 0;
  margin: 44px 0 0;
}
.hstats > div {
  padding: 0 32px;
  border-left: 1px solid var(--stroke-strong);
}
.hstats > div:first-child {
  padding-left: 0;
  border-left: 0;
}
.hstats dt {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -.04em;
  line-height: 1;
}
.hstats dd {
  margin: 6px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

/* Hero visual: one rounded featured image, info card inside, thumbnails below */
.hv {
  position: relative;
  width: min(100%, 480px);
  margin-left: auto;
  animation: fadeUp .8s .1s ease both;
}
/* soft offset tile behind the image for a little depth */
.hv::before {
  content: '';
  position: absolute;
  inset: 18px -16px 62px 18px;
  z-index: -1;
  border-radius: 34px;
  background: linear-gradient(140deg, #ffc9e1, #bdeee4);
}
.hv__frame {
  position: relative;
  aspect-ratio: 1 / 1.02;
  border-radius: 32px;
  overflow: hidden;
  background: linear-gradient(160deg, #ffe3f0, #dff5f1);
  box-shadow: 0 28px 60px rgba(58, 139, 149, .22);
}
.hv__img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .6s ease;
}
.hv__img.is-active {
  opacity: 1;
  z-index: 1;
}
.hv__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.hv__frame:hover .hv__img.is-active img {
  transform: scale(1.04);
}
.hv__tag {
  position: absolute;
  z-index: 3;
  top: 16px;
  left: 16px;
  padding: 7px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .1);
}
.hv__card {
  position: absolute;
  z-index: 3;
  left: 14px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 14px 14px 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 14px 34px rgba(14, 24, 30, .16);
}
.hv__cardText {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.hv__cardText strong {
  font-family: var(--font-display);
  font-size: 1.02rem;
  line-height: 1.25;
  letter-spacing: -.02em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hv__cardText span {
  margin-top: 3px;
  font-weight: 800;
  color: var(--accent);
}
.hv__add {
  flex: none;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff7ab8);
  box-shadow: 0 10px 22px rgba(255, 62, 155, .35);
  transition: transform .2s ease, background .3s ease;
}
.hv__add svg {
  width: 20px;
  height: 20px;
}
.hv__add:hover {
  transform: scale(1.08);
}
.hv__add.is-added {
  background: linear-gradient(135deg, #22c55e, #66d0bc);
}
.hv__thumbs {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 18px;
}
.hv__thumb {
  width: 68px;
  height: 52px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: #fff;
  box-shadow: 0 6px 16px rgba(58, 139, 149, .14);
  opacity: .6;
  transition: transform .2s ease, opacity .2s ease, border-color .2s ease;
}
.hv__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hv__thumb:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.hv__thumb.is-active {
  opacity: 1;
  border-color: var(--accent);
}

/* ---------- Sections ---------- */
.home-section {
  margin-top: 96px;
}
.head-center {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}
.head-center h2 {
  text-wrap: balance;
  margin: 10px 0 0;
  font-size: clamp(1.7rem, 2.8vw, 2.5rem);
  line-height: 1.12;
}
.home-section__more {
  display: flex;
  justify-content: center;
  margin-top: 36px;
}

/* Why cards */
.why-card {
  padding: 30px 28px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid var(--stroke);
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}
.why-card__icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #ff7ab8);
  box-shadow: 0 12px 24px rgba(255, 62, 155, .28);
}
.why-card:nth-child(2) .why-card__icon {
  background: linear-gradient(135deg, var(--accent3), var(--accent2));
  box-shadow: 0 12px 24px rgba(58, 139, 149, .28);
}
.why-card:nth-child(3) .why-card__icon {
  background: linear-gradient(135deg, #a76bf0, #ff7ab8);
  box-shadow: 0 12px 24px rgba(167, 107, 240, .28);
}
.why-card__icon svg {
  width: 26px;
  height: 26px;
}
.why-card h3 {
  margin: 22px 0 0;
  font-size: 1.2rem;
}
.why-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

/* Occasions */
.occasions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.occasion {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, .9);
  background: linear-gradient(135deg, var(--tint), rgba(255, 255, 255, .9));
  box-shadow: var(--shadow-soft);
  transition: transform .25s ease, box-shadow .25s ease;
}
.occasion:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}
.occasion__icon {
  flex: none;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: #fff;
  color: var(--accent3);
  box-shadow: 0 8px 18px rgba(58, 139, 149, .12);
}
.occasion__icon svg {
  width: 26px;
  height: 26px;
}
.occasion__text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.occasion__text strong {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: -.02em;
}
.occasion__text small {
  color: var(--muted);
  font-size: 13px;
}
.occasion__arrow {
  margin-left: auto;
  font-size: 1.3rem;
  color: var(--accent3);
  transition: transform .25s ease;
}
.occasion:hover .occasion__arrow {
  transform: translateX(5px);
}


/* ---------- Promo ribbon: scrolls right to left like an ad banner ---------- */
@keyframes tickerMove {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
.ticker {
  position: relative;
  left: 50%;
  width: 100vw;
  margin: 56px 0 0 -50vw;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(100deg, #ff3e9b 0%, #ff6fb0 45%, #b25fd6 100%);
  box-shadow: 0 18px 44px rgba(255, 62, 155, .25);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: tickerMove 42s linear infinite;
}
.ticker:hover .ticker__track {
  animation-play-state: paused;
}
.ticker__group {
  display: flex;
  flex: none;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ticker__group li {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 20px 20px 0;
  margin-right: 20px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.ticker__group svg {
  flex: none;
  width: 16px;
  height: 16px;
  fill: #ffe9a8;
}
@media (max-width: 640px) {
  .ticker { margin-top: 40px; }
  .ticker__group li { padding-top: 16px; padding-bottom: 16px; font-size: .95rem; }
}
@media (prefers-reduced-motion: reduce) {
  .ticker { overflow-x: auto; }
  .ticker__track { animation: none; }
}

/* Call to action */
.cta-banner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding: 52px 56px;
  border-radius: 32px;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, #ff3e9b 0%, #ff6fb0 50%, #c05fd0 100%);
  box-shadow: 0 30px 70px rgba(255, 62, 155, .28);
}
.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  pointer-events: none;
}
.cta-banner::before { width: 300px; height: 300px; top: -130px; right: 18%; }
.cta-banner::after { width: 200px; height: 200px; bottom: -100px; right: -40px; }
.cta-banner__text {
  position: relative;
  max-width: 560px;
}
.cta-banner h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}
.cta-banner p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, .9);
  font-size: 1.05rem;
}
.cta-banner__actions {
  position: relative;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Loading skeleton ---------- */
.skeleton {
  display: block;
  border-radius: 14px;
  background: linear-gradient(90deg, rgba(58, 139, 149, .08) 25%, rgba(255, 62, 155, .1) 50%, rgba(58, 139, 149, .08) 75%);
  background-size: 200% 100%;
  animation: skeleton 1.4s linear infinite;
}
.home-skeleton__hero {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 48px;
  min-height: 480px;
  align-items: center;
}
.home-skeleton__col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.skeleton--chip { width: 240px; height: 34px; border-radius: 999px; }
.skeleton--title { width: 90%; height: 64px; }
.skeleton--line { width: 80%; height: 16px; }
.skeleton--short { width: 55%; }
.skeleton--btn { width: 160px; height: 52px; border-radius: 999px; margin-top: 8px; }
.home-skeleton__panel { height: 440px; max-width: 400px; border-radius: 200px 200px 32px 32px; justify-self: end; width: 100%; }
.home-skeleton__row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 40px;
}
.skeleton--card { height: 280px; border-radius: 24px; }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero2 {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 24px;
  }
  .hero2 h1 { max-width: none; }
  .hv { margin: 0 auto; }
  .occasions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-skeleton__hero { grid-template-columns: 1fr; }
  .home-skeleton__panel { justify-self: start; height: 320px; }
  .home-skeleton__row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .home-section { margin-top: 64px; }
  .hstats > div { padding: 0 18px; }
  .hv::before { inset: 14px -8px 58px 14px; }
  .occasions { grid-template-columns: 1fr; }
  .cta-banner { padding: 36px 26px; }
}

/* ---------- Respect reduced-motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
