:root {
  --bg: #f3f4f6;
  --text: #0a0b0e;
  --muted: #5f636b;
  --card: #eceef1;
  --blue-a: #1f7dff;
  --blue-b: #79d5ff;
  --radius: 1.5rem;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
}

@media (min-width: 1200px) {
  .container-xxl {
    max-width: 1128px !important;
  }
}

a {
  color: inherit;
}

.section-gap {
  padding: 48px 0;
}

.section-gap-sm {
  padding: 28px 0 42px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(243, 244, 246, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(10, 11, 14, 0.06);
  padding: 14px 0;
  transition: transform 0.24s ease;
  will-change: transform;
}

.brand-text {
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 800;
  color: #0f1115;
}

.small-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
}

.btn-pill {
  border-radius: 999px;
  padding-left: 1.15rem;
  padding-right: 1.15rem;
}

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

.hero-title {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  font-size: clamp(2.5rem, 5.8vw, 5.5rem);
}

.animated-word-wrap {
  position: relative;
  display: inline-block;
  padding-right: 0.18em;
  line-height: 1;
  vertical-align: baseline;
}

.animated-word-wrap::before {
  content: attr(data-reserve);
  display: block;
  visibility: hidden;
  white-space: nowrap;
  line-height: 1;
}

.animated-word {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  display: block;
  white-space: nowrap;
  text-align: right;
  line-height: 1;
  background: linear-gradient(90deg, var(--blue-a), var(--blue-b));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.typing-cursor {
  position: absolute;
  right: 0;
  bottom: 0.03em;
  width: 2px;
  height: 0.96em;
  background: #2a95ff;
  animation: hero-cursor-blink 1s steps(1, end) infinite;
}

@keyframes hero-cursor-blink {
  0%, 49% {
    opacity: 1;
  }
  50%, 100% {
    opacity: 0;
  }
}

.title-gradient {
  background: linear-gradient(90deg, var(--blue-a), var(--blue-b));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  color: var(--muted);
  max-width: 680px;
  margin: 18px auto 20px;
  font-size: clamp(1rem, 1.8vw, 1.9rem);
  line-height: 1.35;
}

.feature-strip-bleed {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

.feature-strip {
  --feature-pad-left: 0.75rem;
  --feature-pad-right: 0.75rem;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem var(--feature-pad-right) 0.25rem var(--feature-pad-left);
  scrollbar-width: none;
}

.feature-strip::-webkit-scrollbar,
.superapp-pills::-webkit-scrollbar {
  display: none;
}

.feature-card {
  flex: 0 0 min(84vw, 360px);
  min-height: 530px;
  border-radius: var(--radius);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  transform: scale(1);
  transition: transform 0.36s ease;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: scale(1.02);
}

.bg-light-gray {
  background: var(--card);
}

.theme-overlay {
  background: linear-gradient(180deg, #2587ff 0%, #84beff 100%);
  color: #fff;
}

.join-community-card {
  background-image: url("assets/community.jpg");
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
}

.feature-card h3,
.event-card h3,
.info-card h3,
.join-card h3 {
  margin: 0;
  letter-spacing: -0.03em;
  font-size: clamp(1.45rem, 2.6vw, 2.15rem);
  line-height: 1.05;
}

.feature-card p,
.info-card p,
.join-card p,
.event-card p {
  margin: 10px 0 0;
  color: #555b63;
  font-size: clamp(0.95rem, 1.15vw, 1.12rem);
  line-height: 1.35;
}

.theme-overlay p,
.theme-overlay h3,
.join-own h3,
.join-own p,
.join-create h3,
.join-create p {
  color: #fff;
}

.arrow {
  font-size: 1.6rem;
  line-height: 1;
  font-weight: 700;
}

.feature-media {
  height: 305px;
  position: relative;
}

.feature-media img,
.info-media img,
.join-media,
.event-image,
.slide-bg {
  width: 100%;
  height: 100%;
}

.object-contain {
  object-fit: contain;
}

.object-cover {
  object-fit: cover;
}

.object-right {
  object-position: right bottom;
}

.object-bottom {
  object-position: center bottom;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 4.2rem);
  letter-spacing: -0.04em;
  line-height: 0.97;
  margin: 0;
}

.event-card {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.event-card h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.5rem);
  line-height: 1.18;
}

.mobile-row-scroll {
  scrollbar-width: none;
}

.mobile-row-scroll::-webkit-scrollbar {
  display: none;
}

.event-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #e8eaed;
  color: #666c74;
  font-size: 0.82rem;
  padding: 0.35rem 0.65rem;
  line-height: 1;
}

.adoption-intro {
  max-width: 900px;
  margin-bottom: 1.4rem;
}

.adoption-intro p {
  margin-top: 0.8rem;
  color: #61666f;
}

