@font-face {
  font-family: "DM Sans";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("./assets/fonts/DMSans-Variable.woff2") format("woff2");
}

@font-face {
  font-family: "Atyp Text";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("./assets/fonts/AtypText-Semibold.woff2") format("woff2");
}

:root {
  --ink: #17161e;
  --cream: #f4f0e6;
  --muted: #ccc9d6;
  --green: #51cc75;
  --orange: #f58235;
  --line: #d7d4cf;
  --slate: #696773;
}

* {
  box-sizing: border-box;
}

html {
  scroll-padding-top: 120px;
  scroll-behavior: smooth;
  overflow-x: clip;
}

section[id] {
  scroll-margin-top: 120px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--cream);
  color: var(--ink);
  font-family:
    "DM Sans",
    Inter,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif;
}

body.is-loading {
  overflow: hidden;
  width: 100%;
}

.site-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  width: 100%;
  max-width: 100vw;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  contain: paint;
  background: var(--cream);
  color: var(--orange);
  transform: translateY(0);
  transition: transform 1250ms cubic-bezier(0.76, 0, 0.24, 1);
  will-change: transform;
}

.site-preloader.is-hiding {
  transform: translateY(-100%);
  pointer-events: none;
}

.preloader-mark {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  width: min(300px, 62vw);
}

.preloader-logo {
  display: block;
  width: 100%;
  height: auto;
  animation: preloaderLogoPulse 900ms ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes preloaderLogoPulse {
  from {
    opacity: 0.58;
    transform: scale(0.965);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

body.menu-open {
  overflow: hidden;
}

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

.hero {
  position: relative;
  height: 604px;
  overflow: hidden;
  background: var(--ink);
  color: #fff;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(1420px, calc(100% - 48px));
  height: 100%;
  margin: 0 auto;
}

.hero-header,
.floating-header {
  display: flex;
  align-items: center;
  min-height: 77px;
  border-radius: 20px 100px 100px 20px;
  background: rgba(31, 30, 37, 0.7);
  backdrop-filter: blur(19px);
  -webkit-backdrop-filter: blur(19px);
}

.hero-header {
  position: absolute;
  top: 45px;
  left: 0;
  gap: 35px;
  padding: 12px 25px;
}

.floating-header {
  position: fixed;
  z-index: 10;
  top: 22px;
  left: 50%;
  width: min(1140px, calc(100% - 64px));
  justify-content: space-between;
  gap: 28px;
  padding: 12px 20px;
  background: rgba(255, 253, 247, 0.82);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  box-shadow: 0 18px 48px -28px rgba(23, 22, 30, 0.55);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -22px) scale(0.985);
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

.floating-header.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0) scale(1);
}

.floating-header .nav-links {
  color: var(--ink);
}

.brand {
  display: block;
  width: 156px;
  height: 44px;
  flex: 0 0 auto;
}

.brand img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 35px;
  white-space: nowrap;
  color: var(--cream);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.38;
}

.nav-links a {
  transition:
    color 160ms ease,
    transform 160ms ease;
}

.nav-links a:hover {
  color: var(--green);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 7px;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 240, 230, 0.08);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  border-radius: 999px;
  background: var(--cream);
}

.mobile-menu {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  visibility: hidden;
}

.mobile-menu.is-open {
  pointer-events: auto;
  visibility: visible;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, 0);
  backdrop-filter: blur(0);
  -webkit-backdrop-filter: blur(0);
  transition:
    background 260ms ease,
    backdrop-filter 260ms ease;
}

.mobile-menu.is-open .mobile-menu-backdrop {
  background: rgba(10, 10, 14, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.mobile-menu-panel {
  position: absolute;
  top: 14px;
  right: 14px;
  left: 14px;
  padding: 14px;
  border-radius: 22px;
  background: rgba(24, 23, 31, 0.94);
  color: var(--cream);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  transform: translateY(-18px) scale(0.98);
  opacity: 0;
  transition:
    opacity 240ms ease,
    transform 240ms ease;
}

.mobile-menu.is-open .mobile-menu-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.menu-close {
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(244, 240, 230, 0.08);
  cursor: pointer;
}

.menu-close::before,
.menu-close::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--cream);
}

.menu-close::before {
  transform: rotate(45deg);
}

.menu-close::after {
  transform: rotate(-45deg);
}

.mobile-menu-links {
  display: grid;
  gap: 4px;
  padding: 26px 4px 18px;
}

.mobile-menu-links a {
  padding: 13px 8px;
  border-bottom: 1px solid rgba(244, 240, 230, 0.12);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
}

