.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--primary);
  border-bottom: 1px solid var(--accent1);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.nav-left{
  display: flex;
  align-items: center;
}

.nav-right, .nav-apps {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.home-btn a {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.05rem;
  gap: 0.6rem;
  height: 40px;
  padding: 0 0.75rem;
  line-height: 1;
}

.nav-right a, .nav-apps a {
  font-size: 0.95rem;
  height: 40px;
  padding: 0 0.75rem;
  line-height: 1;
}

.nav-apps a {
  transform: translateY(2px);
}

.nav-right a, .nav-apps a, .home-btn a {
  color: var(--text2);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.nav-right a:hover, .nav-apps a:hover, .home-btn a:hover {
  color: var(--text1);
}

.nav-right .nav-support {
  background: var(--accent2);
  color: var(--text1);
}

.nav-support {
  border-radius: 8px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-support:hover {
  box-shadow: 0 0 20px var(--soft-glow);
}

.nav-icon svg, .logo-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  stroke: currentColor;
  fill: none;
  display: block;
}

.logo-icon {
  display: inline-flex;
  align-items: center;
}

.footer {
  padding: 2rem 0;
  font-size: 0.9rem;
  text-align: center;
  color: var(--text2);
  border-top: 1px solid var(--accent1);
}

.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 4rem;
}

.footer-left {
  white-space: nowrap;
}

.footer-right {
  display: flex;
  justify-content: flex-start;
  flex: none;
}

.footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
  text-align: right;
}

.footer-links a {
  color: var(--text2);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text1);
  text-decoration: underline;
}

.footer-sep {
  width: 100%;
  max-width: 14rem;
  border-top: 1px solid var(--accent1);
  margin: 0.5rem 0 0.25rem;
  opacity: 0.8;
}

@media (max-width: 700px) {
  .navbar-inner {
    flex-direction: column;
    gap: 0.75rem;
  }

  .nav-right {
    justify-content: center;
  }
}

@media (max-width: 500px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
  }

  .footer-left {
    white-space: normal;
    text-align: right;
    opacity: 0.95;
    position: relative;
    padding-bottom: 0.75rem;
  }

  .footer-left::after {
    content: "";
    display: block;
    width: 100%;
    border-top: 1px solid var(--accent1);
    margin-top: 0.5rem;
  }

  .footer-right {
    justify-content: flex-end;
  }

  .footer-links {
    align-items: flex-end;
    text-align: right;
  }
}
