/* =========================
   Base / Background
   ========================= */
body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #e6eae6;

  background-color: #1e3b2f;
  background-image: url('aspen-2578702_1280.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  background-attachment: scroll;
}

/* Desktop parallax */
@media (min-width: 769px) {
  body {
    background-attachment: fixed;
  }
}

/* =========================
   Header
   ========================= */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #13251c;
  padding: 1rem 2rem;
  border-bottom: 1px solid #1f3a2c;
}

header a {
  color: #9fe0b8;
  text-decoration: none;
  margin-right: 1rem;
}

/* =========================
   Devlog Layout
   ========================= */
#devlog-section {
  width: 100%;
  padding: 3rem 1.5rem;
}

#devlog-section > h2 {
  text-align: center;
  margin-bottom: 3rem;
  color: #cfe6da;
}

#devlog-container {
  max-width: 900px;
  margin: 0 auto;
}

/* =========================
   Topic (Product)
   ========================= */
.devlog-topic {
  margin-bottom: 3rem;
  background: rgba(18, 28, 23, 0.92);
  border: 1px solid #244737;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  /*transition: transform 0.15s ease, border-color 0.15s ease;*/
}


.devlog-topic h2 {
  font-size: 2rem;
  margin-bottom: 0.25rem;
}

.devlog-topic p {
  color: #b7d4c3;
  max-width: 720px;
}

/* =========================
   Categories
   ========================= */
.devlog-category {
  margin-bottom: 3rem;
}

.devlog-category h3 {
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #244737;

  font-size: 1.15rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #f59e0b; /* wildfire accent */
}

/* =========================
   Feature Cards
   ========================= */
.devlog-card {
  background: rgba(18, 28, 23, 0.92);
  border: 1px solid #244737;
  border-radius: 10px;
  padding: 1.25rem;
  margin-bottom: 1rem;

  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.devlog-card:hover {
  transform: translateY(-2px);
  border-color: #f59e0b;
}

/* =========================
   Card Content
   ========================= */
.devlog-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.devlog-description {
  color: #c7ddd1;
  margin-bottom: 1rem;
}

/* =========================
   Buttons
   ========================= */
.devlog-btn {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;

  background-color: #3ea36a;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem;

  transition: background-color 0.2s ease;
}

.devlog-btn:hover {
  background-color: #358d5c;
}

/* =========================
   Voting
   ========================= */
.devlog-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.vote-btn {
  background: none;
  border: none;
  color: #9fbfb0;
  cursor: pointer;
  font-size: 1rem;
}

.vote-btn:hover {
  color: #f59e0b;
}

.vote-count {
  min-width: 2ch;
  text-align: center;
  color: #e6eae6;
}
