*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e8e8f0;
  --text-muted: #8888a0;
  --accent: #c084fc;
  --accent-glow: rgba(192, 132, 252, 0.25);
  --patreon: #ff424d;
  --radius: 12px;
  --font: "Outfit", system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
}

.bg-glow--1 {
  width: 500px;
  height: 500px;
  background: rgba(192, 132, 252, 0.12);
  top: -150px;
  left: -100px;
}

.bg-glow--2 {
  width: 400px;
  height: 400px;
  background: rgba(255, 66, 77, 0.08);
  bottom: 100px;
  right: -100px;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 5rem 1.5rem 3rem;
  max-width: 720px;
  margin: 0 auto;
}

.hero__title {
  /* styled in variable-proximity.css */
}

.hero__tagline {
  font-size: 1.05rem;
  color: var(--text-muted);
  font-weight: 300;
  max-width: 540px;
  margin: 0 auto;
}

.hero__tagline strong {
  color: var(--text);
  font-weight: 600;
}

/* Gallery sections */
main {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
}

.gallery-section {
  margin-bottom: 4rem;
}

.section-header {
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.section-price {
  margin-top: 0.75rem;
}

.section-price .price-display {
  justify-content: flex-start;
  margin: 0;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

/* Gallery items */
.gallery-item {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--border);
  background: var(--surface);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.gallery-item:hover,
.gallery-item:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px var(--accent-glow);
  border-color: rgba(192, 132, 252, 0.3);
  outline: none;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #1a1a28, #0f0f18);
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
  padding: 1rem;
}

/* Censored NSFW items */
.gallery-item--censored img {
  filter: blur(24px) brightness(0.5);
  transform: scale(1.1);
}

.gallery-item__lock {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(0, 0, 0, 0.35);
}

.gallery-item__lock-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lock-icon {
  width: 2rem;
  height: 2rem;
  fill: rgba(255, 255, 255, 0.9);
}

.lock-icon--modal {
  width: 2.75rem;
  height: 2.75rem;
  fill: var(--accent);
}

.modal__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.gallery-item__lock-text {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.lightbox[hidden] {
  display: none;
}

.lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.15s;
  line-height: 1;
}

.lightbox__close:hover {
  opacity: 1;
}

.lightbox__img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius);
}

/* Paywall modal */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.modal__content {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 2.5rem 2rem;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.modal__title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.modal__text {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.75rem;
}

.modal__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: opacity 0.15s, transform 0.15s;
}

.btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--patreon);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border);
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 3rem 1.5rem;
  border-top: 1px solid var(--border);
}

.footer__label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.footer__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: border-color 0.15s, background 0.15s;
}

.footer__link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer__link:hover {
  border-color: rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.04);
}

.footer__link--patreon:hover {
  border-color: var(--patreon);
  color: var(--patreon);
}

.footer__copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}

