/* ═══════════════════════════════════════════
   CORAL COMMUNITY — coralisalive.com
   Shared Stylesheet — Dark Theme
   ═══════════════════════════════════════════ */

:root {
  --dark: #0A0A0A;
  --dark-card: #141414;
  --dark-surface: #1C1C1C;
  --gold: #C4A265;
  --gold-light: rgba(196,162,101,0.10);
  --gold-glow: rgba(196,162,101,0.06);
  --blue: #2E6B8A;
  --white: #F5F0EB;
  --off-white: #C8C2BA;
  --gray: #888;
  --mid-gray: #777;
  --dim: #555;
  --border: #2A2A2A;
  --border-light: #333;
  --font: system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--off-white); background: var(--dark); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Container ── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 720px; margin: 0 auto; padding: 0 24px; }

/* ══════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between; height: 100%;
}
.nav-logo {
  font-size: 16px; font-weight: 700; letter-spacing: 3px; color: var(--white);
}
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a {
  font-size: 14px; color: var(--gray); transition: color 0.2s;
  font-weight: 500; letter-spacing: 0.3px;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px; padding: 4px;
}
.nav-hamburger span {
  width: 22px; height: 2px; background: var(--white); border-radius: 2px;
  transition: all 0.2s;
}
.nav-mobile {
  display: none; position: fixed; top: 64px; left: 0; right: 0;
  background: rgba(10,10,10,0.98); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  flex-direction: column; padding: 16px 24px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  padding: 12px 0; font-size: 16px; color: var(--gray);
  border-bottom: 1px solid var(--border); font-weight: 500;
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--gold); }

/* Nav Avatar */
.nav-avatar-wrap { display: flex; align-items: center; }
.nav-avatar {
  width: 32px; height: 32px; border-radius: 50%; object-fit: cover;
  border: 1.5px solid var(--gold);
}
.nav-avatar-initials {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,0.08); border: 1.5px solid var(--gold);
  color: var(--gold); font-size: 12px; font-weight: 700; letter-spacing: 0.5px;
}
.nav-mobile-avatar {
  display: flex; align-items: center; padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.nav-mobile-avatar .nav-avatar,
.nav-mobile-avatar .nav-avatar-initials { width: 36px; height: 36px; }

/* ══════════════════════════════════════
   HERO
   ══════════════════════════════════════ */
.hero {
  background: var(--dark); color: var(--white);
  padding: 140px 24px 100px; text-align: center;
  min-height: 70vh; display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero::after {
  content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 120px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-small {
  min-height: 50vh; padding: 120px 24px 80px;
}
.hero-content { max-width: 680px; }
.hero-label {
  font-size: 12px; font-weight: 600; letter-spacing: 3px;
  color: var(--gold); margin-bottom: 24px; text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(32px, 5vw, 48px); font-weight: 700;
  line-height: 1.2; margin-bottom: 20px;
}
.hero p {
  font-size: 18px; color: var(--gray); line-height: 1.7;
  margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto;
}
.hero-buttons { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 32px; border-radius: 10px;
  font-size: 15px; font-weight: 600; transition: all 0.2s;
  letter-spacing: 0.3px;
}
.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: #d4b275; }
.btn-outline { border: 1.5px solid var(--border-light); color: var(--off-white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn-light { background: var(--white); color: var(--dark); }
.btn-light:hover { background: #e8e3dc; }

/* ══════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════ */
.section { padding: 80px 24px; }
.section-dark { background: var(--dark); }
.section-surface { background: var(--dark-card); }
.section-card { background: var(--dark-surface); }
.section-gold { background: var(--gold); color: var(--dark); }

.section-header {
  text-align: center; max-width: 600px; margin: 0 auto 48px;
}
.section-header h2 {
  font-size: clamp(26px, 4vw, 36px); font-weight: 700;
  margin-bottom: 12px; line-height: 1.25; color: var(--white);
}
.section-header p {
  font-size: 16px; color: var(--gray); line-height: 1.6;
}

/* ══════════════════════════════════════
   CARDS
   ══════════════════════════════════════ */
.card-grid { display: grid; gap: 20px; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--dark-surface); border: 1px solid var(--border);
  border-radius: 14px; padding: 32px 28px;
  transition: all 0.25s;
}
.card:hover {
  border-color: var(--gold);
  box-shadow: 0 8px 40px rgba(196,162,101,0.06);
}
.card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--gold-light); display: flex;
  align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 20px; color: var(--gold);
}
.card h3 {
  font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--white);
}
.card p {
  font-size: 14px; color: var(--gray); line-height: 1.65;
}

/* ══════════════════════════════════════
   TWO-COLUMN LAYOUT
   ══════════════════════════════════════ */
.two-col {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: start;
}
.two-col-item { position: relative; }
.two-col-item .gold-bar {
  width: 4px; height: 40px; background: var(--gold);
  border-radius: 2px; margin-bottom: 16px;
}
.two-col-item h3 {
  font-size: 13px; font-weight: 600; letter-spacing: 2px;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px;
}
.two-col-item h2 {
  font-size: 28px; font-weight: 700; margin-bottom: 14px; line-height: 1.3;
  color: var(--white);
}
.two-col-item p {
  font-size: 16px; color: var(--gray); line-height: 1.7;
}

/* ══════════════════════════════════════
   CTA BANNER
   ══════════════════════════════════════ */
.cta-banner {
  text-align: center; padding: 64px 24px;
}
.cta-banner h2 {
  font-size: clamp(24px, 3.5vw, 32px); font-weight: 700;
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 16px; margin-bottom: 28px; opacity: 0.8;
}

/* ══════════════════════════════════════
   COMMITMENTS LIST (About page)
   ══════════════════════════════════════ */
.commitment {
  padding: 28px 0; border-bottom: 1px solid var(--border);
}
.commitment:last-child { border-bottom: none; }
.commitment h3 {
  font-size: 18px; font-weight: 600; margin-bottom: 8px;
  display: flex; align-items: center; gap: 10px; color: var(--white);
}
.commitment h3 .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--gold-light); color: var(--gold);
  font-size: 13px; font-weight: 700; flex-shrink: 0;
}
.commitment p {
  font-size: 15px; color: var(--gray); line-height: 1.7;
  padding-left: 38px;
}

