:root {
  --ink-950: #09111d;
  --ink-900: #0d1623;
  --ink-800: #111f31;
  --ink-700: #1b3149;
  --cyan: #64d8ff;
  --mint: #8ef6d3;
  --lavender: #b8a4ff;
  --rose: #ff9fc7;
  --amber: #ffbf75;
  --cream: #f7f1e8;
  --sand: #ead8c6;
  --paper: rgba(255, 248, 241, 0.76);
  --paper-strong: rgba(255, 250, 245, 0.9);
  --text-dark: #1d2433;
  --text-soft: #5d677a;
  --text-light: #e7f1fb;
  --text-dim: #8ba2be;
  --line-dark: rgba(86, 124, 164, 0.3);
  --line-light: rgba(82, 99, 120, 0.14);
  --shadow-dark: 0 24px 90px rgba(0, 8, 20, 0.45);
  --shadow-light: 0 28px 80px rgba(71, 83, 112, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Sora", sans-serif;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

.landing-body {
  overflow: hidden;
  color: var(--text-light);
  background:
    radial-gradient(circle at 15% 18%, rgba(100, 216, 255, 0.18), transparent 25%),
    radial-gradient(circle at 78% 22%, rgba(184, 164, 255, 0.14), transparent 22%),
    linear-gradient(180deg, #07101b 0%, #09111d 45%, #0d1623 100%);
}

.landing-aura,
.landing-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
}

.landing-aura-a {
  background: radial-gradient(circle at 22% 28%, rgba(100, 216, 255, 0.12), transparent 28%);
  animation: driftA 9s ease-in-out infinite alternate;
}

.landing-aura-b {
  background: radial-gradient(circle at 76% 34%, rgba(255, 159, 199, 0.08), transparent 22%);
  animation: driftB 12s ease-in-out infinite alternate;
}

.landing-grid {
  background-image:
    linear-gradient(rgba(139, 162, 190, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 162, 190, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.75), transparent 96%);
}

.chat-stage {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  position: relative;
}

.chat-panel,
.welcome-scene {
  width: min(880px, 100%);
  min-height: 560px;
  border-radius: 36px;
  position: absolute;
  padding: 34px;
  border: 1px solid var(--line-dark);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(18px);
}

.chat-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  background:
    linear-gradient(160deg, rgba(9, 17, 29, 0.92), rgba(13, 22, 35, 0.84)),
    rgba(9, 17, 29, 0.88);
  transition: opacity 480ms ease, transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 480ms ease;
}

.chat-panel.is-exiting {
  opacity: 0;
  transform: translateY(-28px) scale(0.97);
  filter: blur(10px);
  pointer-events: none;
}

.chat-meta,
.bubble-label,
.scene-tag,
.gallery-kicker,
.feature-badge,
.feature-status,
.stack-tag,
.gallery-home,
.feature-tags span,
.minio-backlink a {
  font-family: "JetBrains Mono", monospace;
}

.chat-meta {
  color: var(--text-dim);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chat-bubble {
  max-width: 260px;
  padding: 20px 22px;
  border-radius: 24px 24px 24px 10px;
  background: linear-gradient(135deg, rgba(100, 216, 255, 0.16), rgba(14, 29, 44, 0.94));
  border: 1px solid rgba(100, 216, 255, 0.28);
  animation: bubbleFloat 5s ease-in-out infinite;
}

.bubble-label {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.chat-bubble p {
  margin: 0;
  font-size: clamp(34px, 6vw, 62px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.typing-indicator {
  display: inline-flex;
  gap: 8px;
  width: fit-content;
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(17, 31, 49, 0.74);
  border: 1px solid rgba(86, 124, 164, 0.2);
}

.typing-indicator span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(231, 241, 251, 0.78);
  animation: blinkDots 1.2s infinite ease-in-out;
}

.typing-indicator span:nth-child(2) {
  animation-delay: 0.15s;
}

.typing-indicator span:nth-child(3) {
  animation-delay: 0.3s;
}

.reply-row {
  min-height: 106px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}

.reply-chip {
  border: 0;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(142, 246, 211, 0.26), rgba(100, 216, 255, 0.2));
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  opacity: 0;
  transform: translateY(10px);
  box-shadow: 0 14px 28px rgba(18, 44, 68, 0.24);
  transition: opacity 280ms ease, transform 280ms ease, filter 280ms ease;
}

.reply-chip.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reply-chip:hover {
  filter: brightness(1.08);
}

.reply-hint {
  margin: 0;
  padding-left: 12px;
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  line-height: 1.2;
  color: transparent;
  background-image:
    linear-gradient(135deg, rgba(247, 241, 232, 0.12), rgba(231, 241, 251, 0.42)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.18) 0 1px, rgba(255, 255, 255, 0.04) 1px 4px);
  background-clip: text;
  -webkit-background-clip: text;
  opacity: 0;
  transform: translateY(8px);
  text-shadow: 0 0 18px rgba(100, 216, 255, 0.08);
  transition: opacity 320ms ease 70ms, transform 320ms ease 70ms;
}

.reply-chip.is-visible + .reply-hint {
  opacity: 0.52;
  transform: translateY(0);
}

.welcome-scene {
  overflow: hidden;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 25% 30%, rgba(100, 216, 255, 0.2), transparent 32%),
    radial-gradient(circle at 75% 30%, rgba(184, 164, 255, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(7, 16, 27, 0.96), rgba(17, 31, 49, 0.9));
  opacity: 0;
  transform: scale(0.98) translateY(16px);
  pointer-events: none;
  transition: opacity 720ms ease, transform 720ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.welcome-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.08) 42%, transparent 70%);
  transform: translateX(-120%);
}

