:root {
  --black: #050505;
  --near: #0b0b0b;
  --panel: #141414;
  --panel-soft: rgba(20, 20, 20, 0.82);
  --line: rgba(255, 255, 255, 0.13);
  --text: #f5f5f1;
  --muted: #b5b5ad;
  --dim: #7d7d77;
  --red: #e50914;
  --green: #46d369;
  --gold: #d4b66c;
  --shadow: 0 26px 70px rgba(0, 0, 0, 0.62);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--black);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

body.mobile-menu-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.026) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(180deg, #080808, #050505 36%, #0a0a0a);
  background-size: 92px 92px, 92px 92px, auto;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-height: 80px;
  padding: 12px 4vw;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: linear-gradient(180deg, rgba(3, 3, 3, 0.94), rgba(3, 3, 3, 0.78) 65%, rgba(3, 3, 3, 0.28));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(14px);
}

.header-menu-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  min-width: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(74px, 6vw, 88px);
  line-height: 0;
  text-decoration: none;
  opacity: 0.96;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

.brand-mark {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.38));
}

.mobile-menu-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  min-height: 46px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.mobile-menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
  transition: transform 180ms ease, opacity 180ms ease;
}

.mobile-menu-toggle span + span {
  margin-top: 4px;
}

.site-header.is-mobile-open .mobile-menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.site-header.is-mobile-open .mobile-menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-mobile-open .mobile-menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.main-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-nav {
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.main-nav::-webkit-scrollbar {
  display: none;
}

.main-nav a,
.header-actions a {
  flex: 0 0 auto;
  color: rgba(245, 245, 241, 0.82);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: color 180ms ease, transform 180ms ease;
}

.nav-link-icon,
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.nav-link-icon {
  display: none;
  width: 18px;
  height: 18px;
}

.social-icon {
  width: 18px;
  height: 18px;
}

.nav-link-icon svg,
.social-icon svg {
  width: 100%;
  height: 100%;
}

.nav-link-icon svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-icon svg {
  fill: currentColor;
  stroke: none;
}

.main-nav a:hover,
.header-actions a:hover {
  color: #fff;
  transform: translateY(-1px);
}

.header-actions {
  gap: 10px;
}

.header-actions a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
  font-size: 0.72rem;
}

.hero-netflix {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  padding: 112px 4vw 84px;
  background: #000;
  isolation: isolate;
}

.creator-hero {
  --hero-x: 0px;
  --hero-y: 0px;
  display: grid;
  grid-template-columns: minmax(310px, 0.78fr) minmax(420px, 0.84fr) minmax(300px, 0.62fr);
  gap: clamp(18px, 3vw, 42px);
  align-items: end;
}

.creator-hero::before,
.creator-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.creator-hero::before {
  z-index: 1;
  background:
    linear-gradient(115deg, transparent 0 32%, rgba(255, 255, 255, 0.07) 39%, transparent 46% 100%),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: auto, 92px 92px, 92px 92px;
  opacity: 0.5;
  animation: hero-scan 8s ease-in-out infinite alternate;
}

.creator-hero::after {
  z-index: 2;
  background:
    radial-gradient(circle at 50% 50%, transparent 0 16%, rgba(0, 0, 0, 0.24) 48%, #050505 91%),
    linear-gradient(180deg, rgba(5, 5, 5, 0.02), rgba(5, 5, 5, 0.72) 92%);
}

.hero-ambient {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(118deg, transparent 0 19%, rgba(70, 211, 105, 0.14) 26%, transparent 37% 100%),
    linear-gradient(76deg, transparent 0 56%, rgba(229, 9, 20, 0.22) 64%, transparent 76% 100%),
    linear-gradient(148deg, transparent 0 40%, rgba(212, 182, 108, 0.12) 50%, transparent 62% 100%),
    linear-gradient(180deg, #080808, #050505 72%);
  filter: saturate(1.02);
  animation: hero-ambient-shift 9.5s ease-in-out infinite alternate;
}

.hero-film-strip {
  position: absolute;
  z-index: 3;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(130px, 10vw, 190px);
  gap: 10px;
  width: max-content;
  opacity: 0.56;
  filter: grayscale(0.06) saturate(1.02) contrast(1.14) brightness(0.88);
  pointer-events: none;
  will-change: transform;
}

.hero-film-strip img {
  width: 100%;
  aspect-ratio: 4 / 5.4;
  object-fit: cover;
  clip-path: polygon(9% 0, 100% 0, 91% 100%, 0 100%);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.58);
}

.hero-film-strip::before,
.hero-film-strip::after {
  content: "";
  position: absolute;
  left: -40px;
  right: -40px;
  height: 14px;
  background:
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.48) 0 6px, transparent 6px 18px);
  opacity: 0.28;
}

.hero-film-strip::before {
  top: -24px;
}

.hero-film-strip::after {
  bottom: -24px;
}

.hero-film-strip-one {
  left: -4vw;
  top: 10%;
  transform: rotate(-7deg);
  animation: film-strip-left 15s linear infinite;
}

.hero-film-strip-two {
  right: -1vw;
  top: 16%;
  bottom: auto;
  transform: rotate(7deg);
  animation: film-strip-right 17s linear infinite;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.04);
  animation: hero-drift 12s ease-in-out infinite alternate;
}

.hero-collage {
  position: absolute;
  inset: -4% -2%;
  z-index: 2;
  overflow: hidden;
  opacity: 0.64;
  filter: grayscale(0.04) saturate(1.04) contrast(1.18) brightness(0.84);
  transform: translate3d(calc(var(--hero-x) * -0.18), calc(var(--hero-y) * -0.14), 0);
  transition: transform 220ms ease-out;
  animation: hero-collage-drift 15s ease-in-out infinite alternate;
}

.hero-collage::before,
.hero-collage::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.hero-collage::before {
  background:
    radial-gradient(circle at 50% 50%, rgba(5, 5, 5, 0.08) 0 15%, rgba(0, 0, 0, 0.26) 44%, #050505 92%),
    linear-gradient(90deg, rgba(5, 5, 5, 0.8), rgba(5, 5, 5, 0.08) 45%, rgba(5, 5, 5, 0.76));
}

.hero-collage::after {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.024) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.16;
}

.hero-collage img {
  position: absolute;
  width: clamp(190px, 16vw, 280px);
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.58);
  opacity: 0.86;
  animation: collage-float 8.8s ease-in-out infinite alternate;
}

.hero-collage img:nth-child(1) {
  left: 4%;
  top: 18%;
  transform: rotate(-8deg);
}

.hero-collage img:nth-child(2) {
  left: 18%;
  top: 6%;
  transform: rotate(6deg);
  animation-delay: -1.2s;
}

.hero-collage img:nth-child(3) {
  left: 38%;
  top: 10%;
  transform: rotate(-4deg);
  animation-delay: -2.1s;
}

.hero-collage img:nth-child(4) {
  right: 26%;
  top: 14%;
  transform: rotate(5deg);
  animation-delay: -0.8s;
}

