:root {
  --bg: #081016;
  --card: #111d25;
  --card2: #16262f;
  --text: #f5f7f8;
  --muted: #8ea0aa;
  --green: #59e36d;
  --orange: #ff9d2e;
  --red: #ff5a5a;
  --gold: #ffc64d;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top right, #193143, transparent 35%),
    var(--bg);
  color: var(--text);
  font-family: system-ui, sans-serif;
  min-height: 100vh;
  padding-bottom: 100px;
}

button,
input,
textarea {
  font: inherit;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(8,16,22,.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid #1f323d;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand strong {
  display: block;
  letter-spacing: 1px;
}

.brand small {
  color: var(--muted);
}

.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(135deg, #ffbf42, #db7917);
  color: #111;
  font-size: 23px;
}

.status {
  color: var(--gold);
  font-size: 12px;
}

main {
  max-width: 700px;
  margin: auto;
  padding: 0 18px;
}

.hero {
  padding: 38px 4px 24px;
}

.hero h1 {
  font-size: 38px;
  line-height: 1.05;
  margin: 6px 0 12px;
}

.hero h1 span {
  color: var(--gold);
}

.hero p {
  color: var(--muted);
}

.eyebrow {
  color: var(--green) !important;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

h2 {
  margin-top: 8px;
}

.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 32px;
}

.quick {
  border: 0;
  color: white;
  text-align: left;
  padding: 18px;
  min-height: 125px;
  border-radius: 20px;
  background: var(--card);
}

.quick span {
  font-size: 30px;
  display: block;
  margin-bottom: 16px;
}

.quick strong,
.quick small {
  display: block;
}

.quick small {
  color: #adc0ca;
  margin-top: 4px;
}

.marketplace { border: 1px solid #245f35; }
.delivery { border: 1px solid #67471d; }
.support { border: 1px solid #682e37; }
.events { border: 1px solid #214c68; }

.panel {
  display: none;
  padding-bottom: 20px;
}

.panel.active {
  display: block;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.primary,
.submit {
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: #07120a;
  font-weight: 800;
  padding: 12px 18px;
}

.listing {
  background: linear-gradient(145deg, var(--card2), var(--card));
  border: 1px solid #243943;
  border-radius: 20px;
  margin: 12px 0;
  padding: 17px;
}

.listing-top {
  display: flex;
  gap: 14px;
}

.listing-image {
  background: #28351f;
  width: 80px;
  height: 80px;
  min-width: 80px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  font-size: 40px;
}

.listing h3 {
  margin: 3px 0;
}

.location {
  color: var(--muted);
  font-size: 13px;
}

.price {
  color: var(--green);
  font-weight: 900;
}

.empty-card {
  min-height: 180px;
  background: var(--card);
  border: 1px solid #253944;
  border-radius: 20px;
  padding: 30px;
  display: grid;
  place-items: center;
  text-align: center;
  font-size: 36px;
}

.empty-card strong {
  font-size: 18px;
}

.empty-card p {
  color: var(--muted);
  font-size: 14px;
}

.support-list {
  display: grid;
  gap: 10px;
}

.support-list button {
  border: 1px solid #293c46;
  background: var(--card);
  color: white;
  border-radius: 15px;
  padding: 18px;
  text-align: left;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 78px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  background: rgba(10,18,24,.97);
  border-top: 1px solid #23343d;
  z-index: 20;
}

.bottom-nav button {
  background: none;
  border: 0;
  color: white;
  display: grid;
  gap: 3px;
  place-items: center;
}

.bottom-nav small {
  font-size: 10px;
  color: var(--muted);
}

.bottom-nav .post-button {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--green);
  color: #06100a;
  font-size: 31px;
  margin-top: -27px;
}

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.7);
  z-index: 50;
  padding: 20px;
  align-items: end;
}

.modal.open {
  display: flex;
}

.modal-card {
  background: #111e26;
  width: min(100%, 600px);
  margin: 0 auto;
  border-radius: 25px;
  padding: 22px;
}

.modal-title {
  display: flex;
  justify-content: space-between;
}

.modal-title button {
  background: none;
  border: 0;
  color: white;
  font-size: 20px;
}

label {
  display: block;
  margin: 15px 0 5px;
  color: var(--muted);
  font-size: 13px;
}

input,
textarea {
  width: 100%;
  background: #081218;
  color: white;
  border: 1px solid #2a414d;
  border-radius: 13px;
  padding: 13px;
}

textarea {
  min-height: 90px;
  resize: vertical;
}

.submit {
  width: 100%;
  margin-top: 18px;
  padding: 15px;
}

@media (min-width: 650px) {
  .quick-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
