/*
 * Created Date: Saturday, March 8th 2025, 5:35:05 pm
 * Author: CodingGorit
 * Contact: javafullstack2021@163.com
 * -----
 * Last Modified: Sat Mar 08 2025
 * Modified By: CodingGorit
 * -----
 * Copyright © 2019 —— 2025 fmin-courses.com All Rights Reserved
 * ------------------------------------
 * Hello World
 */


 :root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --text-color: #333;
    --light-color: #ecf0f1;
    --dark-color: #2c3e50;
    --accent-color: #e74c3c;
    --font-main: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
    --font-code: 'JetBrains Mono', 'Fira Code', monospace;
  }
  
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: var(--font-main);
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    position: relative;
    overflow-x: hidden;
  }
  
  /* 背景动效 */
  #particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  }
  
  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  header {
    background-color: var(--dark-color);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: relative;
  }
  
  header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  header h1 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 0;
    background: linear-gradient(90deg, var(--primary-color), #9b59b6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  nav {
    display: flex;
    gap: 1.5rem;
  }
  
  nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    position: relative;
  }
  
  nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
  }
  
  nav a:hover::after {
    width: 100%;
  }
  
  nav a:hover {
    color: var(--primary-color);
  }
  
  main {
    padding: 2rem 0;
    min-height: calc(100vh - 180px);
  }
  
  .content-wrapper {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
  }
  /* 统一标题样式 */
.content-wrapper h1 {
    font-size: 2.2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-color);
  }

  
  h1, h2, h3, h4, h5, h6 {
    color: var(--dark-color);
    margin-bottom: 1rem;
    font-weight: 600;
  }
  
  h1 {
    font-size: 2.2rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
  }
  
  h2 {
    font-size: 1.8rem;
    margin-top: 2rem;
  }
  
  article {
    margin-bottom: 2rem;
  }
  
  article time {
    display: block;
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.9rem;
  }
  
  ul {
    list-style-type: none;
  }
  
/* 统一文章列表样式 */
.post-list li {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 4px solid var(--primary-color);
  }
  
  .post-list li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    border-left-color: var(--accent-color);
  }
  
  
  .post-list a {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    display: block;
    margin-bottom: 0.5rem;
  }
  
  .post-list a:hover {
    color: var(--primary-color);
  }
  
  .post-list time {
    font-size: 0.8rem;
    color: #666;
  }
  
  footer {
    background-color: var(--dark-color);
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 2rem;
  }
  
  /* 响应式设计 */
  @media (max-width: 768px) {
    header .container {
      flex-direction: column;
      gap: 1rem;
    }
    
    nav {
      width: 100%;
      justify-content: center;
    }
  }
  
  /* 代码块样式 */
  pre, code {
    font-family: var(--font-code);
    background-color: #f8f9fa;
    border-radius: 4px;
  }
  
  pre {
    padding: 1rem;
    overflow-x: auto;
    border-left: 4px solid var(--primary-color);
    margin: 1.5rem 0;
  }
  
  code {
    padding: 0.2rem 0.4rem;
  }
  
  /* 按钮样式 */
/* 统一按钮样式 */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-weight: 500;
  }
  
  .btn:hover {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }

  /* 统一文章内容样式 */
.article-content, .content-wrapper {
    line-height: 1.8;
  }
  
  .article-content p, .content-wrapper p {
    margin-bottom: 1.5rem;
  }
  
  /* 添加统一的动画效果 */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
  
  .content-wrapper, article {
    animation: fadeIn 0.5s ease-out;
  }