/* styles.css — Luna MVP UI */

/* ========= BASE ========= */

:root {
  --bg: #070b12;
  --bg-alt: #0f172a;
  --bg-soft: #020617;
  --accent: #38bdf8;
  --accent-strong: #0ea5e9;
  --accent-soft: rgba(56, 189, 248, 0.15);
  --text-main: #e5e7eb;
  --text-muted: #9ca3af;
  --border-subtle: #1f2937;
  --radius-lg: 22px;
  --radius-md: 14px;
  --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.7);
  --transition-fast: 0.18s ease-out;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text",
    "Inter", sans-serif;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-sans);
  background:
    radial-gradient(circle at top left, #1e293b 0, transparent 55%),
    radial-gradient(circle at bottom right, #0f172a 0, #020617 55%);
  color: var(--text-main);
}

/* ========= GLOBAL LAYOUT ========= */

.navbar {
  position: fixed;
  inset: 0 auto 0 0;
  width: 230px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 1.2rem 1.1rem;
  background: linear-gradient(180deg, #020617, #020617 18%, #020617 100%);
  border-right: 1px solid rgba(15, 23, 42, 0.9);
  box-shadow: 16px 0 40px rgba(0, 0, 0, 0.6);
  z-index: 30;
}

.logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.35rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.88rem;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.logo::after {
  content: "MVP";
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.18);
  border: 1px solid rgba(56, 189, 248, 0.6);
  color: #bae6fd;
}

.navbar-right {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 1.6rem;
}

.nav-divider {
  height: 1px;
  background: rgba(31, 41, 55, 0.9);
  margin: 0.6rem 0 0.4rem;
  border-radius: 999px;
  opacity: 0.8;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.82rem;
  padding: 0.4rem 0.7rem;
  border-radius: 10px;
  border: 1px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transition: background var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), transform var(--transition-fast);
}

.nav-link:hover {
  background: rgba(15, 23, 42, 0.9);
  color: var(--accent);
  border-color: rgba(148, 163, 184, 0.5);
  transform: translateX(2px);
}

.nav-link.active {
  background: var(--accent-soft);
  color: var(--accent-strong);
  border-color: rgba(56, 189, 248, 0.7);
}

.nav-link[href$="create-gig.html"]::before {
  content: "HOST";
  font-size: 0.65rem;
  margin-right: 0.4rem;
  color: #fbbf24;
}

.nav-link[href$="browse-gigs.html"]::before {
  content: "RUNNER";
  font-size: 0.65rem;
  margin-right: 0.4rem;
  color: #22c55e;
}

