﻿/*
 Theme Name:   璧涘崥鏈嬪厠
 Theme URI:    https://jxgzhc.top
 Description:  璧涘崥鏈嬪厠绉戞妧椋庢牸WordPress涓婚
 Author:       瀹嬪啲鐞? Author URI:   https://jxgzhc.top
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  cyberpunk
*/

/* ========== 鍩虹鍙橀噺 ========== */
:root {
  --bg-dark: #050810;
  --bg-card: #0d1526;
  --bg-card-hover: #162038;
  --neon-cyan: #00f5ff;
  --neon-pink: #ff0080;
  --neon-purple: #8b5cf6;
  --neon-green: #00ff88;
  --text-primary: #e8f0ff;
  --text-secondary: #6b7aa0;
  --border-color: rgba(0, 245, 255, 0.15);
  --glow-cyan: 0 0 20px rgba(0, 245, 255, 0.5);
  --glow-pink: 0 0 20px rgba(255, 0, 128, 0.5);
}

/* ========== 鍏ㄥ眬鏍峰紡 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', -apple-system, "Microsoft YaHei", sans-serif;
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: var(--neon-cyan);
  text-decoration: none;
  transition: all 0.3s;
}

a:hover {
  color: var(--neon-pink);
}

h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.4;
}

/* ========== 鑳屾櫙鍔ㄧ敾灞?========== */
.bg-animation {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: -1;
  overflow: hidden;
}

.grid-lines {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: 
    linear-gradient(90deg, rgba(0, 245, 255, 0.03) 1px, transparent 1px),
    linear-gradient(rgba(0, 245, 255, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
  0% { transform: perspective(500px) rotateX(60deg) translateY(0); }
  100% { transform: perspective(500px) rotateX(60deg) translateY(60px); }
}

.floating-orbs {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.4;
  animation: float 15s ease-in-out infinite;
}

.orb-1 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--neon-cyan), transparent);
  top: 10%; left: 10%;
  animation-delay: 0s;
}

.orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, var(--neon-purple), transparent);
  top: 50%; right: 10%;
  animation-delay: -5s;
}

.orb-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--neon-pink), transparent);
  bottom: 10%; left: 30%;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  25% { transform: translate(30px, -30px) scale(1.1); }
  50% { transform: translate(-20px, 20px) scale(0.9); }
  75% { transform: translate(20px, 30px) scale(1.05); }
}

#particles {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* ========== 甯冨眬 ========== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.site-wrap {
  display: flex;
  gap: 30px;
  padding: 50px 0;
}

.main-content {
  flex: 1;
  min-width: 0;
}

.sidebar {
  width: 320px;
  flex-shrink: 0;
}

/* ========== 澶撮儴 ========== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: linear-gradient(180deg, rgba(5, 8, 16, 0.98) 0%, rgba(5, 8, 16, 0.9) 100%);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: all 0.3s;
}

.site-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), var(--neon-purple), var(--neon-pink), transparent);
}

.header-scan-line {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
  animation: scan 3s linear infinite;
}

@keyframes scan {
  0% { transform: translateX(-100%); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(100%); opacity: 0; }
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
}

/* Logo */
.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
}

.logo-glow {
  position: absolute;
  width: 50px; height: 50px;
  background: radial-gradient(circle, var(--neon-cyan), transparent);
  filter: blur(20px);
  opacity: 0.5;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(1.2); }
}

.logo {
  position: relative;
  z-index: 1;
}