@media (max-width: 480px) {
  .hero {
    padding-top: 3.5rem;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* ===== Animated accordion gallery ===== */
.gallery.gallery--accordion {
  display: flex;
  gap: 10px;
  min-height: 460px;
  perspective: 1400px;
}

.gallery--accordion .gallery-item {
  flex: 1 1 0;
  min-width: 0;
  height: 460px;
  transform-origin: center;
  transition:
    flex-grow 0.62s cubic-bezier(.22, 1, .36, 1),
    transform 0.62s cubic-bezier(.22, 1, .36, 1),
    filter 0.62s ease,
    opacity 0.62s ease;
  filter: grayscale(0.85) brightness(0.66);
  opacity: 0.82;
  will-change: flex-grow, transform, filter;
}

.gallery--accordion .gallery-item.is-active {
  flex-grow: 5.4;
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: rotateY(0deg) translateY(-4px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.42);
}

.gallery--accordion .gallery-item:not(.is-active):nth-child(odd) {
  transform: rotateY(5deg);
}

.gallery--accordion .gallery-item:not(.is-active):nth-child(even) {
  transform: rotateY(-5deg);
}

.gallery--accordion .gallery-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.75s cubic-bezier(.22, 1, .36, 1);
}

.gallery--accordion .gallery-item.is-active img {
  transform: scale(1.035);
}

/* Scroll reveal */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px) scale(0.985);
  transition:
    opacity 0.75s ease,
    transform 0.75s cubic-bezier(.22, 1, .36, 1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.gallery-item.reveal-on-scroll {
  transition-delay: var(--reveal-delay, 0ms);
}

/* Subscription title */
.subscription-name {
  margin: 0 0 0.45rem;
  font-size: clamp(1rem, 2vw, 1.3rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
}

.section-price {
  margin-top: 1.2rem;
}

.price-display {
  animation: priceGlow 3.2s ease-in-out infinite;
}

@keyframes priceGlow {
  0%, 100% { filter: drop-shadow(0 0 0 rgba(255, 66, 77, 0)); }
  50% { filter: drop-shadow(0 0 16px rgba(255, 66, 77, 0.34)); }
}

.modal:not([hidden]) .modal__content {
  animation: modalPop 0.38s cubic-bezier(.22, 1, .36, 1) both;
}

@keyframes modalPop {
  from { opacity: 0; transform: translateY(20px) scale(0.94); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 720px) {
  .gallery.gallery--accordion {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-height: 0;
  }

  .gallery--accordion .gallery-item,
  .gallery--accordion .gallery-item.is-active,
  .gallery--accordion .gallery-item:not(.is-active):nth-child(n) {
    height: auto;
    min-height: 220px;
    transform: none;
    filter: none;
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .gallery--accordion .gallery-item,
  .gallery--accordion .gallery-item img,
  .price-display,
  .modal:not([hidden]) .modal__content {
    animation: none !important;
    transition: none !important;
  }
}


/* ===== Membership plans ===== */
.memberships-section {
  margin: 1rem 0 5rem;
}

.memberships-section__header {
  text-align: center;
  max-width: 650px;
  margin: 0 auto 1.75rem;
}

.memberships-section__eyebrow {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 0.35rem;
}

.memberships-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.membership-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 310px;
  padding: 1.45rem;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.012)),
    var(--surface);
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  transition:
    transform .55s cubic-bezier(.22,1,.36,1),
    border-color .55s ease,
    box-shadow .55s ease;
}

.membership-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(circle at 50% 0%, rgba(192,132,252,.17), transparent 58%);
  transition: opacity .55s ease;
}

.membership-card:hover {
  transform: translateY(-7px);
  border-color: rgba(192,132,252,.3);
  box-shadow: 0 24px 65px rgba(0,0,0,.32);
}

.membership-card:hover::before { opacity: 1; }

.membership-card--featured {
  border-color: rgba(255,66,77,.43);
  box-shadow: 0 22px 58px rgba(255,66,77,.10);
}

.membership-card--featured::after {
  content: "Most popular";
  position: absolute;
  top: 14px;
  right: -31px;
  width: 118px;
  padding: .25rem 0;
  transform: rotate(38deg);
  background: var(--patreon);
  color: white;
  font-size: .65rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: .04em;
}

.membership-card__status {
  align-self: flex-start;
  position: relative;
  z-index: 1;
  padding: .3rem .62rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--text-muted);
  font-size: .72rem;
  font-weight: 600;
}

.membership-card--featured .membership-card__status {
  background: rgba(255,66,77,.13);
  color: #ff8790;
}

.membership-card__title {
  position: relative;
  z-index: 1;
  margin-top: 1.1rem;
  font-size: 1.1rem;
  line-height: 1.25;
}

.membership-card__price {
  position: relative;
  z-index: 1;
  min-height: 58px;
  display: flex;
  align-items: center;
  margin: .75rem 0 .8rem;
  color: white;
  font-size: 2rem;
  font-weight: 800;
}

.membership-card__price--free { color: #b9fbc0; }

.price-display--membership {
  justify-content: flex-start;
  margin: 0;
}

.membership-card__description {
  position: relative;
  z-index: 1;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.55;
  margin-bottom: 1.3rem;
}

.membership-card__action {
  position: relative;
  z-index: 1;
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  padding: .68rem .8rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 600;
  transition: background .3s ease, border-color .3s ease, transform .3s ease;
}

.membership-card__action:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.055);
}

.membership-card--featured .membership-card__action {
  color: white;
  border-color: transparent;
  background: var(--patreon);
}