.nav-admin { color: #a78bfa; }
.nav-admin:hover { color: #c4b5fd; }

.main {
  max-width: 1000px;
  margin: 0 auto;
  padding: 2.5rem 1.75rem 3.5rem;
  min-height: 100vh;
  margin-left: 230px;
}

.page-landing .main {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.page-create .main,
.page-browse .main,
.page-admin .main,
.page-auth .main {
  padding-top: 3.2rem;
}

.footer {
  margin-left: 230px;
  padding: 1rem 1.75rem 1.5rem;
  text-align: right;
  font-size: 0.78rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(15, 23, 42, 0.8);
}

/* ========= LANDING HERO ========= */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2.2rem;
  align-items: stretch;
  margin-bottom: 2.8rem;
}

.hero-card {
  order: -1;
  background: radial-gradient(circle at top, #1d283a 0, #020617 65%) padding-box,
    linear-gradient(145deg, #38bdf8, #8b5cf6) border-box;
  border-radius: 26px;
  padding: 1.6rem 1.8rem;
  border: 1px solid transparent;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-card h2 {
  font-size: 1.02rem;
  margin: 0 0 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #e0f2fe;
}

.hero-card p {
  margin: 0 0 0.9rem;
  color: rgba(226, 232, 240, 0.9);
  font-size: 0.9rem;
}

.hero-list { list-style: none; padding: 0; margin: 0; font-size: 0.86rem; }

.hero-list li {
  padding: 0.3rem 0.2rem 0.3rem 1.1rem;
  position: relative;
  color: #e5e7eb;
}

.hero-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7rem;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--accent-strong);
}

.hero-text { align-self: center; }

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.5rem);
  margin-bottom: 0.6rem;
  letter-spacing: -0.03em;
}

.hero-text p {
  color: var(--text-muted);
  max-width: 26rem;
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 0.65rem;
}

.hero-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  border: 1px dashed rgba(148, 163, 184, 0.8);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.hero-note::before { content: "🌙"; }

.mini-actions {
  margin-top: 0.8rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.mini-link {
  color: #bae6fd;
  text-decoration: none;
}
.mini-link:hover { text-decoration: underline; }

/* ========= INFO GRID ========= */

.grid-3 {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 1.5rem;
}

.info-card {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 18px;
  padding: 1rem 1.2rem;
  border: 1px solid rgba(31, 41, 55, 0.9);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
  position: relative;
}

.info-card:nth-child(1)::before { content: "FOR HOSTS"; }
.info-card:nth-child(2)::before { content: "FOR RUNNERS"; }
.info-card:nth-child(3)::before { content: "EXTRAS"; }

.info-card::before {
  position: absolute;
  top: 0.7rem;
  right: 0.9rem;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: #67e8f9;
  text-transform: uppercase;
  opacity: 0.9;
}

.info-card h3 { margin: 0 0 0.4rem; font-size: 0.96rem; }
.info-card p { margin: 0; color: var(--text-muted); font-size: 0.88rem; }

/* ========= SECTIONS + SUBTITLES ========= */

.section { margin-bottom: 2.4rem; }

.section-header { margin-bottom: 1.2rem; }

.subtitle {
  color: var(--text-muted);
  max-width: 30rem;
  font-size: 0.88rem;
}

/* ========= FORMS ========= */

.form {
  margin-top: 1.4rem;
  background: radial-gradient(circle at top left, #111827 0, #020617 65%);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.6rem;
  border: 1px solid rgba(30, 64, 175, 0.8);
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 1.5rem;
  position: relative;
}

.form::before {
  content: "DETAILS";
  writing-mode: vertical-rl;
  text-orientation: mixed;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  color: rgba(148, 163, 184, 0.9);
  text-transform: uppercase;
  position: absolute;
  inset: 1.2rem auto auto 1.1rem;
  opacity: 0.8;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.8rem;
  margin-bottom: 0.6rem;
  padding-right: 0.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  margin-bottom: 0.8rem;
}

.label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

input, textarea, select {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 10px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.55rem 0.7rem;
  color: var(--text-main);
  font: inherit;
  outline: none;
  transition: border var(--transition-fast),
    box-shadow var(--transition-fast),
    background-color var(--transition-fast),
    transform var(--transition-fast);
}

input::placeholder, textarea::placeholder {
  color: rgba(148, 163, 184, 0.9);
}

input:focus, textarea:focus, select:focus {
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.6);
  background-color: #020617;
  transform: translateY(-1px);
}

textarea { resize: vertical; }

.pay-row { display: flex; align-items: center; gap: 0.45rem; }
.pay-row input { width: 100%; }
.pay-separator { font-size: 0.78rem; color: var(--text-muted); }

.form-actions { margin-top: 0.2rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }

.form-hint { margin-top: 0.6rem; font-size: 0.78rem; color: var(--text-muted); }

/* ========= BROWSE / GIG LIST ========= */

.filters-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.1rem;
  align-items: center;
}

.filter-input, .filter-select {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 999px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  padding: 0.45rem 0.8rem;
  color: var(--text-main);
  font: inherit;
  outline: none;
}

.filter-input { flex: 1 1 260px; }
.filter-select { flex: 0 0 150px; }

.gig-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.gig-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-rows: auto auto auto auto;
  row-gap: 0.35rem;
  position: relative;
}

.gig-card::after {
  content: "OPEN";
  position: absolute;
  top: 0.6rem;
  right: 0.7rem;
  padding: 0.08rem 0.45rem;
  font-size: 0.68rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.6);
  color: #bbf7d0;
}

.gig-title { margin: 0; font-size: 0.98rem; }
.gig-meta { margin: 0; font-size: 0.78rem; color: var(--text-muted); }
.gig-meta span + span::before { content: "•"; margin: 0 0.3rem; }

.gig-tags { display: flex; flex-wrap: wrap; gap: 0.3rem; }
.tag {
  font-size: 0.7rem;
  padding: 0.14rem 0.5rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 1);
  border: 1px solid rgba(55, 65, 81, 0.95);
}

.gig-description { font-size: 0.86rem; color: var(--text-muted); margin: 0.1rem 0 0.4rem; }

