/* ========================================================================
   ゲーム好きおっさんの攻略部屋 — 共通スタイル（ゲーマー向けネオンHUDテーマ）
   カラーやフォントは :root を編集すればサイト全体に反映されます
   ======================================================================== */

:root {
  --bg:        #07090f;   /* 最深部の背景 */
  --bg-grid:   rgba(0, 229, 255, .045);
  --bg-card:   #0d1220;
  --bg-card-2: #131a2e;
  --text:      #e6ecf5;
  --text-dim:  #8b96ad;
  --neon:      #00e5ff;   /* メインネオン（シアン） */
  --neon-dim:  rgba(0, 229, 255, .35);
  --cta:       #ff2d78;   /* CTA（マゼンタ） */
  --cta-glow:  rgba(255, 45, 120, .45);
  --gold:      #ffd166;   /* 星・評価 */
  --border:    #1d2740;
  --radius:    12px;
  --max:       1080px;
  --font-pixel: "DotGothic16", "Hiragino Kaku Gothic ProN", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", system-ui, sans-serif;
  background:
    linear-gradient(var(--bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--bg-grid) 1px, transparent 1px),
    var(--bg);
  background-size: 42px 42px, 42px 42px, auto;
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
::selection { background: var(--neon); color: #04121a; }

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

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7, 9, 15, .88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 0 rgba(0, 229, 255, .12);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.logo {
  font-family: var(--font-pixel);
  font-weight: 400; font-size: 1.3rem; letter-spacing: .04em;
  text-shadow: 0 0 12px var(--neon-dim);
}
.logo span { color: var(--neon); }
.nav a {
  color: var(--text-dim); margin-left: 22px; font-size: .92rem;
  transition: color .2s, text-shadow .2s;
}
.nav a:hover { color: var(--neon); text-shadow: 0 0 10px var(--neon-dim); }

/* ---------- ヒーロー ---------- */
.hero {
  position: relative;
  padding: 72px 0 48px;
  text-align: center;
  background: radial-gradient(900px 380px at 50% -10%, rgba(0, 229, 255, .14), transparent);
  overflow: hidden;
}
/* 走査線（ブラウン管風・ごく薄く） */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255,255,255,.025) 0 1px, transparent 1px 4px);
}
.hero h1 {
  font-family: var(--font-pixel);
  font-weight: 400;
  font-size: clamp(1.7rem, 4vw, 2.7rem);
  line-height: 1.45; margin-bottom: 18px;
  text-shadow: 0 0 18px var(--neon-dim);
}
.hero p { color: var(--text-dim); max-width: 660px; margin: 0 auto; font-size: 1.02rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  margin-bottom: 20px;
  font-family: var(--font-pixel); font-size: .85rem; letter-spacing: .06em;
  color: var(--neon);
  border: 1px solid var(--neon-dim);
  padding: 6px 16px; border-radius: 4px;
  background: rgba(0, 229, 255, .06);
  box-shadow: inset 0 0 18px rgba(0, 229, 255, .06), 0 0 12px rgba(0, 229, 255, .12);
}
.hero-badge::before { content: "▶"; font-size: .7em; animation: blink 1.4s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.hero-tags { display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; margin-top: 24px; }
.hero-tags span {
  font-size: .8rem; color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 4px; padding: 4px 12px;
  background: rgba(13, 18, 32, .6);
  transition: color .2s, border-color .2s;
}
.hero-tags span:hover { color: var(--neon); border-color: var(--neon-dim); }

/* ---------- セクション見出し ---------- */
.section { padding: 52px 0; }
.section-title {
  font-family: var(--font-pixel);
  font-weight: 400; font-size: 1.45rem; margin-bottom: 26px;
  display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
}
.section-title::before { content: "■"; color: var(--neon); font-size: .8em; text-shadow: 0 0 10px var(--neon-dim); }
.section-title .en {
  font-family: var(--font-pixel);
  font-size: .72rem; letter-spacing: .22em; color: var(--text-dim);
  text-transform: uppercase;
}
.section-sub { color: var(--text-dim); font-size: .85rem; margin: -16px 0 22px; }

/* ---------- 今ハマってるゲーム（目玉） ---------- */
.now-playing {
  display: grid; grid-template-columns: 1.1fr 1.4fr;
  background: var(--bg-card);
  border: 1px solid var(--neon-dim);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 0 30px rgba(0, 229, 255, .08), inset 0 0 60px rgba(0, 229, 255, .03);
}
.now-thumb {
  background:
    radial-gradient(340px 200px at 30% 40%, rgba(255, 45, 120, .25), transparent),
    radial-gradient(300px 220px at 75% 70%, rgba(0, 229, 255, .18), transparent),
    var(--bg-card-2);
  min-height: 250px; position: relative;
}
.now-thumb img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 22%;
}
.now-flag {
  position: absolute; top: 14px; left: 14px;
  font-family: var(--font-pixel); font-size: .8rem; letter-spacing: .14em;
  background: var(--cta); color: #fff;
  padding: 5px 14px; border-radius: 4px;
  box-shadow: 0 0 16px var(--cta-glow);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.55} }
