/* ============================================================
   COLORADO POOL MADNESS — Updated CSS v2
   Light default + Color theme picker
   /public_html/assets/css/app.css (REPLACE existing file)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700;800&family=Barlow:wght@400;500;600&display=swap');

/* ── Theme Color Variables ── */
:root {
  /* Default: Red theme */
  --accent:       #CC0000;
  --accent-dark:  #aa0000;
  --accent-light: rgba(204,0,0,0.12);
  --gold:         #F5C518;
  --gold-dark:    #d4a800;
  --navy:         #003087;
  --navy-light:   #1a4fa0;
}

/* Color themes */
body.theme-red    { --accent:#CC0000; --accent-dark:#aa0000; --accent-light:rgba(204,0,0,0.12); }
body.theme-blue   { --accent:#1a6fcc; --accent-dark:#1255a0; --accent-light:rgba(26,111,204,0.12); }
body.theme-green  { --accent:#16a34a; --accent-dark:#0f7a38; --accent-light:rgba(22,163,74,0.12); }
body.theme-purple { --accent:#7c3aed; --accent-dark:#6029c9; --accent-light:rgba(124,58,237,0.12); }

/* ── LIGHT MODE (Default) ── */
:root {
  --bg:         #f5f6fa;
  --bg2:        #ffffff;
  --card:       #ffffff;
  --border:     #e2e5ed;
  --text:       #111318;
  --text2:      #6b7280;
  --text3:      #9ca3af;
  --shadow:     0 2px 12px rgba(0,0,0,0.08);
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06);
  --success:    #16a34a;
  --warning:    #d97706;
  --danger:     #CC0000;
  --sidebar-w:  200px;
  --topnav-h:   54px;
  --radius:     10px;
  --radius-sm:  6px;
  --radius-lg:  14px;
  --transition: all 0.2s ease;
}

/* ── DARK MODE ── */
body.dark {
  --bg:    #0d0f14;
  --bg2:   #13161e;
  --card:  #1c1f28;
  --border:#2a2e3d;
  --text:  #f0f0f0;
  --text2: #7a7f94;
  --text3: #4a4f64;
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: 'Barlow', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  transition: background 0.3s, color 0.3s;
  line-height: 1.5;
}
a { color: var(--accent); text-decoration: none; transition: var(--transition); }
a:hover { opacity: 0.85; }
img { max-width: 100%; }
input, textarea, select, button { font-family: inherit; }

::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 10px; }

/* ── App Layout ── */
.app-wrapper { display: flex; flex-direction: column; min-height: 100vh; }

/* ── Top Nav ── */
.topnav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--topnav-h);
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center;
  padding: 0 16px; gap: 10px; z-index: 100;
  box-shadow: var(--shadow-sm);
}
.topnav::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--gold), var(--navy));
}

.topnav-logo { display: flex; align-items: center; gap: 9px; width: var(--sidebar-w); flex-shrink: 0; text-decoration: none; }
.logo-mark {
  width: 32px; height: 32px; background: var(--accent); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Bebas Neue', sans-serif; font-size: 14px; color: #fff; letter-spacing: 1px; flex-shrink: 0;
}
.logo-name { font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 800; color: var(--accent); letter-spacing: 0.02em; display: block; }
.logo-sub  { font-size: 9px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text2); display: block; }

.topnav-links { display: flex; gap: 2px; flex: 1; }
.topnav-link {
  padding: 6px 12px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 600; color: var(--text2);
  cursor: pointer; border: none; background: transparent;
  transition: var(--transition); text-decoration: none;
  display: inline-flex; align-items: center; gap: 5px; position: relative;
}
.topnav-link:hover { color: var(--accent); opacity: 1; }
.topnav-link.active { background: var(--accent-light); color: var(--accent); }
.topnav-link.active::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0;
  height: 2px; background: var(--accent); border-radius: 2px 2px 0 0;
}

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

