/* Breakpoints aligned with client app MUI theme: sm 680px, md 1100px */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background-color: #141414;
  color: #ffffff;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

/* Fluid content width (layoutContentFluidMaxWidthSx) */
.layout-fluid {
  width: 100%;
  max-width: 1216px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 1280px) {
  .layout-fluid {
    max-width: 1240px;
  }
}

@media (min-width: 1440px) {
  .layout-fluid {
    max-width: 1340px;
  }
}

@media (min-width: 1600px) {
  .layout-fluid {
    max-width: 1440px;
  }
}

@media (min-width: 1920px) {
  .layout-fluid {
    max-width: 1600px;
  }
}

@media (min-width: 2200px) {
  .layout-fluid {
    max-width: 1720px;
  }
}

@media (min-width: 2600px) {
  .layout-fluid {
    max-width: 1900px;
  }
}

.container {
  width: 100%;
  max-width: 1216px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 12px;
  padding-right: 12px;
}

@media (min-width: 680px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1240px;
  }
}

@media (min-width: 1440px) {
  .container {
    max-width: 1340px;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1440px;
  }
}

@media (min-width: 1920px) {
  .container {
    max-width: 1600px;
  }
}

@media (min-width: 2200px) {
  .container {
    max-width: 1720px;
  }
}

@media (min-width: 2600px) {
  .container {
    max-width: 1900px;
  }
}

/* ——— Hero ——— */

.hero {
  position: relative;
  overflow: hidden;
  width: 100%;
  background-color: #141414;
  min-height: 867px;
  display: flex;
  flex-direction: column;
  /* No fixed header — slightly less top space than client app (108px + inner pad). */
  padding: 80px 0 16px;
}

@media (min-width: 680px) {
  .hero {
    padding-top: 128px;
    padding-left: 24px;
    padding-right: 24px;
  }
}

@media (min-width: 1100px) {
  .hero {
    min-height: 720px;
    padding-top: 128px;
    padding-bottom: 80px;
    padding-left: 112px;
    padding-right: 112px;
  }
}

.hero__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 140px;
  z-index: 4;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(20, 20, 20, 0) 0%,
    rgba(20, 20, 20, 0.06) 22%,
    rgba(20, 20, 20, 0.22) 48%,
    rgba(20, 20, 20, 0.55) 72%,
    rgba(20, 20, 20, 0.88) 90%,
    #141414 100%
  );
}

@media (min-width: 1100px) {
  .hero__fade {
    height: 200px;
  }
}

.hero__dragon-wrap {
  display: none;
}

@media (min-width: 1100px) {
  .hero__dragon-wrap {
    display: block;
    position: absolute;
    z-index: 0;
    pointer-events: none;
    top: 0;
    bottom: 0;
    right: 0;
    width: 1320px;
    min-width: 1320px;
    max-width: 1320px;
    flex-shrink: 0;
  }
}

.hero__dragon-inner {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  isolation: isolate;
}

.hero__glow {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  transform-origin: 72% 100%;
}

.hero__glow--1 {
  left: -50%;
  right: -16%;
  top: -8%;
  bottom: 0;
  background: radial-gradient(
    circle min(1040px, 125vw) at 72% 100%,
    rgba(249, 227, 178, 0.4) 0%,
    rgba(220, 181, 114, 0.16) 36%,
    transparent 58%
  );
  filter: blur(40px);
  animation: dragonHeroGlow 22s ease-in-out infinite;
}

.hero__glow--2 {
  left: -58%;
  right: -22%;
  top: -4%;
  bottom: 0;
  background: radial-gradient(
    circle min(1360px, 150vw) at 72% 100%,
    rgba(252, 219, 186, 0.12) 0%,
    rgba(215, 182, 115, 0.05) 34%,
    transparent 54%
  );
  filter: blur(54px);
  animation: dragonHeroGlow2 28s ease-in-out infinite;
  animation-delay: -4s;
}

@keyframes dragonHeroGlow {
  0%,
  100% {
    opacity: 0.55;
    transform: scale(1);
  }
  50% {
    opacity: 0.9;
    transform: scale(1.03);
  }
}

@keyframes dragonHeroGlow2 {
  0%,
  100% {
    opacity: 0.28;
    transform: scale(1);
  }
  50% {
    opacity: 0.48;
    transform: scale(1.04);
  }
}

.hero__dragon {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  max-height: 920px;
  object-fit: contain;
  object-position: right top;
  display: block;
}

.hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  width: 100%;
  min-height: 0;
}

.hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 22px;
  width: 100%;
  min-width: 0;
  align-items: center;
}

@media (min-width: 1100px) {
  .hero__inner {
    gap: 32px;
    align-items: stretch;
  }
}

/* Title + CTA share one column; button centered under the text block. */
.hero__copy {
  display: flex;
  flex-direction: column;
  gap: 22px;
  width: 100%;
  max-width: 337px;
  align-items: center;
}

@media (min-width: 1100px) {
  .hero__copy {
    max-width: 800px;
    gap: 28px;
    align-items: stretch;
  }
}