.hero-collage img:nth-child(5) {
  right: 8%;
  top: 10%;
  transform: rotate(-6deg);
  animation-delay: -2.8s;
}

.hero-collage img:nth-child(6) {
  left: 10%;
  bottom: 5%;
  transform: rotate(4deg);
  animation-delay: -1.9s;
}

.hero-collage img:nth-child(7) {
  left: 52%;
  bottom: 4%;
  transform: rotate(-5deg);
  animation-delay: -3.2s;
}

.hero-collage img:nth-child(8) {
  right: 12%;
  bottom: 0;
  transform: rotate(7deg);
  animation-delay: -1.5s;
}

.hero-collage img:nth-child(4),
.hero-collage img:nth-child(7),
.hero-collage img:nth-child(8) {
  opacity: 0.94;
  filter: brightness(0.88) contrast(1.16);
}

.hero-bg-empty {
  background:
    radial-gradient(circle at 24% 28%, rgba(229, 9, 20, 0.26), transparent 18%),
    radial-gradient(circle at 72% 34%, rgba(212, 182, 108, 0.16), transparent 22%),
    linear-gradient(135deg, #181818 0%, #050505 48%, #101010 100%);
}

.hero-bg-empty::before,
.hero-bg-empty::after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-bg-empty::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.032) 1px, transparent 1px);
  background-size: 92px 92px;
  opacity: 0.45;
}

.hero-bg-empty::after {
  background:
    linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.08) 44%, transparent 52% 100%),
    radial-gradient(circle at 50% 60%, transparent 0 20%, rgba(0, 0, 0, 0.58) 56%, #050505 100%);
  animation: cover-sweep 6s ease-in-out infinite alternate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.58) 24%, rgba(5, 5, 5, 0.06) 52%, rgba(5, 5, 5, 0.68) 100%),
    linear-gradient(0deg, #050505 0%, rgba(5, 5, 5, 0.08) 42%, rgba(5, 5, 5, 0.46) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(620px, 92vw);
  animation: content-in 760ms ease both;
}

.creator-hero .hero-content {
  z-index: 5;
  align-self: end;
  max-width: 560px;
  padding: 0 0 18px clamp(18px, 2vw, 30px);
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  box-shadow: none;
}

.creator-hero .hero-content::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 2px;
  width: 2px;
  background: linear-gradient(180deg, var(--red), rgba(70, 211, 105, 0.92), transparent);
  box-shadow: 0 0 24px rgba(229, 9, 20, 0.62);
}

.creator-hero .hero-content::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: min(360px, 70%);
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.6), transparent);
  transform-origin: left;
  animation: line-pulse 3.8s ease-in-out infinite alternate;
}

.original-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: rgba(245, 245, 241, 0.78);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.original-label span {
  color: var(--red);
  font-size: 1.82rem;
  font-weight: 900;
}

.hero-content h1 {
  margin: 0 0 14px;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(3.4rem, 5.8vw, 6.6rem);
  font-weight: 800;
  line-height: 0.92;
  text-transform: uppercase;
  text-wrap: balance;
  text-shadow: 0 18px 46px rgba(0, 0, 0, 0.82);
}

.hero-portrait {
  position: relative;
  z-index: 6;
  justify-self: center;
  width: min(520px, 80vw);
  margin: 0;
  align-self: end;
  animation: portrait-rise 860ms ease both, portrait-float 7s ease-in-out 900ms infinite alternate;
}

.hero-portrait::before {
  content: "";
  position: absolute;
  inset: -18px -26px;
  z-index: -1;
  border: 0;
  border-radius: 0;
  clip-path: polygon(14% 0, 100% 0, 86% 100%, 0 100%);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 26% 74%, rgba(255, 255, 255, 0.1)),
    linear-gradient(90deg, rgba(70, 211, 105, 0.16), rgba(229, 9, 20, 0.16)),
    rgba(255, 255, 255, 0.035);
  box-shadow: 0 36px 110px rgba(0, 0, 0, 0.68);
  animation: portrait-glow 4.8s ease-in-out infinite alternate;
}

.hero-portrait::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 0;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  background:
    linear-gradient(130deg, transparent 0 35%, rgba(255, 255, 255, 0.22) 45%, transparent 56% 100%),
    linear-gradient(180deg, transparent 0 54%, rgba(0, 0, 0, 0.64));
  mix-blend-mode: screen;
  opacity: 0.5;
  pointer-events: none;
  animation: portrait-sweep 5.6s ease-in-out infinite alternate;
}

.hero-portrait img {
  width: 100%;
  aspect-ratio: 4 / 5.25;
  object-fit: cover;
  border-radius: 0;
  clip-path: polygon(12% 0, 100% 0, 88% 100%, 0 100%);
  filter: grayscale(1) contrast(1.14) brightness(0.9);
  transform: translate3d(calc(var(--hero-x) * 0.16), calc(var(--hero-y) * 0.11), 0) scale(1.01);
  transition: transform 180ms ease-out, filter 220ms ease;
}

.hero-meta {
  margin: 0;
  color: var(--green);
  font-size: 0.96rem;
  font-weight: 900;
}

.hero-copy {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(245, 245, 241, 0.88);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.7;
  white-space: pre-line;
  text-shadow: 0 10px 34px rgba(0, 0, 0, 0.78);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.play-button,
.circle-button,
.wallpaper-button,
.copy-prompt,
.download-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 4px;
  padding: 0 22px;
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.play-button {
  background: #fff;
  color: #050505;
}

.play-button::before {
  content: "";
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid currentColor;
  margin-right: 10px;
}

.circle-button {
  width: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(42, 42, 42, 0.76);
  color: #fff;
}

.play-button:hover,
.circle-button:hover,
.wallpaper-button:hover,
.copy-prompt:hover,
.download-button:hover {
  transform: translateY(-2px);
}

.hero-cast {
  position: absolute;
  right: 4vw;
  bottom: 104px;
  z-index: 1;
  width: min(310px, 33vw);
  margin: 0;
  color: rgba(245, 245, 241, 0.78);
  font-size: 0.88rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1.55;
}

.creator-hero .hero-cast {
  position: relative;
  right: auto;
  bottom: auto;
  z-index: 5;
  width: auto;
  align-self: end;
  animation: content-in 860ms ease 160ms both;
}

.hero-about-card {
  position: relative;
  overflow: hidden;
  border: 0;
  border-left: 2px solid rgba(70, 211, 105, 0.82);
  border-radius: 0;
  padding: clamp(18px, 2vw, 26px) 0 clamp(18px, 2vw, 26px) clamp(18px, 2vw, 26px);
  background:
    linear-gradient(90deg, rgba(70, 211, 105, 0.12), transparent 28%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.045), transparent 48%);
  backdrop-filter: blur(8px);
  box-shadow: none;
}

.hero-about-card::before,
.hero-about-card::after {
  content: "";
  position: absolute;
  left: 0;
  pointer-events: none;
}

.hero-about-card::before {
  right: 0;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.46), transparent);
}

