/* Preset detail and account placeholder pages */
.preset-shell {
  --comparison-drift-x: 0px;
  --comparison-drift-y: 0px;
  --comparison-bg-drift-x: 0px;
  --comparison-bg-drift-y: 0px;
  --comparison-bg-tilt-x: 0deg;
  --comparison-bg-tilt-y: 0deg;
  --comparison-tilt-x: 0deg;
  --comparison-tilt-y: 0deg;
  --comparison-breathe-x: 0px;
  --comparison-breathe-y: 0px;
  --comparison-breathe-rotate: 0deg;
  --comparison-card-float-x: 0px;
  --comparison-card-float-y: 0px;
  --comparison-card-float-rotate: 0deg;
  min-height: 100vh;
  background: linear-gradient(180deg, #020202 0%, #030303 45%, #000000 100%);
  background-color: #020202;
  color: #f5f7fb;
  cursor: url(/assets/cursor.png) 6 5, auto !important;
}

.preset-shell:not(.dark-mode) {
  background: linear-gradient(180deg, #f7fafc 0%, #eef3fb 52%, #fdfefe 100%);
  background-color: #f7fafc;
  color: #08101c;
}

@media (hover: hover) and (pointer: fine) {
  .preset-shell,
  .preset-shell * {
    cursor: none !important;
  }
}

.preset-shell .grid-background {
  display: none;
}

.preset-shell .nav-container {
  max-width: 1360px;
  padding: 0 1.5rem;
  justify-content: space-between;
  gap: 1rem;
}

.preset-shell .navbar {
  z-index: 1000;
}

.preset-shell::before,
.preset-shell::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.42s ease;
}

.preset-shell::before {
  z-index: 1145;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(248, 250, 252, 0.062) 0,
      rgba(248, 250, 252, 0.062) 1px,
      transparent 1px,
      transparent 4px
    ),
    radial-gradient(ellipse at center, transparent 38%, rgba(45, 212, 191, 0.06) 70%, rgba(248, 113, 113, 0.075) 100%),
    linear-gradient(
      90deg,
      rgba(45, 212, 191, 0.1),
      transparent 22%,
      transparent 78%,
      rgba(248, 113, 113, 0.095)
    );
  mix-blend-mode: screen;
}

.preset-shell::after {
  z-index: 1150;
  background:
    radial-gradient(ellipse at center, transparent 24%, rgba(2, 6, 23, 0.12) 54%, rgba(2, 6, 23, 0.44) 100%),
    radial-gradient(ellipse at center, rgba(20, 184, 166, 0.1), transparent 48%),
    linear-gradient(90deg, rgba(45, 212, 191, 0.08), transparent 20%, transparent 80%, rgba(248, 113, 113, 0.08)),
    linear-gradient(180deg, rgba(2, 6, 23, 0.04), rgba(2, 6, 23, 0.18));
}

.preset-shell.is-comparison-dragging::before,
.preset-shell.is-comparison-dragging::after {
  opacity: 1;
}

.preset-shell.is-comparison-dragging::before {
  animation: preset-crt-flicker 1.8s steps(4, end) infinite;
}

.preset-shell .navbar,
.preset-detail-layout,
.preset-requirements-section,
.preset-text-comparison-copy,
.preset-3d-heading,
.preset-3d-text-stage,
.preset-3d-description,
.preset-drag-drop-section,
.preset-footer,
#particleCanvas {
  transform-origin: center;
  transform-style: preserve-3d;
  transition:
    filter 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.52s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.52s cubic-bezier(0.22, 1, 0.36, 1);
}

.preset-requirements-section,
.preset-text-comparison-section,
.preset-text-comparison-layout,
.preset-text-comparison-copy,
.preset-text-comparison-media,
.preset-3d-heading,
.preset-3d-text-stage,
.preset-3d-description,
.preset-drag-drop-section,
.preset-drag-drop-layout {
  overflow: visible;
}

.preset-shell.is-comparison-dragging .navbar,
.preset-shell.is-comparison-dragging .preset-detail-layout,
.preset-shell.is-comparison-dragging .preset-requirements-section,
.preset-shell.is-comparison-dragging .preset-text-comparison-copy,
.preset-shell.is-comparison-dragging .preset-text-comparison-media:not(.is-active-comparison-card),
.preset-shell.is-comparison-dragging .preset-3d-heading,
.preset-shell.is-comparison-dragging .preset-3d-text-stage,
.preset-shell.is-comparison-dragging .preset-3d-description,
.preset-shell.is-comparison-dragging .preset-drag-drop-section,
.preset-shell.is-comparison-dragging .preset-footer,
.preset-shell.is-comparison-dragging #particleCanvas {
  filter: blur(6px) saturate(1.08) brightness(0.88) contrast(1.05);
  opacity: 0.84;
  clip-path: inset(-16% -12% -16% -12% round 2.4rem);
  text-shadow:
    -1.25px 0 rgba(45, 212, 191, 0.18),
    1.25px 0 rgba(248, 113, 113, 0.16),
    0 0 18px rgba(125, 249, 235, 0.08);
  transition:
    filter 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    clip-path 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    text-shadow 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  transform:
    perspective(680px)
    translate3d(
      calc(var(--comparison-drift-x) + var(--comparison-breathe-x)),
      calc(var(--comparison-drift-y) + var(--comparison-breathe-y)),
      -220px
    )
    scaleX(1.24)
    scaleY(0.82)
    rotateX(var(--comparison-tilt-x))
    rotateY(var(--comparison-tilt-y))
    rotateZ(var(--comparison-breathe-rotate));
  will-change: filter, opacity, transform, clip-path;
}

.preset-shell.is-comparison-dragging #particleCanvas {
  opacity: 0.34;
  transform:
    perspective(640px)
    translate3d(
      calc(var(--comparison-bg-drift-x) + var(--comparison-breathe-x)),
      calc(var(--comparison-bg-drift-y) + var(--comparison-breathe-y)),
      -280px
    )
    scaleX(1.34)
    scaleY(0.76)
    rotateX(var(--comparison-bg-tilt-x))
    rotateY(var(--comparison-bg-tilt-y));
}

.preset-shell.is-comparison-dragging .nav-pill,
.preset-shell.is-comparison-dragging .nav-actions > *,
.preset-shell.is-comparison-dragging .auth-user-menu {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.preset-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: inherit;
}

.preset-brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-family: 'Sora', sans-serif;
  font-weight: 800;
  color: #06111c;
  background: linear-gradient(135deg, #ffffff, #78e7db);
  box-shadow: 0 12px 40px rgba(20, 184, 166, 0.18);
}

.preset-shell:not(.dark-mode) .preset-brand-mark {
  color: #ffffff;
  background: linear-gradient(135deg, #0f172a, #0f8b8d);
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.14);
}

.preset-brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.preset-brand-label {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  opacity: 0.72;
}