.membership-card__action--disabled {
  opacity: .42;
  cursor: not-allowed;
  pointer-events: none;
}

/* Smoother accordion motion */
.gallery.gallery--accordion {
  overflow: visible;
}

.gallery--accordion .gallery-item {
  flex-basis: 0;
  transition:
    flex-grow .82s cubic-bezier(.16,1,.3,1),
    transform .82s cubic-bezier(.16,1,.3,1),
    filter .7s cubic-bezier(.16,1,.3,1),
    opacity .7s ease,
    box-shadow .7s ease,
    border-color .7s ease;
  backface-visibility: hidden;
}

.gallery--accordion .gallery-item img {
  transform: scale(1.08);
  transition: transform 1.05s cubic-bezier(.16,1,.3,1), filter .8s ease;
  will-change: transform;
}

.gallery--accordion .gallery-item.is-active img {
  transform: scale(1.015);
}

/* Keep the restored social contact logos prominent */
.footer__links {
  margin-top: .2rem;
}

.footer__link {
  min-width: 112px;
  justify-content: center;
  transition:
    transform .35s cubic-bezier(.22,1,.36,1),
    border-color .3s ease,
    background .3s ease,
    color .3s ease;
}

.footer__link:hover { transform: translateY(-3px); }

@media (max-width: 980px) {
  .memberships-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .memberships-grid { grid-template-columns: 1fr; }
  .membership-card { min-height: 270px; }
}

/* ===== Final accordion gallery ===== */
.gallery.gallery--accordion {
  --accordion-gap: 10px;
  display: flex;
  width: 100%;
  min-height: 480px;
  gap: var(--accordion-gap);
  perspective: 1400px;
  overflow: visible;
}

.gallery--accordion .gallery-item {
  position: relative;
  flex: 1 1 0;
  width: 0;
  min-width: 0;
  height: 480px;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: 16px;
  transform-style: preserve-3d;
  transform-origin: center;
  filter: grayscale(.92) brightness(.58);
  opacity: .78;
  transition:
    flex-grow .72s cubic-bezier(.16,1,.3,1),
    width .72s cubic-bezier(.16,1,.3,1),
    transform .72s cubic-bezier(.16,1,.3,1),
    filter .72s cubic-bezier(.16,1,.3,1),
    opacity .72s ease,
    box-shadow .72s ease,
    border-color .72s ease;
  will-change: flex-grow, transform, filter;
}

.gallery--accordion .gallery-item::after {
  content: attr(data-label);
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 3;
  color: #fff;
  font-size: clamp(.85rem, 1.3vw, 1.15rem);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  opacity: 0;
  transform: translateX(-14px);
  text-shadow: 0 2px 14px rgba(0,0,0,.7);
  transition:
    opacity .4s ease .08s,
    transform .55s cubic-bezier(.16,1,.3,1) .08s;
}

.gallery--accordion .gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, transparent 46%, rgba(6,0,16,.8) 100%),
    rgba(6,0,16,.28);
  transition: background .72s ease;
}

.gallery--accordion .gallery-item.is-active {
  flex-grow: 7;
  filter: grayscale(0) brightness(1);
  opacity: 1;
  transform: rotateY(0) translateY(-4px);
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 24px 65px rgba(0,0,0,.48);
}

.gallery--accordion .gallery-item.is-active::before {
  background: linear-gradient(180deg, transparent 55%, rgba(6,0,16,.72) 100%);
}

.gallery--accordion .gallery-item.is-active::after {
  opacity: 1;
  transform: translateX(0);
}

.gallery--accordion .gallery-item:not(.is-active):nth-child(odd) { transform: rotateY(5deg); }
.gallery--accordion .gallery-item:not(.is-active):nth-child(even) { transform: rotateY(-5deg); }

.gallery--accordion .gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.12);
  transition:
    transform .95s cubic-bezier(.16,1,.3,1),
    filter .72s ease;
  will-change: transform;
}

.gallery--accordion .gallery-item.is-active img { transform: scale(1.025); }
.gallery--accordion .gallery-item--censored img { filter: blur(22px) brightness(.52); }
.gallery--accordion .gallery-item--censored.is-active img { transform: scale(1.09); }
.gallery--accordion .gallery-item__lock { z-index: 4; }