#adoptionCarousel {
  --adoption-slide-gap: 0.75rem;
}

#adoptionCarousel .carousel-item-next:not(.carousel-item-start),
#adoptionCarousel .active.carousel-item-end {
  transform: translateX(calc(100% + var(--adoption-slide-gap)));
}

#adoptionCarousel .carousel-item-prev:not(.carousel-item-end),
#adoptionCarousel .active.carousel-item-start {
  transform: translateX(calc(-100% - var(--adoption-slide-gap)));
}

.adoption-slide {
  position: relative;
  height: clamp(25rem, 50vw, 37.5rem);
  border-radius: var(--radius);
  overflow: hidden;
}

.slide-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(10, 13, 22, 0.72) 0%, rgba(10, 13, 22, 0.18) 48%, rgba(10, 13, 22, 0.05) 100%);
  z-index: 1;
}

.slide-bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
}

.slide-copy {
  position: relative;
  z-index: 2;
  padding: 2rem;
  max-width: 470px;
  color: #fff;
}

.slide-copy h3 {
  margin: 0;
  font-size: clamp(1.8rem, 2.8vw, 2.9rem);
  letter-spacing: -0.03em;
}

.slide-copy p {
  margin: 12px 0 16px;
  color: rgba(255, 255, 255, 0.9);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #fff;
  backdrop-filter: blur(6px);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.24);
  color: #fff;
}

.adoption-indicators {
  margin: 0;
  gap: 8px;
}

.adoption-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  margin: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(10, 11, 14, 0.25);
  opacity: 1;
  position: relative;
  overflow: hidden;
  transition: width 0.22s ease, background-color 0.22s ease;
}

.adoption-indicators [data-bs-target]::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: #23a7ff;
  transform: scaleX(0);
  transform-origin: left center;
  opacity: 0;
}

.adoption-indicators .active {
  width: 28px;
  background: rgba(35, 167, 255, 0.25);
}

.adoption-indicators .active::after {
  opacity: 1;
  animation: adoption-indicator-progress 3s linear forwards;
}

.adoption-indicators.is-paused .active::after {
  animation-play-state: paused;
}

@keyframes adoption-indicator-progress {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.btn-pause {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 0;
  background: #e8eaed;
  color: #111;
  font-weight: 800;
  font-size: 0.75rem;
  line-height: 1;
  padding: 0;
}

.builder-hero-card {
  height: clamp(24rem, 46vw, 32.5rem);
  background: linear-gradient(180deg, #111113 0%, #60626c 140%);
}

.builder-hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.multiline-title {
  white-space: normal;
}

.info-card,
.join-card {
  border-radius: var(--radius);
  min-height: 500px;
  padding: 1.35rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.text-link {
  margin-top: 0.4rem;
  font-weight: 700;
  text-decoration: none;
  color: #0f1115;
}

.info-media {
  height: 270px;
  margin-top: auto;
}

.info-media img {
  object-fit: contain;
}

.creators-subtitle {
  max-width: 760px;
  margin: 0.9rem auto 1rem;
}

.creators-stack {
  position: relative;
  height: 285px;
  max-width: 860px;
  margin-left: auto;
  margin-right: auto;
}

.stack-card {
  position: absolute;
  width: min(27vw, 220px);
  aspect-ratio: 1 / 1;
  border-radius: 1.2rem;
  object-fit: cover;
  box-shadow: 0 20px 40px rgba(14, 18, 26, 0.18);
}

.c1 { left: 5%; top: 45px; z-index: 1; }
.c2 { left: 20%; top: 28px; z-index: 2; }
.c3 { left: 37%; top: 8px; z-index: 5; }
.c4 { left: 55%; top: 28px; z-index: 2; }
.c5 { left: 73%; top: 45px; z-index: 1; }

.join-card {
  min-height: 510px;
  transform: scale(1);
  transition: transform 0.36s ease;
}

.join-card:hover,
.join-card:focus-within {
  transform: scale(1.02);
}

.join-create {
  background: linear-gradient(180deg, #1981ff 0%, #bcddff 100%);
}

.join-own {
  background: linear-gradient(180deg, #05070a 0%, #0e1116 100%);
}

.join-earn {
  background: var(--card);
}

.join-media {
  height: 255px;
  object-fit: contain;
  object-position: bottom center;
  margin-top: auto;
}

.superapp-carousel-bleed {
  --superapp-pad-left: 0px;
  --superapp-pad-right: 0px;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  padding-left: var(--superapp-pad-left);
  padding-right: var(--superapp-pad-right);
}

.superapp-carousel-bleed #superappCarousel {
  width: 100%;
}

#superappCarousel {
  --superapp-slide-gap: 0.75rem;
}

#superappCarousel .carousel-item-next:not(.carousel-item-start),
#superappCarousel .active.carousel-item-end {
  transform: translateX(calc(100% + var(--superapp-slide-gap)));
}

#superappCarousel .carousel-item-prev:not(.carousel-item-end),
#superappCarousel .active.carousel-item-start {
  transform: translateX(calc(-100% - var(--superapp-slide-gap)));
}

.super-slide {
  position: relative;
  min-height: clamp(25rem, 52vw, 37.5rem);
  overflow: hidden;
  border-radius: var(--radius);
  padding: 2rem;
}

#superappCarousel .carousel-item {
  overflow: hidden;
}

