:root {
  --bg: #e9f0ff;
  --surface: rgba(255, 255, 255, 0.84);
  --surface-soft: rgba(223, 232, 255, 0.7);
  --surface-dark: rgba(10, 21, 48, 0.88);
  /* --brand-primary: #7059f6;
  --brand-secondary: #2f73ff; */
  --brand-primary: #44339f;
  --brand-secondary: #8b79d0;
  --brand-accent: #8cd3ff;
  --brand-ink: #11224a;
  --brand-ink-soft: #42557f;
  --brand-line: rgba(98, 126, 225, 0.2);
  --brand-shadow: 0 28px 70px rgba(19, 36, 78, 0.18);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Plus Jakarta Sans", sans-serif;
  color: var(--brand-ink);
  background:
    radial-gradient(circle at top left, rgba(120, 94, 255, 0.22), transparent 30%),
    radial-gradient(circle at bottom right, rgba(25, 118, 255, 0.16), transparent 28%),
    linear-gradient(180deg, #f5f8ff 0%, #e8efff 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.35) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.85), transparent);
  pointer-events: none;
}

.page-shell {
  position: relative;
  max-width: 1440px;
  margin: 0 auto;
  padding: 24px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
  padding: 18px 22px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(235, 242, 255, 0.82)),
    linear-gradient(135deg, rgba(112, 89, 246, 0.06), rgba(47, 115, 255, 0.08));
  box-shadow: var(--brand-shadow);
}

.site-footer p,
.site-footer span,
.site-footer strong {
  margin: 0;
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-footer__badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 16px 28px rgba(47, 115, 255, 0.22);
}

.site-footer__brand p {
  font-weight: 700;
}

.site-footer__brand span,
.site-footer__label {
  /* color: var(--brand-ink-soft); */
  font-size: 0.9rem;
}

.site-footer__credit {
  display: grid;
  justify-items: end;
  gap: 4px;
  text-align: right;
}

.site-footer__credit strong {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
  color: var(--brand-secondary);
}

.top-strip {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 8px;
  padding: 8px;
  border-radius: 20px;
  background:
    linear-gradient(90deg, var(--brand-primary), var(--brand-secondary)),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.14), transparent 32%);
  color: #fff;
  box-shadow: 0 20px 45px rgba(75, 82, 204, 0.3);
}

.top-strip__item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 7px 9px;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.top-strip__item > div {
  min-width: 0;
  flex: 1;
}

.top-strip__item strong,
.top-strip__item span {
  display: block;
}

.top-strip__item strong {
  font-size: 0.8rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-strip__item span {
  margin-top: 2px;
  color: rgba(237, 242, 255, 0.8);
  font-size: 0.64rem;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.top-strip__icon {
  display: grid;
  place-items: center;
  align-self: flex-start;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  box-shadow: 0 10px 22px rgba(14, 28, 60, 0.18);
}

.top-strip__icon svg {
  /* width: 16px;
  height: 16px; */
  display: block;
  padding: 5px;
}

.top-strip__popover {
  display: none;
}

.header-social {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.social-title {
  white-space: nowrap;
  font-size: 0.74rem;
  font-weight: 700;
  color: rgba(245, 248, 255, 0.92);
}

.header-social__links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.header-social a {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease;
}

.header-social a:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.22);
}

.landing {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(340px, 430px);
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

.brand-panel,
.login-panel {
  min-width: 0;
}

.brand-panel {
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(235, 242, 255, 0.84)),
    linear-gradient(135deg, rgba(112, 89, 246, 0.06), rgba(47, 115, 255, 0.08));
  box-shadow: var(--brand-shadow);
  backdrop-filter: blur(18px);
}

.brand-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  max-width: 240px;
}

.brand-mark__logo,
.login-card__logo {
  display: block;
  width: 100%;
  height: auto;
}

.brand-mark__logo {
  max-width: 190px;
}

.text-link {
  color: var(--brand-ink);
  text-decoration: none;
  font-weight: 600;
}