.preset-brand-name {
  font-family: 'Sora', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.preset-shell .nav-pill {
  padding: 0.55rem;
  gap: 0.35rem;
  background: rgba(5, 5, 5, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.34);
}

.preset-shell:not(.dark-mode) .nav-pill {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.preset-shell:not(.dark-mode) .theme-toggle {
  background: rgba(15, 23, 42, 0.08);
}

.preset-shell:not(.dark-mode) .theme-toggle:hover {
  background: rgba(15, 23, 42, 0.14);
}

.preset-shell:not(.dark-mode) .theme-toggle svg {
  color: rgba(15, 23, 42, 0.88);
}

.preset-shell .nav-link {
  color: rgba(241, 245, 249, 0.72);
}

.preset-shell:not(.dark-mode) .nav-link {
  color: rgba(15, 23, 42, 0.7);
}

.preset-shell .nav-link:hover,
.preset-shell .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.preset-shell.dark-mode .nav-link:hover,
.preset-shell.dark-mode .nav-link.active {
  color: #ffffff;
  background: #000000;
}

.preset-shell:not(.dark-mode) .nav-link:hover,
.preset-shell:not(.dark-mode) .nav-link.active {
  color: #08101c;
  background: rgba(15, 23, 42, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.preset-mobile-nav-toggle,
.preset-mobile-theme-toggle,
.preset-mobile-nav {
  display: none;
}

.preset-mobile-nav-toggle {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(8, 12, 20, 0.84);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0.28rem;
  box-shadow: 0 18px 50px rgba(2, 6, 23, 0.38);
}

.preset-mobile-theme-toggle {
  margin-left: 0;
}

.preset-shell:not(.dark-mode) .preset-mobile-nav-toggle {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.preset-mobile-nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: #f8fbff;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.preset-shell:not(.dark-mode) .preset-mobile-nav-toggle span {
  background: #08101c;
}

.preset-mobile-nav {
  position: fixed;
  inset: 5.8rem 1rem auto;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-10px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.preset-mobile-nav-panel {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1rem;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(7, 10, 18, 0.96);
  box-shadow: 0 28px 72px rgba(2, 6, 23, 0.4);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.preset-shell:not(.dark-mode) .preset-mobile-nav-panel {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.preset-mobile-nav-link,
.preset-mobile-nav-button {
  min-height: 48px;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  font-weight: 600;
  text-align: left;
}

.preset-mobile-nav-link {
  color: rgba(241, 245, 249, 0.92);
  background: rgba(255, 255, 255, 0.05);
}

.preset-mobile-nav-link.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.preset-shell:not(.dark-mode) .preset-mobile-nav-link {
  color: #08101c;
  background: rgba(15, 23, 42, 0.05);
}

.preset-shell:not(.dark-mode) .preset-mobile-nav-link.is-active {
  background: rgba(15, 23, 42, 0.1);
}

.preset-mobile-nav-button {
  border: 0;
  background: #000000;
  color: #ffffff;
}

.preset-shell.is-mobile-nav-open .preset-mobile-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.preset-shell.is-mobile-nav-open .preset-mobile-nav-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.preset-shell.is-mobile-nav-open .preset-mobile-nav-toggle span:nth-child(2) {
  opacity: 0;
}

.preset-shell.is-mobile-nav-open .preset-mobile-nav-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.auth-user-menu {
  position: relative;
}

.auth-user-trigger {
  width: 50px;
  height: 50px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000000;
  color: #f8fbff;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.auth-user-trigger:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  background: #111111;
}

.preset-shell:not(.dark-mode) .auth-user-trigger {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.auth-user-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
}

.auth-user-avatar img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.preset-shell:not(.dark-mode) .auth-user-avatar img {
  filter: brightness(0) invert(1);
}

.auth-user-popover {
  position: absolute;
  top: calc(100% + 0.7rem);
  right: 0;
  min-width: 230px;
  padding: 1rem;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(7, 10, 18, 0.96);
  box-shadow: 0 28px 72px rgba(2, 6, 23, 0.4);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.24s ease, transform 0.24s ease, visibility 0.24s ease;
}

.auth-user-menu:hover .auth-user-popover,
.auth-user-menu:focus-within .auth-user-popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.preset-shell:not(.dark-mode) .auth-user-popover {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
}

.auth-user-name {
  margin: 0;
  font-weight: 700;
}

.auth-user-email {
  margin: 0.3rem 0 0.9rem;
  font-size: 0.88rem;
  color: rgba(226, 232, 240, 0.68);
}

.preset-shell:not(.dark-mode) .auth-user-email {
  color: rgba(15, 23, 42, 0.6);
}

.auth-user-logout {
  width: 100%;
  min-height: 44px;
  border-radius: 999px;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.14);
  color: #fecaca;
  border: 1px solid rgba(248, 113, 113, 0.25);
  transition: transform 0.25s ease, background 0.25s ease;
}

.auth-user-logout:hover {
  transform: translateY(-1px);
  background: rgba(239, 68, 68, 0.22);
}

.preset-shell:not(.dark-mode) .auth-user-logout {
  color: #b91c1c;
  background: rgba(254, 226, 226, 0.96);
  border-color: rgba(239, 68, 68, 0.2);
}

.preset-login-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 44px;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #000000;
  color: #f8fbff;
  font-weight: 600;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.preset-login-button:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.22);
  background: #111111;
}

.preset-shell:not(.dark-mode) .preset-login-button {
  background: #000000;
  border-color: #000000;
  color: #ffffff;
}

.preset-page {
  position: relative;
  z-index: 1;
  max-width: 1360px;
  margin: 0 auto;
  padding: 9rem 1.5rem 5rem;
}

.preset-detail-layout {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

.preset-detail-layout .preset-preview-panel,
.preset-detail-layout .preset-content-panel {
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.preset-detail-layout .preset-preview-panel,
.preset-detail-layout .preset-content-panel,
.preset-detail-layout .preset-preview-frame {
  background-color: transparent !important;
  border-color: transparent !important;
}

.preset-preview-panel,
.preset-content-panel,
.placeholder-panel {
  position: relative;
  border: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 36px;
  background: rgba(8, 12, 20, 0.72);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow: 0 28px 80px rgba(2, 6, 23, 0.38);
}

.preset-shell:not(.dark-mode) .preset-preview-panel,
.preset-shell:not(.dark-mode) .preset-content-panel,
.preset-shell:not(.dark-mode) .placeholder-panel {
  background: rgba(255, 255, 255, 0.84);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.1);
}

.preset-shell:not(.dark-mode) .preset-detail-layout .preset-preview-panel,
.preset-shell:not(.dark-mode) .preset-detail-layout .preset-content-panel,
.preset-shell:not(.dark-mode) .preset-detail-layout .preset-preview-frame {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

.preset-preview-panel {
  overflow: visible;
  padding: 0;
}

.preset-detail-layout .preset-content-panel {
  padding: 0;
}

.preset-preview-frame {
  position: relative;
  overflow: visible;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 32px;
  min-height: 720px;
  box-shadow: none;
}

.preset-preview-frame img {
  width: 100%;
  max-width: none;
  max-height: 750px;
  height: auto;
  object-fit: contain;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  filter: none;
}

.preset-shell:not(.dark-mode) .preset-preview-frame img {
  mix-blend-mode: multiply;
}

.preset-preview-frame:hover img {
  transform: scale(1.04);
}

.preset-content-panel,
.placeholder-panel {
  padding: clamp(2rem, 4vw, 3.25rem);
}

.preset-kicker,
.placeholder-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #14b8a6;
}

.preset-shell:not(.dark-mode) .preset-kicker,
.preset-shell:not(.dark-mode) .placeholder-kicker {
  color: #0f766e;
}

.preset-kicker::before,
.placeholder-kicker::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
}

.preset-title,
.placeholder-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.5rem, 4vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 1.15rem;
}

.preset-subtitle {
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(148, 163, 184, 0.86);
  margin-bottom: 1.25rem;
}

.preset-shell:not(.dark-mode) .preset-subtitle {
  color: rgba(15, 23, 42, 0.58);
}

.preset-description,
.placeholder-description {
  max-width: 42rem;
  font-size: 1.02rem;
  line-height: 1.8;
  color: rgba(226, 232, 240, 0.76);
}

.preset-shell:not(.dark-mode) .preset-description,
.preset-shell:not(.dark-mode) .placeholder-description {
  color: rgba(15, 23, 42, 0.72);
}

.preset-feature-list {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0;
}

.preset-feature-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: center;
  padding: 0;
}

.preset-feature-icon {
  width: 1.65rem;
  height: 1.65rem;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(20, 184, 166, 0.14);
  color: #5eead4;
  flex-shrink: 0;
}

.preset-shell:not(.dark-mode) .preset-feature-icon {
  background: rgba(20, 184, 166, 0.16);
  color: #0f766e;
}

.preset-feature-copy strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
}

.preset-price-block {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
  flex-wrap: nowrap;
}

.preset-price-current {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.preset-price-original {
  font-size: 1rem;
  font-weight: 700;
  color: #f87171;
  text-decoration: line-through;
  line-height: 1;
  white-space: nowrap;
  position: relative;
  top: -0.08em;
}

.preset-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.preset-buy-button,
.placeholder-button,
.auth-google-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 58px;
  border-radius: 999px;
  padding: 1rem 1.5rem;
  font-weight: 700;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.preset-buy-button,
.placeholder-button {
  min-width: 220px;
  color: #ffffff;
  background: #000000;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.28);
}

.preset-buy-button:hover,
.placeholder-button:hover,
.auth-google-button:hover {
  transform: translateY(-2px);
}

.preset-buy-button.is-loading {
  pointer-events: none;
  opacity: 0.92;
}

.preset-buy-button-text {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.preset-buy-button-spinner {
  width: 1rem;
  height: 1rem;
  border-radius: 999px;
  border: 2px solid rgba(3, 19, 29, 0.25);
  border-top-color: #03131d;
  animation: preset-spin 0.8s linear infinite;
  display: none;
}

.preset-buy-button.is-loading .preset-buy-button-spinner {
  display: inline-block;
}

.preset-inline-link {
  font-weight: 600;
  color: rgba(241, 245, 249, 0.82);
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  padding-bottom: 0.2rem;
}

.preset-support-link {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  font-weight: 600;
  color: rgba(241, 245, 249, 0.82);
  text-decoration: underline;
  text-underline-offset: 0.22em;
  cursor: pointer;
}

.preset-inline-link:hover {
  color: #ffffff;
}

.preset-support-link:hover {
  color: #ffffff;
}

.preset-shell:not(.dark-mode) .preset-inline-link {
  color: rgba(8, 16, 28, 0.82);
}

.preset-shell:not(.dark-mode) .preset-support-link {
  color: rgba(8, 16, 28, 0.82);
}

.preset-shell:not(.dark-mode) .preset-inline-link:hover {
  color: #000000;
}

.preset-shell:not(.dark-mode) .preset-support-link:hover {
  color: #000000;
}

.preset-support-copy {
  margin-top: 1.4rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(148, 163, 184, 0.78);
}

.preset-shell:not(.dark-mode) .preset-support-copy {
  color: rgba(15, 23, 42, 0.56);
}

.preset-requirements-section {
  padding-top: clamp(2rem, 4vw, 3rem);
}

.preset-scroll-indicator {
  position: fixed;
  left: 50%;
  bottom: clamp(1.25rem, 3vw, 2.25rem);
  transform: translateX(-50%);
  display: inline-flex;
  color: rgba(226, 232, 240, 0.6);
  transition: color 0.28s ease, opacity 0.28s ease, visibility 0.28s ease;
  z-index: 1100;
}

.preset-scroll-indicator.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preset-scroll-indicator:hover {
  color: rgba(248, 250, 252, 0.9);
}

.preset-shell:not(.dark-mode) .preset-scroll-indicator {
  color: rgba(15, 23, 42, 0.48);
}

.preset-shell:not(.dark-mode) .preset-scroll-indicator:hover {
  color: rgba(8, 16, 28, 0.82);
}

.preset-scroll-indicator-arrow {
  display: inline-flex;
  animation: preset-scroll-bob 1.8s ease-in-out infinite;
}

.preset-scroll-indicator-arrow svg {
  display: block;
}

.preset-requirements-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  max-width: 1080px;
  margin: 0 auto;
}

.preset-requirements-copy {
  max-width: 28rem;
  margin: 0;
  text-align: left;
}

.preset-requirements-title,
.preset-requirements-description {
  margin-top: 0;
}

.preset-requirements-description {
  margin-bottom: 0;
}

.preset-requirements-logo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.preset-requirements-logo-item {
  min-width: 0;
}

.preset-requirements-logo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 5.4rem;
  padding: 0.2rem;
  color: inherit;
  text-decoration: none;
  transition:
    transform 0.24s ease;
}

.preset-requirements-logo-link:hover,
.preset-requirements-logo-link:focus-visible {
  transform: scale(1.08);
}

.preset-requirements-logo-link:focus-visible {
  outline: 0;
}

.preset-requirements-logo-badge {
  display: grid;
  place-items: center;
  width: clamp(4.35rem, 6.4vw, 5rem);
  height: clamp(4.35rem, 6.4vw, 5rem);
}

.preset-requirements-logo-badge img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: filter 0.24s ease;
}

