
  :root {
    --primary-color: #1A237E;
    --secondary-color: #03A9F4;
    --accent-color: #32CD32;
    --dark-bg: #0D0F1C;
    --card-bg: #1E2130;
    --text-color: #FFFFFF;
    --text-muted: #B0BEC5;
    --border-radius: 12px;
    --box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

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

  body {
    font-family: 'Montserrat', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--dark-bg), var(--primary-color));
    color: var(--text-color);
    line-height: 1.6;
    padding: 0;
    overflow-x: hidden;
    min-height: 100%;
  }

  .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
  }

  .header {
    text-align: center;
    padding: 40px 0;
    position: relative;
    overflow: hidden;
  }

  .header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(50, 205, 50, 0.1), transparent 70%);
    z-index: -1;
  }

  .header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  }

  .header p {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.1rem;
    color: var(--text-muted);
  }

  .notice {
    background: rgba(3, 169, 244, 0.1);
    border-left: 4px solid var(--secondary-color);
    padding: 15px;
    margin: 30px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    position: relative;
    overflow: hidden;
  }

  .notice::after {
    content: "这是一个网页样式设计参考";
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 0.8rem;
    color: var(--secondary-color);
    font-weight: bold;
  }

  .article-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }

  article {
    background: rgba(30, 33, 48, 0.8);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
  }

  article:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3);
  }

  article h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--secondary-color);
    position: relative;
    padding-bottom: 10px;
  }

  article h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--accent-color));
    border-radius: 3px;
  }

  article h3 {
    font-size: 1.4rem;
    margin: 25px 0 15px;
    color: var(--text-color);
  }

  article p {
    margin-bottom: 20px;
    font-size: 1.05rem;
  }

  .image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin: 30px 0;
  }

  .image-card {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    position: relative;
    aspect-ratio: 1/1;
  }

  .image-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  }

  .image-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
  }

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

  .image-card::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(26, 35, 126, 0.7), rgba(3, 169, 244, 0.5));
    opacity: 0;
    transition: var(--transition);
  }

  .image-card:hover::after {
    opacity: 1;
  }

  pre {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
    box-shadow: var(--box-shadow);
    position: relative;
  }

  pre::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--secondary-color), var(--accent-color));
    border-radius: var(--border-radius) 0 0 var(--border-radius);
  }

  code {
    font-family: 'Courier New', monospace;
    color: var(--accent-color);
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .nav-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    position: sticky;
    top: 20px;
    z-index: 10;
    background: rgba(30, 33, 48, 0.9);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .nav-tabs a {
    color: var(--text-color);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 20px;
    background: rgba(3, 169, 244, 0.1);
    border: 1px solid rgba(3, 169, 244, 0.3);
    transition: var(--transition);
    font-size: 0.9rem;
  }

  .nav-tabs a:hover {
    background: rgba(3, 169, 244, 0.3);
    transform: translateY(-2px);
  }

  .accordion {
    margin: 30px 0;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
  }

  .accordion-header {
    background: var(--card-bg);
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
  }

  .accordion-header:hover {
    background: rgba(3, 169, 244, 0.1);
  }

  .accordion-content {
    background: rgba(30, 33, 48, 0.7);
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
  }

  .accordion.active .accordion-content {
    padding: 20px;
    max-height: 1000px;
  }

  .footer {
    text-align: center;
    padding: 40px 0;
    margin-top: 60px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  @media (max-width: 768px) {
    .header h1 {
      font-size: 2rem;
    }
    
    .image-grid {
      grid-template-columns: 1fr;
    }
    
    article {
      padding: 20px;
    }
  }

  @media (max-width: 480px) {
    .header h1 {
      font-size: 1.8rem;
    }
    
    .nav-tabs {
      flex-direction: column;
    }
  }