.logo a {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  background: linear-gradient(90deg, #00F5FF, #8B5CF6, #FF0080, #00FF88, #00F5FF);
  background-size: 300% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
  animation: logoGradient 6s ease infinite;
}

@keyframes logoGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.logo-bracket {
  -webkit-text-fill-color: #00F5FF;
  font-weight: 400;
  animation: bracketGlow 6s ease infinite;
}

@keyframes bracketGlow {
  0%, 100% { -webkit-text-fill-color: #00F5FF; }
  33% { -webkit-text-fill-color: #8B5CF6; }
  66% { -webkit-text-fill-color: #FF0080; }
}

.logo a:hover {
  filter: brightness(1.3);
  text-shadow: none;
}

.logo-status {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.65rem;
  color: var(--neon-green);
  background: rgba(0, 255, 136, 0.1);
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 136, 0.3);
  animation: blink 1.5s ease-in-out infinite;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* 瀵艰埅 */
.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-pills ul {
  display: flex;
  gap: 8px;
  list-style: none;
}

.nav-pills li a {
  display: block;
  padding: 10px 20px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 8px;
  border: 1px solid transparent;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.nav-pills li a::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 245, 255, 0.1), transparent);
  transition: left 0.5s;
}

.nav-pills li a:hover::before {
  left: 100%;
}

.nav-pills li a:hover {
  color: var(--neon-cyan);
  border-color: rgba(0, 245, 255, 0.3);
  background: rgba(0, 245, 255, 0.05);
}

.nav-pills li.current-menu-item a {
  color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.1);
  border-color: var(--neon-cyan);
}

.nav-time {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  color: var(--neon-purple);
  padding: 8px 15px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 6px;
}

/* ========== Hero鍖哄煙 ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 0 80px;
  background: radial-gradient(ellipse at center top, rgba(0, 245, 255, 0.1) 0%, transparent 50%);
}

.hero-particles {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(2px 2px at 20px 30px, var(--neon-cyan), transparent),
    radial-gradient(2px 2px at 40px 70px, var(--neon-purple), transparent),
    radial-gradient(1px 1px at 90px 40px, var(--text-primary), transparent),
    radial-gradient(2px 2px at 130px 80px, var(--neon-pink), transparent),
    radial-gradient(1px 1px at 160px 30px, var(--neon-cyan), transparent);
  background-size: 200px 100px;
  animation: heroParticles 4s linear infinite;
  opacity: 0.5;
}

@keyframes heroParticles {
  0% { background-position: 0 0; }
  100% { background-position: 0 100px; }
}

.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--neon-green);
  background: rgba(0, 255, 136, 0.08);
  padding: 8px 20px;
  border-radius: 30px;
  border: 1px solid rgba(0, 255, 136, 0.3);
  margin-bottom: 30px;
  letter-spacing: 2px;
  animation: fadeInDown 0.8s ease-out;
}

.badge-dot {
  width: 8px; height: 8px;
  background: var(--neon-green);
  border-radius: 50%;
  animation: pulse 1s ease-in-out infinite;
}

.hero-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 4.5rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.title-line {
  display: block;
  background: linear-gradient(135deg, var(--text-primary) 0%, var(--neon-cyan) 50%, var(--neon-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(0, 245, 255, 0.3));
}

.hero-subtitle {
  font-size: 1.3rem;
  color: var(--text-secondary);
  margin-bottom: 50px;
  letter-spacing: 3px;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

/* 缁熻鏁板瓧 */
.hero-stats {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-bottom: 50px;
  animation: fadeInUp 0.8s ease-out 0.5s both;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.stat-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: var(--glow-cyan);
}

.stat-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 2px;
}

.stat-divider {
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, transparent, var(--neon-cyan), transparent);
}

/* 鎼滅储妗?*/
.search-form {
  margin-bottom: 80px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.search-wrapper {
  display: flex;
  align-items: center;
  background: rgba(13, 21, 38, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 60px;
  padding: 8px;
  transition: all 0.3s;
}

.search-wrapper:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.2);
}

.search-icon {
  font-size: 1.5rem;
  color: var(--text-secondary);
  padding: 0 15px 0 20px;
}

.search-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 1rem;
  padding: 12px 0;
}

.search-wrapper input::placeholder {
  color: var(--text-secondary);
}

.search-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #000;
  border: none;
  padding: 12px 25px;
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.search-btn:hover {
  transform: scale(1.05);
  box-shadow: var(--glow-cyan);
}

.btn-line {
  width: 2px; height: 15px;
  background: #000;
  opacity: 0.3;
}

/* 鐑棬鏍囩 */
.hero-tags {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
  padding-top: 20px;
  animation: fadeInUp 0.8s ease-out 0.7s both;
}

.tag-label {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.75rem;
  color: var(--neon-pink);
  letter-spacing: 2px;
}

.hero-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 0, 128, 0.1);
  border: 1px solid rgba(255, 0, 128, 0.3);
  border-radius: 20px;
  color: var(--neon-pink);
  font-size: 0.85rem;
  transition: all 0.3s;
}