.hero-about-card::after {
  top: 0;
  bottom: 0;
  width: 100%;
  background: linear-gradient(115deg, transparent 0 38%, rgba(255, 255, 255, 0.1) 46%, transparent 56% 100%);
  transform: translateX(-86%);
  animation: panel-sweep 5.8s ease-in-out infinite alternate;
}

.hero-cast p {
  margin: 0 0 12px;
}

.hero-cast strong {
  display: inline-flex;
  margin-right: 8px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.category-bar {
  position: sticky;
  top: 72px;
  z-index: 60;
  display: flex;
  gap: 0;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.2);
  background: #f4f4f2;
  color: #0d0d0d;
  scrollbar-width: none;
}

.category-bar::-webkit-scrollbar {
  display: none;
}

.category-bar a {
  flex: 1 0 auto;
  min-width: 150px;
  padding: 15px 18px;
  color: #111;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.category-bar a:hover {
  background: var(--red);
  color: #fff;
}

.content-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 52px 4vw;
}

.section-title {
  display: flex;
  align-items: end;
  gap: 14px;
  margin-bottom: 24px;
}

.section-title span {
  color: var(--red);
  font-size: 1.1rem;
  font-weight: 900;
}

.section-title h2 {
  margin: 0;
  font-size: 2.4rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section-lead {
  max-width: 68ch;
  margin: -8px 0 24px;
  color: rgba(245, 245, 241, 0.68);
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.7;
}

#ai-klipler > .section-title {
  display: none;
}

.rail-block {
  margin-top: 34px;
}

.cover-preview {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.22fr);
  gap: 18px;
  align-items: stretch;
  margin-bottom: 42px;
}

.cover-stage {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  border-radius: 4px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.1), #050505 82%),
    radial-gradient(circle at 50% 18%, rgba(229, 9, 20, 0.28), transparent 26%),
    linear-gradient(145deg, #202020, #070707 64%, #151515);
  box-shadow: var(--shadow);
}

.cover-stage::before,
.cover-stage::after {
  pointer-events: none;
}

.cover-stage-link {
  position: absolute;
  inset: 0;
  display: block;
  color: inherit;
  text-decoration: none;
}

.cover-stage > img,
.cover-stage-link > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.64) contrast(1.12);
  transform: scale(1.02);
  animation: poster-kenburns 9s ease-in-out infinite alternate;
}

.cover-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, transparent 0 35%, rgba(255, 255, 255, 0.08) 44%, transparent 56% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.03) 0 1px, transparent 1px 42px);
  animation: poster-breathe 4s ease-in-out infinite alternate;
}

.cover-stage::after {
  content: "271EY";
  position: absolute;
  right: 28px;
  bottom: 28px;
  color: rgba(255, 255, 255, 0.08);
  font-size: 3rem;
  font-weight: 900;
  z-index: 2;
}

.cover-stage-copy {
  display: none;
}

.cover-stage-copy span,
.cover-card small {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cover-stage-copy h3 {
  margin: 8px 0 0;
  max-width: 420px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
  text-transform: uppercase;
}

.cover-stage-copy p {
  max-width: 380px;
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

.cover-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.cover-card {
  position: relative;
  display: block;
  min-height: 250px;
  overflow: hidden;
  border-radius: 4px;
  padding: 16px;
  background:
    radial-gradient(circle at 50% 18%, rgba(229, 9, 20, 0.22), transparent 28%),
    linear-gradient(145deg, #252525, #0b0b0b 66%);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
  color: inherit;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.cover-card > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.74) contrast(1.08);
  transform: scale(1.01);
  transition: transform 380ms ease, filter 220ms ease;
}

.cover-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(255, 255, 255, 0.12) 50%, transparent 58% 100%),
    linear-gradient(180deg, transparent 44%, rgba(0, 0, 0, 0.9));
  transform: translateX(-80%);
  transition: transform 420ms ease;
}

.cover-card::after {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  width: 14px;
  height: 14px;
  background: #fff;
  clip-path: polygon(50% 0, 66% 35%, 100% 40%, 74% 64%, 80% 100%, 50% 82%, 20% 100%, 26% 64%, 0 40%, 34% 35%);
}

.cover-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.68);
}

.cover-card:hover > img {
  filter: brightness(0.94) contrast(1.14);
  transform: scale(1.08);
}

.cover-card:hover::before {
  transform: translateX(80%);
}

.clip-fresh-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(239, 51, 67, 0.96), rgba(191, 16, 32, 0.92));
  color: #fff;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow:
    0 14px 30px rgba(229, 9, 20, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.cover-card span {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, 0.28);
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
}

.cover-card strong {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 38px;
  z-index: 2;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.cover-card small {
  position: absolute;
  left: 16px;
  bottom: 16px;
  z-index: 2;
}

.cover-card > span,
.cover-card > strong,
.cover-card > small {
  display: none;
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(168px, 15vw, 230px);
  gap: 2px;
  overflow: hidden;
  border-radius: 4px;
  background: #050505;
  box-shadow: var(--shadow);
}

.scene-tile {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: #111;
  isolation: isolate;
  cursor: pointer;
}

.scene-tile-tall {
  grid-row: span 2;
}

.scene-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.82) contrast(1.08);
  transition: transform 360ms ease, filter 220ms ease;
}

.scene-tile::before {
  content: "";
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 14px;
  height: 14px;
  background: #fff;
  clip-path: polygon(50% 0, 66% 35%, 100% 40%, 74% 64%, 80% 100%, 50% 82%, 20% 100%, 26% 64%, 0 40%, 34% 35%);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
  opacity: 0.92;
}

.scene-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), transparent 40%, rgba(0, 0, 0, 0.82)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.18), transparent 38%);
  pointer-events: none;
}

.scene-tile:hover img {
  transform: scale(1.06);
  filter: brightness(0.98) contrast(1.14);
}

.view-count {
  position: absolute;
  left: 16px;
  bottom: 12px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 900;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
}

.view-count::before {
  content: "";
  width: 14px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.8);
}

.view-count::after {
  content: "";
  position: absolute;
  left: 5px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
}

.rail-block:first-of-type {
  margin-top: 0;
}

.rail-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.rail-head h3 {
  margin: 0;
  font-size: 1.24rem;
  font-weight: 900;
}

.rail-head p {
  margin: 0;
  color: var(--dim);
  font-size: 0.84rem;
  font-weight: 800;
}

.movie-rail,
.poster-row {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 6px 0 22px;
  scrollbar-color: rgba(229, 9, 20, 0.55) transparent;
}

.movie-rail {
  display: grid;
  grid-auto-flow: column;
  gap: 10px;
  grid-auto-columns: minmax(260px, 23%);
  scroll-snap-type: x proximity;
}

.movie-rail-wide {
  grid-auto-columns: minmax(300px, 27%);
}

.poster-row {
  position: relative;
  --poster-card-width: 190px;
}

.poster-marquee {
  --poster-gap: 10px;
  display: flex;
  gap: var(--poster-gap);
  width: max-content;
}