/* Theme controls */
.theme-controls { display: flex; align-items: center; gap: 6px; }
.color-dot {
  width: 16px; height: 16px; border-radius: 50%; cursor: pointer;
  border: 2px solid transparent; transition: transform 0.2s, border-color 0.2s;
}
.color-dot:hover { transform: scale(1.2); }
.color-dot.active { border-color: var(--text); transform: scale(1.1); }
.color-dot.red    { background: #CC0000; }
.color-dot.blue   { background: #1a6fcc; }
.color-dot.green  { background: #16a34a; }
.color-dot.purple { background: #7c3aed; }

.dark-toggle {
  padding: 4px 10px; border-radius: 20px; border: 1px solid var(--border);
  background: transparent; color: var(--text2); font-size: 11px;
  font-weight: 700; cursor: pointer; letter-spacing: 0.05em; transition: var(--transition);
}
.dark-toggle:hover { border-color: var(--accent); color: var(--accent); }

.notif-btn {
  position: relative; width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: var(--bg); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 16px; transition: var(--transition); text-decoration: none;
}
.notif-btn:hover { border-color: var(--accent); }
.notif-pip {
  position: absolute; top: 4px; right: 4px;
  width: 8px; height: 8px; background: var(--accent);
  border-radius: 50%; border: 2px solid var(--bg2);
}
.user-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--navy));
  border: 2px solid var(--gold); display: flex; align-items: center;
  justify-content: center; font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px; font-weight: 800; color: #fff; cursor: pointer; text-decoration: none;
}

/* ── Body + Sidebar ── */
.app-body { display: flex; margin-top: var(--topnav-h); min-height: calc(100vh - var(--topnav-h)); }

.sidebar {
  width: var(--sidebar-w); flex-shrink: 0;
  background: var(--bg2); border-right: 1px solid var(--border);
  padding: 10px 8px 20px; display: flex; flex-direction: column; gap: 1px;
  position: fixed; top: var(--topnav-h); left: 0; bottom: 0;
  overflow-y: auto; z-index: 90;
}
.sidebar-section {
  font-size: 9px; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--text3); padding: 12px 10px 4px; margin-top: 4px;
}
.sidebar-btn {
  display: flex; align-items: center; gap: 8px; padding: 8px 10px;
  border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 600;
  color: var(--text); cursor: pointer; border: none; background: transparent;
  width: 100%; text-align: left; transition: var(--transition); text-decoration: none;
}
.sidebar-btn:hover { background: var(--accent-light); color: var(--accent); }
.sidebar-btn.active {
  background: var(--accent-light); color: var(--accent);
  border-left: 3px solid var(--accent); padding-left: 7px;
}
.sidebar-icon { width: 18px; height: 18px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 14px; }
.sidebar-badge { margin-left: auto; background: var(--accent); color: #fff; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 10px; }
.sidebar-badge.gold { background: var(--gold); color: #000; }

.main-content { flex: 1; margin-left: var(--sidebar-w); padding: 24px; max-width: 100%; }

/* ── Components ── */
.page-header { margin-bottom: 20px; }
.page-title { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 0.04em; display: flex; align-items: center; gap: 10px; line-height: 1; margin-bottom: 4px; }
.page-subtitle { font-size: 13px; color: var(--text2); font-weight: 500; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; transition: var(--transition); }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.card-title { font-family: 'Barlow Condensed', sans-serif; font-size: 14px; font-weight: 800; color: var(--accent); letter-spacing: 0.04em; text-transform: uppercase; }
.card-action { font-size: 11px; color: var(--accent); font-weight: 700; cursor: pointer; text-decoration: none; }
.card-red   { border-top: 3px solid var(--accent); }
.card-gold  { border-top: 3px solid var(--gold); }
.card-navy  { border-top: 3px solid var(--navy); }
.card-green { border-top: 3px solid var(--success); }

/* Stats */
.stat-label { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text2); margin-bottom: 6px; }
.stat-value { font-family: 'Bebas Neue', sans-serif; font-size: 32px; letter-spacing: 0.02em; line-height: 1; }
.stat-change { font-size: 11px; font-weight: 600; margin-top: 4px; }
.stat-change.up  { color: var(--success); }
.stat-change.down{ color: var(--danger); }
.stat-change.neu { color: var(--gold); }

/* Grids */
.grid-4  { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.grid-3  { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
.grid-2  { display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 14px; }
.grid-2e { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 9px 20px; border-radius: var(--radius-sm);
  font-size: 13px; font-weight: 700; cursor: pointer; border: none;
  transition: var(--transition); text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif; letter-spacing: 0.06em; text-transform: uppercase;
}
.btn-primary   { background: var(--accent);   color: #fff; }
.btn-primary:hover { background: var(--accent-dark); color: #fff; opacity: 1; }
.btn-gold      { background: var(--gold);  color: #000; }
.btn-gold:hover { background: var(--gold-dark); color: #000; opacity: 1; }
.btn-navy      { background: var(--navy);  color: #fff; }
.btn-navy:hover { background: var(--navy-light); color: #fff; opacity: 1; }
.btn-outline   { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); opacity: 1; }
.btn-sm  { padding: 5px 12px; font-size: 11px; }
.btn-lg  { padding: 12px 28px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

/* Tags */
.tag { display: inline-flex; align-items: center; font-size: 10px; font-weight: 800; padding: 3px 9px; border-radius: 20px; letter-spacing: 0.04em; white-space: nowrap; }
.tag-red   { background: var(--accent-light); color: var(--accent); }
.tag-gold  { background: rgba(245,197,24,0.15); color: #8a6d00; }
.tag-navy  { background: rgba(0,48,135,0.12); color: var(--navy-light); }
.tag-green { background: rgba(22,163,74,0.12); color: var(--success); }
.tag-gray  { background: rgba(100,100,100,0.12); color: var(--text2); }
body.dark .tag-gold  { color: var(--gold); }
body.dark .tag-navy  { color: #7aaaf5; }

/* Event items */
.event-item { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.event-item:last-child { border-bottom: none; padding-bottom: 0; }
.event-date-box { width: 40px; height: 40px; border-radius: 8px; background: linear-gradient(135deg, var(--navy), var(--navy-light)); display: flex; flex-direction: column; align-items: center; justify-content: center; flex-shrink: 0; }
.event-date-month { font-size: 8px; font-weight: 700; color: rgba(255,255,255,0.7); text-transform: uppercase; }
.event-date-day   { font-size: 16px; font-weight: 800; color: #fff; line-height: 1; }
.event-info { flex: 1; min-width: 0; }
.event-name { font-size: 13px; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.event-venue { font-size: 11px; color: var(--text2); margin-top: 1px; }

/* Notifications */
.notif-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.notif-item:last-child { border-bottom: none; }
.notif-dot { width: 9px; height: 9px; border-radius: 50%; margin-top: 4px; flex-shrink: 0; }
.notif-text { font-size: 12px; line-height: 1.55; color: var(--text2); }
.notif-text b { font-weight: 700; color: var(--text); }
.notif-time { font-size: 10px; color: var(--text3); margin-top: 2px; }

/* Leaderboard */
.lb-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); }
.lb-item:last-child { border-bottom: none; }
.lb-rank { width: 22px; font-size: 12px; font-weight: 800; text-align: center; }
.lb-avatar { width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; flex-shrink: 0; }
.lb-name   { flex: 1; font-size: 12px; font-weight: 600; }
.lb-points { font-size: 12px; font-weight: 800; color: var(--gold); }

/* Progress */
.progress-wrap { margin-top: 8px; }
.progress-label { display: flex; justify-content: space-between; font-size: 11px; font-weight: 700; margin-bottom: 6px; color: var(--gold); }
.progress-bar { height: 8px; border-radius: 4px; background: var(--border); overflow: hidden; }
.progress-fill { height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--accent), var(--gold)); transition: width 0.6s ease; }

/* Data rows */
.data-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.data-row:last-child { border-bottom: none; }
.data-row-value { font-weight: 700; color: var(--gold); }

/* Tables */
.data-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.data-table th { padding: 8px 10px; text-align: left; font-size: 10px; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text2); border-bottom: 2px solid var(--border); }
.data-table td { padding: 9px 10px; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--accent-light); }

/* Forms */
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text2); margin-bottom: 6px; }
.form-input {
  width: 100%; background: var(--bg); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 10px 14px;
  color: var(--text); font-size: 13px; font-family: inherit; outline: none; transition: var(--transition);
}
.form-input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-light); }
.form-input::placeholder { color: var(--text3); }
textarea.form-input { resize: vertical; min-height: 100px; }
select.form-input { cursor: pointer; }
.form-error { font-size: 11px; color: var(--danger); margin-top: 4px; font-weight: 600; }
.form-hint  { font-size: 11px; color: var(--text3); margin-top: 4px; }

/* Alerts */
.alert { padding: 12px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; margin-bottom: 16px; border-left: 4px solid; }
.alert-success { background: rgba(22,163,74,0.1);   border-color: var(--success); color: var(--success); }
.alert-error   { background: rgba(204,0,0,0.1);     border-color: var(--danger);  color: var(--danger); }
.alert-warning { background: rgba(217,119,6,0.1);   border-color: var(--warning); color: var(--warning); }
.alert-info    { background: rgba(0,48,135,0.1);    border-color: var(--navy);    color: var(--navy-light); }

/* Post cards */
.post-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; margin-bottom: 12px; }
.post-author-row { display: flex; gap: 10px; align-items: center; margin-bottom: 10px; }
.post-author-name { font-size: 13px; font-weight: 700; }
.post-author-meta { font-size: 11px; color: var(--text2); }
.post-body { font-size: 13px; line-height: 1.65; margin-bottom: 12px; }
.post-actions { display: flex; gap: 16px; }
.post-action-btn { font-size: 12px; font-weight: 600; color: var(--text2); cursor: pointer; border: none; background: transparent; transition: var(--transition); padding: 0; }
.post-action-btn:hover { color: var(--accent); }

/* Business cards */
.biz-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px; display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.biz-icon { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; }
.biz-name { font-size: 14px; font-weight: 800; margin-bottom: 2px; }
.biz-type { font-size: 10px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.biz-meta { font-size: 11px; color: var(--text2); margin-top: 3px; }
.biz-actions { display: flex; gap: 6px; margin-top: 8px; }

/* Tier cards */
.tier-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 16px; text-align: center; }
.tier-card.featured { border-color: var(--gold); border-width: 2px; }
.tier-badge { display: inline-block; background: var(--gold); color: #000; font-size: 9px; font-weight: 800; padding: 2px 10px; border-radius: 10px; letter-spacing: 0.08em; margin-bottom: 8px; }
.tier-name  { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 6px; }
.tier-price { font-family: 'Bebas Neue', sans-serif; font-size: 40px; color: var(--gold); line-height: 1; }
.tier-price span { font-family: 'Barlow', sans-serif; font-size: 14px; font-weight: 400; color: var(--text2); }
.tier-reach { font-size: 11px; font-weight: 700; color: var(--accent); margin: 8px 0; }
.tier-features { font-size: 11px; line-height: 1.9; color: var(--text2); text-align: left; margin-top: 10px; }

/* Admin stats */
.admin-stat { border-radius: var(--radius); padding: 12px; border: 1px solid var(--border); border-top: 3px solid var(--accent); background: var(--card); }

/* Auth pages */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--bg); padding: 20px; position: relative; overflow: hidden; }
.auth-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; width: 100%; max-width: 440px; position: relative; z-index: 1; box-shadow: var(--shadow); }
.auth-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--accent), var(--gold), var(--navy)); border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
.auth-logo { display: flex; align-items: center; gap: 12px; justify-content: center; margin-bottom: 28px; text-decoration: none; }
.auth-logo-mark { width: 44px; height: 44px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-family: 'Bebas Neue', sans-serif; font-size: 18px; color: #fff; letter-spacing: 1px; }
.auth-logo-name { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: var(--accent); letter-spacing: 0.04em; display: block; line-height: 1; }
.auth-logo-sub { font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--text2); }
.auth-title { font-family: 'Bebas Neue', sans-serif; font-size: 28px; letter-spacing: 0.04em; margin-bottom: 4px; text-align: center; }
.auth-subtitle { font-size: 13px; color: var(--text2); text-align: center; margin-bottom: 28px; }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; font-size: 11px; color: var(--text3); }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }
.auth-footer { text-align: center; font-size: 13px; color: var(--text2); margin-top: 20px; }