.hero-tag:hover {
  background: var(--neon-pink);
  color: #000;
  box-shadow: var(--glow-pink);
}

/* 婊氬姩鎻愮ず */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  font-family: 'Orbitron', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 3px;
  animation: fadeInUp 1s ease-out 1s both;
}

.scroll-arrow {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.scroll-arrow span {
  width: 10px; height: 10px;
  border-right: 2px solid var(--neon-cyan);
  border-bottom: 2px solid var(--neon-cyan);
  transform: rotate(45deg);
  animation: scrollDown 1.5s ease-in-out infinite;
}

.scroll-arrow span:nth-child(2) { animation-delay: 0.2s; }
.scroll-arrow span:nth-child(3) { animation-delay: 0.4s; }

@keyframes scrollDown {
  0%, 100% { opacity: 0; transform: rotate(45deg) translateY(-5px); }
  50% { opacity: 1; }
}

/* 鍔ㄧ敾 */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 鍝嶅簲寮?*/
@media (max-width: 768px) {
  .hero-title { font-size: 2.5rem; }
  .hero-subtitle { font-size: 1rem; letter-spacing: 1px; }
  .hero-stats { gap: 25px; }
  .stat-value { font-size: 1.8rem; }
  .nav-time { display: none; }
  .nav-pills ul { gap: 5px; }
  .nav-pills li a { padding: 8px 12px; font-size: 0.8rem; }
}

/* ========== 浜岀骇椤甸潰椤堕儴妯箙 ========== */
.page-banner {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 130px 0 40px;
}

.page-banner-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 38px;
  font-weight: 900;
  color: #ffffff;
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.page-banner-desc {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  margin: 0 0 8px;
  letter-spacing: 1px;
}

.page-banner-count {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.1);
  display: inline-block;
  padding: 4px 16px;
  border-radius: 20px;
  border: 1px solid rgba(0, 245, 255, 0.2);
  margin: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  letter-spacing: 3px;
}

/* ========== 鎼滅储妗?========== */
.search-form {
  max-width: 600px;
  margin: 30px auto 0;
}

.search-form input {
  width: 100%;
  padding: 15px 25px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50px;
  color: var(--text-primary);
  font-size: 1rem;
}

.search-form input:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.2);
}

/* ========== 鏂囩珷鍗＄墖 ========== */
.post-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 25px;
  transition: all 0.4s;
}

.post-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 30px rgba(0, 245, 255, 0.15);
  transform: translateY(-5px);
}

.post-card-inner {
  display: flex;
  gap: 25px;
  padding: 25px;
}

.post-card-image {
  width: 280px;
  height: 180px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 8px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.post-card-content {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-meta {
  display: flex;
  gap: 20px;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.post-card-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.post-card-title a {
  color: #ffffff;
}

.post-card-title a:hover {
  color: var(--neon-cyan);
}

.post-card-excerpt {
  color: var(--text-secondary);
  font-size: 0.95rem;
  flex: 1;
}

.post-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid var(--border-color);
}

.read-more {
  padding: 8px 20px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #000 !important;
  font-weight: 600;
  border-radius: 20px;
  font-size: 0.85rem;
}

.read-more:hover {
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.5);
}

/* ========== 鍒嗛〉 ========== */
.pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 40px 0;
}

.pagination a,
.pagination span {
  padding: 10px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.pagination a:hover,
.pagination .current {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
}

/* ========== 渚ц竟鏍?========== */
.widget {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 25px;
}

.widget-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  color: var(--neon-cyan);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.widget ul {
  list-style: none;
}

.widget ul li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.widget ul li:last-child {
  border-bottom: none;
}

/* 鍒嗙被鍒楄〃 */
.cat-item a {
  display: flex;
  justify-content: space-between;
  color: var(--text-secondary);
}

.cat-item a:hover {
  color: var(--neon-cyan);
}

.cat-item .count {
  background: rgba(0, 245, 255, 0.1);
  padding: 2px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
}

/* 浜岀骇鍒嗙被缂╄繘 */
.category-list .children {
  list-style: none;
  padding-left: 20px;
  margin-top: 5px;
}

.category-list .children li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.03);
}