.poster-track {
  display: flex;
  flex-wrap: nowrap;
  gap: var(--poster-gap);
  width: max-content;
}

.poster-row.is-auto-slider {
  overflow: hidden;
  scroll-snap-type: none;
  scrollbar-width: none;
}

.poster-row.is-auto-slider .poster-marquee {
  animation: poster-marquee 32s linear infinite;
  will-change: transform;
}

.poster-row.is-auto-slider:hover .poster-marquee,
.poster-row.is-auto-slider:focus-within .poster-marquee {
  animation-play-state: paused;
}

.poster-row.is-auto-slider::-webkit-scrollbar {
  display: none;
}

.movie-rail::-webkit-scrollbar,
.poster-row::-webkit-scrollbar {
  height: 8px;
}

.movie-rail::-webkit-scrollbar-thumb,
.poster-row::-webkit-scrollbar-thumb {
  background: rgba(229, 9, 20, 0.58);
}

.movie-card,
.poster-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 4px;
  background: #111;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.52);
  scroll-snap-align: start;
  isolation: isolate;
  color: inherit;
  text-decoration: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.movie-card {
  aspect-ratio: 16 / 9;
}

.movie-card.is-featured {
  aspect-ratio: 16 / 10;
}

.movie-card img,
.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) contrast(1.1);
  transition: transform 360ms ease, filter 220ms ease;
}

.movie-card::after,
.poster-card::after,
.wallpaper-hero-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 42%, rgba(0, 0, 0, 0.86));
  pointer-events: none;
}

.movie-card:hover,
.poster-card:hover {
  z-index: 5;
  transform: scale(1.07);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.72);
}

.movie-card:hover img,
.poster-card:hover img {
  filter: brightness(0.94) contrast(1.14);
  transform: scale(1.05);
}

.netflix-mark {
  position: absolute;
  left: 10px;
  top: 8px;
  z-index: 2;
  color: var(--red);
  font-size: 1.1rem;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}

.movie-info,
.movie-card > strong,
.poster-card > strong {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 2;
}

.movie-info strong,
.movie-card > strong,
.poster-card > strong {
  display: block;
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
  text-transform: uppercase;
}

.movie-info small {
  display: block;
  margin-top: 4px;
  color: rgba(245, 245, 241, 0.72);
  font-size: 0.74rem;
  font-weight: 800;
}

.poster-card {
  flex: 0 0 var(--poster-card-width);
  width: var(--poster-card-width);
  aspect-ratio: 4 / 5.5;
}

.poster-empty {
  display: grid;
  align-content: end;
  min-height: 330px;
  padding: 18px;
  background:
    radial-gradient(circle at 50% 20%, rgba(229, 9, 20, 0.2), transparent 27%),
    linear-gradient(145deg, #242424, #090909 68%);
}

.poster-empty::before {
  content: "AI SHORT FILM";
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.62rem;
  font-weight: 900;
}

.poster-card > span {
  position: absolute;
  left: 0;
  bottom: -12px;
  z-index: 3;
  color: #050505;
  font-size: 7rem;
  font-weight: 900;
  line-height: 0.8;
  text-shadow:
    -1px -1px 0 rgba(255, 255, 255, 0.62),
    1px -1px 0 rgba(255, 255, 255, 0.62),
    -1px 1px 0 rgba(255, 255, 255, 0.62),
    1px 1px 0 rgba(255, 255, 255, 0.62);
  pointer-events: none;
}

.poster-card img {
  padding-left: 46px;
}

.poster-card > strong {
  display: none;
}

.cover-stage-link:focus-visible,
.cover-card:focus-visible,
.poster-card:focus-visible {
  outline: 2px solid rgba(229, 9, 20, 0.92);
  outline-offset: 3px;
}

.wallpaper-zone,
.prompt-zone,
.partner-zone,
.bio-zone {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.wallpaper-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 18px;
}

.wallpaper-hero-card {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  border-radius: 4px;
  background: #111;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow);
}

.wallpaper-hero-card img {
  width: 100%;
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  filter: brightness(0.74) contrast(1.12);
  transition: transform 520ms ease, filter 220ms ease, opacity 220ms ease;
  animation: poster-kenburns 9s ease-in-out infinite alternate;
}

.wallpaper-hero-card:hover img {
  transform: scale(1.04);
  filter: brightness(0.9) contrast(1.16);
}

.wallpaper-hero-card div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}

.wallpaper-hero-card small {
  color: var(--green);
  font-weight: 900;
  text-transform: uppercase;
}

