body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(to bottom right, #f0f8ff, #ffe5f9);
    margin: 0;
    padding: 0;
    color: #333;
}
header {
    text-align: center;
    padding: 30px 20px 10px;
}
header img {
    width: 140px;
    border-radius: 50%;
    animation: float 2.5s ease-in-out infinite;
}
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}
h1 {
    font-size: 2rem;
    margin-top: 12px;
}
.container {
    max-width: 800px;
    margin: 30px auto;
    background: #fff;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.lesson-section {
    margin-bottom: 32px;
}
code {
    background: #f4f4f4;
    padding: 2px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-size: 0.95rem;
}
pre {
    background: #f6f6ff;
    padding: 12px;
    border-radius: 8px;
    overflow-x: auto;
    font-size: 0.95rem;
}

.lesson-section .adv-lessons ul li a{
    text-decoration: none;
    background: linear-gradient(135deg, rgb(72, 72, 239), rgb(254, 74, 104));
    background-clip: text;
    -webkit-text-fill-color: transparent;
    
}

.btn {
    display: inline-block;
    margin-top: 12px;
    padding: 10px 20px;
    background-color: #ff7ad9;
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: bold;
}
.btn:hover {
    background-color: #e55cc7;
}

.next-les a{
    text-decoration: none;
    background: linear-gradient(135deg, rgb(72, 72, 239), rgb(254, 74, 104));
    background-clip: text;
    -webkit-text-fill-color: transparent;
  }
@media (max-width: 768px) {
  header img {
    width: 100px;
  }

  h1 {
    font-size: 1.5rem;
  }

  .container {
    padding: 16px;
    margin: 20px 12px;
  }

  .btn,
  .home-btn {
    width: 100%;
    max-width: 300px;
    margin: 12px auto;
    text-align: center;
    font-size: 1rem;
  }

  pre {
    font-size: 0.85rem;
  }

  code {
    font-size: 0.85rem;
  }

  .lesson-section {
    margin-bottom: 24px;
  }

  .lesson-section .adv-lessons ul {
    padding-left: 16px;
  }

  .lesson-section .adv-lessons ul li a {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
  }
}