.gig-actions { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ========= BUTTONS ========= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast),
    border-color var(--transition-fast), transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn.small { padding: 0.38rem 0.8rem; font-size: 0.78rem; }

.btn.primary {
  background: var(--accent-strong);
  color: #0b1120;
  box-shadow: 0 14px 35px rgba(56, 189, 248, 0.5);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: 0 18px 45px rgba(56, 189, 248, 0.7); }

.btn.secondary {
  background: transparent;
  color: var(--accent-strong);
  border-color: rgba(148, 163, 184, 0.7);
}
.btn.secondary:hover { background: rgba(15, 23, 42, 0.9); }

/* ========= ADMIN ========= */

.admin-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.admin-card {
  background: rgba(2, 6, 23, 0.9);
  border: 1px solid rgba(55, 65, 81, 0.9);
  border-radius: 16px;
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow-soft);
}

.admin-card h3 { margin-top: 0; font-size: 1rem; }

.admin-list { padding-left: 1.1rem; color: var(--text-main); }
.admin-list li { margin: 0.35rem 0; }

.admin-actions-wrap { display: flex; gap: 0.5rem; flex-wrap: wrap; }

.admin-subcard {
  background: rgba(15, 23, 42, 0.9);
  border-radius: 12px;
  padding: 0.8rem;
  border: 1px dashed rgba(148, 163, 184, 0.5);
}

.muted { color: var(--text-muted); font-size: 0.9rem; }

/* ========= AUTH ========= */

.auth-card {
  max-width: 560px;
}

.auth-form {
  margin-top: 1rem;
  background: rgba(15, 23, 42, 0.9);
  border-radius: 16px;
  padding: 1.1rem;
  border: 1px solid rgba(31, 41, 55, 0.95);
  box-shadow: var(--shadow-soft);
}

/* ========= RESPONSIVE ========= */

@media (max-width: 900px) {
  .navbar {
    position: sticky;
    inset: 0 0 auto 0;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-inline: 1rem;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
  }

  .navbar-right { flex-direction: row; flex-wrap: wrap; }

  .main { margin-left: 0; padding: 4.2rem 1.25rem 3rem; }
  .footer { margin-left: 0; text-align: center; }

  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-card { order: 0; }
  .grid-3 { grid-template-columns: minmax(0, 1fr); }
  .form { grid-template-columns: minmax(0, 1fr); }

  .form::before {
    position: static;
    writing-mode: horizontal-tb;
    display: inline-block;
    margin-bottom: 0.8rem;
  }

  .filters-row { flex-direction: column; align-items: stretch; }
  .filter-select { flex: 1 1 auto; }
}

/* ================================
   SLEEK LANDING (Gigga)
   Scoped to .simple-landing only
   ================================ */

.simple-landing {
  overflow-x: hidden;
  background: #05060a;
  color: #eef2ff;
  font-family: var(--font-sans);
}

/* Hide sidebar navbar on landing only */
.simple-landing .navbar {
  display: none !important;
}