.category-list .children li a {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.category-list .children li a:hover {
  color: var(--neon-purple);
}

.category-list .children li::before {
  content: '鈹?';
  color: var(--neon-cyan);
  opacity: 0.4;
  font-size: 0.8rem;
}

/* ========== 搴曢儴 ========== */
.site-footer {
  background: rgba(0, 0, 0, 0.5);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand .logo {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 15px;
  display: inline-block;
}

.footer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  color: var(--neon-cyan);
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.05);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* ========== 鏂囩珷椤?========== */
.single-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 20px;
}

.single-header {
  margin-bottom: 40px;
  text-align: center;
  padding-top: 30px;
}

.single-title {
  font-size: 2.4rem;
  margin-bottom: 20px;
  color: #ffffff;
  font-weight: 800;
  line-height: 1.3;
}

.single-meta {
  display: flex;
  justify-content: center;
  gap: 25px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.single-meta span {
  background: var(--bg-card);
  padding: 6px 15px;
  border-radius: 20px;
  border: 1px solid var(--border-color);
}

.single-content {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 50px;
  margin-bottom: 50px;
}

.single-content p {
  margin-bottom: 20px;
  color: var(--text-primary);
  font-size: 1.05rem;
  line-height: 1.9;
}

.single-content h2 {
  margin: 40px 0 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  color: var(--neon-cyan);
}

.single-content h3 {
  margin: 30px 0 15px;
  color: var(--neon-pink);
}

.single-content ul,
.single-content ol {
  margin: 0 0 20px 25px;
  color: var(--text-primary);
}

.single-content li {
  margin-bottom: 10px;
  line-height: 1.8;
}

.single-content a {
  color: var(--neon-cyan);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.single-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  border: 1px solid var(--border-color);
}

.single-content blockquote {
  border-left: 3px solid var(--neon-cyan);
  padding-left: 20px;
  margin: 25px 0;
  color: var(--text-secondary);
  font-style: italic;
}

.single-content code {
  background: rgba(0, 245, 255, 0.1);
  padding: 2px 8px;
  border-radius: 4px;
  font-family: 'Consolas', monospace;
  color: var(--neon-cyan);
}

.single-content pre {
  background: rgba(0, 0, 0, 0.3);
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  margin: 20px 0;
  border: 1px solid var(--border-color);
}

/* 鏍囩鏍峰紡 */
.post-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
}

.tags-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.tags-list a {
  display: inline-block;
  background: linear-gradient(135deg, rgba(0, 245, 255, 0.1), rgba(139, 92, 246, 0.1));
  color: var(--neon-cyan);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.85rem;
  margin: 3px;
  border: 1px solid var(--neon-cyan);
  transition: all 0.3s;
}

.tags-list a:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.5);
}

/* ========== 鐩稿叧鏂囩珷 ========== */
.related-posts {
  margin-bottom: 50px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--neon-cyan);
}

.title-icon {
  font-size: 1.2rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.related-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.4s;
}

.related-card:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 245, 255, 0.15);
}

.related-image {
  height: 160px;
  overflow: hidden;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  margin: 0;
  border: none;
  transition: transform 0.4s;
}

.related-card:hover .related-image img {
  transform: scale(1.1);
}

.related-image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.related-info {
  padding: 20px;
}

.related-date {
  font-size: 0.8rem;
  color: var(--neon-cyan);
}

.related-title {
  font-size: 1rem;
  margin: 10px 0;
  line-height: 1.4;
}

.related-title a {
  color: var(--text-primary);
}

.related-title a:hover {
  color: var(--neon-cyan);
}

.related-excerpt {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== 涓婁笅绡囧鑸?========== */
.post-navigation {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 50px;
}

.nav-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 25px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  transition: all 0.3s;
}

.nav-item:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.05);
}

.nav-prev {
  text-align: left;
}

.nav-next {
  text-align: right;
}

.nav-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.nav-title {
  font-size: 0.95rem;
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.4;
}

.nav-item:hover .nav-title {
  color: var(--neon-cyan);
}

/* ========== 璇勮鍖哄煙 ========== */
.comments-section {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
}

.comments-section .section-title {
  margin-bottom: 25px;
}

/* WordPress榛樿璇勮琛ㄥ崟鏍峰紡瑕嗙洊 */
#comments {
  color: var(--text-primary);
}

.comment-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.comment {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-color);
}

