/* =====================================
   UPDATES PAGE
===================================== */

.updates-page {
  overflow-x: hidden;
}

/* HERO */

.updates-hero {
  padding: 110px 0 90px;
  background:
    radial-gradient(ellipse at 80% 20%, rgba(198, 155, 70, 0.10), transparent 45%),
    var(--bg);
  border-bottom: 1px solid var(--line);
}

.updates-hero .container {
  max-width: var(--max);
}

.updates-hero .section-label,
.updates-page .section-label {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 11px;
  font-weight: 700;
}

.updates-hero h1 {
  max-width: 850px;
  margin: 22px 0;
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(38px, 7vw, 76px);
  line-height: 1.08;
}

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

.updates-hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.8;
}

.updates-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
  color: var(--muted-2);
  font-size: 10px;
  letter-spacing: 1.5px;
}

/* COMMON SECTIONS */

.updates-intro,
.updates-pinned,
.updates-feed,
.updates-community,
.updates-discussion {
  padding: 85px 0;
}

.updates-intro {
  padding-bottom: 35px;
}

.updates-page .section-heading {
  max-width: 700px;
  margin-bottom: 38px;
}

.updates-page .section-heading h2,
.updates-community h2,
.updates-discussion h2 {
  margin: 14px 0;
  color: var(--white);
  font-family: var(--font-head);
  font-size: clamp(27px, 4vw, 42px);
  line-height: 1.2;
}

.updates-page .section-heading p,
.updates-community p,
.updates-discussion p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

/* PINNED AND LATEST LISTS */

.updates-pinned-list,
.updates-feed-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.updates-empty {
  grid-column: 1 / -1;
  min-height: 230px;
  padding: 45px 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.updates-empty-label {
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.updates-empty h3 {
  margin: 18px 0 10px;
  color: var(--white);
  font-family: var(--font-head);
  font-size: 24px;
}

.updates-empty p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* COMMUNITY */

.updates-community {
  background: var(--panel);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.updates-community-content {
  max-width: 760px;
}

.updates-community-note {
  margin-top: 25px;
  padding: 18px 20px;
  color: var(--muted);
  background: var(--bg-soft);
  border-left: 2px solid var(--gold);
  font-size: 13px;
  line-height: 1.7;
}

/* DISCUSSION INVITATION */

.updates-discussion {
  padding-bottom: 100px;
}

.updates-discussion-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  padding: 40px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.updates-discussion-content > div {
  max-width: 650px;
}

.updates-discussion-content h2 {
  margin-top: 15px;
}

.updates-coming-soon {
  flex-shrink: 0;
  padding: 12px 16px;
  color: var(--gold);
  border: 1px solid var(--line);
  border-radius: 5px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-align: center;
}

/* RESPONSIVE */

@media (max-width: 768px) {
  .updates-hero {
    padding: 85px 0 65px;
  }

  .updates-intro,
  .updates-pinned,
  .updates-feed,
  .updates-community,
  .updates-discussion {
    padding: 65px 0;
  }

  .updates-intro {
    padding-bottom: 25px;
  }

  .updates-pinned-list,
  .updates-feed-list {
    grid-template-columns: 1fr;
  }

  .updates-discussion-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
  }

  .updates-coming-soon {
    white-space: normal;
  }
}

@media (max-width: 480px) {
  .updates-hero {
    padding: 70px 0 55px;
  }

  .updates-hero p {
    font-size: 14px;
  }

  .updates-hero-meta {
    font-size: 9px;
    gap: 8px;
  }

  .updates-page .section-heading h2,
  .updates-community h2,
  .updates-discussion h2 {
    font-size: 29px;
  }

  .updates-empty {
    min-height: 210px;
    padding: 32px 18px;
  }
}
