.gan-fx-main {
  color-scheme: dark;
  --background: #08090a;
  --surface: #0d0e10;
  --surface-raised: #121315;
  --surface-soft: #17181b;
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.17);
  --text: #f5f5f5;
  --muted: #95989d;
  --muted-low: #686c71;
  --shell: min(1180px, calc(100vw - 48px));
  --tracking-body: 0.025em;
  --tracking-heading: 0.008em;
  --tracking-label: 0.11em;
}

.gan-fx-main * {
  box-sizing: border-box;
}

.gan-fx-main {
  scroll-behavior: smooth;
}

.gan-fx-main {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 255, 255, 0.085), transparent 30%),
    var(--background);
  font-family: Inter, "SF Pro Display", "SF Pro Text", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: var(--tracking-body);
  -webkit-font-smoothing: antialiased;
}

.gan-fx-main a {
  color: inherit;
  text-decoration: none;
}

.gan-fx-main button {
  font: inherit;
}

.gan-fx-main img,
.gan-fx-main video,
.gan-fx-main svg {
  display: block;
  max-width: 100%;
}

.gan-fx-main ::selection {
  color: #08090a;
  background: #fff;
}

.gan-fx-main .shell {
  width: var(--shell);
  margin-inline: auto;
}

.gan-fx-main .site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 64px;
  background: rgba(8, 9, 10, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.gan-fx-main .nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.gan-fx-main .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #f1f1f1;
  font-size: 13px;
  letter-spacing: 0.11em;
}

.gan-fx-main .brand-mark {
  position: relative;
  width: 26px;
  height: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
}

.gan-fx-main .brand-mark::before,
.gan-fx-main .brand-mark::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 4px;
  height: 16px;
  background: #fff;
  border-radius: 4px;
  transform: skew(-15deg);
}

.gan-fx-main .brand-mark::before {
  left: 7px;
}

.gan-fx-main .brand-mark::after {
  left: 15px;
  opacity: 0.5;
}

.gan-fx-main .brand-logo {
  width: 39px;
  height: 25px;
  display: block;
  flex: 0 0 auto;
  object-fit: contain;
}

.gan-fx-main .nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.04em;
}

.gan-fx-main .nav-links a {
  transition: color 180ms ease;
}

.gan-fx-main .nav-links a:hover {
  color: #fff;
}

.gan-fx-main .nav-cta {
  padding: 9px 15px;
  color: #08090a !important;
  background: #fff;
  border-radius: 9px;
  letter-spacing: 0.06em;
}

.gan-fx-main {
  overflow: hidden;
}

.gan-fx-main .hero {
  min-height: 850px;
  padding: 184px 0 118px;
  display: grid;
  place-items: center;
  text-align: center;
}

.gan-fx-main .hero-content {
  max-width: 1080px;
}

.gan-fx-main .eyebrow,
.gan-fx-main .section-kicker {
  color: #b8bbc0;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.gan-fx-main h1,
.gan-fx-main h2,
.gan-fx-main p {
  margin-top: 0;
}

.gan-fx-main h1 {
  max-width: 1030px;
  margin: 28px auto 26px;
  font-size: clamp(52px, 7.5vw, 98px);
  line-height: 1.08;
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
}

.gan-fx-main h1 span {
  display: block;
  color: #777b80;
}

.gan-fx-main .hero-description {
  max-width: 880px;
  margin: 0 auto;
  color: #aeb1b5;
  font-size: clamp(15px, 1.8vw, 19px);
  line-height: 1.8;
  letter-spacing: 0.04em;
}

.gan-fx-main .purchase-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.gan-fx-main .purchase-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  min-height: 49px;
  padding: 0 22px;
  color: #ededed;
  background: #141517;
  border: 1px solid var(--line-strong);
  border-radius: 11px;
  cursor: pointer;
  letter-spacing: 0.07em;
  text-decoration: none;
}

