@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&family=Playfair+Display:wght@700;800&display=swap");
@import url("https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css");

.nr-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  border-bottom: 1px solid rgba(210, 19, 42, 0.26);
  background: rgba(9, 7, 10, 0.92);
  color: #f4ece6;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  backdrop-filter: blur(14px);
}
.nr-nav * { box-sizing: border-box; }
.nr-nav a { color: inherit; text-decoration: none; }
.nr-nav a:focus-visible,
.nr-nav button:focus-visible {
  outline: 2px solid #ff2c3f;
  outline-offset: 4px;
  border-radius: 8px;
}
.nr-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 32px, 1280px);
  min-height: 76px;
  margin: 0 auto;
  gap: 24px;
}
.nr-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.nr-brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid rgba(255, 44, 63, 0.34);
  box-shadow: 0 0 18px rgba(210, 19, 42, 0.22);
}
.nr-brand-dot { color: #ff2c3f; }
.nr-links {
  display: flex;
  align-items: center;
  gap: 28px;
  color: #b9aaa7;
  font-size: 14px;
  font-weight: 700;
}
.nr-link,
.nr-dropdown-trigger {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: inherit;
  transition: color 0.18s ease;
}
.nr-link:hover,
.nr-link[aria-current="page"],
.nr-dropdown.is-open > .nr-dropdown-trigger,
.nr-dropdown:hover > .nr-dropdown-trigger { color: #ff4050; }
.nr-link::after,
.nr-dropdown-trigger::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background: #d2132a;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}
.nr-link[aria-current="page"]::after,
.nr-dropdown.is-open > .nr-dropdown-trigger::after,
.nr-dropdown:hover > .nr-dropdown-trigger::after { transform: scaleX(1); }
.nr-dropdown {
  position: relative;
  display: inline-flex;
}
.nr-dropdown-trigger {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}
.nr-dropdown-trigger i { font-size: 10px; transition: transform 0.18s ease; }
.nr-dropdown.is-open .nr-dropdown-trigger i,
.nr-dropdown:hover .nr-dropdown-trigger i { transform: rotate(180deg); }
.nr-dropdown-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: 330px;
  padding: 10px;
  border: 1px solid rgba(244, 236, 230, 0.13);
  border-radius: 14px;
  background: rgba(18, 13, 17, 0.97);
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.42);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.nr-dropdown-panel::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -18px;
  height: 18px;
}
.nr-dropdown:hover .nr-dropdown-panel,
.nr-dropdown:focus-within .nr-dropdown-panel,
.nr-dropdown.is-open .nr-dropdown-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translate(-50%, 0);
}
.nr-dropdown-item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px;
  border-radius: 10px;
  color: #f4ece6;
  transition: background 0.18s ease, transform 0.18s ease;
}
.nr-dropdown-item:hover {
  background: rgba(210, 19, 42, 0.14);
  transform: translateY(-1px);
}
.nr-dropdown-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(255, 44, 63, 0.2);
  border-radius: 10px;
  background: rgba(210, 19, 42, 0.14);
  color: #ff2c3f;
}
.nr-dropdown-title {
  display: block;
  font-weight: 800;
  line-height: 1.25;
}
.nr-dropdown-desc {
  display: block;
  margin-top: 3px;
  color: #a79a99;
  font-size: 12px;
  line-height: 1.45;
}
.nr-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nr-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #f4ece6;
  cursor: pointer;
}
.nr-icon-btn:hover { color: #ff4050; background: rgba(255, 255, 255, 0.06); }
.nr-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #8f1021, #d2132a);
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}
.nr-menu-btn { display: none; }
.nr-mobile-panel { display: none; }
body.has-nr-nav { padding-top: 76px; }
body.has-nr-nav main.pt-32 { padding-top: 56px !important; }
@media (max-width: 900px) {
  .nr-links,
  .nr-actions { display: none; }
  .nr-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    color: #f4ece6;
    cursor: pointer;
  }
  .nr-mobile-panel {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    display: block;
    max-height: calc(100vh - 76px);
    overflow-y: auto;
    border-bottom: 1px solid rgba(210, 19, 42, 0.26);
    background: rgba(12, 8, 11, 0.98);
    box-shadow: 0 22px 46px rgba(0, 0, 0, 0.36);
  }
  .nr-mobile-panel[hidden] { display: none; }
  .nr-mobile-inner {
    width: min(100% - 28px, 640px);
    margin: 0 auto;
    padding: 12px 0 20px;
  }
  .nr-mobile-group {
    border: 1px solid rgba(244, 236, 230, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.035);
  }
  .nr-mobile-trigger {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    padding: 14px;
    border: 0;
    background: transparent;
    color: #f4ece6;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
  }
  .nr-mobile-trigger i { color: #ff4050; transition: transform 0.18s ease; }
  .nr-mobile-group.is-open .nr-mobile-trigger i { transform: rotate(180deg); }
  .nr-mobile-dropdown[hidden] { display: none; }
  .nr-mobile-dropdown { padding: 0 8px 8px; }
  .nr-mobile-link {
    display: block;
    padding: 13px 12px;
    border-radius: 10px;
    color: #f4ece6;
    font-weight: 700;
  }
  .nr-mobile-link:hover,
  .nr-mobile-link[aria-current="page"] { background: rgba(210, 19, 42, 0.12); color: #ff4050; }
}
