/* ============================================
   MC Capers — News-post layout for blog pages
   Steam-style structure, MC Capers colors
   ============================================ */

:root {
  --steam-bg: #08080e;
  --steam-panel: rgba(14, 14, 24, 0.92);
  --steam-panel-2: #0e0e18;
  --steam-border: rgba(255, 255, 255, 0.08);
  --steam-text: rgba(255, 255, 255, 0.78);
  --steam-text-dim: rgba(255, 255, 255, 0.45);
  --steam-title: #ffffff;
  --steam-link: #a78bfa;
  --steam-accent: #a78bfa;
  --steam-purple: #7c3aed;
  --steam-live: #22c55e;
  --steam-live-text: #04120a;
  --steam-ended: #ef4444;
  --steam-gold: #fbbf24;
  --steam-highlight: rgba(124, 58, 237, 0.28);
  --steam-max: 940px;
}

body.steam-blog {
  background: var(--steam-bg) !important;
  color: var(--steam-text);
  padding-bottom: 0;
}

.steam-news {
  max-width: var(--steam-max);
  margin: 24px auto 0;
  padding: 0 20px 48px;
}

.steam-crumbs {
  font-size: 12px;
  color: var(--steam-text-dim);
  margin-bottom: 14px;
  letter-spacing: 0.2px;
}

.steam-crumbs a {
  color: var(--steam-link);
  text-decoration: none;
}

.steam-crumbs a:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

.steam-panel {
  background: linear-gradient(180deg, rgba(20, 16, 36, 0.95) 0%, rgba(12, 12, 22, 0.98) 100%);
  border: 1px solid var(--steam-border);
  border-radius: 18px;
  box-shadow: 0 24px 64px rgba(124, 58, 237, 0.08);
  overflow: hidden;
  padding: 0 0 28px;
}

.steam-banner {
  width: 100%;
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(124, 58, 237, 0.22), transparent 70%),
    #0b0a14;
  border-bottom: 1px solid var(--steam-border);
  aspect-ratio: 21 / 9;
  max-height: 340px;
}

.steam-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 55%, rgba(8, 8, 14, 0.55) 100%);
}

.steam-banner img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.steam-head {
  padding: 18px 28px 0;
}

.steam-status {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 12px;
  margin-bottom: 10px;
  font-size: 12px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

.steam-category {
  color: var(--steam-gold);
  font-weight: 700;
}

.steam-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  line-height: 1.3;
}

.steam-badge.live {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}

.steam-badge.ended {
  background: rgba(239, 68, 68, 0.14);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.steam-badge.guide {
  background: rgba(124, 58, 237, 0.18);
  color: #c4b5fd;
  border: 1px solid rgba(124, 58, 237, 0.35);
}

.steam-ends {
  color: var(--steam-text-dim);
  font-weight: 600;
  letter-spacing: 0.4px;
}

.steam-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 900;
  color: var(--steam-title);
  letter-spacing: -0.8px;
  line-height: 1.12;
  margin: 0 0 8px;
}

.steam-byline {
  font-size: 13px;
  color: var(--steam-text-dim);
  margin-bottom: 16px;
}

.steam-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 0 28px 16px;
  border-bottom: 1px solid var(--steam-border);
  margin-bottom: 4px;
}

.steam-share-label {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--steam-text-dim);
  font-weight: 700;
  margin-right: 4px;
}

.steam-share-btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(99, 102, 241, 0.1));
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  font-weight: 700;
  width: 38px;
  height: 38px;
  padding: 0;
  border-radius: 10px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.steam-share-btn span {
  display: none;
}

.steam-share-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.steam-share-btn:hover {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.35), rgba(99, 102, 241, 0.22));
  border-color: rgba(167, 139, 250, 0.5);
  color: #fff;
  transform: translateY(-1px);
}

.steam-share-btn.copied {
  background: rgba(34, 197, 94, 0.16);
  border-color: rgba(34, 197, 94, 0.45);
  color: #86efac;
}

.steam-body {
  padding: 22px 28px 8px;
  font-size: 15px;
  line-height: 1.8;
  color: var(--steam-text);
  font-family: 'Poppins', sans-serif;
}

.steam-body p {
  margin: 0 0 16px;
}

.steam-body h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin: 28px 0 12px;
  letter-spacing: -0.3px;
}

.steam-body h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  color: #fff;
  margin: 22px 0 10px;
}

