
  :root {
    --primary: #FF8C00;
    --secondary: #8B4513;
    --accent: #9370DB;
    --light: #FFF8DC;
    --highlight: #FFD700;
    --tech-blue: #1E90FF;
  }

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

  body {
    font-family: 'Playfair Display', serif;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--light);
    line-height: 1.6;
    padding: 0;
    margin: 0;
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }

  .design-notice {
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 10px;
    text-align: center;
    font-size: 14px;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 100;
  }

  .main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 30px;
    position: relative;
  }

  .sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
    background: rgba(139, 69, 19, 0.8);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    backdrop-filter: blur(5px);
  }

  .sidebar h3 {
    color: var(--highlight);
    margin-bottom: 20px;
    font-size: 18px;
    text-align: center;
    border-bottom: 1px solid var(--accent);
    padding-bottom: 10px;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .nav-links a {
    color: var(--light);
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 16px;
  }

  .nav-links a:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
  }

  .content-area {
    background: rgba(255, 248, 220, 0.9);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: #333;
  }

  article h2 {
    color: var(--secondary);
    font-size: 28px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
  }

  article h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--accent));
  }

  article h3 {
    color: var(--primary);
    font-size: 22px;
    margin: 25px 0 15px;
    position: relative;
    padding-left: 15px;
  }

  article h3::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 5px;
    height: 80%;
    background: var(--tech-blue);
    border-radius: 3px;
  }

  article p {
    margin-bottom: 20px;
    font-size: 17px;
    line-height: 1.7;
  }

  pre {
    background: rgba(30, 144, 255, 0.1);
    border-left: 4px solid var(--tech-blue);
    border-radius: 0 8px 8px 0;
    padding: 20px;
    margin: 25px 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 15px;
    line-height: 1.5;
    position: relative;
  }

  pre::before {
    content: 'CSS';
    position: absolute;
    top: 0;
    right: 0;
    background: var(--tech-blue);
    color: white;
    padding: 3px 10px;
    font-size: 12px;
    border-radius: 0 0 0 5px;
  }

  code {
    font-family: 'Courier New', monospace;
    color: #333;
  }

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

  .decor-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
  }

  .decor-image:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
  }

  .color-swatch {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 20px 0;
  }

  .swatch {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease;
  }

  .swatch:hover {
    transform: scale(1.1);
  }

  @media (max-width: 900px) {
    .main-container {
      grid-template-columns: 1fr;
    }
    
    .sidebar {
      position: static;
      margin-bottom: 30px;
    }
  }

  @media (max-width: 600px) {
    .content-area {
      padding: 20px;
    }
    
    article h2 {
      font-size: 24px;
    }
    
    article h3 {
      font-size: 20px;
    }
  }

  /* Animations */
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .content-area {
    animation: fadeIn 0.8s ease-out;
  }

  .nav-links a {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
  }

  .nav-links a:nth-child(1) { animation-delay: 0.2s; }
  .nav-links a:nth-child(2) { animation-delay: 0.3s; }
  .nav-links a:nth-child(3) { animation-delay: 0.4s; }
  .nav-links a:nth-child(4) { animation-delay: 0.5s; }
  .nav-links a:nth-child(5) { animation-delay: 0.6s; }
  .nav-links a:nth-child(6) { animation-delay: 0.7s; }