.hero__head {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.hero__title {
  margin: 0;
  font-weight: 700;
  font-size: 36px;
  line-height: 1;
  color: #ffffff;
  text-align: center;
}

@media (min-width: 680px) {
  .hero__title {
    font-size: 3rem;
  }
}

@media (min-width: 1100px) {
  .hero__title {
    font-size: 64px;
    letter-spacing: -0.01em;
    text-align: left;
  }
}

.hero__title-accent {
  background: radial-gradient(
    circle at 50% 50%,
    rgba(227, 172, 106, 1) 0%,
    rgba(156, 118, 72, 1) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  margin: 0;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.5;
  color: #aaaaaa;
  text-align: center;
}

@media (min-width: 1100px) {
  .hero__subtitle {
    font-size: 20px;
    text-align: left;
  }
}

.hero__ctas {
  display: flex;
  width: 100%;
  justify-content: center;
}

.btn {
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  flex-grow: 0;
  height: 52px;
  padding: 15px 33px;
  gap: 12px;
  border-radius: 14px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  box-shadow: none;
  cursor: pointer;
  background: transparent;
}

@media (min-width: 1100px) {
  .btn {
    padding: 17px 42px;
    font-size: 15px;
  }
}

/* Hero primary CTA — larger, bright gold (client app goldGradient palette). */
.btn--gold-primary {
  width: 100%;
  max-width: 337px;
  height: 64px;
  padding: 20px 52px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #1a1208;
  border-radius: 16px;
  border: 1px solid rgba(249, 227, 178, 0.65);
  background: linear-gradient(
    135deg,
    #f9e3b2 0%,
    #fcdbba 22%,
    #e8c88a 48%,
    #d7b673 78%,
    #c9a45e 100%
  );
  box-shadow:
    0 0 32px rgba(215, 182, 115, 0.45),
    0 4px 20px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
}

.btn--gold-primary:hover {
  color: #1a1208;
  border-color: rgba(255, 240, 210, 0.85);
  background: linear-gradient(
    135deg,
    #fff0d4 0%,
    #fce5c4 22%,
    #efd08a 48%,
    #dfc07a 78%,
    #d4b068 100%
  );
  box-shadow:
    0 0 42px rgba(249, 227, 178, 0.55),
    0 6px 24px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.7);
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.btn--gold-primary:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

@media (min-width: 1100px) {
  .btn--gold-primary {
    width: auto;
    min-width: 400px;
    max-width: none;
    height: 76px;
    padding: 24px 80px;
    font-size: 22px;
    border-radius: 20px;
  }
}

.hero__features {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 24px;
  row-gap: 16px;
  width: 100%;
  max-width: 337px;
}

@media (min-width: 1100px) {
  .hero__features {
    grid-template-columns: repeat(3, 1fr);
    column-gap: 32px;
    row-gap: 0;
    max-width: 1040px;
  }
}

.feature {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
}

.feature__head {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  min-height: 38.46px;
  padding-bottom: 7.69px;
}

@media (min-width: 1100px) {
  .feature__head {
    gap: 12px;
    min-height: 48px;
    padding-bottom: 8px;
  }
}

.feature__icon-wrap {
  width: 30.77px;
  height: 30.77px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1100px) {
  .feature__icon-wrap {
    width: 40px;
    height: 40px;
  }
}

.feature__icon {
  object-fit: contain;
  display: block;
}

.feature__icon--1 {
  width: 25.84px;
  height: 31.16px;
}

@media (min-width: 1100px) {
  .feature__icon--1 {
    width: 34px;
    height: 41px;
  }
}

.feature__icon--2 {
  width: 30.4px;
  height: 21.28px;
}

@media (min-width: 1100px) {
  .feature__icon--2 {
    width: 40px;
    height: 28px;
  }
}

.feature__icon--3 {
  width: 30.4px;
  height: 30.4px;
}

@media (min-width: 1100px) {
  .feature__icon--3 {
    width: 40px;
    height: 40px;
  }
}

.feature__title {
  font-weight: 700;
  font-size: 15.3846px;
  line-height: 1;
  text-transform: uppercase;
  color: #ffffff;
}

@media (min-width: 1100px) {
  .feature__title {
    font-size: 20px;
  }
}

.feature__body {
  margin: 0;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.35;
  color: #aaaaaa;
  text-shadow: 5px 5px 5px rgba(35, 37, 42, 1);
}

@media (min-width: 1100px) {
  .feature__body {
    font-size: 17px;
  }
}

/* ——— Stats (payment methods) ——— */

.stats {
  position: relative;
  z-index: 1;
  padding: 16px 0;
  background: linear-gradient(41deg, #141414 0%, #141414 88%);
}

@media (min-width: 1100px) {
  .stats {
    padding: 32px 0;
  }
}

.stats__marquee-wrap {
  display: none;
  overflow: hidden;
  width: 100%;
}

@media (min-width: 1100px) {
  .stats__marquee-wrap {
    display: block;
  }
}

.stats__marquee {
  display: flex;
  width: max-content;
  gap: 16px;
  animation: paymentMarquee 42s linear infinite;
}

@keyframes paymentMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50% - 8px));
  }
}

.stats__marquee-item {
  width: calc((100vw - 6 * 16px) / 7);
  max-width: 170px;
  min-width: 130px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats__marquee-item img,
.stats__grid-item img {
  max-width: 92px;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 1100px) {
  .stats__grid {
    display: none;
  }
}

.stats__grid-item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.stats__grid-item img {
  max-width: 80px;
  max-height: 38px;
}

@media (prefers-reduced-motion: reduce) {
  .hero__glow--1,
  .hero__glow--2,
  .stats__marquee {
    animation: none;
  }
}
