@font-face {
  font-family: 'Jenny Lora';
  src: url('assets/fonts/lora-italic-latin.woff2') format('woff2');
  font-style: italic;
  font-weight: 600 700;
  font-display: swap;
}

.hero h1 {
  font-family: 'Jenny Lora', 'Lora', Georgia, serif;
  font-size: clamp(34px, 7vw, 50px);
  font-style: italic;
  font-weight: 700;
  letter-spacing: 2px;
}

.avatar {
  position: relative;
  overflow: hidden;
  padding: 0;
  line-height: 0;
  isolation: isolate;
  background: rgba(255, 225, 239, .52);
  border: 1.5px solid rgba(255, 96, 164, .88);
}

.avatar img,
.avatar.has-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  border-radius: 0;
  object-fit: cover;
  object-position: center center;
  transform: scale(1.012);
}

.avatar:not(.has-image) img {
  display: none;
}

.section-heading h2 {
  font-family: 'Jenny Lora', 'Lora', Georgia, serif;
  font-size: 27px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: none;
  background: linear-gradient(110deg, #ffb8d4 0%, #ff75ad 28%, #ed438c 50%, #ff94be 72%, #ffd0e2 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: heading-shimmer 7s ease-in-out infinite;
  text-shadow: 0 7px 20px rgba(244, 91, 159, .1);
}

@keyframes heading-shimmer {
  0%, 100% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
}

@media (max-width: 560px) {
  .hero h1 { font-size: 36px; letter-spacing: 1px; }
  .section-heading h2 { font-size: 25px; }
}

@media (prefers-reduced-motion: reduce) {
  .section-heading h2 { animation: none; background-position: 45% 50%; }
}

.social-link .brand-icon {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  object-fit: contain;
  flex: 0 0 42px;
  mix-blend-mode: normal;
  transition: transform 220ms cubic-bezier(.22, 1, .36, 1), filter 220ms ease;
}

#x .brand-icon {
  padding: 0;
}

.social-link:hover .brand-icon,
.social-link:focus-visible .brand-icon,
.social-link:active .brand-icon {
  transform: scale(1.08);
  filter: saturate(1.12) brightness(1.03);
}

.hero-link:hover,
.hero-link:focus-visible,
.hero-link:active,
.social-link:hover,
.social-link:focus-visible,
.social-link:active {
  background: rgba(255, 210, 230, .48);
  border-color: rgba(255, 126, 179, .82);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92),
              0 13px 34px rgba(255, 77, 141, .25),
              0 0 22px rgba(255, 160, 200, .22);
  opacity: .88;
}

.view-more:hover,
.view-more:focus-visible,
.view-more:active,
.gate-actions button:hover,
.gate-actions button:focus-visible,
.gate-actions button:active {
  background: rgba(255, 105, 166, .78);
  border-color: rgba(255, 126, 179, .9);
  box-shadow: 0 10px 25px rgba(255, 77, 141, .27),
              inset 0 1px 0 rgba(255, 255, 255, .55);
  opacity: .88;
}

.gate-no:hover,
.gate-no:focus-visible,
.gate-no:active {
  background: rgba(255, 220, 235, .62);
  color: #ed438c;
}

.is-disabled:hover,
.is-disabled:focus-visible,
.is-disabled:active {
  background: var(--glass);
  border-color: rgba(255, 255, 255, .65);
  opacity: .55;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .85),
              0 14px 34px rgba(235, 104, 160, .12);
}

.post-image {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
  overflow: hidden;
}

.post-content {
  text-align: center;
  align-items: stretch;
}

.post-card h3,
.post-card p {
  width: 100%;
  text-align: center;
}

.view-more {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .4px;
  text-transform: none;
}

/* Keep high-refresh mobile scrolling composited instead of repainting large blurs. */
.orb-field {
  contain: strict;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.orb {
  will-change: transform;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.post-card {
  contain-intrinsic-size: 0px 540px;
}

@media (max-width: 560px) {
  html,
  body {
    touch-action: pan-y pinch-zoom;
    overscroll-behavior-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #app,
  .page-shell,
  main,
  section {
    touch-action: pan-y pinch-zoom;
  }

  .orb-3,
  .orb-4,
  .orb-6,
  .orb-7,
  .orb-8 {
    display: none;
  }

  .orb {
    max-width: 240px;
    max-height: 240px;
    filter: blur(44px);
    mix-blend-mode: normal;
    opacity: .3;
    animation-timing-function: linear;
  }

  .hero-link,
  .panel,
  .post-card,
  .social-link,
  .gate-card,
  .avatar {
    backdrop-filter: blur(16px) saturate(145%) brightness(1.04);
    -webkit-backdrop-filter: blur(16px) saturate(145%) brightness(1.04);
  }

  .orb-5 { display: none; }

  .hero-link,
  .post-card,
  .social-link {
    background: rgba(255, 247, 251, .72);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .panel,
  .gate-card,
  .avatar {
    backdrop-filter: blur(12px) saturate(135%);
    -webkit-backdrop-filter: blur(12px) saturate(135%);
  }
}

.hero-brand-logo { mix-blend-mode: normal; }

html,
body,
#app,
.page-shell {
  color-scheme: only light;
  forced-color-adjust: none;
}

.hero-brand-logo,
.brand-icon,
.post-image,
.avatar img {
  color-scheme: only light;
  forced-color-adjust: none;
}

@media (prefers-color-scheme: dark) {
  html { background-color: #fff3f8; }

  body {
    color: #3f3740;
    background: radial-gradient(circle at 10% 8%, #ffdced 0, transparent 28%),
                radial-gradient(circle at 92% 86%, #ffd8eb 0, transparent 30%),
                linear-gradient(135deg, #fffafd 0%, #fff5f9 45%, #fff9fc 100%);
  }

  .hero-link,
  .panel,
  .post-card,
  .social-link,
  .gate-card,
  .avatar {
    color-scheme: only light;
    background-color: rgba(255, 247, 251, .78);
    border-color: rgba(255, 255, 255, .72);
  }

  .hero-link,
  .social-link {
    color: #ee3f8b;
  }
}
