@charset "utf-8";

/* ============================================
   雷朋CP (田栩宁⚡🌙 × 梓渝🐟🍋🌽) 主题装饰
   LP = 雷朋 (Lei Peng)
   Elements: ⚡🌙🐟🍋🌽
   ============================================ */

/* --- 全局雷朋氛围 --- */
:root {
  --lp-bolt: #FFD700;
  --lp-moon: #C9B1FF;
  --lp-fish: #FF9EAA;
  --lp-lemon: #FFF176;
  --lp-corn: #F5DEB3;
  --lp-gradient: linear-gradient(135deg, #FFD700, #C9B1FF, #FF9EAA);
  --lp-gradient-text: linear-gradient(90deg, #FF6B6B, #C9B1FF, #FFD700);
  --lp-bg-subtle: #FFFBF0;
}

body {
  background: linear-gradient(180deg, #FFFBF0 0%, #FAFAFA 100%) !important;
}

/* --- 头部: 闪烁的雷朋元素环绕标题 --- */
.header .logo {
  position: relative;
  display: inline-block;
  background: var(--lp-gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.header .logo::before {
  content: "⚡🌙 ";
}

.header .logo::after {
  content: " 🐟🍋🌽";
}

/* --- 导航菜单小装饰 --- */
.nav li a::before {
  content: "";
  opacity: 0;
  transition: opacity 0.3s;
}

.nav li:nth-child(1) a:hover::after { content: " ⚡"; }
.nav li:nth-child(2) a:hover::after { content: " 🌙"; }
.nav li:nth-child(3) a:hover::after { content: " 🐟"; }

.nav li a:hover::after {
  display: inline-block;
  animation: lp-bounce 0.5s ease;
}

@keyframes lp-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* --- 文章列表: 雷朋卡片效果 --- */
.post {
  position: relative;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 32px;
  background: #fff;
  border: 1px solid #f0e6d6;
  box-shadow: 0 2px 12px rgba(255, 215, 0, 0.08);
  transition: all 0.3s ease;
}

.post:hover {
  border-color: var(--lp-bolt);
  box-shadow: 0 4px 20px rgba(201, 177, 255, 0.15);
  transform: translateY(-2px);
}

/* 文章左侧装饰条 */
.post::before {
  content: "";
  position: absolute;
  left: 0;
  top: 16px;
  bottom: 16px;
  width: 4px;
  background: var(--lp-gradient);
  border-radius: 0 4px 4px 0;
}

/* 文章封面图 */
.post-cover {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* 文章卡片的雷朋标签 */
.post-lp-tag {
  display: inline-block;
  font-size: 0.75rem;
  padding: 2px 10px;
  border-radius: 12px;
  background: var(--lp-gradient);
  color: #fff;
  margin-bottom: 8px;
  font-weight: 500;
  letter-spacing: 1px;
}

.post-title {
  font-size: 1.5rem !important;
}

/* --- 单篇文章页: 装饰 --- */
.post-main {
  position: relative;
}

/* 文章标题上的雷朋分隔线 */
.post-main-title {
  position: relative;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.post-main-title::after {
  content: " ⚡ 🌙 🐟 🍋 🌽 ";
  display: block;
  font-size: 1rem;
  margin-top: 8px;
  letter-spacing: 6px;
  opacity: 0.5;
  text-align: center;
}

/* 封面大图 */
.post-cover-hero {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* --- 标签云: 雷朋彩条 --- */
.tags a {
  background: var(--lp-gradient) !important;
  transition: transform 0.3s !important;
}

.tags a:hover {
  transform: scale(1.05) !important;
}

/* --- 页码: 雷朋高亮 --- */
.paginator .current {
  border-color: var(--lp-bolt) !important;
  background: linear-gradient(135deg, #FFD70022, #C9B1FF22) !important;
}

.paginator a:hover {
  color: var(--lp-bolt) !important;
}

/* --- 页脚: 雷朋小彩蛋 --- */
.footer {
  position: relative;
  padding-top: 36px !important;
  border-top: 2px dashed #f0e6d6;
}

.footer::before {
  content: "⚡ 雷朋99·交给时间 🌽";
  display: block;
  text-align: center;
  font-size: 0.8rem;
  color: #ccc;
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.footer span:last-child::after {
  content: " 🐟🍋";
  opacity: 0.4;
}

/* --- 文章内容区: 特殊引用块 --- */
blockquote {
  border-left: 4px solid var(--lp-bolt) !important;
  background: linear-gradient(135deg, #FFFBF0, #FAF5FF) !important;
}

blockquote::before {
  content: "🌽 ";
  font-size: 1.2rem;
}

/* Markdown 中的标题装饰 */
.post-md h2::before {
  content: "⚡ ";
  font-size: 0.9em;
}

.post-md h3::before {
  content: "🌙 ";
  font-size: 0.9em;
}

.post-md h4::before {
  content: "🐟 ";
  font-size: 0.9em;
}

/* 表格: 雷朋条纹 */
.post-md table tr:nth-child(even) {
  background: #FFFBF0 !important;
}

.post-md table tr:hover {
  background: linear-gradient(135deg, #FFF8E1, #F3E5FF) !important;
}

/* --- 滚动条: 雷朋金 --- */
::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #FFD700, #C9B1FF) !important;
  border-radius: 4px;
}

::-webkit-scrollbar-track {
  background: #FFFBF0 !important;
}

/* --- 移动端适配 --- */
@media (max-width: 768px) {
  .header .logo::before {
    content: "⚡";
  }
  .header .logo::after {
    content: "🌽";
  }
  .post-main-title::after {
    font-size: 0.8rem;
    letter-spacing: 4px;
  }
}

/* ============================================
   Hexo Pro 后台管理界面 雷朋主题覆盖
   ============================================ */

/* 仅在 /pro/ 路径下生效 */
body[class*="pro-"],
body[class*="Pro"],
div[id*="root"] {
  /* Hexo-pro 使用React内联样式，用!important覆盖 */
}

/* 通用管理后台覆盖 - 通过全局样式影响 */
.lp-admin-theme {
  display: none;
}