/* Top landing nav */
.landing-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  background: rgba(5, 6, 10, 0.55);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.landing-logo {
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.95rem;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.landing-logo::after {
  content: "MVP";
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #cbd5ff;
  letter-spacing: 0.1em;
}

.landing-links {
  display: flex;
  gap: 1rem;
}

.landing-link {
  color: rgba(226,232,240,0.9);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  transition: 0.2s ease;
}

.landing-link:hover {
  background: rgba(255,255,255,0.06);
  color: #fff;
}

.landing-link.active {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

/* Full-bleed landing canvas */
.landing-main {
  min-height: 100vh;
  padding: 7rem 2rem 3rem;
  display: grid;
  place-items: center;
  position: relative;

  /* Contemporary gradient background */
  background:
    radial-gradient(1200px circle at 10% 10%, #7c3aed44 0%, transparent 55%),
    radial-gradient(1000px circle at 90% 10%, #06b6d444 0%, transparent 50%),
    radial-gradient(1200px circle at 50% 100%, #f59e0b33 0%, transparent 60%),
    linear-gradient(145deg, #05060a 0%, #0a0d16 45%, #05060a 100%);
}

/* subtle dotted/grid overlay vibe */
.bg-grid {
  position: absolute;
  inset: -20%;
  background-image:
    radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

/* floating soft orbs */
.bg-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(45px);
  opacity: 0.75;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: float 10s ease-in-out infinite;
}

.orb-1 {
  width: 420px; height: 420px;
  background: radial-gradient(circle, #8b5cf6 0%, transparent 65%);
  top: -120px; left: -120px;
}

.orb-2 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #22d3ee 0%, transparent 70%);
  top: -180px; right: -160px;
  animation-delay: 1.5s;
}

.orb-3 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #f59e0b 0%, transparent 70%);
  bottom: -220px; left: 10%;
  animation-delay: 3s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(18px) translateX(10px); }
}

/* Hero block */
.landing-hero {
  position: relative;
  max-width: 820px;
  text-align: center;
  padding: 2rem 1rem;
}

.landing-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.8);
  margin: 0 0 1rem;
}

.landing-title {
  font-size: clamp(2.2rem, 4.8vw, 3.6rem);
  line-height: 1.05;
  margin: 0 0 0.9rem;
  letter-spacing: -0.03em;
  text-shadow: 0 10px 50px rgba(0,0,0,0.7);
}

.landing-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(226,232,240,0.85);
  margin: 0 auto 1.8rem;
  max-width: 600px;
}

/* CTAs */
.landing-actions {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: 0.2s ease;
  border: 1px solid transparent;
}

/* Primary CTA: solid cyan pill */
.cta-primary {
  background: #38bdf8;
  color: #020617;
  border: 1px solid rgba(56, 189, 248, 0.9);
  box-shadow: 0 14px 40px rgba(56, 189, 248, 0.45);
}

.cta-primary:hover {
  background: #0ea5e9;
  box-shadow: 0 18px 50px rgba(56, 189, 248, 0.6);
  transform: translateY(-2px);
}


/* Secondary CTA: subtle outline */
.cta-ghost {
  background: transparent;
  color: #e5e7eb;
  border: 1px solid rgba(148, 163, 184, 0.8);
}

.cta-ghost:hover {
  background: rgba(15, 23, 42, 0.9);
  border-color: rgba(209, 213, 219, 0.9);
  transform: translateY(-2px);
}


/* Footnote + footer */
.landing-footnote {
  margin-top: 1.6rem;
  font-size: 0.85rem;
  color: rgba(226,232,240,0.7);
}

.landing-footer {
  text-align: center;
  font-size: 0.8rem;
  padding: 1.2rem;
  color: rgba(226,232,240,0.6);
  border-top: 1px solid rgba(255,255,255,0.06);
  background: #05060a;
}

/* Responsive */
@media (max-width: 720px) {
  .landing-links { display: none; } /* clean mobile hero */
  .landing-nav { padding: 1rem 1.2rem; }
  .landing-main { padding-top: 6rem; }
}

/* ================================
   SLEEK APP PAGES (Browse / Post)
   ================================ */

.sleek-app {
  overflow-x: hidden;
  background: #05060a;
  color: #eef2ff;
  font-family: var(--font-sans);
}

/* Hide old sidebar navbar on sleek pages */
.sleek-app .navbar {
  display: none !important;
}

/* Main canvas (same vibe as landing) */
.sleek-main {
  min-height: 100vh;
  padding: 7rem 2rem 3rem;
  display: grid;
  place-items: start center;
  position: relative;

  background:
    radial-gradient(1200px circle at 10% 10%, #7c3aed44 0%, transparent 55%),
    radial-gradient(1000px circle at 90% 10%, #06b6d444 0%, transparent 50%),
    radial-gradient(1200px circle at 50% 100%, #f59e0b33 0%, transparent 60%),
    linear-gradient(145deg, #05060a 0%, #0a0d16 45%, #05060a 100%);
}

/* Shared shell */
.sleek-shell {
  width: 100%;
  max-width: 980px;
  background: rgba(3, 7, 18, 0.7);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
}

/* Header */
.sleek-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.2rem;
}

.sleek-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.75);
  margin: 0 0 0.5rem;
}

.sleek-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 0.3rem;
}

.sleek-subtitle {
  color: rgba(226,232,240,0.8);
  margin: 0;
  font-size: 0.95rem;
}

.sleek-pill {
  font-size: 0.75rem;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  color: #e5e7eb;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Form */
.sleek-form {
  display: grid;
  gap: 0.9rem;
}

.sleek-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.sleek-field span {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.7);
}

.sleek-field input,
.sleek-field textarea,
.sleek-field select {
  margin-top: 0.35rem;
  width: 100%;
  background: rgba(7, 11, 18, 0.9);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  color: #eef2ff;
  padding: 0.7rem 0.8rem;
  outline: none;
  transition: 0.2s ease;
}

.sleek-field input:focus,
.sleek-field textarea:focus,
.sleek-field select:focus {
  border-color: rgba(34,211,238,0.8);
  box-shadow: 0 0 0 2px rgba(34,211,238,0.15);
}

.sleek-field.full { grid-column: 1 / -1; }

.sleek-pay {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
}

/* Actions */
.sleek-actions {
  display: flex;
  gap: 0.7rem;
  flex-wrap: wrap;
  margin-top: 0.4rem;
}

.sleek-footnote {
  font-size: 0.85rem;
  color: rgba(226,232,240,0.65);
  margin: 0.2rem 0 0;
}

/* Filters */
.sleek-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.sleek-input, .sleek-select {
  background: rgba(7, 11, 18, 0.9);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 999px;
  color: #eef2ff;
  padding: 0.6rem 0.9rem;
  outline: none;
}

.sleek-input { flex: 1 1 280px; }
.sleek-select { flex: 0 0 160px; }

/* Gig list/cards */
.sleek-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 0.9rem;
}