.wallpaper-hero-card strong {
  display: block;
  margin-top: 6px;
  font-size: 1.75rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wallpaper-hero-card p {
  margin: 10px 0 0;
  color: rgba(245, 245, 241, 0.74);
  font-weight: 800;
}

.download-panel,
.wallpaper-browser {
  border-radius: 4px;
  padding: 22px;
  background:
    linear-gradient(180deg, rgba(229, 9, 20, 0.13), rgba(255, 255, 255, 0.03)),
    var(--panel);
  box-shadow: var(--shadow);
}

.download-panel p,
.wallpaper-browser p {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.6;
}

.wallpaper-browser {
  display: flex;
  min-height: 620px;
  flex-direction: column;
}

.wallpaper-browser-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.wallpaper-browser-head p {
  margin: 0;
  color: #fff;
  font-size: 1rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wallpaper-browser-head span {
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wallpaper-buttons {
  display: grid;
  gap: 10px;
}

.wallpaper-preview-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-content: start;
  max-height: 510px;
  overflow-y: auto;
  padding-right: 4px;
}

.wallpaper-item {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.wallpaper-preview-grid::-webkit-scrollbar {
  width: 7px;
}

.wallpaper-preview-grid::-webkit-scrollbar-thumb {
  background: rgba(229, 9, 20, 0.55);
}

.source-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.source-links a {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.source-links a:hover {
  border-color: rgba(229, 9, 20, 0.62);
  color: #fff;
}

.wallpaper-button,
.download-button,
.copy-prompt {
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-transform: uppercase;
}

.wallpaper-preview-grid .wallpaper-button {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 4 / 5.7;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  background: #101010;
}

.wallpaper-download {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.72rem;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.wallpaper-download:hover,
.wallpaper-item.active .wallpaper-download {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  transform: translateY(-1px);
}

.wallpaper-share-link {
  display: grid;
  gap: 4px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px 11px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.82);
  font: inherit;
  line-height: 1.45;
  text-align: left;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.wallpaper-share-label {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.wallpaper-share-url {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.64rem;
  font-weight: 700;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.wallpaper-share-link:hover,
.wallpaper-item.active .wallpaper-share-link {
  border-color: rgba(229, 9, 20, 0.45);
  background:
    linear-gradient(180deg, rgba(229, 9, 20, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.96);
  transform: translateY(-1px);
}

.wallpaper-share-link.is-copied {
  border-color: rgba(70, 211, 105, 0.4);
  background:
    linear-gradient(180deg, rgba(70, 211, 105, 0.18), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
}

.wallpaper-share-link.is-copied .wallpaper-share-url {
  color: rgba(255, 255, 255, 0.82);
}

.wallpaper-preview-grid .wallpaper-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.68) contrast(1.1);
  transition: transform 260ms ease, filter 220ms ease;
}

.wallpaper-preview-grid .wallpaper-button span {
  position: absolute;
  left: 8px;
  top: 8px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.72rem;
  font-weight: 900;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.9);
}

.wallpaper-preview-grid .wallpaper-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color 180ms ease;
}

.wallpaper-preview-grid .wallpaper-button:hover img,
.wallpaper-preview-grid .wallpaper-button.active img {
  filter: brightness(0.95) contrast(1.14);
  transform: scale(1.06);
}

.wallpaper-preview-grid .wallpaper-button.active::after {
  border-color: var(--red);
}

.wallpaper-button:hover,
.download-button:hover,
.copy-prompt:hover {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.wallpaper-library {
  position: relative;
  display: grid;
  grid-template-columns: minmax(300px, 0.58fr) minmax(0, 1.42fr);
  gap: 18px;
  align-items: stretch;
  isolation: isolate;
}

.wallpaper-flag-motion {
  position: relative;
  z-index: 1;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 26%, rgba(255, 255, 255, 0.08), transparent 12%),
    radial-gradient(circle at 70% 16%, rgba(229, 9, 20, 0.16), transparent 24%),
    linear-gradient(145deg, rgba(108, 0, 8, 0.88), rgba(42, 0, 2, 0.94) 56%, rgba(8, 8, 8, 0.98));
  box-shadow: 0 28px 80px rgba(65, 0, 0, 0.4);
  isolation: isolate;
}

.wallpaper-flag-motion::before,
.wallpaper-flag-motion::after {
  content: "";
  position: absolute;
  inset: 0;
}

.wallpaper-flag-motion::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 88px 88px;
  opacity: 0.22;
}

.wallpaper-flag-motion::after {
  background:
    radial-gradient(circle at 50% 50%, transparent 0 38%, rgba(0, 0, 0, 0.38) 72%, rgba(0, 0, 0, 0.7) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.22) 70%, rgba(0, 0, 0, 0.5));
}

.wallpaper-flag-motion::after,
.wallpaper-flag-motion::before,
.flag-glow,
.flag-ribbon,
.flag-crescent,
.flag-star {
  z-index: 1;
}

.flag-glow,
.flag-ribbon,
.flag-crescent,
.flag-star {
  position: absolute;
  pointer-events: none;
}

.flag-glow {
  inset: -10%;
  background:
    radial-gradient(circle at 24% 30%, rgba(255, 255, 255, 0.13), transparent 10%),
    radial-gradient(circle at 28% 34%, rgba(255, 255, 255, 0.08), transparent 18%),
    radial-gradient(circle at 60% 50%, rgba(229, 9, 20, 0.28), transparent 26%);
  mix-blend-mode: screen;
  animation: flag-glow-pulse 8s ease-in-out infinite alternate;
}

.flag-ribbon {
  width: 140%;
  height: 34%;
  left: -18%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.04));
  opacity: 0.3;
  filter: blur(8px);
}

.flag-ribbon-one {
  top: 18%;
  transform: rotate(-9deg);
  animation: flag-wave-sweep 12s ease-in-out infinite alternate;
}

.flag-ribbon-two {
  top: 52%;
  transform: rotate(-7deg);
  opacity: 0.2;
  animation: flag-wave-sweep 16s ease-in-out infinite alternate-reverse;
}

.flag-crescent {
  left: 6%;
  top: 8%;
  width: clamp(160px, 18vw, 260px);
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: inset 0 0 0 28px rgba(255, 255, 255, 0.94);
  filter: drop-shadow(0 16px 24px rgba(0, 0, 0, 0.26));
  opacity: 0.86;
  animation: flag-symbol-float 7s ease-in-out infinite alternate;
}

.flag-crescent::after {
  content: "";
  position: absolute;
  inset: 14% 8% 14% 30%;
  border-radius: 50%;
  background: rgba(118, 0, 10, 0.96);
}

.flag-star {
  left: calc(6% + clamp(116px, 12vw, 174px));
  top: calc(8% + clamp(44px, 4vw, 60px));
  width: clamp(56px, 5vw, 78px);
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.98);
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.32));
  animation: flag-star-twinkle 5s ease-in-out infinite alternate;
}

.wallpaper-library-feature,
.wallpaper-library-panel {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #101010;
  box-shadow: var(--shadow);
}

.wallpaper-library-feature {
  min-height: 640px;
  isolation: isolate;
}

.wallpaper-library-feature img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.66) contrast(1.12);
  transform: scale(1.02);
  animation: poster-kenburns 9s ease-in-out infinite alternate;
}

.wallpaper-library-feature::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    linear-gradient(135deg, transparent 0 36%, rgba(255, 255, 255, 0.08) 45%, transparent 57% 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 42px);
  pointer-events: none;
  animation: poster-breathe 4s ease-in-out infinite alternate;
}

.wallpaper-library-feature::after {
  content: "271EY";
  position: absolute;
  right: 28px;
  bottom: 30px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.09);
  font-size: clamp(2rem, 4vw, 4.2rem);
  font-weight: 900;
}

.wallpaper-feature-copy {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 30px;
  z-index: 3;
}

.wallpaper-feature-copy span {
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.wallpaper-feature-copy h3 {
  max-width: 420px;
  margin: 8px 0 0;
  font-size: clamp(2.1rem, 4vw, 4.2rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.wallpaper-feature-copy p {
  max-width: 420px;
  margin: 14px 0 0;
  color: rgba(245, 245, 241, 0.76);
  font-weight: 800;
  line-height: 1.55;
}

.wallpaper-library-panel {
  padding: 18px;
  background:
    radial-gradient(circle at 50% 8%, rgba(229, 9, 20, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    var(--panel);
}

.wallpaper-library-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.wallpaper-library-grid .wallpaper-item {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: #0b0b0b;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.44);
  transition: transform 220ms ease, border-color 180ms ease, box-shadow 220ms ease;
}

.wallpaper-library-grid .wallpaper-item:hover,
.wallpaper-library-grid .wallpaper-item.active {
  z-index: 4;
  border-color: rgba(229, 9, 20, 0.72);
  transform: translateY(-5px);
  box-shadow: 0 24px 66px rgba(0, 0, 0, 0.68);
}

.wallpaper-library-grid .wallpaper-button {
  position: relative;
  display: block;
  width: 100%;
  min-height: 0;
  aspect-ratio: 4 / 5.7;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: #101010;
}

.wallpaper-library-grid .wallpaper-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7) contrast(1.1);
  transition: transform 360ms ease, filter 220ms ease;
}

.wallpaper-library-grid .wallpaper-button::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(135deg, transparent 0 42%, rgba(255, 255, 255, 0.1) 50%, transparent 59% 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.02), transparent 45%, rgba(0, 0, 0, 0.72));
  transform: translateX(-84%);
  transition: transform 420ms ease;
  pointer-events: none;
}

.wallpaper-library-grid .wallpaper-button::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border: 2px solid transparent;
  pointer-events: none;
  transition: border-color 180ms ease;
}

