/* ============================================================
   nmb-theme.css — No More Boo Shared Design System
   Import this on every page. Do NOT override nav, footer,
   body background, or brand colors locally.
   ============================================================ */

/* ── FONTS ── */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Rajdhani:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

/* ── DESIGN TOKENS ── */
:root {
  /* Brand colors */
  --pink:       #DC143C;  /* Crimson red — primary accent, CTAs */
  --cyan:       #00D4FF;  /* Electric cyan — secondary accent */
  --yellow:     #FFD700;  /* Gold — tertiary accent */
  --dark:       #0A0A0A;  /* Near black — ticker, footer, headings */

  /* Page chrome */
  --bg:         #ffffff;  /* White — page background */
  --surface:    #FAFAFA;  /* Off-white — section backgrounds */
  --surface2:   #F5F5F5;  /* Light grey — nested surfaces */
  --border:     #EFEFEF;  /* Light grey — borders */
  --border2:    #E8E8E8;  /* Slightly darker border */

  /* Text */
  --text:       #0A0A0A;  /* Near black — primary text */
  --text2:      #444444;  /* Dark grey — secondary text */
  --muted:      #888888;  /* Grey — muted text */
  --muted2:     #AAAAAA;  /* Light grey — extra muted */

  /* Typography */
  --font-title: 'Bebas Neue', sans-serif;
  --font-ui:    'Rajdhani', sans-serif;
  --font-mono:  'Space Mono', monospace;
}

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

/* ── BASE ── */
html, body {
  font-family: var(--font-ui);
  background: #f0f0f0;
  color: var(--text);
  min-height: 100vh;
}

.site-frame {
  max-width: 1200px;
  margin: 48px auto;
  border-radius: 20px;
  overflow: visible;
  box-shadow: 0 60px 160px rgba(0,0,0,0.22);
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 96px);
}

/* ── NAV ── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 300;
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 0 48px;
  height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
  border-radius: 20px 20px 0 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-title);
  font-size: 24px;
  letter-spacing: 3px;
  color: var(--dark);
  white-space: nowrap;
}
.nav-brand img { width: 44px; height: 44px; object-fit: contain; }
.nav-brand .boo { color: var(--pink); }

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  padding: 0 24px;
}

.nav-tab {
  padding: 8px 18px;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-tab:hover { color: var(--dark); background: var(--surface); }
.nav-tab.active { background: var(--dark); color: #fff; }

.nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-report-btn {
  background: var(--pink);
  color: #fff;
  padding: 11px 26px;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.15s;
  white-space: nowrap;
}
.nav-report-btn:hover { opacity: 0.88; }

.nav-login-btn {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 100px;
  border: 1px solid var(--border2);
  transition: all 0.15s;
  white-space: nowrap;
}
.nav-login-btn:hover { color: var(--dark); border-color: var(--dark); }

/* user menu (logged in) */
.nav-user-wrap {
  position: relative;
  display: none;
}
.nav-user-wrap.visible { display: block; }

.nav-user-btn {
  background: transparent;
  border: 1px solid var(--border2);
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  color: var(--dark);
  padding: 9px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: border-color 0.15s;
  white-space: nowrap;
}
.nav-user-btn:hover { border-color: var(--pink); color: var(--pink); }
.nav-user-btn .caret { font-size: 9px; opacity: 0.6; }

.nav-dropdown {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  min-width: 160px;
  display: none;
  z-index: 400;
  overflow: hidden;
}
.nav-dropdown.open { display: block; }

.nav-dropdown a,
.nav-dropdown button {
  display: block;
  width: 100%;
  padding: 10px 18px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
  color: var(--text2);
  text-decoration: none;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  transition: background 0.12s;
  letter-spacing: 0.5px;
}
.nav-dropdown a:hover,
.nav-dropdown button:hover { background: var(--surface); }
.nav-dropdown .danger { color: var(--pink); }
.nav-dropdown .divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ── RAINBOW DIVIDER ── */
.rainbow-divider {
  height: 3px;
  background: linear-gradient(90deg, #DC143C, #00D4FF, #FFD700, #DC143C);
  flex-shrink: 0;
}

/* ── TICKER ── */
.site-ticker {
  background: var(--dark);
  padding: 12px 0;
  overflow: hidden;
  flex-shrink: 0;
}
.ticker-inner {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: tickerScroll 30s linear infinite;
}
@keyframes tickerScroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }
.ticker-item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--pink);
  text-transform: uppercase;
}
.ticker-sep {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--yellow);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  padding: 32px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  flex-shrink: 0;
  border-radius: 0 0 20px 20px;
}

