/* ============================================================================
   SUBMIT — /pages/submit/
   Standalone stylesheet for the "list your character" landing page.
   Loaded only on /pages/submit/ to keep style.css lean.
   ========================================================================= */

.submit-hero {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 2.5rem;
}
.submit-hero-eyebrow {
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--fg-mute);
  margin: 0 0 .85rem;
}
.submit-hero h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -.025em;
  line-height: 1.15;
  margin: 0 0 1rem;
  max-width: 720px;
  margin-inline: auto;
  color: var(--fg);
}
.submit-hero-sub {
  font-size: 1.05rem;
  color: var(--fg-mute);
  line-height: 1.55;
  margin: 0 auto;
  max-width: 580px;
}

/* Jump-to-section links under the hero */
.submit-jump {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}
.submit-jump a {
  font-size: .92rem;
  font-weight: 700;
  color: var(--fg);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: .2rem;
  transition: border-color .15s ease, color .15s ease;
}
.submit-jump a:hover { color: #ffb648; border-bottom-color: #ffb648; }

/* Tally iframe wrapper — gives the embed a clean panel on the page */
.submit-embed {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 1.25rem 1.25rem .85rem;
  margin: 1.25rem 0 0;
  overflow: hidden;
}
.submit-embed iframe {
  display: block;
  width: 100%;
  border: 0;
  background: transparent;
  min-height: 320px;
  transition: height .25s ease;
}
@media (max-width: 600px) {
  .submit-embed { padding: .85rem .65rem .5rem; border-radius: 12px; }
}

/* Two-card chooser */
.submit-paths {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 0 auto 3rem;
  max-width: 900px;
}
.submit-card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color .15s ease, transform .15s ease;
}
.submit-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}
.submit-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 71, 110, .15), rgba(255, 182, 72, .15));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ff8aa0;
}
.submit-card-icon svg { width: 26px; height: 26px; }
.submit-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0;
  color: var(--fg);
  letter-spacing: -.01em;
}
.submit-card-sub {
  font-size: .92rem;
  color: var(--fg-mute);
  line-height: 1.5;
  margin: 0;
}
.submit-card-meta {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  font-size: .85rem;
  color: var(--fg-mute);
  margin: 0;
  padding: 0;
  list-style: none;
}
.submit-card-meta li {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}
.submit-card-meta li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent, #ffb648);
  flex-shrink: 0;
  margin-top: .5rem;
}
.submit-card .btn {
  align-self: stretch;
  margin-top: auto;
  padding: .85rem 1.2rem;
}

/* Sections lower on the page */
.submit-section {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 0 1rem;
}
.submit-section h2 {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: -.015em;
  margin: 0 0 1rem;
  color: var(--fg);
}
.submit-section p,
.submit-section li {
  color: var(--fg);
  line-height: 1.65;
  font-size: 1rem;
}

/* Accept/Reject two-column block */
.submit-rules {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin: 1.25rem 0;
}
.submit-rules-col {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
}
.submit-rules-col h3 {
  font-size: 1rem;
  margin: 0 0 .85rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--fg);
}
.submit-rules-col ul {
  margin: 0;
  padding-left: 1.1rem;
  font-size: .92rem;
  color: var(--fg-mute);
}
.submit-rules-col li { margin: .35rem 0; line-height: 1.5; }

/* Timeline pills */
.submit-timeline {
  display: flex;
  gap: .85rem;
  flex-wrap: wrap;
  margin: 1.25rem 0;
}
.submit-timeline-step {
  flex: 1 1 180px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem 1.1rem;
}
.submit-timeline-step-num {
  display: inline-block;
  width: 26px; height: 26px;
  line-height: 26px;
  text-align: center;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--fg);
  font-weight: 800;
  font-size: .82rem;
  margin-bottom: .55rem;
}
.submit-timeline-step strong {
  display: block;
  margin-bottom: .25rem;
  color: var(--fg);
  font-size: .95rem;
}
.submit-timeline-step span {
  color: var(--fg-mute);
  font-size: .85rem;
  line-height: 1.45;
}

/* FAQ accordion (uses native <details>) */
.submit-faq details {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: .85rem 1.1rem;
  margin-bottom: .55rem;
}
.submit-faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: .95rem;
  color: var(--fg);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.submit-faq summary::-webkit-details-marker { display: none; }
.submit-faq summary::after {
  content: '+';
  font-size: 1.3rem;
  line-height: 1;
  color: var(--fg-mute);
  transition: transform .15s ease;
}
.submit-faq details[open] summary::after { content: '−'; }
.submit-faq details > div {
  margin-top: .65rem;
  color: var(--fg-mute);
  font-size: .92rem;
  line-height: 1.55;
}

/* Bottom CTA */
.submit-bottom-cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(255, 71, 110, .08), rgba(255, 182, 72, .08));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  margin: 0 auto 2rem;
  max-width: 720px;
}
.submit-bottom-cta h2 { margin-top: 0; }
.submit-bottom-cta .btn { margin-top: 1rem; }

