/* ============================================================
   PAGE-SPECIFIC LAYOUT — natai landing page
   ============================================================ */

.logo {
  position: fixed;
  top: 28px;
  right: 32px;
  height: 59px;
  width: auto;
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 32px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 560px;
}

.definition {
  font-family: var(--font-body);
  font-weight: var(--weight-body);
  color: var(--text-body);
  font-size: 23px;
  line-height: 1.6;
}

.definition p {
  margin: 0;
}

.definition .headword {
  font-family: var(--font-heading);
  font-weight: var(--weight-ui);
  color: var(--text-heading);
  font-size: 53px;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.definition .ipa {
  font-family: var(--font-body);
  font-weight: var(--weight-body);
  color: var(--text-body);
}

.definition .pos {
  font-style: italic;
}

.definition .register {
  font-style: italic;
}

.definition ol {
  margin: 0.75em 0 0;
  padding-left: 1.4em;
}

.definition ol li {
  margin-bottom: 0.35em;
}

.definition ol li:last-child {
  margin-bottom: 0;
}

.stealth-note {
  font-family: var(--font-ui);
  font-weight: var(--weight-ui);
  font-size: 13px;
  color: var(--text-body);
  margin: 28px 0 12px 13px;
}

/* ============================================================
   "NOT BACKED BY Y COMBINATOR ... YET" BADGE
   ============================================================ */

.not-yc-badge {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  white-space: nowrap;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  height: 2rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid transparent;

  /* "outline" variant look */
  color: var(--text-heading);
  background-color: var(--surface);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.065);
  outline: 1px solid rgba(17, 17, 17, 0.15);
  outline-offset: -1px;

  transition: all 0.2s ease-in-out;
}

.not-yc-badge:hover {
  background-color: rgba(0, 0, 0, 0.03);
}

.not-yc-badge:active {
  transform: scale(0.99);
}

.not-yc-badge__y {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.25rem;
  height: 1.25rem;
  background-color: #f97316;
  border-radius: 0.25rem;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
}

.not-yc-badge__shine {
  position: absolute;
  left: 0;
  right: 0;
  width: 75%;
  margin: 0 auto;
  height: 1px;
  background: linear-gradient(to right, transparent, #9ca3af, transparent);
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}

.not-yc-badge__shine--top {
  top: 0;
}

.not-yc-badge__shine--bottom {
  bottom: -1px;
}

.not-yc-badge:hover .not-yc-badge__shine {
  opacity: 0.3;
}

/* ----- Periodic white glow, orbiting clockwise ----- */

@property --glow-angle {
  syntax: '<angle>';
  inherits: false;
  initial-value: 0deg;
}

.not-yc-badge::before {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 9999px;
  padding: 5px;
  background: conic-gradient(
    from var(--glow-angle),
    transparent 0deg 250deg,
    #ffffff 320deg,
    transparent 360deg
  );
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.not-yc-badge.glow {
  animation: badge-glow-pulse 2.2s ease-out;
}

.not-yc-badge.glow::before {
  opacity: 1;
  animation: badge-glow-spin 2.2s linear;
}

@keyframes badge-glow-pulse {
  0% {
    box-shadow:
      0 1px 2px rgba(0, 0, 0, 0.065),
      0 0 0 0 rgba(255, 255, 255, 0.9);
  }
  30% {
    box-shadow:
      0 1px 2px rgba(0, 0, 0, 0.065),
      0 0 28px 8px rgba(255, 255, 255, 0.9);
  }
  100% {
    box-shadow:
      0 1px 2px rgba(0, 0, 0, 0.065),
      0 0 0 0 rgba(255, 255, 255, 0);
  }
}

@keyframes badge-glow-spin {
  from {
    --glow-angle: 0deg;
  }
  to {
    --glow-angle: 360deg;
  }
}

@media (max-width: 600px) {
  .definition {
    font-size: 20px;
  }
  .definition .headword {
    font-size: 41px;
  }
  .logo {
    top: 20px;
    right: 20px;
    height: 22px;
  }
}