.mobile-menu-cta {
  width: 100%;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 53px;
  padding: 12px 29px;
  border-radius: 1000px;
  background: var(--green);
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.61;
  white-space: nowrap;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

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

.hero-copy {
  position: absolute;
  top: 172px;
  left: 0;
  width: min(650px, 50vw);
}

.main-text {
  margin: 0;
  font-family:
    "Atyp Text",
    "DM Sans",
    system-ui,
    sans-serif;
  font-size: clamp(48px, 5vw, 70px);
  font-weight: 600;
  line-height: 0.94;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.year {
  display: flex;
  align-items: flex-end;
  height: 56px;
  gap: 0;
  transform: translateY(3px);
}

.year-two,
.year-tail {
  display: inline-block;
  line-height: 0.74;
  transform: translateY(1px);
}

.zero-dots {
  display: inline-flex;
  align-items: flex-end;
  gap: 0;
  height: 56px;
  margin: 0 4px 0 2px;
}

.zero-dots span {
  width: 56px;
  height: 56px;
  margin-right: -5px;
  border: 7px solid var(--orange);
  border-radius: 999px;
  background: transparent;
  transform-origin: center;
  animation: yearDot 4.2s cubic-bezier(0.2, 0.7, 0.2, 1) infinite;
}

.zero-dots span:nth-child(1),
.zero-dots span:nth-child(5) {
  background: var(--orange);
}

.zero-dots span:nth-child(2) {
  animation-delay: 120ms;
}

.zero-dots span:nth-child(3) {
  animation-delay: 240ms;
}

.zero-dots span:nth-child(4) {
  animation-delay: 360ms;
}

.zero-dots span:nth-child(5) {
  animation-delay: 480ms;
}

.hero-copy p {
  width: 100%;
  margin: 24px 0 26px;
  color: var(--muted);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.42;
}

.speaker {
  position: absolute;
  z-index: 2;
  top: -37px;
  right: -42px;
  width: 763px;
  height: 763px;
  object-fit: cover;
  pointer-events: none;
  transform: translate3d(0, var(--speaker-y, 0px), 0);
  will-change: transform;
}

.orange-streaks {
  position: absolute;
  z-index: 1;
  top: 0;
  left: calc(50% + 454px);
  width: 664px;
  height: 691px;
  object-fit: cover;
  opacity: 0.98;
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  z-index: 0;
  left: -918px;
  top: -776px;
  width: 1113px;
  height: 1113px;
  pointer-events: none;
}

.circle-field {
  position: absolute;
  z-index: 0;
  top: -3716px;
  left: -234px;
  width: 7992px;
  height: 9657px;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg width='333' height='333' viewBox='0 0 333 333' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='332' height='332' rx='166' stroke='%23E7DCC9'/%3E%3C/svg%3E");
  background-position: 0 0;
  background-size: 333px 333px;
  pointer-events: none;
}

.facts {
  position: relative;
  z-index: 3;
  height: 62px;
  margin-top: -1px;
  overflow: hidden;
  background: var(--cream);
  display: flex;
  align-items: flex-start;
  padding-top: 18px;
}

.facts::before,
.facts::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 80px;
  pointer-events: none;
}

.facts::before {
  left: 0;
  background: linear-gradient(to right, var(--cream), rgba(244, 240, 230, 0));
}

.facts::after {
  right: 0;
  background: linear-gradient(to left, var(--cream), rgba(244, 240, 230, 0));
}

.facts-track {
  display: flex;
  width: max-content;
}

.facts-set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 11px;
  padding-right: 11px;
  animation: factsMarquee 12s linear infinite;
}

.facts span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  padding: 0 10px 1px;
  border: 2px solid var(--ink);
  border-radius: 10px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.61;
  white-space: nowrap;
}

/* ===== Information section ===== */
.info {
  position: relative;
  background: var(--cream);
  padding: 64px 0 96px;
}

.info-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.speakers-title {
  margin: 0 0 18px;
  font-family:
    "Atyp Text",
    "DM Sans",
    system-ui,
    sans-serif;
  font-size: 28px;
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink);
}

/* Speakers block — panel with manual carousel (no auto-scroll) */
.speakers-block {
  position: relative;
  overflow: hidden;
  margin-bottom: 30px;
  padding: 30px 0;
  border-radius: 20px;
  background: #fdfbf4;
}

.speakers-title {
  padding-left: 34px;
}

.speakers-viewport {
  position: relative;
}

.speakers-row {
  display: flex;
  gap: 10px;
  padding: 2px 86px 2px 34px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-padding-left: 34px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-snap-type: x proximity;
}

.speakers-row::-webkit-scrollbar {
  display: none;
}

/* Progressive blur + fade on both edges (matches Figma node 49:428) */
.speakers-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 89px;
  pointer-events: none;
  -webkit-backdrop-filter: blur(3.15px);
  backdrop-filter: blur(3.15px);
  opacity: 1;
  transition: opacity 220ms ease;
}