/* ===== Three membership cards ===== */
.memberships-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.membership-card {
  min-height: 470px;
}

.membership-card__benefits {
  position: relative;
  z-index: 1;
  display: grid;
  gap: .66rem;
  margin: .2rem 0 1.4rem;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  font-size: .9rem;
  line-height: 1.45;
}

.membership-card__benefits li {
  position: relative;
  padding-left: 1.35rem;
}

.membership-card__benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #8ee6b0;
  font-weight: 800;
}

.membership-card--featured .membership-card__benefits li::before {
  color: #72b7ff;
}

.membership-card__empty {
  flex: 1;
  min-height: 220px;
}

.membership-card__price .price-display {
  animation: priceGlow 3.2s ease-in-out infinite;
}

@media (max-width: 860px) {
  .gallery.gallery--accordion {
    min-height: 420px;
  }

  .gallery--accordion .gallery-item {
    height: 420px;
  }

  .memberships-grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }

  .membership-card { min-height: auto; }
  .membership-card__empty { min-height: 110px; }
}

@media (max-width: 620px) {
  .gallery.gallery--accordion {
    display: flex;
    flex-direction: column;
    min-height: 0;
    height: auto;
  }

  .gallery--accordion .gallery-item,
  .gallery--accordion .gallery-item.is-active,
  .gallery--accordion .gallery-item:not(.is-active):nth-child(n) {
    flex: none;
    width: 100%;
    height: 88px;
    min-height: 88px;
    transform: none;
    filter: grayscale(.82) brightness(.62);
    opacity: .82;
    transition:
      height .7s cubic-bezier(.16,1,.3,1),
      filter .7s ease,
      opacity .7s ease;
  }

  .gallery--accordion .gallery-item.is-active {
    height: min(72vh, 520px);
    filter: none;
    opacity: 1;
  }
}

/* ===== Refined two-tier memberships ===== */
.memberships-section {
  position: relative;
  margin: 2.5rem auto 6rem;
  padding: 3.2rem 0 1rem;
}

.memberships-section::before {
  content: "";
  position: absolute;
  inset: 0 50% auto;
  width: min(760px, 90vw);
  height: 280px;
  transform: translateX(-50%);
  pointer-events: none;
  background: radial-gradient(circle, rgba(107, 92, 255, .12), transparent 68%);
  filter: blur(8px);
}

.memberships-section__header {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin-bottom: 2.4rem;
}

.memberships-section__header .section-title {
  margin-top: .35rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -.04em;
}

.memberships-section__header .section-desc {
  max-width: 540px;
  margin: .8rem auto 0;
  font-size: 1rem;
}

.memberships-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
  align-items: stretch;
}

.membership-card {
  min-height: 560px;
  padding: 2rem;
  border-radius: 26px;
  border: 1px solid rgba(255,255,255,.09);
  background:
    radial-gradient(circle at 15% 0%, rgba(255,255,255,.075), transparent 35%),
    linear-gradient(160deg, rgba(20,18,34,.98), rgba(10,9,18,.98));
  box-shadow: 0 28px 80px rgba(0,0,0,.3);
}

.membership-card::before {
  opacity: 1;
  background: linear-gradient(135deg, rgba(255,255,255,.055), transparent 42%);
}

.membership-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,255,255,.17);
  box-shadow: 0 35px 95px rgba(0,0,0,.42);
}

.membership-card--featured {
  border-color: rgba(124, 58, 237, .58);
  background:
    radial-gradient(circle at 100% 0%, rgba(91,33,182,.28), transparent 42%),
    radial-gradient(circle at 0% 100%, rgba(76,29,149,.17), transparent 46%),
    linear-gradient(160deg, rgba(25,18,43,.99), rgba(10,8,18,.99));
  box-shadow: 0 30px 90px rgba(76,29,149,.2), 0 24px 60px rgba(0,0,0,.38);
}

.membership-card--featured::after {
  content: "MOST RECOMMENDED";
  top: 1.25rem;
  right: 1.25rem;
  width: auto;
  padding: .42rem .72rem;
  transform: none;
  border-radius: 999px;
  font-size: .62rem;
  letter-spacing: .09em;
  box-shadow: 0 8px 24px rgba(76,29,149,.34);
}

