:root {
  --dm-bg: #0d1110;
  --dm-panel: #171d1b;
  --dm-panel-2: #202824;
  --dm-border: #3b4640;
  --dm-gold: #f2b91f;
  --dm-gold-soft: #d6a52b;
  --dm-text: #f1f2ec;
  --dm-muted: #aeb8ad;
  --dm-blue: #8dc4f5;
  --dm-radius: 14px;
  --dm-shadow: 0 12px 34px rgba(0,0,0,.35);
}
body.dm-site {
  margin: 0; color: var(--dm-text); background: var(--dm-bg);
  background-image: linear-gradient(180deg, rgba(8,12,11,.82), rgba(8,12,11,.96)), url("../assets/backgrounds/site-background.webp");
  background-size: cover; background-attachment: fixed;
  font: 16px/1.55 system-ui, "Segoe UI", sans-serif;
}
.dm-hero {
  min-height: 220px; display: grid; place-items: center; text-align: center;
  padding: 28px 24px; box-sizing: border-box;
  background: linear-gradient(90deg, rgba(5,9,8,.2), rgba(5,9,8,.18)), url("../assets/backgrounds/hero-banner.webp") center 43%/cover no-repeat;
  border-bottom: 1px solid rgba(242,185,31,.45);
}
.dm-hero__content { max-width: 900px; text-shadow: 0 2px 8px #000; }
.dm-hero__title { margin: 0; font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; letter-spacing: .06em; }
.dm-hero__subtitle { color: #e1e4dc; margin: 8px 0 0; }
.dm-shell { max-width: 1380px; margin: 28px auto; padding: 0 22px; }
.dm-panel {
  background: linear-gradient(145deg, rgba(25,32,30,.97), rgba(13,18,17,.97));
  border: 1px solid var(--dm-border); border-top: 3px solid var(--dm-gold);
  border-radius: 18px; box-shadow: var(--dm-shadow); padding: 24px;
}
.dm-section-title { display:flex; align-items:center; gap:12px; margin:0 0 4px; font-size:1.5rem; }
.dm-section-title img { width:28px; height:28px; color:var(--dm-gold); }
.dm-muted { color: var(--dm-muted); }
.dm-news-list { display:grid; gap:12px; margin-top:20px; }
.dm-news-card {
  display:grid; grid-template-columns: minmax(130px, 220px) 1fr auto; gap:18px; align-items:center;
  padding:14px; border:1px solid #465149; border-radius:var(--dm-radius);
  background:linear-gradient(110deg, rgba(31,40,37,.96), rgba(15,20,19,.96));
  transition:transform .18s ease, border-color .18s ease;
}
.dm-news-card:hover { transform:translateY(-2px); border-color:var(--dm-gold); }
.dm-news-card__thumb { min-height:88px; border-radius:10px; background:linear-gradient(135deg,#354238,#121917); display:grid; place-items:center; color:var(--dm-gold); }
.dm-news-card__thumb img { width:38px; height:38px; }
.dm-news-card h3 { margin:0 0 5px; color:var(--dm-blue); font-size:1.08rem; }
.dm-tag { display:inline-block; margin-left:8px; padding:2px 9px; border-radius:20px; background:#9361c6; color:#fff; font-size:.68rem; font-weight:800; }
.dm-link { color:inherit; text-decoration:none; }
.dm-link:hover { color:var(--dm-gold); }
.dm-shortcuts { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-top:18px; }
.dm-shortcut { display:flex; align-items:center; gap:14px; padding:16px; border:1px solid #65552c; border-radius:14px; background:linear-gradient(135deg,#27302b,#131917); text-decoration:none; color:var(--dm-text); }
.dm-shortcut img { width:34px; height:34px; color:var(--dm-gold); }
.dm-shortcut:hover { border-color:var(--dm-gold); box-shadow:0 0 20px rgba(242,185,31,.12); }
.dm-icon { width:22px; height:22px; color:var(--dm-gold); vertical-align:middle; }
@media(max-width:850px) {
  .dm-news-card { grid-template-columns:84px 1fr; }
  .dm-news-card__date { grid-column:2; }
  .dm-shortcuts { grid-template-columns:repeat(2,1fr); }
}
@media(max-width:520px) {
  .dm-shell { padding:0 12px; margin:14px auto; }
  .dm-panel { padding:16px; }
  .dm-news-card { grid-template-columns:1fr; }
  .dm-news-card__thumb { min-height:64px; }
  .dm-news-card__date { grid-column:auto; }
  .dm-shortcuts { grid-template-columns:1fr; }
}