.wallpaper-library-grid .wallpaper-button > .wallpaper-index {
  position: absolute;
  left: 10px;
  bottom: 9px;
  z-index: 4;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.72rem;
  font-weight: 900;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.9);
}

.wallpaper-flag-hover {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  transition: opacity 220ms ease, transform 360ms ease;
  pointer-events: none;
}

.wallpaper-flag-hover::before,
.wallpaper-flag-hover::after {
  content: "";
  position: absolute;
  inset: 0;
}

.wallpaper-flag-hover::before {
  background:
    linear-gradient(180deg, rgba(79, 0, 7, 0.08), rgba(79, 0, 7, 0.3) 58%, rgba(0, 0, 0, 0.58)),
    radial-gradient(circle at 54% 22%, rgba(255, 255, 255, 0.12), transparent 24%);
}

.wallpaper-flag-hover::after {
  inset: -18% -26%;
  background: linear-gradient(105deg, transparent 0 24%, rgba(255, 255, 255, 0.1) 38%, rgba(255, 255, 255, 0.22) 48%, rgba(229, 9, 20, 0.2) 60%, transparent 74%);
  mix-blend-mode: screen;
  transform: translate3d(-12%, 0, 0) skewX(-14deg);
  animation: flag-wave-sweep 8s ease-in-out infinite alternate;
}

.flag-hover-ribbon,
.flag-hover-crescent,
.flag-hover-star {
  position: absolute;
  pointer-events: none;
}

.flag-hover-ribbon {
  left: -18%;
  top: 28%;
  width: 150%;
  height: 36%;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.02));
  opacity: 0.3;
  filter: blur(10px);
  animation: flag-wave-sweep 10s ease-in-out infinite alternate-reverse;
}

.flag-hover-crescent {
  left: 6%;
  top: 9%;
  width: 34%;
  aspect-ratio: 445 / 330;
  background: url("assets/overlays/ay-yildiz-hover.png") center / contain no-repeat;
  mix-blend-mode: screen;
  filter: brightness(1.18) contrast(1.26) drop-shadow(0 10px 18px rgba(0, 0, 0, 0.3));
  opacity: 0.96;
  animation: flag-symbol-float 6s ease-in-out infinite alternate;
}

.flag-hover-crescent::after {
  display: none;
}

.flag-hover-star {
  display: none;
}

.wallpaper-library-grid .wallpaper-button:hover img,
.wallpaper-library-grid .wallpaper-button.active img {
  filter: brightness(0.94) contrast(1.14);
  transform: scale(1.07);
}

.wallpaper-library-grid .wallpaper-button:hover::before {
  transform: translateX(80%);
}

.wallpaper-library-grid .wallpaper-button:hover .wallpaper-flag-hover,
.wallpaper-library-grid .wallpaper-button:focus-visible .wallpaper-flag-hover {
  opacity: 1;
}

.wallpaper-library-grid .wallpaper-button.active::after {
  border-color: var(--red);
}

.wallpaper-library-grid .wallpaper-download {
  min-height: 38px;
  margin: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.wallpaper-library-grid .wallpaper-share-link {
  margin: -2px 8px 10px;
}

.wallpaper-source-links {
  max-width: 520px;
}

.wallpaper-poster-library {
  grid-template-columns: 1fr;
}

.wallpaper-poster-library .wallpaper-library-panel {
  z-index: 2;
  overflow: visible;
  padding: 0;
  background: transparent;
  box-shadow: none;
}

.wallpaper-poster-library .wallpaper-library-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.wallpaper-poster-library .wallpaper-item {
  position: relative;
  gap: 0;
  background: #0d0d0d;
}

.wallpaper-poster-library .wallpaper-button {
  aspect-ratio: 4 / 5.1;
}

.wallpaper-poster-library .wallpaper-button > .wallpaper-index {
  left: 12px;
  bottom: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.wallpaper-poster-library .wallpaper-download {
  min-height: 36px;
  margin: 8px;
}

.wallpaper-poster-library .wallpaper-share-link {
  margin: -2px 8px 10px;
}

.prompt-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.12fr);
  gap: 18px;
  align-items: stretch;
}

.prompt-feature {
  display: grid;
  gap: 18px;
}

.prompt-lab,
.prompt-logo-panel,
.prompt-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
}

.prompt-lab {
  padding: 28px;
  background:
    radial-gradient(circle at 12% 18%, rgba(229, 9, 20, 0.34), transparent 34%),
    radial-gradient(circle at 86% 14%, rgba(212, 182, 108, 0.2), transparent 24%),
    linear-gradient(155deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 44%),
    #111111;
}

