/* Coralflavor uncensored landing — AI hero + glass prompt */

.landingScene {
  --landing-mist: rgba(248, 252, 255, 0.88);
  --landing-glass: rgba(14, 18, 24, 0.58);
  --landing-glass-border: rgba(255, 255, 255, 0.14);
  --landing-text: #f4f7fb;
  --landing-muted: rgba(244, 247, 251, 0.72);
  --landing-embed-bg: #f4f8fc;
  margin: 0;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--landing-text);
  font: 15px/1.45 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--landing-embed-bg);
}

/* First screen only — background image stays in this fold */
.landingFold {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
}

.landingScene * {
  box-sizing: border-box;
}

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

/* ---- AI background (viewport fold only) ---- */
.landingBg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.landingBg picture {
  display: block;
  width: 100%;
  height: 100%;
}

.landingBgImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
}

.landingMist {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 38%;
  background: linear-gradient(
    to top,
    var(--landing-mist) 0%,
    rgba(248, 252, 255, 0.45) 42%,
    transparent 100%
  );
  pointer-events: none;
}

/* ---- Top nav ---- */
.landingTop {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
}

.landingBrand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.landingBrand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  flex-shrink: 0;
}

.landingBrandText {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
}

.landingBrandText strong {
  font-size: 15px;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.landingBrandText span {
  font-size: 12px;
  color: var(--landing-muted);
}

.landingNav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.landingNav a {
  font-size: 14px;
  color: rgba(49, 48, 48, 0.9);
  padding: 8px 10px;
  border-radius: 8px;
}

.landingNav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.landingNavCta {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: var(--landing-text) !important;
  font-weight: 600;
  padding: 8px 14px !important;
}

.landingNavCta:hover {
  background: rgba(255, 255, 255, 0.22) !important;
}

/* ---- Hero ---- */
.landingHero {
  position: relative;
  z-index: 10;
  min-height: calc(100dvh - 72px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 20px 12vh;
  text-align: center;
}

.landingTitle {
  margin: 0 0 28px;
  font-family: Georgia, "Times New Roman", "Palatino Linotype", serif;
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 28px rgba(0, 20, 50, 0.45);
}

.landingPromptWrap {
  position: relative;
  width: min(720px, 100%);
  margin: 0 auto;
}

.landingStage {
  position: relative;
  width: 100%;
  overflow: visible;
}

/* ---- Glass prompt card ---- */
.landingPrompt {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 14px 16px 12px;
  border-radius: 22px;
  background: var(--landing-glass);
  border: 1px solid var(--landing-glass-border);
  backdrop-filter: blur(20px) saturate(1.15);
  -webkit-backdrop-filter: blur(20px) saturate(1.15);
  box-shadow:
    0 24px 60px rgba(0, 12, 30, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.landingPrompt textarea {
  width: 100%;
  min-height: 52px;
  max-height: 160px;
  resize: none;
  border: none;
  outline: none;
  background: transparent;
  color: var(--landing-text);
  font: inherit;
  font-size: 16px;
  line-height: 1.45;
  padding: 4px 2px 10px;
}

.landingPrompt textarea::placeholder {
  color: rgba(244, 247, 251, 0.45);
}

.landingPromptBar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.landingModelTag {
  font-size: 12px;
  color: var(--landing-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

#landingStart {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.92);
  color: #1a2230;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

#landingStart:hover:not(:disabled) {
  transform: scale(1.06);
}

#landingStart:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.landingTagline {
  margin: 22px 0 0;
  font-size: 13px;
  color: var(--landing-muted);
  text-shadow: 0 1px 12px rgba(0, 20, 50, 0.35);
}

/* ---- Embed badges (below the fold) ---- */
.landingEmbeds {
  position: relative;
  z-index: 10;
  background: var(--landing-embed-bg);
  padding: 40px 24px 64px;
  border-top: 1px solid rgba(30, 50, 80, 0.08);
}

.landingEmbedsTitle {
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #5a6472;
  text-align: center;
}

.landingEmbedList {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 28px;
}

.landingEmbedList li {
  display: flex;
  align-items: center;
  justify-content: center;
}

.landingEmbedList a {
  display: inline-flex;
  align-items: center;
  opacity: 0.92;
  transition: opacity 0.15s ease, transform 0.15s ease;
}

.landingEmbedList a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

@media (max-width: 640px) {
  html:has(body.landingScene) {
    overflow-x: hidden;
    max-width: 100%;
  }

  .landingScene {
    max-width: 100%;
    overscroll-behavior-x: none;
    touch-action: pan-y;
  }

  .landingTop {
    padding: 14px 14px;
  }

  .landingNav a:not(.landingNavCta) {
    display: none;
  }

  .landingHero {
    padding-bottom: 8vh;
    padding-left: 16px;
    padding-right: 16px;
    width: 100%;
    max-width: 100%;
  }

  .landingEmbeds {
    padding: 32px 16px 48px;
  }
}
