:root {
  color-scheme: dark;
  --bg: #0c0f16;
  --card: #1b2230;
  --card-edge: rgba(255, 255, 255, 0.07);
  --text: #f7f9ff;
  --secondary: #c5d1e0;
  --cyan: #36d5ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body { margin: 0; min-width: 320px; min-height: 100dvh; color: var(--text); background: radial-gradient(circle at 85% 0%, rgba(126, 44, 255, 0.13), transparent 32rem), var(--bg); }
a, button { font: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }

.news-screen { width: min(1240px, 100%); min-height: 100dvh; margin: 0 auto; padding: max(20px, env(safe-area-inset-top)) 24px max(32px, env(safe-area-inset-bottom)); }
.back-link { min-height: 48px; display: inline-flex; align-items: center; color: var(--cyan); font-weight: 850; text-decoration: none; }
.news-heading { margin: 12px 0 20px; }
.eyebrow, .intro { display: none; }
h1 { margin: 0; font-size: 2rem; line-height: 1; letter-spacing: -0.035em; }
.news-grid { display: grid; gap: 12px; }

.news-card { overflow: hidden; border: 1px solid var(--card-edge); border-radius: 18px; background: var(--card); box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18); }
.news-image { width: 100%; height: 190px; display: block; object-fit: cover; background: #111722; }
.news-content { padding: 16px 16px 18px; }
.news-badges { margin: 0 0 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.news-verification, .news-updated { padding: 5px 10px; display: inline-flex; align-items: center; border: 1px solid transparent; border-radius: 999px; font-size: 0.7rem; font-weight: 900; letter-spacing: 0.08em; line-height: 1; text-transform: uppercase; }
.news-verification.confirmed { color: var(--cyan); background: #183845; border-color: rgba(54, 213, 255, 0.3); }
.news-verification.leak { color: #ffb454; background: #3e2d1d; border-color: rgba(255, 180, 84, 0.32); }
.news-updated { color: #151005; background: #ffd43b; border-color: rgba(255, 212, 59, 0.72); }
.news-title { margin: 0; font-size: 1.31rem; line-height: 1.16; }
.news-date { margin: 7px 0 0; color: var(--cyan); font-size: 0.82rem; }
.news-body { margin: 12px 0 0; color: var(--secondary); font-size: 1rem; line-height: 1.48; white-space: pre-line; }
.news-leak-warning { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid rgba(255, 180, 84, 0.24); color: #ffb454; font-size: 0.82rem; font-weight: 750; line-height: 1.4; }
.empty-message, .status-message { color: var(--secondary); text-align: center; }
.empty-message { padding: 20vh 0; }
.status-message { min-height: 20px; margin: 18px 0 0; }
.load-more { min-width: 220px; min-height: 48px; margin: 24px auto 0; padding: 0 22px; display: block; border: 1px solid rgba(54, 213, 255, 0.6); border-radius: 14px; color: var(--cyan); background: rgba(20, 31, 45, 0.95); font-weight: 850; cursor: pointer; }
.load-more:hover { color: #071019; background: var(--cyan); }
.load-more:disabled { opacity: 0.6; cursor: progress; }

.skeleton { min-height: 330px; background: linear-gradient(105deg, #171e2a 25%, #222b39 42%, #171e2a 62%); background-size: 220% 100%; animation: shimmer 1.2s linear infinite; }
@keyframes shimmer { to { background-position-x: -220%; } }

@media (min-width: 700px) {
  .news-screen { padding: 32px 34px 48px; }
  .news-heading { margin: 26px 0 32px; display: flex; align-items: end; justify-content: space-between; gap: 40px; }
  .eyebrow { margin: 0 0 8px; display: block; color: var(--cyan); font-size: 0.74rem; font-weight: 900; letter-spacing: 0.16em; }
  h1 { font-size: clamp(3.4rem, 7vw, 5rem); }
  .intro { max-width: 360px; margin: 0 0 5px; display: block; color: var(--secondary); line-height: 1.5; text-align: right; }
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: start; }
  .news-card:first-child { grid-column: 1 / -1; }
  .news-card:first-child .news-image { height: 330px; }
  .news-image { height: 220px; }
  .news-content { padding: 20px 22px 24px; }
}

@media (min-width: 1080px) {
  .news-screen { padding: 38px 48px 64px; }
  .news-heading { margin-bottom: 38px; }
  .news-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
  .news-card { border-radius: 22px; transition: transform 180ms ease, border-color 180ms ease; }
  .news-card:hover { transform: translateY(-5px); border-color: rgba(54, 213, 255, 0.28); }
  .news-card:first-child { grid-column: span 2; grid-row: span 2; }
  .news-card:first-child .news-image { height: 390px; }
  .news-card:first-child .news-title { font-size: 2rem; }
  .news-card:first-child .news-body { font-size: 1.05rem; }
  .news-image { height: 190px; }
  .news-title { font-size: 1.2rem; }
  .news-body { font-size: 0.94rem; }
}

@media (max-width: 520px) {
  .news-screen { padding-left: 24px; padding-right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