.speakers-fade-right {
  right: 0;
  background: linear-gradient(to right, rgba(253, 251, 244, 0) 0%, #fdfbf4 88%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 45%);
  mask-image: linear-gradient(to right, transparent 0%, #000 45%);
}

.speakers-fade-left {
  left: 0;
  background: linear-gradient(to left, rgba(253, 251, 244, 0) 0%, #fdfbf4 88%);
  -webkit-mask-image: linear-gradient(to left, transparent 0%, #000 45%);
  mask-image: linear-gradient(to left, transparent 0%, #000 45%);
}

.speakers-viewport.is-end .speakers-fade-right,
.speakers-viewport.is-start .speakers-fade-left {
  opacity: 0;
}

/* Carousel arrows — prev on the left edge, next on the right edge */
.speakers-prev,
.speakers-next {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
}

.speakers-prev {
  left: 14px;
}

.speakers-next {
  right: 14px;
}

.speakers-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(244, 240, 230, 0.12);
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  transition:
    transform 160ms ease,
    opacity 160ms ease,
    background 160ms ease;
}

.speakers-arrow svg {
  width: 19px;
  height: 19px;
}

.speakers-arrow path {
  stroke: currentColor;
  stroke-width: 2.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.speakers-arrow:hover {
  transform: translateY(-50%) scale(1.05);
  background: #23212c;
}

.speakers-arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.speakers-arrow:disabled {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.speaker-card {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 75px;
  background: transparent;
  scroll-snap-align: start;
}

.speaker-avatar {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 50%;
  object-fit: cover;
}

.speaker-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 151px;
}

.speaker-name {
  font-family:
    "Atyp Text",
    "DM Sans",
    system-ui,
    sans-serif;
  font-size: 16px;
  font-weight: 600;
  line-height: 0.98;
  color: var(--ink);
}

.speaker-role {
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.11;
  color: var(--slate);
}

/* Info cards */
.info-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.calc-card,
.gift-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 299px;
  border-radius: 20px;
  overflow: hidden;
}

.calc-card {
  padding: 30px;
  color: var(--cream);
  background:
    radial-gradient(
      130% 130% at 100% 100%,
      rgba(245, 130, 53, 0.5),
      rgba(245, 130, 53, 0) 52%
    ),
    #1a1822;
}

.calc-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='119' height='119' rx='60' stroke='%23ffffff'/%3E%3C/svg%3E");
  background-size: 120px 120px;
  pointer-events: none;
}

.calc-top,
.gift-top {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calc-icon,
.gift-icon {
  width: 30px;
  height: 30px;
}

.calc-text {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.38;
  color: var(--cream);
}

.calc-text strong {
  font-weight: 600;
}

.calc-amounts {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 24px;
}

.amount-pill {
  display: flex;
  border-radius: 20px;
  white-space: nowrap;
}

.amount-send {
  flex-direction: column;
  gap: 14px;
  min-width: 170px;
  padding: 15px;
  background: #23212c;
}

.amount-received {
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  min-width: 236px;
  min-height: 76px;
  padding: 15px 20px;
  background: #f49549;
  color: #fff;
}

.amount-received-meta {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.amount-coin {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
}

.amount-btc {
  position: relative;
  z-index: 1;
  width: auto;
  height: 48px;
  transform: rotate(19.3deg);
}

/* Minimalist sonar pulse — thin white rings breathing out from the coin. */
.amount-coin::before,
.amount-coin::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  margin: -24px 0 0 -24px;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  animation: coinPulse 2.8s ease-out infinite;
}

.amount-coin::after {
  animation-delay: 1.4s;
}

@keyframes coinPulse {
  0% {
    transform: scale(0.7);
    opacity: 0;
  }
  18% {
    opacity: 0.65;
  }
  100% {
    transform: scale(1.95);
    opacity: 0;
  }
}

.amount-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.38;
  color: #7d7c82;
}

.amount-received .amount-label {
  color: #fff;
}

.amount-value {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--cream);
}

.amount-received .amount-value {
  color: #fff;
}

.amount-x2 {
  font-size: 48px;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  transform-origin: center;
  animation: x2Pop 3.4s ease-in-out infinite;
}

@keyframes x2Pop {
  0%,
  68%,
  100% {
    transform: scale(1) rotate(0deg);
  }
  76% {
    transform: scale(1.2) rotate(-7deg);
  }
  84% {
    transform: scale(0.95) rotate(5deg);
  }
  92% {
    transform: scale(1.07) rotate(0deg);
  }
}

.gift-card {
  padding: 29px 30px;
  background: #fdfbf4;
  color: var(--ink);
}

.gift-text {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.38;
  color: var(--ink);
}

.gift-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
}

.gift-note-icon {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.gift-note span {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  color: #f49549;
}

/* Logos marquee */
.logos-marquee {
  position: relative;
  margin-top: 50px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 80px,
    #000 calc(100% - 80px),
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 80px,
    #000 calc(100% - 80px),
    transparent
  );
}

.logos-track {
  display: flex;
  align-items: center;
  width: max-content;
  margin: 0;
  padding: 0;
  list-style: none;
  animation: logosScroll 40s linear infinite;
}

.logos-marquee:hover .logos-track {
  animation-play-state: paused;
}

.logo-item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  padding: 0 38px;
}

.logo-item img {
  height: 28px;
  width: auto;
  opacity: 0.42;
  transition: opacity 0.3s ease;
}

.logo-item:hover img {
  opacity: 1;
}

/* ===== Belong section ===== */
.belong {
  background: var(--cream);
  padding: 28px 0 76px;
}

.belong-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, 0.88fr) minmax(620px, 1.12fr);
  gap: 32px;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  overflow: hidden;
  padding: 42px;
  border-radius: 22px;
  color: var(--cream);
  background:
    linear-gradient(110deg, rgba(23, 22, 30, 0.96), rgba(23, 22, 30, 0.99)),
    var(--ink);
}

.belong-shell::before,
.belong-shell::after {
  content: "";
  position: absolute;
  inset: -20%;
  pointer-events: none;
}

.belong-shell::before {
  display: none;
}

.belong-shell::after {
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='179' height='179' rx='90' stroke='%23F4F0E6'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.belong-copy,
.belong-board {
  position: relative;
  z-index: 1;
}

.section-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 18px;
  padding: 4px 11px;
  border: 1px solid rgba(244, 240, 230, 0.28);
  border-radius: 999px;
  color: rgba(244, 240, 230, 0.8);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  text-transform: uppercase;
}

.belong-copy h2 {
  max-width: 390px;
  margin: 0 0 22px;
  font-family:
    "Atyp Text",
    "DM Sans",
    system-ui,
    sans-serif;
  font-size: clamp(38px, 3.25vw, 48px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
}

.belong-copy p {
  max-width: 410px;
  margin: 0 0 14px;
  color: rgba(244, 240, 230, 0.86);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.36;
}

.belong-cta {
  margin-top: 12px;
}

.belong-board {
  display: grid;
  grid-template-columns: minmax(220px, 0.92fr) minmax(250px, 1.08fr);
  gap: 12px;
  align-items: center;
}

.belong-parallax {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  display: grid;
  gap: 12px;
  transform: translate3d(0, var(--belong-y, 0px), 0);
  transition: transform 80ms linear;
  will-change: transform;
}

.belong-stat,
.belong-photo {
  transform: translateZ(0);
  transition:
    transform 220ms ease,
    box-shadow 220ms ease;
}

.belong-stat {
  position: relative;
  min-height: 168px;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(23, 22, 30, 0.08);
  border-radius: 18px;
  color: var(--ink);
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.94), rgba(244, 240, 230, 0.96)),
    #fffdf7;
}

.belong-stat::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.58;
  background:
    repeating-linear-gradient(
      151deg,
      transparent 0 24px,
      rgba(245, 130, 53, 0.28) 25px,
      transparent 27px
    );
  background-size: 220px 220px;
  animation: belongLines 15s linear infinite;
}

.belong-card-top,
.belong-stat strong,
.belong-stat p {
  position: relative;
  z-index: 1;
}

.belong-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.08;
}

.belong-card-top svg {
  width: 26px;
  height: 26px;
  flex: 0 0 auto;
}

