/* ==========================================================================
   THE PORN GUY 中文评测网 (3.blog) - 经典黑金/高对比度评测榜单样式表
   1:1 还原原版布局精髓 + 现代化响应式交互增强
   ========================================================================== */

:root {
  --bg-page: #f4f5f7;
  --bg-card: #ffffff;
  --bg-dark: #0a0a0d;
  --bg-dark-elevated: #141419;
  --text-main: #111827;
  --text-secondary: #374151;
  --text-muted: #6b7280;
  --gold: #dba617;
  --gold-light: #f5c43d;
  --gold-dark: #b38308;
  --neon-green: #00b800;
  --neon-green-bright: #00ed00;
  --accent-blue: #007bff;
  --accent-red: #e11d48;
  --border-light: #e5e7eb;
  --border-dark: #27272f;
  --container-width: 1170px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 14px 34px rgba(0, 0, 0, 0.18);
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Cooper Black", "Gotham Pro", "Arial Black", "PingFang SC", "Microsoft YaHei", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

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

button, input, select {
  font-family: inherit;
}

/* ==========================================================================
   1. TOP HEADER (.site-logo-template)
   ========================================================================== */
.site-logo-template {
  background: #ffffff;
  border-bottom: 3px solid var(--bg-dark);
  padding: 12px 20px 16px;
  position: relative;
  z-index: 50;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.header-top-bar {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
}

.header-left-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: var(--bg-dark);
  color: var(--gold);
  font-size: 18px;
  border: 1px solid var(--gold);
  transition: transform 0.15s ease, background 0.2s ease;
}

.home-btn:hover {
  transform: translateY(-1px);
  background: #1c1c24;
}

.update-time {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  background: #f3f4f6;
  padding: 5px 10px;
  border-radius: 6px;
  border: 1px solid #e5e7eb;
}

.update-time .update-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-green);
  display: inline-block;
  margin-right: 3px;
  box-shadow: 0 0 6px var(--neon-green);
}

/* Center Brand Logo */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-emblem {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #0a0a0d 0%, #23232e 100%);
  border: 2px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 4px 12px rgba(219, 166, 23, 0.25);
  flex-shrink: 0;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: var(--bg-dark);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-title span.gold-badge {
  background: var(--bg-dark);
  color: var(--gold);
  font-size: 12px;
  padding: 2px 7px;
  border-radius: 4px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.logo-sub {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

/* Header Right Actions */
.header-right-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switcher {
  position: relative;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #f9fafb;
  border: 1px solid #d1d5db;
  padding: 7px 11px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  cursor: pointer;
}

.lang-btn:hover {
  border-color: var(--bg-dark);
}

.lang-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  min-width: 140px;
  padding: 6px;
  display: none;
  z-index: 100;
}

.lang-switcher:hover .lang-dropdown,
.lang-switcher.open .lang-dropdown {
  display: block;
}

.lang-dropdown a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 5px;
  color: var(--text-secondary);
}

.lang-dropdown a:hover,
.lang-dropdown a.active {
  background: #f3f4f6;
  color: var(--bg-dark);
}

.header-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 13px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid var(--bg-dark);
  background: #ffffff;
  color: var(--bg-dark);
  transition: all 0.15s ease;
}

.header-action-btn:hover {
  background: var(--bg-dark);
  color: var(--gold);
}

.header-action-btn.primary {
  background: var(--bg-dark);
  color: var(--gold);
}

.header-action-btn.primary:hover {
  background: #1f1f29;
  color: var(--gold-light);
}

/* ==========================================================================
   2. TOP CATEGORY ICON BLOCK (.top-category-block)
   ========================================================================== */
.top-category-block {
  max-width: var(--container-width);
  margin: 12px auto 0;
}

.top-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.top-category {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}

.top-category:hover {
  background: #0a0a0d;
  color: var(--gold);
  border-color: #0a0a0d;
  transform: translateY(-1px);
}

.top-category.active {
  background: #eff6ff;
  border-color: var(--accent-blue);
  color: var(--accent-blue);
  font-weight: 800;
}

.top-category .cat-emoji {
  font-size: 14px;
  line-height: 1;
}

.top-category.hidden-cat {
  display: none;
}