.now-body { padding: 28px 30px; display: flex; flex-direction: column; gap: 10px; justify-content: center; }
.now-genre { font-size: .8rem; color: var(--neon); letter-spacing: .08em; }
.now-body h3 { font-family: var(--font-pixel); font-weight: 400; font-size: 1.55rem; text-shadow: 0 0 14px var(--neon-dim); }
.now-body p { color: var(--text-dim); font-size: .95rem; }
.now-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }

/* ---------- 記事カードグリッド ---------- */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  display: flex; flex-direction: column;
}
/* 左上のネオンコーナー飾り */
.card::before {
  content: ""; position: absolute; top: 0; left: 0; z-index: 3;
  width: 22px; height: 22px;
  border-top: 2px solid var(--neon); border-left: 2px solid var(--neon);
  border-top-left-radius: var(--radius);
  opacity: .55; transition: opacity .18s;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-dim);
  box-shadow: 0 6px 26px rgba(0, 229, 255, .12);
}
.card:hover::before { opacity: 1; }
.card-thumb { aspect-ratio: 16/9; background: var(--bg-card-2); position: relative; }
.card-tag {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--font-pixel); font-size: .74rem; letter-spacing: .1em;
  background: rgba(4, 8, 16, .75); color: var(--neon);
  border: 1px solid var(--neon-dim);
  padding: 3px 10px; border-radius: 4px; backdrop-filter: blur(4px);
}
.rank {
  position: absolute; top: 10px; left: 10px; z-index: 2;
  font-family: var(--font-pixel);
  background: var(--gold); color: #131a2e;
  font-size: .85rem; padding: 4px 10px; border-radius: 4px;
}
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-body h3 { font-size: 1.06rem; line-height: 1.5; }
.card-genre { font-size: .78rem; color: var(--neon); letter-spacing: .05em; }
.card-desc { font-size: .89rem; color: var(--text-dim); flex: 1; }
.stars { color: var(--gold); font-size: 1rem; letter-spacing: 2px; text-shadow: 0 0 8px rgba(255, 209, 102, .35); }
.stars em { font-style: normal; color: var(--text); font-weight: 700; font-size: .9rem; margin-left: 4px; }