.preset-requirements-logo-image.is-rounded-square {
  border-radius: 1rem;
}

.preset-requirements-logo-link:hover .preset-requirements-logo-badge img,
.preset-requirements-logo-link:focus-visible .preset-requirements-logo-badge img {
  filter: drop-shadow(0 10px 18px rgba(15, 23, 42, 0.12));
}

.preset-requirements-logo-link.is-adobe-premiere:hover .preset-requirements-logo-badge img,
.preset-requirements-logo-link.is-adobe-premiere:focus-visible .preset-requirements-logo-badge img {
  filter: drop-shadow(0 10px 18px rgba(153, 153, 255, 0.18));
}

.preset-requirements-logo-link.is-adobe-after-effects:hover .preset-requirements-logo-badge img,
.preset-requirements-logo-link.is-adobe-after-effects:focus-visible .preset-requirements-logo-badge img {
  filter: drop-shadow(0 10px 18px rgba(207, 168, 255, 0.2));
}

.preset-requirements-list {
  width: 100%;
  margin: 0;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
}

.preset-shell:not(.dark-mode) .preset-requirements-list {
  border-top-color: rgba(15, 23, 42, 0.08);
}

.preset-requirements-item {
  display: grid;
  grid-template-columns: 3rem minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
  padding: 1.15rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.preset-shell:not(.dark-mode) .preset-requirements-item {
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

.preset-requirements-item:hover {
  transform: translateX(6px);
  border-bottom-color: rgba(255, 255, 255, 0.34);
}

.preset-shell:not(.dark-mode) .preset-requirements-item:hover {
  border-bottom-color: rgba(8, 16, 28, 0.28);
}

.preset-requirements-index {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.72);
}

.preset-requirements-item:nth-child(-n+4) .preset-requirements-index {
  font-size: 0.58rem;
}

.preset-shell:not(.dark-mode) .preset-requirements-index {
  color: rgba(15, 23, 42, 0.48);
}

.preset-requirements-text {
  font-size: 1rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.84);
}

.preset-shell:not(.dark-mode) .preset-requirements-text {
  color: rgba(15, 23, 42, 0.8);
}

.preset-requirements-item.is-primary .preset-requirements-text {
  font-weight: 600;
  color: #f8fbff;
}

.preset-shell:not(.dark-mode) .preset-requirements-item.is-primary .preset-requirements-text {
  color: #08101c;
}

.preset-requirements-section.is-enhanced [data-requirement-card],
.preset-requirements-section.is-enhanced .preset-requirements-copy > *,
.preset-requirements-section.is-enhanced [data-requirement-logo] {
  will-change: transform, opacity;
}

.preset-date-reel-section {
  padding-top: clamp(4.5rem, 8vw, 7.5rem);
  padding-bottom: clamp(1.5rem, 4vw, 3rem);
  scroll-margin-top: 7rem;
}

.preset-date-reel-layout {
  max-width: 1180px;
  align-items: center;
}

.preset-date-reel-copy {
  padding-left: 0;
  padding-right: clamp(1.75rem, 4.5vw, 4.75rem);
}

.preset-date-reel-media {
  display: grid;
  gap: 0.85rem;
  justify-self: center;
}

.preset-text-comparison-frame.preset-date-reel-frame {
  aspect-ratio: 9 / 16;
  width: min(100%, 390px);
  margin-left: 0;
  border-radius: clamp(1.3rem, 2.4vw, 2rem);
  box-shadow: 0 28px 70px rgba(3, 7, 18, 0.28);
}

.preset-shell:not(.dark-mode) .preset-text-comparison-frame.preset-date-reel-frame {
  box-shadow: 0 26px 60px rgba(15, 23, 42, 0.14);
}

.preset-date-reel-eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.72);
}

.preset-shell:not(.dark-mode) .preset-date-reel-eyebrow {
  color: rgba(15, 23, 42, 0.48);
}

.preset-date-reel-subtitle {
  margin: 0;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
  color: rgba(226, 232, 240, 0.78);
}

.preset-shell:not(.dark-mode) .preset-date-reel-subtitle {
  color: rgba(15, 23, 42, 0.68);
}

.preset-date-reel-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  min-height: 3rem;
  padding: 0.84rem 1.24rem;
  border-radius: 999px;
  background: #f8fbff;
  color: #07111d;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 18px 38px rgba(3, 7, 18, 0.24);
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.preset-date-reel-button:hover,
.preset-date-reel-button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 48px rgba(3, 7, 18, 0.3);
}

.preset-date-reel-button:focus-visible {
  outline: 2px solid rgba(45, 212, 191, 0.72);
  outline-offset: 4px;
}

.preset-shell:not(.dark-mode) .preset-date-reel-button {
  background: #07111d;
  color: #ffffff;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.14);
}

.preset-date-reel-hint {
  margin: 0;
  width: min(100%, 390px);
  margin-left: 0;
  text-align: center;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(148, 163, 184, 0.78);
}

.preset-shell:not(.dark-mode) .preset-date-reel-hint {
  color: rgba(15, 23, 42, 0.54);
}

.preset-date-reel-frame .preset-text-comparison-divider::before {
  width: 3px;
  left: -1.5px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0), rgba(248, 250, 252, 0.96) 14%, rgba(248, 250, 252, 0.96) 86%, rgba(248, 250, 252, 0));
  box-shadow: 0 0 28px rgba(248, 250, 252, 0.5);
}