.top-categories.expanded .top-category.hidden-cat {
  display: inline-flex;
}

.top-cat-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--bg-dark);
  color: var(--gold);
  border: 1px solid var(--gold);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.top-cat-toggle-btn:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

/* ==========================================================================
   3. STICKY ROLLING HEADER (.rolling-header)
   ========================================================================== */
.rolling-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 13, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--gold);
  z-index: 900;
  transform: translateY(-110%);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.rolling-header.visible {
  transform: translateY(0);
}

.rolling-header-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rolling-menu-btn,
.rolling-search-btn {
  background: #1f1f29;
  color: var(--gold);
  border: 1px solid rgba(219, 166, 23, 0.4);
  border-radius: 7px;
  padding: 6px 11px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  flex-shrink: 0;
}

.rolling-menu-btn:hover,
.rolling-search-btn:hover {
  background: var(--gold);
  color: var(--bg-dark);
}

.rolling-logo {
  font-family: var(--font-display);
  color: #ffffff;
  font-weight: 900;
  font-size: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.rolling-logo span {
  color: var(--gold);
}

.rolling-categories-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  flex: 1;
  padding: 2px 0;
}

.rolling-categories-scroll::-webkit-scrollbar {
  display: none;
}

.rolling-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.08);
  color: #e5e7eb;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}

.rolling-cat-pill:hover,
.rolling-cat-pill.active {
  background: var(--gold);
  color: var(--bg-dark);
  font-weight: 800;
}

/* ==========================================================================
   4. SLIDE-OUT CATEGORY DRAWER (#mobile-menu)
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 86vw;
  background: var(--bg-dark);
  color: #ffffff;
  z-index: 1001;
  transform: translateX(-102%);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  border-right: 2px solid var(--gold);
}

.drawer-overlay.open .mobile-menu-drawer {
  transform: translateX(0);
}

.drawer-header {
  padding: 16px;
  border-bottom: 1px solid var(--border-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-weight: 800;
  font-size: 16px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-close {
  background: transparent;
  border: 1px solid var(--border-dark);
  color: #9ca3af;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
}

.drawer-close:hover {
  color: #ffffff;
  border-color: var(--gold);
}

.drawer-search {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-dark);
}

.drawer-search input {
  width: 100%;
  background: #181820;
  border: 1px solid #2e2e3a;
  color: #ffffff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 13px;
}

.drawer-search input:focus {
  outline: none;
  border-color: var(--gold);
}

.drawer-cat-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px 12px 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.drawer-cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 13.5px;
  color: #e5e7eb;
  cursor: pointer;
  transition: background 0.15s ease;
}

.drawer-cat-item:hover {
  background: rgba(219, 166, 23, 0.15);
  color: var(--gold);
}

.drawer-cat-count {
  font-size: 11.5px;
  font-weight: 700;
  background: #1f1f29;
  color: var(--gold);
  padding: 2px 7px;
  border-radius: 99px;
}

/* ==========================================================================
   5. MAIN CONTENT & ENTRY HEADER (#primary-template)
   ========================================================================== */
.site-content {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 20px 16px 60px;
}

/* Breadcrumb & Quick Stats Bar */
.breadcrumb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.breadcrumb-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumb-links a:hover {
  color: var(--bg-dark);
  text-decoration: underline;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
  padding: 3px 10px;
  border-radius: 99px;
  font-size: 12px;
  font-weight: 700;
}

/* Entry Header H1 */
.entry-header-template {
  text-align: center;
  margin: 10px 0 18px;
}

.entry-header-template h1 {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 38px);
  font-weight: 900;
  color: var(--bg-dark);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  letter-spacing: 0.5px;
}

.entry-header-template h1 .title-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-dark);
  color: var(--gold);
  font-size: 18px;
  width: 38px;
  height: 38px;
  border-radius: 9px;
  border: 2px solid var(--gold);
}

/* ==========================================================================
   6. CLASSIC BLACK-GOLD SCROLLABLE Q&A BOX (.blog-show-text)
   ========================================================================== */
.qa-section-wrapper {
  margin-bottom: 26px;
}

.kc-qa-outer {
  background: #000000;
  color: #ffffff;
  border-radius: var(--radius-md);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
}

