﻿/* ============================================================
   OVERD0SE - Midnight Blue / Cold Horror Visual Novel Portal
   Palette: deep navy / midnight blue / slate / cold white / blood-red accent
   Mirrors mookichuu.itch.io/overdose visual identity.
   ============================================================ */

:root {
  --bg:              #0a0f1c;
  --bg-elev:         #131829;
  --bg-elev-2:       #1a2036;
  --bg-elev-3:       #232b46;
  --bg-noise:        rgba(180, 200, 240, 0.025);

  --slate:           #4d6cb0;   /* primary slate-blue accent */
  --slate-2:         #6b85c2;   /* hover / highlight */
  --slate-deep:      #2c4070;   /* deeper slate */
  --slate-glow:      rgba(77, 108, 176, 0.45);
  --slate-glow-2:    rgba(77, 108, 176, 0.18);

  --blood:           #b91c1c;   /* medical / overdose red */
  --blood-2:         #ef4444;
  --blood-deep:      #7f1d1d;
  --blood-glow:      rgba(185, 28, 28, 0.4);
  --blood-glow-2:    rgba(185, 28, 28, 0.18);

  --text:            #e8eef5;
  --text-muted:      #a0acc4;
  --text-dim:        #707a93;
  --text-faint:      #4a5266;

  --border:          #2a3148;
  --border-bright:   #384164;
  --border-slate:    #4d6cb0;
  --border-blood:    #6b1a16;

  --serif:           'EB Garamond', Georgia, 'Times New Roman', serif;
  --display:         'Cinzel', 'Cinzel Decorative', 'EB Garamond', serif;
  --mono:            'Special Elite', 'Courier New', monospace;
  --sans:            'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius:          6px;
  --radius-lg:       10px;
  --max-w:           1180px;
  --max-w-narrow:    760px;
  --shadow:          0 8px 24px rgba(0,0,0,0.55), 0 2px 8px rgba(0,0,0,0.45);
  --shadow-slate:    0 0 0 1px var(--border-slate), 0 8px 30px var(--slate-glow-2), 0 2px 6px rgba(0,0,0,0.55);
  --shadow-blood:    0 0 0 1px var(--border-blood), 0 8px 30px var(--blood-glow-2), 0 2px 6px rgba(0,0,0,0.55);
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(77,108,176,0.10) 0%, transparent 38%),
    radial-gradient(circle at 90% 100%, rgba(26,32,54,0.45) 0%, transparent 50%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160' viewBox='0 0 160 160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.95' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.85  0 0 0 0 0.9  0 0 0 0 1  0 0 0 0.045 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: clip;
  max-width: 100vw;
}
html { overflow-x: clip; }

