*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy-deep:   #0a0e1a;
  --navy-mid:    #0d1524;
  --navy-card:   #111827;
  --border:      #1e2d42;
  --border-light:#1a2438;
  --gold:        #c9a84c;
  --gold-light:  #e8c87a;
  --gold-dim:    rgba(201,168,76,0.08);
  --gold-border: rgba(201,168,76,0.25);
  --cream:       #f5f0e8;
  --text-secondary: #8a9ab5;
  --green:       #4ade80;
  --red:         #f87171;
  --amber:       #fbbf24;
}

html { background: var(--navy-deep); color: var(--cream); }
body { font-family: 'Inter', sans-serif; min-height: 100vh; background: var(--navy-deep); padding-top: 64px; }
a { color: var(--gold); text-decoration: none; }
a:hover { color: var(--gold-light); }

/* ── HEADER ── */
.oe-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(5, 14, 31, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(201,168,76,0.22);
  z-index: 1100;
  font-family: 'DM Sans', sans-serif;
}

/* Logo */
.oe-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.oe-logo img {
  height: 38px;
  width: auto;
  max-width: 220px;
  display: block;
  filter: brightness(1.05);
}

/* Desktop nav */
.oe-nav {
  display: flex;
  align-items: center;
  list-style: none;
  height: 64px;
  gap: 0;
}
.oe-nav-item {
  position: relative;
  height: 64px;
  display: flex;
  align-items: center;
}
.oe-nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 64px;
  padding: 0 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.73rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(234,230,222,0.88);
  text-decoration: none;
  background: transparent;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: color 0.2s;
}
.oe-nav-link:hover { color: #e8c97a; }
.oe-caret { font-size: 0.52rem; opacity: 0.55; transition: transform 0.2s; }
.oe-nav-item:hover .oe-caret { transform: rotate(180deg); }

/* Dropdown */
.oe-dropdown {
  position: absolute;
  top: 64px; left: 0;
  min-width: 228px;
  background: #08162d;
  border: 1px solid rgba(201,168,76,0.22);
  border-top: 2px solid #c9a84c;
  list-style: none;
  padding: 4px 0;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
  box-shadow: 0 24px 48px rgba(0,0,0,0.6);
}
.oe-nav-item:hover > .oe-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0.05s;
}
.oe-dropdown li { display: block; }
.oe-dropdown a {
  display: block;
  padding: 10px 18px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.77rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  color: rgba(234,230,222,0.82);
  text-decoration: none;
  background: transparent;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  white-space: nowrap;
  transition: color 0.15s, background 0.15s;
}
.oe-dropdown li:last-child a { border-bottom: none; }
.oe-dropdown a:hover { color: #c9a84c; background: rgba(201,168,76,0.07); }

/* Auth / Login button */
.oe-auth-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 16px;
  border: 1px solid rgba(201,168,76,0.55);
  color: #c9a84c;
  background: transparent;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  margin-left: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}
.oe-auth-btn:hover { background: #c9a84c; color: #050e1f; }

/* Icon buttons */
.oe-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px; height: 34px;
  color: rgba(234,230,222,0.65);
  text-decoration: none;
  transition: color 0.2s;
  font-size: 0.85rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
}
.oe-icon-btn:hover { color: #c9a84c; }

/* Hamburger */
.oe-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  flex-shrink: 0;
  z-index: 1200;
}
.oe-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: rgba(234,234,222,0.85);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.oe-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.oe-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.oe-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Overlay */
.oe-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(2,8,18,0.72);
  backdrop-filter: blur(2px);
  z-index: 1149;
  cursor: pointer;
}
.oe-overlay.open { display: block; }

/* Sidebar */
.oe-sidebar {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 290px;
  max-width: 85vw;
  background: #060f20;
  border-left: 1px solid rgba(201,168,76,0.18);
  z-index: 1150;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateX(105%);
  transition: transform 0.32s cubic-bezier(0.4,0,0.2,1);
}
.oe-sidebar.open { transform: translateX(0); }