.footer-brand {
  font-family: var(--font-title);
  font-size: 20px;
  letter-spacing: 3px;
  color: #fff;
  text-decoration: none;
}
.footer-brand span { color: var(--pink); }

.footer-mission {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #444;
  letter-spacing: 1px;
}

.footer-links {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-links a {
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #666;
  transition: color 0.15s;
}
.footer-links a:hover { color: #fff; }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #444;
  letter-spacing: 1px;
  white-space: nowrap;
}

/* ── SHARED UTILITY CLASSES ── */

/* Page scaffolding */
.page-wrap  { max-width: 900px;  margin: 0 auto; padding: 3rem 2rem 5rem; flex: 1; width: 100%; }
.page-wide  { max-width: 1100px; margin: 0 auto; padding: 3rem 2rem 5rem; flex: 1; width: 100%; }

.page-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1rem;
  background: rgba(220,20,60,0.08);
  border: 1px solid rgba(220,20,60,0.25);
  padding: 4px 14px;
  border-radius: 100px;
}

.page-title {
  font-family: var(--font-title);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--dark);
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
  line-height: 1;
}
.page-title .accent-pink  { color: var(--pink); }
.page-title .accent-cyan  { color: var(--cyan); }
.page-title .accent-yellow{ color: var(--yellow); }

.page-sub { color: var(--muted); font-size: 1rem; line-height: 1.75; font-weight: 400; }

/* Buttons */
.btn-primary {
  background: var(--pink);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(220,20,60,0.25);
  transition: opacity 0.15s, transform 0.15s;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }

.btn-secondary {
  background: var(--dark);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.15s;
}
.btn-secondary:hover { opacity: 0.8; }

.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--border2);
  padding: 13px 32px;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.15s;
}
.btn-outline:hover { border-color: var(--dark); }

.btn-danger {
  background: transparent;
  color: var(--pink);
  border: 1.5px solid var(--pink);
  padding: 10px 22px;
  border-radius: 100px;
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.15s;
}
.btn-danger:hover { background: rgba(220,20,60,0.07); }

/* Surface cards */
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--pink); box-shadow: 0 4px 20px rgba(220,20,60,0.08); }

.card-accent-pink   { border-top: 3px solid var(--pink); }
.card-accent-cyan   { border-top: 3px solid var(--cyan); }
.card-accent-yellow { border-top: 3px solid var(--yellow); }

/* Badges */
.badge-pro  { background: var(--pink); color: #fff; font-family: var(--font-mono); font-size: 0.65rem; padding: 3px 10px; border-radius: 100px; letter-spacing: 1px; }
.badge-free { background: var(--surface2); color: var(--muted); font-family: var(--font-mono); font-size: 0.65rem; padding: 3px 10px; border-radius: 100px; }
.badge-ent  { background: var(--cyan); color: var(--dark); font-family: var(--font-mono); font-size: 0.65rem; padding: 3px 10px; border-radius: 100px; }

/* Section label */
.section-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--pink);
  letter-spacing: 3px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 1.25rem;
  background: rgba(220,20,60,0.08);
  border: 1px solid rgba(220,20,60,0.25);
  padding: 4px 14px;
  border-radius: 100px;
}

/* Prominent section heading — use on major page sections */
.section-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--border);
}
.section-heading-label {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--pink);
  letter-spacing: 4px;
  text-transform: uppercase;
  background: rgba(220,20,60,0.07);
  border: 1px solid rgba(220,20,60,0.2);
  padding: 3px 10px;
  border-radius: 100px;
  white-space: nowrap;
}
.section-heading h2 {
  font-family: var(--font-title);
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--text);
  letter-spacing: 2px;
  line-height: 1;
}
.section-heading::before {
  content: '';
  width: 4px;
  height: 2rem;
  background: var(--pink);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Empty / loading states */
.state-empty   { font-family: var(--font-mono); color: var(--muted2); text-align: center; padding: 3rem; font-size: 13px; letter-spacing: 2px; }
.state-loading { font-family: var(--font-mono); color: var(--muted2); text-align: center; padding: 3rem; font-size: 13px; letter-spacing: 2px; animation: pulse 1.5s infinite; }

@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }

/* ── RESPONSIVE ── */
@media (max-width: 760px) {
  .site-nav     { padding: 0 1.25rem; }
  .nav-tabs     { display: none; }
  .site-footer  { padding: 24px 1.25rem; flex-direction: column; align-items: flex-start; }
  .footer-mission { display: none; }
  .page-wrap, .page-wide { padding: 2rem 1rem 4rem; }
}