.blog-show-text {
  height: 330px;
  overflow-y: auto;
  padding: 24px 5%;
  transition: height 0.3s ease;
}

.blog-show-text.expanded {
  height: auto;
  max-height: none;
  overflow-y: visible;
}

/* Custom Gold Scrollbar inside .blog-show-text */
.blog-show-text::-webkit-scrollbar {
  width: 8px;
}

.blog-show-text::-webkit-scrollbar-track {
  background: #121216;
}

.blog-show-text::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

.blog-show-text h2.qa-main-heading {
  text-align: center;
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
}

.blog-show-text h4.qa-sub-heading {
  text-align: center;
  font-size: 16px;
  color: #e5e7eb;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px dashed rgba(219, 166, 23, 0.4);
}

.blog-show-text .qa-item {
  margin-bottom: 16px;
}

.blog-show-text h3 {
  font-size: 17px;
  font-style: italic;
  color: var(--gold);
  font-weight: 800;
  margin-bottom: 6px;
}

.blog-show-text p {
  font-size: 14.5px;
  line-height: 1.7;
  color: #f3f4f6;
}

.qa-footer-bar {
  background: #111116;
  border-top: 1px dotted rgba(255, 255, 255, 0.25);
  padding: 8px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #9ca3af;
}

.btn-toggle-qa {
  background: transparent;
  color: var(--gold);
  border: 1px solid var(--gold);
  padding: 4px 12px;
  border-radius: 5px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s ease;
}

.btn-toggle-qa:hover {
  background: var(--gold);
  color: #000000;
}

/* ==========================================================================
   7. SEARCH, FILTER & QUICK-JUMP TOOLBAR (.filter-toolbar)
   ========================================================================== */
.filter-toolbar {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
}

.search-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.search-input-wrap {
  flex: 1;
  min-width: 240px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-input-wrap .search-icon {
  position: absolute;
  left: 13px;
  font-size: 15px;
  color: var(--text-muted);
  pointer-events: none;
}

.search-input-wrap input {
  width: 100%;
  padding: 10px 36px 10px 38px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-main);
  transition: border-color 0.2s ease;
}

.search-input-wrap input:focus {
  outline: none;
  border-color: var(--bg-dark);
}

.btn-clear-search {
  position: absolute;
  right: 10px;
  background: #e5e7eb;
  border: none;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 12px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
}

.btn-clear-search.visible {
  display: inline-flex;
}

.sort-select {
  padding: 10px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  background: #f9fafb;
  cursor: pointer;
}

.filter-pills-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-pill {
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid #d1d5db;
  background: #f9fafb;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.tag-pill:hover {
  border-color: var(--bg-dark);
  color: var(--bg-dark);
}

.tag-pill.active {
  background: var(--bg-dark);
  color: var(--gold);
  border-color: var(--bg-dark);
}

.rank-jump-group {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.rank-jump-label {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.rank-jump-btn {
  padding: 4px 9px;
  border-radius: 5px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-secondary);
  cursor: pointer;
}

.rank-jump-btn:hover {
  background: var(--gold);
  color: #000000;
  border-color: var(--gold);
}

.results-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-secondary);
}

/* ==========================================================================
   8. 3-COLUMN RANKED SITES GRID (.ranked-sites-grid)
   1:1 还原原版三列排名卡片 + 悬停遮罩 + 评测弹窗触发
   ========================================================================== */
.ranked-sites-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px 22px;
  margin-bottom: 44px;
}

.site-rank-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid #e5e7eb;
  padding: 14px 14px 18px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  position: relative;
}

.site-rank-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

/* Top 3 Special Highlight */
.site-rank-card.rank-top-1 {
  border: 2px solid var(--gold);
  box-shadow: 0 6px 22px rgba(219, 166, 23, 0.16);
}

/* Rank Number Row (#1., #2., #3.) */
.card-rank-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.rank-number {
  color: var(--neon-green);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: -0.3px;
  line-height: 1.1;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.08);
}

.rank-badges {
  display: flex;
  align-items: center;
  gap: 6px;
}

.crown-badge {
  font-size: 11.5px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--bg-dark);
  color: var(--gold);
}

.domain-pill {
  font-size: 11.5px;
  color: var(--text-muted);
  background: #f3f4f6;
  padding: 2px 7px;
  border-radius: 4px;
  font-family: Consolas, Monaco, monospace;
}