.preset-date-reel-frame .preset-text-comparison-handle {
  width: 3.55rem;
  height: 3.55rem;
  border-color: rgba(248, 250, 252, 0.38);
  background: rgba(8, 13, 22, 0.82);
  box-shadow:
    0 12px 30px rgba(3, 7, 18, 0.36),
    0 0 0 7px rgba(248, 250, 252, 0.12);
}

.preset-shell:not(.dark-mode) .preset-date-reel-frame .preset-text-comparison-handle {
  background: rgba(255, 255, 255, 0.9);
  box-shadow:
    0 12px 26px rgba(15, 23, 42, 0.14),
    0 0 0 7px rgba(15, 23, 42, 0.08);
}

.preset-text-comparison-section {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(2rem, 5vw, 4rem);
}

.preset-text-comparison-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2.2rem, 5vw, 5rem);
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
}

.preset-text-comparison-layout-reversed .preset-text-comparison-copy {
  padding-left: 0;
  padding-right: clamp(1.4rem, 4vw, 4.75rem);
}

.preset-text-comparison-media,
.preset-text-comparison-copy {
  min-width: 0;
}

.preset-text-comparison-media {
  position: relative;
  z-index: 1;
  transition: transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.preset-shell.is-comparison-dragging .preset-text-comparison-media.is-active-comparison-card {
  z-index: 1200;
  transform:
    translate3d(
      var(--comparison-card-float-x),
      var(--comparison-card-float-y),
      0
    )
    rotate(var(--comparison-card-float-rotate));
}

.preset-text-comparison-copy {
  display: grid;
  gap: 1.2rem;
  align-content: center;
  padding-left: clamp(1.4rem, 4vw, 4.75rem);
}

.preset-text-comparison-copy .preset-kicker,
.preset-text-comparison-copy .preset-title,
.preset-text-comparison-copy .preset-description {
  margin: 0;
}

.preset-text-comparison-frame {
  --comparison-position: 50%;
  --comparison-frame-radius: 2rem;
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(100%, 600px);
  margin: 0;
  overflow: hidden;
  border-radius: var(--comparison-frame-radius);
  clip-path: inset(0 round var(--comparison-frame-radius));
  -webkit-clip-path: inset(0 round var(--comparison-frame-radius));
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.2), transparent 46%),
    linear-gradient(145deg, rgba(9, 14, 23, 0.98), rgba(17, 24, 39, 0.88));
  border: 1px solid rgba(148, 163, 184, 0.18);
  box-shadow: 0 32px 90px rgba(3, 7, 18, 0.32);
  transition: box-shadow 0.48s cubic-bezier(0.22, 1, 0.36, 1), transform 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  isolation: isolate;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.preset-text-comparison-frame-rectangle {
  aspect-ratio: 16 / 10;
  width: min(100%, 680px);
}

.preset-png-popup-copy {
  max-width: 34rem;
}

.preset-png-popup-media {
  display: flex;
  justify-content: flex-end;
}

.preset-png-popup-frame {
  width: min(100%, 520px);
  aspect-ratio: 1 / 1;
}

.preset-project-files-showcase-section {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
  scroll-margin-top: 7rem;
}

.preset-project-files-showcase-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  justify-items: center;
  max-width: 1240px;
  margin: 0 auto;
  text-align: center;
}

.preset-project-files-showcase-copy {
  display: grid;
  gap: 1rem;
  max-width: 50rem;
}

.preset-project-files-showcase-copy .preset-title,
.preset-project-files-showcase-copy .preset-description {
  margin: 0;
}

.preset-project-files-showcase-copy .preset-description {
  max-width: 42rem;
  margin-inline: auto;
}

.preset-project-files-showcase-media {
  width: 100%;
  display: flex;
  justify-content: center;
}

.preset-project-files-showcase-frame {
  width: min(100%, 980px);
  aspect-ratio: 16 / 9;
}

.preset-project-files-showcase-video {
  background: transparent;
}

.preset-shell.is-comparison-dragging .preset-text-comparison-media.is-active-comparison-card .preset-text-comparison-frame {
  box-shadow:
    0 42px 110px rgba(2, 6, 23, 0.54),
    0 18px 42px rgba(20, 184, 166, 0.18),
    0 0 0 1px rgba(248, 250, 252, 0.08);
}

.preset-shell:not(.dark-mode) .preset-text-comparison-frame {
  background:
    radial-gradient(circle at top left, rgba(20, 184, 166, 0.14), transparent 48%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(241, 245, 249, 0.95));
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.12);
}

.preset-shell:not(.dark-mode).is-comparison-dragging .preset-text-comparison-media.is-active-comparison-card .preset-text-comparison-frame {
  box-shadow:
    0 40px 95px rgba(15, 23, 42, 0.18),
    0 18px 38px rgba(15, 118, 110, 0.12),
    0 0 0 1px rgba(15, 23, 42, 0.07);
}

.preset-text-comparison-video,
.preset-text-comparison-after-layer,
.preset-text-comparison-overlay,
.preset-text-comparison-range {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.preset-text-comparison-video {
  object-fit: cover;
  display: block;
}

.preset-text-comparison-after-layer {
  overflow: hidden;
  clip-path: inset(0 0 0 var(--comparison-position));
  -webkit-clip-path: inset(0 0 0 var(--comparison-position));
}

.preset-text-comparison-overlay {
  pointer-events: none;
  z-index: 2;
}

.preset-text-comparison-chip {
  position: absolute;
  top: 1rem;
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(9, 14, 23, 0.46);
  border: 1px solid rgba(226, 232, 240, 0.14);
  backdrop-filter: blur(16px);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(248, 250, 252, 0.88);
}

.preset-shell:not(.dark-mode) .preset-text-comparison-chip {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(15, 23, 42, 0.08);
  color: rgba(8, 16, 28, 0.72);
}

.preset-text-comparison-chip.is-before {
  left: 1rem;
}

.preset-text-comparison-chip.is-after {
  right: 1rem;
}

.preset-text-comparison-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--comparison-position);
  width: 0;
}

.preset-text-comparison-divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -1px;
  width: 2px;
  background: linear-gradient(180deg, rgba(248, 250, 252, 0), rgba(248, 250, 252, 0.92) 18%, rgba(248, 250, 252, 0.92) 82%, rgba(248, 250, 252, 0));
  box-shadow: 0 0 24px rgba(248, 250, 252, 0.38);
}

.preset-shell:not(.dark-mode) .preset-text-comparison-divider::before {
  background: linear-gradient(180deg, rgba(8, 16, 28, 0), rgba(8, 16, 28, 0.7) 18%, rgba(8, 16, 28, 0.7) 82%, rgba(8, 16, 28, 0));
  box-shadow: 0 0 18px rgba(15, 23, 42, 0.14);
}

.preset-text-comparison-handle {
  position: absolute;
  top: 50%;
  left: 0;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.22);
  background: rgba(9, 14, 23, 0.72);
  color: rgba(248, 250, 252, 0.96);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px rgba(3, 7, 18, 0.28);
  transform: translate(-50%, -50%);
}

.preset-shell:not(.dark-mode) .preset-text-comparison-handle {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.82);
  color: rgba(8, 16, 28, 0.84);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.preset-text-comparison-range {
  z-index: 3;
  margin: 0;
  appearance: none;
  background: transparent;
  cursor: ew-resize;
  opacity: 0;
  touch-action: none;
}

.preset-text-comparison-range::-webkit-slider-thumb {
  appearance: none;
  width: 3.25rem;
  height: 3.25rem;
}

.preset-text-comparison-range::-moz-range-thumb {
  width: 3.25rem;
  height: 3.25rem;
  border: 0;
}

.preset-text-comparison-section.is-enhanced [data-comparison-card],
.preset-text-comparison-section.is-enhanced .preset-text-comparison-copy > * {
  will-change: transform, opacity;
}

.preset-drag-drop-section {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.preset-drag-drop-layout {
  max-width: 1080px;
  margin: 0 auto;
}

.preset-drag-drop-content {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: stretch;
}

.preset-drag-drop-note {
  position: relative;
  z-index: 3;
  display: inline-flex;
  justify-content: flex-start;
  margin: 0 0 1rem;
  padding: 0;
  appearance: none;
  border: 0;
  background: transparent;
  font-size: 0.78rem;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.7);
  cursor: pointer;
  transition: color 0.18s ease, opacity 0.18s ease;
}

.preset-drag-drop-note:hover,
.preset-drag-drop-note:focus-visible {
  color: rgba(248, 250, 252, 0.92);
  outline: none;
}

.preset-shell:not(.dark-mode) .preset-drag-drop-note {
  color: rgba(15, 23, 42, 0.48);
}