.hero-copy {
  margin-top: 48px;
  max-width: 720px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(112, 89, 246, 0.1);
  color: var(--brand-secondary);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow--compact {
  margin-bottom: 14px;
}

.hero-copy h1,
.login-card h2,
.section-heading h2,
.gallery-feature__text h3,
.gallery-slide__content h3 {
  margin: 14px 0 0;
  font-family: "Rajdhani", sans-serif;
  line-height: 0.95;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 5.6rem);
  max-width: 10ch;
}

.hero-copy p,
.login-copy,
.gallery-feature__text p,
.benefits p,
.gallery-slide__content p {
  color: var(--brand-ink-soft);
  line-height: 1.7;
}

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

.hero-stats article,
.benefits article {
  padding: 18px;
  border: 1px solid var(--brand-line);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.62);
}

.hero-stats strong {
  display: block;
  font-size: 1.8rem;
  font-family: "Rajdhani", sans-serif;
}

.hero-stats span {
  color: var(--brand-ink-soft);
  font-size: 0.92rem;
}

.gallery-panel {
  margin-top: 42px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}

.section-heading span,
.gallery-feature__eyebrow {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand-secondary);
}

.section-heading h2 {
  font-size: clamp(2rem, 4vw, 3.1rem);
  max-width: 11ch;
}

.gallery-slider {
  display: grid;
  gap: 18px;
}

.gallery-stage {
  position: relative;
  min-height: 470px;
  border-radius: 30px;
  overflow: hidden;
  background: linear-gradient(145deg, rgba(13, 28, 61, 0.96), rgba(25, 53, 118, 0.94));
  box-shadow: 0 22px 48px rgba(15, 30, 66, 0.24);
}

.gallery-slides {
  position: relative;
  min-height: inherit;
}

.gallery-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 28px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
  background:
    linear-gradient(180deg, rgba(10, 18, 40, 0.12), rgba(10, 18, 40, 0.84)),
    var(--slide-image) center/cover;
}

.gallery-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-slide__content {
  max-width: 420px;
  color: #fff;
}

