:root {
  --bg: #060806;
  --panel: #11140f;
  --panel-soft: #181b14;
  --gold: #f7c85b;
  --gold-soft: #ffe7a0;
  --lime: #b9ff66;
  --text: #fff7df;
  --muted: rgba(255, 247, 223, .66);
  --line: rgba(247, 200, 91, .18);
  font-family: "DM Sans", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 0%, rgba(247, 200, 91, .16), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(185, 255, 102, .08), transparent 28%),
    linear-gradient(180deg, #060806 0%, #0c100b 100%);
  color: var(--text);
}

a {
  color: inherit;
}

.news-nav,
main {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.news-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand img {
  width: 40px;
  height: 40px;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: .08em;
}

.brand small {
  color: var(--gold);
  font-size: 11px;
  font-weight: 900;
}

.back-link,
.hero-status button {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 11px 14px;
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  font-weight: 900;
  text-decoration: none;
}

.news-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: end;
  padding: 62px 0 34px;
}

.eyebrow {
  color: var(--gold);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .14em;
  text-transform: uppercase;
}

h1 {
  max-width: 850px;
  margin: 14px 0 18px;
  color: var(--text);
  font: 900 clamp(44px, 8vw, 92px)/.92 Manrope, "DM Sans", sans-serif;
  letter-spacing: 0;
}

.news-hero p {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.58;
}

.hero-status {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, .05);
}

.hero-status span {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  margin-right: 8px;
  background: var(--lime);
  box-shadow: 0 0 0 7px rgba(185, 255, 102, .12);
}

.hero-status strong {
  color: var(--gold-soft);
}

.hero-status button {
  width: 100%;
  margin-top: 16px;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: #070a08;
  cursor: pointer;
}

.news-board {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  padding-bottom: 70px;
}

.news-column {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .035);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .22);
}

.column-heading {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: center;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 5, .72);
}

.column-heading span {
  color: var(--gold-soft);
  font: 900 22px/1 Manrope, "DM Sans", sans-serif;
}

.column-heading small {
  color: var(--muted);
  font-weight: 800;
  text-align: right;
}

.news-list {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.news-item {
  position: relative;
  border: 1px solid rgba(247, 200, 91, .14);
  border-radius: 8px;
  padding: 20px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 231, 160, .06), rgba(255, 255, 255, .02)),
    var(--panel);
  animation: news-rise .45s ease both;
}

.news-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: var(--gold);
}

.news-item.global::before {
  background: var(--lime);
}

.news-item.crypto::before {
  background: #82a8ff;
}

.news-item.forex::before {
  background: #ffcf7a;
}

.news-item b {
  display: inline-flex;
  margin-bottom: 12px;
  border: 1px solid rgba(247, 200, 91, .35);
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--gold-soft);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.news-item h2 {
  margin: 0 0 12px;
  color: var(--text);
  font: 900 24px/1.18 Manrope, "DM Sans", sans-serif;
  letter-spacing: 0;
}

.news-item h2 a {
  text-decoration: none;
}

.news-item h2 a:hover {
  color: var(--gold-soft);
}

.news-item p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.news-item.loading h2 {
  color: var(--muted);
}

@keyframes news-rise {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 820px) {
  .news-nav,
  main {
    width: min(100% - 24px, 1180px);
  }

  .news-nav,
  .news-hero,
  .news-board {
    grid-template-columns: 1fr;
  }

  .news-nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .back-link {
    width: 100%;
    text-align: center;
  }

  .news-hero {
    padding-top: 38px;
  }

  .column-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .column-heading small {
    text-align: left;
  }
}
