.taskbar {
    position: relative;
    width: 90%;
    max-width: 1600px;
    height: 50px;
    margin: 1rem auto;
    display: flex;
    justify-content: space-between;  /* logo left, toggle/nav right on desktop */
    align-items: center;
    padding: 0 1rem;
    background: linear-gradient(45deg, #0A0A0A, #EE1D52);
    color: #E0E0E0;
    border-radius: 2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    font-family: "Segoe UI", sans-serif;
}

.taskbar .logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
}

.taskbar .logo img {
    width: 35px;
    height: 35px;
}

.taskbar .nav-links {
    display: flex;
    gap: 1.2rem;
}

.taskbar .nav-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    padding: 0.3rem 0.6rem;
    border-radius: 0.5rem;
    transition: background 0.3s, color 0.3s;
}

.taskbar .nav-links a:hover {
    background: #171717;
    color: #EE1D52;
}

.taskbar .menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    user-select: none;
}

@media (max-width: 768px) {
    .taskbar {
      padding: 0 0.5rem;
    }

.taskbar .nav-links {
      display: none;
      position: absolute;
      top: 50px;
      left: 50%;
      color: #E0E0E0;
      transform: translateX(-50%);
      width: 80%;
      max-width: 300px;
      background: #212121;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      text-align: center;
      gap: 1.5rem;
      border-radius: 0 0 1rem 1rem;
      box-shadow: 0 4px 10px rgba(0,0,0,0.3);
      padding: 2rem 1rem;
}

.taskbar .nav-links.active {
      display: flex;
}

.taskbar .logo {
      position: absolute;
      left: 1rem;
      top: 50%;
      transform: translateY(-50%);
      font-size: 1.1rem;
}

.taskbar .logo img {
      width: 32px;
      height: 32px;
}

.taskbar .menu-toggle {
      display: block;
      position: absolute;
      right: 1rem;
      top: 50%;
      transform: translateY(-50%);
}
}

#custom-footer {
    background: linear-gradient(45deg, #0A0A0A, #EE1D52);
    color: #E0E0E0;
    /* Halved vertical padding (was 2rem) */
    padding: 1rem 1rem;
    border-radius: 24px;
    /* Halved vertical margin (was 1rem) */
    margin: 0.5rem auto;
    max-width: 82%;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    font-family: "Segoe UI", sans-serif;
}

#custom-footer .footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

#custom-footer .footer-brand {
    display: flex;
    align-items: center;
}

#custom-footer .footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 0.5rem;
}

#custom-footer .footer-brand span {
    font-size: 1rem;
    font-weight: 600;
}

#custom-footer .footer-nav {
    display: flex;
    gap: 1.5rem;
}

#custom-footer .footer-nav a {
    color: #E0E0E0;
    text-decoration: none;
    font-size: 0.95rem;
}

#custom-footer .footer-social {
    display: flex;
    gap: 1rem;
}

#custom-footer .footer-social a {
    color: #E0E0E0;
    text-decoration: none;
    font-size: 0.95rem;
}

#custom-footer .site-info {
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
    width: 100%;
    margin-top: 1rem;
}

@media (max-width: 600px) {
    #custom-footer .footer-inner {
        flex-direction: column;
        text-align: center;
    }
    #custom-footer .footer-social {
        justify-content: center;
    }
}