.sleek-card {
  background: rgba(7, 11, 18, 0.95);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 16px;
  padding: 1rem;
  display: grid;
  gap: 0.5rem;
  transition: 0.2s ease;
}

.sleek-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139,92,246,0.7);
}

.sleek-card-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 0.6rem;
}

.sleek-card h2 {
  margin: 0;
  font-size: 1.05rem;
}

.sleek-badge {
  font-size: 0.7rem;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  border: 1px solid transparent;
}

.sleek-badge.open {
  background: rgba(34,197,94,0.12);
  border-color: rgba(34,197,94,0.5);
  color: #bbf7d0;
}

.sleek-meta {
  margin: 0;
  color: rgba(226,232,240,0.7);
  font-size: 0.85rem;
}

.sleek-desc {
  margin: 0;
  color: rgba(226,232,240,0.85);
  font-size: 0.95rem;
  line-height: 1.4;
}

.sleek-tags {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.sleek-tags span {
  font-size: 0.72rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.sleek-actions-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.2rem;
}

/* Small CTA size */
.cta.small { padding: 0.55rem 0.9rem; font-size: 0.82rem; }

/* Responsive form */
@media (max-width: 720px) {
  .sleek-grid { grid-template-columns: 1fr; }
  .landing-links { display: none; }
}
/* ================================
   SLEEK AUTH PAGES
   ================================ */

.auth-main {
  place-items: center;
}

.auth-shell {
  width: 100%;
  max-width: 520px;
  background: rgba(3, 7, 18, 0.75);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  box-shadow: 0 30px 90px rgba(0,0,0,0.6);
}

.auth-header {
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.1rem;
}

.auth-form {
  display: grid;
  gap: 0.9rem;
}

.auth-actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 0.2rem;
}

.cta.full {
  width: 100%;
}

.auth-footer {
  margin-top: 0.6rem;
  color: rgba(226,232,240,0.7);
  font-size: 0.9rem;
  text-align: center;
}

.auth-footer a {
  color: #bae6fd;
  text-decoration: none;
}
.auth-footer a:hover {
  text-decoration: underline;
}

/* ========= LANDING HAMBURGER (mobile only) ========= */

/* hamburger button hidden on desktop */
.simple-landing .nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.simple-landing .nav-toggle-bar {
  width: 20px;
  height: 2px;
  background: white;
  opacity: 0.9;
  border-radius: 999px;
}

/* mobile dropdown panel */
.simple-landing .landing-mobile-panel {
  position: absolute;
  top: 100%;
  left: 1rem;
  right: 1rem;
  margin-top: 0.7rem;
  background: rgba(3, 7, 18, 0.98);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 0.6rem;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
  z-index: 60;
}