/* ══════════════════════════════════════
   BLOCKQUOTE / PULLQUOTE
   ══════════════════════════════════════ */
.pullquote {
  border-left: 3px solid var(--gold); padding: 20px 0 20px 24px;
  margin: 32px 0;
}
.pullquote p {
  font-size: 18px; font-weight: 500; line-height: 1.6;
  color: var(--off-white); font-style: italic;
}

/* ══════════════════════════════════════
   PROFILE BUILDER PAGE
   ══════════════════════════════════════ */
.builder-wrapper {
  padding-top: 64px;
}
.builder-header {
  text-align: center; padding: 48px 24px 0;
}
.builder-header h1 {
  font-size: 28px; font-weight: 700; margin-bottom: 8px; color: var(--white);
}
.builder-header p {
  font-size: 15px; color: var(--gray); max-width: 500px;
  margin: 0 auto; line-height: 1.6;
}
.builder-iframe-container {
  max-width: 1100px; margin: 0 auto; padding: 24px;
}
.builder-iframe-container iframe {
  width: 100%; border: none; border-radius: 16px;
  min-height: calc(100vh - 200px);
  background: var(--dark-card);
}

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
.footer {
  background: var(--dark-card); color: var(--gray);
  padding: 48px 24px; text-align: center;
  border-top: 1px solid var(--border);
}
.footer-tagline {
  font-size: 15px; color: var(--off-white); margin-bottom: 20px;
  font-weight: 500; max-width: 500px; margin-left: auto; margin-right: auto;
}
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 24px; }
.footer-links a { font-size: 13px; color: var(--dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { font-size: 12px; color: #444; }

/* ══════════════════════════════════════
   AUTH PAGES (Login)
   ══════════════════════════════════════ */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 80px 24px 40px;
}
.auth-card {
  background: var(--dark-card); border: 1px solid var(--border);
  border-radius: 16px; padding: 48px 40px; max-width: 420px; width: 100%;
}
.auth-header { text-align: center; margin-bottom: 32px; }
.auth-logo {
  font-size: 14px; font-weight: 700; letter-spacing: 3px;
  color: var(--gold); margin-bottom: 24px;
}
.auth-header h1 { font-size: 24px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.auth-header p { font-size: 14px; color: var(--gray); }
.auth-footer { text-align: center; margin-top: 20px; }
.auth-footer a { font-size: 13px; color: var(--dim); transition: color 0.2s; }
.auth-footer a:hover { color: var(--gold); }

/* ── Form Elements ── */
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block; font-size: 13px; font-weight: 600; color: var(--off-white);
  margin-bottom: 6px; letter-spacing: 0.3px;
}
.form-group input {
  width: 100%; padding: 12px 16px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--dark-surface); color: var(--white);
  font-size: 15px; font-family: var(--font); transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus { border-color: var(--gold); }
.form-group input::placeholder { color: var(--dim); }
.btn-full { width: 100%; justify-content: center; }
.btn-lg { padding: 16px 36px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; border-radius: 8px; }

/* ── Messages ── */
.msg {
  padding: 12px 16px; border-radius: 10px; font-size: 14px; margin: 16px 0;
  line-height: 1.5;
}
.msg-error { background: rgba(220,50,50,0.12); color: #e85656; border: 1px solid rgba(220,50,50,0.2); }
.msg-success { background: rgba(80,180,80,0.12); color: #60c060; border: 1px solid rgba(80,180,80,0.2); }
.msg-info { background: var(--gold-light); color: var(--gold); border: 1px solid rgba(196,162,101,0.2); }

/* ══════════════════════════════════════
   DASHBOARD
   ══════════════════════════════════════ */
.dash-page {
  max-width: 900px; margin: 0 auto; padding: 100px 24px 60px;
}
.dash-loading {
  text-align: center; padding: 120px 24px; color: var(--gray); font-size: 16px;
}
.dash-header { margin-bottom: 40px; }
.dash-header h1 {
  font-size: clamp(24px, 4vw, 32px); font-weight: 700; color: var(--white);
  margin-bottom: 4px;
}
.dash-header h1 span { color: var(--gold); }
.dash-subtitle { font-size: 14px; color: var(--gray); }

/* ── Stats ── */
.dash-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 40px; }
.stat-card {
  background: var(--dark-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 24px; text-align: center;
}
.stat-label { font-size: 12px; color: var(--dim); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 8px; }
.stat-value { font-size: 28px; font-weight: 700; color: var(--white); }
.stat-status { color: var(--gold); }

/* ── Sections ── */
.dash-section {
  background: var(--dark-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 32px; margin-bottom: 24px;
}
.dash-section h2 { font-size: 20px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.dash-desc { font-size: 14px; color: var(--gray); line-height: 1.6; margin-bottom: 20px; }
.dash-empty { font-size: 14px; color: var(--dim); font-style: italic; }

/* ── Referral Link ── */
.referral-link-box {
  display: flex; gap: 12px; align-items: center;
}
.referral-input {
  flex: 1; padding: 12px 16px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--dark-surface); color: var(--gold);
  font-size: 14px; font-family: var(--font); outline: none;
}
.copied { background: rgba(80,180,80,0.15) !important; color: #60c060 !important; }

/* ── Invite Link Cards ── */
.invite-links-grid { display: flex; flex-direction: column; gap: 12px; }
.link-card {
  background: var(--dark-surface); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px; display: flex; align-items: center; gap: 14px;
}
.link-card-badge {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px;
  padding: 4px 10px; border-radius: 6px; white-space: nowrap;
}
.badge-gold { background: rgba(196,162,101,0.15); color: var(--gold); }
.badge-green { background: rgba(80,180,80,0.15); color: #6dba6d; }
.badge-blue { background: rgba(46,107,138,0.15); color: #5aa8d0; }
.link-card .referral-link-box { flex: 1; margin-bottom: 0; }

/* ── Members Directory ── */
.members-search { margin-bottom: 24px; }
.members-search-input {
  width: 100%; padding: 14px 20px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--dark-surface); color: var(--white);
  font-size: 15px; font-family: var(--font); outline: none; transition: border-color 0.2s;
}
.members-search-input:focus { border-color: var(--gold); }
.members-search-input::placeholder { color: var(--dim); }
.members-count { font-size: 14px; color: var(--gray); margin-bottom: 20px; }
.members-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px;
}
.member-card {
  background: var(--dark-card); border: 2px solid var(--border); border-radius: 12px;
  padding: 24px; display: flex; align-items: flex-start; gap: 16px;
  transition: transform 0.2s, box-shadow 0.3s; cursor: default;
  position: relative; isolation: isolate;
}
.member-card::before {
  content: ""; position: absolute; inset: -2px; border-radius: 14px; z-index: -2;
  background: linear-gradient(135deg, #0077b6, #00b4d8, #2dd4bf, #84cc16, #f97316, #f472b6, #a855f7, #0077b6);
  background-size: 400% 400%;
  opacity: 0; transition: opacity 0.3s ease;
}
.member-card::after {
  content: ""; position: absolute; inset: 0; border-radius: 12px; z-index: -1;
  background: var(--dark-card);
}
.member-card:hover::before {
  opacity: 1;
  animation: coralShimmer 3s ease infinite;
}
.member-card:hover {
  transform: translateY(-2px); border-color: transparent;
}
@keyframes coralShimmer {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.member-card-pending { opacity: 0.6; }
.member-card-photo {
  width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0;
}
.member-card-initials {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  background: var(--gold-light); color: var(--gold); font-weight: 700; font-size: 18px;
  display: flex; align-items: center; justify-content: center;
}
.member-card-info { flex: 1; min-width: 0; }
.member-card-info h3 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.member-card-biz { font-size: 13px; color: var(--gold); margin-bottom: 6px; }
.member-card-tagline { font-size: 13px; color: var(--gray); line-height: 1.5; }
.member-card-you {
  display: inline-block; font-size: 10px; font-weight: 600; color: var(--gold);
  background: rgba(196,162,101,0.15); padding: 2px 8px; border-radius: 4px;
  vertical-align: middle; margin-left: 6px; letter-spacing: 0.3px;
}
.member-card-action {
  display: inline-block; font-size: 12px; font-weight: 600; color: var(--gold);
  margin-top: 10px; padding: 6px 14px; border: 1px solid var(--gold);
  border-radius: 8px; transition: all 0.2s; text-decoration: none;
}
.member-card-action:hover { background: var(--gold); color: var(--dark); }
.member-card-action-build { background: var(--gold); color: var(--dark); }
.member-card-action-build:hover { background: #d4b275; }
.member-card-view-hint {
  display: block; font-size: 12px; color: var(--dim); margin-top: 8px;
  transition: color 0.2s;
}
.member-card:hover .member-card-view-hint {
  background: linear-gradient(90deg, #00b4d8, #2dd4bf, #f97316, #f472b6);
  background-size: 200% auto;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: coralTextShimmer 2s ease infinite;
}
@keyframes coralTextShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* ── Profile Modal ── */
.profile-modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 200;
  background: rgba(0,0,0,0.75); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: all 0.3s ease;
  padding: 24px;
}
.profile-modal-overlay.open { opacity: 1; visibility: visible; }
.profile-modal {
  background: var(--dark-card); border: 1px solid var(--border-light);
  border-radius: 16px; max-width: 600px; width: 100%;
  max-height: 85vh; overflow-y: auto; position: relative;
  padding: 32px; transform: translateY(20px); transition: transform 0.3s ease;
}
.profile-modal-overlay.open .profile-modal { transform: translateY(0); }
.profile-modal-close {
  position: absolute; top: 16px; right: 16px; width: 36px; height: 36px;
  border-radius: 50%; background: var(--dark-surface); border: 1px solid var(--border);
  color: var(--gray); font-size: 22px; display: flex; align-items: center;
  justify-content: center; cursor: pointer; transition: all 0.2s; z-index: 10;
}
.profile-modal-close:hover { background: var(--border); color: var(--white); }
.profile-modal-header {
  display: flex; align-items: center; gap: 20px; margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(90deg, #0077b6, #00b4d8, #2dd4bf, #84cc16, #f97316, #f472b6, #a855f7) 1;
}
.profile-modal-photo {
  width: 80px; height: 80px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--gold); flex-shrink: 0;
}
.profile-modal-initials {
  width: 80px; height: 80px; border-radius: 50%; flex-shrink: 0;
  background: var(--dark-surface); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; font-weight: 700; color: var(--gold); letter-spacing: 1px;
}
.profile-modal-header-info h2 {
  font-size: 22px; font-weight: 700; color: var(--white); margin-bottom: 4px;
}
.profile-modal-biz { font-size: 14px; color: var(--gold); margin-bottom: 4px; }
.profile-modal-tagline { font-size: 14px; color: var(--gray); line-height: 1.5; }
.profile-modal-section {
  margin-bottom: 20px;
}
.profile-modal-section h4 {
  font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--gold); margin-bottom: 8px;
}
.profile-modal-section p {
  font-size: 15px; color: var(--off-white); line-height: 1.7;
}
.profile-modal-triggers {
  list-style: none; padding: 0;
}
.profile-modal-triggers li {
  font-size: 15px; color: var(--off-white); line-height: 1.7;
  padding: 6px 0 6px 20px; position: relative;
}
.profile-modal-triggers li::before {
  content: ""; position: absolute; left: 0; top: 14px;
  width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
}
.profile-modal-funfact {
  background: var(--gold-light); border-radius: 10px; padding: 16px;
}

/* ── Actions ── */
.dash-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-action {
  flex: 1; min-width: 200px; justify-content: center; text-align: center;
}
.action-icon { font-size: 18px; }

/* ── Referral Rows ── */
.referral-row {
  display: flex; align-items: center; padding: 14px 0;
  border-bottom: 1px solid var(--border); gap: 16px;
}
.referral-row:last-child { border-bottom: none; }
.referral-name { flex: 1; font-size: 15px; color: var(--white); font-weight: 500; }
.referral-date { font-size: 13px; color: var(--dim); }
.referral-amount { font-size: 15px; color: var(--gold); font-weight: 600; }

/* ── Quick Links ── */
.dash-quick-links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quick-link-card {
  background: var(--dark-surface); border: 1px solid var(--border); border-radius: 12px;
  padding: 20px; display: flex; align-items: center; gap: 12px;
  transition: all 0.2s;
}
.quick-link-card:hover { border-color: var(--gold); }
.ql-icon { font-size: 20px; }
.ql-label { font-size: 15px; font-weight: 500; color: var(--white); }

/* ══════════════════════════════════════
   JOIN / INVITE PAGE
   ══════════════════════════════════════ */
.join-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(10,10,10,0.92); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border); height: 64px;
  display: flex; align-items: center; justify-content: center;
}
.join-progress {
  position: fixed; top: 64px; left: 0; right: 0; z-index: 99;
  height: 3px; background: var(--border);
}
.join-progress-bar {
  height: 100%; background: var(--gold); transition: width 0.5s ease;
}

.join-step {
  display: none; min-height: 100vh; padding: 120px 24px 80px;
  align-items: center; justify-content: center;
}
.join-step.active { display: flex; }
.join-content {
  max-width: 620px; margin: 0 auto; text-align: center;
}
.join-eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: 3px;
  color: var(--gold); text-transform: uppercase; margin-bottom: 24px;
}
.join-content h1 {
  font-size: clamp(30px, 5vw, 44px); font-weight: 700; color: var(--white);
  line-height: 1.2; margin-bottom: 20px;
}
.join-lead {
  font-size: 18px; color: var(--gray); line-height: 1.7; margin-bottom: 24px;
}
.join-divider {
  width: 60px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 32px auto;
}
.join-sub {
  font-size: 16px; color: var(--dim); line-height: 1.7; margin-bottom: 16px;
}

/* ── Values on join page ── */
.join-values { text-align: left; margin: 40px 0; display: grid; gap: 24px; }
.join-value {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--dark-card); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px;
}
.join-value-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--gold-light); display: flex; align-items: center;
  justify-content: center; font-size: 18px; color: var(--gold); flex-shrink: 0;
}
.join-value h3 { font-size: 16px; font-weight: 600; color: var(--white); margin-bottom: 4px; }
.join-value p { font-size: 14px; color: var(--gray); line-height: 1.5; }

/* ── Qualities list ── */
.join-qualities { text-align: left; margin: 32px 0; display: grid; gap: 12px; }
.join-quality {
  font-size: 16px; color: var(--off-white); line-height: 1.6;
  padding: 12px 16px; background: var(--dark-card); border-radius: 10px;
  border-left: 3px solid var(--gold);
}
.join-quality strong { color: var(--gold); }

/* ── Investment box ── */
.join-investment {
  background: var(--dark-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; margin: 32px 0; text-align: left;
}
.join-investment h3 {
  font-size: 14px; font-weight: 600; color: var(--gold);
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px;
}
.join-investment p { font-size: 15px; color: var(--gray); line-height: 1.7; }
.join-investment strong { color: var(--white); }

/* ── Join form ── */
.join-form { text-align: left; margin: 32px 0 16px; }
.join-fine {
  font-size: 12px; color: var(--dim); line-height: 1.6; max-width: 480px;
  margin: 0 auto; text-align: center;
}

/* ── Nav logout ── */
.nav-logout { color: var(--dim) !important; }
.nav-logout:hover { color: #e85656 !important; }

/* ── Profile save status ── */
.profile-save-status {
  font-size: 13px; color: var(--gold); margin-top: 12px;
  letter-spacing: 0.3px; font-weight: 500;
}

/* ── Profile preview (dashboard) ── */
.profile-preview {
  display: flex; align-items: center; gap: 20px; margin-bottom: 20px;
}
.profile-preview-photo {
  width: 72px; height: 72px; border-radius: 50%;
  object-fit: cover; border: 2px solid var(--gold);
}
.profile-preview-initials {
  width: 72px; height: 72px; border-radius: 50%;
  background: var(--gold-light); color: var(--gold);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px; font-weight: 700; flex-shrink: 0;
}
.profile-preview-info h3 {
  font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 2px;
}
.profile-preview-biz {
  font-size: 14px; color: var(--gold); margin-bottom: 4px;
}
.profile-preview-tagline {
  font-size: 14px; color: var(--gray); line-height: 1.5;
}
.profile-actions {
  display: flex; gap: 12px;
}

/* ── Countdown & Invite Status ── */
.countdown-box {
  text-align: center; padding: 32px 24px;
  background: var(--dark-surface); border: 1px solid var(--border);
  border-radius: 14px;
}
.countdown-number {
  font-size: 56px; font-weight: 700; color: var(--gold);
  line-height: 1; margin-bottom: 8px;
}
.countdown-label {
  font-size: 15px; color: var(--off-white); font-weight: 500;
  margin-bottom: 24px;
}
.countdown-bar-track {
  width: 100%; max-width: 300px; height: 6px; border-radius: 3px;
  background: var(--border); margin: 0 auto 20px;
}
.countdown-bar-fill {
  height: 100%; border-radius: 3px; background: var(--gold);
  transition: width 0.5s ease;
}
.countdown-desc {
  font-size: 13px; color: var(--dim); line-height: 1.6;
  max-width: 400px; margin: 0 auto;
}
.invite-status-msg {
  font-size: 13px; color: var(--dim); margin-top: 12px;
}
.invite-used-box {
  text-align: center;
}

/* ── Earnings Breakdown ── */
.stat-available { color: #60c060; }
.stat-pending { color: var(--gold); font-size: 22px; }

.earnings-pending-box {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--dark-surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 20px; margin-bottom: 16px;
}
.earnings-pending-icon { font-size: 28px; flex-shrink: 0; }
.earnings-pending-amount { font-size: 15px; color: var(--off-white); margin-bottom: 4px; }
.earnings-pending-amount strong { color: var(--gold); }
.earnings-pending-desc { font-size: 13px; color: var(--dim); line-height: 1.6; }

.pending-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 16px; background: var(--dark-surface); border-radius: 8px;
  margin-bottom: 8px; font-size: 14px;
}
.pending-item span:first-child { color: var(--off-white); }
.pending-days { color: var(--gold); font-size: 13px; font-weight: 500; }

/* ── Referral status labels ── */
.referral-status { font-size: 12px; font-weight: 600; letter-spacing: 0.5px; text-transform: uppercase; }
.referral-status-pending { color: var(--gold); }
.referral-status-done { color: var(--dim); }

/* ── Payout method ── */
.payout-options { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 8px; }
.payout-option {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; background: var(--dark-surface); border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer; font-size: 14px; color: var(--off-white);
  transition: all 0.2s;
}
.payout-option:hover { border-color: var(--gold); }
.payout-option input[type="radio"] { accent-color: var(--gold); }

/* ── Generosity Fund ── */
.generosity-display {
  text-align: center; padding: 24px; margin-bottom: 16px;
  background: var(--dark-surface); border: 1px solid var(--border);
  border-radius: 14px;
}
.generosity-total { margin-bottom: 8px; }
.generosity-amount {
  font-size: 36px; font-weight: 700; color: var(--gold); line-height: 1;
}
.generosity-label {
  font-size: 14px; color: var(--off-white); margin-top: 4px;
}
.generosity-count {
  font-size: 13px; color: var(--dim);
}

/* ══════════════════════════════════════
   EVENTS PAGE
   ══════════════════════════════════════ */
.events-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px;
}
.event-card {
  background: var(--dark-card); border: 2px solid var(--border); border-radius: 14px;
  overflow: hidden; transition: transform 0.2s, box-shadow 0.3s;
  position: relative; isolation: isolate; cursor: pointer;
}
.event-card::before {
  content: ""; position: absolute; inset: -2px; border-radius: 16px; z-index: -2;
  background: linear-gradient(135deg, #0077b6, #00b4d8, #2dd4bf, #84cc16, #f97316, #f472b6, #a855f7, #0077b6);
  background-size: 400% 400%;
  opacity: 0; transition: opacity 0.3s ease;
}
.event-card::after {
  content: ""; position: absolute; inset: 0; border-radius: 14px; z-index: -1;
  background: var(--dark-card);
}
.event-card:hover::before {
  opacity: 1; animation: coralShimmer 3s ease infinite;
}
.event-card:hover { transform: translateY(-3px); border-color: transparent; }
.event-card-image {
  width: 100%; height: 160px; object-fit: cover;
  position: relative; z-index: 1;
}
.event-card-placeholder {
  width: 100%; height: 160px; display: flex; align-items: center; justify-content: center;
  font-size: 36px; position: relative; z-index: 1;
}
.event-card-placeholder.dinner { background: linear-gradient(135deg, #1a1a2e, #2a1a3e); }
.event-card-placeholder.workshop { background: linear-gradient(135deg, #1a2e1a, #1a3e2a); }
.event-card-placeholder.social { background: linear-gradient(135deg, #2e1a1a, #3e2a1a); }
.event-card-placeholder.networking { background: linear-gradient(135deg, #1a2e3e, #1a1a3e); }
.event-card-info {
  padding: 20px; position: relative; z-index: 1;
}
.event-card-date {
  font-size: 12px; font-weight: 600; color: var(--gold); letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 8px;
}
.event-card-info h3 {
  font-size: 18px; font-weight: 700; color: var(--white); margin-bottom: 6px; line-height: 1.3;
}
.event-card-location {
  font-size: 13px; color: var(--gray); margin-bottom: 8px;
}
.event-card-desc {
  font-size: 14px; color: var(--dim); line-height: 1.5; margin-bottom: 16px;
}
.event-card-footer {
  display: flex; justify-content: space-between; align-items: center;
}
.event-card-rsvp-count {
  font-size: 13px; color: var(--gray);
}
.event-card-rsvp-btn {
  padding: 8px 20px; border-radius: 8px; font-size: 13px; font-weight: 600;
  border: 1px solid var(--gold); color: var(--gold); background: transparent;
  cursor: pointer; transition: all 0.2s; letter-spacing: 0.5px;
}
.event-card-rsvp-btn:hover { background: var(--gold); color: var(--dark); }
.event-card-rsvp-btn.going { background: var(--gold); color: var(--dark); }
.event-card-past { opacity: 0.5; }
.events-past-label {
  font-size: 14px; color: var(--dim); text-transform: uppercase; letter-spacing: 1px;
  font-weight: 600; margin: 40px 0 16px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.events-count { font-size: 14px; color: var(--gray); margin-bottom: 20px; }

/* ── Cancel Membership ── */
.cancel-section {
  margin-top: 24px; padding-top: 24px;
  border-top: 1px solid var(--border);
}
.btn-cancel {
  padding: 10px 20px; border-radius: 8px; font-size: 13px; font-weight: 600;
  border: 1px solid #e85656; color: #e85656; background: transparent;
  cursor: pointer; transition: all 0.2s;
}
.btn-cancel:hover { background: rgba(232,86,86,0.1); }
.cancel-info {
  font-size: 13px; color: var(--dim); margin-top: 8px; line-height: 1.5;
}
.cancellation-notice {
  background: rgba(232,86,86,0.08); border: 1px solid rgba(232,86,86,0.2);
  border-radius: 12px; padding: 20px; margin-top: 16px;
}
.cancellation-notice p { font-size: 14px; color: #e88; line-height: 1.6; }
.cancellation-notice strong { color: #e85656; }

/* ── Access Blocked Page ── */
.access-blocked {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 80px 24px;
}
.access-blocked h1 { font-size: 28px; color: var(--white); margin-bottom: 12px; }
.access-blocked p { font-size: 16px; color: var(--gray); max-width: 480px; margin: 0 auto 24px; line-height: 1.7; }

/* ══════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════ */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .card-grid-3, .card-grid-2 { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: auto; padding: 120px 24px 80px; }
  .hero-small { padding: 100px 24px 60px; }
  .section { padding: 60px 24px; }
  .hero h1 { font-size: 30px; }
  .hero p { font-size: 16px; }
  .section-header h2 { font-size: 26px; }
  .commitment p { padding-left: 0; margin-top: 4px; }
  .dash-stats { grid-template-columns: 1fr; }
  .referral-link-box { flex-direction: column; }
  .referral-input { width: 100%; }
  .link-card { flex-direction: column; align-items: flex-start; gap: 10px; }
  .dash-actions { flex-direction: column; }
  .btn-action { min-width: auto; }
  .dash-quick-links { grid-template-columns: 1fr; }
  .auth-card { padding: 36px 24px; }
  .referral-row { flex-wrap: wrap; }
  .members-grid { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .profile-modal { padding: 24px; max-height: 90vh; }
  .profile-modal-header { flex-direction: column; text-align: center; gap: 12px; }
  .profile-modal-overlay { padding: 12px; }
}

@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn { width: 100%; justify-content: center; }
}

/* ═══════════════════════════════════════════
   CORAL SCORE — Dashboard Card + My Coral Page
   ═══════════════════════════════════════════ */

/* ── Compact Score Card (dashboard) ── */
.coral-score-card {
  background: linear-gradient(135deg, rgba(196,162,101,0.08), rgba(249,115,22,0.04));
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.coral-score-left { display: flex; align-items: center; gap: 16px; }
.coral-score-num { font-size: 32px; font-weight: 700; color: var(--gold); line-height: 1; }
.coral-score-info { display: flex; flex-direction: column; gap: 4px; }
.coral-score-level-name { font-size: 14px; font-weight: 600; color: var(--white); }
.coral-score-bar { width: 120px; height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.coral-score-bar-fill { height: 100%; background: linear-gradient(90deg, var(--gold), #f97316); border-radius: 3px; transition: width 0.6s ease; }
.coral-score-bar-label { font-size: 11px; color: var(--dim); }
.coral-score-link { font-size: 13px; color: var(--gold); border: 1px solid rgba(196,162,101,0.3); padding: 6px 14px; border-radius: 8px; transition: all 0.2s; white-space: nowrap; }
.coral-score-link:hover { background: var(--gold); color: var(--dark); }
.coral-score-pending { font-size: 12px; color: #f97316; margin-top: 2px; }

/* ── My Coral Hero ── */
.mc-hero { background: linear-gradient(135deg, rgba(196,162,101,0.12), rgba(249,115,22,0.06)); border: 1px solid var(--border); border-radius: 16px; padding: 48px 32px; text-align: center; margin-bottom: 32px; }
.mc-score { font-size: 72px; font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.mc-level-badge { display: inline-block; padding: 6px 18px; border-radius: 20px; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; }
.mc-level-member { background: rgba(136,136,136,0.15); color: #888; }
.mc-level-connector { background: rgba(196,162,101,0.15); color: var(--gold); }
.mc-level-catalyst { background: rgba(249,115,22,0.15); color: #f97316; }
.mc-level-pillar { background: rgba(45,212,191,0.15); color: #2dd4bf; }
.mc-progress { max-width: 320px; margin: 0 auto; }
.mc-progress-bar { height: 10px; background: var(--border); border-radius: 5px; overflow: hidden; margin-bottom: 8px; }
.mc-progress-fill { height: 100%; background: linear-gradient(90deg, var(--gold), #f97316); border-radius: 5px; transition: width 0.8s ease; }
.mc-progress-label { font-size: 12px; color: var(--dim); }

/* ── Activity Stats Grid ── */
.mc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 32px; }
.mc-stat { background: var(--dark-card); border: 1px solid var(--border); border-radius: 12px; padding: 20px 16px; text-align: center; }
.mc-stat-val { font-size: 28px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.mc-stat-label { font-size: 11px; color: var(--dim); text-transform: uppercase; letter-spacing: 0.5px; }

/* ── Send Referral Form ── */
.mc-form { background: var(--dark-card); border: 1px solid var(--border); border-radius: 14px; padding: 28px; margin-bottom: 32px; }
.mc-form h3 { font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 20px; }
.mc-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.mc-form-row.full { grid-template-columns: 1fr; }
.mc-form label { display: block; font-size: 12px; color: var(--gray); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; }
.mc-form input, .mc-form textarea, .mc-form select { width: 100%; background: var(--dark-surface); border: 1px solid var(--border); color: var(--white); padding: 12px 14px; border-radius: 8px; font-size: 14px; font-family: var(--font); outline: none; transition: border-color 0.2s; }
.mc-form input:focus, .mc-form textarea:focus { border-color: var(--gold); }
.mc-form textarea { resize: vertical; min-height: 80px; }
.mc-form-actions { display: flex; gap: 12px; margin-top: 20px; }

/* ── Member Search Input ── */
.mc-member-search { position: relative; }
.mc-member-results { position: absolute; top: 100%; left: 0; right: 0; background: var(--dark-surface); border: 1px solid var(--border); border-radius: 8px; max-height: 220px; overflow-y: auto; z-index: 100; display: none; margin-top: 4px; box-shadow: 0 8px 24px rgba(0,0,0,0.4); }
.mc-member-results.open { display: block; }
.mc-member-result { display: flex; align-items: center; gap: 10px; padding: 10px 14px; cursor: pointer; transition: background 0.15s; }
.mc-member-result:hover { background: rgba(196,162,101,0.08); }
.mc-member-result-photo { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.mc-member-result-initials { width: 32px; height: 32px; border-radius: 50%; background: var(--gold-light); color: var(--gold); display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.mc-member-result-info { flex: 1; min-width: 0; }
.mc-member-result-name { font-size: 14px; color: var(--white); font-weight: 500; }
.mc-member-result-biz { font-size: 12px; color: var(--dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mc-member-selected { display: flex; align-items: center; gap: 10px; background: var(--dark-surface); border: 1px solid var(--gold); padding: 10px 14px; border-radius: 8px; }
.mc-member-selected-remove { margin-left: auto; color: var(--dim); cursor: pointer; font-size: 18px; line-height: 1; }
.mc-member-selected-remove:hover { color: var(--white); }

/* ── Referral Feed ── */
.mc-feed { background: var(--dark-card); border: 1px solid var(--border); border-radius: 14px; padding: 28px; margin-bottom: 32px; }
.mc-feed h3 { font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 20px; }
.mc-feed-tabs { display: flex; gap: 8px; margin-bottom: 20px; flex-wrap: wrap; }
.mc-feed-tab { padding: 6px 14px; border-radius: 20px; font-size: 13px; font-weight: 500; border: 1px solid var(--border); color: var(--gray); cursor: pointer; transition: all 0.2s; background: none; }
.mc-feed-tab.active, .mc-feed-tab:hover { border-color: var(--gold); color: var(--gold); background: rgba(196,162,101,0.08); }
.mc-feed-tab .tab-count { background: rgba(196,162,101,0.2); color: var(--gold); font-size: 11px; padding: 1px 7px; border-radius: 10px; margin-left: 6px; }
.mc-feed-empty { text-align: center; padding: 40px 20px; color: var(--dim); font-size: 14px; }

.mc-ref-item { display: flex; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.mc-ref-item:last-child { border-bottom: none; }
.mc-ref-avatar { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; }
.mc-ref-avatar.sent { background: rgba(196,162,101,0.12); color: var(--gold); }
.mc-ref-avatar.received { background: rgba(46,107,138,0.15); color: #5aa8d0; }
.mc-ref-body { flex: 1; min-width: 0; }
.mc-ref-title { font-size: 15px; color: var(--white); font-weight: 500; margin-bottom: 3px; }
.mc-ref-desc { font-size: 14px; color: var(--gray); line-height: 1.5; margin-bottom: 6px; }
.mc-ref-meta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 12px; color: var(--dim); }
.mc-ref-status { display: inline-block; padding: 3px 10px; border-radius: 6px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.3px; }
.mc-ref-status.introduced { background: rgba(196,162,101,0.15); color: var(--gold); }
.mc-ref-status.in_progress { background: rgba(46,107,138,0.15); color: #5aa8d0; }
.mc-ref-status.closed_won { background: rgba(76,175,80,0.15); color: #4caf50; }
.mc-ref-status.closed_lost { background: rgba(229,57,53,0.12); color: #e53935; }
.mc-ref-status.pending_confirm { background: rgba(249,115,22,0.15); color: #f97316; }
.mc-ref-actions { display: flex; gap: 8px; margin-top: 10px; }
.mc-ref-actions button { padding: 5px 12px; font-size: 12px; border-radius: 6px; border: 1px solid var(--border); color: var(--off-white); background: var(--dark-surface); cursor: pointer; font-family: var(--font); transition: all 0.2s; }
.mc-ref-actions button:hover { border-color: var(--gold); color: var(--gold); }
.mc-ref-actions button.primary { background: var(--gold); color: var(--dark); border-color: var(--gold); font-weight: 600; }
.mc-ref-actions button.primary:hover { background: #d4b275; }

/* ── Score Breakdown ── */
.mc-breakdown { background: var(--dark-card); border: 1px solid var(--border); border-radius: 14px; padding: 28px; margin-bottom: 32px; }
.mc-breakdown h3 { font-size: 18px; font-weight: 600; color: var(--white); margin-bottom: 20px; }
.mc-breakdown-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--border); }
.mc-breakdown-row:last-child { border-bottom: none; }
.mc-breakdown-label { font-size: 14px; color: var(--off-white); }
.mc-breakdown-val { font-size: 16px; font-weight: 600; color: var(--gold); }

/* ── Level Roadmap ── */
.mc-levels { display: flex; gap: 0; margin-bottom: 32px; }
.mc-level-step { flex: 1; text-align: center; padding: 16px 8px; position: relative; border: 1px solid var(--border); background: var(--dark-card); }
.mc-level-step:first-child { border-radius: 12px 0 0 12px; }
.mc-level-step:last-child { border-radius: 0 12px 12px 0; }
.mc-level-step.active { border-color: var(--gold); background: rgba(196,162,101,0.06); }
.mc-level-step.achieved { background: rgba(196,162,101,0.04); }
.mc-level-step-name { font-size: 13px; font-weight: 600; color: var(--dim); }
.mc-level-step.active .mc-level-step-name, .mc-level-step.achieved .mc-level-step-name { color: var(--white); }
.mc-level-step-pts { font-size: 11px; color: var(--dim); margin-top: 2px; }
.mc-level-step-icon { font-size: 16px; margin-bottom: 4px; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .mc-stats { grid-template-columns: repeat(2, 1fr); }
  .mc-form-row { grid-template-columns: 1fr; }
  .mc-hero { padding: 32px 20px; }
  .mc-score { font-size: 56px; }
  .mc-levels { flex-direction: column; }
  .mc-level-step:first-child { border-radius: 12px 12px 0 0; }
  .mc-level-step:last-child { border-radius: 0 0 12px 12px; }
  .coral-score-card { flex-direction: column; text-align: center; }
  .coral-score-left { flex-direction: column; }
}
@media (max-width: 480px) {
  .mc-stats { grid-template-columns: 1fr; }
  .mc-score { font-size: 48px; }
  .mc-feed-tabs { gap: 6px; }
}

/* ── Pending Referral Banner (dashboard) ── */
.pending-ref-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 20px;
  background: rgba(196, 162, 101, 0.1);
  border: 1px solid rgba(196, 162, 101, 0.3);
  border-radius: 12px;
  margin-bottom: 24px;
  text-decoration: none;
  color: var(--gold);
  font-size: 14px;
  font-weight: 500;
  transition: background 0.2s;
}
.pending-ref-banner:hover { background: rgba(196, 162, 101, 0.18); }
.pending-ref-icon { font-size: 20px; }
.pending-ref-arrow { margin-left: auto; font-size: 18px; opacity: 0.6; }