.gallery-slide__badge {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-slide__content h3 {
  margin-top: 16px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: #fff;
}

.gallery-slide__content p {
  color: rgba(234, 240, 255, 0.88);
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-size: 1.2rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  cursor: pointer;
  transform: translateY(-50%);
}

.gallery-arrow--prev {
  left: 16px;
}

.gallery-arrow--next {
  right: 16px;
}

.gallery-slider__footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.gallery-feature__text {
  max-width: 560px;
}

.gallery-feature__text h3 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

.gallery-dots {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.gallery-dot {
  width: 12px;
  height: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(47, 115, 255, 0.22);
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.gallery-dot.is-active {
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  transform: scale(1.15);
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.gallery-thumb {
  min-height: 112px;
  border: 0;
  border-radius: 22px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  color: #fff;
  text-align: left;
  background:
    linear-gradient(180deg, rgba(10, 18, 40, 0.06), rgba(10, 18, 40, 0.76)),
    var(--thumb-image) center/cover;
  box-shadow: 0 16px 30px rgba(14, 28, 60, 0.12);
  transition: transform 180ms ease, outline-color 180ms ease;
}

.gallery-thumb span {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 0.88rem;
  font-weight: 700;
}

.gallery-thumb.is-active,
.gallery-thumb:hover,
.gallery-arrow:hover,
.gallery-dot:hover {
  transform: translateY(-2px);
}

.gallery-thumb.is-active {
  outline: 2px solid rgba(140, 211, 255, 0.9);
  outline-offset: 2px;
}

.login-panel {
  display: flex;
}

.login-card {
  width: 100%;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 36px;
  background:
    linear-gradient(180deg, rgba(8, 18, 42, 0.92), rgba(20, 47, 101, 0.92)),
    linear-gradient(160deg, rgba(112, 89, 246, 0.12), rgba(47, 115, 255, 0.14));
  color: #fff;
  box-shadow: var(--brand-shadow);
  position: sticky;
  top: 24px;
}

.celebration-marquee {
  position: relative;
  margin-bottom: 24px;
  padding: 18px;
  border: 1px solid rgba(181, 209, 255, 0.22);
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at top right, rgba(140, 211, 255, 0.26), transparent 38%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.celebration-marquee--nav {
  width: min(100%, 520px);
  margin-bottom: 0;
  min-height: 68px;
  padding: 10px 16px;
  border-color: rgba(130, 167, 255, 0.22);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(230, 239, 255, 0.82)),
    radial-gradient(circle at top right, rgba(140, 211, 255, 0.32), transparent 38%);
  box-shadow:
    0 20px 40px rgba(31, 57, 118, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.celebration-marquee--nav .celebration-marquee__head,
.celebration-marquee--nav .celebration-progress {
  display: none;
}

.celebration-marquee--nav .celebration-pill {
  background: rgba(47, 115, 255, 0.1);
  color: var(--brand-secondary);
}

.celebration-marquee--nav .celebration-marquee__status {
  color: var(--brand-ink-soft);
}

.celebration-marquee--nav .celebration-card {
  inset: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-color: rgba(126, 157, 238, 0.18);
}

.celebration-marquee--nav .celebration-card[data-tone="birthday"],
.celebration-marquee--nav .celebration-card[data-tone="anniversary"],
.celebration-marquee--nav .celebration-card[data-tone="holiday"] {
  box-shadow: none;
}

.celebration-marquee--nav .celebration-track {
  min-height: 46px;
}

.celebration-marquee--nav .celebration-card__icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 14px;
  font-size: 1.1rem;
  box-shadow: 0 10px 22px rgba(34, 82, 202, 0.18);
}

.celebration-marquee--nav .celebration-card > div {
  min-width: 0;
}

.celebration-marquee--nav .celebration-card strong {
  font-size: 1.05rem;
}

.celebration-marquee--nav .celebration-card p {
  margin-top: 2px;
  color: var(--brand-ink-soft);
  font-size: 0.8rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.celebration-marquee--nav .celebration-progress__dot {
  background: rgba(47, 115, 255, 0.18);
}

.celebration-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 8px;
}

.celebration-marquee--nav .celebration-actions {
  justify-content: flex-end;
  margin-top: 2px;
}

.celebration-link,
.celebration-close {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--brand-secondary);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.celebration-link--soft,
.celebration-close {
  color: var(--brand-ink-soft);
}

.celebration-drawer {
  margin-top: 16px;
  padding: 22px;
  border: 1px solid rgba(151, 180, 255, 0.24);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.86), rgba(231, 240, 255, 0.82)),
    radial-gradient(circle at top right, rgba(140, 211, 255, 0.18), transparent 42%);
  box-shadow: 0 16px 36px rgba(22, 43, 92, 0.1);
}

.celebration-drawer__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.section-heading__eyebrow {
  display: inline-block;
  color: var(--brand-secondary);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.celebration-drawer__header h3 {
  margin: 8px 0 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.7rem, 2.8vw, 2.3rem);
  line-height: 0.95;
}

.celebration-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.celebration-list__item {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(123, 156, 243, 0.2);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
}

.celebration-list__head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.celebration-list__avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--brand-primary), var(--brand-secondary));
  color: #fff;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.celebration-list__title {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.3rem;
  line-height: 1;
}

.celebration-list__subtitle,
.celebration-list__item p {
  margin: 4px 0 0;
  color: var(--brand-ink-soft);
  font-size: 0.9rem;
  line-height: 1.55;
}

.celebration-list__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.celebration-list__meta span {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(47, 115, 255, 0.08);
  color: var(--brand-ink);
  font-size: 0.76rem;
  font-weight: 700;
}

.celebration-list__button {
  align-self: flex-start;
  padding: 10px 14px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.celebration-marquee__glow {
  position: absolute;
  top: -42px;
  right: -24px;
  width: 132px;
  height: 132px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(140, 211, 255, 0.26), transparent 68%);
  pointer-events: none;
}