.membership-card__status {
  padding: .42rem .72rem;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.045);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .09em;
}

.membership-card--featured .membership-card__status {
  background: rgba(91,33,182,.16);
  border-color: rgba(124,58,237,.3);
}

.membership-card__title {
  margin-top: 1.7rem;
  padding-right: 6.5rem;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  letter-spacing: -.025em;
}

.membership-card:first-child .membership-card__title {
  padding-right: 0;
}

.membership-card__price {
  min-height: 72px;
  margin: 1rem 0 1.2rem;
  font-size: 2.65rem;
  letter-spacing: -.04em;
}

.membership-card__price--free {
  color: #fff;
}

.price-display--membership {
  width: 100%;
}

.membership-card__benefits {
  gap: .9rem;
  margin: .4rem 0 2rem;
  font-size: .94rem;
  line-height: 1.5;
}

.membership-card__benefits li {
  min-height: 1.45rem;
  padding-left: 1.8rem;
  color: rgba(242,240,248,.76);
}

.membership-card__benefits li::before {
  content: "✓";
  display: grid;
  place-items: center;
  width: 1.15rem;
  height: 1.15rem;
  top: .08rem;
  border-radius: 50%;
  background: rgba(105, 226, 160, .12);
  color: #8ee6b0;
  font-size: .72rem;
}

.membership-card--featured .membership-card__benefits li::before {
  background: rgba(114,183,255,.13);
  color: #8ac6ff;
}

.membership-card__action {
  min-height: 52px;
  border-radius: 14px;
  border-color: rgba(255,255,255,.12);
  background: rgba(255,255,255,.035);
  font-size: .92rem;
  font-weight: 700;
}

.membership-card__action:hover {
  background: rgba(255,255,255,.075);
}

.membership-card--featured .membership-card__action {
  background: linear-gradient(135deg, #4c1d95, #6d28d9);
  box-shadow: 0 14px 34px rgba(76,29,149,.34);
}

.membership-card--featured .membership-card__action:hover {
  background: linear-gradient(135deg, #5b21b6, #7c3aed);
}

@media (max-width: 860px) {
  .memberships-section { padding-top: 2rem; }
  .memberships-grid {
    grid-template-columns: 1fr;
    max-width: 650px;
  }
  .membership-card { min-height: auto; }
}

@media (max-width: 560px) {
  .memberships-section {
    margin-bottom: 4rem;
    padding-top: 1rem;
  }
  .memberships-section__header { margin-bottom: 1.6rem; }
  .memberships-grid { gap: 1rem; }
  .membership-card {
    padding: 1.45rem;
    border-radius: 21px;
  }
  .membership-card--featured::after {
    top: 1rem;
    right: 1rem;
    font-size: .56rem;
  }
  .membership-card__title {
    margin-top: 1.4rem;
    padding-right: 5.7rem;
    font-size: 1.35rem;
  }
  .membership-card__price {
    min-height: 60px;
    font-size: 2.25rem;
  }
  .membership-card__benefits {
    gap: .78rem;
    font-size: .9rem;
  }
}
/* ===== Gallery pagination ===== */

.gallery-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1.4rem 0 2.8rem;
}

.gallery-pagination[hidden] {
  display: none;
}

.gallery-pagination__button {
  border: 1px solid rgba(192, 132, 252, 0.28);
  border-radius: 999px;
  padding: 0.65rem 1.15rem;

  background: rgba(192, 132, 252, 0.08);
  color: var(--text);

  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;

  cursor: pointer;

  transition:
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease;
}

.gallery-pagination__button:hover:not(:disabled) {
  background: rgba(192, 132, 252, 0.16);
  border-color: rgba(192, 132, 252, 0.5);
  transform: translateY(-2px);
}

.gallery-pagination__button:disabled {
  opacity: 0.3;
  cursor: default;
}

.gallery-pagination__indicator {
  min-width: 58px;
  text-align: center;

  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

@media (max-width: 480px) {
  .gallery-pagination {
    gap: 0.65rem;
  }

  .gallery-pagination__button {
    padding: 0.6rem 0.85rem;
    font-size: 0.78rem;
  }
}