.belong-stat strong {
  display: block;
  margin-bottom: 12px;
  font-family:
    "Atyp Text",
    "DM Sans",
    system-ui,
    sans-serif;
  font-size: clamp(40px, 4vw, 54px);
  font-weight: 600;
  line-height: 0.82;
  letter-spacing: 0;
}

.belong-stat p {
  max-width: 330px;
  margin: 0;
  color: rgba(23, 22, 30, 0.84);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.22;
}

.stat-speakers {
  grid-column: 1;
  grid-row: 1;
  align-self: end;
  min-height: 178px;
}

.stat-meet {
  grid-column: 1;
  grid-row: 2;
  align-self: start;
  min-height: 178px;
}

.stat-gather {
  min-height: 188px;
}

.belong-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1.56;
  border-radius: 18px;
  object-fit: cover;
  filter: saturate(1.04) contrast(1.04);
}

.photo-stage {
  object-position: center;
}

.photo-crowd {
  object-position: center;
}

.belong-stat:hover,
.belong-photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 52px rgba(0, 0, 0, 0.24);
}

/* ===== Instruction and calculator ===== */
.instruction-section {
  position: relative;
  overflow: hidden;
  padding: 56px 0 64px;
  color: var(--cream);
  background:
    radial-gradient(circle at 16% 50%, rgba(245, 130, 53, 0.13), transparent 28%),
    var(--ink);
}

.instruction-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='179' height='179' rx='90' stroke='%23F4F0E6'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  pointer-events: none;
}

.instruction-inner,
.calculator-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.section-title {
  margin: 0;
  font-family:
    "Atyp Text",
    "DM Sans",
    system-ui,
    sans-serif;
  font-size: clamp(34px, 3.3vw, 48px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: 0;
  color: var(--ink);
}

.section-title-light {
  color: var(--cream);
  text-align: center;
}

.instruction-head {
  margin-bottom: 6px;
  text-align: center;
}

.instruction-head .section-kicker {
  margin-bottom: 16px;
}

.instruction-sub {
  margin: 14px auto 0;
  color: rgba(244, 240, 230, 0.7);
  font-size: 17px;
  font-weight: 500;
}

.instruction-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 46px;
}

.instruction-step {
  position: relative;
  z-index: 1;
  padding: 30px 28px;
  border-radius: 20px;
  background: rgba(255, 253, 247, 0.05);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.step-index {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.instruction-icon {
  display: grid;
  width: 60px;
  height: 60px;
  margin-bottom: 22px;
  place-items: center;
  border-radius: 16px;
  background: var(--orange);
  color: var(--cream);
}

.instruction-icon svg {
  width: 32px;
  height: 32px;
}

.instruction-icon path,
.instruction-icon circle,
.instruction-icon rect {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.instruction-step h3 {
  margin: 0 0 10px;
  color: var(--cream);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.14;
}

.instruction-step p {
  margin: 0;
  color: rgba(244, 240, 230, 0.74);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.3;
}

.giveaway {
  position: relative;
  overflow: hidden;
  padding: 78px 0 90px;
  background: var(--cream);
}

.giveaway-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.giveaway-head {
  margin-bottom: 36px;
  text-align: center;
}

.giveaway-head .section-kicker {
  margin-bottom: 16px;
}

.section-kicker.dark {
  border-color: rgba(23, 22, 30, 0.16);
  color: rgba(23, 22, 30, 0.66);
}

.participate-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  margin: 20px auto 0;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(245, 130, 53, 0.13);
  color: var(--orange);
  font-size: 16px;
  font-weight: 700;
}

.participate-note svg {
  width: 21px;
  height: 21px;
  flex: 0 0 auto;
}

.participate-note path,
.participate-note circle {
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.giveaway-card {
  --coin-accent: #f7931a;
  --coin-accent-rgb: 247, 147, 26;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  overflow: hidden;
  border: 1px solid rgba(23, 22, 30, 0.08);
  border-radius: 24px;
  box-shadow: 0 30px 70px rgba(23, 22, 30, 0.1);
}

.giveaway-card[data-currency="ETH"] {
  --coin-accent: #627eea;
  --coin-accent-rgb: 98, 126, 234;
}

#participate {
  scroll-margin-top: 120px;
}

/* Left: calculator */
.calculator-panel {
  position: relative;
  padding: 40px 38px;
  background: #fdfbf4;
}

.calc-heading {
  margin: 0 0 18px;
  font-family:
    "Atyp Text",
    "DM Sans",
    system-ui,
    sans-serif;
  font-size: 22px;
  font-weight: 600;
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--ink);
}

.currency-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 30px;
  padding: 5px;
  border: 1px solid rgba(var(--coin-accent-rgb), 0.2);
  border-radius: 14px;
  background: rgba(23, 22, 30, 0.045);
}

.currency-option {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--slate);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition:
    background 180ms ease,
    box-shadow 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.currency-icon {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  overflow: hidden;
  border-radius: 50%;
  transition:
    filter 220ms ease,
    opacity 220ms ease,
    transform 220ms ease;
}

.currency-icon img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.currency-icon-btc {
  padding: 0;
  background: transparent;
}

.currency-option:not(.is-active) .currency-icon {
  filter: grayscale(1);
  opacity: 0.5;
}

.currency-option.is-active .currency-icon {
  transform: scale(1.04);
}

.currency-option:hover {
  color: var(--ink);
}

.currency-option:focus-visible {
  outline: 3px solid rgba(var(--coin-accent-rgb), 0.32);
  outline-offset: 2px;
}

.currency-option.is-active {
  background: rgba(var(--coin-accent-rgb), 0.12);
  box-shadow:
    inset 0 0 0 1px rgba(var(--coin-accent-rgb), 0.2),
    0 4px 14px rgba(23, 22, 30, 0.08);
  color: var(--coin-accent);
}

.currency-option:active {
  transform: scale(0.98);
}

.range-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.range-head > span {
  color: var(--ink);
  font-size: 16px;
  font-weight: 700;
}

