/* GameRaven — gameraven.gg
   Dark games-media theme: near-black base, lime/cyan neon accents,
   oversized score typography, card grids. */

:root{
  --bg: #0a0b10;
  --bg-raised: #12141c;
  --bg-card: #161924;
  --bg-card-hover: #1d212f;
  --border: #272c3a;
  --text: #e8eaf2;
  --text-dim: #9aa0b4;
  --text-faint: #6b7084;
  --lime: #c6ff3d;
  --lime-dim: #8fcf1f;
  --cyan: #38e4ff;
  --pink: #ff3d9a;
  --score-good: #c6ff3d;
  --score-mid: #ffcf3d;
  --score-bad: #ff5d5d;
  --max-width: 1180px;
  --radius: 10px;
}

*{ box-sizing: border-box; }
html{ background: var(--bg); }
body{
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a{ color: var(--cyan); text-decoration: none; }
a:hover{ color: var(--lime); text-decoration: underline; }

img{ max-width: 100%; display: block; }

.wrap{
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- Header ---------- */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(10,11,16,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.site-header__bar{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 24px;
}
.logo{
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo__mark{
  color: var(--bg);
  background: var(--lime);
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 1.1rem;
}
.logo:hover{ color: var(--text); text-decoration: none; }

.main-nav{ display: flex; gap: 22px; }
.main-nav a{
  color: var(--text-dim);
  font-size: 0.92rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.main-nav a:hover{ color: var(--lime); }
.main-nav a.is-active{ color: var(--lime); }

/* ---------- Billboard ad (under header) ---------- */
.adunit{
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-raised);
  border: 1px dashed var(--border);
  border-radius: 8px;
  color: var(--text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.adunit::before{ content: "Advertisement"; }
.adunit--billboard{
  max-width: var(--max-width);
  margin: 16px auto;
  height: 90px;
}
.adunit--mpu{
  width: 300px;
  height: 250px;
  margin: 0 auto 24px;
}
.adunit--incontent{
  height: 100px;
  margin: 32px 0;
}

/* ---------- Hero / page intro ---------- */
.home-hero{
  position: relative;
  margin-bottom: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
}
.home-hero img{ width: 100%; height: 360px; object-fit: cover; filter: brightness(0.6); }
.home-hero__copy{
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(180deg, transparent 0%, rgba(10,11,16,0.95) 90%);
}
.home-hero__kicker{
  color: var(--lime);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  margin-bottom: 8px;
}
.home-hero__copy h1{ margin: 0 0 8px; font-size: 2rem; max-width: 760px; }
.home-hero__copy p{ color: var(--text-dim); max-width: 640px; margin: 0; }

/* ---------- Layout grid: content + sidebar ---------- */
.layout{
  display: grid;
  grid-template-columns: minmax(0,1fr) 300px;
  gap: 36px;
  align-items: start;
  padding: 24px 0 48px;
}
.layout .sidebar{ position: sticky; top: 90px; }

/* ---------- Breadcrumbs ---------- */
.breadcrumbs{
  font-size: 0.82rem;
  color: var(--text-faint);
  margin: 18px 0 6px;
}
.breadcrumbs a{ color: var(--text-dim); }
.breadcrumbs a:hover{ color: var(--lime); }

/* ---------- Post card grid (home + trending + related) ---------- */
.card-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.card{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.15s ease, border-color 0.15s ease;
  display: flex;
  flex-direction: column;
}
.card:hover{ transform: translateY(-3px); border-color: var(--lime-dim); }
.card__img{ aspect-ratio: 16/9; overflow: hidden; }
.card__img img{ width: 100%; height: 100%; object-fit: cover; }
.card__body{ padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__tag{
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--pink);
}
.card h3, .card h2{ margin: 0; font-size: 1.08rem; line-height: 1.35; }
.card h3 a, .card h2 a{ color: var(--text); }
.card h3 a:hover, .card h2 a:hover{ color: var(--lime); text-decoration: none; }
.card__excerpt{ color: var(--text-dim); font-size: 0.9rem; margin: 0; flex: 1; }
.card__meta{ color: var(--text-faint); font-size: 0.78rem; }
.card .mini-score{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-raised);
  border: 2px solid var(--lime);
  color: var(--lime);
  font-weight: 800;
  font-size: 0.85rem;
}

/* ---------- Article ---------- */
article.review, article.feature{
  background: transparent;
}
.post-header h1{
  font-size: 2.1rem;
  line-height: 1.2;
  margin: 10px 0 14px;
  max-width: 820px;
}
.byline{
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-faint);
  font-size: 0.86rem;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.byline .author{ color: var(--text-dim); font-weight: 600; }
.byline .dot{ color: var(--text-faint); }

.post-hero{
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 10px;
  border: 1px solid var(--border);
}
.post-hero img{ width: 100%; height: auto; }
figcaption{
  color: var(--text-faint);
  font-size: 0.78rem;
  margin: 8px 0 24px;
}

.content{ max-width: 760px; font-size: 1.04rem; }
.content h2{
  font-size: 1.4rem;
  margin: 36px 0 14px;
  color: var(--text);
  border-left: 4px solid var(--lime);
  padding-left: 12px;
}
.content h3{
  font-size: 1.1rem;
  margin: 24px 0 10px;
  color: var(--text);
}
.content p{ color: #d4d7e2; margin: 0 0 16px; }
.content ul, .content ol{ color: #d4d7e2; margin: 0 0 16px; padding-left: 24px; }
.content li{ margin-bottom: 6px; }
.content figure{ margin: 24px 0; }
.content figure img{ border-radius: var(--radius); border: 1px solid var(--border); }
.content blockquote{
  border-left: 3px solid var(--cyan);
  margin: 24px 0;
  padding: 4px 0 4px 18px;
  color: var(--text-dim);
  font-style: italic;
}

/* ---------- Score box ---------- */
.score-box{
  display: flex;
  align-items: center;
  gap: 18px;
  background: linear-gradient(135deg, rgba(198,255,61,0.12), rgba(56,228,255,0.06));
  border: 1px solid var(--lime-dim);
  border-radius: var(--radius);
  padding: 18px 24px;
  margin: 22px 0 28px;
  max-width: 760px;
}
.score-box .score{
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  color: var(--score-good);
  text-shadow: 0 0 24px rgba(198,255,61,0.45);
}
.score-box .score-label{
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text);
}
.score-box .score-sub{ display: block; color: var(--text-faint); font-size: 0.82rem; font-weight: 400; text-transform: none; margin-top: 2px; }

/* ---------- Verdict box ---------- */
.verdict{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-left: 4px solid var(--cyan);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
  max-width: 760px;
}
.verdict h2{ margin-top: 0; border-left: none; padding-left: 0; color: var(--cyan); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.04em; }
.verdict p:last-child{ margin-bottom: 0; }

/* ---------- Info table (Platforms / Release / Price) ---------- */
.info-table{
  width: 100%;
  max-width: 760px;
  border-collapse: collapse;
  margin: 10px 0 28px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.info-table th, .info-table td{
  text-align: left;
  padding: 12px 18px;
  border-bottom: 1px solid var(--border);
  font-size: 0.92rem;
}
.info-table tr:last-child th, .info-table tr:last-child td{ border-bottom: none; }
.info-table th{ color: var(--text-faint); font-weight: 600; width: 160px; }
.info-table td{ color: var(--text); }

/* ---------- Where to buy ---------- */
.buy-links{
  list-style: none;
  margin: 10px 0 28px;
  padding: 0;
  max-width: 760px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.buy-links li{ margin: 0; }
.buy-links a{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 16px;
  color: var(--text);
  font-weight: 600;
  font-size: 0.92rem;
}
.buy-links a:hover{
  border-color: var(--lime);
  color: var(--lime);
  text-decoration: none;
}
.buy-links .price{ color: var(--lime); font-weight: 800; }

/* ---------- Video embed placeholder ---------- */
.video-embed{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 760px;
  cursor: pointer;
}
.video-embed img{ width: 100%; display: block; filter: brightness(0.55); }
.video-embed .play-icon{
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 72px; height: 72px;
  border-radius: 50%;
  background: rgba(10,11,16,0.6);
  border: 2px solid var(--lime);
  display: flex;
  align-items: center;
  justify-content: center;
}
.video-embed .play-icon::after{
  content: "";
  border-style: solid;
  border-width: 14px 0 14px 22px;
  border-color: transparent transparent transparent var(--lime);
  margin-left: 4px;
}
.video-embed .video-label{
  position: absolute;
  bottom: 10px; left: 14px;
  color: var(--text);
  font-size: 0.78rem;
  background: rgba(10,11,16,0.7);
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.03em;
}

/* ---------- Spec list (hardware guides) ---------- */
.spec-list{
  list-style: none;
  padding: 0;
  margin: 10px 0 24px;
  max-width: 760px;
}
.spec-list li{
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.94rem;
}
.spec-list li:last-child{ border-bottom: none; }
.spec-list .spec-val{ color: var(--text-dim); }

/* ---------- Sidebar ---------- */
.sidebar-block{
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  margin-bottom: 24px;
}
.sidebar-block h2{
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--lime);
  margin: 0 0 14px;
}
.sidebar-list{ list-style: none; margin: 0; padding: 0; }
.sidebar-list li{
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.sidebar-list li:last-child{ border-bottom: none; }
.sidebar-list .rank{
  font-family: "Space Grotesk", sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--text-faint);
  width: 22px;
  flex-shrink: 0;
}
.sidebar-list a{ color: var(--text); font-size: 0.9rem; font-weight: 600; line-height: 1.35; }
.sidebar-list a:hover{ color: var(--lime); text-decoration: none; }
.deal-item{ padding: 10px 0; border-bottom: 1px solid var(--border); }
.deal-item:last-child{ border-bottom: none; }
.deal-item a{ color: var(--text); font-weight: 600; font-size: 0.9rem; }
.deal-item .deal-price{ color: var(--lime); font-weight: 800; margin-left: 6px; }
.deal-item .deal-was{ color: var(--text-faint); text-decoration: line-through; font-size: 0.82rem; margin-left: 6px; }

/* ---------- Related posts ---------- */
.related{ margin: 48px 0 0; }
.related h2{
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text);
  border-left: 4px solid var(--cyan);
  padding-left: 12px;
  margin-bottom: 18px;
}

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--border);
  margin-top: 40px;
  padding: 36px 0 44px;
  color: var(--text-faint);
  font-size: 0.86rem;
}
.site-footer .wrap{ display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.site-footer a{ color: var(--text-dim); }
.site-footer a:hover{ color: var(--lime); }
.footer-links{ display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Section heading on home ---------- */
.section-heading{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin: 36px 0 18px;
}
.section-heading h2{
  font-size: 1.3rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
  border-left: 4px solid var(--lime);
  padding-left: 12px;
}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .layout{ grid-template-columns: 1fr; }
  .layout .sidebar{ position: static; }
  .card-grid{ grid-template-columns: repeat(2, 1fr); }
  .buy-links{ grid-template-columns: 1fr; }
}
@media (max-width: 600px){
  .card-grid{ grid-template-columns: 1fr; }
  .main-nav{ display: none; }
  .post-header h1{ font-size: 1.6rem; }
  .score-box .score{ font-size: 3rem; }
  .home-hero img{ height: 240px; }
}

/* Pubber: a filled ad container drops its placeholder styling */
.pb-filled{background:none !important;border:0 !important;min-height:0 !important;height:auto !important}
.pb-filled::before,.pb-filled::after{content:none !important;display:none !important}