.comment:last-child {
  border-bottom: none;
}

.comment-author {
  color: var(--neon-cyan);
  font-weight: 600;
}

.comment-metadata {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-top: 5px;
}

.comment-content {
  margin-top: 15px;
  line-height: 1.7;
}

#commentform label {
  color: var(--text-secondary);
  display: block;
  margin-bottom: 8px;
}

#commentform input[type="text"],
#commentform input[type="email"],
#commentform textarea {
  width: 100%;
  padding: 12px 15px;
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-primary);
  margin-bottom: 15px;
}

#commentform input[type="text"]:focus,
#commentform input[type="email"]:focus,
#commentform textarea:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.2);
}

#commentform textarea {
  min-height: 120px;
  resize: vertical;
}

#commentform input[type="submit"] {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #000;
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
}

#commentform input[type="submit"]:hover {
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.5);
  transform: translateY(-2px);
}

/* ========== 绉诲姩绔€傞厤 ========== */
@media (max-width: 900px) {
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .related-grid .related-card:last-child {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  .single-post {
    padding: 20px 15px;
  }
  
  .single-title {
    font-size: 1.6rem;
  }
  
  .single-content {
    padding: 25px;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .related-grid .related-card:last-child {
    grid-column: span 1;
  }
  
  .post-navigation {
    grid-template-columns: 1fr;
  }
}

/* ========== 404椤甸潰 ========== */
.error-404 {
  text-align: center;
  padding: 100px 0;
}

.error-404 h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 8rem;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-pink));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.error-404 p {
  color: var(--text-secondary);
  font-size: 1.2rem;
  margin-bottom: 30px;
}

/* ========== 绉诲姩绔?========== */
@media (max-width: 1024px) {
  .site-wrap { flex-direction: column; }
  .sidebar { width: 100%; }
  .post-card-inner { flex-direction: column; }
  .post-card-image { width: 100%; height: 200px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .header-inner { flex-direction: column; height: auto; padding: 20px; gap: 20px; }
  .main-nav ul { flex-wrap: wrap; justify-content: center; gap: 20px; }
  .hero h1 { font-size: 2rem; }
  .footer-grid { grid-template-columns: 1fr; }
  .single-content { padding: 25px; }
}

/* ========== 鏂囩珷鍐呭椤?2.0 鏂版牱寮?========== */

/* 椤堕儴瀵艰埅鏍?*/
.single-top-nav {
  background: rgba(5, 8, 16, 0.95);
  border-bottom: 1px solid var(--border-color);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.single-top-nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.back-home {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.back-home:hover {
  color: var(--neon-cyan);
}

.back-home .nav-icon {
  font-size: 1.2rem;
}

.post-nav-links {
  display: flex;
  gap: 20px;
}

.post-nav-links .nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.post-nav-links .nav-link:hover {
  border-color: var(--neon-cyan);
  color: var(--neon-cyan);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.2);
}

/* 鏂囩珷澶撮儴澶у尯鍩?*/
.single-hero {
  position: relative;
  padding: 60px 0 50px;
  overflow: hidden;
}

.single-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0a1628 0%, #1a0533 50%, #0d1b3e 100%);
}

.single-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(0, 245, 255, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(0, 245, 255, 0.05) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: heroGridMove 15s linear infinite;
}

@keyframes heroGridMove {
  0% { transform: translateY(0); }
  100% { transform: translateY(40px); }
}

.single-hero-bg::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 245, 255, 0.1), transparent 60%);
  filter: blur(60px);
}

.single-hero .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.single-hero-content {
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}

.single-categories {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

.cat-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neon-cyan);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cat-badge:hover {
  background: rgba(0, 245, 255, 0.2);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.3);
}

.single-main-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, var(--neon-cyan) 50%, var(--neon-pink) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.single-subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto 30px;
  line-height: 1.7;
}

.single-meta-bar {
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.meta-icon {
  font-size: 1rem;
}

/* 鐗硅壊鍥剧墖 */
.single-featured-image {
  background: var(--bg-dark);
  padding: 40px 0;
}

.single-featured-image .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.single-featured-image .featured-img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* 鏂囩珷涓讳綋鍖哄煙 */
.single-body {
  padding: 50px 0 80px;
}

.single-body .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.single-layout {
  display: flex;
  gap: 40px;
}

/* 宸︿晶杈规爮 */
.single-sidebar-left {
  width: 260px;
  flex-shrink: 0;
}

.sidebar-sticky {
  position: sticky;
  top: 100px;
}

.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
}