.celebration-marquee__head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.celebration-pill {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.celebration-marquee__status {
  color: rgba(226, 235, 255, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.celebration-track {
  position: relative;
  min-height: 92px;
}

.celebration-card {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateY(18px) scale(0.98);
  pointer-events: none;
  transition: opacity 320ms ease, transform 320ms ease;
  background: rgba(7, 16, 38, 0.28);
}

.celebration-card.is-active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.celebration-card[data-tone="birthday"] {
  box-shadow: inset 0 0 0 1px rgba(255, 189, 106, 0.2);
}

.celebration-card[data-tone="anniversary"] {
  box-shadow: inset 0 0 0 1px rgba(131, 210, 255, 0.2);
}

.celebration-card[data-tone="holiday"] {
  box-shadow: inset 0 0 0 1px rgba(149, 250, 198, 0.18);
}

.celebration-card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
  box-shadow: 0 14px 28px rgba(34, 82, 202, 0.26);
  font-size: 1.35rem;
}

.celebration-card strong {
  display: block;
  font-family: "Rajdhani", sans-serif;
  font-size: 1.32rem;
  line-height: 1;
}

.celebration-card p {
  margin: 8px 0 0;
  color: rgba(232, 240, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.55;
}

.celebration-progress {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

.celebration-progress__dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  transition: transform 180ms ease, background 180ms ease;
}

.celebration-progress__dot.is-active {
  background: var(--brand-accent);
  transform: scale(1.15);
}

.celebration-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 24px;
}

.celebration-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 19, 43, 0.5);
  backdrop-filter: blur(8px);
}

.celebration-postcard {
  position: relative;
  z-index: 1;
  width: min(100%, 820px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 34px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.26), transparent 34%),
    linear-gradient(135deg, rgba(17, 31, 66, 0.98), rgba(35, 88, 178, 0.94));
  color: #fff;
  box-shadow: 0 36px 80px rgba(12, 22, 53, 0.42);
}