/* Inline "Are you the platform / creator?" banner shown on platform + char pages */
.submit-inline-cta {
  display: flex;
  gap: .85rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  background: var(--bg-elev);
  border: 1px dashed var(--border-strong);
  border-radius: 12px;
  padding: .85rem 1.1rem;
  margin: 1.25rem 0;
  font-size: .92rem;
  color: var(--fg-mute);
}
.submit-inline-cta a {
  color: var(--fg);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid var(--border-strong);
}
.submit-inline-cta a:hover { color: #ffb648; border-bottom-color: #ffb648; }


/* ===========================================================================
   SUBMIT entry points — make them stand out from regular nav
   ======================================================================== */

/* Mobile topbar "+" button (always visible, right side, next to logo) */
.topbar-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 71, 110, .15), rgba(255, 182, 72, .15));
  border: 1px solid rgba(255, 182, 72, .35);
  color: var(--fg);
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  flex: 0 0 auto;
  margin-right: .25rem;
}
.topbar-cta:hover {
  transform: scale(1.05);
  background: linear-gradient(135deg, rgba(255, 71, 110, .25), rgba(255, 182, 72, .25));
  border-color: rgba(255, 182, 72, .6);
}
.topbar-cta svg { display: block; }
/* Hide on desktop — sidebar entry covers that case */
@media (min-width: 768px) {
  .topbar-cta { display: none; }
}

/* Sidebar entry — subtle gradient + glow on hover to stand out from regular links */
.nav-link.nav-link-cta {
  background: linear-gradient(90deg, rgba(255, 71, 110, .07), rgba(255, 182, 72, .04));
  border-left: 2px solid rgba(255, 182, 72, .6);
  margin-top: .25rem;
}
.nav-link.nav-link-cta:hover {
  background: linear-gradient(90deg, rgba(255, 71, 110, .15), rgba(255, 182, 72, .1));
}
.nav-link.nav-link-cta .nav-icon { color: #ffb648; }


/* ============================================================================
   MOBILE — break grids, shrink type, tighten paddings.
   Shoomble is mobile-heavy so this matters more than usual.
   ========================================================================= */

@media (max-width: 760px) {
  /* Hero shrinks but stays punchy */
  .submit-hero {
    padding: 1.5rem .85rem 1.25rem;
    margin-bottom: 1.5rem;
  }
  .submit-hero h1 {
    font-size: 1.55rem;
    line-height: 1.2;
  }
  .submit-hero-sub {
    font-size: .95rem;
  }
  .submit-hero-eyebrow {
    font-size: .68rem;
  }

  /* Stack the two paths vertically */
  .submit-paths {
    grid-template-columns: 1fr;
    gap: 1rem;
    margin: 0 .75rem 2rem;
    max-width: none;
  }
  .submit-card {
    padding: 1.25rem 1.1rem;
    border-radius: 14px;
  }
  .submit-card:hover {
    /* kill the lift on touch — feels broken when there's no cursor */
    transform: none;
  }
  .submit-card h2 { font-size: 1.1rem; }
  .submit-card-sub { font-size: .88rem; }
  .submit-card-meta { font-size: .82rem; }
  .submit-card-icon { width: 44px; height: 44px; }
  .submit-card-icon svg { width: 22px; height: 22px; }
  .submit-card .btn {
    padding: .8rem 1rem;
    font-size: .92rem;
  }

  /* Stack Accept / Reject */
  .submit-rules {
    grid-template-columns: 1fr;
    gap: .85rem;
  }
  .submit-rules-col { padding: 1rem; }
  .submit-rules-col h3 { font-size: .95rem; }
  .submit-rules-col ul { font-size: .88rem; }

  /* Timeline — single column flow instead of trying to fit 4 across */
  .submit-timeline { gap: .65rem; }
  .submit-timeline-step {
    flex: 1 1 100%;
    padding: .85rem 1rem;
  }

  /* Section paddings */
  .submit-section {
    padding: 0 .85rem;
    margin-bottom: 1.85rem;
  }
  .submit-section h2 { font-size: 1.2rem; }
  .submit-section p,
  .submit-section li { font-size: .94rem; }

  /* FAQ — slightly tighter */
  .submit-faq details { padding: .75rem .95rem; }
  .submit-faq summary { font-size: .92rem; }
  .submit-faq details > div { font-size: .88rem; }

  /* Bottom CTA */
  .submit-bottom-cta {
    padding: 1.5rem 1.1rem;
    margin: 0 .75rem 1.5rem;
    border-radius: 14px;
  }
  .submit-bottom-cta h2 { font-size: 1.15rem; }
  .submit-bottom-cta p { font-size: .92rem; }

  /* Inline CTA — let the link drop below text instead of fighting for space */
  .submit-inline-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: .55rem;
    padding: .85rem 1rem;
    font-size: .88rem;
  }

  /* Embed iframe wrapper sits flush with edges on small screens */
  .submit-embed {
    padding: .65rem .5rem .4rem;
    border-radius: 12px;
    margin-left: -.25rem;
    margin-right: -.25rem;
  }
}

/* Extra-small phones (≤380px, e.g. iPhone SE) — squeeze a bit more */
@media (max-width: 380px) {
  .submit-hero h1 { font-size: 1.35rem; }
  .submit-card { padding: 1rem .9rem; }
  .submit-card h2 { font-size: 1.05rem; }
  .submit-section h2 { font-size: 1.1rem; }
}