.sidebar-card .card-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.9rem;
  color: var(--neon-cyan);
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

/* 淇℃伅鍒楄〃 */
.info-list {
  list-style: none;
}

.info-list li {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-list li:last-child {
  border-bottom: none;
}

.info-label {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.info-value {
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 500;
  text-align: right;
}

/* 鏍囩浜?*/
.tags-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tags-cloud .tag-link {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 15px;
  font-size: 0.8rem;
  color: var(--neon-purple);
  transition: all 0.3s;
}

.tags-cloud .tag-link:hover {
  background: rgba(139, 92, 246, 0.2);
  border-color: var(--neon-purple);
  transform: translateY(-2px);
}

.no-tags {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* 鐩綍瀵艰埅 */
.toc-list {
  list-style: none;
}

.toc-list li {
  margin-bottom: 8px;
}

.toc-list a {
  display: block;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: all 0.3s;
}

.toc-list a:hover {
  background: rgba(0, 245, 255, 0.1);
  color: var(--neon-cyan);
}

.toc-h2 a {
  font-weight: 600;
}

.toc-h3 a {
  padding-left: 24px;
  font-size: 0.8rem;
}

.toc-empty, .toc-placeholder {
  color: var(--text-secondary);
  font-size: 0.85rem;
  text-align: center;
  padding: 20px 0;
}

/* 鍒嗕韩鎸夐挳 */
.share-buttons {
  display: flex;
  gap: 10px;
}

.share-btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s;
}

.share-btn:hover {
  border-color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.1);
  transform: translateY(-3px);
}

/* 姝ｆ枃鍖哄煙 */
.single-main-content {
  flex: 1;
  min-width: 0;
}

.post-article {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
}

.article-content {
  padding: 50px 60px;
  font-size: 1.05rem;
  line-height: 2;
}

/* 姝ｆ枃鎺掔増 */
.article-content p {
  margin-bottom: 1.8em;
}

.article-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.8rem;
  margin: 2.5em 0 1em;
  padding-bottom: 0.5em;
  border-bottom: 2px solid var(--border-color);
  color: var(--neon-cyan);
}

.article-content h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.4rem;
  margin: 2em 0 0.8em;
  color: var(--neon-purple);
}

.article-content h4 {
  font-size: 1.2rem;
  margin: 1.5em 0 0.6em;
  color: var(--neon-pink);
}

.article-content ul, .article-content ol {
  margin: 1.5em 0;
  padding-left: 2em;
}

.article-content li {
  margin-bottom: 0.5em;
}

.article-content blockquote {
  margin: 2em 0;
  padding: 25px 30px;
  background: rgba(0, 245, 255, 0.05);
  border-left: 4px solid var(--neon-cyan);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-secondary);
}

.article-content blockquote p:last-child {
  margin-bottom: 0;
}

.article-content code {
  background: rgba(0, 245, 255, 0.1);
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Consolas', 'Monaco', monospace;
  font-size: 0.9em;
  color: var(--neon-cyan);
}

.article-content pre {
  background: #0d1117;
  padding: 25px;
  border-radius: 12px;
  overflow-x: auto;
  margin: 2em 0;
  border: 1px solid var(--border-color);
}

.article-content pre code {
  background: none;
  padding: 0;
  color: #e6edf3;
}

.article-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 2em 0;
}

.article-content a {
  border-bottom: 1px dashed var(--neon-cyan);
}

.article-content a:hover {
  border-bottom-style: solid;
}

.article-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2em 0;
}

.article-content th, .article-content td {
  padding: 12px 15px;
  border: 1px solid var(--border-color);
  text-align: left;
}

.article-content th {
  background: rgba(0, 245, 255, 0.1);
  font-weight: 600;
  color: var(--neon-cyan);
}

/* 鏂囩珷搴曢儴鏍囩 */
.post-tags-bottom {
  padding: 30px 60px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  gap: 15px;
  flex-wrap: wrap;
}

