/* ===== Hybrid Design for Adult Review Site ===== */
:root {
  --bg: #111118;
  --bg-surface: #18181f;
  --card-bg: #1e1e28;
  --card-hover: #24242f;
  --sidebar-bg: #1a1a22;
  --accent: #f43f5e;
  --accent-soft: rgba(244, 63, 94, 0.12);
  --accent-hover: #fb7185;
  --blue: #38bdf8;
  --blue-soft: rgba(56, 189, 248, 0.12);
  --green: #4ade80;
  --gold: #fbbf24;
  --text: #eeeef0;
  --text-secondary: #a0a0b8;
  --text-muted: #6b6b80;
  --border: rgba(255, 255, 255, 0.07);
  --border-hover: rgba(255, 255, 255, 0.12);
  --radius: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, 'Hiragino Kaku Gothic ProN', 'Meiryo', 'Yu Gothic', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.8;
  font-size: 15px;
}
a { color: var(--accent); text-decoration: none; transition: all 0.25s; }
a:hover { color: var(--accent-hover); }

/* ---- Header ---- */
.site-header {
  background: rgba(17, 17, 24, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.site-logo {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text);
}
.site-logo a { color: var(--text); }
.site-logo a:hover { color: var(--text); }
.site-logo span { color: var(--accent); }
.header-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}
.header-nav a {
  color: var(--text-secondary);
  font-size: 0.84rem;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
}
.header-nav a:hover { background: var(--accent-soft); color: var(--accent); }
.header-nav a.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }

/* ---- Main Layout ---- */
.main-wrap {
  max-width: 1180px;
  margin: 1.5rem auto;
  padding: 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 1.5rem;
}

/* ---- Section Title ---- */
.section-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.section-title::before {
  content: '';
  width: 4px;
  height: 1.2em;
  background: var(--accent);
  border-radius: 2px;
}

/* ---- Article List (Top page) ---- */
.article-list { display: flex; flex-direction: column; gap: 1rem; }

.article-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  overflow: hidden;
  transition: all 0.25s ease;
}
.article-card:hover {
  background: var(--card-hover);
  border-color: var(--border-hover);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card-thumb {
  width: 220px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #252535, #1e1e30);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.75rem;
  position: relative;
  min-height: 160px;
}
.card-score {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 700;
}
.score-high { color: var(--gold); border: 1px solid rgba(251, 191, 36, 0.3); }
.score-mid { color: var(--green); border: 1px solid rgba(74, 222, 128, 0.3); }
.score-low { color: var(--text-secondary); border: 1px solid var(--border); }

.card-body {
  flex: 1;
  padding: 1rem 1.2rem;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.card-top {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem;
}
.card-category {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
}
.card-date {
  font-size: 0.72rem;
  color: var(--text-muted);
}
.card-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 0.4rem;
}
.card-title a { color: var(--text); }
.card-title a:hover { color: var(--accent); }
.card-excerpt {
  font-size: 0.84rem;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 0.6rem;
  flex: 1;
}
.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}
.tag {
  font-size: 0.7rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  transition: all 0.2s;
}
a.tag { color: var(--text-muted); }
a.tag:hover { border-color: var(--accent); color: var(--accent); }

/* ---- Single Article ---- */
.article-single { margin: 0; }
.article-single header { margin-bottom: 1.5rem; }
.article-single h1 {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 0.5rem;
}
.article-single .article-meta {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}
.article-single .article-meta time {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.article-single .article-meta .category {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 0.12rem 0.5rem;
  border-radius: 4px;
}
.article-content {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  margin-bottom: 1.5rem;
}
.article-content h2 {
  color: var(--accent);
  font-size: 1.2rem;
  border-left: 4px solid var(--accent);
  padding-left: 0.8rem;
  margin: 2rem 0 1rem;
}
.article-content h2:first-child { margin-top: 0; }
.article-content h3 {
  color: var(--accent-hover);
  font-size: 1.05rem;
  margin: 1.5rem 0 0.6rem;
}
.article-content p {
  margin-bottom: 1rem;
  color: var(--text);
}
.article-content ul, .article-content ol {
  margin: 0.5rem 0 1rem 1.5rem;
  color: var(--text-secondary);
}
.article-content li { margin-bottom: 0.3rem; }
.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding: 0.8rem 1rem;
  margin: 1rem 0;
  background: rgba(244, 63, 94, 0.05);
  color: var(--text-secondary);
  border-radius: 0 6px 6px 0;
}
.article-content strong { color: var(--text); }
.article-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 1rem 0;
}