.oe-sb-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  height: 64px;
  border-bottom: 1px solid rgba(201,168,76,0.15);
  flex-shrink: 0;
}
.oe-sb-brand { display: flex; align-items: center; text-decoration: none; }
.oe-sb-brand img { height: 26px; width: auto; display: block; filter: brightness(1.05); }
.oe-sb-close {
  width: 32px; height: 32px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  color: rgba(234,230,222,0.55);
  font-size: 1rem;
  background: none; border: none;
  transition: color 0.2s;
}
.oe-sb-close:hover { color: #c9a84c; }

.oe-sb-body { flex: 1; padding: 4px 0 0; }
.oe-sb-body a {
  display: flex;
  align-items: center;
  padding: 11px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: rgba(234,230,222,0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  background: transparent;
  transition: color 0.18s, background 0.18s, padding-left 0.18s;
}
.oe-sb-body a:hover { color: #c9a84c; background: rgba(201,168,76,0.05); padding-left: 26px; }
.oe-sb-section {
  display: block;
  padding: 11px 20px 5px;
  font-family: 'DM Mono', monospace;
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #c9a84c;
  background: rgba(201,168,76,0.05);
  border-top: 1px solid rgba(201,168,76,0.1);
  border-bottom: 1px solid rgba(201,168,76,0.08);
  margin-top: 2px;
}
.oe-sb-sub a {
  padding: 12px 20px 12px 32px;
  font-size: 0.8rem;
  color: rgba(234,230,222,0.62);
  font-weight: 300;
  min-height: 44px;
}
.oe-sb-sub a:hover { padding-left: 38px; }

.oe-sb-footer {
  padding: 16px 20px 28px;
  border-top: 1px solid rgba(201,168,76,0.12);
  flex-shrink: 0;
}
.oe-sb-auth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 20px;
  border: 1px solid rgba(201,168,76,0.5);
  color: #c9a84c;
  background: transparent;
  border-radius: 2px;
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.2s;
}
.oe-sb-auth-btn:hover { background: #c9a84c; color: #050e1f; }

/* Responsive header */
@media (max-width: 1024px) {
  .oe-header { padding: 0 20px; }
  .oe-nav    { display: none; }
  .oe-hamburger { display: flex; }
}
@media (max-width: 640px) {
  .oe-logo img { height: 28px; max-width: 160px; }
}

/* ── FOOTER ── */
.oe-footer {
  background: #050e1f;
  border-top: 1px solid rgba(201,168,76,0.22);
  font-family: 'DM Sans', sans-serif;
  margin-top: 80px;
}
.oe-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.oe-footer-brand { display: flex; align-items: center; text-decoration: none; flex-shrink: 0; }
.oe-footer-brand img { height: 26px; width: auto; max-width: 150px; display: block; filter: brightness(0.75); opacity: 0.65; }
.oe-footer-nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0; list-style: none; }
.oe-footer-nav a {
  display: inline-block;
  padding: 4px 14px;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(234,230,222,0.65);
  text-decoration: none;
  border-right: 1px solid rgba(255,255,255,0.1);
  transition: color 0.2s;
  white-space: nowrap;
}
.oe-footer-nav li:last-child a { border-right: none; }
.oe-footer-nav a:hover { color: #c9a84c; }
.oe-footer-copy {
  font-family: 'DM Mono', monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  color: rgba(234,230,222,0.45);
  white-space: nowrap;
}
.oe-footer-disclaimer {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 48px 20px;
  font-size: 0.65rem;
  color: rgba(234,230,222,0.3);
  line-height: 1.6;
  letter-spacing: 0.02em;
  border-top: 1px solid rgba(255,255,255,0.04);
}
@media (max-width: 768px) {
  .oe-footer-inner { flex-direction: column; align-items: flex-start; padding: 24px; gap: 20px; }
  .oe-footer-nav a { padding: 4px 10px; font-size: 0.68rem; }
  .oe-footer-disclaimer { padding: 14px 24px 18px; }
}