.tags-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.tag-item {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(0, 245, 255, 0.08);
  border: 1px solid rgba(0, 245, 255, 0.2);
  border-radius: 20px;
  font-size: 0.85rem;
  color: var(--neon-cyan);
}

.tag-item:hover {
  background: rgba(0, 245, 255, 0.15);
  border-color: var(--neon-cyan);
}

/* 浣滆€呬俊鎭 */
.author-box {
  display: flex;
  gap: 25px;
  padding: 35px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  margin-top: 40px;
}

.author-avatar .avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid var(--neon-cyan);
  box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.author-info {
  flex: 1;
}

.author-name {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.2rem;
  color: var(--neon-cyan);
  margin-bottom: 10px;
}

.author-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 15px;
}

.author-link {
  font-size: 0.85rem;
  font-weight: 600;
}

/* 涓婁笅绡囧ぇ鍗＄墖瀵艰埅 */
.post-nav-big {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
  margin-top: 50px;
}

.nav-card {
  display: flex;
  flex-direction: column;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  transition: all 0.3s;
}

.nav-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 10px 40px rgba(0, 245, 255, 0.1);
  transform: translateY(-5px);
}

.nav-card.nav-next {
  text-align: right;
}

.nav-empty {
  visibility: hidden;
}

.nav-label {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.nav-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  margin-bottom: 10px;
}

.nav-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* 鐩稿叧鏂囩珷 */
.related-section {
  margin-top: 60px;
}

.related-section .section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.related-section .title-icon {
  font-size: 1.4rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.related-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s;
}

.related-item:hover {
  border-color: var(--neon-cyan);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 245, 255, 0.1);
}

.related-link {
  display: block;
}

.related-thumb {
  height: 140px;
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

.thumb-placeholder {
  font-size: 3rem;
}

.related-content {
  padding: 20px;
}

.related-date {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-bottom: 8px;
  display: block;
}

.related-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* 璇勮鍖哄煙 */
.comments-section {
  margin-top: 60px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 40px;
}

.comments-section .section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 杩斿洖椤堕儴鎸夐挳 */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 50px;
  height: 50px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  color: var(--neon-cyan);
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--neon-cyan);
  color: #000;
  box-shadow: 0 0 25px rgba(0, 245, 255, 0.5);
}

