/* startup.cards — dark trading-card aesthetic, mobile-first */

:root {
  --bg: #0d0e12;
  --bg-2: #16181f;
  --panel: #1c1f28;
  --line: #2a2e3a;
  --text: #eef0f5;
  --muted: #9aa1b2;
  --accent: #ff8a3d;
  --accent-2: #ffb45e;
  --holo-1: #7dd3fc;
  --holo-2: #c4b5fd;
  --holo-3: #f9a8d4;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 0 1.1rem; }

a { color: var(--accent-2); }

/* ------------------------------------------------------------------ hero */

.hero {
  padding: 3.2rem 0 2.4rem;
  text-align: center;
  background:
    radial-gradient(ellipse 70% 55% at 50% -10%, rgba(255, 138, 61, .22), transparent),
    var(--bg-2);
  border-bottom: 1px solid var(--line);
}

.badge {
  display: inline-block;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .3rem .9rem;
  margin-bottom: 1.1rem;
}

.hero h1 {
  font-size: clamp(2.4rem, 8vw, 4rem);
  font-weight: 800;
  letter-spacing: -.03em;
  background: linear-gradient(100deg, var(--accent) 10%, var(--accent-2) 45%, #fff 90%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.tagline { color: var(--muted); font-size: 1.1rem; margin: .9rem 0 1.5rem; }

.hero-actions { display: flex; gap: .7rem; justify-content: center; flex-wrap: wrap; }

.stats { margin-top: 1.4rem; color: var(--muted); font-size: .95rem; }
.stats strong { color: var(--text); }

/* --------------------------------------------------------------- buttons */

.btn {
  display: inline-block;
  padding: .7rem 1.3rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel);
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform .08s ease, filter .15s ease;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: linear-gradient(120deg, var(--accent), #ff6d1f);
  border-color: transparent;
  color: #180a02;
}
.btn-primary:hover { filter: brightness(1.08); }

/* -------------------------------------------------------------- sections */

section { padding: 2.6rem 0 1rem; }
h2 { font-size: 1.7rem; letter-spacing: -.02em; }
.sub { color: var(--muted); margin: .3rem 0 1.3rem; }

.flash {
  margin-top: 1rem;
  padding: .8rem 1rem;
  border: 1px solid #7f4b1d;
  background: #2a1c10;
  border-radius: 10px;
}

.empty {
  padding: 2.2rem 1rem;
  border: 1px dashed var(--line);
  border-radius: 14px;
  text-align: center;
  color: var(--muted);
  margin-bottom: 1.4rem;
}

/* ------------------------------------------------------------- card grid */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.tcard {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}
.tcard:hover {
  transform: translateY(-4px) rotate(-.5deg);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .45);
}
.tcard img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: #0a0b0e;
}
.tcard figcaption { padding: .6rem .7rem .75rem; font-size: .88rem; }
.tcard figcaption strong { display: block; }
.tcard figcaption span { display: block; color: var(--muted); }
.tcard .meta { font-size: .75rem; margin-top: .25rem; }

/* ---------------------------------------------------------------- panels */

.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.2rem 1.2rem 1.4rem;
  margin-bottom: 1.6rem;
}
.panel h3 { margin-bottom: .9rem; }

form label {
  display: block;
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: .9rem;
}
form input[type="text"], form select, form input[type="file"] {
  display: block;
  width: 100%;
  margin-top: .3rem;
  padding: .65rem .8rem;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--text);
  font-size: 1rem;
}
form input:focus, form select:focus { outline: 2px solid var(--accent); border-color: transparent; }

.row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }

/* ----------------------------------------------------------- trade board */

.trade-list { display: flex; flex-direction: column; gap: .8rem; margin-bottom: 1.4rem; }

.trade {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: .9rem 1rem;
}
.trade-head { display: flex; justify-content: space-between; gap: .8rem; flex-wrap: wrap; }
.trade-head .meta { color: var(--muted); font-size: .85rem; }
.trade-body {
  display: flex;
  gap: .6rem;
  align-items: baseline;
  flex-wrap: wrap;
  margin-top: .4rem;
  font-size: .97rem;
}
.trade-body em { color: var(--muted); font-style: normal; font-size: .8rem; margin-right: .25rem; }
.trade-body .arrow { color: var(--accent); font-weight: 700; }

/* --------------------------------------------------- honeypot + reports */

.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

form.report { display: inline; margin-left: auto; }
form.report button {
  background: none; border: none; cursor: pointer;
  color: var(--muted); opacity: .55;
  font-size: .72rem; padding: 0;
}
form.report button:hover { opacity: 1; text-decoration: underline; }
.tcard form.report { display: block; margin-top: .25rem; }

/* ----------------------------------------------------------------- about */

.about { max-width: 620px; padding-top: 3rem; }
.about .portrait {
  width: 132px; height: 132px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--line);
  margin-bottom: 1.2rem;
}
.about h1 { font-size: 2.1rem; letter-spacing: -.02em; margin-bottom: .8rem; }
.about p { margin-bottom: .9rem; font-size: 1.05rem; }

/* ---------------------------------------------------------------- footer */

footer {
  border-top: 1px solid var(--line);
  margin-top: 2.5rem;
  padding: 1.8rem 0 2.4rem;
  text-align: center;
  color: var(--muted);
  font-size: .95rem;
}
footer .fine { font-size: .78rem; margin-top: .6rem; max-width: 620px; margin-inline: auto; }
