:root {
  --bg: #101a33;
  --border: rgba(255, 255, 255, 0.12);

  --text: rgba(255, 255, 255, 0.92);
  --muted: rgba(255, 255, 255, 0.74);
  --muted2: rgba(255, 255, 255, 0.62);

  --panelA: rgba(255, 255, 255, 0.08);
  --panelB: rgba(255, 255, 255, 0.05);

  --shadow: 0 14px 38px rgba(0, 0, 0, 0.30);
  --radius: 16px;

  --gold: #d8b55a;
  --gold2: #fff0b6;

  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto,
    Arial, "Noto Sans", "Liberation Sans", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--text);
  line-height: 1.45;

  background:
    radial-gradient(1200px 650px at 18% 0%,
      rgba(167, 139, 250, 0.20),
      transparent 55%),

    radial-gradient(1100px 650px at 88% 10%,
      rgba(125, 211, 252, 0.18),
      transparent 55%),

    radial-gradient(900px 700px at 55% 115%,
      rgba(216, 181, 90, 0.14),
      transparent 55%),

    linear-gradient(180deg, var(--bg) 0%, #0b1024 100%);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ============================= */
/* Top Navigation Bar            */
/* ============================= */

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;

  backdrop-filter: blur(10px);

  background: linear-gradient(to bottom,
      rgba(16, 26, 51, 0.92),
      rgba(16, 26, 51, 0.68));

  border-bottom: 1px solid var(--border);
}

.topbar-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 16px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============================= */
/* Lux Logo                      */
/* ============================= */

.lux-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo {
  width: 84px;
  height: 84px;

  display: grid;
  place-items: center;

  border-radius: 20px;

  background: linear-gradient(180deg,
      rgba(255, 255, 255, 0.07),
      rgba(255, 255, 255, 0.03));

  border: 1px solid rgba(255, 255, 255, 0.10);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.lux-mark {
  width: 74px;
  height: 74px;
}

.lux-logo-name {
  font-weight: 850;
  letter-spacing: 0.22em;
  font-size: 16px;
  color: var(--gold2);
}

.lux-logo-slogan {
  font-size: 13px;
  color: var(--muted);
}

/* ============================= */
/* Navigation Links              */
/* ============================= */

.nav {
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-link {
  padding: 10px 12px;
  border-radius: 999px;

  border: 1px solid var(--border);

  background: rgba(255, 255, 255, 0.05);

  color: var(--muted);

  transition: 0.2s;
}

.nav-link:hover {
  border-color: rgba(216, 181, 90, 0.28);
  background: rgba(216, 181, 90, 0.10);
  color: var(--text);
}

/* ============================= */
/* Mobile Collapsible Nav        */
/* ============================= */

.nav-toggle {
  position: absolute;
  left: -9999px;
}

.nav-toggle-button {
  display: none;
}

@media (max-width: 820px) {

  .topbar-inner {
    flex-wrap: nowrap;
  }

  /* Show hamburger */
  .nav-toggle-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: 999px;
    border: 1px solid var(--border);

    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
  }

  .nav-toggle-bars {
    width: 18px;
    height: 2px;
    background: rgba(255, 255, 255, 0.82);
    position: relative;
    border-radius: 2px;
  }

  .nav-toggle-bars::before,
  .nav-toggle-bars::after {
    content: "";
    position: absolute;
    left: 0;
    width: 18px;
    height: 2px;
    background: rgba(255, 255, 255, 0.82);
    border-radius: 2px;
  }

  .nav-toggle-bars::before {
    top: -6px;
  }

  .nav-toggle-bars::after {
    top: 6px;
  }

  /* Collapse nav by default */
  .nav {
    width: 100%;
    order: 3;

    display: grid;
    gap: 10px;

    margin-top: 10px;

    overflow: hidden;
    max-height: 0;
    opacity: 0;

    transition: max-height 180ms ease, opacity 180ms ease;
  }

  /* Expand when toggled */
  .nav-toggle:checked~.nav {
    max-height: 420px;
    opacity: 1;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px 14px;
  }
}

/* Extra compact mobile */
@media (max-width: 520px) {

  .logo {
    width: 64px;
    height: 64px;
  }

  .lux-mark {
    width: 56px;
    height: 56px;
  }

  .lux-logo-slogan {
    display: none;
  }
}