body {
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    background-color: #101014;
}

.custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    background: linear-gradient(135deg, #5750af, #181630);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border-radius: 0 0 15px 15px;
    position: relative;
    z-index: 10;
    flex-wrap: wrap;
}

.my-name{
    color: white;
    margin-top: 8px;
    height: 30px;
    list-style: none;
    font-size: 18px;
    font-weight: 600;
    transition: transform 0.3s ease-in-out;
}

.my-name:hover{
    transform: scale(1.1) rotate(-10deg);
}

.main-nav ul{
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.main-nav ul li{
    margin-left: 25px;
    position: relative;
}

.main-nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 18px;
    font-weight: 600;
    padding: 8px 15px;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav ul li a:before{
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease-in-out;
}

.main-nav ul li a:hover{
    color: #000;
}

.main-nav ul li a:hover::before{
    left: 0;
    width: 100%;
    background-color: black;
    border-radius: 2px;
}

.custom-header::before{
    content: "";
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    height: 30px;
    background: radial-gradient(
        circle,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0) 80%
    );
    z-index: -1;
}

/* Responsive Design */
@media (max-width: 768px) {
  .custom-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap; /* Allows wrapping on tiny 320px screens */
    padding: 10px 20px;
  }

  .my-name img {
    height: 50px;
    width: auto; /* Keeps your logo proportions correct */
  }

  .main-nav ul {
    display: flex;
    flex-wrap: wrap; /* Prevents text from breaking out of the screen */
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
  }

  .main-nav ul li {
    margin-left: 10px; /* Slipped down slightly to save space */
  }

  .main-nav ul li a {
    font-size: 13px; /* Slightly smaller for mobile safety */
    padding: 6px 8px;
    display: inline-block;
  }
}