.amount-display {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-width: 116px;
  justify-content: center;
  padding: 9px 14px;
  border: 1px solid rgba(23, 22, 30, 0.07);
  border-radius: 13px;
  background: #fffdf7;
  color: var(--ink);
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
}

.amount-display small {
  color: var(--coin-accent);
  font-size: 15px;
  font-weight: 700;
}

.received-display {
  border-color: transparent;
  background: rgba(var(--coin-accent-rgb), 0.12);
  color: var(--coin-accent);
}

.btc-range {
  display: block;
  width: 100%;
  height: 22px;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  cursor: pointer;
}

.btc-range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--coin-accent) 0 var(--send-progress, 31%),
    rgba(23, 22, 30, 0.16) var(--send-progress, 31%) 100%
  );
}

.btc-range::-moz-range-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    var(--coin-accent) 0 var(--send-progress, 31%),
    rgba(23, 22, 30, 0.16) var(--send-progress, 31%) 100%
  );
}

.btc-range::-webkit-slider-thumb {
  width: 20px;
  height: 20px;
  margin-top: -7px;
  border: 4px solid #fffdf7;
  border-radius: 50%;
  appearance: none;
  -webkit-appearance: none;
  background: var(--coin-accent);
  box-shadow: 0 4px 14px rgba(var(--coin-accent-rgb), 0.32);
}

.btc-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border: 4px solid #fffdf7;
  border-radius: 50%;
  background: var(--coin-accent);
  box-shadow: 0 4px 14px rgba(var(--coin-accent-rgb), 0.32);
}

.calc-x2 {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 26px 0;
}

.calc-x2::before,
.calc-x2::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(23, 22, 30, 0.1);
}

.calc-x2 span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--coin-accent);
  color: #fff;
  font-family:
    "Atyp Text",
    "DM Sans",
    system-ui,
    sans-serif;
  font-size: 16px;
  font-weight: 600;
}

.received-meter {
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(23, 22, 30, 0.16);
}

.received-meter span {
  display: block;
  width: var(--receive-progress, 31%);
  height: 100%;
  border-radius: inherit;
  background: var(--coin-accent);
  transition: width 180ms ease;
}

.range-scale {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 12px;
  color: var(--slate);
  font-size: 14px;
  font-weight: 700;
}

/* Right: payment terminal */
.pay-terminal {
  position: relative;
  overflow: hidden;
  padding: 40px 38px;
  color: var(--cream);
  background:
    radial-gradient(120% 90% at 85% 0%, rgba(var(--coin-accent-rgb), 0.26), transparent 48%),
    var(--ink);
}

.pay-terminal::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg width='150' height='150' viewBox='0 0 150 150' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='149' height='149' rx='75' stroke='%23F4F0E6'/%3E%3C/svg%3E");
  background-size: 150px 150px;
  pointer-events: none;
}

.pay-terminal-body {
  position: relative;
  z-index: 1;
  display: flex;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
}

.qr-art {
  position: relative;
  width: 152px;
  margin-bottom: 24px;
  overflow: hidden;
  aspect-ratio: 1;
  border-radius: 18px;
  background: #fffdf7;
}

.qr-art svg,
.qr-art .qr-fallback {
  display: block;
  width: 100%;
  height: 100%;
}

.pay-terminal h3 {
  margin: 0 0 16px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--cream);
}

.pay-terminal h3 span {
  color: var(--coin-accent);
}

.payment-address {
  display: block;
  width: 100%;
  margin: 0 0 16px;
  padding: 12px 15px;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(244, 240, 230, 0.07);
  color: rgba(244, 240, 230, 0.92);
  font-size: 16px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-address {
  position: relative;
  width: 100%;
  min-height: 50px;
  margin-bottom: 22px;
  border: 0;
  background: var(--coin-accent);
  color: #fff;
  transition:
    background 260ms ease,
    color 260ms ease,
    transform 180ms ease;
}

.copy-address.is-copied {
  background: var(--green);
  color: var(--ink);
  animation: copiedPop 380ms ease;
}

.copy-address.is-copied::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-right: 9px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M20 6 9 17l-5-5'/%3E%3C/svg%3E")
    center / contain no-repeat;
}

.payment-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 8px;
  color: rgba(244, 240, 230, 0.92);
  font-size: 16px;
  font-weight: 700;
}

.status-spinner {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
  border: 4px dotted var(--coin-accent);
  border-radius: 50%;
  animation: statusSpin 1.2s linear infinite;
}

/* ===== Future gallery (scroll-driven pan) ===== */
.future-section {
  position: relative;
  overflow: hidden;
  padding-bottom: 96px;
  color: var(--cream);
  background:
    radial-gradient(circle at 16% 38%, rgba(245, 130, 53, 0.13), transparent 30%),
    var(--ink);
}

.future-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg width='180' height='180' viewBox='0 0 180 180' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect x='0.5' y='0.5' width='179' height='179' rx='90' stroke='%23F4F0E6'/%3E%3C/svg%3E");
  background-size: 180px 180px;
  pointer-events: none;
}

.future-glow {
  position: absolute;
  top: -18%;
  left: 50%;
  width: 90%;
  height: 65%;
  transform: translateX(-50%);
  background: radial-gradient(50% 55% at 50% 45%, rgba(245, 130, 53, 0.16), transparent 72%);
  filter: blur(24px);
  pointer-events: none;
}

.future-inner {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.future-heading {
  max-width: 820px;
  margin: 0 auto;
  padding: 84px 0 52px;
  text-align: center;
}

.future-heading p {
  margin: 20px auto 0;
  color: rgba(244, 240, 230, 0.72);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.36;
}

/* Gallery — two opposing infinite marquees (Framer-style). JS duplicates each
   track so the -50% loop is seamless; hover pauses and lets a photo lift. */
.future-gallery {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.future-row {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    #000 130px,
    #000 calc(100% - 130px),
    transparent
  );
  mask-image: linear-gradient(
    to right,
    transparent,
    #000 130px,
    #000 calc(100% - 130px),
    transparent
  );
}

.future-track {
  display: flex;
  gap: 22px;
  width: max-content;
  padding-left: 22px;
  will-change: transform;
}

.future-row-a .future-track {
  animation: futureScrollA 64s linear infinite;
}

.future-row-b .future-track {
  animation: futureScrollB 64s linear infinite;
}

.future-photo {
  flex: 0 0 auto;
  width: clamp(280px, 30vw, 420px);
  height: clamp(190px, 21vw, 272px);
  margin: 0;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(244, 240, 230, 0.08);
}

.future-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.03) contrast(1.02) brightness(0.9);
}

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

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