/* Public site */
.pub-nav { position: fixed; top: 0; left: 0; right: 0; height: var(--topnav-h); background: var(--bg2); border-bottom: 1px solid var(--border); display: flex; align-items: center; padding: 0 24px; gap: 6px; z-index: 100; box-shadow: var(--shadow-sm); }
.pub-nav::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, var(--accent), var(--gold), var(--navy)); }
.pub-nav-logo { margin-right: auto; }
.pub-nav-link { padding: 6px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 600; color: var(--text2); cursor: pointer; border: none; background: transparent; transition: var(--transition); text-decoration: none; }
.pub-nav-link:hover { color: var(--accent); opacity: 1; }
.pub-nav-login { background: transparent; color: var(--accent); border: 1px solid var(--accent); padding: 5px 14px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 700; cursor: pointer; text-decoration: none; }
.pub-nav-join  { background: var(--accent); color: #fff; border: none; padding: 6px 16px; border-radius: var(--radius-sm); font-size: 13px; font-weight: 800; cursor: pointer; text-decoration: none; }

/* Hero */
.pub-hero { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: calc(var(--topnav-h) + 40px) 24px 80px; position: relative; overflow: hidden; background: linear-gradient(160deg, #05080f 0%, #0a0d1a 40%, #0d0508 100%); }
.pub-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 70% 50% at 30% 60%, rgba(0,48,135,0.35) 0%, transparent 70%), radial-gradient(ellipse 50% 40% at 75% 40%, rgba(204,0,0,0.25) 0%, transparent 70%); }
.pub-hero-content { position: relative; z-index: 1; max-width: 680px; }
.pub-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; display: block; }
.pub-h1 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(52px, 10vw, 90px); line-height: 0.95; letter-spacing: 0.03em; color: #fff; margin-bottom: 16px; }
.pub-h1 .accent-gold { color: var(--gold); }
.pub-h1 .accent-red  { color: var(--accent); }
.pub-desc { font-size: 16px; color: rgba(255,255,255,0.6); line-height: 1.7; margin-bottom: 32px; max-width: 500px; margin-left: auto; margin-right: auto; }
.pub-hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 48px; }
.pub-stats { display: flex; gap: 40px; justify-content: center; flex-wrap: wrap; }
.pub-stat-val { font-family: 'Bebas Neue', sans-serif; font-size: 36px; color: var(--gold); display: block; line-height: 1; }
.pub-stat-label { font-size: 11px; color: rgba(255,255,255,0.4); letter-spacing: 0.15em; text-transform: uppercase; }