.preset-shell:not(.dark-mode) .preset-drag-drop-note:hover,
.preset-shell:not(.dark-mode) .preset-drag-drop-note:focus-visible {
  color: rgba(8, 16, 28, 0.84);
}

.preset-drag-drop-stage {
  position: relative;
  min-height: clamp(18rem, 28vw, 24rem);
  padding: clamp(0.5rem, 1vw, 0.75rem) 0;
  overflow: hidden;
  touch-action: pan-y;
  z-index: 2;
}

.preset-drag-drop-stage.is-physics-active {
  touch-action: none;
}

.preset-drag-drop-media {
  display: flex;
  position: relative;
  z-index: 3;
  justify-self: end;
  align-self: stretch;
  width: 100%;
  max-width: 320px;
  transform: translateY(clamp(-3rem, -4vw, -1.75rem));
}

.preset-drag-drop-video-frame {
  aspect-ratio: 1 / 1;
  width: min(100%, clamp(16rem, 22vw, 20rem));
  height: clamp(18rem, 28vw, 24rem);
  margin-left: auto;
}

.preset-drag-drop-title {
  max-width: 920px;
  margin: 0 0 1.25rem;
  line-height: 1.02;
}

.preset-drag-drop-description {
  max-width: 880px;
  margin: 0;
}

.preset-drag-word {
  display: inline-block;
  vertical-align: baseline;
  white-space: nowrap;
  border-radius: 0.22em;
  transform-origin: center;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  transition: color 0.18s ease, text-shadow 0.18s ease;
}

.preset-drag-word:hover,
.preset-drag-word.is-dragging {
  color: #f8fbff;
  text-shadow: 0 0 18px rgba(20, 184, 166, 0.2);
}

.preset-shell:not(.dark-mode) .preset-drag-word:hover,
.preset-shell:not(.dark-mode) .preset-drag-word.is-dragging {
  color: #08101c;
  text-shadow: 0 12px 28px rgba(15, 118, 110, 0.16);
}

.preset-drag-drop-stage.is-physics-active .preset-drag-word {
  position: absolute;
  z-index: 1;
  margin: 0;
  will-change: transform;
}

.preset-drag-drop-stage.is-physics-active .preset-drag-word.is-dragging {
  z-index: 2;
}

.preset-3d-section {
  padding-top: clamp(4rem, 8vw, 7rem);
  padding-bottom: clamp(4rem, 8vw, 7rem);
}

.preset-3d-heading {
  max-width: 1080px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
}

.preset-3d-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
  max-width: 1080px;
  margin: 0 auto;
}

.preset-3d-media {
  width: 100%;
}

.preset-3d-video-frame {
  aspect-ratio: 5 / 4;
  width: min(100%, 520px);
  min-height: clamp(20rem, 36vw, 30rem);
  margin-right: auto;
}

.preset-3d-text-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(18rem, 34vw, 28rem);
  perspective: 760px;
  overflow: visible;
  isolation: isolate;
  --preset-3d-stage-scale: 0.98;
  --preset-3d-energy-scale: 0.99;
  --preset-3d-energy-opacity: 0.84;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.preset-3d-text-stage::before {
  content: "";
  position: absolute;
  inset: 12% 6% 8%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle at 20% 38%, rgba(244, 114, 182, 0.34), rgba(244, 114, 182, 0) 30%),
    radial-gradient(circle at 78% 34%, rgba(34, 211, 238, 0.4), rgba(34, 211, 238, 0) 32%),
    radial-gradient(circle at 54% 74%, rgba(147, 51, 234, 0.24), rgba(147, 51, 234, 0) 44%);
  filter: blur(30px);
  opacity: 0.92;
  transform: translate3d(0, 0, 0) rotate(-8deg) scale(var(--preset-3d-stage-scale));
  backface-visibility: hidden;
}

.preset-shell:not(.dark-mode) .preset-3d-text-stage::before {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0) 24%),
    radial-gradient(circle at 20% 38%, rgba(219, 39, 119, 0.22), rgba(219, 39, 119, 0) 30%),
    radial-gradient(circle at 78% 34%, rgba(8, 145, 178, 0.26), rgba(8, 145, 178, 0) 32%),
    radial-gradient(circle at 54% 74%, rgba(126, 34, 206, 0.16), rgba(126, 34, 206, 0) 44%);
  opacity: 0.78;
}

.preset-3d-text {
  position: relative;
  z-index: 1;
  max-width: 100%;
  font-family: "Montserrat", "Sora", sans-serif;
  font-size: clamp(4.25rem, 9vw, 8.8rem);
  font-weight: 900;
  line-height: 0.84;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  color: #f4fbff;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.65),
    0 0 18px rgba(255, 255, 255, 0.4),
    0 0 34px rgba(34, 211, 238, 0.28),
    0 0 54px rgba(236, 72, 153, 0.26),
    0 20px 48px rgba(3, 7, 18, 0.5);
  filter: drop-shadow(0 0 24px rgba(34, 211, 238, 0.28)) drop-shadow(0 0 44px rgba(168, 85, 247, 0.2));
  transform: translateZ(0);
  backface-visibility: hidden;
}

.preset-3d-text::before {
  content: "";
  position: absolute;
  inset: -4% -2%;
  background:
    radial-gradient(circle at 18% 42%, rgba(236, 72, 153, 0.28), rgba(236, 72, 153, 0) 24%),
    radial-gradient(circle at 50% 52%, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0) 18%),
    radial-gradient(circle at 82% 40%, rgba(34, 211, 238, 0.34), rgba(34, 211, 238, 0) 26%),
    radial-gradient(circle at 56% 78%, rgba(147, 51, 234, 0.26), rgba(147, 51, 234, 0) 30%);
  filter: blur(20px);
  opacity: var(--preset-3d-energy-opacity);
  z-index: -1;
  transform: translate3d(0, 0, 0) scale(var(--preset-3d-energy-scale));
  backface-visibility: hidden;
}

.preset-3d-text .z-text {
  transform: rotateX(15deg) rotateY(-24deg);
  transform-style: preserve-3d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.02em;
  white-space: nowrap;
  transform-origin: center center;
  backface-visibility: hidden;
}

.preset-3d-text .z-layer {
  background:
    linear-gradient(108deg, #ffffff 0%, #ffe0f4 9%, #ff4fc3 22%, #56f7ff 46%, #84a9ff 58%, #c77dff 74%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.72),
    0 0 10px rgba(255, 255, 255, 0.4),
    0 0 26px rgba(34, 211, 238, 0.28),
    0 0 36px rgba(236, 72, 153, 0.24);
  filter: saturate(1.28) contrast(1.08);
  transform: translateZ(0);
  backface-visibility: hidden;
}

.preset-3d-text .z-layer:not(:first-child) {
  background: linear-gradient(120deg, #1f2038 0%, #56317d 24%, #0d6f91 48%, #3a1b5e 72%, #101a31 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: brightness(0.94) saturate(1.32);
}

.preset-3d-text .z-layer:first-child {
  -webkit-text-stroke: 1.6px rgba(226, 248, 255, 0.92);
  paint-order: stroke fill;
}

.preset-3d-letter,
.preset-3d-space {
  display: inline-block;
}

.preset-3d-line-stack {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.04em;
}

.preset-3d-row {
  display: block;
  line-height: 0.84;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.preset-3d-letter {
  position: relative;
  transform-origin: center 64%;
  background: inherit;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
}

.preset-3d-letter::before,
.preset-3d-letter::after {
  content: "";
  position: absolute;
  inset: 6% 10% 10%;
  pointer-events: none;
  border-radius: 42%;
  opacity: 0.72;
}

.preset-3d-letter::before {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0) 64%);
  mix-blend-mode: screen;
  filter: blur(2px);
}

.preset-3d-letter::after {
  inset: auto 12% -4% 12%;
  height: 14%;
  background: linear-gradient(90deg, rgba(236, 72, 153, 0.3), rgba(34, 211, 238, 0.7), rgba(168, 85, 247, 0.4));
  filter: blur(5px);
  opacity: 0.82;
}

.preset-3d-section.is-3d-active .preset-3d-text-stage::before,
.preset-3d-section.is-3d-active .preset-3d-text::before,
.preset-3d-section.is-3d-active .preset-3d-letter {
  will-change: transform, opacity;
}

.preset-shell:not(.dark-mode) .preset-3d-text {
  color: #08101c;
  text-shadow:
    0 1px 0 rgba(255, 255, 255, 0.9),
    0 0 14px rgba(255, 255, 255, 0.32),
    0 0 30px rgba(8, 145, 178, 0.22),
    0 16px 34px rgba(15, 23, 42, 0.2);
}

.preset-shell:not(.dark-mode) .preset-3d-text .z-layer {
  background: linear-gradient(108deg, #ffffff 0%, #fbcfe8 12%, #db2777 26%, #06b6d4 48%, #818cf8 62%, #9333ea 76%, #f8fbff 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.preset-shell:not(.dark-mode) .preset-3d-text .z-layer:not(:first-child) {
  background: linear-gradient(120deg, #7c6ea2 0%, #9333ea 28%, #0891b2 52%, #3730a3 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.preset-3d-description {
  max-width: 1080px;
  margin: clamp(2rem, 4vw, 3.25rem) auto 0;
}

.placeholder-layout {
  min-height: calc(100vh - 9rem);
  display: grid;
  place-items: center;
}

.placeholder-panel {
  width: min(760px, 100%);
  text-align: center;
}

.placeholder-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.placeholder-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 1rem 1.5rem;
  border-radius: 999px;
  border: 1px solid rgba(15, 23, 42, 0.1);
  background: rgba(255, 255, 255, 0.56);
  font-weight: 600;
  color: inherit;
  opacity: 1;
}

.placeholder-link:hover {
  background: rgba(255, 255, 255, 0.78);
}

.policy-page {
  display: grid;
  gap: 2rem;
}

.policy-hero,
.policy-card {
  position: relative;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.policy-hero {
  padding: 0;
}

.policy-hero-copy {
  max-width: 780px;
}

.policy-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 1.1rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
}

.policy-kicker::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: currentColor;
}

.preset-shell:not(.dark-mode) .policy-kicker {
  color: rgba(15, 23, 42, 0.72);
}

.policy-subtitle,
.policy-updated {
  margin: 0 0 0.85rem;
}

.policy-subtitle {
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.82);
}

