/* Design polish layer — intentionally separate from the Webflow export. */
@font-face {
  font-family: "Inter Variable";
  src: url("../fonts/Inter-VariableFont_opszwght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ease-out: cubic-bezier(.23, 1, .32, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --surface: rgba(24, 24, 24, .76);
  --surface-raised: rgba(31, 31, 31, .82);
  --hairline: rgba(255, 255, 255, .09);
  --hairline-strong: rgba(255, 255, 255, .16);
  --brand: #b6170e;
  --brand-bright: #d92c21;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  background-color: #050505;
  background-image:
    radial-gradient(circle at 50% -12rem, rgba(182, 23, 14, .12), transparent 32rem),
    linear-gradient(#050505, #000 34rem);
  font-family: "Inter Variable", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-optical-sizing: auto;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.75rem, 5vw, 4rem);
  letter-spacing: -.035em;
  line-height: .98;
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -.03em;
  line-height: 1.02;
}

h3 {
  letter-spacing: -.022em;
  line-height: 1.08;
}

p,
.par,
.par._16,
.par-different._16 {
  letter-spacing: -.012em;
  text-wrap: pretty;
}

.section {
  padding-top: clamp(4rem, 8vw, 6rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
  scroll-margin-top: 5.5rem;
}

.section.hero {
  padding-top: clamp(7.5rem, 13vw, 9.75rem);
}

.left-top-hero .par {
  color: rgba(243, 243, 243, .76);
  max-width: 48rem;
  line-height: 1.55;
}

/* Floating chrome: translucent, legible, and visibly separate from content. */
.navbar {
  transition: transform 240ms var(--ease-out);
}

.navbar-wrapper {
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .04) inset,
    0 10px 35px rgba(0, 0, 0, .22);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  transition:
    background-color 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 240ms var(--ease-out);
}

.navbar.is-scrolled .navbar-wrapper {
  background: rgba(20, 20, 20, .9);
  border-color: rgba(255, 255, 255, .13);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .05) inset,
    0 16px 48px rgba(0, 0, 0, .42);
  transform: translate3d(0, -2px, 0);
}

.navbar-link,
.footer-link,
.policy-link {
  transition: color 160ms ease, opacity 160ms ease;
}

.navbar-link {
  color: rgba(243, 243, 243, .62);
  font-weight: 500;
}

.line-navbar-link {
  transition: width 200ms var(--ease-out);
}

/* Press feedback arrives immediately; hover polish is pointer-specific. */
.button {
  background-image: linear-gradient(180deg, rgba(255, 255, 255, .08), transparent 45%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .18) inset,
    0 8px 24px rgba(171, 11, 2, .18);
  transform: translate3d(0, 0, 0) scale(1);
  transform-origin: center;
  transition:
    transform 160ms var(--ease-out),
    background-color 160ms ease,
    box-shadow 200ms ease;
  will-change: transform;
}

.button.black {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .1) inset,
    0 8px 22px rgba(0, 0, 0, .24);
}

.button:active,
.link-banner:active,
.lightbox:active,
.navbar-link:active,
.footer-link:active {
  transform: scale(.97);
  transition-duration: 90ms;
}

.text-button {
  transition: opacity 160ms ease, filter 160ms ease;
}

.image-button-first,
.image-button-second {
  transition:
    transform 200ms var(--ease-out),
    opacity 140ms ease,
    width 200ms var(--ease-out);
}

.glowing-wrapper-button::after,
.glowing-wrapper-animations,
.glowing-wrapper-borders-masker {
  transition: opacity 180ms ease;
}

.glowing-wrapper-borders,
.glowing-wrapper-glow,
.glowing-wrapper-mask {
  animation-play-state: paused;
}

/* Cards use material weight and edge highlights instead of heavy decoration. */
.card,
.testimonial-box,
.box-exclusive {
  border: 1px solid var(--hairline);
  background-color: rgba(20, 20, 20, .86);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .025) inset,
    0 18px 48px rgba(0, 0, 0, .12);
  transform: translate3d(0, 0, 0);
  transition:
    transform 240ms var(--ease-out),
    border-color 200ms ease,
    background-color 200ms ease,
    box-shadow 240ms ease;
}

.link-banner {
  background-color: rgba(255, 255, 255, .075);
  border-color: rgba(255, 255, 255, .12);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .035) inset;
  transform: translate3d(0, 0, 0);
  transition:
    transform 160ms var(--ease-out),
    background-color 160ms ease,
    border-color 160ms ease;
}

.right-side-copy-box {
  background-image: linear-gradient(180deg, var(--brand-bright), var(--brand));
  box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset;
}

.video-holder-card,
.thumbnail-lightbox,
.play-button {
  transition:
    transform 240ms var(--ease-out),
    border-color 180ms ease,
    filter 240ms ease,
    opacity 180ms ease;
}

.video-holder-card {
  border-color: rgba(255, 255, 255, .2);
}

.play-button {
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .42));
}

.checkbox-power {
  border-radius: .75rem;
  padding: .25rem .35rem;
  margin-left: -.35rem;
  transition: background-color 160ms ease, transform 160ms var(--ease-out);
}

.discord-link,
.discord-heading {
  transition:
    color 100ms linear,
    background-color 100ms linear,
    transform 140ms var(--ease-out);
}

