/* =========================
   FONTS AND DESIGN TOKENS
========================= */

@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");
:root {
  --accent: #f6c945;
  --accent-deep: #c89112;
  --black: #080807;
  --surface: #12120f;
  --surface-raised: #191914;
  --line: #34342d;
  --white: #f8f7f2;
  --muted: #aaa99f;
}

/* =========================
   SHARED PROMOTION STACK
========================= */

.promo-floating-stack {
  position: fixed;
  top: 76px;
  left: 50%;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: min(760px, calc(100% - 40px));
  max-height: calc(100vh - 88px);
  overflow-y: auto;
  pointer-events: none;
  transform: translateX(-50%);
}

.promo-floating-stack[hidden] {
  display: none;
}

.promo-slot {
  width: 100%;
  margin: 0;
  position: relative;
  overflow: visible;
  box-sizing: border-box;
  pointer-events: auto;
}

.promo-close {
  position: absolute;
  top: 8px;
  right: 10px;
  z-index: 2;
  display: block;
  width: auto;
  height: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: #d1d5db;
  font: inherit;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
}

.promo-close:hover {
  color: #facc15;
}

.promo-slot > .promo-announcement-content,
.promo-slot > .promo-campaign-content,
.promo-slot > .promo-running-content {
  padding-right: 44px;
}

.promo-advertisement {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: visible;
  padding-top: 10px;
  box-sizing: border-box;
}

.promo-advertisement-content {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}

.promo-advertisement-content iframe {
  max-width: 100%;
  border: 0;
}

.promo-announcement,
.promo-runningText,
.promo-campaign {
  width: 100%;
  padding-left: 30px;
  box-sizing: border-box;
}

.promo-runningText {
  overflow: visible;
}