.super-dark {
  background: linear-gradient(180deg, #000 0%, #5f606a 100%);
}

.super-own {
  background: #111;
}

.super-create {
  background: linear-gradient(180deg, #1981ff 11%, #bcddff 110%);
}

.super-copy {
  position: relative;
  z-index: 3;
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.super-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.9rem, 3.2vw, 3.15rem);
  letter-spacing: -0.03em;
}

.super-copy p {
  margin: 0.75rem 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(0.95rem, 1.25vw, 1.15rem);
}

.super-phone {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -13%;
  z-index: 2;
  object-fit: contain;
}

.send-phone { width: min(42vw, 280px); }
.grow-phone { width: min(44vw, 300px); }
.trade-phone { width: min(40vw, 260px); }
.collect-phone { width: min(68vw, 500px); }

.super-badge,
.super-icon {
  position: absolute;
  z-index: 4;
  object-fit: contain;
}

.badge-receive { left: 28%; top: 42%; width: min(20vw, 120px); }
.badge-earn { right: 31%; top: 36%; width: min(20vw, 120px); }
.badge-send { right: 27%; top: 55%; width: min(20vw, 120px); }

.badge-domain-left { left: 14%; top: 42%; width: min(35vw, 220px); }
.badge-domain-right { right: 14%; top: 50%; width: min(32vw, 200px); }

.i1 { left: 24%; top: 35%; width: min(10vw, 70px); }
.i2 { left: 14%; top: 50%; width: min(10vw, 70px); }
.i3 { left: 28%; bottom: 23%; width: min(10vw, 70px); }
.i4 { right: 28%; top: 31%; width: min(10vw, 70px); }
.i5 { right: 23%; bottom: 24%; width: min(10vw, 70px); }
.i6 { right: 17%; top: 45%; width: min(10vw, 70px); }

.badge-donations { right: 7%; top: 35%; width: min(26vw, 177px); }
.badge-membership { left: 8%; bottom: 27%; width: min(26vw, 177px); }
.badge-subscriptions { left: 31%; top: 37%; width: min(26vw, 176px); }
.badge-onchain { right: 29%; bottom: 22%; width: min(26vw, 177px); }

.t1 { left: 32%; top: 35%; width: min(9vw, 64px); }
.t2 { right: 31%; top: 39%; width: min(9vw, 64px); }
.t3 { right: 22%; top: 52%; width: min(9vw, 64px); }
.t4 { right: 32%; top: 68%; width: min(9vw, 64px); }
.t5 { left: 31%; top: 66%; width: min(9vw, 64px); }
.t6 { left: 21%; top: 50%; width: min(9vw, 64px); }

.superapp-pills {
  display: flex;
  gap: 0.6rem;
  overflow-x: auto;
  justify-content: flex-start;
  scrollbar-width: none;
  scroll-padding-left: 0.1rem;
  padding-bottom: 0.35rem;
}

.pill {
  border: 0;
  border-radius: 999px;
  background: #e8eaed;
  color: #656b73;
  padding: 0.45rem 1rem;
  font-weight: 700;
  white-space: nowrap;
}

.pill.active {
  background: #101a37;
  color: #fff;
}

.site-footer {
  background: #fff;
  border-top: 1px solid rgba(10, 11, 14, 0.06);
}

.site-footer h4 {
  margin: 0 0 0.7rem;
  font-weight: 700;
  font-size: 1.05rem;
}

.site-footer a {
  display: block;
  text-decoration: none;
  color: #666d75;
  margin-bottom: 0.42rem;
  font-size: 0.95rem;
}

.footer-rule {
  height: 1px;
  background: #e8eaed;
  margin: 1.25rem 0 0.9rem;
}

.footer-bottom {
  padding-bottom: 0.6rem;
}

.footer-social a {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: #e8eaed;
  color: #30363d;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  text-decoration: none;
  margin: 0;
}

.footer-copy {
  color: #7b8189;
  font-size: 0.82rem;
}

.zoom-target {
  transition: transform 0.36s ease;
}

.zoom-card:hover .zoom-target,
.zoom-card:focus-within .zoom-target {
  transform: scale(1.03);
}

.feature-card:hover .zoom-target,
.feature-card:focus-within .zoom-target,
.join-card:hover .zoom-target,
.join-card:focus-within .zoom-target {
  transform: none;
}

.drag-scroll {
  cursor: grab;
}

.drag-scroll.dragging,
.touch-draggable .carousel-inner.dragging {
  cursor: grabbing;
  user-select: none;
}

.touch-draggable .carousel-inner {
  touch-action: pan-y;
  will-change: transform;
}

.touch-draggable img {
  -webkit-user-drag: none;
  user-drag: none;
  user-select: none;
}

.touch-draggable .carousel-inner.dragging {
  transition: none !important;
}

.events-section .container-xxl {
  max-width: 1128px !important;
}

@media (min-width: 992px) {
  .superapp-pills {
    justify-content: center;
  }
}

@media (max-width: 991.98px) {
  .site-header.mobile-header-hidden {
    transform: translateY(calc(-100% - 2px));
  }

  .site-header {
    padding: 10px 0;
  }

  .brand-text {
    font-size: 1.65rem;
  }

  .section-gap {
    padding: 34px 0;
  }

  .feature-card,
  .info-card,
  .join-card {
    min-height: 430px;
  }

  .mobile-row-scroll {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin-left: 0;
    margin-right: 0;
    padding-bottom: 0.25rem;
  }

  .mobile-row-scroll > .mobile-scroll-col {
    flex: 0 0 78%;
    max-width: 78%;
    scroll-snap-align: start;
    padding-left: 0;
    padding-right: 0;
    margin-right: 0.85rem;
  }

  .mobile-row-scroll > .mobile-scroll-col:last-child {
    margin-right: 0;
  }

  .builder-hero-row .section-title {
    font-size: clamp(1.55rem, 7vw, 2.5rem);
    line-height: 0.95;
  }

  .builder-hero-row p {
    margin-top: 0.5rem !important;
    font-size: 0.85rem;
    line-height: 1.25;
  }

  .builder-hero-row .btn {
    font-size: 0.74rem;
    padding: 0.36rem 0.7rem;
  }

  .feature-media,
  .info-media,
  .join-media {
    height: 215px;
  }

  .builder-hero-card {
    height: 260px;
  }

  .creators-stack {
    height: 218px;
  }

  .super-slide {
    min-height: 500px;
    padding: 1.5rem 1rem;
  }

  .send-phone,
  .grow-phone,
  .trade-phone {
    width: 220px;
  }

  .collect-phone {
    width: 360px;
  }
}

@media (max-width: 767.98px) {
  .hero-copy {
    max-width: 100%;
  }

  .hero-subtitle {
    font-size: 1.15rem;
    max-width: 360px;
  }

  .feature-card {
    flex-basis: 84vw;
  }

  .mobile-row-scroll > .mobile-scroll-col {
    flex-basis: 84vw;
    max-width: 84vw;
    margin-right: 0.75rem;
  }

  .slide-copy {
    padding: 1.3rem;
    max-width: 100%;
  }

  .slide-overlay::before {
    background: linear-gradient(180deg, rgba(10, 13, 22, 0.72) 0%, rgba(10, 13, 22, 0.2) 60%, rgba(10, 13, 22, 0.05) 100%);
  }

  .creators-stack {
    height: 175px;
  }

  .stack-card {
    width: 116px;
    border-radius: 0.9rem;
  }

  .c1 { left: -4%; top: 34px; }
  .c2 { left: 10%; top: 18px; }
  .c3 { left: 27%; top: 0; }
  .c4 { left: 45%; top: 18px; }
  .c5 { left: 62%; top: 34px; }

  .badge-domain-left { left: 2%; top: 45%; width: 140px; }
  .badge-domain-right { right: 2%; top: 54%; width: 130px; }

  .badge-donations { right: 4%; top: 34%; width: 145px; }
  .badge-membership { left: 4%; bottom: 33%; width: 145px; }
  .badge-subscriptions { left: 25%; top: 44%; width: 145px; }
  .badge-onchain { right: 21%; bottom: 18%; width: 145px; }

  .badge-receive { left: 5%; top: 56%; width: 92px; }
  .badge-earn { right: 4%; top: 46%; width: 82px; }
  .badge-send { right: 2%; top: 63%; width: 82px; }

  .t1 { left: 33%; top: 30%; width: 58px; }
  .t3 { right: 4%; top: 62%; width: 58px; }
  .t6 { left: 2%; top: 50%; width: 58px; }
  .t2,
  .t4,
  .t5 {
    display: none;
  }

  .i1, .i2, .i4, .i5, .i6 {
    width: 60px;
  }

  .i1 { left: 8%; top: 31%; }
  .i2 { left: 2%; top: 52%; }
  .i4 { right: 8%; top: 29%; }
  .i6 { right: 2%; top: 49%; }
  .i5 { right: 12%; top: 68%; }
  .i3 { display: none; }

  .site-footer .brand-text {
    font-size: 1.35rem;
  }
}