.discord-link:active,
.discord-heading:active {
  transform: scale(.985);
}

.section.cta {
  background:
    radial-gradient(circle at 50% 38%, rgba(182, 23, 14, .14), transparent 30rem),
    linear-gradient(180deg, transparent, rgba(255, 255, 255, .018));
}

.line-divider-footer {
  background: linear-gradient(90deg, transparent, #292929 12%, #292929 88%, transparent);
}

a:focus-visible,
button:focus-visible,
[tabindex]:focus-visible {
  outline: 2px solid rgba(255, 103, 94, .95);
  outline-offset: 4px;
  border-radius: .5rem;
}

/* JS-enhanced reveals: subtle enough to explain hierarchy, never block input. */
.polish-reveal,
.polish-card-reveal {
  opacity: 0;
  filter: blur(3px);
  transform: translate3d(0, 14px, 0);
  transition:
    opacity 420ms var(--ease-out),
    filter 420ms var(--ease-out),
    transform 460ms var(--ease-out);
  will-change: opacity, transform;
}

.polish-card-reveal {
  transition-delay: var(--polish-delay, 0ms);
}

.polish-reveal[data-polish-visible="true"],
.polish-card-reveal[data-polish-visible="true"] {
  opacity: 1 !important;
  filter: blur(0);
  transform: translate3d(0, 0, 0);
}

@media (hover: hover) and (pointer: fine) {
  .navbar-link:hover,
  .footer-link:hover,
  .policy-link:hover {
    color: #fff;
  }

  .wrapper-navbar-link:hover .line-navbar-link {
    width: 100%;
  }

  .button:hover {
    background-color: var(--brand-bright);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, .2) inset,
      0 10px 30px rgba(182, 23, 14, .26);
    transform: translate3d(0, -1px, 0);
  }

  .button.black:hover {
    background-color: #292929;
    box-shadow:
      0 1px 0 rgba(255, 255, 255, .12) inset,
      0 10px 28px rgba(0, 0, 0, .34);
  }

  .glowing-wrapper:hover .glowing-wrapper-borders,
  .glowing-wrapper:hover .glowing-wrapper-glow,
  .glowing-wrapper:hover .glowing-wrapper-mask {
    animation-play-state: running;
  }

  .card:hover,
  .box-exclusive:hover {
    border-color: var(--hairline-strong);
    background-color: rgba(24, 24, 24, .94);
    box-shadow:
      0 1px 0 rgba(255, 255, 255, .04) inset,
      0 24px 60px rgba(0, 0, 0, .24);
    transform: translate3d(0, -4px, 0);
  }

  .card:hover .video-holder-card {
    border-color: rgba(255, 255, 255, .3);
  }

  .link-banner:hover {
    background-color: rgba(255, 255, 255, .11);
    border-color: rgba(255, 255, 255, .2);
    transform: translate3d(0, -1px, 0);
  }

  .lightbox:hover .thumbnail-lightbox {
    filter: brightness(.88);
    transform: scale(1.012);
  }

  .lightbox:hover .play-button {
    transform: scale(1.08);
  }

  .checkbox-power:hover {
    background-color: rgba(255, 255, 255, .035);
    transform: translate3d(3px, 0, 0);
  }
}

@media screen and (max-width: 991px) {
  .navbar-wrapper,
  .nav_menu_wrapper {
    background: rgba(24, 24, 24, .9);
    border: 1px solid var(--hairline);
    box-shadow: 0 18px 48px rgba(0, 0, 0, .36);
    -webkit-backdrop-filter: blur(24px) saturate(155%);
    backdrop-filter: blur(24px) saturate(155%);
  }

  .nav_menu_wrapper {
    transform-origin: top right;
  }

  .navbar-link {
    min-height: 2.75rem;
    display: flex;
    align-items: center;
  }
}

@media screen and (max-width: 767px) {
  h1 {
    font-size: clamp(2.5rem, 11vw, 3rem);
    letter-spacing: -.036em;
  }

  h2 {
    font-size: clamp(2rem, 8.5vw, 2.35rem);
  }

  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }

  .button {
    min-height: 3rem;
  }

  .card,
  .testimonial-box,
  .box-exclusive {
    border-radius: 1.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .polish-reveal,
  .polish-card-reveal,
  .left-top-hero,
  .bottom-part-hero,
  .bg-image-hero,
  .bg-image-cta,
  .wrapper-image-power,
  .container.in-cta,
  .navbar-wrapper {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

.card.partner-video-card {
  grid-column: span 2;
}

.partner-card-background {
  width: 100%;
  object-fit: cover;
}

.partner-code-button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.partner-video-embed {
  width: 100%;
  padding-top: 56.25%;
  position: relative;
}

.partner-video-embed iframe {
  border: 0;
  border-radius: 15px;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

@media screen and (max-width: 991px) {
  .card.partner-video-card {
    grid-column: span 1;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .navbar-wrapper,
  .nav_menu_wrapper {
    background: #181818;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-contrast: more) {
  .navbar-wrapper,
  .nav_menu_wrapper,
  .card,
  .testimonial-box,
  .box-exclusive {
    background-color: #111;
    border-color: rgba(255, 255, 255, .38);
  }

  .navbar-link,
  .par,
  .par._16 {
    color: #f3f3f3;
  }
}