.policy-updated {
  font-size: 0.92rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.72);
}

.preset-shell:not(.dark-mode) .policy-subtitle {
  color: rgba(15, 23, 42, 0.72);
}

.preset-shell:not(.dark-mode) .policy-updated {
  color: rgba(15, 23, 42, 0.52);
}

.policy-card {
  padding: 0;
  display: grid;
  gap: 1.8rem;
}

.policy-section {
  display: grid;
  gap: 0.95rem;
}

.policy-section + .policy-section {
  padding-top: 1.8rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.preset-shell:not(.dark-mode) .policy-section + .policy-section {
  border-top-color: rgba(15, 23, 42, 0.08);
}

.policy-section-heading {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  letter-spacing: -0.03em;
}

.policy-paragraph {
  margin: 0;
  line-height: 1.72;
  color: rgba(226, 232, 240, 0.82);
}

.preset-shell:not(.dark-mode) .policy-paragraph {
  color: rgba(15, 23, 42, 0.76);
}

.policy-list {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.75rem;
  color: rgba(226, 232, 240, 0.82);
}

.preset-shell:not(.dark-mode) .policy-list {
  color: rgba(15, 23, 42, 0.76);
}

.purchased-library-page {
  max-width: 1360px;
  margin: 0 auto;
  padding: 9rem 1.5rem 4.5rem;
  display: grid;
  gap: 2.6rem;
}

.library-section {
  display: grid;
  gap: 1.35rem;
}

.library-heading {
  display: grid;
  gap: 0.85rem;
}

.library-kicker {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  color: #f5f7fb;
}

.library-rule {
  width: min(360px, 100%);
  height: 2px;
  border-radius: 999px;
  background: #000000;
  box-shadow: none;
}

.library-card-grid {
  display: grid;
  gap: 1.25rem;
}

.library-pack-card {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr) minmax(220px, 280px);
  gap: 1.5rem;
  align-items: center;
  padding: 1.5rem;
  border-radius: 34px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(8, 12, 20, 0.72);
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.34);
}

.library-pack-art {
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 28px;
  border: 1px solid rgba(0, 0, 0, 0.24);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.07), rgba(251, 191, 36, 0.06), rgba(249, 115, 22, 0.06));
  display: grid;
  place-items: center;
  padding: 1rem;
}

.library-pack-art-label {
  width: 100%;
  text-align: center;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: rgba(241, 245, 249, 0.9);
}

.library-pack-copy {
  display: grid;
  gap: 0.85rem;
}

.library-pack-title {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.5rem, 2.2vw, 2.3rem);
  font-weight: 800;
  letter-spacing: -0.04em;
}

.library-pack-description {
  margin: 0;
  max-width: 40rem;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(226, 232, 240, 0.72);
}

.library-pack-meta {
  display: grid;
  justify-items: end;
  gap: 0.7rem;
}

.library-pack-date-label {
  margin: 0;
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.82);
}

.library-pack-date {
  margin: 0;
  font-size: 0.98rem;
  color: rgba(226, 232, 240, 0.66);
}

.library-pack-button,
.library-pack-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  min-width: 210px;
  padding: 0.95rem 1.45rem;
  border-radius: 999px;
  font-weight: 800;
  text-transform: uppercase;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

.library-pack-button {
  border: 0;
  background: #000000;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.28);
}

.library-pack-secondary {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.06);
  color: inherit;
}

.library-pack-button:hover,
.library-pack-secondary:hover {
  transform: translateY(-2px);
}

.library-empty-state {
  width: 100%;
  text-align: left;
}

.library-empty-state .placeholder-title {
  margin-bottom: 0.75rem;
  font-size: clamp(2rem, 3vw, 3rem);
}

.library-empty-available .placeholder-title {
  font-size: clamp(1.7rem, 2.6vw, 2.5rem);
}

.download-access-page {
  max-width: 1280px;
  margin: 0 auto;
  padding: 9rem 1.5rem 4.5rem;
  display: grid;
  gap: 2.5rem;
}

.download-hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(0, 1.1fr);
  gap: 2.2rem;
  align-items: center;
}

.download-hero-copy {
  display: grid;
  gap: 1rem;
}

.download-kicker,
.download-history-kicker {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.8);
}

.download-title,
.download-history-title {
  margin: 0;
  font-family: 'Sora', sans-serif;
  letter-spacing: -0.04em;
}

.download-title {
  font-size: clamp(2.35rem, 5vw, 4.25rem);
  line-height: 1.02;
}

.download-description {
  margin: 0;
  max-width: 36rem;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(226, 232, 240, 0.76);
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 0.4rem;
}

.download-primary-button,
.download-secondary-link {
  min-height: 56px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.download-primary-button {
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(241, 245, 249, 0.62);
  cursor: not-allowed;
}

.download-secondary-link {
  background: #000000;
  color: #ffffff;
  box-shadow: 0 18px 42px rgba(17, 24, 39, 0.28);
}

.download-secondary-link:hover {
  transform: translateY(-2px);
}

.download-hero-art {
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.14);
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.24);
  aspect-ratio: 4 / 5;
}

.download-hero-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.download-history {
  display: grid;
  gap: 1.35rem;
}

.download-history-heading {
  display: grid;
  gap: 0.4rem;
}

.download-history-title {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.download-history-list {
  display: grid;
  gap: 1rem;
}

.download-history-item {
  display: grid;
  grid-template-columns: minmax(160px, 220px) minmax(0, 1fr) auto;
  gap: 1rem 1.4rem;
  padding: 1.15rem 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  align-items: start;
}

.download-history-item:first-child {
  padding-top: 0.2rem;
  border-top: 0;
}

.download-history-meta {
  display: grid;
  gap: 0.4rem;
  align-content: start;
}

.download-history-version {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  background: #000000;
}

.download-history-date {
  color: rgba(226, 232, 240, 0.62);
}

.download-history-copy {
  display: grid;
  gap: 0.45rem;
}

.download-history-copy h3,
.download-history-copy p {
  margin: 0;
}

.download-history-copy h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.download-history-copy p {
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.74);
}

.download-history-actions {
  display: flex;
  justify-content: flex-end;
}

.download-history-button {
  min-height: 48px;
  min-width: 140px;
  padding: 0.85rem 1.2rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(241, 245, 249, 0.62);
  font-weight: 700;
  cursor: not-allowed;
}

.preset-shell:not(.dark-mode) .library-kicker,
.preset-shell:not(.dark-mode) .library-pack-art-label {
  color: #08101c;
}

.preset-shell:not(.dark-mode) .library-rule {
  background: #000000;
}