/* ===== Live transactions feed ===== */
.transactions-section {
  position: relative;
  overflow: hidden;
  padding: 74px 0 92px;
  background: var(--cream);
}

.transactions-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.transactions-head-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 36px;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 13px 6px 11px;
  border-radius: 999px;
  background: rgba(245, 130, 53, 0.13);
  color: var(--orange);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.live-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--orange);
  animation: livePulse 1.8s ease-out infinite;
}

.tx-feed {
  overflow: hidden;
  border: 1px solid rgba(23, 22, 30, 0.08);
  border-radius: 22px;
  background: #fdfbf4;
}

.tx-feed-head,
.tx-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.6fr 1.6fr 0.9fr;
  gap: 24px;
  align-items: center;
  padding: 0 26px;
}

.tx-feed-head {
  min-height: 52px;
  border-bottom: 1px solid rgba(23, 22, 30, 0.07);
  background: rgba(23, 22, 30, 0.03);
}

.tx-feed-head span {
  color: var(--slate);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tx-row {
  min-height: 66px;
  border-bottom: 1px solid rgba(23, 22, 30, 0.06);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  transition: background 160ms ease;
}

.tx-row:last-child {
  border-bottom: 0;
}

.tx-row:hover {
  background: rgba(245, 130, 53, 0.05);
}

.tx-status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-weight: 700;
}

.tx-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
}

.tx-date {
  color: var(--slate);
}

.tx-addr {
  overflow: hidden;
  color: rgba(23, 22, 30, 0.72);
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tx-value {
  justify-self: end;
  color: var(--green);
  font-weight: 700;
}

@keyframes futurePan {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(100vw - 100% - 48px));
  }
}