.promo-announcement-content,
.promo-runningText .promo-running-content,
.promo-campaign-content {
  width: 100%;
  position: relative;
  padding: 13px 16px;
  border: 1px solid #242424;
  border-left: 2px solid #facc15;
  border-radius: 10px;
  background: linear-gradient(135deg, #0d0d0d, #111);
  color: #d1d5db;
  font-size: 13px;
  line-height: 1.55;
  text-align: left;
  box-sizing: border-box;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.promo-runningText .promo-running-content {
  color: #b7bcc5;
}

.promo-announcement-content a,
.promo-campaign-content a,
.promo-runningText a {
  color: #facc15;
  font-weight: 500;
  text-decoration: none;
}

.promo-announcement-content a:hover,
.promo-campaign-content a:hover,
.promo-runningText a:hover {
  text-decoration: underline;
}

.promo-announcement-content::before,
.promo-campaign-content::before,
.promo-runningText .promo-running-content::before {
  position: absolute;
  left: -29px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  text-align: center;
  font-size: 15px;
  line-height: 1;
}

.promo-announcement-content::before {
  content: "📢";
}

.promo-campaign-content::before {
  content: "🎁";
}
.promo-runningText .promo-running-content::before {
  content: "🚀";
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.promo-runningText .promo-running-wrapper {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
  box-sizing: border-box;
}

.promo-running-track {
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  -webkit-animation: promo-ticker 60s linear infinite;
  animation: promo-ticker 60s linear infinite;
  will-change: transform;
}

.promo-running-group {
  display: flex;
  align-items: center;
  padding-right: 60px;
}

.promo-running-group span {
  display: inline-block;
  color: #b7bcc5;
  font-size: 13px;
  margin-right: 60px;
}

.promo-running-group span:last-child {
  margin-right: 0;
}

@-webkit-keyframes promo-ticker {
  from {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  to {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}

@keyframes promo-ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.promo-runningText .promo-running-content {
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.promo-runningText .promo-running-content:hover {
  border-color: #333;
  border-left-color: #facc15;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

.promo-announcement-content,
.promo-campaign-content {
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.promo-announcement-content:hover,
.promo-campaign-content:hover {
  border-color: #333;
  border-left-color: #facc15;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.24);
}

@media (max-width: 768px) {
  .promo-floating-stack {
    top: 72px;
    width: calc(100% - 24px);
    max-height: calc(100vh - 84px);
  }

  .promo-slot {
    margin: 11px 0;
  }

  .promo-announcement,
  .promo-runningText,
  .promo-campaign {
    padding-left: 27px;
  }

  .promo-announcement-content,
  .promo-runningText .promo-running-content,
  .promo-campaign-content {
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 12px;
  }

  .promo-announcement-content::before,
  .promo-campaign-content::before,
  .promo-runningText .promo-running-content::before {
    left: -26px;
    width: 20px;
    height: 20px;
    font-size: 14px;
  }

  .promo-running-group {
    padding-right: 40px;
  }

  .promo-running-group span {
    font-size: 12px;
    margin-right: 40px;
  }

  .promo-running-group span:last-child {
    margin-right: 0;
  }

  .promo-running-track {
    -webkit-animation-duration: 30s;
    animation-duration: 50s;
  }
}
/* =========================
   GLOBAL LAYOUT
========================= */

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background:
    radial-gradient(circle at 84% 3%, #f6c9451a 0, transparent 26rem),
    radial-gradient(circle at 5% 52%, #c891120d 0, transparent 22rem),
    var(--black);
  color: var(--white);
  font-family: Poppins, sans-serif;
}
main {
  max-width: 1180px;
  margin: auto;
  padding: 0 34px;
  position: relative;
}
.glow {
  position: fixed;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: var(--accent);
  filter: blur(120px);
  opacity: 0.11;
  right: -200px;
  top: -220px;
  pointer-events: none;
}

/* =========================
   ZALALENA HEADER
========================= */

.header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  width: 100%;
  background: #000;
}

.header-spacer {
  height: 64px;
}
.header .nav {
  display: flex;
  max-width: 1100px;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  padding: 14px 20px;
}
.header .logo img {
  display: block;
  height: 38px;
}
.header .menu-desktop {
  display: flex;
  gap: 22px;
  align-items: center;
}
.header .menu-desktop a {
  position: relative;
  color: #9ca3af;
  font-size: 13px;
  text-decoration: none;
  transition: 0.25s;
}
.header .menu-desktop a:hover {
  color: #fff;
}
.header .menu-desktop a::after {
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #facc15;
  content: "";
  transition: 0.25s;
}
.header .menu-desktop a:hover::after {
  width: 100%;
}
.header .dropdown {
  position: relative;
}
.header .dropdown::after {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 14px;
  content: "";
}
.header .dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  z-index: 9999;
  min-width: 220px;
  max-height: 70vh;
  padding: 8px 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #222;
  border-radius: 12px;
  background: #111;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: all 0.2s ease;
  visibility: hidden;
}
.header .dropdown:hover .dropdown-menu,
.header .dropdown:focus-within .dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}
.header .dropdown-menu a {
  display: block;
  padding: 10px 16px;
}
.header .dropdown-menu a:hover {
  background: #1a1a1a;
  color: #fff;
}
.header .dropdown-menu::-webkit-scrollbar {
  width: 6px;
}
.header .dropdown-menu::-webkit-scrollbar-track {
  background: #111;
}
.header .dropdown-menu::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: #333;
}
.header .dropdown-menu::-webkit-scrollbar-thumb:hover {
  background: #facc15;
}
.header .menu-desktop .donate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid #facc15;
  border-radius: 999px;
  background: transparent;
  color: #facc15;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: all 0.25s ease;
}
.header .menu-desktop .donate-btn:hover {
  background: #facc15;
  border-color: #facc15;
  color: #000;
}
.header .menu-desktop .donate-btn::after {
  display: none;
}
.header .hamburger,
.header .menu-mobile {
  display: none;
}
.header .hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.header .hamburger.active span:nth-child(2) {
  opacity: 0;
}
.header .hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* =========================
   ZALALENA FOOTER
========================= */

.footer {
  width: 100%;
  margin-top: 90px;
}
.footer-main {
  padding: 42px 20px 34px;
  border-top: 1px solid #111;
  background: #000;
  text-align: center;
}
.footer-menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 13px;
}
.footer-menu a {
  color: #9ca3af;
  text-decoration: none;
}
.footer-menu a:hover {
  color: #fff;
}
.footer-logo {
  display: block;
  width: 34px;
  margin: 0 auto 12px;
}
.footer-title {
  margin-bottom: 4px;
  font-size: 14px;
}
.footer-title a {
  color: #fff;
  text-decoration: none;
}
.footer-tagline {
  margin-bottom: 8px;
  color: #9ca3af;
  font-size: 11px;
}
.footer-supported,
.footer-supported a,
.precision,
.precision a {
  color: #6b7280;
  font-size: 10px;
}
.footer-bottom {
  padding: 18px 10px;
  border-top: 1px solid #111;
  background: #0b0b0b;
  text-align: center;
}
.copyright {
  color: #9ca3af;
  font-size: 13px;
}
.precision {
  font-size: 11px;
}
/* =========================
   HEADER AND HERO
========================= */

.site-header {
  height: 105px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-right: 5px;
  border-radius: 8px;
  background: var(--accent);
  color: #000;
  font:
    600 20px Poppins,
    sans-serif;
}
.network-pill {
  font:
    500 11px Poppins,
    sans-serif;
  color: #d1d5db;
  border: 1px solid #333;
  padding: 8px 11px;
  border-radius: 100px;
  background: #111;
}
.network-pill i {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  margin: 0 6px 1px 0;
}
.hero {
  padding: 105px 0 56px;
  max-width: 780px;
}
.eyebrow {
  font:
    500 11px Poppins,
    sans-serif;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin: 0 0 18px;
}
h1 {
  font-size: clamp(49px, 7.3vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.075em;
  margin: 0;
  font-weight: 700;
}
h1 em {
  font-family: Poppins, sans-serif;
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.lede {
  font-size: 17px;
  line-height: 1.7;
  color: #d5d3c9;
  max-width: 575px;
  margin: 30px 0 22px;
}
.hero-signals {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.hero-signals span {
  color: #d8d5c7;
  border: 1px solid #4b493f;
  border-radius: 999px;
  padding: 7px 10px;
  font:
    500 10px Poppins,
    sans-serif;
  letter-spacing: 0.04em;
}

.back-link {
  display: inline-block;
  margin-top: 40px;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
}
.back-link:hover {
  color: var(--accent);
}

/* =========================
   GENERAL CONTENT PAGES
========================= */

.content-page main {
  max-width: 880px;
  padding-top: 78px;
  padding-bottom: 86px;
}
.content-page .content-kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
}
.content-page h1 {
  margin: 12px 0 18px;
  font-size: clamp(38px, 6vw, 60px);
}
.content-page h2 {
  margin: 42px 0 10px;
  font-size: 21px;
  letter-spacing: -0.03em;
}
.content-page p,
.content-page li {
  color: #c4c2b7;
  font-size: 14px;
  line-height: 1.85;
}
.content-page a {
  color: var(--accent);
}
.content-page .content-lede {
  max-width: 680px;
  margin: 0;
  font-size: 17px;
}
.content-page .content-panel {
  margin-top: 34px;
  padding: 26px;
  border: 1px solid #3a382f;
  border-radius: 14px;
  background: #11110e;
}
.content-page .content-panel h2 {
  margin-top: 0;
}
.content-page .content-panel p:last-child {
  margin-bottom: 0;
}
.content-page .page-cta {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 17px;
  border-radius: 8px;
  background: var(--accent);
  color: #161306;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
footer:not(.footer) {
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  display: flex;
  justify-content: space-between;
  font:
    500 11px Poppins,
    sans-serif;
  color: var(--muted);
}

/* Keep the EVM footer as a vertical, full-width footer on PoW pages. */
.footer {
  display: block;
  padding: 0;
  border-top: 1px solid #111;
}
#gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2147483647;
  pointer-events: auto;
  background: rgba(0, 0, 0, 0.65);
}
#gate .verify-root {
  background: #000;
  padding: 28px 24px;
  border-radius: 14px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  max-width: 340px;
  width: 92%;
  text-align: center;
  box-shadow:
    0 0 25px rgba(0, 0, 0, 0.6),
    0 0 8px rgba(255, 255, 255, 0.08);
}
#gate .clock {
  width: 80px;
  height: 80px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  position: relative;
  margin: 0 auto 20px;
}
#gate .hand {
  position: absolute;
  bottom: 50%;
  left: 50%;
  transform-origin: bottom;
}
#gate .hour {
  width: 2px;
  height: 20px;
  background: var(--accent);
}
#gate .minute {
  width: 2px;
  height: 28px;
  background: #fff;
}
#gate .second {
  width: 1px;
  height: 34px;
  background: #ef4444;
}
#gate .clock::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#gate .title {
  font-size: 15px;
  margin-bottom: 10px;
  color: #fff;
}
#gate .subtitle {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 18px;
}
#gate .turnstile-wrap {
  margin: 18px 0;
  display: flex;
  justify-content: center;
}
#gate .desc {
  font-size: 11px;
  color: var(--accent);
  margin-top: 10px;
}
/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
  .header .menu-desktop {
    display: none;
  }
  .header .hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
  }
  .header .hamburger span {
    width: 26px;
    height: 3px;
    border-radius: 2px;
    background: #fff;
    transition: 0.3s ease;
  }
  .header .menu-mobile {
    position: absolute;
    top: 64px;
    right: 14px;
    width: 205px;
    max-height: 80vh;
    padding: 0;
    overflow-y: auto;
    border: 1px solid #222;
    border-radius: 10px;
    background: #111;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
  }
  .header .menu-mobile.show {
    display: block;
  }
  .header .menu-mobile a,
  .mobile-dropdown-toggle {
    display: block;
    width: 100%;
    padding: 15px 12px;
    border: 0;
    background: transparent;
    color: #9ca3af;
    font: inherit;
    font-size: 13px;
    text-align: center;
    text-decoration: none;
    transition: 0.25s;
  }
  .header .menu-mobile a:hover,
  .mobile-dropdown-toggle:hover {
    background: #1a1a1a;
    color: #fff;
  }
  .mobile-dropdown-toggle {
    border-top: 1px solid #222;
  }
  .mobile-dropdown-menu a {
    padding: 9px 12px;
  }
  .header .mobile-footer-menu {
    margin-top: 6px;
    padding-top: 6px;
    border-top: 1px solid #222;
  }
  .header .menu-mobile .donate-mobile {
    display: flex;
    width: max-content;
    margin: 8px auto;
    color: #facc15;
  }
  .header .menu-mobile .donate-mobile:hover {
    background: transparent;
    color: #facc15;
    opacity: 0.85;
  }
  .mobile-dropdown-menu {
    display: none;
    max-height: 50vh;
    overflow-y: auto;
    background: #0d0d0d;
    -webkit-overflow-scrolling: touch;
  }
  .mobile-dropdown-menu.open {
    display: block;
  }
  .mobile-dropdown-menu::-webkit-scrollbar {
    width: 4px;
  }
  .mobile-dropdown-menu::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 999px;
  }
  main {
    padding: 0 18px;
  }
  .site-header {
    height: 78px;
  }
  .network-pill {
    font-size: 10px;
  }
  .hero {
    padding: 65px 0 38px;
  }
  .lede {
    font-size: 15px;
  }
  footer {
    font-size: 9px;
  }
}
