/* Luna Lum — shared styles */
:root {
  --ink: #080A0F;
  --ink-2: #0E1118;
  --ink-3: #151A24;
  --cream: #F0E8D8;
  --cream-dim: #CFC4B0;
  --gold: #E8B84B;
  --amber: #C8923A;
  --line: rgba(200,146,58,0.22);
  --line-strong: rgba(200,146,58,0.5);
  --ok: #8FCB8A;
  --err: #E58A7A;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--ink);
  color: var(--cream);
  font-family: 'Inter', system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: var(--gold); }
img { max-width: 100%; display: block; }

/* Stars */
.stars { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.star { position: absolute; border-radius: 50%; background: #fff;
  animation: twinkle var(--d) ease-in-out infinite var(--delay); }
@keyframes twinkle { 0%,100% { opacity: 0; } 50% { opacity: var(--op); } }

/* Nav */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 5%;
  background: linear-gradient(to bottom, rgba(8,10,15,0.92), rgba(8,10,15,0));
  backdrop-filter: blur(2px);
}
.nav .brand { font-family: 'Bebas Neue', sans-serif; font-size: 1.7rem; letter-spacing: 0.1em;
  color: var(--gold); text-decoration: none; }
.nav .links { display: flex; gap: 26px; align-items: center; }
.nav .links a { color: var(--cream-dim); text-decoration: none; font-size: 0.8rem;
  letter-spacing: 0.14em; text-transform: uppercase; transition: color .2s; }
.nav .links a:hover, .nav .links a.on { color: var(--gold); }
.nav .links a.pill { border: 1px solid var(--line-strong); padding: 8px 16px; border-radius: 3px; color: var(--gold); }
.menu-btn { display: none; background: none; border: 0; color: var(--gold); font-size: 1.6rem; cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: block; }
  .nav .links { display: none; position: absolute; top: 64px; right: 5%; flex-direction: column;
    align-items: flex-end; gap: 18px; background: var(--ink-2); border: 1px solid var(--line);
    padding: 22px 26px; border-radius: 4px; }
  .nav .links.open { display: flex; }
}

/* Type */
.eyebrow { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--amber); }
h1, h2, h3 { font-family: 'Bebas Neue', sans-serif; font-weight: 400; letter-spacing: 0.05em; line-height: 1; }
h2 { font-size: clamp(2.4rem, 6vw, 3.8rem); color: var(--cream); margin: 10px 0 18px; }
h3 { font-size: 1.7rem; color: var(--gold); }
.lead { color: var(--cream-dim); max-width: 620px; font-size: 1.02rem; }

/* Layout */
section { padding: 100px 5%; position: relative; }
.wrap { max-width: 1180px; margin: 0 auto; }
.center { text-align: center; }
.center .lead { margin: 0 auto; }

/* Buttons */
.btn { display: inline-block; font-family: 'Inter', sans-serif; font-size: 0.82rem; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; cursor: pointer;
  padding: 14px 30px; border-radius: 3px; transition: all .2s; border: 1px solid transparent; }
.btn-gold { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: #F2C966; }
.btn-ghost { border-color: var(--line-strong); color: var(--gold); background: transparent; }
.btn-ghost:hover { background: rgba(200,146,58,0.1); }
.btn[disabled] { opacity: .5; cursor: default; }

/* Forms */
.field { display: block; margin-bottom: 16px; text-align: left; }
.field span { display: block; font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--amber); margin-bottom: 6px; }
input[type=text], input[type=password], input[type=number], input[type=date], textarea, select {
  width: 100%; background: var(--ink-2); border: 1px solid var(--line); color: var(--cream);
  font: inherit; padding: 12px 14px; border-radius: 3px; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); }
.code-input { font-family: 'Bebas Neue', sans-serif; font-size: 1.8rem !important; letter-spacing: 0.18em;
  text-align: center; text-transform: uppercase; }
.msg { margin-top: 14px; font-size: 0.9rem; min-height: 1.4em; }
.msg.err { color: var(--err); } .msg.ok { color: var(--ok); }

/* Cards */
.card { background: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; }

/* Footer */
footer { border-top: 1px solid var(--line); padding: 48px 5%; text-align: center; color: var(--cream-dim);
  font-size: 0.85rem; }
footer .brand { font-family: 'Bebas Neue', sans-serif; font-size: 2rem; color: var(--gold); letter-spacing: 0.1em; }
footer a { color: var(--gold); text-decoration: none; }
footer .row { display: flex; gap: 22px; justify-content: center; flex-wrap: wrap; margin: 14px 0; }