.gan-fx-main .purchase-button.is-primary {
  color: #08090a;
  background: #fff;
  border-color: #fff;
}

.gan-fx-main .purchase-button.is-disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.gan-fx-main .support-note {
  margin: 17px 0 0;
  color: var(--muted-low);
  font-size: 11px;
  line-height: 1.7;
  letter-spacing: 0.07em;
}

.gan-fx-main .support-logos {
  margin-top: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.gan-fx-main .hardware-logo {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #c9cbce;
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.11em;
  opacity: 0.76;
}

.gan-fx-main .hardware-logo img {
  width: 23px;
  height: 23px;
  display: block;
  filter: invert(1);
}

.gan-fx-main .hardware-logo-apple {
  gap: 7px;
}

.gan-fx-main .hardware-logo-apple img {
  width: 20px;
  height: 20px;
}

.gan-fx-main .m-chip-mark {
  width: 25px;
  height: 25px;
  display: inline-grid;
  place-items: center;
  color: #dedfe1;
  background: #111214;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-size: 13px;
  letter-spacing: 0;
}

.gan-fx-main .hero-line {
  width: min(880px, 82vw);
  height: 1px;
  margin: 100px auto 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.38), transparent);
  box-shadow: 0 0 80px 20px rgba(255, 255, 255, 0.075);
}

.gan-fx-main .catalog-section,
.gan-fx-main .tutorial-section {
  padding: 118px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  scroll-margin-top: 64px;
}

.gan-fx-main .catalog-section:nth-of-type(odd) {
  background: rgba(255, 255, 255, 0.008);
}

.gan-fx-main .section-heading {
  max-width: 770px;
  margin-bottom: 45px;
}

.gan-fx-main .section-heading.center {
  margin-inline: auto;
  text-align: center;
}

.gan-fx-main .section-heading h2 {
  margin: 15px 0 15px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1.14;
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
}

.gan-fx-main .section-heading p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: var(--tracking-body);
}

.gan-fx-main .catalog-window {
  padding: 12px;
  background: #090a0b;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 19px;
  box-shadow: 0 30px 76px rgba(0, 0, 0, 0.34);
}

.gan-fx-main .catalog-topbar {
  height: 42px;
  padding: 0 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #92959a;
  background: #101112;
  border-radius: 10px;
  font-size: 11px;
  letter-spacing: 0.07em;
}

.gan-fx-main .window-dots {
  display: flex;
  gap: 5px;
}

.gan-fx-main .window-dots i {
  width: 5px;
  height: 5px;
  background: #595c60;
  border-radius: 50%;
}

.gan-fx-main .category-strip {
  min-height: 61px;
  padding: 12px 0 9px;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: thin;
  scrollbar-color: #33363a transparent;
}

.gan-fx-main .category-button {
  min-height: 36px;
  padding: 0 13px;
  flex: 0 0 auto;
  color: #92959a;
  background: #131416;
  border: 1px solid var(--line);
  border-radius: 9px;
  cursor: pointer;
  font-size: 11px;
  letter-spacing: 0.045em;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.gan-fx-main .category-button:hover {
  color: #fff;
  border-color: var(--line-strong);
}

.gan-fx-main .category-button.active {
  color: #08090a;
  background: #fff;
  border-color: #fff;
}

.gan-fx-main .catalog-status {
  min-height: 22px;
  padding: 0 2px 9px;
  color: var(--muted-low);
  font-size: 11px;
  line-height: 1.6;
  letter-spacing: 0.04em;
}

.gan-fx-main .catalog-status.error {
  color: #dc7777;
}

.gan-fx-main .preview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.gan-fx-main .preview-card {
  min-width: 0;
  overflow: hidden;
  position: relative;
  background: #121315;
  border-radius: 10px;
}

.gan-fx-main .preview-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background:
    linear-gradient(110deg, transparent 25%, rgba(255, 255, 255, 0.055) 45%, transparent 65%),
    #151618;
  background-size: 250% 100%;
}