.steam-body a {
  color: var(--steam-link);
  text-decoration: none;
}

.steam-body a:hover {
  color: #c4b5fd;
  text-decoration: underline;
}

.steam-body ul,
.steam-body ol {
  margin: 0 0 16px 22px;
}

.steam-body li {
  margin-bottom: 8px;
}

.steam-body strong {
  color: #fff;
}

.steam-mark,
.steam-body mark {
  background: var(--steam-highlight);
  color: #fff;
  padding: 1px 4px;
  border-radius: 4px;
}

.steam-fineprint {
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--steam-text-dim);
  font-style: italic;
  margin: 18px 0;
}

.steam-fineprint p {
  margin-bottom: 12px;
}

.steam-callout {
  border-left: 3px solid var(--steam-purple);
  background: rgba(124, 58, 237, 0.08);
  border-radius: 0 12px 12px 0;
  padding: 14px 16px;
  margin: 18px 0;
  font-size: 14px;
  color: var(--steam-text);
}

.steam-callout.warn {
  border-left-color: var(--steam-gold);
  background: rgba(251, 191, 36, 0.08);
}

.steam-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--steam-border);
  border-radius: 14px;
  padding: 16px 18px;
  margin: 18px 0;
}

.steam-facts .f-lbl {
  font-size: 10px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--steam-text-dim);
  font-weight: 700;
  margin-bottom: 3px;
}

.steam-facts .f-val {
  font-size: 13px;
  color: #fff;
  font-weight: 700;
  line-height: 1.45;
}

.steam-fig {
  margin: 20px 0;
  border: 1px solid var(--steam-border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.25);
}

.steam-fig img {
  display: block;
  width: 100%;
  height: auto;
}

.steam-fig figcaption {
  font-size: 12px;
  color: var(--steam-text-dim);
  padding: 10px 14px;
  border-top: 1px solid var(--steam-border);
  line-height: 1.55;
}

.steam-proof {
  margin: 28px 0 8px;
  border: 1px solid var(--steam-border);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(11, 10, 20, 0.9);
}

.steam-proof-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--steam-border);
  background: rgba(124, 58, 237, 0.1);
}

.steam-proof-head strong {
  color: #fff;
  font-size: 12px;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.steam-proof-head a {
  color: var(--steam-link);
  font-size: 12px;
}

.steam-proof img {
  display: block;
  width: 100%;
  height: auto;
}

.steam-proof figcaption {
  font-size: 12px;
  color: var(--steam-text-dim);
  padding: 10px 14px 12px;
  line-height: 1.55;
}

.steam-src {
  font-size: 12px;
  color: var(--steam-text-dim);
  margin-top: 22px;
  line-height: 1.65;
}

.steam-cta {
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.16), rgba(99, 102, 241, 0.1));
  border: 1px solid rgba(124, 58, 237, 0.3);
  border-radius: 16px;
  padding: 22px;
  margin: 28px 0;
  text-align: center;
}

.steam-cta h3 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 18px;
  font-family: 'Outfit', sans-serif;
}

.steam-cta p {
  margin: 0 0 14px;
  color: var(--steam-text-dim);
  font-size: 13px;
}

