:root {
  --bg: #081118;
  --panel: #101b24;
  --panel-2: #14232d;
  --text: #f4f7f6;
  --muted: #92a0a6;
  --line: rgba(255, 255, 255, .12);
  --mint: #00f0c8;
  --amber: #ffbf46;
  --red: #ff5b55;
  --max: 1460px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 4%, rgba(0, 240, 200, .08), transparent 24rem),
    var(--bg);
  font-family: Manrope, system-ui, sans-serif;
  line-height: 1.45;
}
a { color: inherit; }
button { font: inherit; }

.topbar {
  width: min(var(--max), calc(100% - 48px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  color: var(--text);
  font-family: Unbounded, sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-decoration: none;
}
.logo-mark {
  width: 38px;
  height: 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 76 44'%3E%3Cpath d='M2 25h14l7-21 13 38 10-29 9 12h19' fill='none' stroke='%2300f0c8' stroke-width='6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.update-state { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: .82rem; font-weight: 700; }
.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 5px rgba(0, 240, 200, .11); animation: pulse 2.2s infinite; }
.clock { justify-self: end; font-variant-numeric: tabular-nums; font-size: .84rem; font-weight: 800; }

.filters {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  gap: 8px;
  padding: 16px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.filters::-webkit-scrollbar { display: none; }
.filter {
  flex: 0 0 auto;
  padding: 8px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  cursor: pointer;
  font-size: .8rem;
  font-weight: 700;
  transition: .2s ease;
}
.filter:hover { color: var(--text); border-color: rgba(255,255,255,.34); }
.filter.is-active { color: var(--bg); background: var(--mint); border-color: var(--mint); }

main { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.lead-layout { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(330px, .7fr); border: 1px solid var(--line); }
.lead-card { min-height: 600px; display: grid; grid-template-columns: 1fr; position: relative; overflow: hidden; border-right: 1px solid var(--line); background: var(--panel); }
.lead-visual { position: absolute; inset: 0; background: linear-gradient(135deg, #182b35, #0e4650); background-position: center; background-size: cover; }
.lead-visual::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,17,24,.08), rgba(8,17,24,.92) 88%); }
.lead-content { position: relative; z-index: 1; align-self: end; padding: clamp(26px, 5vw, 64px); }
.eyebrow { display: flex; gap: 18px; margin-bottom: 20px; color: var(--mint); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.eyebrow span + span { color: rgba(255,255,255,.64); }
h1 { max-width: 1000px; margin: 0 0 20px; font-family: Unbounded, sans-serif; font-size: clamp(2.35rem, 5vw, 5.5rem); line-height: .99; letter-spacing: -.055em; }
.lead-content p { max-width: 800px; margin: 0 0 26px; color: #c7d0d2; font-size: clamp(1rem, 1.7vw, 1.22rem); }
.read-link { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-decoration: none; text-transform: uppercase; }
.read-link span { color: var(--mint); font-size: 1.1rem; }

.live-column { min-height: 600px; background: rgba(16,27,36,.78); }
.section-label { min-height: 78px; padding: 20px 24px; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); }
.section-label h2 { margin: 0; font-family: Unbounded, sans-serif; font-size: 1rem; }
.section-label span { color: var(--muted); font-size: .7rem; }
.timeline-item { display: grid; grid-template-columns: 54px 1fr; gap: 16px; padding: 22px 24px; border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s ease; }
.timeline-item:hover { background: rgba(255,255,255,.035); }
.timeline-time { color: var(--mint); font-size: .8rem; font-weight: 800; font-variant-numeric: tabular-nums; }
.timeline-title { font-size: .96rem; font-weight: 700; line-height: 1.35; }
.timeline-source { display: block; margin-top: 8px; color: var(--muted); font-size: .68rem; font-weight: 700; text-transform: uppercase; }
.timeline-placeholder { height: 112px; border-bottom: 1px solid var(--line); background: linear-gradient(100deg, transparent 15%, rgba(255,255,255,.035) 30%, transparent 45%); background-size: 250% 100%; animation: load 1.4s infinite; }

.feed-section { padding: 72px 0 88px; }
.feed-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.overline { display: block; margin-bottom: 9px; color: var(--amber); font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.feed-heading h2 { margin: 0; font-family: Unbounded, sans-serif; font-size: clamp(2rem, 4vw, 4.2rem); letter-spacing: -.05em; line-height: 1; }
.feed-heading p { margin: 0; color: var(--muted); font-size: .78rem; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.news-card { min-height: 375px; padding: 24px; display: flex; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(16,27,36,.48); transition: background .2s ease, transform .2s ease; }
.news-card:hover { background: var(--panel-2); }
.card-top { display: flex; justify-content: space-between; gap: 16px; color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.card-category { color: var(--amber); }
.news-card h3 { margin: 54px 0 16px; font-size: clamp(1.3rem, 2vw, 1.75rem); line-height: 1.12; letter-spacing: -.035em; }
.news-card p { margin: 0 0 22px; color: #9eabb0; font-size: .9rem; }
.card-footer { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.card-source { color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.card-link { color: var(--mint); text-decoration: none; font-weight: 800; }
.card-skeleton { min-height: 375px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(100deg, rgba(255,255,255,.018) 15%, rgba(255,255,255,.05) 30%, rgba(255,255,255,.018) 45%); background-size: 250% 100%; animation: load 1.4s infinite; }
.empty-state { padding: 70px 20px; text-align: center; border: 1px solid var(--line); color: var(--muted); }
.empty-state strong { display: block; margin-bottom: 8px; color: var(--text); }

footer { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; padding: 34px 0 44px; display: grid; grid-template-columns: .55fr 1.4fr 1fr; gap: 36px; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.footer-brand { color: var(--text); font-family: Unbounded, sans-serif; font-weight: 700; }
.footer-brand span { color: var(--mint); }
.sources { text-align: right; }
.noscript { position: fixed; left: 20px; right: 20px; bottom: 20px; padding: 14px 18px; color: #181000; background: var(--amber); font-weight: 700; text-align: center; }

@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .45; } }
@keyframes load { to { background-position-x: -250%; } }

@media (max-width: 1100px) {
  .lead-layout { grid-template-columns: 1fr; }
  .lead-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .live-column { min-height: 0; }
  .timeline { display: grid; grid-template-columns: repeat(2, 1fr); }
  .timeline-item:nth-child(odd) { border-right: 1px solid var(--line); }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .topbar, .filters, main, footer { width: min(100% - 24px, var(--max)); }
  .topbar { grid-template-columns: 1fr auto; min-height: 68px; }
  .update-state { grid-column: 1 / -1; grid-row: 2; padding-bottom: 12px; }
  .lead-card { min-height: 560px; }
  .lead-content { padding: 24px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline-item:nth-child(odd) { border-right: 0; }
  .feed-section { padding: 54px 0 64px; }
  .feed-heading { align-items: flex-start; flex-direction: column; }
  .news-grid { grid-template-columns: 1fr; }
  .news-card { min-height: 320px; }
  footer { grid-template-columns: 1fr; gap: 16px; }
  .sources { text-align: left; }
}