.gan-fx-main .preview-card:not(.image-ready) .preview-media {
  animation: shimmer 1.25s linear infinite;
}

.gan-fx-main .preview-media img,
.gan-fx-main .preview-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gan-fx-main .preview-media img {
  opacity: 0;
  transition: opacity 220ms ease;
}

.gan-fx-main .preview-card.image-ready img {
  opacity: 1;
}

.gan-fx-main .preview-media video {
  z-index: 2;
  opacity: 0;
  transition: opacity 180ms ease;
}

.gan-fx-main .preview-card.video-ready video {
  opacity: 1;
}

.gan-fx-main .preview-card.video-ready img {
  opacity: 0;
}

.gan-fx-main .preview-loader {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 4;
  width: 22px;
  height: 22px;
  margin: -11px 0 0 -11px;
  border: 2px solid rgba(255, 255, 255, 0.14);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 700ms linear infinite;
}

.gan-fx-main .preview-card.image-ready:not(.loading-video) .preview-loader {
  display: none;
}

.gan-fx-main .preview-name {
  min-height: 43px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  color: #d8d9db;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: 0.04em;
}

.gan-fx-main .empty-state {
  min-height: 260px;
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  color: #777b80;
  background: #111214;
  border-radius: 10px;
  font-size: 12px;
  letter-spacing: 0.05em;
}

@keyframes shimmer {
  to {
    background-position: -250% 0;
  }
}

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

.gan-fx-main .tutorial-section {
  padding-bottom: 138px;
}

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

.gan-fx-main .tutorial-slot {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.025), transparent 27%),
    #0b0c0e;
  border: 1px solid var(--line);
  border-radius: 24px;
}

.gan-fx-main .go-openfx-video,
.gan-fx-main .go-openfx-showreel-video {
  width: 100%;
  height: 100%;
  display: block;
  background: #050506;
  border: 0;
  object-fit: cover;
}

.gan-fx-main .tutorial-placeholder {
  display: grid;
  justify-items: center;
  color: #d8d9db;
  text-align: center;
}

.gan-fx-main .tutorial-placeholder strong {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.gan-fx-main .tutorial-placeholder > span:last-child {
  margin-top: 8px;
  color: var(--muted-low);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.gan-fx-main .tutorial-play {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.gan-fx-main .tutorial-play::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 4px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #fff;
}

.gan-fx-main .examples-section {
  position: relative;
  overflow: hidden;
  padding: 118px 0 138px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  scroll-margin-top: 64px;
}

.gan-fx-main .examples-section .section-heading {
  margin-bottom: 45px;
}

.gan-fx-main .example-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%);
}

.gan-fx-main .example-track {
  display: flex;
  width: max-content;
  transform: translate3d(0, 0, 0);
  will-change: transform;
}

.gan-fx-main .example-group {
  display: flex;
  flex: 0 0 auto;
  gap: 16px;
  padding-right: 16px;
}

.gan-fx-main .example-card {
  position: relative;
  flex: 0 0 clamp(290px, 31vw, 440px);
  overflow: hidden;
  background: #090a0b;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  cursor: pointer;
  isolation: isolate;
}

.gan-fx-main .example-media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #08090a;
}

.gan-fx-main .example-media img,
.gan-fx-main .example-media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.gan-fx-main .example-media img {
  z-index: 1;
  opacity: 1;
  transition: opacity 180ms ease;
}