@keyframes livePulse {
  0% {
    box-shadow: 0 0 0 0 rgba(245, 130, 53, 0.5);
  }

  70% {
    box-shadow: 0 0 0 8px rgba(245, 130, 53, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(245, 130, 53, 0);
  }
}

@keyframes statusSpin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes copiedPop {
  0% {
    transform: scale(1);
  }

  40% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes txRowIn {
  0% {
    opacity: 0;
    transform: translateY(-12px);
    background: rgba(81, 204, 117, 0.16);
  }

  60% {
    background: rgba(81, 204, 117, 0.1);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
    background: rgba(81, 204, 117, 0);
  }
}

.tx-row.is-new {
  animation: txRowIn 520ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes txCardIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes txDotPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(81, 204, 117, 0.5);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(81, 204, 117, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(81, 204, 117, 0);
  }
}

@keyframes instructionLine {
  to {
    transform: scaleX(1);
  }
}

@keyframes instructionLineVertical {
  to {
    transform: scaleY(1);
  }
}

.reveal-item {
  opacity: 0;
  transform: translateY(34px) scale(0.97);
  filter: blur(8px);
  will-change: opacity, transform, filter;
}

/* Directional variants — defined after the base so they win the hidden state. */
.reveal-from-left {
  transform: translateX(-52px) scale(0.98);
}

.reveal-from-right {
  transform: translateX(52px) scale(0.98);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  filter: blur(0);
  transition:
    opacity 820ms ease,
    transform 880ms cubic-bezier(0.22, 0.8, 0.18, 1),
    filter 820ms ease;
  transition-delay: var(--reveal-delay, 0ms);
}

@keyframes factsMarquee {
  to {
    transform: translate3d(-100%, 0, 0);
  }
}

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

@keyframes belongLines {
  to {
    background-position: 220px -220px;
  }
}

@keyframes yearDot {
  0%,
  48%,
  100% {
    transform: translateY(0) scale(1);
  }

  12% {
    transform: translateY(-10px) scale(0.72);
  }

  24% {
    transform: translateY(0) scale(1.08);
  }

  34% {
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 1180px) {
  .hero-inner {
    width: min(960px, calc(100% - 40px));
  }

  .hero-header {
    left: 0;
  }

  .nav-links {
    gap: 22px;
    font-size: 14px;
  }

  .speaker {
    right: -250px;
  }

  .hero-copy {
    width: min(570px, 58vw);
  }

  .main-text {
    font-size: clamp(46px, 5.5vw, 62px);
  }

  .orange-streaks {
    left: auto;
    right: -310px;
  }

  .belong-shell {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 44px;
  }

  .belong-board {
    grid-template-columns: minmax(220px, 0.92fr) minmax(250px, 1.08fr);
    max-width: 720px;
  }

  .belong-copy h2,
  .belong-copy p {
    max-width: 720px;
  }

  .instruction-steps {
    gap: 22px;
  }

  .instruction-step {
    grid-template-columns: 58px 1fr;
  }

  .calculator-inner {
    display: block;
  }
}

@media (max-width: 820px) {
  .hero {
    height: 900px;
  }

  .hero-inner {
    width: min(560px, calc(100% - 32px));
  }

  .hero-header,
  .floating-header {
    min-height: 66px;
    border-radius: 18px 54px 54px 18px;
  }

  .hero-header {
    top: 24px;
    left: 0;
    width: 100%;
    justify-content: space-between;
    padding: 10px 12px 10px 18px;
    transform: none;
  }

  .floating-header {
    width: min(560px, calc(100% - 32px));
    justify-content: space-between;
    padding: 10px 12px 10px 18px;
  }

  .floating-header .menu-toggle {
    background: rgba(23, 22, 30, 0.06);
  }

  .floating-header .menu-toggle span {
    background: var(--ink);
  }

  .brand {
    width: 140px;
    height: 39px;
  }

  .nav-links,
  .floating-header .nav-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero-copy {
    top: 136px;
    left: 0;
    width: 100%;
  }

  .main-text {
    max-width: 530px;
    font-size: clamp(45px, 8vw, 58px);
    line-height: 0.96;
  }

  .year,
  .zero-dots {
    height: 46px;
  }

  .zero-dots span {
    width: 46px;
    height: 46px;
    border-width: 6px;
    margin-right: -4px;
  }

  .hero-copy p {
    max-width: 520px;
    font-size: 16px;
  }

  .speaker {
    top: 465px;
    right: 50%;
    width: 520px;
    height: 520px;
    transform: translate3d(50%, var(--speaker-y, 0px), 0);
  }

  .orange-streaks {
    top: 230px;
    right: -270px;
    width: 560px;
    height: 585px;
  }

  .facts {
    height: 54px;
    padding-top: 11px;
  }
}

@media (max-width: 480px) {
  .preloader-mark {
    width: min(230px, 68vw);
  }

  .range-head {
    gap: 10px;
  }

  .amount-display {
    min-width: 0;
    padding: 8px 9px;
    font-size: 20px;
  }

  .amount-display small {
    font-size: 12px;
  }

  .hero {
    height: 930px;
  }

  .main-text {
    font-size: clamp(38px, 11.5vw, 48px);
  }

  .year,
  .zero-dots {
    height: 36px;
  }

  .zero-dots span {
    width: 36px;
    height: 36px;
    border-width: 5px;
    margin-right: -3px;
  }

  .hero-copy p {
    max-width: 100%;
    margin: 20px 0 22px;
    font-size: 15px;
  }

  .button {
    min-height: 48px;
    font-size: 16px;
  }

  .speaker {
    top: 535px;
    width: 430px;
    height: 430px;
  }

  .orange-streaks {
    top: 430px;
    right: -310px;
  }

}

@media (max-width: 820px) {
  .info {
    padding: 48px 0 64px;
  }

  .info-cards {
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .calc-card,
  .gift-card {
    min-height: 0;
  }

  .belong {
    padding: 20px 0 58px;
  }

  .belong-shell {
    width: min(560px, calc(100% - 32px));
    min-height: 0;
    padding: 30px 20px 20px;
    border-radius: 22px;
  }

  .belong-copy h2 {
    margin-bottom: 24px;
  }

  .belong-copy p {
    font-size: 16px;
  }

  .belong-board {
    grid-template-columns: 1fr;
    max-width: none;
  }

  .belong-parallax {
    grid-column: auto;
    grid-row: auto;
    transform: none !important;
  }

  .stat-speakers,
  .stat-meet {
    grid-column: auto;
    grid-row: auto;
    align-self: stretch;
  }

  .belong-card-top {
    margin-bottom: 24px;
    font-size: 18px;
  }

  .belong-stat,
  .stat-speakers,
  .stat-meet,
  .stat-gather {
    min-height: 188px;
  }

  .instruction-section {
    padding: 44px 0 52px;
  }

  .instruction-inner,
  .calculator-inner {
    width: min(560px, calc(100% - 32px));
  }

  .section-title-light {
    text-align: left;
  }

  .instruction-head {
    text-align: left;
  }

  .instruction-head .section-kicker {
    margin-left: 0;
  }

  .instruction-sub {
    margin-left: 0;
    margin-right: 0;
  }

  .instruction-steps {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 28px;
  }

  .instruction-steps::before {
    display: none;
  }

  .instruction-step {
    min-height: 0;
    padding: 24px 22px;
  }

  .instruction-step p {
    max-width: none;
  }

  .range-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .future-section,
  .transactions-section {
    padding-top: 54px;
    padding-bottom: 64px;
  }

  .future-inner,
  .transactions-inner {
    width: min(560px, calc(100% - 32px));
  }

  .future-heading {
    margin-bottom: 28px;
    text-align: left;
  }

  .future-heading p {
    font-size: 16px;
  }

  .participate-note {
    justify-content: center;
    font-size: 16px;
  }

  .future-photo {
    width: clamp(240px, 54vw, 320px);
    height: clamp(160px, 36vw, 214px);
  }

  .tx-feed {
    overflow-x: auto;
  }

  .tx-feed-head,
  .tx-row {
    min-width: 660px;
  }
}

@media (max-width: 480px) {
  .speakers-title {
    font-size: 24px;
  }

  .speakers-row {
    padding-right: 74px;
  }

  .speakers-fade {
    width: 64px;
  }

  .speakers-prev {
    left: 10px;
  }

  .speakers-next {
    right: 10px;
  }

  .speakers-arrow {
    width: 34px;
    height: 34px;
  }

  .speakers-arrow svg {
    width: 18px;
    height: 18px;
  }

  .calc-card {
    padding: 22px;
  }

  .gift-card {
    padding: 22px;
  }

  .calc-amounts {
    gap: 6px;
  }

  .amount-send {
    min-width: 0;
    flex: 1 1 0;
    padding: 12px;
  }

  .amount-received {
    padding: 12px;
  }

  .amount-value {
    font-size: 24px;
  }

  .amount-x2 {
    font-size: 34px;
  }

  .amount-btc {
    width: 34px;
    height: 34px;
  }

  .amount-label {
    font-size: 12px;
  }

  .belong-shell {
    padding: 28px 16px 16px;
  }

  .section-kicker {
    margin-bottom: 18px;
  }

  .belong-copy h2 {
    font-size: 38px;
  }

  .belong-copy p {
    font-size: 16px;
  }

  .belong-stat {
    padding: 18px;
    border-radius: 18px;
  }

  .belong-stat strong {
    font-size: 46px;
  }

  .belong-stat p {
    font-size: 16px;
  }

  .belong-photo {
    border-radius: 18px;
  }

  .section-title {
    font-size: 34px;
  }

  .instruction-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
  }

  .instruction-icon svg {
    width: 28px;
    height: 28px;
  }

  .instruction-step {
    grid-template-columns: 52px 1fr;
    gap: 14px;
  }

  .instruction-step h3 {
    font-size: 18px;
  }

  .instruction-step p {
    font-size: 16px;
  }

  .amount-display {
    min-width: 106px;
    font-size: 26px;
  }

  .range-scale {
    font-size: 13px;
  }

  .future-photo {
    width: 72vw;
    height: 48vw;
  }
}

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

@media (max-width: 760px) {
  .giveaway {
    padding: 56px 0 64px;
  }

  .calculator-panel,
  .pay-terminal {
    padding: 30px 24px;
  }

  .tx-feed {
    overflow-x: auto;
  }

  .tx-feed-head,
  .tx-row {
    min-width: 640px;
    gap: 18px;
    padding: 0 20px;
  }

  .future-photo {
    width: clamp(210px, 64vw, 280px);
    height: clamp(150px, 44vw, 196px);
  }
}

/* ===== Mobile: stack the amount pills + turn the tx table into cards ===== */
@media (max-width: 600px) {
  /* "To participate" — pills no longer fit side by side, so stack them. */
  .calc-amounts {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .amount-send {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-width: 0;
  }

  .amount-x2 {
    align-self: center;
    margin: 2px 0;
  }

  .amount-received {
    width: 100%;
    min-width: 0;
  }

  /* Live transactions — drop the table grid and render each row as a card. */
  .transactions-head-row {
    justify-content: flex-start;
  }

  .tx-feed {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .tx-feed-head {
    display: none;
  }

  .tx-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }

  .tx-feed .tx-row {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    min-height: 0;
    padding: 15px 16px;
    border: 1px solid rgba(23, 22, 30, 0.08);
    border-left: 3px solid var(--green);
    border-radius: 14px;
    background: #fdfbf4;
    animation: txCardIn 480ms cubic-bezier(0.22, 0.8, 0.18, 1) both;
    transition:
      transform 220ms ease,
      box-shadow 220ms ease,
      border-color 220ms ease;
  }

  /* gentle staggered entrance for the initial feed */
  .tx-feed .tx-row:nth-child(1) {
    animation-delay: 40ms;
  }
  .tx-feed .tx-row:nth-child(2) {
    animation-delay: 110ms;
  }
  .tx-feed .tx-row:nth-child(3) {
    animation-delay: 180ms;
  }
  .tx-feed .tx-row:nth-child(4) {
    animation-delay: 250ms;
  }
  .tx-feed .tx-row:nth-child(5) {
    animation-delay: 320ms;
  }
  .tx-feed .tx-row:nth-child(6) {
    animation-delay: 390ms;
  }
  .tx-feed .tx-row:nth-child(n + 7) {
    animation-delay: 460ms;
  }

  .tx-feed .tx-row:hover {
    transform: translateY(-3px);
    border-left-color: var(--orange);
    box-shadow: 0 18px 36px -20px rgba(23, 22, 30, 0.45);
  }

  /* a freshly arrived tx slides in from the top and flashes green */
  .tx-feed .tx-row.is-new {
    animation: txRowIn 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }

  .tx-row > span {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
  }

  .tx-row > span::before {
    content: attr(data-label);
    flex: 0 0 52px;
    color: var(--slate);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
  }

  .tx-status {
    font-weight: 700;
  }

  .tx-dot {
    animation: txDotPulse 1.8s ease-out infinite;
  }

  .tx-addr {
    min-width: 0;
    overflow: hidden;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .tx-value {
    justify-self: auto;
    font-size: 17px;
  }
}

/* ===== Logos band (moved before transactions) ===== */
.logos-section {
  background: var(--cream);
  padding: 26px 0 54px;
}

.logos-section .logos-marquee {
  margin-top: 0;
}

/* ===== Site footer ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: 56px 0 40px;
  background: var(--ink);
  color: var(--cream);
}

.footer-inner {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 32px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  font-family:
    "Atyp Text",
    "DM Sans",
    system-ui,
    sans-serif;
  font-size: 18px;
  font-weight: 600;
}

.footer-nav a {
  transition: color 160ms ease;
}

.footer-nav a:hover {
  color: var(--green);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 36px;
  padding: 24px 0 26px;
  border-top: 1px solid rgba(244, 240, 230, 0.1);
}

.footer-logo {
  display: block;
  flex: 0 0 auto;
  width: 200px;
  height: 58px;
  aspect-ratio: 393 / 114;
}

.footer-logo img {
  display: block;
  width: 100%;
  height: 100%;
}

.footer-badge {
  position: relative;
  width: 112px;
  height: 112px;
  flex: 0 0 auto;
}

.badge-ring {
  width: 100%;
  height: 100%;
  animation: badgeSpin 18s linear infinite;
}

.badge-ring text {
  fill: rgba(244, 240, 230, 0.82);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
}

.badge-coin {
  position: absolute;
  inset: 50% auto auto 50%;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--orange);
}

.badge-coin img {
  width: auto;
  height: 26px;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: rgba(244, 240, 230, 0.5);
  font-size: 14px;
  font-weight: 500;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-legal-links a {
  transition: color 160ms ease;
}

.footer-legal-links a:hover {
  color: var(--cream);
}

.legal-sep {
  color: rgba(244, 240, 230, 0.3);
}

@keyframes badgeSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 760px) {
  .footer-bottom,
  .footer-legal {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }

  .belong-parallax {
    transform: none !important;
  }

  .instruction-steps::before {
    animation: none !important;
    transform: scaleY(1);
  }

  .future-track,
  .logos-track {
    animation: none !important;
    transform: none !important;
  }

  .badge-ring {
    animation: none !important;
  }

  .site-preloader.is-hiding {
    opacity: 0;
    transform: translateY(-100%);
  }

  .preloader-logo {
    animation: none !important;
  }
}