/* 16:9 Screenshot Image Container */
.card-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 7px;
  overflow: hidden;
  background: #14141c;
  border: 1px solid #d1d5db;
  margin-bottom: 12px;
}

.card-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.site-rank-card:hover .card-image-wrap img {
  transform: scale(1.04);
}

/* Hover Overlay inside .card-image-wrap */
.card-overlay-area {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 14, 0.78);
  backdrop-filter: blur(2px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.2s ease;
  padding: 12px;
}

.card-image-wrap:hover .card-overlay-area {
  opacity: 1;
}

.overlay-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 165px;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  text-align: center;
  transition: transform 0.15s ease, background 0.15s ease;
  border: none;
}

.overlay-btn.visit {
  background: var(--gold);
  color: #000000;
}

.overlay-btn.visit:hover {
  background: var(--gold-light);
  transform: scale(1.03);
}

.overlay-btn.review {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.overlay-btn.review:hover {
  background: #ffffff;
  color: #000000;
}

/* Centered Cooper/Bold Site Title */
.card-site-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  text-align: center;
  color: #000000;
  margin-bottom: 8px;
  line-height: 1.25;
}

.card-site-title a:hover {
  color: var(--gold-dark);
  text-decoration: underline;
}

/* Description & Review Link */
.card-site-desc {
  font-size: 14.5px;
  line-height: 1.58;
  color: #1f2937;
  flex: 1;
}

.card-review-trigger {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-weight: 800;
  color: #000000;
  border-bottom: 2px solid var(--gold);
  cursor: pointer;
  margin-left: 4px;
  padding-bottom: 1px;
  transition: color 0.15s ease, background 0.15s ease;
}

.card-review-trigger:hover {
  background: var(--gold);
  color: #000000;
  padding: 0 4px;
  border-radius: 3px;
}

/* ==========================================================================
   9. PORNGUY 的两大推荐！ (.recommend-category)
   ========================================================================== */
.recommend-category {
  margin: 44px 0;
  background: #ffffff;
  border: 2px solid var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 28px 22px 26px;
  position: relative;
  box-shadow: var(--shadow-md);
}

.faceline {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-dark);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: var(--shadow-sm);
}

.more-category-title {
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 900;
  color: var(--bg-dark);
  margin-bottom: 20px;
}

.recommend-category-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.recommend-category-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid #e5e7eb;
  background: var(--bg-dark);
  color: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.recommend-category-item:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
}

.recommend-card-inner {
  display: flex;
  flex-direction: column;
}

.recommend-category-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #181822;
}

.recommend-category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recommend-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--gold);
  color: #000000;
  font-size: 12px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 6px;
}

.recommend-card-footer {
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: linear-gradient(90deg, #0d0d12 0%, #1a1a24 100%);
}

.recommend-card-info h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--gold);
}

.recommend-card-info p {
  font-size: 13px;
  color: #d1d5db;
}

.recommend-cta {
  background: var(--gold);
  color: #000000;
  font-weight: 800;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 6px;
  white-space: nowrap;
}

/* ==========================================================================
   10. 更多分类！ (#more-category - 79 个完整分类卡片网格)
   ========================================================================== */
#more-category {
  margin-top: 44px;
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 28px 20px;
  box-shadow: var(--shadow-sm);
}

.more-cat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #f3f4f6;
}

.more-cat-search {
  padding: 8px 14px;
  border: 2px solid #e5e7eb;
  border-radius: 8px;
  font-size: 13.5px;
  min-width: 240px;
}

.more-cat-search:focus {
  outline: none;
  border-color: var(--bg-dark);
}

.more-category-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  gap: 16px;
}

.more-category-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid #e5e7eb;
  background: #111116;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  cursor: pointer;
}

.more-category-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}

.category-image {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1a24;
}

.category-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.more-category-item:hover .category-image img {
  transform: scale(1.06);
}

.category-number {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(10, 10, 13, 0.88);
  color: var(--gold);
  border: 1px solid var(--gold);
  font-size: 12px;
  font-weight: 900;
  padding: 2px 8px;
  border-radius: 99px;
}

.category-title {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 10px 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  text-align: center;
  border-top: 2px solid var(--gold);
}

