/* ── FONTS ── */
@font-face {
  font-family: 'MoMoTrustDisplay';
  src: url('../fonts/MoMoTrustDisplay.otf') format('opentype');
  font-weight: 400;
}
@font-face {
  font-family: 'MoMoTrustSans';
  src: url('../fonts/MoMoTrustSans-Light.otf') format('opentype');
  font-weight: 300;
}
@font-face {
  font-family: 'MoMoTrustSans';
  src: url('../fonts/MoMoTrustSans-Regular.otf') format('opentype');
  font-weight: 400;
}
@font-face {
  font-family: 'MoMoTrustSans';
  src: url('../fonts/MoMoTrustSans-Medium.otf') format('opentype');
  font-weight: 500;
}

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

:root {
  /* Primary */
  --momo-pink:       #A50064;
  --momo-pink-light: #FF9DBE;
  --momo-pink-bg:    #FFF0F6;
  --momo-black:      #000000;
  --momo-white:      #FFFFFF;

  --momo-gradient:   linear-gradient(135deg, #A50064 0%, #FF9DBE 100%);

  /* UI Grays */
  --gray-900: #111111;
  --gray-700: #333333;
  --gray-500: #666666;
  --gray-300: #AAAAAA;
  --gray-100: #F2F2F2;
  --gray-50:  #F8F8F8;
  --rule:     #E5E5E5;

  /* Campaign Type badge colors */
  --type-xl:  #3D2B2B;  --type-xl-text: #E8A090;
  --type-l:   #3D3520;  --type-l-text:  #C9B060;
  --type-m:   #1A2D3D;  --type-m-text:  #6AABCF;
  --type-fs:  #1D2D1D;  --type-fs-text: #7EC87E;

  /* Status pills */
  --status-inprogress-bg: #1A2A3D; --status-inprogress-text: #5B9BD5;
  --status-todo-bg:       #2A2A1A; --status-todo-text:       #C9B060;
  --status-done-bg:       #1A2D1A; --status-done-text:       #7EC87E;
  --status-hold-bg:       #2A2A2A; --status-hold-text:       #888888;

  /* Surfaces (dark) */
  --surface-0: #111111;
  --surface-1: #161616;
  --surface-2: #1E1E1E;
  --text-primary: #FFFFFF;
  --text-secondary: #888888;

  --font-display: 'MoMoTrustDisplay', sans-serif;
  --font-sans: 'MoMoTrustSans', sans-serif;
}

html, body { background: var(--surface-1); }

body {
  font-family: var(--font-sans);
  font-weight: 400;
  background: var(--surface-1);
  color: var(--text-primary);
  font-size: 14px;
  line-height: 1.6;
}

/* ── PASSWORD GATE ── */
#gate {
  position: fixed; inset: 0; z-index: 1000;
  background: #0D0D0D;
  display: flex; align-items: center; justify-content: center;
}
.gate-inner { width: 340px; }
.gate-logo {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--momo-pink-light);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 40px;
  display: block;
}
.gate-title {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--momo-white);
  line-height: 1.2;
  margin-bottom: 6px;
}
.gate-sub { font-size: 13px; color: var(--gray-500); margin-bottom: 32px; }
.gate-label { font-size: 11px; font-weight: 500; letter-spacing: 1.5px; text-transform: uppercase; color: #555; margin-bottom: 8px; display: block; }
.gate-input {
  width: 100%; padding: 12px 16px;
  background: #1e1e1e; border: 1px solid #333;
  border-radius: 6px; color: var(--momo-white);
  font-family: var(--font-sans); font-size: 14px;
  outline: none; margin-bottom: 12px;
  transition: border-color 0.2s;
}
.gate-input:focus { border-color: var(--momo-pink); }
.gate-input.error { border-color: #e55; }
.gate-btn {
  width: 100%; padding: 12px;
  background: var(--momo-pink); color: var(--momo-white);
  border: none; border-radius: 6px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 500;
  cursor: pointer; transition: background 0.2s;
}
.gate-btn:hover { background: var(--momo-pink-light); color: var(--momo-black); }
.gate-error { font-size: 12px; color: #e55; margin-top: 10px; display: none; }

/* ── APP SHELL ── */
#app { display: none; min-height: 100vh; }

/* ── TOP BAR ── */
.topbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--surface-0);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px; height: 52px;
  border-bottom: 1px solid var(--momo-pink);
}
.topbar-left { display: flex; align-items: center; gap: 16px; }
.topbar-brand {
  font-family: var(--font-display);
  font-size: 16px; color: var(--momo-white);
}
.topbar-divider { width: 1px; height: 18px; background: #333; }
.topbar-title { font-size: 12px; color: var(--gray-500); letter-spacing: 0.5px; }
.topbar-badge {
  font-size: 10px; font-weight: 500; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--momo-pink-light);
  border: 1px solid var(--momo-pink); border-radius: 3px;
  padding: 2px 8px;
}

/* ── NAV TABS ── */
.nav {
  background: var(--surface-1);
  border-bottom: 1px solid #2A2A2A;
  display: flex; padding: 0 32px;
  overflow-x: auto; gap: 0;
}
.nav-tab {
  padding: 14px 20px;
  font-family: var(--font-sans);
  font-size: 13px; font-weight: 500; color: var(--gray-500);
  cursor: pointer; border-bottom: 2px solid transparent;
  white-space: nowrap; transition: all 0.15s;
  display: flex; align-items: center; gap: 7px;
  margin-bottom: -1px;
  text-decoration: none;
}
.nav-tab:hover { color: var(--momo-white); }
.nav-tab.active { color: var(--momo-white); border-bottom-color: var(--momo-pink); font-weight: 500; }
.nav-tab .tab-icon { font-size: 14px; }

/* ── CONTENT ── */
.content { max-width: 1100px; margin: 0 auto; padding: 36px 32px 60px; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ── PAGE HEADER ── */
.page-header { margin-bottom: 32px; padding-bottom: 20px; border-bottom: 1px solid #2A2A2A; }
.page-eyebrow { font-size: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--momo-pink); margin-bottom: 8px; }
.page-title { font-family: var(--font-display); font-size: 32px; color: var(--momo-white); margin-bottom: 6px; }
.page-desc { font-size: 13px; color: var(--text-secondary); max-width: 640px; }

/* ── SECTION HEADING ── */
.sec-heading {
  font-size: 11px; font-weight: 500; letter-spacing: 2px;
  text-transform: uppercase; color: var(--momo-pink);
  padding-bottom: 8px; border-bottom: 1px solid #2A2A2A;
  margin: 28px 0 16px;
}

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  .content { padding: 24px 16px; }
  .topbar { padding: 0 16px; }
  .topbar-divider { display: none; }
  .nav { padding: 0 16px; }
}