.celebration-postcard[data-tone="birthday"] {
  background:
    radial-gradient(circle at top left, rgba(255, 247, 214, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(79, 30, 83, 0.98), rgba(219, 92, 125, 0.94));
}

.celebration-postcard[data-tone="birthday"] .celebration-postcard__avatar {
  background: linear-gradient(135deg, rgba(255, 223, 133, 0.98), rgba(255, 152, 116, 0.88));
}

.celebration-postcard[data-tone="birthday"] .celebration-postcard__message,
.celebration-postcard[data-tone="birthday"] .celebration-postcard__meta article {
  background: rgba(255, 255, 255, 0.1);
}

.celebration-postcard[data-tone="anniversary"] {
  background:
    radial-gradient(circle at top left, rgba(223, 246, 255, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(12, 45, 86, 0.98), rgba(24, 145, 174, 0.94));
}

.celebration-postcard[data-tone="anniversary"] .celebration-postcard__avatar {
  background: linear-gradient(135deg, rgba(170, 243, 255, 0.98), rgba(115, 206, 255, 0.9));
}

.celebration-postcard[data-tone="anniversary"] .celebration-postcard__message,
.celebration-postcard[data-tone="anniversary"] .celebration-postcard__meta article {
  background: rgba(255, 255, 255, 0.09);
}

.celebration-postcard[data-tone="anniversary"] .celebration-cake__base {
  background: linear-gradient(180deg, #8fdcff, #48a7ef);
}

.celebration-postcard[data-tone="anniversary"] .celebration-cake__layer {
  background: linear-gradient(180deg, #dbfbff, #9be7ff);
}

.celebration-postcard[data-tone="anniversary"] .celebration-cake__icing {
  background: #f5feff;
  box-shadow:
    -34px 10px 0 -4px #f5feff,
    -12px 14px 0 -4px #f5feff,
    12px 14px 0 -4px #f5feff,
    34px 10px 0 -4px #f5feff;
}

.celebration-postcard[data-tone="anniversary"] .celebration-cake__candle {
  background: linear-gradient(180deg, #fff3b0, #ffc857);
}

.celebration-postcard[data-tone="anniversary"] .celebration-burst span {
  border-radius: 4px;
}

.celebration-postcard[data-tone="holiday"] {
  background:
    radial-gradient(circle at top left, rgba(255, 244, 190, 0.24), transparent 34%),
    linear-gradient(135deg, rgba(15, 74, 60, 0.98), rgba(48, 158, 107, 0.94));
}

.celebration-postcard[data-tone="holiday"] .celebration-postcard__avatar {
  background: linear-gradient(135deg, rgba(216, 252, 124, 0.95), rgba(129, 233, 184, 0.9));
}

.celebration-postcard[data-tone="holiday"] .celebration-cake__base {
  background: linear-gradient(180deg, #8df7b2, #42c986);
}

.celebration-postcard[data-tone="holiday"] .celebration-cake__layer {
  background: linear-gradient(180deg, #f6ffb7, #cce86a);
}

.celebration-postcard[data-tone="holiday"] .celebration-cake__candle {
  background: linear-gradient(180deg, #ffe28a, #ffb84c);
}

.celebration-postcard[data-tone="holiday"] .celebration-burst span {
  width: 14px;
  border-radius: 999px 999px 4px 4px;
}

.celebration-postcard::before,
.celebration-postcard::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.celebration-postcard::before {
  top: -90px;
  right: -50px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(140, 211, 255, 0.35), transparent 68%);
}

.celebration-postcard::after {
  bottom: -120px;
  left: -60px;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(255, 192, 108, 0.22), transparent 68%);
}

.celebration-postcard__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
}

.celebration-postcard__ribbon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 28px;
  background: rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.celebration-postcard__ribbon span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.celebration-postcard__body {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 20px;
  padding: 26px 24px 24px;
}

.celebration-postcard__hero {
  position: relative;
  min-height: 132px;
  display: grid;
  place-items: center;
  padding: 4px 8px 0;
}

.celebration-burst {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.celebration-burst span {
  position: absolute;
  width: 12px;
  height: 24px;
  border-radius: 999px;
  opacity: 0.9;
  animation: confettiFloat 3.8s ease-in-out infinite;
}

.celebration-burst span:nth-child(1) {
  top: 18px;
  left: 14%;
  background: #ffd166;
  transform: rotate(-18deg);
}

.celebration-burst span:nth-child(2) {
  top: 10px;
  left: 32%;
  height: 18px;
  background: #8cd3ff;
  animation-delay: 0.4s;
}

.celebration-burst span:nth-child(3) {
  top: 28px;
  right: 28%;
  width: 10px;
  background: #ff8fab;
  animation-delay: 0.9s;
}

.celebration-burst span:nth-child(4) {
  top: 16px;
  right: 14%;
  background: #95fac6;
  transform: rotate(16deg);
  animation-delay: 1.2s;
}

.celebration-burst span:nth-child(5) {
  bottom: 16px;
  left: 24%;
  width: 8px;
  height: 16px;
  background: #fff;
  animation-delay: 0.6s;
}

.celebration-burst span:nth-child(6) {
  bottom: 22px;
  right: 22%;
  width: 8px;
  height: 16px;
  background: #b8f2ff;
  animation-delay: 1.5s;
}

.celebration-cake {
  position: relative;
  width: 138px;
  height: 106px;
  display: grid;
  place-items: center;
  filter: drop-shadow(0 20px 28px rgba(7, 16, 40, 0.28));
}

.celebration-cake__plate {
  position: absolute;
  bottom: 8px;
  width: 150px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.26);
}

.celebration-cake__base {
  position: absolute;
  bottom: 24px;
  width: 104px;
  height: 34px;
  border-radius: 0 0 24px 24px;
  background: linear-gradient(180deg, #ff9eb0, #ff6f91);
}

.celebration-cake__layer {
  position: absolute;
  bottom: 54px;
  width: 118px;
  height: 36px;
  border-radius: 24px 24px 18px 18px;
  background: linear-gradient(180deg, #ffd88f, #ffb35c);
}

.celebration-cake__icing {
  position: absolute;
  bottom: 74px;
  width: 124px;
  height: 20px;
  border-radius: 999px;
  background: #fff7ef;
  box-shadow:
    -34px 10px 0 -4px #fff7ef,
    -12px 14px 0 -4px #fff7ef,
    12px 14px 0 -4px #fff7ef,
    34px 10px 0 -4px #fff7ef;
}

.celebration-cake__candle {
  position: absolute;
  bottom: 86px;
  width: 14px;
  height: 36px;
  border-radius: 999px;
  background: linear-gradient(180deg, #8cd3ff, #5f8dff);
}

.celebration-cake__flame {
  position: absolute;
  top: -14px;
  left: 50%;
  width: 16px;
  height: 24px;
  margin-left: -8px;
  border-radius: 70% 70% 70% 70% / 80% 80% 50% 50%;
  background: radial-gradient(circle at 50% 30%, #fff8b0 0 28%, #ffbe3d 45%, #ff7a18 76%);
  animation: flameFlicker 1.1s ease-in-out infinite;
}

.celebration-cake__spark {
  position: absolute;
  top: 20px;
  width: 64px;
  height: 64px;
  border: 2px dashed rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  animation: haloSpin 7s linear infinite;
}

.celebration-cake__spark--left {
  left: 6px;
}

.celebration-cake__spark--right {
  right: 6px;
  animation-direction: reverse;
}

.celebration-postcard__seal {
  position: absolute;
  top: 4px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  font-size: 1.45rem;
  backdrop-filter: blur(10px);
}

.celebration-postcard__profile {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.celebration-postcard__avatar {
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(255, 198, 123, 0.9), rgba(255, 115, 151, 0.82));
  color: #16264d;
  font-family: "Rajdhani", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  box-shadow: 0 20px 40px rgba(5, 10, 28, 0.24);
}

.celebration-postcard__profile h3 {
  margin: 6px 0 0;
  font-family: "Rajdhani", sans-serif;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 0.94;
}

.celebration-postcard__profile p {
  margin: 6px 0 0;
  color: rgba(230, 239, 255, 0.84);
  font-size: 0.94rem;
}

.celebration-postcard__message {
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.celebration-postcard__message p {
  margin: 0;
  color: rgba(244, 247, 255, 0.92);
  font-size: 0.95rem;
  line-height: 1.65;
}

.celebration-postcard__meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.celebration-postcard__meta article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.celebration-postcard__meta span {
  display: block;
  color: rgba(230, 239, 255, 0.74);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.celebration-postcard__meta strong {
  display: block;
  margin-top: 8px;
  font-size: 1rem;
}

.celebration-postcard__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.celebration-postcard__footer p {
  margin: 0;
  color: rgba(230, 239, 255, 0.84);
}

.celebration-postcard__button {
  width: auto;
  min-width: 150px;
}

@keyframes confettiFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
    opacity: 0.78;
  }

  50% {
    transform: translateY(-16px) rotate(18deg);
    opacity: 1;
  }
}

@keyframes flameFlicker {
  0%,
  100% {
    transform: scale(1) translateY(0);
  }

  50% {
    transform: scale(1.08, 0.92) translateY(-2px);
  }
}

@keyframes haloSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.login-card__logo {
  max-width: 180px;
  margin-bottom: 18px;
  filter: brightness(1.3);
}

.login-card h2 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
}

.login-copy {
  color: rgba(232, 240, 255, 0.8);
}

.login-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.login-form label {
  display: grid;
  gap: 9px;
  font-size: 0.94rem;
  font-weight: 600;
}

.login-form input , .login-form select {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid rgba(192, 213, 255, 0.18);
  border-radius: 18px;
  font: inherit;
  color: #fff;
  background: rgba(255, 255, 255, 0.09);
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.login-form input::placeholder ,.login-form select::placeholder {
  color: rgba(226, 235, 255, 0.48);
}

.login-form input:focus ,.login-form select:focus {
  border-color: rgba(140, 211, 255, 0.9);
  background: rgba(255, 255, 255, 0.14);
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkbox input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.text-link {
  color: var(--brand-accent);
}

.primary-btn,
.secondary-btn {
  width: 100%;
  padding: 15px 18px;
  border: 0;
  border-radius: 18px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: transform 180ms ease, opacity 180ms ease;
}

.primary-btn {
  color: #fff;
  background: linear-gradient(90deg, var(--brand-primary), var(--brand-secondary));
}

.secondary-btn {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.benefits {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.benefits strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}

@media (max-width: 1140px) {
  .landing {
    grid-template-columns: 1fr;
  }

  .login-card {
    position: static;
  }
}

@media (max-width: 820px) {
  .page-shell {
    padding: 18px;
  }

  .top-strip {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 10px;
    border-radius: 20px;
  }

  .brand-panel,
  .login-card {
    padding: 24px;
    border-radius: 28px;
  }

  .brand-nav {
    align-items: stretch;
    min-height: 0;
  }

  .celebration-marquee--nav {
    width: 100%;
    min-height: 76px;
  }

  .celebration-marquee__head {
    align-items: flex-start;
  }

  .celebration-list {
    grid-template-columns: 1fr;
  }

  .celebration-postcard__profile,
  .celebration-postcard__meta {
    grid-template-columns: 1fr;
  }

  .celebration-postcard__footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .brand-nav,
  .section-heading,
  .gallery-slider__footer,
  .form-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-copy {
    margin-top: 30px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.6rem, 12vw, 4.4rem);
  }

  .hero-stats,
  .gallery-thumbs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-stage {
    min-height: 400px;
  }

  .gallery-slide {
    padding: 22px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    padding: 14px;
  }

  .top-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 16px;
    flex-wrap: wrap;
  }

  .top-strip__item {
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 14px;
  }

  .top-strip__icon {
    width: 100%;
    height: 100%;
    flex-basis: 100%;
    border-radius: 14px;
    background: transparent;
    box-shadow: none;
  }

  .top-strip__icon svg {
    display: block;
    padding: 5px;
  }

  .top-strip__item > div {
    display: none;
  }

  .top-strip__popover {
    position: absolute;
    left: 10px;
    right: 10px;
    top: calc(100% + 8px);
    z-index: 5;
    display: grid;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: linear-gradient(180deg, rgba(48, 74, 165, 0.96), rgba(25, 46, 112, 0.96));
    box-shadow: 0 16px 28px rgba(11, 23, 57, 0.28);
  }

  .top-strip__popover strong,
  .top-strip__popover span {
    display: block;
  }

  .top-strip__popover strong {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .top-strip__popover span {
    color: rgba(237, 242, 255, 0.82);
    font-size: 0.66rem;
    line-height: 1.3;
  }

  .header-social {
    width: 100%;
    justify-content: center;
    gap: 8px;
    padding: 6px 8px;
    border-radius: 14px;
  }

  .social-title {
    display: none;
  }

  .header-social__links {
    width: 100%;
    justify-content: center;
    gap: 8px;
  }

  .header-social a {
    width: 28px;
    height: 28px;
    border-radius: 9px;
    font-size: 0.82rem;
  }

  .brand-panel,
  .login-card {
    padding: 18px;
    border-radius: 24px;
  }

  .celebration-marquee {
    padding: 16px;
    border-radius: 20px;
  }

  .celebration-track {
    min-height: 118px;
  }

  .celebration-card {
    grid-template-columns: 1fr;
  }

  .celebration-card__icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .brand-mark__logo,
  .login-card__logo {
    max-width: 150px;
  }

  .brand-nav {
    gap: 16px;
  }

  .celebration-marquee--nav .celebration-track {
    min-height: 56px;
  }

  .celebration-marquee--nav .celebration-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .celebration-marquee--nav .celebration-card {
    gap: 10px;
  }

  .celebration-marquee--nav .celebration-card p {
    white-space: normal;
  }

  .celebration-drawer,
  .celebration-postcard__body,
  .celebration-postcard__ribbon {
    padding-left: 18px;
    padding-right: 18px;
  }

  .celebration-modal {
    padding: 14px 10px;
    align-items: center;
    overflow-y: auto;
  }

  .celebration-postcard {
    width: 100%;
    max-height: calc(100vh - 28px);
    border-radius: 24px;
    box-shadow: 0 28px 60px rgba(7, 16, 40, 0.38);
  }

  .celebration-postcard__profile {
    gap: 10px;
    justify-items: center;
    text-align: center;
  }

  .celebration-postcard__avatar {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    font-size: 1.65rem;
  }

  .celebration-postcard__close {
    top: 12px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 1.25rem;
  }

  .celebration-postcard__ribbon {
    display: grid;
    justify-items: start;
    gap: 10px;
    padding-top: 18px;
    padding-bottom: 16px;
  }

  .celebration-postcard__ribbon strong {
    max-width: calc(100% - 40px);
    font-size: 0.96rem;
    line-height: 1.4;
  }

  .celebration-postcard__body {
    gap: 12px;
    padding-top: 16px;
    padding-bottom: 16px;
    overflow: visible;
  }

  .celebration-postcard__hero {
    min-height: 84px;
    padding-top: 0;
  }

  .celebration-cake {
    width: 92px;
    height: 72px;
    filter: drop-shadow(0 14px 18px rgba(7, 16, 40, 0.24));
  }

  .celebration-cake__plate {
    bottom: 4px;
    width: 84px;
    height: 10px;
  }

  .celebration-cake__base {
    bottom: 14px;
    width: 58px;
    height: 20px;
    border-radius: 0 0 14px 14px;
  }

  .celebration-cake__layer {
    bottom: 31px;
    width: 66px;
    height: 21px;
    border-radius: 14px 14px 12px 12px;
  }

  .celebration-cake__icing {
    bottom: 43px;
    width: 70px;
    height: 12px;
    box-shadow:
      -18px 6px 0 -3px #fff7ef,
      -6px 8px 0 -3px #fff7ef,
      6px 8px 0 -3px #fff7ef,
      18px 6px 0 -3px #fff7ef;
  }

  .celebration-cake__candle {
    bottom: 50px;
    width: 8px;
    height: 18px;
  }

  .celebration-cake__flame {
    top: -8px;
    width: 10px;
    height: 14px;
    margin-left: -5px;
  }

  .celebration-cake__spark {
    top: 10px;
    width: 34px;
    height: 34px;
    border-width: 1px;
  }

  .celebration-postcard__seal {
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    border-radius: 14px;
    font-size: 1.15rem;
  }

  .celebration-postcard__profile h3 {
    margin-top: 4px;
    font-size: clamp(1.45rem, 8vw, 2rem);
    line-height: 0.98;
  }

  .celebration-postcard__profile p {
    margin-top: 4px;
    font-size: 0.82rem;
  }

  .celebration-postcard__message {
    padding: 12px 14px;
    border-radius: 18px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  }

  .celebration-postcard__message p {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .celebration-postcard__meta {
    gap: 8px;
  }

  .celebration-postcard__meta article {
    padding: 10px 12px;
    border-radius: 16px;
  }

  .celebration-postcard__meta strong {
    margin-top: 5px;
    font-size: 0.82rem;
    line-height: 1.35;
  }

  .celebration-postcard__footer {
    gap: 10px;
    padding-top: 0;
  }

  .celebration-postcard__footer p {
    font-size: 0.78rem;
    line-height: 1.45;
  }

  .celebration-postcard__button {
    width: 100%;
    min-width: 0;
    padding: 12px 14px;
    border-radius: 14px;
    font-size: 0.9rem;
  }

  .hero-stats,
  .gallery-thumbs {
    grid-template-columns: 1fr;
  }

  .gallery-stage {
    min-height: 340px;
  }

  .gallery-arrow {
    width: 40px;
    height: 40px;
  }

  .gallery-slide {
    padding: 18px;
  }

  .gallery-slide__content h3,
  .gallery-feature__text h3 {
    font-size: clamp(1.7rem, 8vw, 2.2rem);
  }

  .gallery-slide__content p,
  .gallery-feature__text p,
  .login-copy,
  .hero-copy p {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .gallery-dots {
    gap: 8px;
  }

  .form-row {
    width: 100%;
  }

  .text-link {
    align-self: flex-start;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .site-footer__credit {
    justify-items: start;
    text-align: left;
  }
}