/* ==========================================================================
   11. FOOTER (#colophon)
   ========================================================================== */
.site-footer {
  background: var(--bg-dark);
  color: #d1d5db;
  border-top: 4px solid var(--gold);
  padding: 40px 20px 50px;
  text-align: center;
}

.footer-inner {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-warning {
  color: var(--gold);
  font-weight: 800;
  font-size: 15px;
  letter-spacing: 0.5px;
}

.footer-bookmark {
  background: rgba(255, 255, 255, 0.07);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 13.5px;
  color: #ffffff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 6px 0;
}

.footer-links a {
  color: #9ca3af;
  font-style: italic;
  font-size: 14px;
}

.footer-links a:hover {
  color: var(--gold);
  text-decoration: underline;
}

.footer-copy {
  font-size: 13px;
  color: #6b7280;
}

.footer-logo-box {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 22px;
  border-radius: 10px;
  border: 1px solid rgba(219, 166, 23, 0.35);
  background: #14141c;
}

/* ==========================================================================
   12. MODALS (18+ AGE GATE & INTERACTIVE SITE REVIEW MODAL)
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-backdrop.hidden {
  display: none;
}

.modal-box {
  background: #ffffff;
  color: var(--text-main);
  width: 100%;
  max-width: 600px;
  border-radius: var(--radius-lg);
  border: 2px solid var(--gold);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  animation: modalPop 0.2s ease-out;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.95) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

/* Age Gate Specific */
.age-gate-box {
  max-width: 440px;
  background: var(--bg-dark);
  color: #ffffff;
  text-align: center;
  padding: 32px 26px;
}

.age-18-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(219, 166, 23, 0.15);
  border: 2px solid var(--gold);
  color: var(--gold);
  font-size: 24px;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.age-gate-box h2 {
  font-size: 22px;
  margin-bottom: 10px;
  color: #ffffff;
}

.age-gate-box p {
  font-size: 14px;
  color: #9ca3af;
  margin-bottom: 22px;
  line-height: 1.6;
}

.age-gate-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
}

.btn-age-enter {
  background: var(--gold);
  color: #000000;
  border: none;
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
}

.btn-age-enter:hover {
  background: var(--gold-light);
}

.btn-age-leave {
  background: transparent;
  color: #9ca3af;
  border: 1px solid #374151;
  padding: 11px 18px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

/* Review Modal Specific */
.review-modal-header {
  background: var(--bg-dark);
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold);
}

.review-modal-title-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.review-rank-pill {
  background: var(--neon-green);
  color: #000000;
  font-weight: 900;
  font-size: 14px;
  padding: 3px 9px;
  border-radius: 6px;
}

.review-modal-close {
  background: transparent;
  border: 1px solid #374151;
  color: #d1d5db;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  font-size: 18px;
  cursor: pointer;
}

.review-modal-body {
  padding: 20px;
  max-height: 80vh;
  overflow-y: auto;
}

.review-preview-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.review-thumb-box {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid #d1d5db;
  aspect-ratio: 16 / 9;
  background: #111116;
}

.review-thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.review-scores-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.score-bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  font-weight: 700;
}

.score-track {
  flex: 1;
  height: 7px;
  background: #e5e7eb;
  border-radius: 99px;
  margin: 0 10px;
  overflow: hidden;
}

.score-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  border-radius: 99px;
}

.review-verdict-box {
  background: #f9fafb;
  border-left: 4px solid var(--gold);
  padding: 14px 16px;
  border-radius: 6px;
  margin-bottom: 18px;
  font-size: 14.5px;
  line-height: 1.65;
}

.review-safety-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
  padding: 9px 12px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 18px;
}

.review-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.btn-visit-primary {
  background: var(--bg-dark);
  color: var(--gold);
  border: 2px solid var(--gold);
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 900;
  font-size: 14px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-visit-primary:hover {
  background: var(--gold);
  color: #000000;
}

/* Back to Top Floating Button */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-dark);
  color: var(--gold);
  border: 2px solid var(--gold);
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  z-index: 800;
  opacity: 0;
  pointer-events: none;
  transition: all 0.2s ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--gold);
  color: #000000;
  transform: translateY(-3px);
}