/* ---------- ボタン ---------- */
.btn-cta {
  display: inline-block; text-align: center;
  background: linear-gradient(135deg, var(--cta), #ff5a3c);
  color: #fff; font-weight: 700;
  padding: 12px 22px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
  box-shadow: 0 0 18px var(--cta-glow);
  transition: filter .15s, transform .1s, box-shadow .15s;
  cursor: pointer;
}
.btn-cta:hover { filter: brightness(1.12); box-shadow: 0 0 28px var(--cta-glow); }
.btn-cta:active { transform: scale(.97); }
.btn-cta.block { display: block; width: 100%; }
.btn-outline {
  display: inline-block; text-align: center;
  border: 1px solid var(--neon-dim); color: var(--neon);
  padding: 10px 18px;
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  background: rgba(0, 229, 255, .05);
  transition: background .15s, box-shadow .15s;
}
.btn-outline:hover { background: rgba(0, 229, 255, .12); box-shadow: 0 0 14px rgba(0, 229, 255, .18); }

/* ---------- カテゴリチップ ---------- */
.genre-chips { display: flex; gap: 12px; flex-wrap: wrap; }
.genre-chip {
  flex: 1 1 170px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 18px;
  position: relative; overflow: hidden;
  transition: border-color .18s, transform .18s, box-shadow .18s;
}
.genre-chip::after {
  content: "▶"; position: absolute; right: 14px; top: 50%;
  transform: translateY(-50%);
  color: var(--neon); font-size: .7rem; opacity: 0; transition: opacity .18s, right .18s;
}
.genre-chip:hover {
  border-color: var(--neon-dim); transform: translateY(-3px);
  box-shadow: 0 4px 18px rgba(0, 229, 255, .1);
}
.genre-chip:hover::after { opacity: 1; right: 10px; }
.genre-chip b { display: block; font-size: 1.02rem; margin-bottom: 4px; }
.genre-chip span { font-size: .8rem; color: var(--text-dim); }

/* ---------- 広告枠 ---------- */
.ad-slot {
  margin-top: 30px; padding: 30px 16px; text-align: center;
  border: 1px dashed var(--border); border-radius: var(--radius);
  color: var(--text-dim); font-size: .82rem;
  font-family: var(--font-pixel);
  background: rgba(13, 18, 32, .5);
}
.ad-slot::before { content: "[ AD ] "; color: var(--neon-dim); }

/* ---------- プロフィール（ステータス画面風） ---------- */
.profile-card {
  display: flex; gap: 24px; align-items: flex-start;
  background:
    linear-gradient(135deg, rgba(0, 229, 255, .05), transparent 45%),
    var(--bg-card);
  border: 1px solid var(--neon-dim);
  border-radius: var(--radius); padding: 28px;
  box-shadow: inset 0 0 40px rgba(0, 229, 255, .03);
}
.profile-avatar {
  flex-shrink: 0; width: 84px; height: 84px; border-radius: 12px;
  background: var(--bg-card-2); display: grid; place-items: center;
  font-size: 2.4rem;
  border: 2px solid var(--neon);
  box-shadow: 0 0 18px rgba(0, 229, 255, .25);
  overflow: hidden;
}
.profile-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.profile-body h3 {
  font-family: var(--font-pixel); font-weight: 400;
  font-size: 1.25rem; margin-bottom: 4px;
}
.profile-lv {
  font-family: var(--font-pixel); font-size: .8rem; color: var(--gold);
  letter-spacing: .1em; margin-bottom: 10px; display: block;
}
.profile-body p { color: var(--text-dim); font-size: .93rem; }
.profile-stats { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 4px; }
.profile-stats span {
  font-family: var(--font-pixel); font-size: .74rem;
  color: var(--neon); border: 1px solid var(--neon-dim);
  border-radius: 4px; padding: 3px 10px;
  background: rgba(0, 229, 255, .05);
}
.profile-note { font-size: .8rem; margin-top: 10px; color: var(--gold); }

/* ---------- レビュー記事 ---------- */
.article { padding: 40px 0 60px; }
.article h1 {
  font-family: var(--font-pixel); font-weight: 400;
  font-size: clamp(1.4rem, 3vw, 1.9rem); line-height: 1.5;
  text-shadow: 0 0 14px var(--neon-dim);
}
.article .lead { color: var(--text-dim); font-size: 1.02rem; margin: 12px 0 28px; }
.breadcrumb { font-size: .84rem; color: var(--text-dim); padding: 16px 0; }
.breadcrumb a:hover { color: var(--neon); }
.article h2 {
  font-family: var(--font-pixel); font-weight: 400;
  font-size: 1.35rem; margin: 44px 0 16px; padding: 8px 0 8px 14px;
  border-left: 4px solid var(--neon);
  background: linear-gradient(90deg, rgba(0, 229, 255, .08), transparent 70%);
}
.article h3 { font-size: 1.1rem; margin: 26px 0 10px; color: var(--gold); }
.article h3::before { content: "▶ "; color: var(--neon); font-size: .8em; }
.article p  { margin: 12px 0; }
.article ul { margin: 12px 0 12px 22px; }
.article li { margin: 6px 0; }

/* 記事内の画像（スクショ） */
.article figure { margin: 24px 0; }
.article figure img {
  width: 100%; border-radius: var(--radius);
  border: 1px solid var(--neon-dim);
  box-shadow: 0 0 24px rgba(0, 229, 255, .12);
}
.article figcaption {
  margin-top: 10px; font-size: .84rem; color: var(--text-dim);
  text-align: center; border-left: 3px solid var(--neon); padding-left: 10px;
  text-align: left;
}
/* 縦長スクショ用（キャラ全身など）は中央寄せで幅を抑える */
.article figure.portrait img { max-width: 420px; margin: 0 auto; }

.spec-table { width: 100%; border-collapse: collapse; margin: 20px 0; font-size: .93rem; }
.spec-table th, .spec-table td { padding: 10px 14px; border: 1px solid var(--border); text-align: left; }
.spec-table th { background: var(--bg-card-2); width: 150px; color: var(--neon); font-weight: 500; }
.spec-table td { background: rgba(13, 18, 32, .5); }

.pros-cons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 24px 0; }
.pros, .cons {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 20px;
}
.pros { border-top: 3px solid #37e08d; }
.cons { border-top: 3px solid #ff5a3c; }
.pros h4 { color: #37e08d; margin-bottom: 10px; font-family: var(--font-pixel); font-weight: 400; }
.cons h4 { color: #ff5a3c; margin-bottom: 10px; font-family: var(--font-pixel); font-weight: 400; }
.pros ul, .cons ul { list-style: none; margin-left: 0; }
.pros li::before { content: "＋ "; color: #37e08d; font-weight: 700; }
.cons li::before { content: "－ "; color: #ff5a3c; font-weight: 700; }

.cta-box {
  position: relative;
  background:
    radial-gradient(400px 160px at 50% 0%, rgba(255, 45, 120, .12), transparent),
    var(--bg-card);
  border: 1px solid var(--cta);
  border-radius: var(--radius);
  padding: 30px; text-align: center; margin: 38px 0;
  box-shadow: 0 0 26px rgba(255, 45, 120, .12);
}
.cta-box h3 { color: var(--text); margin-bottom: 8px; font-size: 1.2rem; font-family: var(--font-pixel); font-weight: 400; }
.cta-box h3::before { content: none; }
.cta-box p  { color: var(--text-dim); margin-bottom: 18px; }

.pr-label {
  display: inline-block; font-size: .72rem; color: var(--text-dim);
  border: 1px solid var(--border); border-radius: 4px;
  padding: 1px 8px; margin-bottom: 10px;
}

.post-meta {
  font-size: .8rem; color: var(--text-dim);
  margin: 4px 0 18px; letter-spacing: .02em;
}

/* ---------- フッター ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 34px 0; margin-top: 44px;
  color: var(--text-dim); font-size: .87rem;
  background: rgba(7, 9, 15, .6);
}
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: space-between; }
.site-footer a:hover { color: var(--neon); }
.disclaimer { font-size: .78rem; margin-top: 14px; line-height: 1.7; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 640px) {
  .pros-cons { grid-template-columns: 1fr; }
  .site-header .wrap { height: auto; min-height: 56px; flex-wrap: wrap; padding-top: 8px; padding-bottom: 8px; gap: 2px 12px; }
  .logo { font-size: 1.05rem; white-space: nowrap; }
  .nav { display: flex; flex-wrap: wrap; gap: 4px 0; }
  .nav a { margin-left: 13px; font-size: .8rem; }
  .nav a:first-child { margin-left: 0; }
  .hero { padding: 48px 0 32px; }
  .now-playing { grid-template-columns: 1fr; }
  .now-thumb { min-height: 170px; }
  .profile-card { flex-direction: column; align-items: center; text-align: center; }
  .profile-stats { justify-content: center; }
}
