* {
  box-sizing: border-box;
}

:root {
  --white: #ffffff;
  --ink: #0f1517;
  --nav: #0b7693;
  --yellow: #ffb400;
  --yellow-dark: #d88c00;
  --orange: #ff9400;
  --discord: #5c59ff;
  --discord-dark: #443ee7;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: "Inter", system-ui, sans-serif;
  background: #ffffff;
  color: var(--ink);
}

body {
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

/* HEADER */

.topbar {
  position: relative;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.topbar-inner {
  width: min(1240px, calc(100% - 48px));
  height: 66px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.mini-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: max-content;
}

.mini-logo {
  position: relative;
  width: 30px;
  height: 34px;
}

.bee-body {
  position: absolute;
  left: 10px;
  top: 11px;
  width: 12px;
  height: 17px;
  border-radius: 3px;
  background:
    linear-gradient(
      to bottom,
      #ffc31a 0 28%,
      #17120d 28% 42%,
      #ffc31a 42% 70%,
      #17120d 70% 82%,
      #ffc31a 82%
    );
  transform: rotate(4deg);
  box-shadow: 0 2px 0 rgba(0,0,0,0.18);
}

.bee-wing {
  position: absolute;
  width: 8px;
  height: 13px;
  border: 2px solid #342f2a;
  border-radius: 7px 7px 4px 4px;
  background: #ffffff;
}

.wing-left {
  left: 4px;
  top: 4px;
  transform: rotate(-20deg);
}

.wing-right {
  right: 2px;
  top: 5px;
  transform: rotate(18deg);
}

.mini-brand-text {
  font-family: "Archivo Black", sans-serif;
  font-size: 14px;
  letter-spacing: 0.04em;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.main-nav a {
  position: relative;
  color: var(--nav);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.025em;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--yellow);
  transition: right 0.18s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.square-action,
.header-button {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  box-shadow: 0 4px 0 rgba(0,0,0,0.18);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.square-action {
  width: 42px;
  display: grid;
  place-items: center;
}

.discord-action {
  color: #ffffff;
  background: var(--discord);
  font-size: 18px;
}

.header-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 16px;
  color: #ffffff;
  background: linear-gradient(180deg, #ffbc12, #ff9c00);
}

.language-button {
  min-width: 74px;
}

.down-arrow {
  font-size: 9px;
}

.avatar-box {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 4px;
  color: #fff7e7;
  background:
    linear-gradient(145deg, #a55a26, #6f311c);
  font-size: 11px;
}

/* HERO */

.hero {
  position: relative;
  min-height: 820px;
  overflow: hidden;
  isolation: isolate;
}

.hero-scene {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 71% 22%, rgba(38, 135, 59, 0.95) 0 8%, transparent 9%),
    radial-gradient(circle at 62% 32%, rgba(55, 162, 72, 0.9) 0 7%, transparent 8%),
    linear-gradient(90deg,
      rgba(77, 42, 30, 0.98) 0 12%,
      rgba(118, 75, 47, 0.92) 12% 18%,
      rgba(42, 43, 38, 0.96) 18% 29%,
      rgba(188, 140, 82, 0.88) 29% 36%,
      rgba(90, 130, 76, 0.86) 36% 46%,
      rgba(95, 155, 90, 0.85) 46% 60%,
      rgba(111, 151, 91, 0.87) 60% 74%,
      rgba(83, 79, 56, 0.92) 74% 100%
    ),
    linear-gradient(180deg, #9fb4d4 0 28%, #8ca46d 28% 54%, #685445 54% 100%);
  transform: scale(1.07);
}

.hero-scene::before,
.hero-scene::after {
  content: "";
  position: absolute;
}

.hero-scene::before {
  left: 28%;
  top: 8%;
  width: 34%;
  height: 76%;
  background:
    linear-gradient(90deg,
      transparent 0 8%,
      rgba(210, 188, 147, 0.95) 8% 14%,
      rgba(116, 83, 62, 0.95) 14% 22%,
      rgba(79, 124, 67, 0.92) 22% 33%,
      rgba(173, 133, 76, 0.9) 33% 42%,
      rgba(98, 112, 70, 0.9) 42% 55%,
      rgba(82, 72, 52, 0.94) 55% 100%
    );
  clip-path: polygon(0 26%, 12% 18%, 24% 23%, 34% 15%, 48% 18%, 60% 10%, 72% 15%, 82% 11%, 100% 20%, 100% 100%, 0 100%);
  opacity: 0.9;
}

.hero-scene::after {
  right: 0;
  top: 9%;
  width: 31%;
  height: 70%;
  background:
    linear-gradient(180deg,
      rgba(172, 190, 173, 0.95) 0 12%,
      rgba(236, 235, 207, 0.95) 12% 18%,
      rgba(92, 84, 64, 0.95) 18% 32%,
      rgba(122, 87, 54, 0.95) 32% 100%
    );
  clip-path: polygon(10% 0, 100% 0, 100% 100%, 0 100%, 0 30%, 10% 25%);
}

.hero-blur {
  position: absolute;
  inset: -18px;
  backdrop-filter: blur(6px);
  z-index: 1;
}

.hero-darken {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 50% 40%, rgba(0,0,0,0.1), rgba(0,0,0,0.42) 75%),
    linear-gradient(180deg, rgba(9, 11, 16, 0.04), rgba(6, 6, 7, 0.38));
}

.hero-content {
  position: relative;
  z-index: 5;
  min-height: 760px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 24px 90px;
  text-align: center;
  color: #ffffff;
}

.hero-logo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 22px;
}

.hero-firefly-mark {
  position: relative;
  width: 72px;
  height: 46px;
  margin-bottom: -8px;
}

.hero-wing {
  position: absolute;
  top: 3px;
  width: 28px;
  height: 36px;
  border: 5px solid rgba(255,255,255,0.88);
  border-radius: 50% 50% 42% 42%;
  background: rgba(255,255,255,0.15);
}

.left-wing {
  left: 6px;
  transform: rotate(-26deg);
}

.right-wing {
  right: 6px;
  transform: rotate(26deg);
}

.hero-bee-body {
  position: absolute;
  left: 28px;
  top: 13px;
  width: 18px;
  height: 30px;
  border: 4px solid #18110d;
  border-radius: 6px;
  background:
    linear-gradient(
      to bottom,
      #ffc217 0 24%,
      #1f130d 24% 39%,
      #ffc217 39% 68%,
      #1f130d 68% 82%,
      #ffc217 82%
    );
  z-index: 3;
}

.hero-glow {
  position: absolute;
  left: 30px;
  top: 30px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #ffcf44;
  filter: blur(8px);
  box-shadow: 0 0 24px #ffad00;
  z-index: 2;
}

.hero-wordmark {
  display: flex;
  align-items: flex-end;
  gap: 13px;
  transform: skew(-8deg);
  text-shadow:
    -4px 4px 0 #251b16,
    0 6px 0 rgba(0,0,0,0.35);
}

.word-fire,
.word-smp {
  font-family: "Archivo Black", sans-serif;
  line-height: 0.85;
  letter-spacing: -0.045em;
  -webkit-text-stroke: 2px #291d17;
  paint-order: stroke fill;
}

.word-fire {
  color: #ffffff;
  font-size: clamp(58px, 7vw, 92px);
}

.word-smp {
  color: #ffc20e;
  font-size: clamp(42px, 5.4vw, 72px);
}

.hero-copy {
  max-width: 760px;
}

.hero-copy p {
  margin: 0;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
  text-shadow: 0 2px 3px rgba(0,0,0,0.48);
}

.hero-buttons {
  width: min(630px, 100%);
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 20px;
  margin-top: 26px;
}

.hero-button {
  position: relative;
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 800;
  box-shadow: 0 6px 0 rgba(0,0,0,0.28);
  cursor: pointer;
  transition:
    transform 0.16s ease,
    filter 0.16s ease;
}

.hero-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.play-button {
  background: linear-gradient(180deg, #ffc20e, #ff9f00);
}

.discord-button {
  background: linear-gradient(180deg, #6862ff, #5751f0);
}

.player-pill {
  position: absolute;
  right: -10px;
  top: -17px;
  min-width: 58px;
  padding: 7px 10px;
  border-radius: 7px;
  color: #072d18;
  background: #21d56d;
  font-size: 11px;
  box-shadow: 0 3px 0 rgba(0,0,0,0.18);
}

.play-button.copied #serverText {
  color: #143918;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 116px;
  z-index: 7;
}

.below-fold {
  min-height: 420px;
  display: grid;
  place-items: center;
  background: #ffffff;
}

.below-inner {
  width: min(900px, calc(100% - 40px));
  text-align: center;
}

.small-kicker {
  color: #0b7693;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.below-inner h2 {
  margin: 14px 0 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1;
  letter-spacing: -0.04em;
}

@media (max-width: 900px) {
  .topbar-inner {
    grid-template-columns: auto 1fr;
    height: auto;
    min-height: 70px;
    padding: 10px 0;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .main-nav {
    justify-content: flex-end;
  }

  .hero {
    min-height: 760px;
  }

  .hero-content {
    min-height: 700px;
  }
}

@media (max-width: 620px) {
  .topbar-inner {
    width: min(100% - 22px, 1240px);
    grid-template-columns: 1fr;
  }

  .main-nav {
    order: 3;
    justify-content: flex-start;
    gap: 18px;
    overflow-x: auto;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .sign-button,
  .language-button {
    display: none;
  }

  .hero-copy p {
    font-size: 14px;
  }

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

  .hero-button {
    min-height: 58px;
  }

  .word-fire {
    font-size: 52px;
  }

  .word-smp {
    font-size: 38px;
  }
}


/* V2 icon cleanup */
.icon {
  width: 18px;
  height: 18px;
  display: block;
}

.discord-icon-svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.cart-icon,
.chevron-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.chevron-icon {
  width: 14px;
  height: 14px;
}

/* pixel Minecraft-style head */
.minecraft-head {
  position: relative;
  width: 26px;
  height: 26px;
  overflow: hidden;
  border-radius: 3px;
  background:
    linear-gradient(90deg, #9c5a34 0 18%, transparent 18% 82%, #9c5a34 82%),
    #c98755;
  box-shadow:
    inset 0 0 0 2px rgba(78, 42, 25, 0.22),
    0 1px 0 rgba(255,255,255,.14);
}

.mc-hair {
  position: absolute;
  inset: 0 0 auto;
  height: 8px;
  background:
    linear-gradient(90deg, #4d2c1c 0 28%, #6b3a20 28% 58%, #4d2c1c 58%);
}

.mc-eye {
  position: absolute;
  top: 13px;
  width: 4px;
  height: 3px;
  background: #2c2a24;
}

.mc-eye-left {
  left: 6px;
}

.mc-eye-right {
  right: 6px;
}

.mc-mouth {
  position: absolute;
  left: 10px;
  bottom: 4px;
  width: 7px;
  height: 2px;
  background: #845036;
}

/* HERO interactive labels */
.play-button,
.discord-button {
  overflow: hidden;
}

.play-default,
.play-hover,
.discord-default,
.discord-hover {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  transition:
    opacity .18s ease,
    transform .18s ease;
}

.play-default,
.discord-default {
  opacity: 1;
  transform: translateY(0);
}

.play-hover,
.discord-hover {
  opacity: 0;
  transform: translateY(10px);
}

.play-button:hover .play-default,
.discord-button:hover .discord-default {
  opacity: 0;
  transform: translateY(-10px);
}

.play-button:hover .play-hover,
.discord-button:hover .discord-hover {
  opacity: 1;
  transform: translateY(0);
}

.hero-inline-icon {
  width: 20px;
  height: 20px;
}

.copy-icon {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.discord-hero-icon {
  fill: currentColor;
}

.discord-hover strong {
  font-family: "Archivo Black", sans-serif;
  font-size: 16px;
  letter-spacing: .02em;
}

.bow-arrow-icon {
  width: 31px;
  height: 31px;
  overflow: visible;
}

.bow-arrow-icon .bow,
.bow-arrow-icon .string,
.bow-arrow-icon .arrow,
.bow-arrow-icon .arrow-head {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.bow-arrow-icon .bow {
  stroke-width: 2.5;
}

.bow-arrow-icon .string,
.bow-arrow-icon .arrow,
.bow-arrow-icon .arrow-head {
  stroke-width: 2;
}

.player-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.player-icon {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.play-button.copied .play-default,
.play-button.copied .play-hover {
  opacity: 0;
}

.play-button.copied::after {
  content: "COPIED!";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #143918;
  font-weight: 800;
}



/* Uploaded FireflySMP Minecraft logo */
.hero-logo-wrap {
  width: min(620px, 82vw);
  margin-bottom: 18px;
}

.firefly-main-logo {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  filter:
    drop-shadow(0 8px 0 rgba(0, 0, 0, 0.26))
    drop-shadow(0 16px 22px rgba(0, 0, 0, 0.3));
  transform: translateZ(0);
  transition:
    transform 0.22s ease,
    filter 0.22s ease;
}

.firefly-main-logo:hover {
  transform: translateY(-4px) scale(1.015);
  filter:
    drop-shadow(0 9px 0 rgba(0, 0, 0, 0.24))
    drop-shadow(0 20px 28px rgba(0, 0, 0, 0.32));
}

@media (max-width: 620px) {
  .hero-logo-wrap {
    width: min(500px, 94vw);
  }
}


/* V4 hero logo spacing adjustment */
.hero-logo-wrap {
  width: min(475px, 68vw);
  margin-bottom: 42px;
}

.firefly-main-logo {
  width: 100%;
}

@media (max-width: 620px) {
  .hero-logo-wrap {
    width: min(390px, 82vw);
    margin-bottom: 34px;
  }
}


/* V5 live player count box */
.hero-buttons {
  align-items: stretch;
}

.play-box-wrap {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: 0;
}

.play-box-wrap .play-button {
  width: 100%;
  min-width: 0;
  border-radius: 6px 0 0 6px;
  box-shadow:
    0 6px 0 rgba(0,0,0,0.28),
    inset -1px 0 0 rgba(255,255,255,0.18);
}

.player-box {
  position: relative;
  z-index: 3;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  border-radius: 0 6px 6px 0;
  color: #07351b;
  background:
    linear-gradient(180deg, #34df78, #1ec765);
  box-shadow:
    0 6px 0 rgba(0,0,0,0.28),
    inset 1px 0 0 rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.22);
  transition:
    background .18s ease,
    transform .18s ease,
    color .18s ease;
}

.player-box-value {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: "Archivo Black", sans-serif;
  font-size: 14px;
  line-height: 1;
}

.player-box-label {
  margin-top: 2px;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .12em;
  opacity: .72;
}

.player-box .player-icon {
  width: 14px;
  height: 14px;
}

.player-box.loading {
  color: #56420b;
  background: linear-gradient(180deg, #f7c74d, #e7a91d);
}

.player-box.offline {
  color: #ffffff;
  background: linear-gradient(180deg, #7d8588, #596164);
}

.player-box.error {
  color: #ffffff;
  background: linear-gradient(180deg, #e26a5e, #c84c43);
}

.play-box-wrap:hover .player-box {
  transform: translateY(-2px);
}

@media (max-width: 620px) {
  .play-box-wrap {
    grid-template-columns: minmax(0, 1fr) 72px;
  }

  .player-box {
    min-height: 58px;
  }
}


/* V6 top-left logo */
.mini-logo-image {
  width: 34px;
  height: 34px;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 2px 0 rgba(0,0,0,.12));
}

/* hide old procedural bee if leftover */
.mini-logo,
.bee-body,
.bee-wing {
  display: none !important;
}

/* cleaner Discord button like the provided example */
.discord-action {
  background: #6258f4;
  color: #ffffff;
}

.discord-clean-icon {
  width: 23px;
  height: 23px;
  display: block;
  fill: currentColor;
}

.discord-action:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}


/* V7 large Discord button */
.big-discord-icon {
  width: 25px;
  height: 25px;
}

.link-hover-icon {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .18s ease;
}

.discord-button:hover .link-hover-icon {
  transform: rotate(-7deg) scale(1.08);
}


/* V8 Minecraft username sign-in */
.sign-button {
  min-width: 120px;
}

.sign-button.signed-in {
  padding-left: 8px;
  padding-right: 13px;
}

.sign-button.signed-in .minecraft-head {
  background: transparent;
  box-shadow: none;
}

.sign-button.signed-in .minecraft-head > span {
  display: none;
}

.player-head-image {
  width: 26px;
  height: 26px;
  display: block;
  border-radius: 3px;
  image-rendering: pixelated;
  box-shadow:
    0 0 0 2px rgba(102, 52, 22, 0.18),
    0 2px 0 rgba(0, 0, 0, 0.12);
}

.sign-in-text {
  max-width: 105px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.signin-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  background: rgba(12, 14, 16, 0.64);
  backdrop-filter: blur(8px);
  transition:
    opacity .18s ease,
    visibility .18s ease;
}

.signin-overlay.open {
  opacity: 1;
  visibility: visible;
}

.signin-modal {
  position: relative;
  width: min(440px, 100%);
  padding: 32px;
  border-radius: 16px;
  color: #151717;
  text-align: center;
  background: #ffffff;
  box-shadow:
    0 24px 70px rgba(0,0,0,.28),
    0 5px 0 rgba(0,0,0,.12);
  transform: translateY(10px) scale(.98);
  transition: transform .18s ease;
}

.signin-overlay.open .signin-modal {
  transform: translateY(0) scale(1);
}

.signin-close {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 8px;
  color: #7a7f7c;
  background: #f2f3f1;
  font-size: 20px;
  cursor: pointer;
}

.signin-modal-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  border-radius: 13px;
  background:
    linear-gradient(145deg, #ffc21a, #ff9700);
  box-shadow: 0 5px 0 #d78300;
}

.signin-cube-face {
  position: relative;
  width: 28px;
  height: 28px;
  background: #b87543;
  box-shadow: inset 0 0 0 3px rgba(80,43,20,.25);
}

.signin-cube-face::before,
.signin-cube-face::after {
  content: "";
  position: absolute;
  top: 11px;
  width: 5px;
  height: 4px;
  background: #2d2825;
}

.signin-cube-face::before {
  left: 5px;
}

.signin-cube-face::after {
  right: 5px;
}

.signin-kicker {
  color: #0b7693;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .15em;
}

.signin-modal h2 {
  margin: 8px 0 10px;
  font-family: "Archivo Black", sans-serif;
  font-size: 25px;
  line-height: 1.05;
  letter-spacing: -.025em;
}

.signin-modal > p {
  max-width: 330px;
  margin: 0 auto 24px;
  color: #727877;
  font-size: 12px;
  line-height: 1.6;
}

.signin-form {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.signin-form label {
  margin-bottom: 7px;
  color: #4b5351;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.signin-input-wrap {
  min-height: 56px;
  display: grid;
  grid-template-columns: 1fr 46px;
  gap: 8px;
  align-items: center;
  padding: 5px 6px 5px 14px;
  border: 2px solid #e3e7e2;
  border-radius: 10px;
  background: #f9faf8;
  transition:
    border-color .18s ease,
    box-shadow .18s ease;
}

.signin-input-wrap:focus-within {
  border-color: #ffad09;
  box-shadow: 0 0 0 4px rgba(255, 173, 9, .1);
}

.signin-input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  color: #151717;
  background: transparent;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
}

.signin-input-wrap input::placeholder {
  color: #a9afac;
}

.signin-preview {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 7px;
  background: #eef0ed;
}

.signin-preview img {
  width: 42px;
  height: 42px;
  display: block;
  image-rendering: pixelated;
}

.preview-placeholder {
  width: 18px;
  height: 18px;
  background:
    linear-gradient(90deg, #a86e45 0 40%, #704224 40% 60%, #a86e45 60%);
}

.signin-error {
  min-height: 18px;
  margin-top: 7px;
  color: #cb4438;
  font-size: 10px;
  font-weight: 700;
}

.signin-submit {
  min-height: 48px;
  margin-top: 5px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(180deg, #ffc21a, #ff9e00);
  box-shadow: 0 4px 0 #cf7e00;
  font-weight: 800;
  cursor: pointer;
  transition:
    transform .16s ease,
    filter .16s ease;
}

.signin-submit:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.signin-submit:disabled {
  opacity: .6;
  cursor: progress;
}

.signin-signout {
  display: none;
  width: 100%;
  min-height: 40px;
  margin-top: 13px;
  border: 1px solid #e3e5e2;
  border-radius: 8px;
  color: #6e7471;
  background: #f7f8f6;
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

.signin-signout.visible {
  display: block;
}

/* V12 simple footer — inspired by the supplied structure, Firefly styling */
.simple-footer {
  position: relative;
  color: #ffffff;
  background:
    radial-gradient(circle at 7% 10%, rgba(255, 193, 26, .08), transparent 22%),
    linear-gradient(115deg, #123f49, #155565 58%, #124854);
  border-top: 5px solid #f3a800;
}

.simple-footer-inner {
  width: min(1240px, calc(100% - 48px));
  min-height: 270px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.65fr .72fr .78fr .8fr;
  gap: 80px;
  align-items: start;
  padding: 48px 0 44px;
}

.simple-footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.simple-footer-logo {
  width: 78px;
  height: 78px;
  margin-bottom: 17px;
  object-fit: contain;
  filter: drop-shadow(0 5px 2px rgba(0,0,0,.16));
}

.simple-footer-brand > strong {
  font-family: "Archivo Black", sans-serif;
  font-size: 16px;
  letter-spacing: -.015em;
}

.simple-footer-brand > p {
  max-width: 315px;
  margin: 7px 0 4px;
  color: rgba(255,255,255,.83);
  font-size: 10px;
  line-height: 1.55;
  font-weight: 600;
}

.simple-footer-brand > small {
  color: rgba(255,255,255,.53);
  font-size: 8px;
  font-weight: 600;
}

.simple-footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  padding-top: 24px;
}

.simple-footer-column > strong {
  margin-bottom: 5px;
  font-family: "Archivo Black", sans-serif;
  font-size: 13px;
}

.simple-footer-column > a {
  position: relative;
  color: rgba(255,255,255,.82);
  font-size: 10px;
  font-weight: 700;
  transition:
    color .16s ease,
    transform .16s ease;
}

.simple-footer-column > a::before {
  content: "";
  width: 4px;
  height: 4px;
  display: inline-block;
  margin: 0 8px 2px 0;
  border-radius: 1px;
  background: #f5b316;
  opacity: .75;
}

.simple-footer-column > a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.simple-footer-column > .simple-discord-link::before {
  display: none;
}

.simple-discord-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.simple-discord-link svg {
  width: 17px;
  height: 17px;
  fill: #ffffff;
}

.simple-footer-ip {
  width: 172px;
  min-height: 48px;
  margin-top: 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 10px 7px 12px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 7px;
  color: #ffffff;
  text-align: left;
  background: rgba(5, 31, 36, .24);
  box-shadow: 0 4px 0 rgba(0,0,0,.16);
  cursor: pointer;
  transition:
    transform .16s ease,
    background .16s ease;
}

.simple-footer-ip:hover {
  transform: translateY(-1px);
  background: rgba(5, 31, 36, .36);
}

.simple-footer-ip > span:first-child {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.simple-footer-ip small {
  color: #f7ba23;
  font-size: 6px;
  font-weight: 800;
  letter-spacing: .13em;
}

.simple-footer-ip b {
  font-size: 9px;
}

.simple-copy-text {
  color: #f7ba23;
  font-size: 7px;
  font-weight: 800;
}

@media (max-width: 900px) {
  .simple-footer-inner {
    grid-template-columns: 1.4fr repeat(2, 1fr);
    gap: 42px;
  }

  .simple-footer-column:last-child {
    grid-column: 2;
  }
}

@media (max-width: 620px) {
  .simple-footer-inner {
    width: min(100% - 32px, 1240px);
    grid-template-columns: 1fr 1fr;
    gap: 30px 24px;
    padding: 38px 0;
  }

  .simple-footer-brand {
    grid-column: 1 / -1;
  }

  .simple-footer-column {
    padding-top: 0;
  }

  .simple-footer-column:last-child {
    grid-column: auto;
  }
}


/* V11 sign-out button */
.signin-signout {
  border: 1px solid #c74343;
  color: #ffffff;
  background: #d94b4b;
  box-shadow: 0 4px 0 #a93434;
  transition:
    transform .16s ease,
    background .16s ease;
}

.signin-signout:hover {
  background: #e15454;
  transform: translateY(-1px);
}


/* =========================================================
   V13 HOMEPAGE CONTENT
   White + subtle moving blue-white gradient
========================================================= */

.below-fold {
  display: none;
}

.home-content-area {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(
      180deg,
      #ffffff 0%,
      #fbfdff 30%,
      #ffffff 64%,
      #f9fcfe 100%
    );
}

/* soft scattered blue-white light */
.soft-gradient-blob {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .36;
  will-change: transform;
}

.blob-one {
  width: 430px;
  height: 430px;
  left: -180px;
  top: 180px;
  background: rgba(130, 220, 255, .22);
  animation: soft-drift-one 15s ease-in-out infinite alternate;
}

.blob-two {
  width: 520px;
  height: 520px;
  right: -220px;
  top: 560px;
  background: rgba(189, 235, 255, .30);
  animation: soft-drift-two 18s ease-in-out infinite alternate;
}

.blob-three {
  width: 360px;
  height: 360px;
  left: 46%;
  bottom: 120px;
  background: rgba(231, 247, 255, .82);
  animation: soft-drift-three 13s ease-in-out infinite alternate;
}

@keyframes soft-drift-one {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(110px, 45px, 0);
  }
}

@keyframes soft-drift-two {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-120px, -55px, 0);
  }
}

@keyframes soft-drift-three {
  from {
    transform: translate3d(-20px, 0, 0);
  }

  to {
    transform: translate3d(80px, -35px, 0);
  }
}

.intro-section,
.showcase-section,
.news-section {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
}

.section-label {
  color: #087b9a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .18em;
}

.intro-section {
  padding: 118px 0 115px;
}

.intro-section > .section-label {
  display: block;
  margin-bottom: 28px;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr .9fr;
  gap: 110px;
  align-items: start;
}

.intro-heading h2 {
  margin: 0;
  max-width: 560px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(50px, 5.4vw, 78px);
  line-height: .96;
  letter-spacing: -.045em;
  color: #111719;
}

.intro-heading h2 span {
  display: block;
  color: #0a7897;
}

.intro-copy {
  padding-top: 8px;
}

.intro-copy p {
  margin: 0 0 18px;
  color: #606a6d;
  font-size: 14px;
  line-height: 1.78;
}

.intro-link,
.all-news-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 10px;
  color: #0b7896;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
}

.intro-link svg,
.all-news-link svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .16s ease;
}

.intro-link:hover svg,
.all-news-link:hover svg {
  transform: translateX(4px);
}

/* SECTION HEADERS */

.section-topline {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-topline h2 {
  margin: 9px 0 0;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(34px, 4vw, 52px);
  line-height: 1;
  letter-spacing: -.035em;
}

.section-note {
  color: #929b9e;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .15em;
}

/* SHOWCASE */

.showcase-section {
  padding: 105px 0 118px;
  border-top: 1px solid rgba(9, 118, 150, .09);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1.35fr .75fr;
  grid-template-rows: repeat(2, 220px);
  gap: 16px;
}

.showcase-large {
  grid-row: 1 / 3;
}

.showcase-card {
  overflow: hidden;
  border: 1px solid rgba(10, 109, 137, .10);
  border-radius: 15px;
  background: #ffffff;
  box-shadow:
    0 5px 0 rgba(17, 73, 88, .05),
    0 16px 38px rgba(29, 74, 85, .05);
}

.showcase-visual {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.visual-world {
  background:
    linear-gradient(180deg, #b9e6fa 0 42%, #d8f2fb 42% 52%, #7cab55 52% 63%, #4f7b3c 63% 100%);
}

.visual-community {
  background:
    radial-gradient(circle at 70% 25%, rgba(255,255,255,.75), transparent 18%),
    linear-gradient(145deg, #edf9ff, #bddff1);
}

.visual-progress {
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,.78), transparent 22%),
    linear-gradient(145deg, #f7fbfd, #d8ecf7);
}

/* pseudo pixel scenery */
.pixel-hill {
  position: absolute;
  bottom: 0;
  background: #4b7738;
}

.hill-back {
  left: -8%;
  width: 68%;
  height: 47%;
  clip-path: polygon(0 100%, 0 45%, 18% 45%, 18% 27%, 35% 27%, 35% 13%, 55% 13%, 55% 32%, 72% 32%, 72% 48%, 100% 48%, 100% 100%);
  opacity: .74;
}

.hill-front {
  right: -4%;
  width: 72%;
  height: 37%;
  background: #5f8e43;
  clip-path: polygon(0 100%, 0 55%, 20% 55%, 20% 31%, 43% 31%, 43% 15%, 63% 15%, 63% 37%, 82% 37%, 82% 51%, 100% 51%, 100% 100%);
}

.community-cubes,
.progress-blocks {
  position: absolute;
  inset: 0;
}

.community-cubes span,
.progress-blocks span {
  position: absolute;
  display: block;
  border-radius: 7px;
  transform: rotate(8deg);
  box-shadow: 0 8px 18px rgba(30, 87, 105, .09);
}

.community-cubes span:nth-child(1) {
  width: 88px;
  height: 88px;
  right: 50px;
  top: 35px;
  background: #ffc122;
}

.community-cubes span:nth-child(2) {
  width: 56px;
  height: 56px;
  right: 116px;
  top: 86px;
  background: #0b7c9b;
}

.community-cubes span:nth-child(3) {
  width: 38px;
  height: 38px;
  right: 32px;
  top: 125px;
  background: #ffffff;
}

.progress-blocks span:nth-child(1) {
  width: 96px;
  height: 34px;
  left: 48px;
  top: 65px;
  background: #0a7999;
}

.progress-blocks span:nth-child(2) {
  width: 74px;
  height: 34px;
  left: 85px;
  top: 105px;
  background: #35a4c1;
}

.progress-blocks span:nth-child(3) {
  width: 52px;
  height: 34px;
  left: 118px;
  top: 145px;
  background: #ffbd18;
}

.progress-blocks span:nth-child(4) {
  width: 34px;
  height: 34px;
  left: 153px;
  top: 185px;
  background: #ff9d00;
}

.showcase-overlay-copy {
  position: absolute;
  left: 20px;
  bottom: 18px;
  max-width: 300px;
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 9px;
  color: #ffffff;
  background: rgba(20, 48, 56, .60);
  backdrop-filter: blur(7px);
}

.showcase-overlay-copy span {
  display: block;
  margin-bottom: 3px;
  color: #d8f4ff;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .14em;
}

.showcase-overlay-copy strong {
  font-size: 12px;
}

/* NEWS */

.news-section {
  padding: 110px 0 130px;
  border-top: 1px solid rgba(9, 118, 150, .09);
}

.news-grid {
  display: grid;
  grid-template-columns: 1.25fr repeat(2, .82fr);
  gap: 16px;
}

.news-card {
  overflow: hidden;
  border: 1px solid rgba(10, 109, 137, .10);
  border-radius: 14px;
  background: rgba(255,255,255,.92);
  box-shadow:
    0 5px 0 rgba(17, 73, 88, .045),
    0 15px 35px rgba(29, 74, 85, .045);
  transition:
    transform .18s ease,
    box-shadow .18s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 7px 0 rgba(17, 73, 88, .05),
    0 22px 44px rgba(29, 74, 85, .08);
}

.news-image {
  position: relative;
  height: 175px;
  overflow: hidden;
}

.featured-news .news-image {
  height: 220px;
}

.news-image-one {
  background:
    linear-gradient(120deg, rgba(5, 83, 108, .1), rgba(255, 186, 21, .10)),
    linear-gradient(145deg, #bfe8f7, #7eb2c6 45%, #4e7844 46%, #315b36);
}

.news-image-two {
  background:
    radial-gradient(circle at 70% 28%, rgba(255, 194, 37, .68), transparent 16%),
    linear-gradient(145deg, #d9f3fb, #9bcddd);
}

.news-image-three {
  background:
    linear-gradient(145deg, #edf8fc, #baddec 55%, #89bccc);
}

.news-badge {
  position: absolute;
  left: 14px;
  top: 14px;
  padding: 6px 8px;
  border-radius: 5px;
  color: #ffffff;
  background: #ffac00;
  box-shadow: 0 3px 0 #d98400;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .11em;
}

.news-content {
  padding: 19px 18px 20px;
}

.featured-news .news-content {
  padding: 22px 22px 24px;
}

.news-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #8d989b;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .11em;
}

.news-meta span:first-child {
  color: #087b9a;
}

.news-content h3 {
  margin: 0;
  font-family: "Archivo Black", sans-serif;
  font-size: 17px;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.featured-news .news-content h3 {
  font-size: 23px;
}

.news-content p {
  margin: 10px 0 15px;
  color: #707a7d;
  font-size: 10px;
  line-height: 1.65;
}

.featured-news .news-content p {
  font-size: 11px;
}

.news-content > a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #0a7998;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .08em;
}

.news-content > a span {
  transition: transform .16s ease;
}

.news-content > a:hover span {
  transform: translateX(4px);
}

@media (max-width: 950px) {
  .intro-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .showcase-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 360px 210px;
  }

  .showcase-large {
    grid-column: 1 / -1;
    grid-row: auto;
  }

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

  .featured-news {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .intro-section,
  .showcase-section,
  .news-section {
    width: min(100% - 30px, 1240px);
  }

  .intro-section {
    padding: 82px 0 84px;
  }

  .showcase-section,
  .news-section {
    padding: 80px 0;
  }

  .section-topline {
    align-items: flex-start;
    flex-direction: column;
  }

  .showcase-grid,
  .news-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .showcase-large,
  .featured-news {
    grid-column: auto;
  }

  .showcase-card {
    height: 230px;
  }

  .showcase-large {
    height: 310px;
  }

  .featured-news .news-image {
    height: 185px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .soft-gradient-blob {
    animation: none;
  }
}


/* =========================================================
   V14 SIMPLIFIED RELEASE SECTION + MORE SPACE
========================================================= */

.intro-section {
  padding-top: 145px;
  padding-bottom: 145px;
}

.showcase-section {
  padding-top: 135px;
  padding-bottom: 145px;
}

.news-section {
  display: none;
}

.release-section {
  position: relative;
  z-index: 2;
  width: min(1240px, calc(100% - 48px));
  margin: 0 auto;
  padding: 145px 0 165px;
  border-top: 1px solid rgba(9, 118, 150, .09);
}

.release-card {
  position: relative;
  min-height: 430px;
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 70px;
  align-items: center;
  overflow: hidden;
  padding: 64px 68px;
  border: 1px solid rgba(10, 109, 137, .11);
  border-radius: 22px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.98), rgba(246,251,254,.96));
  box-shadow:
    0 6px 0 rgba(17, 73, 88, .045),
    0 24px 60px rgba(25, 76, 89, .07);
}

.release-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .34;
  pointer-events: none;
}

.release-glow-one {
  width: 300px;
  height: 300px;
  left: -120px;
  top: -100px;
  background: rgba(161, 223, 247, .40);
  animation: release-glow-one 8s ease-in-out infinite alternate;
}

.release-glow-two {
  width: 260px;
  height: 260px;
  right: -90px;
  bottom: -100px;
  background: rgba(255, 193, 30, .22);
  animation: release-glow-two 10s ease-in-out infinite alternate;
}

.release-copy {
  position: relative;
  z-index: 3;
  max-width: 670px;
}

.release-copy h2 {
  margin: 12px 0 20px;
  font-family: "Archivo Black", sans-serif;
  font-size: clamp(58px, 6vw, 88px);
  line-height: .9;
  letter-spacing: -.05em;
  color: #111719;
}

.release-copy h2 span {
  display: block;
  color: #0a7897;
}

.release-copy > p {
  max-width: 650px;
  margin: 0;
  color: #657074;
  font-size: 13px;
  line-height: 1.8;
}

.release-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 34px;
  margin-top: 34px;
}

.release-meta > div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.release-meta small {
  color: #95a0a3;
  font-size: 7px;
  font-weight: 800;
  letter-spacing: .13em;
}

.release-meta strong {
  color: #203238;
  font-size: 11px;
}

.release-visual {
  position: relative;
  min-height: 290px;
  display: grid;
  place-items: center;
}

.release-core {
  position: relative;
  z-index: 4;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  transform: rotate(12deg);
  background:
    linear-gradient(145deg, #ffc31e, #ff9e00);
  box-shadow:
    0 12px 0 rgba(199, 120, 0, .20),
    0 24px 42px rgba(235, 155, 0, .20);
  animation: release-core-float 4.5s ease-in-out infinite;
}

.release-core span {
  width: 36px;
  height: 36px;
  border: 7px solid #ffffff;
  border-radius: 7px;
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.18);
}

.release-orbit {
  position: absolute;
  border: 1px solid rgba(11, 120, 150, .14);
  border-radius: 50%;
}

.orbit-one {
  width: 190px;
  height: 190px;
  animation: orbit-spin 15s linear infinite;
}

.orbit-two {
  width: 250px;
  height: 250px;
  border-style: dashed;
  animation: orbit-spin-reverse 22s linear infinite;
}

.orbit-three {
  width: 310px;
  height: 310px;
  opacity: .45;
}

.release-pixel {
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 3px;
  background: #0a7897;
  box-shadow: 0 4px 0 rgba(4, 85, 108, .15);
}

.pixel-one {
  left: 55px;
  top: 62px;
  animation: pixel-float-one 5s ease-in-out infinite;
}

.pixel-two {
  right: 54px;
  top: 88px;
  width: 12px;
  height: 12px;
  background: #ffc31e;
  animation: pixel-float-two 4s ease-in-out infinite;
}

.pixel-three {
  right: 85px;
  bottom: 54px;
  width: 10px;
  height: 10px;
  background: #7cc8df;
  animation: pixel-float-one 6s ease-in-out infinite reverse;
}

/* subtle reveal-on-scroll */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity .75s ease,
    transform .75s cubic-bezier(.2,.7,.2,1);
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.showcase-card,
.release-card {
  transition:
    transform .22s ease,
    box-shadow .22s ease;
}

.showcase-card:hover {
  transform: translateY(-6px);
}

.release-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 8px 0 rgba(17, 73, 88, .045),
    0 30px 70px rgba(25, 76, 89, .09);
}

@keyframes release-core-float {
  0%, 100% {
    transform: translateY(0) rotate(12deg);
  }

  50% {
    transform: translateY(-12px) rotate(16deg);
  }
}

@keyframes orbit-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes orbit-spin-reverse {
  from {
    transform: rotate(360deg);
  }

  to {
    transform: rotate(0deg);
  }
}

@keyframes pixel-float-one {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-10px) rotate(8deg);
  }
}

@keyframes pixel-float-two {
  0%, 100% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(8px, -8px);
  }
}

@keyframes release-glow-one {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(70px, 35px);
  }
}

@keyframes release-glow-two {
  from {
    transform: translate(0, 0);
  }

  to {
    transform: translate(-55px, -30px);
  }
}

@media (max-width: 900px) {
  .release-card {
    grid-template-columns: 1fr;
    padding: 54px 42px;
  }

  .release-visual {
    min-height: 260px;
  }
}

@media (max-width: 620px) {
  .intro-section,
  .showcase-section,
  .release-section {
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .release-section {
    width: min(100% - 30px, 1240px);
  }

  .release-card {
    padding: 38px 26px;
  }

  .release-copy h2 {
    font-size: 54px;
  }

  .release-meta {
    gap: 22px;
  }

  .release-visual {
    min-height: 220px;
  }

  .orbit-three {
    width: 260px;
    height: 260px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .release-core,
  .release-orbit,
  .release-pixel,
  .release-glow,
  .reveal-on-scroll {
    animation: none;
    transition: none;
  }

  .reveal-on-scroll {
    opacity: 1;
    transform: none;
  }
}


/* =========================================================
   V15 CASUAL COPY / SOURCE DETERRENTS
   NOTE: client-side source can never be truly hidden.
========================================================= */

.protect-source {
  -webkit-user-select: none;
  user-select: none;
}

.protect-source img,
.protect-source svg {
  -webkit-user-drag: none;
  user-drag: none;
}

/* Keep forms usable */
.protect-source input,
.protect-source textarea,
.protect-source [contenteditable="true"] {
  -webkit-user-select: text;
  user-select: text;
}

/* Staff authentication */
.staff-pin-wrap{display:none!important;margin-top:7px}
.staff-pin-wrap.visible{display:flex!important}
.staff-pin-wrap span{font-size:7px;font-weight:800;letter-spacing:.1em;color:#78837d}
.staff-pin-wrap input{width:100%;min-height:44px;padding:0 11px;border:1px solid #dfe6de;border-radius:8px;outline:0;background:#f9fbf8;font:inherit;font-size:11px;letter-spacing:.18em}
.staff-pin-wrap input:focus{border-color:rgba(10,120,151,.4);box-shadow:0 0 0 4px rgba(10,120,151,.07)}
.staff-pin-wrap small{font-size:7px;color:#8d9892}
.staff-control-button{min-width:82px;color:#fff;background:#0a7897;box-shadow:0 4px 0 #075b72}


/* =========================
   Home Lower Section V2
   ========================= */

.home-lower{
  position:relative;
  padding:110px 20px 95px;
  overflow:hidden;
  background:
    radial-gradient(circle at 15% 20%,rgba(98,171,77,.09),transparent 28%),
    radial-gradient(circle at 86% 75%,rgba(10,120,151,.07),transparent 30%),
    linear-gradient(180deg,#ffffff 0%,#f7faf6 100%);
}

.home-lower::before{
  content:"";
  position:absolute;
  left:0;right:0;top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,#dfe8dd,transparent);
}

.home-lower-inner{
  position:relative;
  width:min(1120px,100%);
  margin:auto;
}

.home-intro-card{
  max-width:760px;
  margin:0 auto 72px;
  text-align:center;
}

.section-kicker{
  display:inline-block;
  margin-bottom:13px;
  color:#0a7897;
  font-size:8px;
  font-weight:900;
  letter-spacing:.18em;
}

.home-intro-card h2{
  margin:0;
  color:#17211b;
  font-family:"Archivo Black",sans-serif;
  font-size:clamp(36px,5vw,64px);
  line-height:1.02;
  letter-spacing:-.045em;
}

.home-intro-card p{
  max-width:650px;
  margin:19px auto 0;
  color:#7a877f;
  font-size:12px;
  line-height:1.8;
}

.home-intro-actions{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:28px;
}

.home-primary,.home-secondary{
  min-height:44px;
  padding:0 18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  font-size:8px;
  font-weight:900;
  text-decoration:none;
  transition:.18s ease;
}

.home-primary{
  color:#fff;
  background:#5ca04d;
  box-shadow:0 4px 0 #3d7635;
}

.home-secondary{
  color:#516057;
  border:1px solid #dfe6dc;
  background:#fff;
}

.home-primary:hover,.home-secondary:hover{
  transform:translateY(-2px);
}

.feature-strip{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:14px;
}

.feature-strip article{
  min-height:140px;
  padding:22px;
  display:flex;
  gap:16px;
  border:1px solid #e1e8df;
  border-radius:13px;
  background:rgba(255,255,255,.9);
  box-shadow:0 16px 38px rgba(52,79,58,.04);
}

.feature-strip article>span{
  flex:0 0 auto;
  color:#b4beb7;
  font-family:"Archivo Black",sans-serif;
  font-size:13px;
}

.feature-strip strong{
  display:block;
  color:#203026;
  font-size:10px;
  letter-spacing:.04em;
}

.feature-strip p{
  margin:7px 0 0;
  color:#8a958e;
  font-size:9px;
  line-height:1.65;
}

.release-banner{
  margin-top:34px;
  padding:27px 30px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  border-radius:14px;
  color:#fff;
  background:
    radial-gradient(circle at 80% 10%,rgba(255,215,90,.18),transparent 25%),
    linear-gradient(135deg,#29462d,#3f7544 60%,#235f4d);
  box-shadow:0 20px 45px rgba(37,74,45,.15);
}

.release-tag{
  display:inline-block;
  padding:6px 8px;
  border-radius:6px;
  color:#f5d262;
  background:rgba(255,255,255,.09);
  font-size:7px;
  font-weight:900;
  letter-spacing:.12em;
}

.release-banner h3{
  margin:10px 0 5px;
  font-family:"Archivo Black",sans-serif;
  font-size:22px;
}

.release-banner p{
  margin:0;
  color:#d6e5d8;
  font-size:9px;
}

.release-button{
  flex:0 0 auto;
  min-height:42px;
  padding:0 15px;
  display:inline-flex;
  align-items:center;
  border-radius:8px;
  color:#203521;
  background:#f1c84b;
  box-shadow:0 4px 0 #b68c19;
  font-size:8px;
  font-weight:900;
  text-decoration:none;
}

/* =========================
   Firefly Footer V2
   ========================= */

.site-footer{
  position:relative;
  overflow:hidden;
  color:#e9f1ea;
  background:
    radial-gradient(circle at 16% 0%,rgba(96,167,73,.2),transparent 34%),
    linear-gradient(180deg,#1c2c20 0%,#142019 100%);
  border-top:1px solid rgba(255,255,255,.06);
}

.footer-glow{
  position:absolute;
  right:-150px;
  top:-160px;
  width:460px;
  height:460px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(243,199,71,.08),transparent 68%);
  pointer-events:none;
}

.footer-inner{
  position:relative;
  width:min(1120px,calc(100% - 40px));
  margin:auto;
  padding:62px 0 52px;
  display:grid;
  grid-template-columns:2fr repeat(3,1fr);
  gap:42px;
}

.footer-brand-row{
  display:flex;
  align-items:center;
  gap:11px;
}

.footer-logo{
  width:44px;
  height:44px;
  object-fit:contain;
}

.footer-brand-row strong{
  display:block;
  color:#fff;
  font-family:"Archivo Black",sans-serif;
  font-size:17px;
}

.footer-brand-row span{
  display:block;
  margin-top:3px;
  color:#9cb2a1;
  font-size:8px;
}

.footer-brand-block p{
  max-width:390px;
  margin:18px 0;
  color:#9eb0a2;
  font-size:9px;
  line-height:1.75;
}

.footer-server{
  width:max-content;
  display:flex;
  align-items:center;
  gap:8px;
  padding:7px 7px 7px 11px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:8px;
  background:rgba(255,255,255,.035);
}

.footer-server>span{
  color:#7ea484;
  font-size:7px;
  font-weight:900;
  letter-spacing:.1em;
}

.footer-server button{
  border:0;
  border-radius:6px;
  padding:8px 10px;
  color:#eaf5e9;
  background:#35553a;
  font:inherit;
  font-size:8px;
  font-weight:900;
  cursor:pointer;
}

.footer-column h3{
  margin:0 0 15px;
  color:#fff;
  font-size:9px;
  letter-spacing:.08em;
}

.footer-column{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.footer-column a{
  margin:0 0 10px;
  color:#9eb0a2;
  font-size:8px;
  font-weight:700;
  text-decoration:none;
  transition:.16s ease;
}

.footer-column a:hover{
  color:#dce9dc;
  transform:translateX(2px);
}

.footer-social{
  display:flex;
  align-items:center;
  gap:7px;
}

.footer-social svg{
  width:13px;
  height:11px;
}

.footer-bottom{
  width:min(1120px,calc(100% - 40px));
  margin:auto;
  padding:18px 0 22px;
  display:flex;
  justify-content:space-between;
  gap:14px;
  border-top:1px solid rgba(255,255,255,.07);
  color:#6f8474;
  font-size:7px;
}

@media(max-width:900px){
  .feature-strip{grid-template-columns:1fr}
  .footer-inner{grid-template-columns:1.5fr 1fr 1fr}
  .footer-brand-block{grid-column:1/-1}
}

@media(max-width:650px){
  .home-lower{padding:80px 14px}
  .home-intro-actions{flex-direction:column}
  .release-banner{align-items:flex-start;flex-direction:column}
  .footer-inner{width:calc(100% - 28px);grid-template-columns:1fr 1fr}
  .footer-brand-block{grid-column:1/-1}
  .footer-bottom{width:calc(100% - 28px);flex-direction:column}
}

.simple-home-lower{position:relative;padding:105px 22px 100px;overflow:hidden;background:radial-gradient(circle at 18% 12%,rgba(127,190,104,.14),transparent 31%),radial-gradient(circle at 82% 72%,rgba(65,139,116,.11),transparent 30%),linear-gradient(135deg,#fbfdf9 0%,#f1f7ef 48%,#f7faf4 100%)}
.simple-home-lower:before{content:"";position:absolute;inset:0;opacity:.22;pointer-events:none;background-image:linear-gradient(rgba(48,75,52,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(48,75,52,.025) 1px,transparent 1px);background-size:32px 32px}
.simple-home-inner{position:relative;z-index:1;width:min(950px,100%);margin:auto}
.simple-heading{text-align:center;max-width:700px;margin:0 auto 44px}
.simple-heading>span{display:inline-block;color:#5a9b4d;font-size:8px;font-weight:1000;letter-spacing:.2em;margin-bottom:12px}
.simple-heading h2{margin:0;color:#172019;font-family:"Archivo Black",sans-serif;font-size:clamp(35px,5vw,59px);line-height:1.02;letter-spacing:-.045em}
.simple-heading p{margin:16px auto 0;color:#7e8b81;font-size:11px;font-weight:700}
.simple-actions{max-width:720px;margin:auto;display:grid;gap:14px}
.chunky-button{position:relative;min-height:76px;padding:13px 18px;display:grid;grid-template-columns:48px 1fr auto;align-items:center;gap:15px;border-radius:10px;color:#fff;text-decoration:none;border:1px solid rgba(0,0,0,.08);transition:transform .14s ease,filter .14s ease}
.chunky-button:hover{transform:translateY(-3px);filter:brightness(1.035)}
.chunky-button:active{transform:translateY(3px);box-shadow:none!important}
.chunky-green{background:linear-gradient(180deg,#6db65c,#579b49);box-shadow:0 6px 0 #397c32,0 12px 22px rgba(56,102,48,.13)}
.chunky-gold{background:linear-gradient(180deg,#ffbf25,#efa400);box-shadow:0 6px 0 #bb7600,0 12px 22px rgba(161,106,0,.13)}
.chunky-blue{background:linear-gradient(180deg,#6670ff,#5557e7);box-shadow:0 6px 0 #3c3db5,0 12px 22px rgba(58,58,160,.13)}
.chunky-icon{width:46px;height:46px;display:grid;place-items:center;border-radius:8px;background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.14);box-shadow:inset 0 -3px 0 rgba(0,0,0,.08);font-size:17px;font-weight:1000}
.chunky-button small{display:block;margin-bottom:4px;color:rgba(255,255,255,.73);font-size:7px;font-weight:900;letter-spacing:.09em}
.chunky-button strong{display:block;font-size:11px;font-weight:1000;letter-spacing:.015em}
.chunky-button>b{font-size:21px;padding-right:4px}
.simple-server-line{margin:39px auto 0;display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:10px;color:#7e8c82;font-size:8px;font-weight:800}
.simple-server-line strong{color:#506356}.simple-server-line i{width:3px;height:3px;border-radius:50%;background:#b8c4ba}.pulse-dot{width:7px;height:7px;border-radius:50%;background:#61b553;box-shadow:0 0 0 4px rgba(97,181,83,.12)}

.firefly-footer-v3{color:#e8eee8;background:radial-gradient(circle at 50% -120%,rgba(111,171,83,.16),transparent 38%),linear-gradient(180deg,#17221a,#101812);border-top:1px solid rgba(255,255,255,.055)}
.footer-v3-main{width:min(1120px,calc(100% - 40px));min-height:118px;margin:auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:30px}
.footer-v3-brand{display:flex;align-items:center;gap:10px}.footer-v3-brand img{width:36px;height:36px;object-fit:contain}
.footer-v3-brand strong{display:block;color:#fff;font-family:"Archivo Black",sans-serif;font-size:13px}.footer-v3-brand span{display:block;margin-top:3px;color:#6f8474;font-size:6px;font-weight:900;letter-spacing:.14em}
.footer-v3-nav{display:flex;align-items:center;gap:22px}.footer-v3-nav a,.footer-v3-socials a{color:#8da092;text-decoration:none;font-size:7px;font-weight:1000;letter-spacing:.07em;transition:.15s ease}.footer-v3-nav a:hover,.footer-v3-socials a:hover{color:#fff}
.footer-v3-socials{display:flex;justify-content:flex-end;gap:13px}
.footer-v3-bottom{width:min(1120px,calc(100% - 40px));min-height:50px;margin:auto;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:15px;border-top:1px solid rgba(255,255,255,.06);color:#56675a;font-size:6px;font-weight:800;letter-spacing:.05em}
.footer-v3-bottom>span:last-child{text-align:right}.footer-v3-bottom button{border:1px solid rgba(255,255,255,.07);border-radius:6px;padding:7px 10px;color:#9bb39e;background:#1c2a1f;font:inherit;font-size:7px;font-weight:1000;cursor:pointer}.footer-v3-bottom button:hover{color:#fff;background:#233427}
@media(max-width:760px){.simple-home-lower{padding:78px 14px}.footer-v3-main{padding:32px 0;grid-template-columns:1fr;justify-items:center}.footer-v3-socials{justify-content:center}.footer-v3-bottom{padding:18px 0;grid-template-columns:1fr;justify-items:center}.footer-v3-bottom>span:last-child{text-align:center}}
@media(max-width:520px){.chunky-button{grid-template-columns:42px 1fr auto;padding:12px}.chunky-icon{width:40px;height:40px}.footer-v3-nav{gap:14px}.footer-v3-socials{gap:10px}}


/* V4 spacing correction */
.simple-home-lower{
  padding:62px 22px 58px !important;
}

.simple-heading{
  margin-bottom:28px !important;
}

.simple-heading>span{
  margin-bottom:8px !important;
}

.simple-heading p{
  margin-top:11px !important;
}

.simple-actions{
  gap:11px !important;
}

.chunky-button{
  min-height:68px !important;
}

.simple-server-line{
  margin-top:25px !important;
}

.firefly-footer-v3{
  margin-top:0 !important;
}

.footer-v3-main{
  min-height:96px !important;
}

@media(max-width:760px){
  .simple-home-lower{
    padding:48px 14px 46px !important;
  }

  .simple-heading{
    margin-bottom:24px !important;
  }
}


/* V5 — remove remaining Home whitespace */
html,body{
  margin:0;
  padding:0;
}

.home-hero{
  margin-bottom:0 !important;
}

.simple-home-lower{
  margin:0 !important;
  padding:38px 22px 38px !important;
  min-height:0 !important;
}

.simple-home-inner{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

.simple-heading{
  margin-top:0 !important;
  margin-bottom:20px !important;
}

.simple-heading h2{
  margin-top:0 !important;
}

.simple-actions{
  margin-top:0 !important;
  margin-bottom:0 !important;
}

.simple-server-line{
  margin-top:19px !important;
  margin-bottom:0 !important;
}

.firefly-footer-v3{
  margin:0 !important;
  padding:0 !important;
}

.footer-v3-main{
  min-height:82px !important;
}

.footer-v3-bottom{
  min-height:42px !important;
}

/* Prevent generic section rules from creating huge vertical gaps */
body.home-page main,
body.home-page section{
  margin-bottom:0;
}

@media(max-width:760px){
  .simple-home-lower{
    padding:32px 14px 34px !important;
  }
}


/* =========================================================
   V6 HOME STRUCTURE FIX
   ========================================================= */

.hero{
  margin-bottom:0 !important;
}

.simple-home-lower{
  position:relative;
  margin-top:-1px !important;
  padding-top:46px !important;
  padding-bottom:45px !important;
  background:
    radial-gradient(circle at 13% 15%,rgba(112,185,89,.13),transparent 27%),
    radial-gradient(circle at 88% 75%,rgba(37,129,108,.08),transparent 29%),
    linear-gradient(135deg,#f8fcf6 0%,#eef6ec 52%,#f7faf5 100%) !important;
}

.simple-home-lower::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:1px;
  background:linear-gradient(90deg,transparent,rgba(74,121,76,.12),transparent);
}

.home-content-area{
  display:none !important;
  min-height:0 !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
}


/* =========================================================
   V7 GLOBAL STICKY HEADER
   ========================================================= */
.topbar{
  position:sticky !important;
  top:0 !important;
  z-index:1000 !important;
  transition:
    box-shadow .2s ease,
    background-color .2s ease,
    backdrop-filter .2s ease;
}

.topbar.scrolled{
  background:rgba(255,255,255,.93) !important;
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  box-shadow:0 8px 28px rgba(22,34,25,.12);
}

/* =========================================================
   V7 HOME BACKGROUND / TRANSITION
   ========================================================= */
.hero{
  position:relative;
  margin:0 !important;
  border-bottom:0 !important;
}

.hero::after{
  display:none !important;
  content:none !important;
}

.wave-separator,
.hero-wave,
.section-wave,
.curve-separator{
  display:none !important;
  height:0 !important;
  margin:0 !important;
  padding:0 !important;
}

.simple-home-lower{
  margin:0 !important;
  padding:52px 22px 48px !important;
  background:
    linear-gradient(rgba(245,250,243,.92),rgba(241,247,239,.94)),
    url("../assets/play-background.png") center/cover no-repeat fixed !important;
  border-top:0 !important;
}

.simple-home-lower::before{
  opacity:.16 !important;
}

.simple-home-lower::after{
  display:none !important;
}

/* =========================================================
   V7 GLOBAL FOOTER
   compact, header-like, consistent on all pages
   ========================================================= */
.global-footer{
  margin:0;
  color:#17211b;
  background:#fff;
  border-top:1px solid #e5ebe4;
  box-shadow:0 -8px 28px rgba(35,61,42,.035);
}

.global-footer-inner{
  width:min(1120px,calc(100% - 40px));
  min-height:86px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:28px;
}

.global-footer-brand{
  display:flex;
  align-items:center;
  gap:9px;
  color:#17211b;
  text-decoration:none;
}

.global-footer-brand img{
  width:34px;
  height:34px;
  object-fit:contain;
}

.global-footer-brand strong{
  display:block;
  font-family:"Archivo Black",sans-serif;
  font-size:12px;
}

.global-footer-brand small{
  display:block;
  margin-top:2px;
  color:#94a098;
  font-size:6px;
  font-weight:900;
  letter-spacing:.12em;
}

.global-footer-nav{
  display:flex;
  align-items:center;
  gap:20px;
}

.global-footer-nav a{
  color:#497263;
  text-decoration:none;
  font-size:7px;
  font-weight:1000;
  transition:.15s ease;
}

.global-footer-nav a:hover{
  color:#0a7897;
  transform:translateY(-1px);
}

.global-footer-socials{
  display:flex;
  justify-content:flex-end;
  gap:8px;
}

.global-footer-socials a{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  border:1px solid #e0e7df;
  border-radius:7px;
  color:#557062;
  background:#f8faf7;
  transition:.15s ease;
}

.global-footer-socials a:hover{
  color:#fff;
  background:#5da44f;
  border-color:#5da44f;
  transform:translateY(-2px);
}

.global-footer-socials svg{
  width:14px;
  height:14px;
}

.global-footer-bottom{
  width:min(1120px,calc(100% - 40px));
  min-height:42px;
  margin:auto;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:18px;
  border-top:1px solid #edf1ec;
  color:#9aa49d;
  font-size:6px;
  font-weight:800;
}

.global-footer-bottom>span:last-child{
  text-align:right;
}

.global-footer-ip{
  padding:7px 10px;
  border:1px solid #e0e7df;
  border-radius:6px;
  color:#587160;
  background:#f8faf7;
  font:inherit;
  font-size:7px;
  font-weight:1000;
  cursor:pointer;
}

.global-footer-ip:hover{
  color:#fff;
  background:#5da44f;
  border-color:#5da44f;
}

@media(max-width:800px){
  .global-footer-inner{
    padding:26px 0;
    grid-template-columns:1fr;
    justify-items:center;
  }
  .global-footer-socials{justify-content:center}
  .global-footer-bottom{
    padding:14px 0;
    grid-template-columns:1fr;
    justify-items:center;
  }
  .global-footer-bottom>span:last-child{text-align:center}
}



/* =========================================================
   V8 WAVE TRANSITION — keep curve, no white strip
   ========================================================= */
.firefly-transition-wave{
  position:relative;
  height:76px;
  margin-top:-1px;
  margin-bottom:-1px;
  overflow:hidden;
  background:
    linear-gradient(rgba(245,250,243,.92),rgba(241,247,239,.94)),
    url("../assets/play-background.png") center/cover no-repeat fixed;
}

.firefly-transition-wave svg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
}

.firefly-transition-wave path{
  fill:#f1f7ef;
}

.simple-home-lower{
  padding-top:40px !important;
}

/* =========================================================
   V8 FOOTER — new design from scratch
   ========================================================= */
.firefly-footer-v8{
  position:relative;
  margin:0;
  overflow:hidden;
  color:#dce8de;
  background:
    radial-gradient(circle at 16% -20%,rgba(104,170,81,.16),transparent 34%),
    radial-gradient(circle at 90% 0%,rgba(240,190,54,.05),transparent 28%),
    linear-gradient(180deg,#18271d 0%,#101912 100%);
  border-top:1px solid rgba(255,255,255,.06);
}

.firefly-footer-v8::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:3px;
  background:linear-gradient(90deg,#5aa44d,#8cc56e 45%,#efb52a 100%);
  opacity:.8;
}

.footer-v8-top{
  position:relative;
  width:min(1160px,calc(100% - 44px));
  margin:auto;
  padding:48px 0 38px;
  display:grid;
  grid-template-columns:1.2fr 2fr;
  gap:60px;
}

.footer-v8-brand{
  display:flex;
  align-items:flex-start;
  gap:15px;
}

.footer-v8-logo-wrap{
  flex:0 0 auto;
  width:58px;
  height:58px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.07);
  border-radius:12px;
  background:rgba(255,255,255,.035);
  box-shadow:inset 0 -4px 0 rgba(0,0,0,.1);
}

.footer-v8-logo-wrap img{
  width:42px;
  height:42px;
  object-fit:contain;
}

.footer-v8-brand-copy strong{
  display:block;
  color:#fff;
  font-family:"Archivo Black",sans-serif;
  font-size:20px;
  line-height:1;
  letter-spacing:-.02em;
}

.footer-v8-brand-copy>span{
  display:block;
  margin-top:6px;
  color:#76a17d;
  font-size:7px;
  font-weight:900;
  letter-spacing:.16em;
}

.footer-v8-brand-copy p{
  max-width:370px;
  margin:16px 0 0;
  color:#8fa093;
  font-size:9px;
  line-height:1.75;
}

.footer-v8-links{
  display:grid;
  grid-template-columns:.8fr 1fr 1.35fr;
  gap:36px;
}

.footer-v8-column{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.footer-v8-column h3{
  margin:0 0 14px;
  color:#dfe9df;
  font-size:7px;
  font-weight:1000;
  letter-spacing:.14em;
}

.footer-v8-column>a{
  margin-bottom:10px;
  color:#8fa093;
  font-size:8px;
  font-weight:800;
  text-decoration:none;
  transition:.16s ease;
}

.footer-v8-column>a:hover{
  color:#fff;
  transform:translateX(2px);
}

.footer-v8-social{
  display:flex;
  align-items:center;
  gap:8px;
}

.footer-v8-social-icon{
  width:24px;
  height:24px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.07);
  border-radius:6px;
  color:#9cb2a0;
  background:rgba(255,255,255,.025);
}

.footer-v8-social-icon.discord{
  color:#7c85ff;
}

.footer-v8-social-icon svg{
  width:12px;
  height:12px;
}

.footer-v8-ip{
  width:100%;
  min-width:190px;
  padding:12px 13px;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  border:1px solid rgba(255,255,255,.08);
  border-radius:9px;
  color:#fff;
  background:linear-gradient(180deg,#25392a,#1b2c20);
  box-shadow:0 4px 0 #0d1710;
  cursor:pointer;
  transition:.16s ease;
}

.footer-v8-ip:hover{
  transform:translateY(-2px);
  background:linear-gradient(180deg,#2d4633,#203527);
}

.footer-v8-ip>span{
  color:#74a37b;
  font-size:6px;
  font-weight:1000;
  letter-spacing:.12em;
}

.footer-v8-ip strong{
  margin-top:4px;
  color:#fff;
  font-size:10px;
  font-weight:1000;
}

.footer-v8-ip small{
  margin-top:4px;
  color:#6f8473;
  font-size:6px;
  font-weight:900;
}

.footer-v8-editions{
  margin-top:9px;
  display:flex;
  gap:10px;
  color:#708276;
  font-size:6px;
  font-weight:900;
}

.footer-v8-editions span{
  display:flex;
  align-items:center;
  gap:5px;
}

.footer-v8-editions i{
  width:6px;
  height:6px;
  border-radius:2px;
  background:#79cc66;
  box-shadow:0 0 7px rgba(121,204,102,.45);
}

.footer-v8-bottom{
  width:min(1160px,calc(100% - 44px));
  margin:auto;
  padding:16px 0 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border-top:1px solid rgba(255,255,255,.055);
  color:#5f7263;
  font-size:6px;
  font-weight:800;
}

.footer-v8-bottom-dot{
  width:3px;
  height:3px;
  border-radius:50%;
  background:#526755;
}

/* =========================================================
   V8 STAFF PIN — separate secure verification card
   ========================================================= */
.staff-pin-wrap{
  display:none !important;
  margin-top:12px;
  padding:13px;
  border:1px solid #d7e4d5;
  border-radius:10px;
  background:
    radial-gradient(circle at 100% 0%,rgba(89,165,74,.07),transparent 34%),
    linear-gradient(180deg,#f8fbf7,#f3f8f1);
}

.staff-pin-wrap.visible{
  display:block !important;
  animation:staffPinOpen .22s ease both;
}

.staff-pin-head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:11px;
}

.staff-pin-head>div:last-child{
  min-width:0;
}

.staff-pin-head strong{
  display:block;
  color:#40664a;
  font-size:7px;
  font-weight:1000;
  letter-spacing:.13em;
}

.staff-pin-head small{
  display:block;
  margin-top:3px;
  color:#8b9b8e;
  font-size:7px;
  font-weight:700;
}

.staff-pin-lock{
  position:relative;
  width:32px;
  height:32px;
  flex:0 0 auto;
  display:grid;
  place-items:end center;
}

.staff-pin-lock-top{
  position:absolute;
  top:2px;
  left:8px;
  width:16px;
  height:15px;
  border:3px solid #5aa44d;
  border-bottom:0;
  border-radius:8px 8px 0 0;
  box-sizing:border-box;
}

.staff-pin-lock-body{
  position:absolute;
  bottom:2px;
  width:25px;
  height:19px;
  border-radius:5px;
  background:linear-gradient(180deg,#6bb65d,#54a048);
  box-shadow:0 3px 0 #3d7b35;
}

.staff-pin-lock-body::after{
  content:"";
  position:absolute;
  left:50%;
  top:6px;
  width:4px;
  height:7px;
  transform:translateX(-50%);
  border-radius:3px;
  background:#e8f3e6;
}

.staff-pin-field{
  display:block;
}

.staff-pin-field>span{
  display:block;
  margin-bottom:6px;
  color:#68766d;
  font-size:6px;
  font-weight:1000;
  letter-spacing:.12em;
}

.staff-pin-input-shell{
  position:relative;
  display:flex;
  align-items:center;
}

.staff-pin-input-shell input{
  width:100%;
  min-height:46px;
  padding:0 76px 0 12px;
  border:1px solid #d7e0d5;
  border-radius:8px;
  outline:0;
  color:#344339;
  background:#fff;
  font:inherit;
  font-size:13px;
  font-weight:900;
  letter-spacing:.27em;
  box-sizing:border-box;
  transition:.16s ease;
}

.staff-pin-input-shell input:focus{
  border-color:#76b86a;
  box-shadow:0 0 0 4px rgba(90,164,77,.09);
}

.staff-pin-digits{
  position:absolute;
  right:10px;
  padding:5px 6px;
  border-radius:5px;
  color:#78917d;
  background:#edf5eb;
  font-size:6px;
  font-weight:1000;
  letter-spacing:.06em;
  pointer-events:none;
}

@keyframes staffPinOpen{
  from{opacity:0;transform:translateY(-5px)}
  to{opacity:1;transform:none}
}

@media(max-width:900px){
  .footer-v8-top{
    grid-template-columns:1fr;
    gap:34px;
  }
}

@media(max-width:650px){
  .footer-v8-top{
    width:calc(100% - 28px);
    padding:38px 0 30px;
  }

  .footer-v8-links{
    grid-template-columns:1fr 1fr;
  }

  .footer-v8-column:last-child{
    grid-column:1/-1;
  }

  .footer-v8-bottom{
    width:calc(100% - 28px);
    flex-direction:column;
    text-align:center;
  }

  .footer-v8-bottom-dot{
    display:none;
  }
}


/* =========================================================
   V9 FOOTER — Fresh-style idea, Firefly colors
   ========================================================= */

.firefly-footer-v9{
  margin:0;
  color:#525b56;
  background:
    radial-gradient(circle at 15% 15%,rgba(242,194,51,.08),transparent 28%),
    linear-gradient(180deg,#e9ece8 0%,#dde2dd 100%);
  border-top:1px solid #cfd6cf;
  box-shadow:inset 0 5px 0 rgba(240,190,44,.9);
}

.footer-v9-inner{
  width:min(1180px,calc(100% - 44px));
  margin:auto;
  padding:46px 0 42px;
  display:grid;
  grid-template-columns:1.05fr .68fr 1.25fr;
  gap:62px;
}

.firefly-footer-v9 h3{
  margin:0 0 17px;
  color:#8d6b0c;
  font-family:"Archivo Black",sans-serif;
  font-size:14px;
  letter-spacing:-.02em;
}

.footer-v9-brand{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:21px;
}

.footer-v9-brand img{
  width:42px;
  height:42px;
  object-fit:contain;
}

.footer-v9-brand strong{
  display:block;
  color:#d69f09;
  font-family:"Archivo Black",sans-serif;
  font-size:15px;
}

.footer-v9-brand span{
  display:block;
  margin-top:3px;
  color:#87918b;
  font-size:7px;
  font-weight:1000;
  letter-spacing:.12em;
}

.footer-v9-about p,
.footer-v9-support>p{
  margin:0;
  color:#68716c;
  font-size:10px;
  font-weight:700;
  line-height:1.8;
}

.footer-v9-copy{
  display:block;
  margin-top:18px;
  color:#8d6b0c;
  font-size:9px;
}

.footer-v9-about>small{
  display:block;
  margin-top:8px;
  color:#8d9690;
  font-size:8px;
  line-height:1.55;
}

.footer-v9-links nav{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

.footer-v9-links nav a{
  width:116px;
  margin-bottom:10px;
  display:flex;
  justify-content:space-between;
  gap:15px;
  color:#666f69;
  font-size:10px;
  font-weight:800;
  text-decoration:none;
  transition:.15s ease;
}

.footer-v9-links nav a b{
  color:#b58a16;
  font-size:12px;
}

.footer-v9-links nav a:hover{
  color:#b18108;
  transform:translateX(3px);
}

.footer-v9-socials{
  margin-top:16px;
  display:flex;
  gap:9px;
}

.footer-v9-socials a{
  width:30px;
  height:30px;
  display:grid;
  place-items:center;
  border-radius:50%;
  color:#fff;
  background:#8e9791;
  box-shadow:0 3px 0 rgba(91,102,95,.22);
  transition:.16s ease;
}

.footer-v9-socials a:hover{
  transform:translateY(-2px);
}

.footer-v9-socials a.discord{background:#5865f2}
.footer-v9-socials a.youtube{background:#ef3838}
.footer-v9-socials a.instagram{background:#e45075}
.footer-v9-socials a.tiktok{background:#303431}

.footer-v9-socials svg{
  width:13px;
  height:13px;
}

.footer-v9-support-buttons{
  margin-top:18px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
}

.footer-v9-discord,
.footer-v9-copyip{
  min-height:45px;
  border:0;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  color:#fff;
  font:inherit;
  font-size:8px;
  font-weight:1000;
  text-decoration:none;
  cursor:pointer;
  transition:.15s ease;
}

.footer-v9-discord{
  background:#5865f2;
  box-shadow:0 5px 0 #3b43b5;
}

.footer-v9-copyip{
  background:#e5ac19;
  box-shadow:0 5px 0 #af7900;
}

.footer-v9-discord:hover,
.footer-v9-copyip:hover{
  transform:translateY(-2px);
}

.footer-v9-discord svg{
  width:16px;
  height:13px;
}

.footer-v9-join-card{
  margin-top:25px;
  padding:10px;
  display:grid;
  grid-template-columns:130px 1fr;
  gap:16px;
  align-items:center;
  border:1px solid #cbd3cc;
  border-radius:10px;
  color:#555f59;
  background:rgba(255,255,255,.48);
  box-shadow:0 5px 0 rgba(134,146,137,.16);
  text-decoration:none;
  transition:.16s ease;
}

.footer-v9-join-card:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.72);
}

.footer-v9-thumb{
  height:76px;
  overflow:hidden;
  border-radius:7px;
}

.footer-v9-thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.footer-v9-join-card strong{
  display:block;
  color:#9b750d;
  font-family:"Archivo Black",sans-serif;
  font-size:11px;
}

.footer-v9-join-card span{
  display:block;
  margin-top:6px;
  color:#68716c;
  font-size:8px;
  font-weight:800;
}

.footer-v9-join-card small{
  display:block;
  margin-top:7px;
  color:#b1881a;
  font-size:7px;
  font-weight:900;
}

@media(max-width:900px){
  .footer-v9-inner{
    grid-template-columns:1fr 1fr;
  }
  .footer-v9-support{
    grid-column:1/-1;
  }
}

@media(max-width:620px){
  .footer-v9-inner{
    width:calc(100% - 28px);
    grid-template-columns:1fr;
    gap:35px;
  }
  .footer-v9-support{
    grid-column:auto;
  }
  .footer-v9-join-card{
    grid-template-columns:100px 1fr;
  }
}


/* =========================================================
   V13 Footer video card
   ========================================================= */

.footer-v9-support-buttons{
  display:none !important;
}

.footer-v9-video-card{
  margin-top:22px;
  padding:10px;
  display:grid;
  grid-template-columns:150px 1fr;
  gap:16px;
  align-items:center;
  border:1px solid #c9d1ca;
  border-radius:11px;
  color:#565f59;
  background:
    linear-gradient(180deg,rgba(255,255,255,.65),rgba(255,255,255,.48));
  box-shadow:0 5px 0 rgba(132,143,135,.16);
  text-decoration:none;
  transition:
    transform .16s ease,
    background .16s ease,
    box-shadow .16s ease;
}

.footer-v9-video-card:hover{
  transform:translateY(-3px);
  background:rgba(255,255,255,.82);
  box-shadow:0 7px 0 rgba(132,143,135,.16);
}

.footer-v9-video-thumb{
  position:relative;
  height:84px;
  overflow:hidden;
  border-radius:8px;
  background:#1b231d;
}

.footer-v9-video-thumb img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  filter:brightness(.78) saturate(.9);
  transition:transform .3s ease,filter .3s ease;
}

.footer-v9-video-card:hover .footer-v9-video-thumb img{
  transform:scale(1.05);
  filter:brightness(.86) saturate(1);
}

.footer-v9-play-icon{
  position:absolute;
  left:50%;
  top:50%;
  width:36px;
  height:36px;
  transform:translate(-50%,-50%);
  display:grid;
  place-items:center;
  padding-left:2px;
  border-radius:50%;
  color:#fff;
  background:rgba(217,160,13,.95);
  box-shadow:0 4px 0 rgba(142,98,0,.7);
  font-size:12px;
}

.footer-v9-video-kicker{
  display:block;
  margin-bottom:5px;
  color:#b1840c;
  font-size:6px;
  font-weight:1000;
  letter-spacing:.12em;
}

.footer-v9-video-copy strong{
  display:block;
  color:#8c6a0c;
  font-family:"Archivo Black",sans-serif;
  font-size:11px;
}

.footer-v9-video-copy small{
  display:block;
  margin-top:7px;
  color:#737d77;
  font-size:8px;
  line-height:1.55;
  font-weight:700;
}

@media(max-width:620px){
  .footer-v9-video-card{
    grid-template-columns:110px 1fr;
  }
}


/* =========================================================
   V14 cleanup
   ========================================================= */

/* HOME: real wave between hero image and lower content */
.home-hero-wave{
  position:relative;
  z-index:8;
  height:72px;
  margin-top:-58px;
  margin-bottom:-1px;
  pointer-events:none;
  overflow:hidden;
}
.home-hero-wave svg{
  width:100%;
  height:100%;
  display:block;
}
.home-hero-wave path{
  fill:#f1f5ed;
}
.simple-home-lower{
  border-top:0 !important;
}

/* STAFF: no large intro banner */
.staff-simple-section{
  padding-top:48px !important;
}

/* Moderator + Helper are intentionally simple: head + name only */
.staff-compact-row{
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:28px;
  padding:10px 0 26px;
}
.staff-compact-member{
  width:112px;
  text-align:center;
}
.staff-compact-member img{
  width:72px;
  height:72px;
  display:block;
  margin:0 auto 10px;
  image-rendering:pixelated;
  border-radius:8px;
  box-shadow:0 5px 0 rgba(0,0,0,.12);
}
.staff-compact-member strong{
  display:block;
  color:#18201b;
  font-family:"Archivo Black",sans-serif;
  font-size:12px;
  line-height:1.15;
}

/* PLAY: remove the dark-green dead strip below the hero */
body:has(.join-page) .join-page,
body:has(.join-page) .join-hero{
  margin-bottom:0 !important;
  padding-bottom:0 !important;
}
body:has(.join-page) .join-hero::after,
body:has(.join-page) .join-page::after{
  display:none !important;
  content:none !important;
}
