html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--ui-bg, #05070d);
  color: var(--tx-primary, #ffffff);
}

img {
  max-width: 100%;
}

.text-tx-primary {
  color: var(--tx-primary, #ffffff);
}

.bg-ui-bg {
  background-color: var(--ui-bg, #05070d);
}

.bg-ui-secondary {
  background-color: var(--ui-secondary, rgba(5, 7, 13, 0.9));
}

.border-ui-separator {
  border-color: var(--ui-separator, rgba(255, 255, 255, 0.16));
}

.bg-ui-primary,
.primary-pill-button {
  background: var(--ui-primary, #4779ff);
}

.hover\:bg-ui-primary-hover:hover {
  background: var(--ui-primary-hover, #6b92ff);
}

.text-tx-over {
  color: var(--tx-over, #ffffff);
}

.featured-title {
  line-height: 1.1;
}

.featured-description {
  color: var(--tx-primary, #ffffff);
}

.inline-icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  fill: currentColor;
  flex: 0 0 auto;
  vertical-align: -0.125em;
}

.social-icon {
  width: 1.25rem;
  height: 1.25rem;
  color: var(--tx-primary, #ffffff);
  transition: opacity 0.15s ease;
}

a:hover .social-icon {
  opacity: 0.6;
}

.primary-pill-button {
  cursor: pointer !important;
  text-decoration: none !important;
}

.primary-pill-button:hover {
  transform: translateY(-1px);
}

.waitlist-timer {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  width: fit-content;
  min-width: 220px;
  padding: 0.875rem 1.125rem;
  border: 1px solid rgba(71, 121, 255, 0.42);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(17, 19, 26, 0.96), rgba(8, 10, 16, 0.96));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.04) inset, 0 12px 34px rgba(0, 0, 0, 0.28);
}

.waitlist-timer-label {
  color: var(--tx-secondary, #ced0da);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.waitlist-timer-value {
  margin-top: 0.45rem;
  color: var(--tx-primary, #ffffff);
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.waitlist-joined {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(100%, 300px);
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(17, 19, 26, 0.72);
  position: fixed;
  left: 50%;
  bottom: 3.25rem;
  z-index: 10;
  transform: translateX(-50%);
}

.waitlist-joined-label {
  color: var(--tx-secondary, #ced0da);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
}

.waitlist-joined-value {
  color: var(--tx-primary, #ffffff);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

html,
body,
#__next {
  height: 100% !important;
  overflow: hidden !important;
}

main {
  min-height: 100vh !important;
  height: 100vh !important;
}

#title-bar-wrapper {
  height: 64px !important;
}

#title-bar {
  min-height: 64px !important;
  padding-top: 0.75rem !important;
  padding-bottom: 0.75rem !important;
}

.image-section {
  display: none !important;
}

.featured-section {
  margin-top: 2rem !important;
  margin-bottom: 1rem !important;
}

.featured-section > div > div {
  gap: clamp(1rem, 4vw, 3rem) !important;
}

.featured-title {
  font-size: clamp(1.5rem, 3vw, 2rem) !important;
}

.featured-description {
  line-height: 1.35 !important;
}

.featured-section .aspect-square {
  width: min(52vh, 440px) !important;
  height: min(52vh, 440px) !important;
}

.featured-section .aspect-square img {
  max-width: min(52vh, 440px) !important;
  max-height: min(52vh, 440px) !important;
}

footer > div {
  padding-bottom: 0.75rem !important;
}

@media (max-width: 1023px) {
  #title-bar-wrapper,
  #title-bar {
    height: 58px !important;
    min-height: 58px !important;
  }

  .featured-section {
    margin-top: 1rem !important;
    margin-bottom: 0.75rem !important;
  }

  .featured-section > div > div {
    gap: 0.75rem !important;
    flex-direction: column !important;
  }

  .featured-section .aspect-square,
  .featured-section .aspect-square img {
    width: min(40vh, 300px) !important;
    height: min(40vh, 300px) !important;
    max-width: min(40vh, 300px) !important;
    max-height: min(40vh, 300px) !important;
  }

  .featured-description {
    font-size: 0.875rem !important;
  }
}