.steam-cta .btns {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.steam-cta .btn-primary,
.steam-cta .btn-ghost {
  display: inline-block;
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  text-decoration: none;
}

.steam-cta .btn-primary {
  background: linear-gradient(135deg, #7c3aed, #6366f1);
  color: #fff;
  border: none;
}

.steam-cta .btn-primary:hover {
  box-shadow: 0 8px 22px rgba(124, 58, 237, 0.35);
  text-decoration: none;
}

.steam-cta .btn-ghost {
  background: transparent;
  color: var(--steam-text);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.steam-cta .btn-ghost:hover {
  border-color: rgba(167, 139, 250, 0.45);
  color: #fff;
  text-decoration: none;
}

/* Preserve older class names used inside article bodies */
.steam-body .facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 18px; background: rgba(255,255,255,.03); border: 1px solid var(--steam-border); border-radius: 14px; padding: 16px 18px; margin: 18px 0; }
.steam-body .facts .f-lbl { font-size: 10px; letter-spacing: 1.2px; text-transform: uppercase; color: var(--steam-text-dim); font-weight: 700; margin-bottom: 3px; }
.steam-body .facts .f-val { font-size: 13px; color: #fff; font-weight: 700; line-height: 1.45; }
.steam-body .callout { border-left: 3px solid var(--steam-purple); background: rgba(124,58,237,.08); border-radius: 0 12px 12px 0; padding: 14px 16px; margin: 18px 0; font-size: 14px; }
.steam-body .callout.warn { border-left-color: var(--steam-gold); background: rgba(251,191,36,.08); }
.steam-body .cape-fig,
.steam-body .steam-fig {
  margin: 20px 0;
  border: 1px solid var(--steam-border);
  border-radius: 14px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at center, rgba(124, 58, 237, 0.12), transparent 65%),
    rgba(0, 0, 0, 0.35);
}

.steam-body .cape-fig img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.steam-body .cape-fig figcaption { font-size: 12px; color: var(--steam-text-dim); padding: 10px 14px; border-top: 1px solid var(--steam-border); line-height: 1.55; }
.steam-body .cape-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.steam-body .cape-duo .cape-fig { margin: 0; }
.steam-body .ptable { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: 13.5px; border: 1px solid var(--steam-border); border-radius: 14px; overflow: hidden; }
.steam-body .ptable th { background: rgba(255,255,255,.04); color: var(--steam-text-dim); font-size: 10px; letter-spacing: 1px; text-transform: uppercase; text-align: left; padding: 10px 12px; }
.steam-body .ptable td { padding: 12px; border-top: 1px solid var(--steam-border); color: var(--steam-text); vertical-align: top; }
.steam-body .ptable td.cost { color: #fff; font-weight: 800; white-space: nowrap; }
.steam-body .ptable tr.best td { background: rgba(124,58,237,.08); }
.steam-body .ptable tr.best td.cost { color: #c4b5fd; }
.steam-body .tl { margin: 20px 0; border-left: 2px solid rgba(255,255,255,.1); padding-left: 18px; }
.steam-body .tl-row { position: relative; margin-bottom: 16px; }
.steam-body .tl-row::before { content: ''; position: absolute; left: -23px; top: 6px; width: 8px; height: 8px; border-radius: 50%; background: var(--steam-purple); }
.steam-body .tl-row.hot::before { background: var(--steam-live); }
.steam-body .tl-date { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--steam-gold); font-weight: 700; margin-bottom: 2px; }
.steam-body .tl-txt { font-size: 13.5px; color: var(--steam-text); line-height: 1.6; }
.steam-body .steps { counter-reset: s; list-style: none; margin: 0 0 16px; padding: 0; }
.steam-body .steps li { counter-increment: s; position: relative; padding-left: 36px; margin-bottom: 12px; }
.steam-body .steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 8px; background: rgba(124,58,237,.18); border: 1px solid rgba(124,58,237,.35); color: #c4b5fd; font-size: 12px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.steam-body .cta-card { background: linear-gradient(135deg, rgba(124,58,237,.16), rgba(99,102,241,.1)); border: 1px solid rgba(124,58,237,.3); border-radius: 16px; padding: 22px; margin: 28px 0; text-align: center; }
.steam-body .cta-card h3 { margin: 0 0 8px; color: #fff; font-size: 18px; font-family: 'Outfit', sans-serif; }
.steam-body .cta-card p { margin: 0 0 14px; color: var(--steam-text-dim); font-size: 13px; }
.steam-body .cta-card .btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.steam-body .cta-card .btn-primary { display: inline-block; padding: 10px 18px; background: linear-gradient(135deg, #7c3aed, #6366f1); color: #fff; font-size: 13px; font-weight: 700; text-decoration: none; border-radius: 10px; }
.steam-body .cta-card .btn-ghost { display: inline-block; padding: 10px 18px; color: var(--steam-text); border: 1px solid rgba(255,255,255,.15); font-size: 13px; font-weight: 700; text-decoration: none; border-radius: 10px; }
.steam-body .src-note { font-size: 12px; color: var(--steam-text-dim); margin-top: 22px; line-height: 1.65; }
.steam-body .rank-list { display: flex; flex-direction: column; gap: 10px; margin: 20px 0; }
.steam-body .rank-item { display: flex; gap: 16px; align-items: flex-start; background: rgba(255,255,255,.03); border: 1px solid var(--steam-border); border-radius: 14px; padding: 16px 18px; }
.steam-body .rank-item.top { border-color: rgba(251,191,36,.35); background: linear-gradient(135deg, rgba(251,191,36,.07), rgba(124,58,237,.06)); }
.steam-body .rank-n { flex-shrink: 0; font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 900; color: var(--steam-link); min-width: 42px; }
.steam-body .rank-item.top .rank-n { color: var(--steam-gold); }
.steam-body .rank-name { font-size: 16px; font-weight: 800; color: #fff; text-decoration: none; }
.steam-body .rank-price { font-size: 15px; font-weight: 800; color: #fff; }
.steam-body .price-tag { display: inline-block; font-weight: 800; font-size: 13px; padding: 2px 8px; border-radius: 8px; margin-left: 6px; }
.steam-body .price-tag.cheap { background: rgba(124,58,237,.16); color: #c4b5fd; border: 1px solid rgba(124,58,237,.35); }
.steam-body .price-tag.paid { background: rgba(255,255,255,.07); color: #fff; border: 1px solid rgba(255,255,255,.14); }

.steam-related {
  max-width: var(--steam-max);
  margin: 0 auto;
  padding: 8px 20px 70px;
}

.steam-related h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.steam-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.steam-related-grid a {
  display: block;
  background: rgba(14, 14, 24, 0.85);
  border: 1px solid var(--steam-border);
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--steam-text);
  text-decoration: none;
  line-height: 1.45;
  transition: border-color 0.15s, background 0.15s, transform 0.15s;
}

.steam-related-grid a:hover {
  border-color: rgba(124, 58, 237, 0.35);
  background: rgba(124, 58, 237, 0.1);
  color: #fff;
  transform: translateY(-2px);
}

.steam-related-grid a span {
  display: block;
  font-size: 11px;
  color: var(--steam-text-dim);
  font-weight: 500;
  margin-top: 4px;
}

@media (max-width: 860px) {
  .steam-news { padding: 0 12px 36px; margin-top: 16px; }
  .steam-head, .steam-share, .steam-body { padding-left: 16px; padding-right: 16px; }
  .steam-panel { border-radius: 14px; }
  .steam-facts, .steam-body .facts { grid-template-columns: 1fr; }
  .steam-body .cape-duo { grid-template-columns: 1fr; }
  .steam-related-grid { grid-template-columns: 1fr; }
  .steam-related { padding: 8px 12px 56px; }
}

/* ============================================
   Blog hub — Steam events card grid
   Thumbnail on top, frosted glass caption below
   ============================================ */

.blog-hub {
  max-width: 1100px;
  margin: 28px auto 0;
  padding: 0 20px 80px;
}

.blog-hub-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-hub-head-text {
  min-width: 0;
}

.blog-hub-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: #fbbf24;
  margin-bottom: 8px;
}

.blog-hub-head h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(22px, 2.6vw, 28px);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.15;
  color: #fff;
  margin: 0;
}

.blog-hub-head p {
  display: none;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.blog-card {
  position: relative;
  display: block;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #12121c;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.blog-card:hover {
  transform: translateY(-3px);
  border-color: rgba(124, 58, 237, 0.4);
  box-shadow: 0 16px 40px rgba(124, 58, 237, 0.18);
}

.blog-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #0b0a14;
  overflow: hidden;
}

.blog-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.45s ease;
}

.blog-card:hover .blog-card-media img {
  transform: scale(1.04);
}

.blog-card-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 18px 18px 16px;
  background: rgba(10, 10, 18, 0.55);
  backdrop-filter: blur(22px) saturate(1.35);
  -webkit-backdrop-filter: blur(22px) saturate(1.35);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.blog-card-cap::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -40px;
  height: 40px;
  pointer-events: none;
  background: linear-gradient(180deg, transparent, rgba(10, 10, 18, 0.35));
}

.blog-card-cap h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #fff;
  margin: 0 0 6px;
  line-height: 1.3;
  position: relative;
}

.blog-card-cap time,
.blog-card-date {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 500;
  position: relative;
}

.blog-card.is-live .blog-card-cap {
  background: rgba(18, 12, 36, 0.58);
}

@media (max-width: 720px) {
  .blog-grid { grid-template-columns: 1fr; gap: 14px; }
  .blog-hub { padding: 0 12px 60px; margin-top: 18px; }
  .blog-card-cap { padding: 14px 14px 14px; }
  .blog-card-cap h3 { font-size: 16px; }
}