/* ==========================================================================
   13. CHINA NO-VPN THREE-NETWORK (电信/联通/移动) DIRECT-CONNECT STYLES
   ========================================================================== */
.cn-network-banner {
  background: linear-gradient(90deg, #0a0a0d 0%, #171721 50%, #0a0a0d 100%);
  border: 1.5px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  color: #ffffff;
  box-shadow: var(--shadow-sm);
}

.cn-banner-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cn-banner-badge {
  background: var(--gold);
  color: #000000;
  font-weight: 900;
  font-size: 12.5px;
  padding: 3px 9px;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cn-isp-live-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cn-isp-live-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  padding: 3px 9px;
  border-radius: 99px;
  border: 1px solid rgba(0, 237, 0, 0.35);
}

.cn-isp-live-item .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--neon-green-bright);
  box-shadow: 0 0 6px var(--neon-green-bright);
}

.cn-banner-right {
  font-size: 12px;
  color: #d1d5db;
  font-weight: 600;
}

.cn-banner-right strong {
  color: var(--gold);
}

/* Card Thumbnail Top-Left No-VPN Badge */
.thumb-novpn-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  background: rgba(10, 10, 13, 0.88);
  color: var(--neon-green-bright);
  border: 1px solid var(--neon-green-bright);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 5px;
  backdrop-filter: blur(4px);
  pointer-events: none;
}

.thumb-ping-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 2;
  background: rgba(10, 10, 13, 0.88);
  color: var(--gold);
  border: 1px solid rgba(219, 166, 23, 0.6);
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 5px;
  font-family: Consolas, Monaco, monospace;
  pointer-events: none;
}

/* Card Three-Network (电信/联通/移动) Strip */
.cn-isp-strip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 7px;
  padding: 7px 9px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cn-isp-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}

.isp-badges-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.isp-mini-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  padding: 1.5px 6px;
  border-radius: 4px;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}

.isp-mini-pill .isp-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #10b981;
}

.cdn-node-label {
  font-size: 11px;
  font-weight: 700;
  color: #1e293b;
  background: #fef3c7;
  border: 1px solid #fde68a;
  padding: 1.5px 6px;
  border-radius: 4px;
  white-space: nowrap;
}

/* Review Modal China ISP Telemetry Grid */
.cn-isp-modal-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.cn-isp-modal-card {
  background: #111116;
  color: #ffffff;
  border: 1px solid #272732;
  border-radius: 7px;
  padding: 9px 10px;
  text-align: center;
}

.cn-isp-modal-card .label {
  font-size: 11.5px;
  color: #9ca3af;
  margin-bottom: 3px;
}

.cn-isp-modal-card .val {
  font-size: 13.5px;
  font-weight: 900;
  color: var(--neon-green-bright);
}

.cn-isp-modal-card .val.gold {
  color: var(--gold);
}

/* Live Browser Reachability Probe Styles */
.btn-live-probe {
  background: var(--neon-green-bright);
  color: #000000;
  border: none;
  padding: 6px 13px;
  border-radius: 6px;
  font-size: 12.5px;
  font-weight: 900;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  box-shadow: 0 0 12px rgba(0, 237, 0, 0.35);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-live-probe:hover {
  transform: scale(1.03);
  background: #33ff33;
}

.live-probe-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 4px;
  border-top: 1px dashed #e2e8f0;
  font-size: 11.5px;
  font-weight: 700;
}

.live-badge-ok {
  color: #047857;
  background: #d1fae5;
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 800;
}

.live-badge-fail {
  color: #b91c1c;
  background: #fee2e2;
  padding: 1px 7px;
  border-radius: 4px;
  font-weight: 800;
}

.live-badge-wait {
  color: #4b5563;
  background: #f3f4f6;
  padding: 1px 7px;
  border-radius: 4px;
}

/* ==========================================================================
   14. RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 992px) {
  .ranked-sites-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .header-top-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .header-left-group,
  .header-right-group {
    justify-content: space-between;
  }
  .logo {
    justify-content: center;
    padding: 4px 0;
  }
  .ranked-sites-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .recommend-category-row {
    grid-template-columns: 1fr;
  }
  .review-preview-row {
    grid-template-columns: 1fr;
  }
  .cn-isp-modal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .more-category-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
