/* ---------- Reset ---------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

img,
svg {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Design tokens ---------- */
:root {
  --bg: #0a0a0a;
  --bg-elevated: #151510;
  --bg-elevated-2: #1c1c15;
  --border-subtle: rgba(244, 196, 48, 0.15);

  --gold: #f4c430;
  --gold-light: #ffe27a;
  --gold-dark: #caa000;
  --accent-blue: #38bdf8;

  --bg-navy: #0d0f1a;
  --bg-navy-elevated: #12162a;

  --text-heading: #ffffff;
  --text-body: #b8b8b0;
  --text-muted: #86867e;

  --font-heading: 'Poppins', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;

  --container-width: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;

  --transition-fast: 0.2s ease;
}

.user-notices-stack {
  position: sticky;
  top: 0;
  z-index: 500;
}

.user-notice-banner {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background-color: var(--bg-elevated);
  border-bottom: 1px solid var(--border-subtle);
  padding: 12px 24px;
  font-family: var(--font-body);
}

.user-notice-banner strong {
  color: var(--gold);
  font-weight: 700;
}

.user-notice-banner p {
  margin: 2px 0 0;
  color: var(--text-body);
  font-size: 0.88rem;
  line-height: 1.5;
}

.user-notice-body {
  flex: 1;
  min-width: 0;
}

.user-notice-dismiss {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  padding: 2px 6px;
}

.user-notice-dismiss:hover {
  color: var(--text-heading);
}

body {
  background-color: var(--bg);
  background-image:
    radial-gradient(ellipse at top left, rgba(244, 196, 48, 0.06), transparent 55%),
    radial-gradient(ellipse at bottom right, rgba(244, 196, 48, 0.04), transparent 50%);
  color: var(--text-body);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-heading);
  line-height: 1.2;
  font-weight: 700;
}

.accent {
  color: var(--gold);
}

.link-gold {
  color: var(--gold);
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform var(--transition-fast), filter var(--transition-fast), background-color var(--transition-fast);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-solid {
  background-color: var(--gold);
  color: #12100a;
}

.btn-solid:hover {
  filter: brightness(1.08);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-heading);
  border: 1px solid var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ---------- Navbar ---------- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: rgba(10, 10, 10, 0.75);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-subtle);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-heading);
}

.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

.logo .accent {
  color: var(--gold);
}

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

.nav-links a:not(.btn) {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-body);
  position: relative;
  padding-bottom: 6px;
  transition: color var(--transition-fast);
}

.nav-links a:not(.btn):hover {
  color: var(--text-heading);
}

.nav-links a.active {
  color: var(--text-heading);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background-color: var(--gold);
  border-radius: 2px;
}

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

.icon-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-elevated-2);
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.icon-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background-color: var(--text-heading);
  border-radius: 2px;
}

/* ---------- Scroll-to-top ---------- */
.scroll-top-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--gold);
  color: #12100a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  box-shadow: 0 8px 24px rgba(244, 196, 48, 0.35);
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity var(--transition-fast), transform var(--transition-fast), visibility var(--transition-fast);
}

.scroll-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top-btn:hover {
  filter: brightness(1.1);
  transform: translateY(-3px);
}

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Coming soon (stub pages) ---------- */
.coming-soon {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 60px;
}

.coming-soon h1 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  margin-bottom: 16px;
}

.coming-soon p {
  max-width: 480px;
  font-size: clamp(0.92rem, 2.5vw, 1rem);
  margin-bottom: 28px;
}

@media (max-width: 900px) {
  .coming-soon {
    padding: 104px 24px 56px;
  }
}

@media (max-width: 480px) {
  .coming-soon {
    padding: 92px 20px 48px;
  }
}

/* ---------- Mobile-only nav CTAs (shown inside the dropdown) ---------- */
.nav-cta-mobile {
  display: none;
}

/* ---------- Responsive nav ---------- */
@media (max-width: 900px) {
  .navbar .container {
    height: 72px;
  }

  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background-color: var(--bg);
    border-bottom: 1px solid var(--border-subtle);
    max-height: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: max-height var(--transition-fast), opacity var(--transition-fast), visibility var(--transition-fast);
  }

  .nav-links.open {
    max-height: calc(100vh - 72px);
    opacity: 1;
    visibility: visible;
  }

  .nav-links a:not(.btn) {
    width: 100%;
    padding: 16px 24px;
  }

  .nav-links a.active::after {
    display: none;
  }

  .nav-toggle {
    display: flex;
    flex-shrink: 0;
  }

  .nav-right .btn {
    display: none;
  }

  .nav-cta-mobile {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    padding: 20px 24px 28px;
  }

  .nav-cta-mobile .btn {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .navbar .container {
    height: 64px;
  }

  .nav-links {
    top: 64px;
  }

  .nav-links.open {
    max-height: calc(100vh - 64px);
  }

  .logo {
    font-size: 1.25rem;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  .icon-btn {
    width: 36px;
    height: 36px;
  }
}

/* ---------- CTA banner ---------- */
.cta-section {
  padding: 0 0 60px;
}

.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: linear-gradient(120deg, rgba(244, 196, 48, 0.1), rgba(244, 196, 48, 0.02));
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px 48px;
}

.cta-banner h2 {
  font-size: clamp(1.3rem, 3vw, 1.7rem);
  margin-bottom: 8px;
}

.cta-banner p {
  color: var(--text-body);
  font-size: 0.92rem;
  max-width: 480px;
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 32px 24px;
  }

  .cta-actions {
    width: 100%;
  }

  .cta-actions .btn {
    flex: 1;
  }
}

/* ---------- Site footer ---------- */
.site-footer {
  background-color: var(--bg-elevated);
  border-top: 1px solid var(--border-subtle);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-brand .logo {
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--text-body);
  font-size: 0.88rem;
  margin-bottom: 20px;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.footer-col h4 {
  font-size: 0.95rem;
  color: var(--text-heading);
  margin-bottom: 18px;
}

.footer-col a {
  display: block;
  color: var(--text-body);
  font-size: 0.88rem;
  margin-bottom: 12px;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-contact p {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--text-body);
  font-size: 0.85rem;
  margin-bottom: 14px;
}

.footer-contact p svg {
  flex-shrink: 0;
  color: var(--gold);
}

.footer-subscribe {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-subscribe input {
  flex: 1;
  min-width: 0;
  background-color: var(--bg-elevated-2);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  color: var(--text-heading);
  font-family: var(--font-body);
  font-size: 0.85rem;
}

.footer-subscribe input:focus {
  outline: none;
  border-color: var(--gold);
}

.footer-subscribe button {
  background-color: var(--gold);
  color: #12100a;
  font-weight: 700;
  font-size: 0.85rem;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  transition: filter var(--transition-fast);
}

.footer-subscribe button:hover {
  filter: brightness(1.08);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border-subtle);
  padding: 20px 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}
