<style>
  body {
    background: #f8f9fa;
    margin: 0;
    font-family: 'Segoe UI', sans-serif;
  }

  .navbar-custom {
    background: linear-gradient(to right, #198754, #00b894);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
    padding: 0.8rem 1.5rem;
    position: sticky;
    top: 0;
    z-index: 1030;
  }

  .navbar-brand img {
    max-height: 50px;
    background: #fff;
    padding: 6px 10px;
    border-radius: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }

  .tagline {
    font-family: 'Rubik', sans-serif;
    color: #ffffff;
    font-size: .75rem;
    font-weight: 500;
    margin-left: 12px;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    white-space: nowrap;
  }

  .tagline i {
    margin-right: 8px;
    font-size: 1.3rem;
  }

  .nav-link {
    color: white !important;
    font-weight: 500;
    font-size: 1rem;
    margin: 0 10px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: 0.3s;
    position: relative;
  }

  .nav-link::after {
    content: '';
    display: block;
    height: 2px;
    background: white;
    width: 0;
    transition: width 0.3s;
    position: absolute;
    bottom: -4px;
    left: 0;
  }

  .nav-link:hover::after,
  .nav-link.active::after {
    width: 100%;
  }

  .navbar-toggler {
    border: none;
  }

  .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' fill='white' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
  }

  .ease2select-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    color: white;
    display: inline-block;
    white-space: nowrap;
    animation: bounceLogo 2s ease-in-out infinite;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  }

  @keyframes bounceLogo {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-4px); }
  }

  @media (min-width: 768px) and (max-width: 991px) {
    .tagline {
      font-size: 0.95rem;
      max-width: 100%;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .navbar-brand img {
      max-height: 40px;
      padding: 3px;
    }

    .ease2select-brand {
      font-size: 1.6rem;
    }
  }
</style>