.simple-landing .landing-mobile-panel .landing-link {
  display: block;
  padding: 0.7rem 0.8rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

/* open state controlled by JS */
.simple-landing .landing-mobile-panel.open {
  display: flex;
}

/* swap desktop links → hamburger on small screens */
@media (max-width: 720px) {
  .simple-landing .landing-links {
    display: none;
  }

  .simple-landing .nav-toggle {
    display: inline-flex;
  }

  .simple-landing .landing-nav {
    position: fixed; /* keep your frosted bar */
  }
}

/* ===== Landing mobile fixes (no horizontal/vertical scroll + visible hamburger) ===== */

/* Hard stop any horizontal overflow from orbs/grid on landing */
html, body {
  overflow-x: hidden;
}

.simple-landing {
  overflow-x: hidden;
}

/* Make landing a true 1-screen hero */
.simple-landing .landing-main {
  height: 100vh;         /* not min-height */
  padding-top: 6.5rem;   /* room for fixed nav */
  padding-bottom: 0;     /* remove extra height */
  overflow: hidden;      /* prevents orbs/grid from forcing scroll */
}

/* Optional: keep footer from adding vertical height on landing */
.simple-landing .landing-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: transparent;
  border-top: none;
  padding: 0.8rem;
  z-index: 40;
}

/* Background layers should never affect layout */
.simple-landing .bg-grid,
.simple-landing .bg-orb {
  max-width: 100vw;
  max-height: 100vh;
}

/* Ensure the fixed nav always stays on top */
.simple-landing .landing-nav {
  width: 100%;
  left: 0;
  right: 0;
  z-index: 100;
}

/* Hamburger dropdown should be fixed to the viewport, not the header box */
.simple-landing .landing-mobile-panel {
  position: fixed;    /* was absolute */
  top: 72px;          /* just under nav bar */
  left: 12px;
  right: 12px;
  z-index: 110;
}

/* Mobile-only tweaks */
@media (max-width: 720px) {
  .simple-landing .landing-main {
    padding-top: 6rem;
  }
}

/* Fix hamburger icon bars stacking */
.simple-landing .nav-toggle {
  display: inline-flex;      /* keep it flex */
  flex-direction: column;    /* STACK the bars */
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Make sure bars aren't inline */
.simple-landing .nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
}

/* Hide hamburger on desktop, show only on mobile */
.simple-landing .nav-toggle {
  display: none !important;
}

@media (max-width: 720px) {
  .simple-landing .nav-toggle {
    display: inline-flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
  }
}

/* ===== Shared hamburger for ALL pages using landing-nav ===== */

/* hidden on desktop */
.nav-toggle {
  display: none;
  width: 44px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.04);
  align-items: center;
  justify-content: center;
  flex-direction: column; /* stack bars */
  gap: 5px;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: #fff;
  border-radius: 999px;
  opacity: 0.9;
}

/* mobile dropdown panel */
.mobile-panel {
  position: fixed;
  top: 72px;            /* just under your fixed nav */
  left: 12px;
  right: 12px;
  background: rgba(3, 7, 18, 0.98);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  padding: 0.6rem;
  display: none;
  flex-direction: column;
  gap: 0.2rem;
  z-index: 110;
  box-shadow: 0 24px 60px rgba(0,0,0,0.6);
}

.mobile-panel.open {
  display: flex;
}

