

.hero--index {
  min-height: min(820px, calc(100svh - var(--header-h)));
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse 55% 48% at -2% 26%, rgba(217, 154, 62, .21) 0%, rgba(217, 154, 62, .105) 24%, rgba(217, 154, 62, .042) 48%, transparent 74%),
    radial-gradient(ellipse 52% 46% at 102% 31%, rgba(88, 101, 242, .19) 0%, rgba(88, 101, 242, .095) 24%, rgba(88, 101, 242, .038) 48%, transparent 74%),
    radial-gradient(ellipse 58% 40% at 54% 101%, rgba(184, 90, 50, .18) 0%, rgba(184, 90, 50, .09) 24%, rgba(184, 90, 50, .036) 48%, transparent 74%),
    #08090c;
}

.hero__inner {
  text-align: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  position: relative;
  padding: 96px max(var(--safe-pad), 28px) 86px;
}

.heroShowcase {
  width: min(560px, 100%);
  height: 230px;
  margin: 0 auto 22px;
  position: relative;
  z-index: 2;
}

.heroMascot {
  position: absolute;
  top: 8px;
  left: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  transform: translateX(-50%);
  z-index: 2;
}

.heroMascot::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  top: -8px;
  left: 50%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(227,173,90,.15), transparent 68%);
  filter: blur(8px);
  transform: translateX(-50%);
  pointer-events: none;
  z-index: -1;
}

.heroMascot__image {
  width: 124px;
  height: 124px;
  object-fit: contain;
  position: relative;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.34));
}

.heroMascot__name {
  color: rgba(255,255,255,.94);
  font-size: 20px;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}

.heroTags {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.heroTag {
  position: absolute;
  padding: 7px 12px;
  border: 1px solid var(--tag-edge, rgba(255,255,255,.1));
  border-radius: 999px;
  background: rgba(10,11,14,.78);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.035), 0 8px 20px rgba(0,0,0,.18);
  color: rgba(255,255,255,.69);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .035em;
  line-height: 1;
  white-space: nowrap;
}

.heroTag--wars {
  --tag-edge: rgba(196,82,46,.24);
  top: 24px;
  left: 24px;
  transform: rotate(-3deg);
}

.heroTag--bumps {
  --tag-edge: rgba(227,173,90,.25);
  top: 16px;
  right: 70px;
  transform: rotate(3deg);
}

.heroTag--events {
  --tag-edge: rgba(227,173,90,.2);
  left: 56px;
  bottom: 48px;
  transform: rotate(2deg);
}

.heroTag--discord {
  --tag-edge: rgba(88,101,242,.28);
  right: 34px;
  bottom: 58px;
  transform: rotate(-2deg);
}

.heroTag--command {
  --tag-edge: rgba(240,190,105,.44);
  left: 50%;
  bottom: 4px;
  padding-inline: 15px;
  background: rgba(227,173,90,.095);
  color: #f0c987;
  font-weight: 750;
  transform: translateX(-50%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.05), 0 8px 22px rgba(227,173,90,.07);
}

.hero__title {
  max-width: 760px;
  margin: 0 auto 20px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.12;
  letter-spacing: -.035em;
  text-wrap: balance;
  position: relative;
  z-index: 2;
}