.preset-shell:not(.dark-mode) .library-pack-card {
  background: rgba(255, 255, 255, 0.88);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.preset-shell:not(.dark-mode) .library-pack-art {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(0, 0, 0, 0.14);
}

.preset-shell:not(.dark-mode) .library-pack-description,
.preset-shell:not(.dark-mode) .library-pack-date {
  color: rgba(15, 23, 42, 0.68);
}

.preset-shell:not(.dark-mode) .library-pack-date-label {
  color: rgba(15, 23, 42, 0.58);
}

.preset-shell:not(.dark-mode) .library-pack-button {
  color: #ffffff;
}

.preset-shell:not(.dark-mode) .library-pack-secondary {
  background: rgba(15, 23, 42, 0.05);
  border-color: rgba(15, 23, 42, 0.08);
}

.preset-shell:not(.dark-mode) .download-hero-art {
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.1);
}

.preset-shell:not(.dark-mode) .download-kicker,
.preset-shell:not(.dark-mode) .download-history-kicker {
  color: rgba(15, 23, 42, 0.54);
}

.preset-shell:not(.dark-mode) .download-description,
.preset-shell:not(.dark-mode) .download-history-date,
.preset-shell:not(.dark-mode) .download-history-copy p {
  color: rgba(15, 23, 42, 0.68);
}

.preset-shell:not(.dark-mode) .download-primary-button {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.48);
}

.preset-shell:not(.dark-mode) .download-history-button {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.04);
  color: rgba(15, 23, 42, 0.48);
}

.preset-footer {
  position: relative;
  z-index: 1;
  padding: 0 1.5rem 2.5rem;
}

.preset-footer-inner {
  max-width: 1360px;
  margin: 0 auto;
  padding: 1.2rem 0 0;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: rgba(226, 232, 240, 0.58);
}

.preset-shell:not(.dark-mode) .preset-footer-inner {
  color: rgba(15, 23, 42, 0.56);
  border-top-color: rgba(15, 23, 42, 0.08);
}

.preset-footer-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(3, 8, 17, 0.64);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.auth-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.auth-modal-panel {
  position: relative;
  width: min(520px, 100%);
  padding: 2rem;
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(7, 10, 18, 0.92);
  box-shadow: 0 40px 100px rgba(2, 6, 23, 0.45);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.auth-modal.is-open .auth-modal-panel {
  transform: translateY(0) scale(1);
}

.preset-shell:not(.dark-mode) .auth-modal-panel {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 32px 82px rgba(15, 23, 42, 0.16);
}

.auth-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: inherit;
  background: rgba(255, 255, 255, 0.06);
}

.preset-shell:not(.dark-mode) .auth-close {
  background: rgba(15, 23, 42, 0.05);
}

.auth-close:hover {
  transform: rotate(90deg);
}

.auth-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.75rem;
}

.auth-google-button {
  width: 100%;
  background: #ffffff;
  color: #0f172a;
  box-shadow: 0 16px 38px rgba(255, 255, 255, 0.08);
}

.auth-submit-button {
  width: 100%;
  margin-top: 1rem;
  min-height: 54px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.4rem;
  font-weight: 700;
  color: #ffffff;
  background: #000000;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.auth-submit-button:hover {
  transform: translateY(-2px);
}

.auth-forgot-button {
  display: inline-flex;
  justify-content: center;
  width: 100%;
  margin-top: 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: #ffffff;
}

.auth-forgot-button:hover {
  color: rgba(255, 255, 255, 0.82);
}

.preset-shell:not(.dark-mode) .auth-forgot-button {
  color: #000000;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin: 1.5rem 0;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(148, 163, 184, 0.74);
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(148, 163, 184, 0.18);
}

.auth-status {
  display: none;
  margin: 0 0 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  font-size: 0.92rem;
  font-weight: 600;
}

.auth-status.error {
  display: block;
  color: #fecaca;
  background: rgba(127, 29, 29, 0.42);
  border: 1px solid rgba(248, 113, 113, 0.45);
}

.auth-status.success {
  display: block;
  color: #bbf7d0;
  background: rgba(20, 83, 45, 0.36);
  border: 1px solid rgba(74, 222, 128, 0.32);
}

.preset-shell:not(.dark-mode) .auth-status.error {
  color: #991b1b;
  background: rgba(254, 226, 226, 0.96);
  border-color: rgba(239, 68, 68, 0.28);
}

.preset-shell:not(.dark-mode) .auth-status.success {
  color: #166534;
  background: rgba(220, 252, 231, 0.98);
  border-color: rgba(74, 222, 128, 0.28);
}

.auth-form-grid {
  display: grid;
  gap: 1rem;
}

.auth-field {
  display: grid;
  gap: 0.55rem;
}

.auth-name-field[hidden] {
  display: none !important;
}

.auth-field[hidden],
.auth-google-button[hidden],
.auth-divider[hidden],
.auth-toggle-row[hidden],
.auth-forgot-button[hidden],
.auth-note[hidden] {
  display: none !important;
}

.auth-field label {
  font-size: 0.88rem;
  font-weight: 600;
}

.auth-field input {
  min-height: 52px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  padding: 0 1rem;
}

.auth-field input[aria-invalid="true"] {
  border-color: #f87171;
  box-shadow: 0 0 0 1px rgba(248, 113, 113, 0.28);
}

.preset-shell:not(.dark-mode) .auth-field input {
  background: rgba(15, 23, 42, 0.03);
  border-color: rgba(15, 23, 42, 0.08);
}

.preset-shell:not(.dark-mode) .auth-field input[aria-invalid="true"] {
  border-color: #dc2626;
  box-shadow: 0 0 0 1px rgba(220, 38, 38, 0.16);
}

.auth-field[data-auth-turnstile-field] {
  justify-items: center;
  margin-top: 0.35rem;
  margin-bottom: 1rem;
}

.auth-field[data-auth-turnstile-field] > [data-auth-turnstile] {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 66px;
  overflow: visible;
}

.auth-field[data-auth-turnstile-field] > [data-auth-turnstile] > div {
  width: 100%;
  min-width: 0;
  max-width: 100%;
  margin: 0 auto;
}

.auth-toggle-row {
  display: flex;
  gap: 0.5rem;
  width: 100%;
  padding: 0.4rem;
  margin: 1.1rem 0 1.4rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
}

.preset-shell.dark-mode .auth-toggle-row {
  background: linear-gradient(180deg, rgba(14, 14, 14, 0.96), rgba(6, 6, 6, 0.98));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.03),
    0 12px 28px rgba(0, 0, 0, 0.24);
}

.preset-shell:not(.dark-mode) .auth-toggle-row {
  background: rgba(15, 23, 42, 0.04);
}

.auth-toggle-row .auth-tab {
  flex: 1 1 0;
  min-width: 120px;
  min-height: 44px;
  padding: 0.85rem 1.1rem;
  border-radius: 999px;
  background: transparent;
  color: #000000;
  font-weight: 600;
  text-align: center;
}

.preset-shell.dark-mode .auth-toggle-row .auth-tab {
  color: #ffffff;
}

.auth-toggle-row .auth-tab.is-active {
  color: #ffffff;
  background: #000000;
}

.preset-shell.dark-mode .auth-toggle-row .auth-tab.is-active {
  color: #ffffff;
  background: linear-gradient(180deg, rgba(30, 30, 30, 0.98), rgba(16, 16, 16, 1));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 20px rgba(0, 0, 0, 0.28);
}

.auth-forgot-progress {
  margin: 1rem 0 1.35rem;
}

.auth-forgot-progress-track {
  position: relative;
  width: 100%;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.08);
}

.auth-forgot-progress-fill {
  display: block;
  width: var(--forgot-progress, 0%);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #22c55e, #16a34a);
  box-shadow: 0 0 18px rgba(34, 197, 94, 0.18);
  transition: width 0.42s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.preset-shell.dark-mode .auth-forgot-progress-track {
  background: rgba(255, 255, 255, 0.08);
}

.preset-shell:not(.dark-mode) .auth-forgot-progress-track {
  background: rgba(15, 23, 42, 0.07);
}

.preset-shell.dark-mode .auth-user-trigger,
.preset-shell.dark-mode .preset-login-button,
.preset-shell.dark-mode .preset-buy-button,
.preset-shell.dark-mode .placeholder-button,
.preset-shell.dark-mode .library-pack-button,
.preset-shell.dark-mode .auth-submit-button,
.preset-shell.dark-mode .purchase-success-badge,
.preset-shell.dark-mode .purchase-success-link {
  background: #000000;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.32);
}

.preset-shell.dark-mode .auth-user-trigger:hover,
.preset-shell.dark-mode .preset-login-button:hover,
.preset-shell.dark-mode .preset-buy-button:hover,
.preset-shell.dark-mode .placeholder-button:hover,
.preset-shell.dark-mode .library-pack-button:hover,
.preset-shell.dark-mode .auth-submit-button:hover,
.preset-shell.dark-mode .purchase-success-link:hover {
  background: #111111;
  border-color: #ffffff;
  color: #ffffff;
}

.auth-note {
  margin-top: 1.35rem;
  padding: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(226, 232, 240, 0.7);
  text-align: center;
}

.preset-shell:not(.dark-mode) .auth-note {
  color: rgba(15, 23, 42, 0.66);
}

.purchase-success-modal {
  position: fixed;
  inset: 0;
  z-index: 1450;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(3, 8, 17, 0.64);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.purchase-success-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.purchase-success-panel {
  position: relative;
  width: min(560px, 100%);
  padding: 2.2rem;
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(7, 10, 18, 0.94);
  box-shadow: 0 40px 100px rgba(2, 6, 23, 0.45);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.purchase-success-modal.is-open .purchase-success-panel {
  transform: translateY(0) scale(1);
}

.preset-shell:not(.dark-mode) .purchase-success-panel {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 32px 82px rgba(15, 23, 42, 0.16);
}

.purchase-success-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: #ffffff;
  background: #000000;
}

.purchase-success-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 2.7rem);
  letter-spacing: -0.03em;
  margin-bottom: 0.85rem;
}