/* stacked links */
.mobile-panel .landing-link {
  display: block;
  width: 100%;
  text-align: left;
  padding: 0.8rem 0.9rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

/* phones only */
@media (max-width: 720px) {
  .nav-toggle { display: inline-flex; }
  .landing-links { display: none; } /* hide desktop row only on mobile */
}

/* =========================================
   STOP EXTRA OVERSCROLL ON SLEEK PAGES
   (browse / post / signup host / signup runner)
   ========================================= */

.sleek-app {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Make main take remaining height, not force extra space */
.sleek-app .sleek-main {
  flex: 1;
  min-height: auto;      /* overrides min-height:100vh */
  padding-bottom: 2rem;  /* small breathing room before footer */
}

/* Footer naturally sits at bottom */
.sleek-app .landing-footer {
  margin-top: auto;
}

/* Background layers should NOT affect scroll height */
.sleek-app .bg-orb,
.sleek-app .bg-grid {
  position: fixed;   /* instead of absolute */
  inset: auto;       /* neutralize large inset values */
  pointer-events: none;
}

/* =========================================================
   SEAMLESS SLEEK BACKGROUND BEHIND MAIN + FOOTER
   (removes footer band / mismatched strip)
   ========================================================= */

/* Put one shared gradient behind the whole sleek page */
body.sleek-app {
  position: relative;
  background: transparent !important; /* stop body solid color */
}

body.sleek-app::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(1200px circle at 10% 10%, #7c3aed44 0%, transparent 55%),
    radial-gradient(1000px circle at 90% 10%, #06b6d444 0%, transparent 50%),
    radial-gradient(1200px circle at 50% 100%, #f59e0b33 0%, transparent 60%),
    linear-gradient(145deg, #05060a 0%, #0a0d16 45%, #05060a 100%);
}

/* Let main + footer be transparent so they sit on that one layer */
body.sleek-app .sleek-main {
  background: transparent !important;
}

body.sleek-app .landing-footer {
  background: transparent !important;
  border-top: none !important; /* remove any hard seam line */
}

/* Task selection chips (used on host + runner profiles) */
.task-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.4rem;
}

.task-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(7, 11, 18, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  cursor: pointer;
}

.task-pill input {
  margin: 0;
}

/* ================================
   CHAT PAGE (MVP)
   ================================ */

.chat-layout {
  display: grid;
  grid-template-columns: minmax(0, 260px) minmax(0, 1fr);
  gap: 1rem;
  min-height: 420px;
}

.chat-sidebar {
  background: rgba(7, 11, 18, 0.95);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.4rem;
}

.chat-sidebar-title {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(226,232,240,0.8);
}

.chat-thread-list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-top: 0.3rem;
}

.chat-thread-pill {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.04);
  cursor: pointer;
  transition: 0.16s ease;
  font-size: 0.85rem;
}

.chat-thread-pill strong {
  font-size: 0.86rem;
}

.chat-thread-pill span {
  font-size: 0.78rem;
  color: rgba(226,232,240,0.7);
}

.chat-thread-pill:hover {
  background: rgba(15,23,42,0.9);
  border-color: rgba(148,163,184,0.7);
}

.chat-thread-pill.active {
  background: rgba(15,23,42,0.95);
  border-color: rgba(56,189,248,0.9);
}

/* Main chat pane */

.chat-main {
  background: rgba(7, 11, 18, 0.97);
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  min-height: 320px;
}

.chat-main-header {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.chat-main-title {
  display: flex;
  flex-direction: column;
}

.chat-main-title strong {
  font-size: 0.96rem;
}

.chat-main-title span {
  font-size: 0.8rem;
  color: rgba(226,232,240,0.7);
}

/* Messages */

.chat-messages {
  flex: 1;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}

.chat-bubble {
  max-width: 80%;
  padding: 0.55rem 0.75rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.35;
  position: relative;
}

.chat-bubble-meta {
  font-size: 0.72rem;
  opacity: 0.7;
  margin-top: 0.16rem;
}

/* host = client, runner = worker */

.chat-bubble.host {
  align-self: flex-start;
  background: rgba(15,23,42,0.95);
  border: 1px solid rgba(148,163,184,0.7);
}

.chat-bubble.runner {
  align-self: flex-end;
  background: rgba(56,189,248,0.12);
  border: 1px solid rgba(56,189,248,0.8);
}

/* Input row */

.chat-input-row {
  padding: 0.7rem 0.8rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.chat-input-row input[type="text"] {
  flex: 1;
  background: rgba(15,23,42,0.98);
  border-radius: 999px;
  border: 1px solid rgba(55,65,81,0.9);
  padding: 0.55rem 0.8rem;
  color: #eef2ff;
  font: inherit;
  outline: none;
  transition: 0.16s ease;
}

.chat-input-row input[type="text"]:focus {
  border-color: rgba(56,189,248,0.9);
  box-shadow: 0 0 0 1px rgba(56,189,248,0.5);
}

/* Make send button smaller but consistent with CTAs */

.chat-input-row .cta.small {
  flex-shrink: 0;
}

/* Responsive */

@media (max-width: 800px) {
  .chat-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .chat-sidebar {
    order: -1;
  }
}

/* ================================
   RATINGS (STARS + REVIEW)
   ================================ */

.rating-row {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.rating-stars {
  display: inline-flex;
  flex-direction: row-reverse; /* so hovering a star highlights all to its left */
  justify-content: flex-start;
  gap: 0.1rem;
}

.rating-stars input {
  display: none;
}

.rating-stars label {
  font-size: 1.6rem;
  cursor: pointer;
  user-select: none;
  color: rgba(148,163,184,0.6);
  transition: color 0.15s ease-out, transform 0.15s ease-out;
}

/* hover state */
.rating-stars label:hover,
.rating-stars label:hover ~ label {
  color: #38bdf8;
  transform: translateY(-1px);
}

/* checked state */
.rating-stars input:checked ~ label {
  color: #38bdf8;
}

/* small tag under stars */
.rating-hint {
  font-size: 0.8rem;
  color: rgba(226,232,240,0.8);
}
