:root {
  color-scheme: dark;
  --bg: #070707;
  --surface: #111111;
  --surface-hover: #1b1b1b;
  --border: #242424;
  --text: #f4f4f5;
  --muted: #888888;
  --accent: #ff6728;
  --accent-hover: #ff854e;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

button, input { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }

.header {
  height: 76px;
  padding: 0 max(5%, calc((100% - 1400px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border);
  background: #090909;
}

.logo {
  font-size: 27px;
  font-weight: 900;
  letter-spacing: -1.5px;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
  margin-left: 5px;
}

nav { display: flex; align-items: center; gap: 28px; }

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
}

.nav-link:hover { color: var(--text); }

.upload-btn, .hero-upload, .submit-btn {
  border: 0;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  padding: 12px 20px;
}

.upload-btn:hover, .hero-upload:hover, .submit-btn:hover {
  background: var(--accent-hover);
}

.container {
  width: 90%;
  max-width: 1400px;
  margin: auto;
}

.hero {
  padding: 85px 0 90px;
  border-bottom: 1px solid var(--border);
}

.eyebrow {
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2.5px;
}

.hero h1 {
  font-size: clamp(42px, 5.5vw, 76px);
  line-height: 1.08;
  letter-spacing: -3px;
  margin: 22px 0;
}

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

.hero p {
  max-width: 550px;
  font-size: 17px;
  color: var(--muted);
}

.hero-upload { margin-top: 22px; }

.feed-section { padding: 50px 0 100px; }

.feed-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.feed-heading h2 {
  font-size: 27px;
  margin: 0;
}

.feed-heading p {
  color: var(--muted);
  margin: 5px 0 0;
}

.post-count {
  color: var(--muted);
  font-size: 14px;
  white-space: nowrap;
}

.post-count span { color: var(--accent); font-weight: 700; }

.empty-state {
  text-align: center;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: 12px;
  padding: 75px 20px;
}

.empty-state h3 { margin: 0 0 8px; }
.empty-state p { color: var(--muted); margin: 0; }

.post-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 20px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 13px;
}

.post-author { color: var(--text); font-weight: 700; }
.post-card iframe { width: 100%; border: 0; border-radius: 8px; }

.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,.8);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay[hidden] { display: none; }

.modal {
  position: relative;
  width: 100%;
  max-width: 470px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 35px;
}

.modal h2 { margin: 0 0 8px; }
.modal > p { color: var(--muted); margin-bottom: 25px; }

.modal-close {
  position: absolute;
  right: 20px;
  top: 15px;
  background: none;
  border: 0;
  color: var(--muted);
  font-size: 28px;
}

.modal label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 18px 0 8px;
}

.modal input {
  width: 100%;
  padding: 13px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 7px;
  color: var(--text);
  outline: none;
}

.modal input:focus { border-color: var(--accent); }
.submit-btn { width: 100%; margin-top: 15px; }

#form-message { font-size: 13px; color: var(--accent); }

footer {
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 25px;
  color: var(--muted);
  font-size: 12px;
}

@media (max-width: 650px) {
  .header { height: 65px; padding: 0 5%; }
  .logo { font-size: 21px; }
  nav { gap: 12px; }
  .nav-link { font-size: 12px; }
  .upload-btn { padding: 9px 12px; font-size: 12px; }
  .hero { padding: 65px 0; }
  .hero h1 { letter-spacing: -1.5px; }
  .hero p { font-size: 15px; }
  .feed-section { padding-top: 35px; }
  .post-card { padding: 15px; }
  .modal { padding: 25px; }
}


/* 23 SIGNAL — DARK UNDERGROUND */

.header {
  height: 82px;
  background: #080808;
}

.logo-image {
  display: flex;
  align-items: center;
  width: 145px;
  height: 70px;
  overflow: hidden;
}

.logo-image img {
  display: block;
  width: 145px;
  height: 82px;
  object-fit: contain;
}

.hero {
  padding: 55px 0 60px;
}

.hero h1 {
  font-size: clamp(35px, 4.2vw, 58px);
  letter-spacing: -2px;
  line-height: 1.12;
  margin: 17px 0 10px;
}

.hero p {
  font-size: 18px;
  margin: 0;
}

.hero-upload {
  margin-top: 27px;
}

.feed-section {
  padding-top: 38px;
}

.post-card {
  background: #101010;
  border-color: #222;
}

@media (max-width: 650px) {
  .header { height: 70px; }
  .logo-image { width: 100px; height: 60px; }
  .logo-image img { width: 100px; height: 65px; }
  .hero { padding: 42px 0 48px; }
  .hero h1 { letter-spacing: -1px; }
  .hero p { font-size: 16px; }
}