/* ---------- typography ---------- */
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; letter-spacing: 0.5px; color: var(--text); margin-top: 1.6em; margin-bottom: 0.6em; line-height: 1.25; }
h1 { font-size: clamp(1.8rem, 3.2vw, 2.55rem); color: #fff; text-shadow: 0 0 28px var(--slate-glow-2); }
h2 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); color: var(--slate-2); border-left: 3px solid var(--slate); padding-left: 14px; }
h3 { font-size: clamp(1.1rem, 1.6vw, 1.28rem); color: var(--text); }
h4 { font-size: 1.05rem; color: var(--slate-2); margin-bottom: 0.4em; }
p  { margin: 0 0 1.1em; }
a  { color: var(--slate-2); text-decoration: none; transition: color .18s ease; }
a:hover, a:focus { color: #fff; text-decoration: underline; text-decoration-color: var(--slate-2); }
strong { color: #fff; }
em { color: var(--text-muted); }
hr { border: none; border-top: 1px solid var(--border); margin: 2.4em 0; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }

/* ---------- skip link ---------- */
.skip-link {
  position: absolute; left: -9999px; top: 0; padding: 8px 14px; background: var(--slate); color: #fff;
  font-family: var(--sans); font-size: 14px; border-radius: 0 0 var(--radius) 0; z-index: 9999;
}
.skip-link:focus { left: 0; }

/* ---------- header ---------- */
header.site-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 26px;
  background: rgba(10,15,28,0.92);
  border-bottom: 1px solid var(--border-bright);
  backdrop-filter: blur(8px);
  position: sticky; top: 0; z-index: 100;
}
.logo {
  font-family: var(--display); font-size: 1.32rem; font-weight: 700;
  color: #fff; letter-spacing: 2.5px; text-decoration: none;
  text-shadow: 0 0 18px var(--slate-glow-2);
  display: inline-flex; align-items: center; gap: 10px;
}
.logo::before {
  content: "Ø"; color: var(--slate-2); font-size: 1.2rem; opacity: 0.85;
}
.header-nav { display: flex; align-items: center; gap: 18px; }
.header-nav a { color: var(--text-muted); font-family: var(--sans); font-size: 0.92rem; }
.header-nav a:hover { color: var(--slate-2); text-decoration: none; }

/* ---------- main wrapper ---------- */
.wrapper { max-width: var(--max-w); margin: 0 auto; padding: 24px 22px 60px; }
main { grid-column: 1 / -1; }

/* ============================================================
   GAME PLAYER
   ============================================================ */
.game-section { margin: 8px 0 36px; }
.frame-box-game { position: relative; }
.game-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background:
    linear-gradient(135deg, rgba(19,24,41,0.55) 0%, rgba(10,15,28,0.85) 100%),
    radial-gradient(ellipse at 30% 35%, rgba(77,108,176,0.20) 0%, transparent 60%),
    url('/images/overdose-hero-evren.png') center/cover no-repeat,
    #0a0f1c;
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-slate);
  overflow: hidden;
}
.game-frame-bg {
  position: absolute; inset: 0;
  background:
    url('/images/overdose-hero-evren.png') center/cover no-repeat,
    linear-gradient(180deg, rgba(10,15,28,0.0) 0%, rgba(10,15,28,0.55) 100%);
  filter: contrast(0.92) saturate(0.85);
}
.game-frame-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,15,28,0.1) 0%, rgba(10,15,28,0.5) 80%, rgba(10,15,28,0.85) 100%);
}
.game-frame-trust {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 4;
  display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center;
  padding: 12px 14px; background: linear-gradient(0deg, rgba(10,15,28,0.95) 0%, rgba(10,15,28,0.5) 80%, transparent 100%);
  font-family: var(--sans); font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.3px;
}
.game-frame-trust span { display: inline-flex; align-items: center; gap: 6px; }
.game-frame-trust i { color: var(--slate-2); font-style: normal; }