.prompt-kicker {
  margin: 0 0 14px;
  color: rgba(245, 245, 241, 0.78);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.prompt-feature-title {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.prompt-feature-copy {
  max-width: 34ch;
  margin: 18px 0 0;
  color: rgba(245, 245, 241, 0.78);
  font-size: 0.98rem;
  line-height: 1.8;
}

.prompt-feature-tags,
.prompt-tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.prompt-feature-tags {
  margin-top: 22px;
}

.prompt-feature-tags span,
.prompt-tag-list span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.prompt-feature-tags span {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 241, 0.88);
}

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

.prompt-metrics div {
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.prompt-metrics strong,
.prompt-metrics span {
  display: block;
}

.prompt-metrics strong {
  font-size: 1.25rem;
  font-weight: 900;
}

.prompt-metrics span {
  margin-top: 8px;
  color: rgba(245, 245, 241, 0.7);
  font-size: 0.78rem;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.prompt-logo-panel {
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 26px;
  background:
    radial-gradient(circle at top right, rgba(229, 9, 20, 0.08), transparent 28%),
    linear-gradient(180deg, #f3efe7, #ddd6cd);
  color: #090909;
}

.prompt-logo-panel img {
  width: min(210px, 64%);
  height: auto;
}

.prompt-logo-panel p {
  margin: 0;
  max-width: 34ch;
  color: rgba(9, 9, 9, 0.72);
  font-size: 0.92rem;
  line-height: 1.75;
}

.prompt-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.prompt-card {
  display: flex;
  flex-direction: column;
  min-height: 278px;
  padding: 24px;
  background:
    radial-gradient(circle at 88% 12%, rgba(229, 9, 20, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(229, 9, 20, 0.1), rgba(255, 255, 255, 0.03) 42%),
    var(--panel);
}

.prompt-card.is-featured {
  grid-column: span 2;
  min-height: 324px;
  background:
    radial-gradient(circle at 88% 14%, rgba(229, 9, 20, 0.28), transparent 24%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 42%),
    var(--panel);
}

.prompt-card-top,
.prompt-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.prompt-badge,
.prompt-index,
.prompt-code-label {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.prompt-badge {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(245, 245, 241, 0.84);
}

.prompt-index {
  color: rgba(245, 245, 241, 0.42);
}

.prompt-card strong {
  display: block;
  margin-top: 18px;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: -0.03em;
  text-transform: none;
}

.prompt-description {
  margin: 12px 0 0;
  max-width: 38ch;
  color: rgba(245, 245, 241, 0.74);
  font-size: 0.96rem;
  line-height: 1.7;
}

.prompt-code-shell {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background: rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(8px);
}

.prompt-code-label {
  color: rgba(245, 245, 241, 0.56);
}

.prompt-visual {
  position: relative;
  margin: 18px 0 0;
  overflow: hidden;
  border-radius: 18px;
  aspect-ratio: 16 / 9;
  background: rgba(255, 255, 255, 0.04);
}

.prompt-card.is-featured .prompt-visual {
  aspect-ratio: 21 / 9;
}

.prompt-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prompt-visual figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: rgba(245, 245, 241, 0.82);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prompt-card code {
  display: block;
  margin-top: 12px;
  color: rgba(245, 245, 241, 0.72);
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.84rem;
  line-height: 1.85;
  white-space: pre-wrap;
}

.copy-prompt {
  margin-top: 0;
}

.prompt-card-actions {
  margin-top: auto;
  padding-top: 18px;
}

.prompt-tag-list span {
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 245, 241, 0.72);
}

.education-zone {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.education-layout {
  display: block;
}

.education-intro {
  display: none;
}

.education-kicker {
  margin: 0;
  color: rgba(245, 245, 241, 0.68);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.education-title {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.7rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.education-copy {
  margin: 0;
  color: rgba(245, 245, 241, 0.76);
  line-height: 1.8;
}

.education-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.education-highlights span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 245, 241, 0.8);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

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

.education-card {
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.02) 42%),
    var(--panel);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.32);
}

.education-card-head {
  display: grid;
  gap: 14px;
  align-content: start;
}

.education-tier {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(229, 9, 20, 0.14);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.education-card h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.08;
}

.education-toggle {
  justify-content: space-between;
  width: 100%;
  min-height: 46px;
  margin-top: 4px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: rgba(245, 245, 241, 0.92);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.education-toggle::after {
  content: "+";
  font-size: 1rem;
}

.education-card.is-open .education-toggle::after {
  content: "-";
}

.education-details {
  margin-top: 0;
}

.education-details[hidden] {
  display: none;
}

.education-details-inner {
  display: grid;
  gap: 16px;
  padding-top: 18px;
}

.education-card p {
  margin: 12px 0 0;
  color: rgba(245, 245, 241, 0.76);
  line-height: 1.75;
}

.education-points {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.education-points li {
  position: relative;
  padding-left: 18px;
  color: rgba(245, 245, 241, 0.82);
  line-height: 1.6;
}

.education-points li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--gold);
}

.education-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.education-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(245, 245, 241, 0.72);
  font-size: 0.76rem;
  font-weight: 800;
}

.partner-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.partner-grid span {
  display: flex;
  min-height: 124px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  background: #101010;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.42);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.partner-grid span:hover {
  border-color: rgba(255, 255, 255, 0.32);
  background: #171717;
  transform: translateY(-3px);
}

.partner-grid img {
  width: 88%;
  height: 86px;
  object-fit: contain;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.48));
}

.partner-grid .wide {
  grid-column: span 2;
}

.bio-zone {
  display: grid;
  grid-template-columns: 230px minmax(0, 1fr);
  gap: 28px;
  align-items: center;
  padding-bottom: 78px;
}

.bio-zone > img {
  width: 230px;
  height: 230px;
  border-radius: 4px;
  object-fit: cover;
  filter: grayscale(1) contrast(1.08);
  box-shadow: var(--shadow);
}

.bio-follow-card h2 {
  margin: 0 0 18px;
  font-size: 2.2rem;
  font-weight: 900;
  text-transform: uppercase;
}

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

.bio-social-link {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.bio-social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(229, 9, 20, 0.45);
  background: rgba(229, 9, 20, 0.08);
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.bio-social-icon {
  display: inline-flex;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.bio-social-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.bio-social-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.bio-social-copy strong {
  font-size: 1rem;
  font-weight: 800;
}

.bio-social-copy small {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  overflow: hidden;
  text-overflow: ellipsis;
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 28px 4vw 54px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  width: clamp(104px, 9vw, 124px);
  margin-right: auto;
  text-decoration: none;
}

.footer-brand img {
  width: 100%;
  height: auto;
}

.site-footer a:not(.footer-brand) {
  color: var(--muted);
  font-weight: 800;
  text-decoration: none;
}

.preview-modal {
  width: min(1080px, calc(100vw - 28px));
  border: 0;
  border-radius: 4px;
  padding: 0;
  color: var(--text);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.preview-modal::backdrop {
  background: rgba(0, 0, 0, 0.82);
}

.preview-modal img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  background: #000;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  min-height: 40px;
  border: 0;
  border-radius: 4px;
  padding: 0 14px;
  background: #fff;
  color: #050505;
  cursor: pointer;
  font-weight: 900;
}

.modal-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 18px;
}

.modal-info h3 {
  margin: 0;
}

.modal-info p,
.eyebrow {
  margin: 7px 0 0;
  color: var(--muted);
  font-weight: 800;
}

@keyframes hero-drift {
  from {
    transform: scale(1.04) translate3d(-10px, -8px, 0);
  }
  to {
    transform: scale(1.09) translate3d(12px, 10px, 0);
  }
}

@keyframes content-in {
  from {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes flag-wave-sweep {
  from {
    transform: rotate(-9deg) translate3d(-4%, -8px, 0) scaleX(0.98);
    opacity: 0.18;
  }
  to {
    transform: rotate(-5deg) translate3d(6%, 10px, 0) scaleX(1.03);
    opacity: 0.34;
  }
}

@keyframes flag-glow-pulse {
  from {
    transform: scale(0.98) translate3d(-10px, -6px, 0);
    opacity: 0.68;
  }
  to {
    transform: scale(1.04) translate3d(12px, 8px, 0);
    opacity: 1;
  }
}

@keyframes flag-symbol-float {
  from {
    transform: translate3d(0, -6px, 0);
  }
  to {
    transform: translate3d(10px, 8px, 0);
  }
}

@keyframes flag-star-twinkle {
  from {
    transform: scale(0.94) rotate(-8deg);
    opacity: 0.72;
  }
  to {
    transform: scale(1.04) rotate(4deg);
    opacity: 1;
  }
}

@keyframes poster-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }
  to {
    transform: translate3d(calc(-50% - 5px), 0, 0);
  }
}

@keyframes cover-sweep {
  from {
    opacity: 0.46;
    transform: translate3d(-20px, 0, 0);
  }
  to {
    opacity: 0.9;
    transform: translate3d(20px, 0, 0);
  }
}

@keyframes poster-breathe {
  from {
    opacity: 0.45;
    transform: scale(0.985);
  }
  to {
    opacity: 0.9;
    transform: scale(1.01);
  }
}

@keyframes poster-kenburns {
  from {
    transform: scale(1.02) translate3d(-8px, -6px, 0);
  }
  to {
    transform: scale(1.09) translate3d(10px, 8px, 0);
  }
}

@keyframes collage-float {
  from {
    translate: -10px -14px;
  }
  to {
    translate: 14px 16px;
  }
}

@keyframes hero-collage-drift {
  from {
    opacity: 0.56;
  }

  to {
    opacity: 0.72;
  }
}

@keyframes hero-ambient-shift {
  from {
    opacity: 0.78;
    transform: scale(1) translate3d(-10px, -6px, 0);
  }
  to {
    opacity: 1;
    transform: scale(1.04) translate3d(12px, 8px, 0);
  }
}

@keyframes hero-scan {
  from {
    opacity: 0.32;
    transform: translate3d(-38px, 0, 0);
  }
  to {
    opacity: 0.66;
    transform: translate3d(42px, 0, 0);
  }
}

@keyframes portrait-rise {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes portrait-float {
  from {
    translate: 0 -8px;
  }
  to {
    translate: 0 10px;
  }
}

@keyframes portrait-glow {
  from {
    opacity: 0.72;
    transform: scale(0.985);
  }
  to {
    opacity: 1;
    transform: scale(1.01);
  }
}

@keyframes portrait-sweep {
  from {
    opacity: 0.18;
    transform: translate3d(-18px, 0, 0);
  }
  to {
    opacity: 0.52;
    transform: translate3d(18px, 0, 0);
  }
}

@keyframes film-strip-left {
  from {
    transform: rotate(-7deg) translate3d(-10%, -8px, 0);
  }
  to {
    transform: rotate(-4deg) translate3d(12%, 10px, 0);
  }
}

@keyframes film-strip-right {
  from {
    transform: rotate(7deg) translate3d(10%, -10px, 0);
  }
  to {
    transform: rotate(10deg) translate3d(-12%, 12px, 0);
  }
}

@keyframes line-pulse {
  from {
    opacity: 0.36;
    transform: scaleX(0.62);
  }
  to {
    opacity: 0.9;
    transform: scaleX(1);
  }
}

@keyframes panel-sweep {
  from {
    opacity: 0.12;
    transform: translateX(-92%);
  }
  to {
    opacity: 0.34;
    transform: translateX(72%);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
    gap: 14px;
    padding: 12px 20px;
  }

  .mobile-menu-toggle {
    display: inline-flex;
  }

  .header-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 20px;
    right: 20px;
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 34%),
      rgba(8, 8, 8, 0.94);
    box-shadow: 0 26px 60px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .site-header.is-mobile-open .header-menu-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .main-nav {
    display: grid;
    gap: 10px;
    overflow: visible;
  }

  .main-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.88rem;
  }

  .nav-link-icon {
    display: inline-flex;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .hero-netflix {
    min-height: 720px;
    padding-top: 150px;
  }

  .creator-hero {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .hero-content h1 {
    font-size: 4rem;
  }

  .creator-hero .hero-content {
    width: min(680px, 92vw);
    justify-self: center;
    order: 2;
    padding-left: 24px;
  }

  .hero-portrait {
    order: 1;
    width: min(430px, 78vw);
  }

  .hero-film-strip {
    opacity: 0.16;
  }

  .hero-cast {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(620px, 92vw);
    margin-top: 26px;
  }

  .creator-hero .hero-cast {
    width: min(620px, 92vw);
    justify-self: center;
    order: 3;
  }

  .category-bar {
    display: none;
  }

  .movie-rail,
  .movie-rail-wide {
    grid-auto-columns: minmax(250px, 58%);
  }

  .cover-preview {
    grid-template-columns: 1fr;
  }

  .cover-stage {
    min-height: 420px;
  }

  .cover-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .scene-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: clamp(170px, 29vw, 260px);
  }

  .poster-row {
    --poster-card-width: 178px;
  }

  .wallpaper-layout,
  .prompt-layout,
  .bio-zone {
    grid-template-columns: 1fr;
  }

  .prompt-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .education-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .wallpaper-hero-card,
  .wallpaper-hero-card img,
  .wallpaper-browser {
    min-height: 480px;
  }

  .wallpaper-poster-library .wallpaper-library-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partner-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .partner-grid .wide {
    grid-column: span 3;
  }
}

@media (max-width: 620px) {
  .site-header {
    min-height: 74px;
    padding: 12px 16px;
  }

  .brand {
    width: 74px;
  }

  .header-menu-panel {
    left: 16px;
    right: 16px;
    padding: 16px;
    border-radius: 20px;
  }

  .header-actions a {
    width: 36px;
    height: 36px;
  }

  .hero-netflix {
    min-height: 680px;
    padding: 136px 16px 62px;
  }

  .hero-portrait {
    width: min(330px, 80vw);
  }

  .hero-collage img {
    width: 170px;
  }

  .hero-film-strip {
    grid-auto-columns: 110px;
    opacity: 0.12;
  }

  .hero-bg {
    object-position: 54% 18%;
  }

  .hero-content h1 {
    font-size: 2.8rem;
  }

  .hero-copy {
    font-size: 0.94rem;
  }

  .creator-hero .hero-content,
  .hero-about-card {
    padding: 18px;
  }

  .creator-hero .hero-content {
    padding-left: 20px;
  }

  .hero-about-card {
    padding-left: 18px;
  }

  .content-shell {
    padding: 40px 16px;
  }

  .section-title h2 {
    font-size: 1.8rem;
  }

  .prompt-lab,
  .prompt-logo-panel,
  .prompt-card {
    padding: 20px;
    border-radius: 20px;
  }

  .prompt-feature-title {
    max-width: none;
    font-size: 2rem;
  }

  .prompt-metrics,
  .prompt-grid {
    grid-template-columns: 1fr;
  }

  .prompt-card.is-featured {
    grid-column: auto;
  }

  .prompt-logo-panel img,
  .footer-brand {
    width: 96px;
  }

  .prompt-card-actions {
    align-items: flex-start;
  }

  .education-card {
    padding: 20px;
    border-radius: 20px;
  }

  .education-grid {
    grid-template-columns: 1fr;
  }

  .copy-prompt {
    width: 100%;
  }

  .rail-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .movie-rail,
  .movie-rail-wide {
    grid-auto-columns: minmax(230px, 78%);
  }

  .cover-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cover-card {
    min-height: 220px;
  }

  .scene-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(150px, 45vw, 230px);
  }

  .scene-tile-tall {
    grid-row: span 1;
  }

  .view-count {
    left: 10px;
    bottom: 9px;
    font-size: 0.76rem;
  }

  .poster-row {
    --poster-card-width: 158px;
  }

  .wallpaper-preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-height: 620px;
  }

  .wallpaper-poster-library .wallpaper-library-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .wallpaper-poster-library .wallpaper-download {
    min-height: 34px;
    font-size: 0.68rem;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .partner-grid .wide {
    grid-column: span 2;
  }

  .bio-zone > img {
    width: 170px;
    height: 170px;
  }

  .bio-follow-card h2 {
    font-size: 2rem;
  }

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

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}