/* Affiliate Box */
.affiliate-box {
  background: linear-gradient(135deg, rgba(244, 63, 94, 0.08), rgba(56, 189, 248, 0.08));
  border: 1px solid rgba(244, 63, 94, 0.2);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin: 1.5rem 0;
}
.affiliate-box h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.affiliate-box ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem; }
.affiliate-box li { flex: 1; min-width: 200px; }
.affiliate-box a {
  display: block;
  text-align: center;
  padding: 0.7rem 1rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: white;
  transition: all 0.25s;
}
.affiliate-box li:first-child a {
  background: linear-gradient(135deg, var(--accent), #e11d48);
}
.affiliate-box li:first-child a:hover {
  box-shadow: 0 4px 16px rgba(244, 63, 94, 0.3);
  color: white;
  transform: translateY(-1px);
}
.affiliate-box li:nth-child(2) a {
  background: linear-gradient(135deg, var(--blue), #0284c7);
}
.affiliate-box li:nth-child(2) a:hover {
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3);
  color: white;
  transform: translateY(-1px);
}

/* Post Navigation */
.post-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.5rem 0;
}
.post-nav a {
  flex: 1;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  font-size: 0.84rem;
  color: var(--text-secondary);
  transition: all 0.25s;
  display: block;
}
.post-nav a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--card-hover);
}

/* ---- Sidebar ---- */
.sidebar { display: flex; flex-direction: column; gap: 1rem; }

.sidebar-box {
  background: var(--sidebar-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.sidebar-header {
  padding: 0.65rem 0.9rem;
  font-size: 0.82rem;
  font-weight: 700;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.sidebar-header .dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
.sidebar-body { padding: 0.8rem; }

/* Tag Cloud */
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}
.tag-cloud a {
  font-size: 0.76rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 0.25rem 0.55rem;
  border-radius: 5px;
  transition: all 0.2s;
}
.tag-cloud a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.tag-cloud a.popular {
  border-color: rgba(244, 63, 94, 0.3);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Ranking */
.ranking-list { list-style: none; }
.ranking-item {
  display: flex;
  gap: 0.6rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.ranking-item:last-child { border-bottom: none; }
.rank-num {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.68rem;
  font-weight: 700;
  flex-shrink: 0;
  background: var(--border);
  color: var(--text-muted);
}
.rank-1 { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #1a1a1a; }
.rank-2 { background: linear-gradient(135deg, #d1d5db, #9ca3af); color: #1a1a1a; }
.rank-3 { background: linear-gradient(135deg, #d97706, #b45309); color: #fff; }
.ranking-item a {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}
.ranking-item a:hover { color: var(--accent); }

/* Affiliate Sidebar CTA */
.af-cta {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.af-btn {
  display: block;
  text-align: center;
  padding: 0.7rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  transition: all 0.25s;
}
.af-btn.fanza {
  background: linear-gradient(135deg, var(--accent), #e11d48);
  color: white;
}
.af-btn.fanza:hover { box-shadow: 0 4px 16px rgba(244, 63, 94, 0.3); color: white; transform: translateY(-1px); }
.af-btn.dlsite {
  background: linear-gradient(135deg, #38bdf8, #0284c7);
  color: white;
}
.af-btn.dlsite:hover { box-shadow: 0 4px 16px rgba(56, 189, 248, 0.3); color: white; transform: translateY(-1px); }
.af-btn small { display: block; font-weight: 400; font-size: 0.7rem; opacity: 0.8; margin-top: 0.15rem; }

/* Stats bar */
.stats-bar {
  display: flex;
  gap: 1rem;
  justify-content: center;
}
.stat-item { text-align: center; }
.stat-num {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent);
}
.stat-label {
  font-size: 0.68rem;
  color: var(--text-muted);
}

/* ---- Pagination ---- */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin: 2rem 0 1rem;
}
.pagination a, .pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border);
  border-radius: 6px;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: all 0.2s;
}
.pagination a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}
.pagination .active {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ---- Related Articles ---- */
.related-articles {
  margin: 2rem 0 1rem;
}
.related-articles .section-title {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}
.related-articles .article-card {
  margin-bottom: 0;
}
.related-articles .card-thumb {
  min-height: 80px;
}

/* 3rd affiliate link */
.affiliate-box li:nth-child(3) a {
  background: linear-gradient(135deg, #4ade80, #22c55e);
}
.affiliate-box li:nth-child(3) a:hover {
  box-shadow: 0 4px 16px rgba(74, 222, 128, 0.3);
  color: white;
  transform: translateY(-1px);
}

/* ---- Footer ---- */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.78rem;
  margin-top: 2rem;
}

/* ---- Responsive ---- */
@media (max-width: 860px) {
  .main-wrap {
    grid-template-columns: 1fr;
  }
  .article-card { flex-direction: column; }
  .card-thumb { width: 100%; height: 160px; }
  .article-single h1 { font-size: 1.3rem; }
  .article-content { padding: 1.2rem; }
  .post-nav { flex-direction: column; }
  .affiliate-box ul { flex-direction: column; }
  .affiliate-box li { min-width: auto; }
}