/* Minhas criações — full-bleed temático, CDN-only background */

.home-view-root {
  --creations-bg: none;
}

.home-view-root--creations {
  --home-feed-offset: calc(env(safe-area-inset-top, 0px) + 7.35rem);
  isolation: isolate;
  background: #09060a !important;
}

.home-view-root--creations::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: var(--creations-bg);
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;
  transform: scale(1.04);
  filter: saturate(1.1) contrast(1.05);
}

.home-view-root--creations::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(6, 2, 8, 0.62) 0%, rgba(6, 2, 8, 0.78) 42%, rgba(6, 2, 8, 0.94) 100%),
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(255, 77, 148, 0.26), transparent 65%);
}

.home-view-root--creations > .home-top-bar,
.home-view-root--creations > .home-feed-scroll,
.home-view-root--creations > .feed-float-generate {
  z-index: 1;
}

.home-view-root--creations > .home-top-bar {
  z-index: 30;
}

.home-view-root--creations > .feed-float-generate {
  z-index: 25;
}

.home-view-root--creations .home-top-bar,
.home-view-root--creations .home-top-bar.home-header-extended-bg {
  background: linear-gradient(180deg, rgba(6, 2, 8, 0.72) 0%, rgba(6, 2, 8, 0.28) 70%, transparent) !important;
  border-bottom-color: transparent !important;
}

.home-view-root--creations .home-feed-scroll--grid {
  display: flex;
  flex-direction: column;
  background: transparent;
}

.home-view-root--creations .feed-page-wrap {
  display: flex;
  flex-direction: column;
  flex: 1 0 auto;
  min-height: 100%;
  width: 100%;
  background: transparent;
}

.home-view-root--creations .feed-page-wrap > .site-footer {
  flex-shrink: 0;
  margin-top: auto;
  position: relative;
  z-index: 2;
  background:
    radial-gradient(ellipse 80% 55% at 50% -10%, rgba(255, 77, 148, 0.22), transparent 58%),
    linear-gradient(180deg, rgba(10, 5, 12, 0.88) 0%, rgba(6, 3, 8, 0.96) 100%);
  backdrop-filter: blur(10px);
}

/* Aviso 48h — sem caixa */
.home-view-root--creations .home-creations-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 0.4rem;
  max-width: min(100%, 34rem);
  width: 100%;
  margin: 0.15rem auto 0.35rem;
  padding: 0.35rem 1rem;
  border: 0;
  border-radius: 0;
  background: transparent;
  text-align: center;
}

.home-view-root--creations .home-creations-notice__icon {
  color: #ff8fb8;
  font-size: 1rem;
  filter: drop-shadow(0 0.2rem 0.55rem rgba(0, 0, 0, 0.45));
}

.home-view-root--creations .home-creations-notice__text {
  color: rgba(255, 230, 240, 0.78);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 0.15rem 0.7rem rgba(0, 0, 0, 0.55);
}

/* Lista empty: preenche o miolo e centraliza; footer fica no fim da tela */
.home-view-root--creations .home-creations-feed-list:not(.home-creations-feed-list--grid) {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding: 0;
}

/* Empty state aberto — logo grande, sem card */
.home-view-root--creations .home-creations-empty {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  min-height: 0;
  padding: 1.5rem 1.25rem 1.75rem;
  text-align: center;
}

.home-creations-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.home-creations-empty__brand {
  display: flex;
  justify-content: center;
  margin: 0 0 0.85rem;
  filter: drop-shadow(0 0.45rem 1.2rem rgba(0, 0, 0, 0.5));
}

.home-creations-empty__brand .site-brand-logo__img,
.home-creations-empty__logo {
  display: block;
  width: auto;
  height: clamp(5.5rem, 18vw, 7.5rem);
  object-fit: contain;
}

.home-creations-empty__kicker {
  margin: 0 0 0.35rem;
  color: #ff8fb8;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 0.15rem 0.6rem rgba(0, 0, 0, 0.5);
}

.home-creations-empty__title {
  margin: 0;
  color: #fff;
  font-size: clamp(1.55rem, 5.5vw, 2.05rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-shadow: 0 0.25rem 1.1rem rgba(0, 0, 0, 0.55);
}

.home-creations-empty__subtitle {
  margin: 0.45rem 0 0;
  color: rgba(255, 235, 245, 0.82);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.35;
  text-shadow: 0 0.15rem 0.7rem rgba(0, 0, 0, 0.45);
}

.home-creations-empty__hint {
  margin: 0.65rem 0 0;
  max-width: 22rem;
  color: rgba(255, 220, 232, 0.62);
  font-size: 0.88rem;
  font-weight: 500;
  line-height: 1.5;
  text-shadow: 0 0.12rem 0.55rem rgba(0, 0, 0, 0.4);
}

.home-creations-empty__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.9rem;
  margin-top: 1.35rem;
  padding: 0 1.55rem;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff4d94 0%, #e61e6e 100%);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.01em;
  box-shadow: 0 0.55rem 1.45rem rgba(230, 30, 110, 0.42);
  cursor: pointer;
  transition: transform 0.16s ease, filter 0.16s ease, box-shadow 0.16s ease;
}

.home-creations-empty__cta:hover {
  filter: brightness(1.06);
  box-shadow: 0 0.7rem 1.7rem rgba(230, 30, 110, 0.5);
}

.home-creations-empty__cta:active {
  transform: scale(0.97);
}

.home-creations-empty__cta .material-symbols-outlined {
  font-size: 1.15rem;
  line-height: 1;
}

.home-creations-empty__panel,
.home-creations-empty__badge,
.home-creations-empty__sparkles,
.home-creations-empty__sparkle {
  display: none !important;
}

/* Grid de criações sobre o fundo */
.home-view-root--creations .home-creations-feed-list {
  position: relative;
  z-index: 1;
}

.home-view-root--creations .home-creations-feed-list--grid {
  padding-bottom: 2.5rem;
}

.home-view-root--creations .home-creation-card {
  border: 1px solid rgba(255, 140, 180, 0.18);
  border-radius: 1.1rem;
  background: rgba(8, 4, 12, 0.55);
  box-shadow: 0 0.75rem 1.5rem rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
}

.home-view-root--creations .home-creation-card__media {
  background: rgba(10, 6, 14, 0.65);
}

.home-view-root--creations .home-creation-card__visual {
  background: transparent;
}

.home-view-root--creations .home-creation-card__footer {
  background: linear-gradient(180deg, transparent, rgba(6, 2, 8, 0.75));
}

@media (prefers-reduced-motion: reduce) {
  .home-creations-empty__cta {
    transition: none;
  }
}