.welcome-scene.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

.welcome-scene.is-visible::before {
  animation: sceneSweep 1.1s ease forwards;
}

.welcome-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  right: -110px;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 191, 117, 0.3), transparent 62%);
  filter: blur(18px);
}

.welcome-copy {
  position: relative;
  z-index: 1;
  max-width: 620px;
}

.scene-tag,
.gallery-kicker,
.feature-badge,
.stack-tag {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(100, 216, 255, 0.24);
  background: rgba(100, 216, 255, 0.1);
  color: var(--cyan);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.welcome-copy h1 {
  margin: 18px 0 14px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.welcome-copy p {
  margin: 0;
  max-width: 55ch;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
}

.welcome-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.scene-button,
.scene-link,
.feature-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 18px;
  border-radius: 14px;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.scene-button,
.feature-link {
  background: linear-gradient(135deg, rgba(100, 216, 255, 0.22), rgba(184, 164, 255, 0.22));
  color: #fff;
  border: 1px solid rgba(100, 216, 255, 0.28);
  box-shadow: 0 18px 40px rgba(18, 44, 68, 0.22);
}

.scene-link {
  border: 0;
  background: rgba(17, 31, 49, 0.76);
  color: var(--text-light);
  cursor: pointer;
}

.scene-button:hover,
.scene-link:hover,
.feature-link:hover,
.gallery-home:hover {
  transform: translateY(-2px);
}

.blogs-body {
  color: var(--text-light);
  background:
    radial-gradient(circle at 10% 14%, rgba(251, 146, 60, 0.18), transparent 24%),
    radial-gradient(circle at 82% 12%, rgba(167, 139, 250, 0.16), transparent 26%),
    radial-gradient(circle at 70% 72%, rgba(56, 189, 248, 0.12), transparent 22%),
    linear-gradient(180deg, #09101c 0%, #0b0f1a 42%, #0d1321 100%);
  overflow-x: hidden;
}

.gallery-blob,
.gallery-grain {
  position: fixed;
  inset: auto;
  pointer-events: none;
}

.gallery-blob {
  border-radius: 50%;
  filter: blur(24px);
  opacity: 0.7;
}

.gallery-blob-a {
  width: 260px;
  height: 260px;
  top: 110px;
  left: -40px;
  background: rgba(251, 146, 60, 0.22);
  animation: floatBlob 12s ease-in-out infinite;
}

.gallery-blob-b {
  width: 320px;
  height: 320px;
  top: 60px;
  right: -60px;
  background: rgba(167, 139, 250, 0.2);
  animation: floatBlob 15s ease-in-out infinite reverse;
}

.gallery-blob-c {
  width: 220px;
  height: 220px;
  bottom: 40px;
  right: 18%;
  background: rgba(56, 189, 248, 0.18);
  animation: floatBlob 14s ease-in-out infinite;
}

.gallery-grain {
  inset: 0;
  background-image:
    linear-gradient(rgba(139, 163, 190, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139, 163, 190, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.34;
}

.gallery-page {
  width: min(960px, calc(100% - 32px));
  margin: 28px auto 56px;
  position: relative;
  z-index: 1;
}

.gallery-header {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 18px;
}

.gallery-home {
  position: static;
  width: fit-content;
  min-height: 44px;
  padding: 0 16px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(11, 15, 26, 0.78);
  border: 1px solid rgba(30, 45, 69, 0.88);
  box-shadow: var(--shadow-dark);
  color: var(--text-light);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.gallery-heading {
  width: 100%;
  padding: 22px 26px;
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(56, 189, 248, 0.08), transparent 28%),
    linear-gradient(135deg, rgba(17, 24, 39, 0.92), rgba(11, 15, 26, 0.84));
  border: 1px solid rgba(30, 45, 69, 0.86);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(12px);
}

.gallery-kicker {
  border-color: rgba(56, 189, 248, 0.24);
  background: rgba(56, 189, 248, 0.1);
  color: var(--cyan);
}

.gallery-heading h1 {
  margin: 14px 0 10px;
  max-width: 9ch;
  font-size: clamp(32px, 5vw, 52px);
  line-height: 1;
  letter-spacing: -0.05em;
}

.gallery-heading p {
  margin: 0;
  max-width: 46ch;
  font-size: 15px;
  color: var(--text-dim);
  line-height: 1.65;
}

.library-shell {
  display: grid;
  gap: 16px;
}

.library-card {
  border-radius: 32px;
  border: 1px solid rgba(30, 45, 69, 0.86);
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(16px);
}

.library-list {
  position: relative;
  display: grid;
  gap: 16px;
}

.library-list::before {
  content: "";
  position: absolute;
  left: 45px;
  top: 14px;
  bottom: 14px;
  width: 1px;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.2), rgba(167, 139, 250, 0.08));
}

.library-card {
  position: relative;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 22px;
  padding: 24px 26px;
  background: linear-gradient(160deg, rgba(17, 24, 39, 0.98), rgba(11, 15, 26, 0.9));
}

.library-card-minio {
  background:
    radial-gradient(circle at top right, rgba(251, 146, 60, 0.14), transparent 28%),
    linear-gradient(160deg, rgba(17, 24, 39, 0.98), rgba(11, 15, 26, 0.9));
}

.library-card-mail {
  background:
    radial-gradient(circle at top right, rgba(52, 211, 153, 0.12), transparent 28%),
    linear-gradient(160deg, rgba(17, 24, 39, 0.98), rgba(11, 15, 26, 0.9));
}

.library-card-nfs {
  background:
    radial-gradient(circle at top right, rgba(167, 139, 250, 0.12), transparent 28%),
    linear-gradient(160deg, rgba(17, 24, 39, 0.98), rgba(11, 15, 26, 0.9));
}

.library-step {
  position: relative;
  z-index: 1;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  border: 1px solid rgba(100, 216, 255, 0.24);
  background: rgba(12, 22, 36, 0.92);
  color: var(--text-light);
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  letter-spacing: 0.08em;
}

.library-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.library-copy h2 {
  margin: 18px 0 12px;
  max-width: 18ch;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.04;
  letter-spacing: -0.04em;
}

.library-copy p {
  margin: 0;
  max-width: 68ch;
  color: var(--text-dim);
  line-height: 1.75;
}

.library-link {
  margin-top: 22px;
  align-self: flex-start;
}

.gallery-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  gap: 24px;
}

.feature-card,
.mood-card {
  border-radius: 32px;
  box-shadow: var(--shadow-dark);
  backdrop-filter: blur(16px);
}

.feature-card {
  padding: 30px;
  background:
    radial-gradient(circle at top right, rgba(251, 146, 60, 0.14), transparent 28%),
    linear-gradient(160deg, rgba(17, 24, 39, 0.98), rgba(11, 15, 26, 0.9));
  border: 1px solid rgba(30, 45, 69, 0.86);
  min-height: 480px;
  display: flex;
  flex-direction: column;
}

.feature-topline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.feature-status {
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.feature-card h2 {
  margin: 22px 0 16px;
  max-width: 12ch;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.feature-card p,
.mood-card p {
  margin: 0;
  color: var(--text-dim);
  line-height: 1.75;
}

.feature-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0 30px;
}

.feature-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(26, 34, 53, 0.95);
  border: 1px solid rgba(30, 45, 69, 0.9);
  color: var(--text-dim);
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.feature-link {
  width: fit-content;
  margin-top: auto;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(167, 139, 250, 0.2));
  border: 1px solid rgba(56, 189, 248, 0.28);
}

.side-stack {
  display: grid;
  gap: 24px;
}

.mood-card {
  padding: 26px;
  background:
    linear-gradient(160deg, rgba(13, 22, 35, 0.88), rgba(17, 24, 39, 0.82));
  border: 1px solid rgba(30, 45, 69, 0.82);
}

.stack-tag {
  border-color: rgba(251, 146, 60, 0.24);
  background: rgba(251, 146, 60, 0.1);
  color: var(--amber);
}

.mood-card h3 {
  margin: 16px 0 12px;
  font-size: 28px;
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 640ms ease, transform 640ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.minio-backlink {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  justify-content: center;
  padding: 16px 16px 0;
}

.minio-backlink a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 100px;
  background: rgba(11, 15, 26, 0.88);
  border: 1px solid rgba(100, 216, 255, 0.28);
  color: var(--text-light);
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(14px);
}

.minio-backlink a:hover {
  filter: brightness(1.08);
}

@keyframes driftA {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(12px, 24px, 0) scale(1.08); }
}

@keyframes driftB {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(-18px, 12px, 0) scale(1.06); }
}