/* Social share buttons */
.share-btn {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 14px; border-radius: var(--radius-sm);
  font-size: 12px; font-weight: 700; cursor: pointer;
  border: none; transition: var(--transition); text-decoration: none;
}
.share-facebook { background: #1877F2; color: #fff; }
.share-twitter  { background: #1DA1F2; color: #fff; }
.share-copy     { background: var(--border); color: var(--text); }
.share-email    { background: var(--navy); color: #fff; }

/* Spinner */
.spinner { width: 20px; height: 20px; border: 2px solid var(--border); border-top-color: var(--accent); border-radius: 50%; animation: spin 0.7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Utilities */
.mb-0{margin-bottom:0}.mb-8{margin-bottom:8px}.mb-12{margin-bottom:12px}.mb-16{margin-bottom:16px}.mb-24{margin-bottom:24px}
.mt-8{margin-top:8px}.mt-12{margin-top:12px}.mt-16{margin-top:16px}.mt-24{margin-top:24px}
.text-gold{color:var(--gold)}.text-accent{color:var(--accent)}.text-muted{color:var(--text2)}.text-center{text-align:center}
.font-bold{font-weight:700}.font-heavy{font-weight:800}
.flex{display:flex}.flex-center{display:flex;align-items:center;justify-content:center}.flex-between{display:flex;align-items:center;justify-content:space-between}
.gap-6{gap:6px}.gap-8{gap:8px}.gap-12{gap:12px}.gap-16{gap:16px}
.hidden{display:none}.w-full{width:100%}

/* Responsive */
@media(max-width:768px){
  .sidebar{transform:translateX(-100%)}.sidebar.open{transform:translateX(0)}
  .main-content{margin-left:0;padding:16px}
  .grid-4{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid-3{grid-template-columns:repeat(2,minmax(0,1fr))}
  .grid-2,.grid-2e{grid-template-columns:1fr}
  .auth-card{padding:28px 20px}
  .topnav-links{display:none}
}
@media(max-width:480px){
  .grid-4{grid-template-columns:1fr 1fr}
}
