html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(145deg, #121f38, #253a5a);
  color: #ecf0f5;
  line-height: 1.85;
  font-size: 1.1rem;
}

.nav-glass {
  background: rgba(18, 31, 56, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: box-shadow 0.3s ease;
}

.nav-glass.scrolled {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.btn-primary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, #f0b866, #e8a840);
  color: #1a1a2e;
  box-shadow: 0 4px 20px rgba(240, 184, 102, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(240, 184, 102, 0.45);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  border: 1.5px solid rgba(240, 184, 102, 0.6);
  color: #f0b866;
  background: rgba(240, 184, 102, 0.08);
  box-shadow: 0 0 16px rgba(240, 184, 102, 0.1);
}

.btn-ghost:hover {
  background: rgba(240, 184, 102, 0.16);
  border-color: #f0b866;
  box-shadow: 0 0 24px rgba(240, 184, 102, 0.18);
  transform: translateY(-1px);
}

.me-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(240, 184, 102, 0.15);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.me-card:hover {
  border-color: rgba(240, 184, 102, 0.35);
  box-shadow: 0 0 24px rgba(240, 184, 102, 0.08);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #e8e8e8;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.mobile-menu.open {
  max-height: 400px;
}

#nav img[alt="ME80"] {
  width: auto;
  display: block;
  flex-shrink: 0;
}

#nav .nav-links-desktop,
#nav .nav-cta-desktop {
  flex-shrink: 0;
}

#nav .nav-links-desktop a,
#nav .nav-cta-desktop a {
  white-space: nowrap;
}

img[width][height] {
  max-width: 100%;
}