/* ========== 鏂囩珷鍐呭椤?绉诲姩绔€傞厤 ========== */
@media (max-width: 1200px) {
  .single-layout {
    flex-direction: column;
  }
  
  .single-sidebar-left {
    width: 100%;
    order: 2;
  }
  
  .sidebar-sticky {
    position: static;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .sidebar-card {
    margin-bottom: 0;
  }
  
  .toc-card {
    grid-column: span 2;
  }
  
  .single-main-content {
    order: 1;
  }
  
  .related-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .single-top-nav .container {
    padding: 0 15px;
  }
  
  .post-nav-links {
    display: none;
  }
  
  .single-hero {
    padding: 40px 0 30px;
  }
  
  .single-hero .container {
    padding: 0 20px;
  }
  
  .single-main-title {
    font-size: 1.8rem;
  }
  
  .single-subtitle {
    font-size: 1rem;
  }
  
  .single-meta-bar {
    gap: 15px;
  }
  
  .single-featured-image {
    padding: 20px 0;
  }
  
  .single-featured-image .container {
    padding: 0 15px;
  }
  
  .single-body .container {
    padding: 0 15px;
  }
  
  .sidebar-sticky {
    grid-template-columns: 1fr;
  }
  
  .toc-card {
    grid-column: span 1;
  }
  
  .article-content {
    padding: 30px 20px;
    font-size: 1rem;
  }
  
  .article-content h2 {
    font-size: 1.4rem;
  }
  
  .article-content h3 {
    font-size: 1.2rem;
  }
  
  .post-tags-bottom {
    padding: 20px;
  }
  
  .author-box {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px;
  }
  
  .post-nav-big {
    grid-template-columns: 1fr;
  }
  
  .nav-card.nav-next {
    text-align: left;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .comments-section {
    padding: 25px 20px;
  }
  
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* ===== 文章内特色图 ===== */
.article-featured-image {
  margin-bottom: 30px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 245, 255, 0.15);
  border: 1px solid rgba(0, 245, 255, 0.2);
}
.article-featured-image img {
  width: 100%;
  height: auto;
  display: block;
  max-height: 500px;
  object-fit: cover;
}

/* ===== 强制正文样式（覆盖所有内联样式） ===== */
.article-content,
.article-content div,
.article-content p,
.article-content h1,
.article-content h2,
.article-content h3,
.article-content h4,
.article-content h5,
.article-content li,
.article-content span,
.article-content font {
  color: #e0e6f6 !important;
  background: transparent !important;
  max-width: 100% !important;
  font-family: "Microsoft YaHei", "PingFang SC", "Segoe UI", sans-serif !important;
  text-shadow: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}
.article-content h2,
.article-content h3,
.article-content h4 {
  color: #00f5ff !important;
  border-left-color: #00f5ff !important;
}
.article-content h2 {
  font-size: 20px;
  font-weight: 700;
  border-left: 3px solid #00f5ff;
  padding-left: 12px;
  margin: 30px 0 14px;
}
.article-content h3 {
  font-size: 17px;
  font-weight: 600;
  border-left: 3px solid #ff0080;
  padding-left: 12px;
  margin: 24px 0 10px;
}
.article-content p {
  font-size: 15px !important;
  line-height: 2 !important;
  margin: 14px 0 !important;
  color: #ccd6f6 !important;
}
.article-content a {
  color: #00f5ff !important;
  text-decoration: none;
  border-bottom: 1px solid rgba(0,245,255,0.3);
  transition: border-color 0.3s;
}
.article-content a:hover {
  border-bottom-color: #00f5ff;
  color: #80f8ff !important;
}
.article-content strong {
  color: #ffffff !important;
  font-weight: 700;
}
.article-content em {
  color: #d0b0ff !important;
  font-style: italic;
}
.article-content blockquote,
.article-content [style*="background"],
.article-content [style*="fafafa"],
.article-content [style*="f8f0f0"],
.article-content [style*="f5f5f5"],
.article-content [style*="fff8f0"],
.article-content [style*="ffd59e"] {
  background: rgba(0,245,255,0.05) !important;
  border: 1px solid rgba(0,245,255,0.2) !important;
  border-left: 3px solid #00f5ff !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  margin: 16px 0 !important;
  color: #ccd6f6 !important;
}
.article-content img {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 10px !important;
  border: 1px solid rgba(0,245,255,0.15) !important;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4) !important;
  display: block;
  margin: 20px auto !important;
}
.article-content ul,
.article-content ol {
  padding-left: 24px !important;
  margin: 14px 0 !important;
}
.article-content li {
  color: #ccd6f6 !important;
  line-height: 2 !important;
  font-size: 15px !important;
}
.article-content hr {
  border: none;
  border-top: 1px solid rgba(0,245,255,0.2) !important;
  margin: 30px 0 !important;
}
.article-content table {
  background: rgba(0,0,0,0.3) !important;
  border-radius: 8px !important;
  overflow: hidden;
}
.article-content td,
.article-content th {
  color: #ccd6f6 !important;
  border-color: rgba(0,245,255,0.1) !important;
}
.article-content pre,
.article-content code {
  background: rgba(0,0,0,0.4) !important;
  border: 1px solid rgba(0,245,255,0.15) !important;
  border-radius: 6px !important;
  color: #00ff88 !important;
  padding: 2px 6px !important;
  font-size: 13px !important;
}
.article-content pre code {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.article-content .wp-block-image figcaption {
  color: rgba(204,214,246,0.6) !important;
  font-size: 13px !important;
  text-align: center !important;
}
.article-content .wp-block-gallery {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  padding: 0 !important;
}
.article-content .wp-block-gallery li {
  list-style: none !important;
}
.article-content .wp-block-gallery img {
  border-radius: 8px !important;
}

/* ===== 无图占位提示 ===== */
.article-content img[src*="emoji"],
.article-content img.wp-smiley {
  display: none !important;
}
.article-content img[src=""] {
  display: none !important;
}

/* ===== WordPress 内容容器 ===== */
.entry-content,
.post-article .entry-content {
  max-width: 100% !important;
  background: transparent !important;
}
.entry-content > div {
  background: transparent !important;
  max-width: 100% !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  margin: 0 !important;
  font-family: inherit !important;
  color: inherit !important;
}