/* Play CTA - slate-blue circle with subtle red glow (the medical/overdose cue) */
.game-play-cta {
  position: absolute; inset: 0; margin: auto;
  width: 130px; height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--slate) 0%, var(--slate-deep) 70%, #1a2238 100%);
  border: 2px solid rgba(255,255,255,0.18);
  color: #fff;
  font-family: var(--display); font-size: 1.3rem; letter-spacing: 2.5px;
  cursor: pointer;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  z-index: 6;
  box-shadow: 0 0 50px var(--slate-glow), 0 0 90px var(--blood-glow-2), inset 0 0 30px rgba(0,0,0,0.4);
  transition: transform .18s ease, box-shadow .18s ease;
  text-transform: uppercase;
  animation: slatePulse 2.8s ease-in-out infinite;
}
.game-play-cta .play-icon { font-size: 1.6rem; margin-bottom: 4px; line-height: 1; }
.game-play-cta:hover { transform: scale(1.06); box-shadow: 0 0 70px var(--slate-glow), 0 0 110px var(--blood-glow-2), inset 0 0 40px rgba(0,0,0,0.5); }
.game-play-cta:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@keyframes slatePulse {
  0%, 100% { box-shadow: 0 0 50px var(--slate-glow), 0 0 90px var(--blood-glow-2), inset 0 0 30px rgba(0,0,0,0.4); }
  50%      { box-shadow: 0 0 80px var(--slate-glow), 0 0 130px var(--blood-glow-2), 0 0 20px rgba(239,68,68,0.4), inset 0 0 40px rgba(0,0,0,0.5); }
}
.loading-overlay {
  position: absolute; inset: 0; z-index: 7;
  background: rgba(10,15,28,0.92);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  font-family: var(--display); letter-spacing: 2px; color: var(--text);
}
.loading-overlay.hidden { display: none; }
.loading-overlay .pulse-dot {
  width: 60px; height: 60px; border-radius: 50%;
  background: radial-gradient(circle, var(--slate-2) 0%, var(--slate) 60%, transparent 75%);
  box-shadow: 0 0 60px var(--slate-glow);
  animation: slatePulse 1.6s ease-in-out infinite;
}
.loading-overlay p { margin: 0; font-size: 0.92rem; color: var(--text-muted); letter-spacing: 3px; }
#game-iframe {
  position: absolute; inset: 0; width: 100%; height: 100%;
  border: 0; display: block; background: #000; z-index: 5;
  opacity: 0; pointer-events: none; transition: opacity .4s ease;
}
.game-frame.is-playing #game-iframe { opacity: 1; pointer-events: auto; }
.game-frame.is-playing .game-frame-bg { opacity: 0; transition: opacity .4s ease; }
.game-frame.is-playing .game-play-cta { opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.fs-close-inside {
  position: absolute; top: 14px; right: 14px; z-index: 30;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(10,15,28,0.85); border: 1px solid var(--border-bright);
  color: #fff; font-size: 1.2rem; cursor: pointer; display: none; align-items: center; justify-content: center;
}
.fs-close-inside.is-visible { display: inline-flex; }
.fs-close-inside:hover { background: var(--slate); border-color: var(--slate-2); }

.game-share-bar {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 14px; padding: 10px 14px;
  background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius);
  flex-wrap: wrap; gap: 10px;
}
.btn-fullscreen-main {
  background: transparent; border: 1px solid var(--border-bright); color: var(--text);
  padding: 8px 16px; border-radius: var(--radius);
  font-family: var(--sans); font-size: 0.88rem; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px; transition: all .18s ease;
}
.btn-fullscreen-main:hover { background: var(--slate); border-color: var(--slate-2); color: #fff; }
.game-share-group { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.game-share-group-label { color: var(--text-muted); font-family: var(--sans); font-size: 0.84rem; margin-right: 4px; }
.game-share-btn {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--bg-elev-2); border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--text-muted); transition: all .18s ease;
  text-decoration: none !important;
}
.game-share-btn:hover { background: var(--slate); color: #fff; border-color: var(--slate-2); transform: translateY(-1px); }
.game-share-more {
  width: auto; padding: 0 12px; border-radius: 999px; font-size: 0.84rem; gap: 6px;
}

/* theater / fullscreen */
.game-frame.theater-mode, .game-frame.is-fullscreen {
  position: fixed; inset: 0; z-index: 1000; border-radius: 0; border: none;
  aspect-ratio: auto; height: 100vh; background: #000;
}
body.theater-active { overflow: hidden; }

/* ============================================================
   ENDINGS TRACKER (2 endings for the demo)
   ============================================================ */
.endings-section {
  margin: 38px 0;
  padding: 26px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
}
.endings-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; flex-wrap: wrap; gap: 8px; }
.endings-header h2 { margin: 0; font-size: 1.4rem; color: var(--slate-2); border-left: none; padding: 0; }
.endings-header .endings-note-inline { font-family: var(--sans); font-size: 0.82rem; color: var(--text-dim); }
.endings-progress { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.endings-progress-bar {
  flex: 1; height: 10px; background: rgba(0,0,0,0.45); border-radius: 999px; overflow: hidden;
  border: 1px solid var(--border);
}
.endings-progress-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--slate-deep) 0%, var(--slate) 60%, var(--slate-2) 100%);
  box-shadow: 0 0 12px var(--slate-glow);
  transition: width .35s ease;
}
.endings-progress-text { font-family: var(--mono); font-size: 0.9rem; color: var(--text-muted); }
.endings-progress-text strong { color: var(--slate-2); font-size: 1.1rem; }
.endings-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.ending-card {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; text-align: left;
  background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: var(--radius);
  color: var(--text); cursor: pointer; transition: all .18s ease;
  font-family: var(--sans); font-size: 0.9rem;
}
.ending-card:hover { border-color: var(--slate); transform: translateY(-1px); }
.ending-card[data-found="true"] { border-color: var(--slate); background: linear-gradient(135deg, rgba(77,108,176,0.25), rgba(26,32,54,0.45)); }
.ending-checkbox {
  flex: 0 0 22px; width: 22px; height: 22px; border-radius: 4px;
  border: 1.5px solid var(--border-bright); background: rgba(0,0,0,0.45);
  display: inline-flex; align-items: center; justify-content: center;
  color: transparent; font-size: 0.75rem;
}
.ending-card[data-found="true"] .ending-checkbox { background: var(--slate); border-color: var(--slate-2); color: #fff; }
.ending-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ending-name { font-family: var(--serif); font-size: 1rem; color: #fff; }
.ending-tag { font-family: var(--sans); font-size: 0.72rem; color: var(--slate-2); letter-spacing: 1.2px; text-transform: uppercase; }
.ending-card[data-found="false"] .ending-name { color: var(--text-dim); }
.ending-card[data-found="false"] .ending-tag { color: var(--text-faint); }
.endings-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; flex-wrap: wrap; gap: 10px; }
.endings-btn {
  background: transparent; border: 1px solid var(--border-bright); color: var(--text-muted);
  padding: 7px 14px; border-radius: var(--radius); font-family: var(--sans); font-size: 0.84rem; cursor: pointer;
}
.endings-btn:hover { border-color: var(--slate); color: var(--slate-2); }

/* ============================================================
   GAME VIDEOS (YouTube embeds)
   ============================================================ */
.game-videos {
  margin: 38px 0;
  padding: 26px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
}
.game-videos-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 8px; }
.game-videos-header h2 {
  margin: 0; font-size: 1.4rem; color: var(--slate-2);
  border-left: none; padding: 0;
  font-family: var(--display);
}
.game-videos-note-inline { font-family: var(--sans); font-size: 0.82rem; color: var(--text-dim); }
.game-videos-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}
@media (min-width: 760px) {
  .game-videos-grid { grid-template-columns: 1fr 1fr; }
}
.game-video-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px;
}
.game-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 6px;
  overflow: hidden;
}
.game-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.game-video-caption h3 {
  margin: 4px 0 4px;
  font-family: var(--display);
  font-size: 1.05rem;
  color: var(--text);
  letter-spacing: 0.3px;
  line-height: 1.3;
}
.game-video-caption p {
  margin: 0;
  font-family: var(--sans);
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ============================================================
   INFO CARD & content sections
   ============================================================ */
.brand-longtail {
  margin: 30px 0; padding: 22px 24px;
  background: linear-gradient(135deg, rgba(77,108,176,0.15) 0%, rgba(26,32,54,0.4) 100%);
  border: 1px solid var(--border-slate);
  border-radius: var(--radius-lg);
}
.brand-longtail h2 {
  margin-top: 0; color: var(--slate-2); border-left: 3px solid var(--slate-2); padding-left: 14px;
  font-size: 1.35rem;
}
.brand-longtail-features { color: var(--text); line-height: 1.85; padding-left: 22px; margin: 18px 0 6px; }
.brand-longtail-features li { margin-bottom: 6px; }

.info-card {
  margin: 32px 0; padding: 32px 30px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.info-card .content-body { max-width: 100%; }

.rating-row { display: flex; align-items: center; gap: 14px; margin: 12px 0 22px; flex-wrap: wrap; }
.stars { color: var(--slate-2); letter-spacing: 2px; font-size: 1.1rem; }
.rating-label { font-family: var(--sans); font-size: 0.92rem; color: var(--text-muted); }
.rating-label strong { color: #fff; }
.rating-label .hl { color: var(--blood-2); }

.testimonial {
  margin: 18px 0 26px; padding: 16px 20px;
  background: rgba(0,0,0,0.35); border-left: 3px solid var(--slate-2); border-radius: 0 var(--radius) var(--radius) 0;
  font-family: var(--serif); font-style: italic; color: var(--text); font-size: 1.02rem;
}
.testimonial cite { display: block; margin-top: 8px; font-style: normal; font-family: var(--sans); font-size: 0.82rem; color: var(--text-faint); }

/* ----- How to play ----- */
.how-to-play {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px; margin: 18px 0 24px;
}
.how-step {
  background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px; display: flex; gap: 14px; align-items: flex-start;
}
.step-num {
  flex: 0 0 38px; width: 38px; height: 38px; border-radius: 50%;
  background: var(--slate); border: 1px solid var(--slate-2);
  color: #fff; font-family: var(--display); font-size: 0.95rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  text-shadow: 0 0 10px var(--slate-glow);
}
.how-step p { margin: 0; color: var(--text); font-size: 0.96rem; }

/* ----- Characters ----- */
.characters { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin: 16px 0 22px; }
.character {
  background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 0; overflow: hidden; transition: all .2s ease;
}
.character:hover { border-color: var(--slate); transform: translateY(-2px); box-shadow: var(--shadow-slate); }
.character-img {
  display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: top center;
  background: #0a0f1c; border-bottom: 1px solid var(--border);
}
.character-body { padding: 16px 18px 18px; }
.character h4 { margin: 0 0 4px; color: var(--slate-2); font-size: 1.1rem; font-family: var(--display); }
.character .role { font-family: var(--sans); font-size: 0.72rem; color: var(--text-dim); letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 8px; }
.character p { margin: 0; color: var(--text); font-size: 0.92rem; line-height: 1.6; }
.character .blurb { font-family: var(--serif); font-style: italic; color: var(--text-muted); font-size: 0.88rem; margin-top: 8px; padding-top: 8px; border-top: 1px dashed var(--border); }
.character .redacted { color: var(--blood-2); font-family: var(--mono); font-size: 0.85rem; letter-spacing: 2px; }

/* ----- Screenshot gallery ----- */
.screenshot-gallery {
  display: grid; grid-template-columns: 1fr; gap: 16px; margin: 18px 0 24px;
}
@media (min-width: 760px) { .screenshot-gallery { grid-template-columns: 1fr 1fr; } }
.screenshot-gallery figure { margin: 0; background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.screenshot-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.screenshot-gallery figcaption { padding: 10px 14px; font-family: var(--sans); font-size: 0.86rem; color: var(--text-muted); border-top: 1px solid var(--border); }

/* ----- Content warnings ----- */
.content-warnings {
  margin: 18px 0 24px; padding: 20px 22px;
  background: linear-gradient(135deg, rgba(127,29,29,0.18) 0%, rgba(10,15,28,0.4) 100%);
  border: 1px solid var(--border-blood); border-left: 4px solid var(--blood-2);
  border-radius: var(--radius);
}
.content-warnings h4 { color: var(--blood-2); margin: 0 0 10px; font-size: 1rem; font-family: var(--display); letter-spacing: 1.5px; text-transform: uppercase; }
.content-warnings p { margin: 0; color: var(--text); font-size: 0.94rem; line-height: 1.75; }
.content-warnings strong { color: var(--blood-2); }

/* ----- Features grid ----- */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; margin: 18px 0 24px; }
.feature { background: var(--bg-elev-2); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; transition: all .18s ease; }
.feature:hover { border-color: var(--slate); }
.feature h4 { color: var(--slate-2); margin: 0 0 6px; font-size: 1rem; }
.feature p { margin: 0; color: var(--text); font-size: 0.94rem; }

/* ----- Quotes strip ----- */
.quotes-strip {
  max-width: 900px; margin: 50px auto 0;
  padding: 26px 22px;
  background: linear-gradient(180deg, rgba(77,108,176,0.12) 0%, rgba(10,15,28,0.65) 100%);
  border: 1px solid var(--border-bright); border-radius: var(--radius-lg);
  font-family: var(--serif); font-size: 1.1rem; font-style: italic; color: var(--text);
  text-align: center;
}
.quotes-strip blockquote { margin: 0; padding: 0; }
.quotes-strip .attr { display: block; margin-top: 10px; font-style: normal; font-family: var(--sans); font-size: 0.82rem; color: var(--text-faint); letter-spacing: 1.5px; }

/* ============================================================
   FAQ
   ============================================================ */
.faq-section { margin: 40px 0; }
.faq-section h2 { margin-bottom: 18px; }
.faq-item { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-question {
  width: 100%; text-align: left; padding: 16px 20px;
  background: transparent; border: none; cursor: pointer; color: var(--text);
  font-family: var(--serif); font-size: 1.05rem; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  transition: background .18s ease;
}
.faq-question:hover { background: rgba(77,108,176,0.08); }
.faq-icon { font-family: var(--mono); font-size: 1.2rem; color: var(--slate-2); flex: 0 0 24px; text-align: center; transition: transform .2s ease; }
.faq-item.is-open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq-item.is-open .faq-answer { max-height: 600px; }
.faq-answer p { padding: 0 20px 18px; margin: 0; color: var(--text-muted); font-size: 0.96rem; line-height: 1.75; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-section { margin: 40px 0; }
.reviews-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px; margin-bottom: 20px; }
.reviews-header h2 { margin: 0; }
.header-meta { display: inline-flex; align-items: center; gap: 14px; }
.reviews-rating-big { font-family: var(--display); color: var(--slate-2); }
.reviews-rating-big .num { font-size: 1.6rem; font-weight: 700; }
.reviews-rating-big .out-of { font-size: 0.95rem; color: var(--text-muted); margin-left: 4px; }
.reviews-stars { color: var(--slate-2); letter-spacing: 1.5px; }
.reviews-count { font-family: var(--sans); font-size: 0.88rem; color: var(--text-muted); }
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; margin-bottom: 14px; }
.review-card { background: var(--bg-elev); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.review-stars-row { color: var(--slate-2); letter-spacing: 1.5px; margin-bottom: 8px; }
.review-stars-row .empty { color: var(--text-faint); }
.review-body { color: var(--text); font-size: 0.95rem; line-height: 1.65; margin: 0 0 12px; }
.review-meta { display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px dashed var(--border); }
.review-avatar {
  width: 36px; height: 36px; border-radius: 50%; background: var(--slate-deep);
  color: #fff; font-family: var(--display); font-size: 0.95rem; font-weight: 600;
  display: flex; align-items: center; justify-content: center;
}
.review-name { font-family: var(--sans); font-size: 0.88rem; color: #fff; }
.review-source { font-family: var(--sans); font-size: 0.74rem; color: var(--text-faint); }
.reviews-cta { font-family: var(--sans); font-size: 0.88rem; color: var(--text-muted); text-align: center; margin: 14px 0 0; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  margin-top: 60px; padding: 32px 22px 28px;
  background: var(--bg-elev); border-top: 1px solid var(--border-bright);
  text-align: center;
}
.footer-nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin-bottom: 18px; }
.footer-nav a {
  font-family: var(--sans); font-size: 0.88rem; color: var(--text-muted);
  padding: 6px 10px; border-radius: 4px;
}
.footer-nav a:hover { color: var(--slate-2); background: rgba(77,108,176,0.08); text-decoration: none; }
.footer-disclaimer { font-family: var(--sans); font-size: 0.82rem; color: var(--text-faint); max-width: 880px; margin: 0 auto 6px; line-height: 1.6; }

/* ============================================================
   SHARE MODAL
   ============================================================ */
.share-modal-overlay {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,0.78);
  display: none; align-items: center; justify-content: center; padding: 22px;
  backdrop-filter: blur(4px);
}
.share-modal-overlay.is-visible { display: flex; }
.share-modal {
  background: var(--bg-elev-2); border: 1px solid var(--border-bright); border-radius: var(--radius-lg);
  padding: 28px 26px 24px; max-width: 460px; width: 100%; position: relative;
  box-shadow: var(--shadow);
}
.share-modal h3 { margin: 0 0 6px; color: var(--text); font-size: 1.3rem; }
.share-modal .sub { margin: 0 0 18px; font-family: var(--sans); font-size: 0.88rem; color: var(--text-muted); }
.close-x {
  position: absolute; top: 12px; right: 14px; background: transparent; border: none; color: var(--text-muted);
  font-size: 1.4rem; cursor: pointer; width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.close-x:hover { color: #fff; background: rgba(77,108,176,0.18); }
.socials { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 16px; }
.socials a {
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg-elev); border: 1px solid var(--border-bright);
  color: var(--text-muted); display: flex; align-items: center; justify-content: center; font-size: 1.1rem;
  transition: all .18s ease;
}
.socials a:hover { background: var(--slate); color: #fff; border-color: var(--slate-2); transform: translateY(-1px); }
.url-row { display: flex; gap: 8px; }
.url-row input { flex: 1; padding: 10px 12px; background: var(--bg); color: var(--text); border: 1px solid var(--border-bright); border-radius: var(--radius); font-family: var(--mono); font-size: 0.88rem; }
.url-row button { padding: 10px 18px; background: var(--slate); color: #fff; border: 1px solid var(--slate-2); border-radius: var(--radius); cursor: pointer; font-family: var(--sans); font-size: 0.88rem; }
.url-row button:hover { background: var(--slate-2); }

/* ============================================================
   AD SLOT (Adsterra native banner placeholder style)
   ============================================================ */
.ad-slot {
  margin: 28px 0; padding: 14px;
  background: var(--bg-elev); border: 1px dashed var(--border-bright); border-radius: var(--radius);
  min-height: 90px; display: flex; align-items: center; justify-content: center;
  font-family: var(--sans); font-size: 0.78rem; color: var(--text-faint); letter-spacing: 1px; text-transform: uppercase;
}
.ad-slot [data-nat-ad] { display: block; width: 100%; }

/* ============================================================
   SUB-PAGE STYLES (about / contact / privacy / terms)
   ============================================================ */
.subpage-content { max-width: var(--max-w-narrow); margin: 30px auto; }
.subpage-content h1 { color: #fff; }
.subpage-content p, .subpage-content li { color: var(--text); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 760px) {
  .wrapper { padding: 18px 16px 40px; }
  header.site-header {
    padding: 12px 14px;
    flex-wrap: wrap;
    gap: 8px 14px;
  }
  .logo { font-size: 1.1rem; letter-spacing: 2px; }
  .header-nav { gap: 12px; }
  .header-nav a { font-size: 0.84rem; }
  .info-card { padding: 24px 20px; }
  .game-play-cta { width: 110px; height: 110px; font-size: 1.05rem; }
  .game-play-cta .play-icon { font-size: 1.3rem; }
  .game-frame-trust {
    font-size: 0.66rem;
    padding: 8px 6px;
    gap: 4px 8px;
    line-height: 1.3;
  }
  .game-frame-trust span { white-space: nowrap; }
  .game-share-bar { justify-content: center; }
  .game-share-group-label { display: none; }
  .footer-nav { font-size: 0.84rem; gap: 4px 10px; }
  .ad-slot { min-height: 60px; }
  .endings-grid { grid-template-columns: 1fr; }
  .screenshot-gallery { grid-template-columns: 1fr; }
  .characters { grid-template-columns: 1fr 1fr; }
  .how-to-play { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  header.site-header { padding: 10px 12px; }
  .logo { font-size: 1rem; letter-spacing: 1.5px; }
  .header-nav { gap: 8px; }
  .header-nav a { font-size: 0.78rem; }
  .game-frame-trust { gap: 3px 6px; font-size: 0.6rem; }
  .game-frame-trust span { font-size: 0.6rem; }
  .reviews-header { flex-direction: column; align-items: flex-start; }
  .characters { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   RELATED GAMES GRID (More Free Horror Games)
   ============================================================ */
.related-section {
  margin: 38px auto 0;
  max-width: var(--max-w);
  padding: 26px 22px;
  background: var(--bg-elev);
  border: 1px solid var(--border-bright);
  border-radius: var(--radius-lg);
}
.related-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.related-header h2 {
  margin: 0;
  font-size: 1.32rem;
  color: var(--blood-2);
  border-left: 3px solid var(--blood);
  padding-left: 14px;
  font-family: var(--display);
}
.related-header h2 i { color: var(--blood-2); margin-right: 6px; }
.related-sub {
  font-family: var(--sans);
  font-size: 0.84rem;
  color: var(--text-muted);
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}
.related-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: var(--bg-elev-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  color: var(--text);
  transition: border-color .18s ease, transform .18s ease, background .18s ease;
}
.related-card:hover {
  border-color: var(--blood);
  background: linear-gradient(135deg, rgba(127,29,29,0.20), rgba(185,28,28,0.06));
  transform: translateY(-1px);
}
.related-card.is-self {
  border-color: var(--blood);
  background: linear-gradient(135deg, rgba(127,29,29,0.25), rgba(185,28,28,0.08));
  cursor: default;
}
.related-card.is-self:hover { transform: none; }
.related-thumb {
  flex: 0 0 96px;
  width: 96px;
  height: 64px;
  border-radius: 4px;
  object-fit: cover;
  display: block;
  border: 1px solid var(--border);
  background: #000;
}
.related-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.related-title {
  font-family: var(--display);
  font-size: 1.02rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}
.related-tag {
  font-family: var(--sans);
  font-size: 0.74rem;
  color: var(--blood-2);
  letter-spacing: 1.2px;
  text-transform: uppercase;
  line-height: 1.2;
}
.related-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  font-family: var(--sans);
  font-size: 0.78rem;
  color: var(--text-muted);
}
.play-pill,
.self-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  white-space: nowrap;
}
.play-pill {
  background: var(--blood);
  color: #fff;
}
.play-pill i { font-size: 0.6rem; }
.self-pill {
  background: transparent;
  color: var(--blood-2);
  border: 1px solid var(--blood);
}
.related-card.is-self .related-meta { color: var(--text-faint); }
@media (max-width: 600px) {
  .related-section { padding: 18px 16px; }
  .related-thumb { flex-basis: 80px; width: 80px; height: 56px; }
}

/* ============================================================
   COMMENTS (Community Notes)
   ============================================================ */
.comments-section {
  margin: 50px 0 0;
  padding: 0 22px;
}
.comments-section h2 {
  font-family: var(--display);
  font-size: 1.5rem;
  color: var(--text);
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  cursor: pointer;
  user-select: none;
}
.comments-section h2 #commentsCount {
  font-family: var(--sans);
  font-size: 0.85rem;
  color: var(--slate-2);
  font-weight: 600;
  margin-left: 6px;
}
#commentsBody.collapsed,
#commentsHeader.collapsed + #commentsBody { display: none; }
.comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 16px;
}
.comment-form input,
.comment-form textarea {
  background: var(--bg);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 0.95rem;
  resize: vertical;
}
.comment-form textarea { min-height: 80px; }
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--slate);
}
.comment-form button {
  align-self: flex-start;
  background: var(--slate);
  color: var(--bg);
  border: none;
  border-radius: 6px;
  padding: 10px 20px;
  font-weight: 600;
  font-family: var(--sans);
  cursor: pointer;
  transition: background 0.2s;
}
.comment-form button:hover { background: var(--slate-2); }
.comment-error { color: var(--blood-2); font-size: 0.85rem; }
.comment-success { color: var(--slate-2); font-size: 0.85rem; }
.comments-empty {
  color: var(--text-muted);
  text-align: center;
  padding: 30px;
  font-style: italic;
}
.comment-item {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 10px;
}
.comment-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--slate-deep);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--display);
  flex-shrink: 0;
}
.comment-name {
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}
.comment-time {
  color: var(--text-dim);
  font-size: 0.78rem;
  margin-left: auto;
}
.comment-body {
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
  white-space: pre-wrap;
}