@keyframes bubbleFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes blinkDots {
  0%, 80%, 100% { transform: scale(0.7); opacity: 0.5; }
  40% { transform: scale(1); opacity: 1; }
}

@keyframes sceneSweep {
  from { transform: translateX(-120%); }
  to { transform: translateX(120%); }
}

@keyframes floatBlob {
  0%, 100% { transform: translateY(0) translateX(0); }
  50% { transform: translateY(-18px) translateX(12px); }
}

@media (max-width: 980px) {
  .gallery-heading h1,
  .library-copy h2,
  .feature-card h2 {
    max-width: 100%;
  }

  .library-card {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .library-list::before {
    left: 41px;
  }
}

@media (max-width: 720px) {
  .chat-panel,
  .welcome-scene {
    min-height: 520px;
    padding: 24px;
    border-radius: 28px;
  }

  .welcome-links,
  .feature-tags {
    gap: 12px;
  }

  .scene-button,
  .scene-link,
  .feature-link {
    width: 100%;
  }

  .gallery-page {
    width: calc(100% - 20px);
    margin: 12px auto 28px;
  }

  .gallery-heading,
  .feature-card,
  .mood-card {
    padding: 22px;
    border-radius: 24px;
  }

  .library-card {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
    border-radius: 24px;
  }

  .library-step {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .library-list::before {
    display: none;
  }
}