.purchase-success-copy {
  line-height: 1.8;
  color: rgba(226, 232, 240, 0.78);
}

.preset-shell:not(.dark-mode) .purchase-success-copy {
  color: rgba(15, 23, 42, 0.7);
}

.purchase-success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.purchase-success-link,
.purchase-success-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0.95rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
}

.purchase-success-link {
  color: #ffffff;
  background: #000000;
  box-shadow: 0 16px 36px rgba(17, 24, 39, 0.28);
}

.purchase-success-secondary {
  color: inherit;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.04);
}

.preset-shell:not(.dark-mode) .purchase-success-secondary {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.03);
}

.purchase-policy-modal {
  position: fixed;
  inset: 0;
  z-index: 1455;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(3, 8, 17, 0.64);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.purchase-policy-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.purchase-policy-panel {
  position: relative;
  width: min(560px, 100%);
  padding: 2.2rem;
  border-radius: 30px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(7, 10, 18, 0.94);
  box-shadow: 0 40px 100px rgba(2, 6, 23, 0.45);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}

.purchase-policy-modal.is-open .purchase-policy-panel {
  transform: translateY(0) scale(1);
}

.payment-issue-panel {
  width: min(620px, 100%);
}

.preset-shell:not(.dark-mode) .purchase-policy-panel {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 32px 82px rgba(15, 23, 42, 0.16);
}

.purchase-policy-inline-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.purchase-policy-check {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-top: 1.5rem;
  padding: 1rem 1.05rem;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(255, 255, 255, 0.04);
  line-height: 1.6;
  cursor: pointer;
}

.preset-shell:not(.dark-mode) .purchase-policy-check {
  border-color: rgba(15, 23, 42, 0.08);
  background: rgba(15, 23, 42, 0.03);
}

.purchase-policy-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  accent-color: #000000;
}

.purchase-policy-confirm.is-disabled,
.purchase-policy-confirm:disabled {
  opacity: 0.48;
  box-shadow: none;
  cursor: not-allowed;
}

@keyframes preset-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes preset-scroll-bob {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.72;
  }

  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

@keyframes preset-crt-flicker {
  0%,
  100% {
    opacity: 0.38;
    transform: translate3d(0, 0, 0);
  }

  45% {
    opacity: 0.32;
  }

  46% {
    opacity: 0.43;
    transform: translate3d(0.35px, 0, 0);
  }

  72% {
    opacity: 0.36;
    transform: translate3d(-0.25px, 0, 0);
  }
}

@media (max-width: 1120px) {
  .preset-detail-layout {
    grid-template-columns: 1fr;
  }

  .preset-preview-frame {
    min-height: 600px;
  }

}

@media (max-width: 900px) {
  .preset-shell .nav-container {
    flex-direction: column;
    align-items: stretch;
  }

  .preset-shell .nav-pill {
    justify-content: center;
    flex-wrap: wrap;
  }

  .nav-actions {
    justify-content: center;
  }

  .auth-user-popover {
    right: 50%;
    transform: translate(50%, 10px);
  }

  .auth-user-menu:hover .auth-user-popover,
  .auth-user-menu:focus-within .auth-user-popover {
    transform: translate(50%, 0);
  }

  .purchased-library-page {
    padding-top: 8rem;
  }

  .library-pack-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .library-pack-meta {
    justify-items: start;
  }

  .download-hero {
    grid-template-columns: 1fr;
  }

  .download-history-item {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .preset-shell .navbar {
    padding: 1rem 0;
  }

  .preset-shell .nav-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0 1rem;
  }

  .preset-shell .nav-pill,
  .preset-shell .nav-actions {
    display: none;
  }

  .preset-mobile-nav-toggle,
  .preset-mobile-theme-toggle,
  .preset-mobile-nav {
    display: flex;
  }

  .preset-page {
    padding-top: 7.75rem;
  }

  .preset-preview-frame {
    min-height: 400px;
  }

  .preset-price-block,
  .preset-actions,
  .placeholder-actions,
  .preset-footer-inner,
  .purchase-success-actions,
  .download-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .preset-buy-button,
  .placeholder-button,
  .preset-login-button,
  .library-pack-button,
  .library-pack-secondary,
  .auth-google-button,
  .purchase-success-link,
  .purchase-success-secondary,
  .download-primary-button,
  .download-secondary-link {
    width: 100%;
  }

  .auth-modal-panel,
  .purchase-success-panel {
    padding: 1.6rem;
  }

  .download-access-page {
    padding-top: 7.75rem;
  }

  .download-hero-copy,
  .download-history {
    padding-inline: 0;
  }

  .preset-requirements-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .preset-requirements-copy {
    max-width: none;
  }

  .preset-requirements-list {
    margin-top: 0.5rem;
  }

  .preset-requirements-item {
    grid-template-columns: 2.4rem minmax(0, 1fr);
    gap: 0.8rem;
    padding: 1rem 0;
  }

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

  .preset-requirements-logo-link {
    min-height: 5rem;
    padding-inline: 0.1rem;
  }

  .preset-text-comparison-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .preset-date-reel-copy {
    padding-right: 0;
  }

  .preset-date-reel-media {
    justify-self: stretch;
  }

  .preset-text-comparison-frame.preset-date-reel-frame {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .preset-png-popup-media {
    justify-content: center;
  }

  .preset-date-reel-hint {
    width: min(100%, 360px);
    margin: 0 auto;
  }

  .preset-date-reel-button {
    width: 100%;
  }

  .preset-text-comparison-copy {
    padding-left: 0;
    padding-right: 0;
  }

  .preset-text-comparison-frame {
    width: 100%;
    border-radius: 1.4rem;
  }

  .preset-project-files-showcase-frame {
    width: 100%;
  }

  .preset-drag-drop-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .preset-drag-drop-note {
    display: none;
  }

  .preset-drag-word {
    user-select: text;
    -webkit-user-select: text;
    touch-action: auto;
    transition: none;
  }

  .preset-drag-word:hover,
  .preset-drag-word.is-dragging,
  .preset-shell:not(.dark-mode) .preset-drag-word:hover,
  .preset-shell:not(.dark-mode) .preset-drag-word.is-dragging {
    color: inherit;
    text-shadow: none;
  }

  .preset-drag-drop-media {
    justify-self: stretch;
    max-width: 320px;
    margin: 0 auto;
    transform: none;
  }

  .preset-drag-drop-video-frame {
    width: 100%;
    height: auto;
  }

  .preset-3d-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .preset-3d-video-frame {
    width: min(100%, 420px);
    min-height: auto;
    margin: 0 auto;
  }

  .preset-3d-text-stage {
    display: none;
  }

  .preset-3d-text {
    font-size: clamp(3.35rem, 17vw, 5.75rem);
  }

  .preset-3d-text .z-text {
    transform: rotateX(12deg) rotateY(-16deg);
    gap: 0.01em;
  }

  .preset-3d-letter::after {
    height: 10%;
    filter: blur(4px);
  }

  .preset-price-block {
    align-items: flex-start;
  }

  .preset-price-original {
    display: block;
  }

  .preset-text-comparison-handle {
    width: 2.9rem;
    height: 2.9rem;
  }

  .preset-text-comparison-chip {
    top: 0.85rem;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
  }

  .policy-card,
  .policy-hero {
    padding: 0;
  }

  .library-pack-art {
    width: 100%;
  }
}
