:root {
  --hj-rot: #c0392b;
  --hj-gold: #d4af37;
  --hj-dunkel: #0d0d0d;
  --hj-anthrazit: #222;
  --hj-weiss: #f5f5f0;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background: var(--hj-dunkel);
  color: var(--hj-weiss);
}

img { max-width: 100%; height: auto; }

a { color: inherit; text-decoration: none; }

.site-head {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(13, 13, 13, 0.95);
  border-bottom: 2px solid var(--hj-rot);
  backdrop-filter: blur(10px);
}

.site-head-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand span { color: var(--hj-rot); }

.head-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.head-link {
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 7px 11px;
  border-radius: 3px;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.08em;
  font-size: 0.84rem;
  text-transform: uppercase;
}

.head-link.active {
  border-color: var(--hj-gold);
  color: var(--hj-gold);
}

.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 34px 20px 24px;
}

.hero h1 {
  margin: 0 0 10px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(2rem, 5vw, 3.3rem);
  text-transform: uppercase;
  font-style: italic;
  line-height: 0.95;
}

.hero h1 span { color: var(--hj-gold); }
.hero p { color: rgba(245, 245, 240, 0.68); max-width: 740px; line-height: 1.65; }

.next-topic {
  max-width: 1100px;
  margin: 0 auto 14px;
  padding: 16px 20px;
  border: 1px solid rgba(192, 57, 43, 0.5);
  border-left: 4px solid var(--hj-rot);
  background: linear-gradient(140deg, rgba(192, 57, 43, 0.16), rgba(20, 20, 20, 0.96) 62%);
}

.next-topic-kicker {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f07c70;
  margin-bottom: 6px;
}

.next-topic-title {
  margin: 0 0 8px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  line-height: 1.05;
  text-transform: uppercase;
}

.next-topic-text {
  margin: 0;
  color: rgba(245, 245, 240, 0.86);
  line-height: 1.5;
}

.next-topic-tags {
  margin-top: 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.next-topic-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hj-gold);
  border: 1px solid rgba(212, 175, 55, 0.38);
  padding: 4px 8px;
}

.grid {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 48px;
  display: grid;
  gap: 12px;
}

.idea-card {
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.08), rgba(34, 34, 34, 0.95));
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 4px;
  padding: 16px;
}

.idea-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 10px;
}

.idea-title {
  margin: 0;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.idea-meta {
  margin: 6px 0;
  color: rgba(245, 245, 240, 0.55);
  font-size: 0.82rem;
}

.idea-desc {
  margin: 8px 0 12px;
  color: rgba(245, 245, 240, 0.9);
  line-height: 1.55;
  white-space: pre-wrap;
}

.idea-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.idea-vote-btn {
  background: var(--hj-rot);
  color: #fff;
  border: none;
  border-radius: 3px;
  padding: 8px 10px;
  font-family: 'Barlow Condensed', sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.idea-vote-btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.idea-votes {
  font-family: 'Barlow Condensed', sans-serif;
  color: var(--hj-gold);
  letter-spacing: 0.05em;
}

.idea-link {
  color: #89b7f7;
  border-bottom: 1px solid rgba(137, 183, 247, 0.35);
  font-size: 0.86rem;
}

.collection-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px 44px;
}

.collection-form {
  background: #171717;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-top: 3px solid var(--hj-rot);
  border-radius: 4px;
  padding: 18px;
  display: grid;
  gap: 10px;
}

.collection-form input,
.collection-form select,
.collection-form textarea {
  width: 100%;
  background: #0f0f0f;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 3px;
  color: var(--hj-weiss);
  padding: 10px 12px;
}

.collection-form textarea { min-height: 130px; resize: vertical; }

.collection-submit {
  justify-self: start;
  border: none;
  border-radius: 3px;
  background: var(--hj-gold);
  color: #1a1a1a;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 10px 14px;
  cursor: pointer;
}

.status {
  color: rgba(245, 245, 240, 0.7);
  min-height: 20px;
  font-size: 0.86rem;
}

@media (max-width: 760px) {
  .site-head-inner { padding: 12px; }
  .hero { padding: 24px 14px 18px; }
  .next-topic { margin-bottom: 12px; padding: 14px; }
  .grid, .collection-wrap { padding: 0 14px 30px; }
  .collection-submit,
  .idea-vote-btn { width: 100%; }
  .head-nav { width: 100%; }
  .head-link { flex: 1 1 auto; text-align: center; }
}
