
  :root {
    --primary: #0d0f2b;
    --secondary: #1a237e;
    --accent: #7c4dff;
    --text: #e8eaf6;
    --highlight: #00bcd4;
    --card-bg: rgba(30, 33, 58, 0.6);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  }

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

  body {
    font-family: 'Roboto', sans-serif;
    background: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
      radial-gradient(circle at 20% 30%, rgba(124, 77, 255, 0.15) 0%, transparent 30%),
      radial-gradient(circle at 80% 70%, rgba(0, 188, 212, 0.15) 0%, transparent 30%);
    background-attachment: fixed;
  }

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

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

  header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--highlight), transparent);
  }

  h1, h2, h3, h4 {
    font-weight: 500;
    margin-bottom: 20px;
    background: linear-gradient(90deg, var(--highlight), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }

  h1 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    position: relative;
    display: inline-block;
  }

  h1::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), transparent);
    border-radius: 3px;
  }

  h2 {
    font-size: 2rem;
    margin-top: 50px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(124, 77, 255, 0.3);
  }

  h3 {
    font-size: 1.5rem;
    margin-top: 40px;
  }

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

  .note {
    background: rgba(0, 188, 212, 0.1);
    border-left: 3px solid var(--highlight);
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
  }

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

  .card {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(124, 77, 255, 0.2);
  }

  .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(124, 77, 255, 0.4);
  }

  .img-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin: 40px 0;
  }

  .img-wrapper {
    width: 320px;
    height: 320px;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
    position: relative;
  }

  .img-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
  }

  .img-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(124, 77, 255, 0.2), transparent);
  }

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

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

  pre {
    background: rgba(26, 35, 126, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
    overflow-x: auto;
    border-left: 3px solid var(--accent);
    font-family: 'Courier New', monospace;
    position: relative;
  }

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

  code {
    font-family: 'Courier New', monospace;
    background: rgba(124, 77, 255, 0.1);
    padding: 2px 5px;
    border-radius: 3px;
    color: var(--highlight);
  }

  .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin: 30px 0;
  }

  .nav-link {
    padding: 10px 20px;
    background: rgba(124, 77, 255, 0.2);
    border-radius: 25px;
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    border: 1px solid rgba(124, 77, 255, 0.3);
  }

  .nav-link:hover {
    background: rgba(124, 77, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(124, 77, 255, 0.2);
  }

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

  .stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
  }

  .star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle var(--duration, 5s) infinite ease-in-out;
    opacity: var(--opacity, 0.7);
  }

  @keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
  }

  @media (max-width: 768px) {
    h1 {
      font-size: 2rem;
    }
    h2 {
      font-size: 1.7rem;
    }
    h3 {
      font-size: 1.3rem;
    }
    .grid {
      grid-template-columns: 1fr;
    }
  }