.gan-fx-main .example-media video {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.gan-fx-main .example-card.is-playing .example-media img {
  opacity: 0;
}

.gan-fx-main .example-card.is-playing .example-media video {
  opacity: 1;
}

.gan-fx-main .example-loader {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  width: 25px;
  height: 25px;
  margin: -12px 0 0 -12px;
  opacity: 0;
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-top-color: #fff;
  border-radius: 50%;
  pointer-events: none;
}

.gan-fx-main .example-card.is-loading .example-loader {
  opacity: 1;
  animation: example-loader-spin 700ms linear infinite;
}

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

.gan-fx-main .example-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.gan-fx-main .example-controls button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #92979d;
  background: #111214;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.gan-fx-main .example-controls button:hover,
.gan-fx-main .example-controls button.is-active {
  color: #090a0b;
  background: #fff;
  border-color: #fff;
}

.gan-fx-main .example-controls svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.gan-fx-main .example-empty {
  min-height: 220px;
  display: grid;
  place-items: center;
  padding: 30px;
  color: var(--muted-low);
  background: #0b0c0e;
  border: 1px solid var(--line);
  border-radius: 18px;
  font-size: 13px;
  text-align: center;
}

.gan-fx-main .closing {
  padding: 155px 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.gan-fx-main .closing h2 {
  max-width: 860px;
  margin: 17px auto 0;
  font-size: clamp(42px, 6.6vw, 76px);
  line-height: 1.18;
  font-weight: 500;
  letter-spacing: var(--tracking-heading);
}

.gan-fx-main .closing .purchase-actions {
  margin-top: 37px;
}

.gan-fx-main footer {
  padding: 28px 0 38px;
  color: #707479;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px;
  letter-spacing: 0.06em;
}

.gan-fx-main .footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.gan-fx-main .footer-links a {
  transition: color 160ms ease;
}

.gan-fx-main .footer-links a:hover {
  color: #fff;
}

.gan-fx-main .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.gan-fx-main .reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 900px) {
  .gan-fx-main {
    --shell: min(100% - 32px, 760px);
  }

  .gan-fx-main .nav-links a:not(.nav-cta) {
    display: none;
  }

  .gan-fx-main .hero {
    min-height: 760px;
    padding-top: 154px;
  }

  .gan-fx-main .preview-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .gan-fx-main {
    --shell: calc(100vw - 24px);
  }

  .gan-fx-main .site-header {
    height: 58px;
  }

  .gan-fx-main .brand {
    font-size: 11px;
  }

  .gan-fx-main .nav-cta {
    padding: 8px 11px;
  }

  .gan-fx-main .hero {
    min-height: 700px;
    padding: 132px 0 82px;
  }

  .gan-fx-main h1 {
    font-size: clamp(48px, 15vw, 70px);
  }

  .gan-fx-main .hero-description {
    font-size: 14px;
  }

  .gan-fx-main .purchase-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .gan-fx-main .purchase-button {
    width: 100%;
  }

  .gan-fx-main .catalog-section,
  .gan-fx-main .tutorial-section,
  .gan-fx-main .examples-section {
    padding: 82px 0;
  }

  .gan-fx-main .section-heading {
    margin-bottom: 32px;
  }

  .gan-fx-main .catalog-window {
    padding: 9px;
    border-radius: 15px;
  }

  .gan-fx-main .preview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .gan-fx-main .preview-name {
    min-height: 40px;
    padding-inline: 9px;
  }

  .gan-fx-main .tutorial-slot {
    border-radius: 18px;
  }

  .gan-fx-main .showreel-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .gan-fx-main .example-marquee {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 3%, #000 97%, transparent 100%);
  }

  .gan-fx-main .example-group {
    gap: 10px;
    padding-right: 10px;
  }

  .gan-fx-main .example-card {
    flex-basis: 78vw;
    border-radius: 14px;
  }

  .gan-fx-main .example-controls {
    margin-top: 22px;
  }

  .gan-fx-main .closing {
    padding: 110px 0;
  }

  .gan-fx-main .footer-content {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gan-fx-main {
    scroll-behavior: auto;
  }

  .gan-fx-main *,
  .gan-fx-main *::before,
  .gan-fx-main *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* WordPress admin bar spacing. */
.gan-fx-main body.admin-bar .site-header {
  top: 32px;
}

.gan-fx-main .footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

@media (max-width: 782px) {
  .gan-fx-main body.admin-bar .site-header {
    top: 46px;
  }
}