.hero__accent {
  color: #e3ad5a;
  background: linear-gradient(105deg, #f5d49a 8%, #e3ad5a 52%, #c88735 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__lead {
  font-size: 17px;
  line-height: 1.75;
  color: rgba(255,255,255,.7);
  max-width: 720px;
  margin: 0 auto 32px;
  text-wrap: pretty;
  position: relative;
  z-index: 2;
}

.hero__actions {
  display: grid;
  grid-template-columns: var(--hero-btn-w) var(--hero-btn-w);
  justify-content: center;
  gap: 14px;
  position: relative;
  z-index: 2;
}

.btn--hero {
  width: 100%;
  height: var(--hero-btn-h);
  padding: 0 24px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .22s ease, background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.heroButton__icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.btn--primary.btn--hero {
  color: #121218;
  border-color: rgba(255, 220, 150, .28);
  background: linear-gradient(135deg, #f0be69 0%, #d99a3e 100%);
  box-shadow: 0 8px 24px rgba(217, 154, 62, .16), inset 0 1px 0 rgba(255,255,255,.22);
}

.btn--dark.btn--hero {
  color: rgba(255,255,255,.92);
  border-color: rgba(125, 137, 250, .18);
  background: rgba(18,18,24,.66);
  box-shadow: 0 8px 22px rgba(0,0,0,.28), inset 0 1px 0 rgba(255,255,255,.055);
}

.btn--dark.btn--hero .heroButton__icon {
  color: rgba(126, 137, 250, .88);
}

.btn--hero:hover {
  transform: translateY(-2px);
}

.btn--hero:active {
  transform: translateY(0);
}

.btn--hero:focus-visible {
  outline: 3px solid rgba(240, 190, 105, .48);
  outline-offset: 3px;
}

.btn--primary.btn--hero:hover {
  background: linear-gradient(135deg, #f4c777 0%, #dfa34a 100%);
  box-shadow: 0 11px 28px rgba(217, 154, 62, .23), inset 0 1px 0 rgba(255,255,255,.28);
}

.btn--dark.btn--hero:hover {
  border-color: rgba(88, 101, 242, .48);
  background: rgba(25,25,34,.78);
  box-shadow: 0 10px 26px rgba(0,0,0,.36), 0 0 18px rgba(88,101,242,.07), inset 0 1px 0 rgba(255,255,255,.07);
}

.btn--dark.btn--hero:hover .heroButton__icon {
  color: #929bff;
}


.floatStats {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.floatStat {
  --card-edge: rgba(240,190,105,.4);
  --card-tint: rgba(217,154,62,.18);
  position: absolute;
  display: grid;
  gap: 8px;
  padding: 17px 19px;
  min-width: 166px;
  max-width: min(220px, calc(100vw - (var(--safe-pad) * 2)));
  border-radius: 15px;
  background: linear-gradient(
    145deg,
    rgba(255,255,255,.10) 0%,
    rgba(255,255,255,.045) 20%,
    color-mix(in srgb, var(--card-tint) 30%, rgba(255,255,255,.018)) 46%,
    rgba(10,10,14,.80) 72%,
    rgba(5,5,8,.90) 100%
  );
  border: 1px solid color-mix(in srgb, var(--card-edge) 50%, rgba(255,255,255,.08));
  -webkit-backdrop-filter: blur(8px) saturate(115%);
  backdrop-filter: blur(8px) saturate(115%);
  box-shadow:
    0 14px 30px rgba(0,0,0,.28),
    0 4px 12px color-mix(in srgb, var(--card-edge) 12%, transparent),
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 1px 0 0 rgba(255,255,255,.035),
    inset 0 -1px 0 rgba(0,0,0,.40),
    inset -1px 0 0 color-mix(in srgb, var(--card-edge) 16%, transparent);
  transform-origin: center center;
  transform-style: preserve-3d;
  isolation: isolate;
}

.floatStat::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,.14) 0%,
    rgba(255,255,255,.055) 22%,
    transparent 46%
  );
  pointer-events: none;
}

.floatStat__n {
  position: relative;
  z-index: 1;
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
  color: rgba(255,255,255,.98);
  text-shadow: 0 7px 24px color-mix(in srgb, var(--card-edge) 42%, transparent);
}

.floatStat__t {
  position: relative;
  z-index: 1;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  color: rgba(255,255,255,.62);
}

.floatStat--tl {
  top: 13%;
  left: max(var(--safe-pad), 20px);
  transform: perspective(1000px) rotateX(3deg) rotateY(-5deg) rotateZ(-10deg);
}

.floatStat--tr {
  --card-edge: rgba(104,116,232,.4);
  --card-tint: rgba(88,101,242,.17);
  top: 18%;
  right: max(var(--safe-pad), 20px);
  transform: perspective(1000px) rotateX(3deg) rotateY(5deg) rotateZ(11deg);
}

.floatStat--bl {
  --card-edge: rgba(216,106,53,.4);
  --card-tint: rgba(184,76,42,.17);
  bottom: 12%;
  left: max(7%, var(--safe-pad));
  transform: perspective(1000px) rotateX(-2deg) rotateY(-4deg) rotateZ(7deg);
}

@media (min-width: 1200px) {
  .floatStat--tl {
    transform: perspective(1000px) translateX(-18px) rotateX(3deg) rotateY(-5deg) rotateZ(-10deg);
  }

  .floatStat--tr {
    transform: perspective(1000px) translateX(18px) rotateX(3deg) rotateY(5deg) rotateZ(11deg);
  }

  .floatStat--bl {
    transform: perspective(1000px) translateX(12px) rotateX(-2deg) rotateY(-4deg) rotateZ(7deg);
  }
}


.features {
  position: relative;
  overflow: hidden;
  padding: clamp(96px, 10vw, 138px) 0 clamp(104px, 11vw, 148px);
  background: linear-gradient(180deg, #08090c 0%, #0b0c10 190px, #0b0c10 100%);
}

.feature {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(48px, 7vw, 92px);
}

.feature__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(16px, 2vw, 30px);
}

.feature__command {
  align-self: flex-start;
  margin-bottom: 20px;
  color: #e3ad5a;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .025em;
}

.feature__content h2 {
  max-width: 520px;
  margin-bottom: 22px;
  font-size: clamp(31px, 3.8vw, 48px);
  line-height: 1.1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.feature__content p {
  max-width: 560px;
  color: rgba(255,255,255,.62);
  font-size: 16px;
  line-height: 1.75;
}

.feature__content p + p {
  margin-top: 15px;
}

.featureVisual {
  min-width: 0;
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 15px;
  background: rgba(255,255,255,.025);
  box-shadow: 0 20px 48px rgba(0,0,0,.25);
}

.featureVisual__item {
  position: absolute;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
}

.featureVisual__main {
  inset: 0;
}

.featureVisual__secondary {
  width: 42%;
  height: 46%;
  inset: auto 4% 5% auto;
}

.featureVisual__small {
  width: 30%;
  height: 34%;
  inset: 6% auto auto 5%;
}

.featureVisual__placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-content: center;
  gap: 8px;
  padding: 30px;
  background: #090a0d;
  color: rgba(255,255,255,.46);
  text-align: center;
}

.featureVisual__placeholder strong {
  color: rgba(255,255,255,.8);
  font-size: clamp(19px, 2vw, 25px);
}

.featureVisual__placeholder span {
  font-size: 12px;
}

.feature--reverse .feature__content {
  order: 2;
}

.feature--reverse .featureVisual {
  order: 1;
}

@media (max-width: 760px) {
  .features {
    padding: 76px 0 86px;
    background: linear-gradient(180deg, #08090c 0%, #0b0c10 120px, #0b0c10 100%);
  }

  .feature,
  .feature--reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .feature--reverse .feature__content,
  .feature--reverse .featureVisual {
    order: initial;
  }

  .feature__content {
    padding-block: 0;
  }

  .feature__content h2 {
    font-size: clamp(29px, 9vw, 38px);
  }

  .feature__content p {
    font-size: 15px;
  }

  .featureVisual {
    width: 100%;
  }
}


/* Responsive */

@media (max-width: 1199px) and (min-width: 800px) {
  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 76px;
    padding-bottom: 64px;
  }

  .heroShowcase {
    width: min(520px, 100%);
    height: 215px;
  }

  .heroMascot__image {
    width: 108px;
    height: 108px;
  }

  .heroMascot__name {
    font-size: 18px;
  }

  .heroTag--wars {
    left: 18px;
  }

  .heroTag--bumps {
    right: 55px;
  }

  .heroTag--events {
    left: 44px;
  }

  .heroTag--discord {
    right: 24px;
  }

  .hero__actions {
    margin-bottom: 38px;
  }

  .floatStats {
    position: static;
    inset: auto;
    width: min(760px, 100%);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    z-index: 2;
  }

  .floatStat {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 16px;
  }

  .floatStat--tl {
    transform: perspective(1300px) rotateX(.7deg) rotateY(-1.5deg) rotateZ(-3deg);
  }

  .floatStat--tr {
    transform: perspective(1300px) rotateX(.7deg) rotateY(1.5deg) rotateZ(3deg);
  }

  .floatStat--bl {
    transform: perspective(1300px) rotateX(-.5deg) rotateY(-1deg) rotateZ(2deg);
  }

  .floatStat__n {
    font-size: 28px;
  }
}

@media (max-width: 799px) {
  .hero--index {
    min-height: auto;
  }

  .hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 66px;
    padding-bottom: 58px;
  }

  .heroShowcase {
    width: min(440px, 100%);
    height: auto;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }

  .heroMascot {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }

  .heroMascot::before {
    width: 118px;
    height: 118px;
  }

  .heroMascot__image {
    width: 90px;
    height: 90px;
  }

  .heroMascot__name {
    font-size: 17px;
  }

  .heroTags {
    position: static;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .heroTag,
  .heroTag--wars,
  .heroTag--bumps,
  .heroTag--events,
  .heroTag--discord,
  .heroTag--command {
    position: static;
    padding: 7px 11px;
    transform: none;
  }

  .hero__actions {
    margin-bottom: 36px;
  }

  .floatStats {
    position: static;
    inset: auto;
    width: min(520px, 100%);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    z-index: 2;
  }

  .floatStat {
    position: static;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 16px 14px;
  }

  .floatStat--tl {
    transform: perspective(1400px) rotateX(.35deg) rotateY(-.7deg) rotateZ(-1.25deg);
  }

  .floatStat--tr {
    transform: perspective(1400px) rotateX(.35deg) rotateY(.7deg) rotateZ(1.25deg);
  }

  .floatStat--bl {
    grid-column: 1 / -1;
    width: calc(50% - 6px);
    justify-self: center;
    transform: perspective(1400px) rotateX(-.3deg) rotateY(-.6deg) rotateZ(.9deg);
  }
}

@media (max-width: 620px) {
  .hero__inner {
    padding: 56px 20px 50px;
  }

  .hero__title {
    font-size: clamp(28px, 8.5vw, 36px);
    letter-spacing: -.035em;
    margin-bottom: 20px;
  }

  .hero__lead {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 28px;
  }

  .hero__actions {
    width: min(280px, 100%);
    grid-template-columns: 1fr;
    gap: 11px;
    margin-bottom: 34px;
  }

  .btn--hero {
    font-size: 14px;
    padding: 0 22px;
  }

  .floatStat__n {
    font-size: 25px;
  }
}

@media (max-width: 390px) {
  .heroMascot__image {
    width: 84px;
    height: 84px;
  }

  .heroTag {
    font-size: 10px;
  }

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

  .floatStat--bl {
    grid-column: auto;
    width: 100%;
  }

  .floatStat--tl,
  .floatStat--tr,
  .floatStat--bl {
    transform: perspective(1600px) rotateX(.35deg) rotateY(-.5deg);
  }
}
