:root {
    --navy: #0d1b4b;
    --navy-deep: #060e2e;
    --navy-mid: #162560;
    --accent: #f5a623;
    --teal: #00c9b1;
    --light: #f4f6fc;
    --white: #ffffff;
    --text-muted: #6b7aaa;
    --border: rgba(13,27,75,0.08);
  }

  *, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
  html { scroll-behavior: smooth; background: #060e2e; margin: 0; padding: 0; }

  body {
    font-family: 'Inter', sans-serif;
    background: var(--navy-deep);
    color: var(--navy);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

  /* ─── NAVBAR ─── */
  nav {
    position: fixed; top: 0; width: 100%; z-index: 200;
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 6%; height: 68px;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 2px 20px rgba(13,27,75,0.06);
    transition: box-shadow 0.3s;
  }

  /* LOGO — Barlow bold, solid navy, no gradient */
  .logo {
    font-family: 'Barlow', sans-serif;
    font-weight: 900;
    font-size: 1.55rem;
    color: var(--navy);
    letter-spacing: -0.3px;
    text-decoration: none;
  }

  .nav-links {
    display: flex; align-items: center; gap: 32px;
    list-style: none;
  }
  .nav-links a {
    color: var(--navy); text-decoration: none;
    font-size: 0.88rem; font-weight: 500;
    opacity: 0.6; transition: opacity 0.2s;
  }
  .nav-links a:hover { opacity: 1; }

  .nav-actions { display: flex; align-items: center; gap: 10px; }

  /* Smaller nav buttons (BND 6) */
  .btn-nav-ghost {
    background: transparent; border: 1.5px solid var(--navy);
    color: var(--navy); padding: 7px 16px; border-radius: 50px;
    font-size: 0.82rem; font-weight: 600; cursor: pointer;
    transition: all 0.25s; font-family: 'Inter', sans-serif;
  }
  .btn-nav-ghost:hover { background: var(--navy); color: #fff; }

  .btn-nav-fill {
    background: var(--accent); border: none;
    color: var(--navy-deep); padding: 8px 18px; border-radius: 50px;
    font-size: 0.82rem; font-weight: 700; cursor: pointer;
    transition: all 0.25s; font-family: 'Inter', sans-serif;
    box-shadow: 0 3px 12px rgba(245,166,35,0.35);
  }
  .btn-nav-fill:hover { transform: translateY(-1px); box-shadow: 0 5px 18px rgba(245,166,35,0.45); }

  /* ─── HERO ─── */
  .hero {
    position: relative; height: 100vh; min-height: 640px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden; background: var(--navy-deep);
  }

  .hero-bg {
    position: absolute; inset: 0;
    background-image: url('https://images.unsplash.com/photo-1488521787991-ed7bbaae773c?w=1800&q=80');
    background-size: cover; background-position: center 30%;
    animation: heroZoom 16s ease-in-out infinite alternate;
  }
  @keyframes heroZoom {
    from { transform: scale(1.02); }
    to   { transform: scale(1.10); }
  }

  .hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(6,14,46,0.86) 0%, rgba(13,27,75,0.72) 55%, rgba(6,14,46,0.82) 100%);
  }

  .hero-content {
    position: relative; z-index: 2;
    max-width: 820px; padding: 0 24px;
  }

  .hero-pill {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
    padding: 8px 20px; border-radius: 50px;
    color: rgba(255,255,255,0.88); font-size: 0.8rem; font-weight: 600;
    margin-bottom: 28px; letter-spacing: 0.4px;
    animation: fadeUp 0.9s ease both;
  }
  .hero-pill b { color: var(--teal); }

  /* Hero H1 — Barlow bold, clean (BND 5) */
  .hero h1 {
    font-family: 'Barlow', sans-serif; font-weight: 900;
    font-size: clamp(2.8rem, 7vw, 5.2rem);
    color: #fff; line-height: 1.06; margin-bottom: 22px;
    letter-spacing: -1px;
    animation: fadeUp 0.9s 0.15s ease both;
  }
  .hero h1 em { font-style: normal; color: var(--accent); }

  .hero p {
    color: rgba(255,255,255,0.68); font-size: clamp(0.98rem, 2vw, 1.15rem);
    line-height: 1.78; max-width: 560px; margin: 0 auto 42px;
    animation: fadeUp 0.9s 0.3s ease both;
  }

  .btn-hero {
    display: inline-flex; align-items: center; gap: 10px;
    background: var(--accent); color: var(--navy-deep);
    padding: 18px 50px; border-radius: 60px;
    font-size: 1.05rem; font-weight: 700; border: none; cursor: pointer;
    text-decoration: none;
    transition: all 0.3s; font-family: 'Inter', sans-serif;
    box-shadow: 0 10px 36px rgba(245,166,35,0.48);
    animation: fadeUp 0.9s 0.45s ease both;
  }
  .btn-hero:hover, .btn-hero:focus, .btn-hero:active, .btn-hero:visited { text-decoration: none; }
  .btn-hero:hover { transform: translateY(-4px) scale(1.03); box-shadow: 0 18px 48px rgba(245,166,35,0.55); }
  .btn-hero svg { transition: transform 0.3s; }
  .btn-hero:hover svg { transform: translateX(4px); }

  .hero-stats {
    position: absolute; bottom: 0; left: 0; right: 0;
    display: flex; justify-content: center; z-index: 2;
    animation: fadeUp 0.9s 0.6s ease both;
  }
  .hero-stat {
    background: rgba(6,14,46,0.58); backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.12);
    border-right: 1px solid rgba(255,255,255,0.07);
    padding: 18px 46px; text-align: center;
    flex: 1; max-width: 220px;
  }
  .hero-stat:last-child { border-right: none; }
  .hero-stat-num {
    font-family: 'Barlow', sans-serif; font-size: 1.7rem; font-weight: 900;
    color: var(--accent); display: block; line-height: 1; margin-bottom: 4px;
  }
  .hero-stat-label { color: rgba(255,255,255,0.42); font-size: 0.7rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; }

  @keyframes fadeUp { from { opacity:0; transform:translateY(28px); } to { opacity:1; transform:translateY(0); } }

  /* ─── SECTIONS ─── */
  section { padding: 92px 6%; }

  .section-tag {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    letter-spacing: 2px; text-transform: uppercase;
    color: var(--teal); background: rgba(0,201,177,0.1);
    border: 1px solid rgba(0,201,177,0.22); padding: 5px 14px; border-radius: 50px;
    margin-bottom: 14px;
  }
  .section-header { text-align: center; margin-bottom: 56px; }
  .section-header h2 {
    font-family: 'Barlow', sans-serif; font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 900; color: var(--navy); margin-bottom: 13px; line-height: 1.12;
    letter-spacing: -0.5px;
  }
  .section-header p { color: var(--text-muted); font-size: 1rem; max-width: 500px; margin: 0 auto; line-height: 1.72; }

  /* ─── CAMPAIGNS ─── */
  .campaigns-section { background: var(--light); }

  /* ── Campaigns Horizontal Scroll ── */
  .campaigns-scroll-wrap {
    position: relative; max-width: 1200px; margin: 0 auto 20px;
  }
  .campaigns-grid {
    display: flex; gap: 22px;
    overflow-x: auto; overflow-y: hidden;
    padding: 16px 4px 24px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .campaigns-grid::-webkit-scrollbar { display: none; }

  .campaign-card {
    background: var(--white); border-radius: 20px; overflow: hidden;
    box-shadow: 0 2px 16px rgba(13,27,75,0.07); border: 1px solid var(--border);
    transition: transform 0.32s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.32s;
    position: relative;
    flex: 0 0 300px; scroll-snap-align: start;
    display: flex; flex-direction: column;
  }
  @media(min-width:768px)  { .campaign-card { flex: 0 0 320px; } }
  @media(min-width:1024px) { .campaign-card { flex: 0 0 340px; } }
  .campaign-card:hover { transform: translateY(-6px); box-shadow: 0 22px 56px rgba(13,27,75,0.13); }

  /* Scroll Dots */
  .camp-dots {
    display: flex; justify-content: center; gap: 8px;
    margin: 8px 0 16px;
  }
  .camp-dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: #d0d5e8; transition: all 0.3s; cursor: pointer;
  }
  .camp-dot.active {
    background: var(--teal); transform: scale(1.2);
  }

  /* View All Button */
  .camp-view-all-btn {
    display: block; width: 100%; max-width: 1200px;
    margin: 0 auto; padding: 18px 24px;
    background: transparent; color: var(--teal);
    border: 2.5px solid var(--teal); border-radius: 16px;
    font-size: 1rem; font-weight: 800; cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.25s; text-align: center;
    letter-spacing: 0.3px;
  }
  .camp-view-all-btn:hover {
    background: var(--teal); color: #fff;
    box-shadow: 0 8px 28px rgba(0,201,177,0.25);
    transform: translateY(-2px);
  }

  /* Scroll Arrow Buttons */
  .camp-scroll-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%;
    background: #fff; border: 1.5px solid var(--border);
    box-shadow: 0 4px 16px rgba(13,27,75,0.12);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10; transition: all 0.2s;
    color: var(--navy);
  }
  .camp-scroll-btn:hover { background: var(--teal); color: #fff; border-color: var(--teal); transform: translateY(-50%) scale(1.08); }
  .camp-scroll-btn.left  { left: -18px; }
  .camp-scroll-btn.right { right: -18px; }
  @media(max-width:768px) { .camp-scroll-btn { display: none; } }

  .campaign-thumb {
    height: 200px; display: flex; align-items: center; justify-content: center;
    font-size: 4rem; position: relative; overflow: hidden;
  }

  .time-badge {
    position: absolute; top: 12px; left: 12px;
    background: rgba(6,14,46,0.72); backdrop-filter: blur(6px);
    color: #fff; font-size: 0.72rem; font-weight: 700;
    padding: 5px 11px; border-radius: 50px;
    display: flex; align-items: center; gap: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  }
  .time-badge.urgent { background: rgba(232,65,109,0.92); }

  .camp-cat-badge {
    position: absolute; bottom: 12px; right: 12px;
    color: #fff; font-size: 0.7rem; font-weight: 700;
    padding: 4px 12px; border-radius: 50px;
    letter-spacing: 0.4px; text-transform: uppercase;
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  }

  .campaign-body { padding: 14px 16px 16px; flex: 1; display: flex; flex-direction: column; }

  .campaign-tag {
    display: inline-block; font-size: 0.7rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.8px;
    padding: 4px 10px; border-radius: 50px; margin-bottom: 6px;
  }

  .campaign-title {
    font-family: 'Barlow', sans-serif; font-size: 1.05rem; font-weight: 800;
    color: var(--navy); margin-bottom: 6px; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }

  .campaign-desc {
    color: var(--text-muted); font-size: 0.81rem; line-height: 1.5;
    margin-bottom: 8px;
    display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden;
  }

  .progress-info {
    display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 5px;
  }
  .progress-info-left { display: flex; flex-direction: column; gap: 2px; }
  .progress-raised { font-weight: 800; font-size: 0.92rem; color: var(--accent); }
  .progress-goal { font-size: 0.72rem; color: var(--text-muted); }
  .progress-pct {
    font-family: 'Barlow', sans-serif; font-size: 1.1rem; font-weight: 900; color: var(--teal);
  }
  .progress-pct-bar { display:none; }
  .progress-bar { height: 6px; background: #e6eaf5; border-radius: 50px; overflow: hidden; margin-bottom: 12px; }
  .progress-fill { height: 100%; border-radius: 50px; transition: width 1.2s cubic-bezier(0.4,0,0.2,1); }

  .campaign-footer {
    display: flex; flex-direction: column; gap: 0;
    padding-top: 8px; border-top: 1px solid #eef0f8;
    margin-top: auto;
  }
  .campaign-days { font-size: 0.71rem; color: var(--text-muted); }
  .campaign-days strong { color: var(--navy); font-weight: 700; }

  .btn-donate {
    width: 100%; background: #f5a623; color: #0d1b4b;
    padding: 11px; border-radius: 10px;
    font-size: 0.88rem; font-weight: 800; border: none; cursor: pointer;
    transition: all 0.25s; font-family: 'Inter', sans-serif;
    box-shadow: 0 3px 12px rgba(245,166,35,0.38); letter-spacing: 0.3px;
  }
  .btn-donate:hover { background: #e8950f; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(245,166,35,0.5); }
  .btn-donate:disabled { background: #cbd0e0; color: #8892b0; cursor: not-allowed; box-shadow: none; transform: none; filter: none; }
  .btn-donate:disabled:hover { background: #cbd0e0; transform: none; box-shadow: none; }
  .btn-donate-bottom:disabled { opacity: 0.5; cursor: not-allowed; filter: grayscale(0.8); transform: none !important; box-shadow: none !important; }
  .rcp-donate-strip-btn:disabled { opacity: 0.45; cursor: not-allowed; filter: grayscale(0.8); }

  /* hidden */
  .c-hidden, .s-hidden { display: none; }

  /* payment toggle */
  .pay-toggle.pay-on { background: #00c9b1 !important; }
  .pay-toggle.pay-on > div { left: 23px !important; }

  /* show more */
  .show-more-wrap { text-align: center; }
  .btn-show-more {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: 2px solid var(--navy); color: var(--navy);
    padding: 13px 40px; border-radius: 50px; font-size: 0.92rem; font-weight: 700;
    cursor: pointer; transition: all 0.28s; font-family: 'Inter', sans-serif;
  }
  .btn-show-more:hover { background: var(--navy); color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(13,27,75,0.18); }

  .btn-show-more-light {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; border: 2px solid rgba(255,255,255,0.32); color: rgba(255,255,255,0.82);
    padding: 13px 40px; border-radius: 50px; font-size: 0.92rem; font-weight: 700;
    cursor: pointer; transition: all 0.28s; font-family: 'Inter', sans-serif;
  }
  .btn-show-more-light:hover { background: rgba(255,255,255,0.1); border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

  /* ─── STORIES ─── */

  /* ══════════════════════════════════
     REEL CAMPAIGN PAGE
  ══════════════════════════════════ */
  .reel-campaign-page {
    display: block; position: fixed; inset: 0; z-index: 500;
    background: #060e2e; overflow: hidden;
    transform: translateY(100%);
    transition: none;
    touch-action: none;
    overscroll-behavior: none;
    -webkit-overflow-scrolling: auto;
    visibility: hidden;
    pointer-events: none;
  }
  .reel-campaign-page.active {
    visibility: visible;
    pointer-events: auto;
    animation: rcpSlideUp 0.38s cubic-bezier(0.32,0.72,0,1) forwards;
    touch-action: none;
    overscroll-behavior: none;
  }
  /* تثبيت الـ body كاملاً عند فتح صفحة الريلز — يمنع iOS rubber-band */
  body.rcp-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    overscroll-behavior: none !important;
    -webkit-overflow-scrolling: auto !important;
  }
  @keyframes rcpSlideUp {
    from { transform: translateY(100%); }
    to   { transform: translateY(0); }
  }
  #rcpBgOverlay {
    display: none; position: fixed; inset: 0; z-index: 499;
    background: #060e2e;
  }
  #rcpBgOverlay.active { display: block; }

  /* ── أزرار عائمة جانبية — flat style ── */
  .rcp-side-btns {
    position: fixed; right: 10px; z-index: 520;
    bottom: calc(160px + env(safe-area-inset-bottom));
    display: none; flex-direction: column; align-items: center; gap: 18px;
    will-change: transform;
  }
  .rcp-side-btns.visible { display: flex; animation: sideBtnsIn 0.4s ease; }
  @keyframes sideBtnsIn {
    from { opacity: 0; transform: translateX(20px); }
    to   { opacity: 1; transform: translateX(0); }
  }
  .rcp-side-btn {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    cursor: pointer; user-select: none; transition: transform 0.18s;
  }
  .rcp-side-btn:active { transform: scale(0.88); }
  .rcp-side-icon {
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; filter: drop-shadow(0 2px 8px rgba(0,0,0,0.7));
    position: relative;
  }
  .rcp-side-label {
    font-size: 0.68rem; font-weight: 800; color: #fff;
    text-shadow: 0 1px 6px rgba(0,0,0,0.9);
    letter-spacing: 0.3px;
  }
  .rcp-side-donate {
    background: none; border: none;
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    cursor: pointer; color: #fff;
  }

  /* ── جزيئات القلب ── */
  .rcp-heart-particle {
    position: fixed; pointer-events: none; z-index: 9999;
    font-size: 0; opacity: 0;
    animation: particleFly 0.9s ease-out forwards;
  }
  @keyframes particleFly {
    0%   { opacity: 1; transform: translate(0,0) scale(1); }
    100% { opacity: 0; transform: translate(var(--px), var(--py)) scale(0.3); }
  }

  /* ── Double-tap heart burst on video ── */
  /* ── Double-tap: القلب الرئيسي ── */
  .rcp-dbl-heart {
    position: fixed; pointer-events: none; z-index: 9999;
    transform-origin: center center;
    will-change: transform, opacity;
  }
  @keyframes dblHeartMain {
    0%   { opacity: 0;   transform: scale(0) rotate(-15deg); }
    12%  { opacity: 1;   transform: scale(1.6) rotate(8deg); }
    28%  { opacity: 1;   transform: scale(1.25) rotate(-4deg); }
    50%  { opacity: 1;   transform: scale(1.15) rotate(0deg) translateY(-8px); }
    75%  { opacity: 0.6; transform: scale(1.0) translateY(-28px); }
    100% { opacity: 0;   transform: scale(0.7) translateY(-60px); }
  }
  /* قلوب ثانوية تطير بزوايا مختلفة */
  .rcp-dbl-heart-side {
    position: fixed; pointer-events: none; z-index: 9998;
    transform-origin: center center;
    will-change: transform, opacity;
  }
  @keyframes dblHeartSide1 {
    0%   { opacity: 0; transform: scale(0) rotate(0deg); }
    20%  { opacity: 1; transform: scale(1.1) rotate(-10deg); }
    60%  { opacity: 0.8; transform: scale(0.9) rotate(-25deg) translate(-35px,-55px); }
    100% { opacity: 0; transform: scale(0.5) rotate(-40deg) translate(-55px,-100px); }
  }
  @keyframes dblHeartSide2 {
    0%   { opacity: 0; transform: scale(0) rotate(0deg); }
    20%  { opacity: 1; transform: scale(0.9) rotate(12deg); }
    60%  { opacity: 0.8; transform: scale(0.8) rotate(28deg) translate(30px,-60px); }
    100% { opacity: 0; transform: scale(0.4) rotate(45deg) translate(50px,-110px); }
  }
  @keyframes dblHeartSide3 {
    0%   { opacity: 0; transform: scale(0); }
    25%  { opacity: 0.9; transform: scale(0.7); }
    70%  { opacity: 0.6; transform: scale(0.6) translate(10px,-80px); }
    100% { opacity: 0; transform: scale(0.3) translate(15px,-140px); }
  }
  /* موجة الصدمة */
  .rcp-dbl-ripple {
    position: fixed; pointer-events: none; z-index: 9997;
    border-radius: 50%;
    transform-origin: center;
    animation: dblRipple 0.65s ease-out forwards;
  }
  @keyframes dblRipple {
    0%   { transform: scale(0);   opacity: 0.7; }
    60%  { transform: scale(2.8); opacity: 0.3; }
    100% { transform: scale(4.5); opacity: 0; }
  }
  /* وميض الشاشة */
  .rcp-dbl-flash {
    position: fixed; inset: 0; pointer-events: none; z-index: 9996;
    animation: dblFlash 0.45s ease-out forwards;
  }
  @keyframes dblFlash {
    0%   { opacity: 0.18; }
    40%  { opacity: 0.08; }
    100% { opacity: 0; }
  }
  /* نجمة/رمز يطير */
  .rcp-dbl-star {
    position: fixed; pointer-events: none; z-index: 9999;
    font-size: 18px; line-height: 1;
    animation: dblStarFly 0.9s ease-out forwards;
    will-change: transform, opacity;
  }
  @keyframes dblStarFly {
    0%   { opacity: 1; transform: translate(0,0) scale(1) rotate(0deg); }
    100% { opacity: 0; transform: translate(var(--sx),var(--sy)) scale(0.2) rotate(var(--sr)); }
  }

  /* ── هاشتاقات القصة ── */
  .rcp-hashtag {
    position: relative; z-index: 25;
    display: inline-block;
    color: #f5a623;
    font-weight: 700;
    cursor: pointer;
    transition: color 0.18s, opacity 0.18s;
    text-decoration: none;
  }
  .rcp-hashtag:hover { color: #fff; opacity: 0.85; }
  /* هاشتاق في الـ overlay (خلفية داكنة) */
  .rcp-overlay-story-text .rcp-hashtag { color: #f5a623; }
  /* هاشتاق في لوح Story (خلفية فاتحة) */
  .rcp-panel-story .rcp-hashtag { color: #f5a623; }

  /* ── عداد flip ── */
  .rcp-count-flip {
    animation: countFlip 0.35s ease;
  }
  @keyframes countFlip {
    0%   { transform: translateY(0);    opacity: 1; }
    40%  { transform: translateY(-8px); opacity: 0; }
    60%  { transform: translateY(8px);  opacity: 0; }
    100% { transform: translateY(0);    opacity: 1; }
  }

  /* ══ MEDICAL — نبضة EKG ══ */
  @keyframes heartMedical {
    0%   { transform: scale(1);    }
    15%  { transform: scale(1.35); }
    30%  { transform: scale(0.92); }
    45%  { transform: scale(1.2);  }
    60%  { transform: scale(0.96); }
    100% { transform: scale(1);    }
  }
  .heart-anim-medical { animation: heartMedical 0.7s ease forwards; }
  .heart-anim-medical svg { stroke: #c0392b !important; fill: #c0392b !important; }

  /* ══ SHELTER — نبضة واحدة ثقيلة ══ */
  @keyframes heartShelter {
    0%   { transform: scale(1);   }
    30%  { transform: scale(1.4); }
    60%  { transform: scale(0.95);}
    100% { transform: scale(1);   }
  }
  .heart-anim-shelter { animation: heartShelter 0.8s ease forwards; }
  .heart-anim-shelter svg { stroke: #95a5a6 !important; fill: #95a5a6 !important; }

  /* ══ WATER — تموّج قطرة ══ */
  @keyframes heartWater {
    0%   { transform: scale(1) rotate(0deg);   }
    25%  { transform: scale(1.3) rotate(-8deg);}
    50%  { transform: scale(1.1) rotate(8deg); }
    75%  { transform: scale(1.25) rotate(-4deg);}
    100% { transform: scale(1) rotate(0deg);   }
  }
  .heart-anim-water { animation: heartWater 0.75s ease forwards; }
  .heart-anim-water svg { stroke: #2980b9 !important; fill: #2980b9 !important; }

  /* ══ FOOD — تنفس بطيء ══ */
  @keyframes heartFood {
    0%   { transform: scale(1);    }
    35%  { transform: scale(1.28); }
    65%  { transform: scale(0.98); }
    100% { transform: scale(1);    }
  }
  .heart-anim-food { animation: heartFood 0.9s ease forwards; }
  .heart-anim-food svg { stroke: #e67e22 !important; fill: #e67e22 !important; }

  /* ══ DISASTER — اهتزاز ══ */
  @keyframes heartDisaster {
    0%,100% { transform: translateX(0) scale(1); }
    15%     { transform: translateX(-4px) scale(1.1); }
    30%     { transform: translateX(4px) scale(1.15); }
    45%     { transform: translateX(-3px) scale(1.1); }
    60%     { transform: translateX(3px) scale(1.05); }
    75%     { transform: translateX(-2px) scale(1); }
  }
  .heart-anim-disaster { animation: heartDisaster 0.7s ease forwards; }
  .heart-anim-disaster svg { stroke: #784212 !important; fill: #784212 !important; }

  /* ══ CHILDREN — دوران لطيف ══ */
  @keyframes heartChildren {
    0%   { transform: scale(1) rotate(0deg);   }
    30%  { transform: scale(1.4) rotate(-15deg);}
    60%  { transform: scale(1.1) rotate(10deg); }
    100% { transform: scale(1) rotate(0deg);    }
  }
  .heart-anim-children { animation: heartChildren 0.7s ease forwards; }
  .heart-anim-children svg { stroke: #ff6b9d !important; fill: #ff6b9d !important; }

  /* ══ EDUCATION — نجمة تنبثق ══ */
  @keyframes heartEducation {
    0%   { transform: scale(1);    filter: drop-shadow(0 0 0px #8e44ad); }
    40%  { transform: scale(1.45); filter: drop-shadow(0 0 12px #8e44ad); }
    70%  { transform: scale(0.92); filter: drop-shadow(0 0 6px #8e44ad);  }
    100% { transform: scale(1);    filter: drop-shadow(0 0 4px #8e44ad);  }
  }
  .heart-anim-education { animation: heartEducation 0.65s ease forwards; }
  .heart-anim-education svg { stroke: #8e44ad !important; fill: #8e44ad !important; }

  /* ══ ENVIRONMENT — تحول أخضر ══ */
  @keyframes heartEnvironment {
    0%   { transform: scale(1);    }
    40%  { transform: scale(1.4);  }
    70%  { transform: scale(0.95); }
    100% { transform: scale(1);    }
  }
  .heart-anim-environment { animation: heartEnvironment 0.65s ease forwards; }
  .heart-anim-environment svg { stroke: #27ae60 !important; fill: #27ae60 !important; }

  /* ══ BUSINESS — نبضة نشيطة ══ */
  @keyframes heartBusiness {
    0%   { transform: scale(1);    }
    20%  { transform: scale(1.5);  }
    40%  { transform: scale(0.85); }
    60%  { transform: scale(1.3);  }
    80%  { transform: scale(0.95); }
    100% { transform: scale(1);    }
  }
  .heart-anim-business { animation: heartBusiness 0.6s ease forwards; }
  .heart-anim-business svg { stroke: #2c3e50 !important; fill: #2c3e50 !important; }

  /* ══ ANIMALS — تمايل لطيف ══ */
  @keyframes heartAnimals {
    0%   { transform: scale(1) rotate(0deg);  }
    25%  { transform: scale(1.3) rotate(12deg);}
    50%  { transform: scale(1.15) rotate(-8deg);}
    75%  { transform: scale(1.25) rotate(6deg);}
    100% { transform: scale(1) rotate(0deg);  }
  }
  .heart-anim-animals { animation: heartAnimals 0.75s ease forwards; }
  .heart-anim-animals svg { stroke: #d35400 !important; fill: #d35400 !important; }

  /* ══ COMMUNITY — موجة تنتشر ══ */
  @keyframes heartCommunity {
    0%   { transform: scale(1);    filter: drop-shadow(0 0 0px #00c9b1);  }
    35%  { transform: scale(1.45); filter: drop-shadow(0 0 16px #00c9b1); }
    65%  { transform: scale(0.92); filter: drop-shadow(0 0 8px #00c9b1);  }
    100% { transform: scale(1);    filter: drop-shadow(0 0 5px #00c9b1);  }
  }
  .heart-anim-community { animation: heartCommunity 0.7s ease forwards; }
  .heart-anim-community svg { stroke: #00c9b1 !important; fill: #00c9b1 !important; }

  /* ══ الحالة المفعّلة لكل فئة ══ */
  .rcp-side-btn.liked svg { stroke: #ff6b95; fill: #ff6b95; }
  .rcp-side-btn.liked-medical    svg { stroke: #c0392b !important; fill: #c0392b !important; }
  .rcp-side-btn.liked-shelter    svg { stroke: #95a5a6 !important; fill: #95a5a6 !important; }
  .rcp-side-btn.liked-water      svg { stroke: #2980b9 !important; fill: #2980b9 !important; }
  .rcp-side-btn.liked-food       svg { stroke: #e67e22 !important; fill: #e67e22 !important; }
  .rcp-side-btn.liked-disaster   svg { stroke: #784212 !important; fill: #784212 !important; }
  .rcp-side-btn.liked-children   svg { stroke: #ff6b9d !important; fill: #ff6b9d !important; }
  .rcp-side-btn.liked-education  svg { stroke: #8e44ad !important; fill: #8e44ad !important; }
  .rcp-side-btn.liked-environment svg { stroke: #27ae60 !important; fill: #27ae60 !important; }
  .rcp-side-btn.liked-business   svg { stroke: #2c3e50 !important; fill: #2c3e50 !important; }
  .rcp-side-btn.liked-animals    svg { stroke: #d35400 !important; fill: #d35400 !important; }
  .rcp-side-btn.liked-community  svg { stroke: #00c9b1 !important; fill: #00c9b1 !important; }


  /* rcp-title-top hidden - title moved to topbar */
  .rcp-title-top { display: none; }

  /* ── القصة تحت اسم المنظم ── */
  .rcp-overlay-story-text {
    font-size: 0.74rem;
    font-weight: 400;
    color: rgba(255,255,255,0.68);
    line-height: 1.5;
    margin-top: 5px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    letter-spacing: 0.1px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  /* ── دائرة نسبة التبرع — TikTok disc style ── */
  .rcp-pct-disc {
    position: relative;
    width: 54px; height: 54px;
    cursor: pointer;
  }
  .rcp-pct-disc svg {
    position: absolute; inset: 0;
    transform: rotate(-90deg);
  }
  .rcp-pct-disc-track {
    fill: none; stroke: rgba(255,255,255,0.15); stroke-width: 3.5;
  }
  .rcp-pct-disc-fill {
    fill: none; stroke-width: 3.5;
    stroke: url(#pctGradient);
    stroke-linecap: round;
    transition: stroke-dashoffset 0.8s cubic-bezier(0.4,0,0.2,1);
  }
  .rcp-pct-disc-inner {
    position: absolute;
    inset: 7px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(232,65,109,0.9), rgba(245,166,35,0.9));
    display: flex; align-items: center; justify-content: center;
    flex-direction: column;
    box-shadow: 0 0 12px rgba(232,65,109,0.5);
  }
  .rcp-pct-disc-inner::after {
    content: '';
    position: absolute; inset: 4px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
  }
  .rcp-pct-disc-num {
    font-size: 0.62rem; font-weight: 900;
    color: #fff; line-height: 1;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
    position: relative; z-index: 1;
  }
  .rcp-pct-disc-label {
    font-size: 0.42rem; font-weight: 700;
    color: rgba(255,255,255,0.8);
    position: relative; z-index: 1;
    letter-spacing: 0.3px;
  }


  /* ── Share Stacked Icons ── */
  .rcp-share-stack {
    position: relative;
    width: 44px; height: 44px;
  }
  /* QR — في المنتصف وأكبر */
  .rcp-share-stack .ss-qr {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 28px; height: 28px;
    border-radius: 8px;
    background: linear-gradient(135deg, #f5a623, #e8416d);
    display: flex; align-items: center; justify-content: center;
    z-index: 3;
    box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  }
  /* WhatsApp — أعلى يسار */
  .rcp-share-stack .ss-wa {
    position: absolute;
    top: 0; left: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #25d366;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  }
  /* Facebook — أعلى يمين */
  .rcp-share-stack .ss-fb {
    position: absolute;
    top: 0; right: 0;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #1877f2;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  }
  /* X — أسفل وسط */
  .rcp-share-stack .ss-x {
    position: absolute;
    bottom: 0; left: 50%;
    transform: translateX(-50%);
    width: 20px; height: 20px;
    border-radius: 50%;
    background: #000;
    display: flex; align-items: center; justify-content: center;
    z-index: 2;
    box-shadow: 0 1px 4px rgba(0,0,0,0.3);
  }
  /* ── Bottom Sheet منبثق ── */
  .rcp-bottom-sheet {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 600;
    background: #fff; border-radius: 22px 22px 0 0;
    box-shadow: 0 -8px 40px rgba(0,0,0,0.25);
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32,0.72,0,1);
    max-height: 70vh; display: flex; flex-direction: column;
  }
  .rcp-bottom-sheet.open { transform: translateY(0); }
  .rcp-sheet-handle {
    width: 40px; height: 4px; background: #e0e0e0; border-radius: 50px;
    margin: 12px auto 0; flex-shrink: 0;
  }
  .rcp-sheet-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 20px 10px; border-bottom: 1px solid #f0f2f8; flex-shrink: 0;
  }
  .rcp-sheet-title {
    font-size: 1rem; font-weight: 800; color: #0d1b4b;
  }
  .rcp-sheet-close {
    width: 28px; height: 28px; border-radius: 50%;
    background: #f4f5fb; border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; color: #6b7aaa; font-weight: 700;
  }
  .rcp-sheet-body {
    overflow-y: auto; padding: 14px 20px 24px; flex: 1;
  }
  .rcp-sheet-overlay {
    position: fixed; inset: 0; z-index: 599;
    background: transparent;
    pointer-events: none;
  }
  .rcp-sheet-overlay.open { pointer-events: all; }

  /* Share grid */
  .rcp-share-grid {
    display: grid; grid-template-columns: repeat(4,1fr); gap: 14px;
    padding: 8px 0;
  }
  .rcp-share-item {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    cursor: pointer; pointer-events: all; -webkit-tap-highlight-color: rgba(0,0,0,0.1);
    padding: 8px; border-radius: 12px; transition: background 0.15s;
  }
  .rcp-share-item:active { background: rgba(255,255,255,0.15); }
  .rcp-share-icon {
    width: 52px; height: 52px; border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
  }
  .rcp-share-lbl { font-size: 0.7rem; font-weight: 700; color: #6b7aaa; }

  /* Donor row */
  .rcp-donor-row {
    display: flex; align-items: center; gap: 12px;
    padding: 11px 0; border-bottom: 1px solid #f4f5fb;
  }
  .rcp-donor-row:last-child { border-bottom: none; }
  .rcp-donor-av {
    width: 42px; height: 42px; border-radius: 50%; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-weight: 800; font-size: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  }
  .rcp-donor-row .rcp-donor-name { font-weight: 700; font-size: 0.86rem; color: #0d1b4b; }
  .rcp-donor-row .rcp-donor-meta { font-size: 0.71rem; color: #6b7aaa; margin-top:1px; display:flex; gap:6px; align-items:center; }
  .rcp-donor-row .rcp-donor-comment { font-size:0.76rem; color:#6b7aaa; margin-top:4px; font-style:italic; line-height:1.4; }
  .rcp-donor-amt  { font-weight: 800; font-size: 0.88rem; color: #e8416d; white-space:nowrap; flex-shrink:0; }
  .rcp-donors-summary {
    display:flex; gap:0; border-radius:14px; overflow:hidden;
    border:1.5px solid #f0f2f8; margin-bottom:14px;
  }
  .rcp-donors-stat {
    flex:1; padding:10px 8px; text-align:center; background:#fafbff;
    border-right:1.5px solid #f0f2f8;
  }
  .rcp-donors-stat:last-child { border-right:none; }
  .rcp-donors-stat-val { font-size:1rem; font-weight:900; color:#0d1b4b; }
  .rcp-donors-stat-lbl { font-size:0.65rem; color:#6b7aaa; font-weight:600; margin-top:2px; }
  /* ── Donors Sheet Stats Block ── */
  .dsb-raised-amount { font-size:1.6rem; font-weight:900; color:#f5a623; line-height:1; }
  .dsb-goal-label    { font-size:0.78rem; color:#6b7aaa; margin-top:3px; }
  .dsb-bar-wrap      { height:6px; background:#f0f2f8; border-radius:6px; margin:10px 0 6px; overflow:hidden; }
  .dsb-bar-fill      { height:100%; border-radius:6px; transition:width 0.6s ease; }
  .dsb-pct-row       { display:flex; justify-content:space-between; align-items:center; margin-bottom:12px; }
  .dsb-pct-label     { font-size:0.82rem; font-weight:800; color:#00c9b1; }
  .dsb-donors-label  { font-size:0.82rem; font-weight:800; color:#0d1b4b; }
  .dsb-payment-box   { background:#f8f9ff; border-radius:12px; border:1.5px solid #eef0f8; padding:10px 14px; margin-bottom:14px; }
  .dsb-pay-row       { display:flex; align-items:center; gap:10px; padding:7px 0; border-bottom:1px solid #eef0f8; }
  .dsb-pay-row:last-child { border-bottom:none; padding-bottom:0; }
  .dsb-pay-icon      { width:28px; height:28px; border-radius:8px; display:flex; align-items:center; justify-content:center; flex-shrink:0; }
  .dsb-pay-name      { flex:1; font-size:0.81rem; font-weight:700; color:#0d1b4b; }
  .dsb-pay-amt       { font-size:0.88rem; font-weight:900; color:#0d1b4b; }
  .dsb-verify-btn    { display:flex; align-items:center; gap:4px; border:1.5px solid #00c9b1; border-radius:20px; padding:3px 10px; font-size:0.72rem; font-weight:800; color:#00c9b1; cursor:pointer; background:none; font-family:inherit; }
  .dsb-crypto-note   { font-size:0.68rem; color:#6b7aaa; margin-top:6px; line-height:1.4; }
  .dsb-divider       { height:1px; background:#f0f2f8; margin:12px 0; }

  /* Update row */
  .rcp-upd-row {
    padding: 12px 0; border-bottom: 1px solid #f4f5fb;
  }
  .rcp-upd-row:last-child { border-bottom: none; }
  .rcp-upd-date { font-size: 0.7rem; color: #6b7aaa; font-weight: 600; margin-bottom: 3px; }
  .rcp-upd-title { font-weight: 800; font-size: 0.88rem; color: #0d1b4b; margin-bottom: 4px; }
  .rcp-upd-text  { font-size: 0.8rem; color: #6b7aaa; line-height: 1.6; }

  /* Top bar */
  .rcp-topbar {
    position: absolute; top: 0; left: 0; right: 0; z-index: 20;
    padding: 14px 16px;
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, transparent 100%);
  }

  /* عنوان الـ topbar — Instagram style */
  .rcp-topbar-title {
    flex: 1;
    overflow: hidden;
    position: relative;
    height: 22px;
  }
  .rcp-topbar-title-inner {
    display: inline-block;
    white-space: nowrap;
    font-size: 0.82rem;
    font-weight: 300;
    color: rgba(255,255,255,0.92);
    letter-spacing: 0.2px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
    font-family: 'Inter', sans-serif;
    opacity: 0;
    animation: rcpTitleFadeIn 0.8s 0.4s ease forwards;
  }
  /* إذا النص طويل — يتحرك scrolling */
  .rcp-topbar-title-inner.scrolling {
    animation: rcpTitleFadeIn 0.8s 0.4s ease forwards, rcpTitleScroll var(--scroll-duration, 8s) 2s linear infinite;
  }
  @keyframes rcpTitleFadeIn {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  @keyframes rcpTitleScroll {
    0%   { transform: translateX(0); }
    30%  { transform: translateX(0); }
    70%  { transform: translateX(var(--scroll-x, -60px)); }
    100% { transform: translateX(var(--scroll-x, -60px)); }
  }
  .rcp-back {
    width: 36px; height: 36px;
    background: none; border: none;
    color: rgba(255,255,255,0.88); cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s ease;
    filter: drop-shadow(0 1px 4px rgba(0,0,0,0.5));
  }
  .rcp-back:hover {
    color: #fff;
    filter: drop-shadow(0 1px 8px rgba(0,0,0,0.7));
    transform: scale(1.1);
  }
  /* ══ Donor Ticker ══ */
  .rcp-donor-ticker {
    position: absolute;
    top: 68px;
    left: 14px;
    z-index: 25;
    max-width: calc(100% - 80px);
    pointer-events: none;
  }
  .rcp-donor-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0,0,0,0.42);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    padding: 6px 14px 6px 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  .rcp-donor-card.visible {
    opacity: 1;
    transform: translateY(0);
  }
  .rcp-donor-card.hiding {
    opacity: 0;
    transform: translateY(8px);
  }
  .rcp-donor-avatar {
    width: 26px; height: 26px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.65rem; font-weight: 800; color: #fff;
    flex-shrink: 0;
    border: 1.5px solid rgba(255,255,255,0.25);
  }
  .rcp-donor-info {
    display: flex; flex-direction: column; gap: 1px;
    min-width: 0;
  }
  .rcp-donor-card .rcp-donor-name {
    font-size: 0.73rem; font-weight: 700; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
    max-width: 130px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    line-height: 1.2;
  }
  .rcp-donor-card .rcp-donor-meta {
    font-size: 0.62rem; color: rgba(255,255,255,0.65);
    white-space: nowrap;
    line-height: 1.2;
  }
  .rcp-donor-badge {
    font-size: 1rem;
    flex-shrink: 0;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,0.4));
  }
  .rcp-donor-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: #4ade80; flex-shrink: 0;
    box-shadow: 0 0 6px #4ade80;
    animation: rcpDotPulse 1.8s ease-in-out infinite;
  }
  @keyframes rcpDotPulse {
    0%,100% { opacity:1; transform:scale(1); }
    50%      { opacity:0.5; transform:scale(0.7); }
  }

  .rcp-share-btn {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(0,0,0,0.45); backdrop-filter: blur(8px);
    border: none; color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .rcp-share-btn:hover { background: rgba(0,0,0,0.7); }
  .rcp-more-btn {
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(0,0,0,0.45); backdrop-filter: blur(8px);
    border: none; color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s; position: relative;
  }
  .rcp-more-btn:hover { background: rgba(0,0,0,0.7); }
  .rcp-more-menu {
    display: none; position: absolute; top: 46px; right: 0;
    background: #fff; border-radius: 14px; min-width: 180px;
    box-shadow: 0 8px 32px rgba(13,27,75,0.18);
    overflow: hidden; z-index: 100;
    animation: fadeInDown 0.18s ease;
  }
  .rcp-more-menu.open { display: block; }
  @keyframes fadeInDown { from{opacity:0;transform:translateY(-8px)} to{opacity:1;transform:translateY(0)} }
  .rcp-more-item {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 18px; font-size: 0.88rem; font-weight: 600;
    color: var(--navy); cursor: pointer; transition: background 0.15s;
    border: none; background: transparent; width: 100%;
    font-family: 'Inter', sans-serif; text-align: left;
  }
  .rcp-more-item:hover { background: #f8f9ff; }
  .rcp-more-item.danger { color: #e8416d; }
  .rcp-more-item.danger:hover { background: #fff0f3; }
  .rcp-more-divider { height: 1px; background: #f0f2f8; margin: 0; }

  /* ══ Video Player — HTML5 مباشر ══ */
  .rcp-video-wrap {
    position: relative; width: 100%;
    height: 100vh;
    background: #000;
    overflow: visible;
  }
  .rcp-video-wrap video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; cursor: pointer;
  }
  .rcp-video-wrap video {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; cursor: pointer;
  }
  /* Tap overlay — يعرض play/pause عند الضغط */
  .rcp-tap-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 70px; z-index: 5;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
  }
  .rcp-tap-icon {
    width: 72px; height: 72px; border-radius: 50%;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    color: #fff; opacity: 0;
    transition: opacity 0.2s;
    pointer-events: none;
  }
  .rcp-tap-icon.show { opacity: 1; }
  .rcp-tap-icon.fade { animation: tapFade 0.7s ease forwards; }
  @keyframes tapFade {
    0%   { opacity: 1; transform: scale(1); }
    60%  { opacity: 0.8; transform: scale(1.15); }
    100% { opacity: 0; transform: scale(1.3); }
  }

  /* شريط التقدم أسفل الفيديو */
  /* ── شريط التمرير الكامل ── */
  .rcp-seeker-wrap {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 600;
    padding: 36px 16px 14px;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%);
    pointer-events: none;
    display: none;
    transition: opacity 0.25s ease;
  }
  .rcp-seeker-times {
    display: flex; justify-content: space-between;
    font-size: 0.7rem; font-weight: 700; color: rgba(255,255,255,0.85);
    margin-bottom: 7px; pointer-events: none;
    font-family: 'Inter', sans-serif;
    text-shadow: 0 1px 6px rgba(0,0,0,0.9);
  }
  .rcp-seeker-track {
    position: relative; height: 5px;
    background: rgba(255,255,255,0.25);
    border-radius: 50px; cursor: pointer;
    pointer-events: all;
    transition: height 0.15s;
    touch-action: none;
  }
  .rcp-seeker-track:hover,
  .rcp-seeker-track.dragging { height: 8px; }
  .rcp-seeker-fill {
    position: absolute; left: 0; top: 0; height: 100%;
    background: linear-gradient(90deg, #e8416d, #f56c9a);
    border-radius: 50px; pointer-events: none;
    width: 0%; transition: width 0.1s linear;
  }
  .rcp-seeker-thumb { display: none; }
  /* الشريط القديم — مخفي */
  .rcp-video-progress { display: none !important; }

  /* زر الصوت */
  .rcp-mute-btn {
    position: absolute; bottom: 14px; left: 14px; z-index: 16;
    width: 36px; height: 36px; border-radius: 50%;
    background: rgba(0,0,0,0.5); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
  }
  .rcp-mute-btn:hover { background: rgba(0,0,0,0.75); }

  /* Swipe indicators */
  .rcp-swipe-hint {
    position: absolute; top: 50%; left: 50%;
    transform: translate(-50%,-50%); z-index: 20;
    display: flex; align-items: center; gap: 8px;
    background: rgba(0,0,0,0.6); backdrop-filter: blur(10px);
    padding: 10px 20px; border-radius: 50px;
    color: #fff; font-size: 0.82rem; font-weight: 700;
    opacity: 0; pointer-events: none;
    transition: opacity 0.25s;
  }
  .rcp-swipe-hint.show { opacity: 1; }

  /* Loading spinner */
  .rcp-video-loader {
    position: absolute; inset: 0; z-index: 12;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,0.4);
  }
  .rcp-video-loader.hidden { display: none; }
  .rcp-spinner {
    width: 40px; height: 40px; border-radius: 50%;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: #e8416d;
    animation: spin 0.8s linear infinite;
  }
  @keyframes spin { to { transform: rotate(360deg); } }


  .rcp-cat-badge {
    display: inline-block; padding: 5px 13px;
    border-radius: 50px; font-size: 0.68rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: 0.5px;
    white-space: nowrap;
  }

  /* ══ Overlay على الفيديو — TikTok style ══ */
  .rcp-video-overlay {
    position: fixed; bottom: 0; left: 0; right: 0; top: 0; z-index: 515;
    pointer-events: none;
    display: flex; flex-direction: column; justify-content: flex-end;
    background: linear-gradient(
      to bottom,
      transparent 25%,
      rgba(0,0,0,0.1) 45%,
      rgba(0,0,0,0.7) 68%,
      rgba(0,0,0,0.92) 85%,
      rgba(0,0,0,0.96) 100%
    );
  }
  .rcp-overlay-content {
    padding: 0 70px 28px 16px;
    pointer-events: auto;
    display: flex;
    flex-direction: column;
    position: relative;
    z-index: 20;
  }
  /* القصة الكاملة — TikTok style */
  .rcp-story-collapsed {
    font-size: 0.76rem; color: rgba(255,255,255,0.82);
    line-height: 1.55; margin-top: 5px;
  }
  .rcp-story-collapsed .story-short { }
  .rcp-story-collapsed .story-more-btn {
    color: rgba(255,255,255,0.5);
    font-weight: 600; cursor: pointer;
    font-size: 0.74rem;
  }
  .rcp-story-full {
    display: none;
    margin-top: 5px; font-size: 0.76rem;
    color: rgba(255,255,255,0.88);
    line-height: 1.65;
    background: rgba(0,0,0,0.45);
    backdrop-filter: blur(12px);
    padding: 10px 12px; border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.1);
  }
  .rcp-story-full.open { display: block; }
  .rcp-story-full .story-less-btn {
    color: rgba(255,255,255,0.5);
    font-weight: 600; cursor: pointer;
    font-size: 0.74rem; margin-top: 4px;
    display: block;
  }
  .rcp-overlay-org {
    display: flex; align-items: center; gap: 8px; margin-bottom: 6px;
  }
  .rcp-overlay-avatar {
    width: 32px; height: 32px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.8);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.75rem; font-weight: 800; color: #fff;
    flex-shrink: 0;
  }
  .rcp-overlay-orgname {
    font-size: 0.82rem; font-weight: 800; color: #fff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.6);
  }
  .rcp-overlay-title {
    font-size: 1rem; font-weight: 900; color: #fff;
    line-height: 1.3; margin-bottom: 6px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
  }
  .rcp-overlay-story {
    font-size: 0.78rem; color: rgba(255,255,255,0.8);
    line-height: 1.5; margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
    cursor: pointer;
  }
  .rcp-overlay-story span { color: #e8c87a; font-weight: 700; }
  /* شريط التقدم على الـ overlay */
  .rcp-overlay-progress {
    display: flex; align-items: center; gap: 8px;
  }
  .rcp-overlay-bar {
    flex: 1; height: 4px; background: rgba(255,255,255,0.2);
    border-radius: 50px; overflow: hidden;
  }
  .rcp-overlay-fill {
    height: 100%; border-radius: 50px;
    background: linear-gradient(90deg, #e8416d, #f5a623);
    transition: width 0.5s ease;
  }
  .rcp-overlay-pct {
    font-size: 0.78rem; font-weight: 800; color: #f5a623;
    flex-shrink: 0; text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }
  .rcp-overlay-raised {
    font-size: 0.72rem; font-weight: 700; color: rgba(255,255,255,0.75);
    flex-shrink: 0; text-shadow: 0 1px 3px rgba(0,0,0,0.5);
  }

  /* ══ Bottom Sheet — يرتفع عند الضغط ══ */
  .rcp-sheet-wrap {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 530;
    display: none; flex-direction: column;
  }
  .rcp-sheet-wrap.visible { display: flex; }

  /* شريط علوي ثابت: tabs + زر تبرع */
  .rcp-action-strip {
    display: flex; align-items: center; gap: 0;
    background: rgba(6,14,46,0.97); backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 0 12px 0 0;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
  }
  .rcp-tabs-compact {
    display: flex; flex: 1; overflow: hidden;
  }
  .rcp-tab-compact {
    flex: 1; padding: 13px 6px; border: none; background: transparent;
    font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.45);
    border-top: 2px solid transparent;
    cursor: pointer; font-family: 'Inter', sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 4px;
    transition: all 0.2s; white-space: nowrap;
  }
  .rcp-tab-compact.active { color: #fff; border-top-color: #e8416d; }
  .rcp-tab-count-sm {
    background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.5);
    font-size: 0.6rem; font-weight: 800;
    padding: 1px 5px; border-radius: 50px;
  }
  .rcp-tab-compact.active .rcp-tab-count-sm { background: rgba(232,65,109,0.3); color: #ff9ab5; }

  /* زر تبرع في الشريط */
  .rcp-donate-strip-btn {
    padding: 10px 22px;
    background: #f5a623;
    color: #0d1b4b; border: none; border-radius: 50px;
    font-size: 0.82rem; font-weight: 800;
    cursor: pointer; font-family: 'Inter', sans-serif;
    white-space: nowrap; flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(245,166,35,0.42);
    transition: all 0.2s;
  }
  .rcp-donate-strip-btn:hover { transform: scale(1.05); background: #e8950f; }

  /* لوح المحتوى — يرتفع للأعلى */
  .rcp-content-panel {
    background: rgba(6,14,46,0.98);
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.32,0.72,0,1);
  }
  .rcp-content-panel.open { max-height: 55vh; overflow-y: auto; }
  .rcp-panel-inner { padding: 18px 18px 24px; }

  /* النصوص داخل اللوح */
  .rcp-panel-story {
    font-size: 0.9rem; color: rgba(255,255,255,0.8);
    line-height: 1.8; margin: 0;
  }
  .rcp-panel-stats {
    display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px;
  }
  .rcp-stat-chip {
    display: flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
    padding: 6px 12px; border-radius: 50px;
    font-size: 0.76rem; font-weight: 700; color: rgba(255,255,255,0.8);
  }

  /* Body below video — مخفي الآن (كل شيء في الـ overlay) */
  .rcp-body { display: none; }

  /* Progress section */
  .rcp-stats-row {
    display: flex; justify-content: space-between; align-items: flex-end;
    margin-bottom: 8px;
  }
  .rcp-raised-block {}
  .rcp-raised-label { font-size: 0.72rem; color: rgba(255,255,255,0.55); font-weight: 600; margin-bottom: 2px; }
  .rcp-raised-amount { font-size: 1.5rem; font-weight: 900; color: #fff; line-height: 1; }
  .rcp-goal-label { font-size: 0.72rem; color: rgba(255,255,255,0.55); font-weight: 600; margin-bottom: 2px; text-align: right; }
  .rcp-goal-amount { font-size: 0.95rem; font-weight: 800; color: rgba(255,255,255,0.6); text-align: right; }
  .rcp-pct-big { font-size: 2rem; font-weight: 900; color: #00e4c9; line-height: 1; }

  .rcp-progress-bar {
    height: 8px; background: rgba(255,255,255,0.12); border-radius: 50px; margin-bottom: 10px;
    overflow: hidden;
  }
  .rcp-progress-fill { height: 100%; border-radius: 50px; }

  .rcp-meta-row {
    display: flex; gap: 16px; margin-bottom: 18px;
  }
  .rcp-meta-chip {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.78rem; font-weight: 700; color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.1); backdrop-filter: blur(8px);
    padding: 6px 12px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.12);
  }

  /* Reel Tabs */
  .rcp-tabs-wrap {
    border-bottom: 1px solid rgba(255,255,255,0.12);
    margin: 12px -24px 0;
    padding: 0 24px;
  }
  .rcp-tabs { display: flex; gap: 0; }
  .rcp-tab {
    padding: 11px 16px; border: none; background: transparent; cursor: pointer;
    font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.45);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    transition: all 0.2s; font-family: 'Inter', sans-serif;
    display: flex; align-items: center; gap: 5px; white-space: nowrap;
  }
  .rcp-tab.active { color: #fff; border-bottom-color: #e8416d; }
  .rcp-tab-count {
    background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.5);
    font-size: 0.65rem; font-weight: 800;
    padding: 2px 6px; border-radius: 50px;
  }
  .rcp-tab.active .rcp-tab-count { background: rgba(232,65,109,0.3); color: #ff9ab5; }
  .rcp-tab-content { display: none; padding-top: 16px; }
  .rcp-tab-content.active { display: block; }

  /* Story text */
  .rcp-story {
    font-size: 0.9rem; color: rgba(255,255,255,0.7); line-height: 1.8;
    margin-bottom: 6px;
  }

  /* Sticky donate bar */
  .rcp-bottom-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 530;
    background: rgba(8,14,40,0.97); backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 0;
    display: none;
    flex-direction: column;
    box-shadow: 0 -8px 32px rgba(0,0,0,0.4);
  }
  .rcp-bottom-bar.visible { display: flex; }

  /* Tab strip inside bottom bar */
  .rcp-tab-strip {
    display: flex; border-bottom: 1px solid rgba(255,255,255,0.08);
    background: transparent;
  }
  .rcp-tab-btn {
    flex: 1; padding: 10px 8px; border: none; background: transparent;
    font-size: 0.78rem; font-weight: 600; color: rgba(255,255,255,0.45);
    border-bottom: 2px solid transparent; margin-bottom: -1px;
    cursor: pointer; font-family: 'Inter', sans-serif;
    display: flex; align-items: center; justify-content: center; gap: 4px;
    transition: all 0.2s;
  }
  .rcp-tab-btn.active { color: #fff; border-bottom-color: #e8416d; }
  .rcp-tab-btn .rcp-tab-count {
    background: rgba(255,255,255,0.12); color: rgba(255,255,255,0.5);
    font-size: 0.62rem; font-weight: 800;
    padding: 1px 5px; border-radius: 50px;
  }
  .rcp-tab-btn.active .rcp-tab-count { background: rgba(232,65,109,0.3); color: #ff9ab5; }

  /* Bottom sheet panel */
  .rcp-sheet {
    display: none; max-height: 52vh; overflow-y: auto;
    background: rgba(10,16,46,0.98); padding: 14px 18px 8px;
    border-radius: 18px 18px 0 0;
    border-top: 1px solid rgba(255,255,255,0.08);
  }
  .rcp-sheet.open { display: block; }

  /* Donate + share row */
  .rcp-action-row {
    display: flex; gap: 10px; align-items: center;
    padding: 10px 18px calc(10px + env(safe-area-inset-bottom));
    background: transparent;
  }

  /* See more button */
  .rcp-see-more {
    width: 100%; padding: 10px; border: 1px solid rgba(255,255,255,0.15);
    border-radius: 10px; background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.7);
    font-size: 0.82rem; font-weight: 700; cursor: pointer;
    font-family: 'Inter', sans-serif; margin-top: 8px;
    transition: all 0.2s;
  }
  .rcp-see-more:hover { background: rgba(255,255,255,0.12); color: #fff; }

  /* ══ DESKTOP / TABLET LAYOUT ══ */
  @media(min-width: 768px) {
    /* الصفحة: خلفية داكنة وسط بدل كاملة الشاشة */
    .reel-campaign-page {
      background: #0a0f2e;
      display: block; overflow: hidden;
      visibility: hidden; pointer-events: none;
    }
    .reel-campaign-page.active {
      display: flex !important;
      visibility: visible !important;
      pointer-events: auto !important;
      align-items: center;
      justify-content: center;
    }

    /* حاوية المحتوى الكاملة */
    .rcp-desktop-wrap {
      display: flex;
      align-items: stretch;
      width: 100%; max-width: 900px;
      height: 100vh;
      margin: 0 auto;
    }

    /* جانب الفيديو */
    .rcp-video-side {
      position: relative;
      width: 360px; flex-shrink: 0;
      height: 100vh;
      background: #000;
    }
    .rcp-video-wrap {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      overflow: hidden;
    }
    .rcp-video-wrap video {
      position: absolute; inset: 0;
      width: 100%; height: 100%;
      object-fit: cover;
    }

    /* topbar فوق الفيديو فقط */
    .rcp-topbar {
      position: absolute; top: 0; left: 0; right: 0; z-index: 20;
    }

    /* overlay فوق الفيديو فقط */
    .rcp-video-overlay {
      position: absolute !important;
      top: 0; left: 0; right: 0; bottom: 0;
    }

    /* title-top فوق الفيديو فقط */
    .rcp-title-top {
      position: absolute !important;
      top: 0; left: 0; right: 0;
    }

    /* الأزرار الجانبية تختفي في الديسكتوب */
    .rcp-side-btns { display: none !important; }

    /* الـ bottom sheets تظهر بعرض الفيديو فقط */
    .rcp-bottom-sheet {
      position: absolute !important;
      left: 0 !important; right: 0 !important;
      width: 360px;
    }
    .rcp-sheet-overlay {
      position: absolute !important;
      inset: 0;
    }

    /* البانيل الأيمن */
    .rcp-info-panel {
      flex: 1;
      background: #fff;
      overflow-y: auto;
      padding: 0;
      display: flex !important;
      flex-direction: column;
      border-left: 1px solid #eef0f8;
    }

    /* رأس البانيل */
    .rcp-panel-header {
      padding: 24px 24px 16px;
      border-bottom: 1px solid #eef0f8;
      position: sticky; top: 0; background: #fff; z-index: 5;
    }

    /* جسم البانيل */
    .rcp-panel-body {
      padding: 20px 24px;
      flex: 1;
    }

    /* تذييل البانيل — زر التبرع */
    .rcp-panel-footer {
      padding: 16px 24px calc(16px + env(safe-area-inset-bottom));
      border-top: 1px solid #eef0f8;
      background: #fff;
      position: sticky; bottom: 0;
    }

    /* progress bar في البانيل */
    .rcp-panel-prog-bar {
      height: 8px; background: #eef0f8; border-radius: 50px;
      overflow: hidden; margin: 10px 0 6px;
    }
    .rcp-panel-prog-fill {
      height: 100%; border-radius: 50px;
      background: linear-gradient(90deg, #e8416d, #f5a623);
      transition: width 0.5s ease;
    }
  }
  /* ══ Reels Section ══ */
  /* ══ Reels Section ══ */
  .reels-section {
    background: linear-gradient(180deg, #0a0f2e 0%, #0d1b4b 60%, #0a1628 100%);
    padding: 56px 5% 52px;
  }
  .reels-scroll-wrap { position: relative; max-width: 1200px; margin: 0 auto 12px; }
  .reels-grid {
    display: flex; gap: 14px;
    overflow-x: auto; overflow-y: hidden;
    padding: 12px 4px 20px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .reels-grid::-webkit-scrollbar { display: none; }

  /* البطاقة — كلها صورة بدون body أبيض */
  .reel-card {
    flex: 0 0 calc(85vw); scroll-snap-align: center;
    border-radius: 18px; overflow: hidden;
    background: #1a1a2e;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    cursor: pointer; transition: transform 0.28s, box-shadow 0.28s;
    display: flex; flex-direction: column;
    position: relative;
    max-width: 320px;
  }



  @media(min-width: 480px)  { .reel-card { flex: 0 0 260px; max-width: 260px; } }
  @media(min-width: 768px)  { .reel-card { flex: 0 0 240px; max-width: 240px; } }
  @media(min-width: 1024px) { .reel-card { flex: 0 0 260px; max-width: 260px; } }
  .reel-card:hover { transform: translateY(-8px) scale(1.02); box-shadow: 0 20px 50px rgba(232,65,109,0.3); }

  .reel-thumb {
    aspect-ratio: 9/16;
    position: relative;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
  }

  /* .reel-thumb-bg — محذوفة نهائياً */
  .reel-thumb-bg { display: none !important; }
  .reel-card-preview {
    position: absolute; inset: 0; z-index: 1;
    width: 100%; height: 100%;
    object-fit: cover;
    pointer-events: none;
  }
  /* شريط التقدم أسفل البطاقة */
  .reel-preview-bar {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 5;
    height: 3px;
    background: rgba(255,255,255,0.2);
    overflow: hidden;
    opacity: 0;
    transition: opacity 0.4s;
  }
  .reel-preview-bar.bar-visible { opacity: 1; }
  .reel-preview-bar-fill {
    height: 100%;
    background: linear-gradient(90deg,#e8416d,#f5a623);
    width: 0%;
    transition: width linear;
    border-radius: 0 2px 2px 0;
  }

  /* تدرج داكن من الأسفل — المعلومات تُعرض فوقه */
  .reel-thumb::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0) 0%,
      rgba(0,0,0,0.05) 40%,
      rgba(0,0,0,0.65) 70%,
      rgba(0,0,0,0.92) 100%
    );
    pointer-events: none;
  }

  .reel-play-btn {
    position: absolute; inset: 0; z-index: 2;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.25s;
    pointer-events: none;
  }
  /* يظهر فقط على الديسكتوب عند hover */
  @media (hover: hover) {
    .reel-card:hover .reel-play-btn { opacity: 1; }
  }
  .reel-play-icon {
    width: 52px; height: 52px; border-radius: 50%;
    background: rgba(232,65,109,0.92);
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 4px 24px rgba(232,65,109,0.6);
    transition: transform 0.2s;
  }
  .reel-card:hover .reel-play-icon { transform: scale(1.1); }

  .reel-badge {
    position: absolute; top: 10px; left: 10px; z-index: 3;
    background: rgba(0,0,0,0.55); backdrop-filter: blur(8px);
    color: #fff; font-size: 0.65rem; font-weight: 700;
    padding: 4px 10px; border-radius: 50px;
    border: 1px solid rgba(255,255,255,0.15);
  }
  .reel-cat-badge {
    position: absolute; top: 10px; right: 10px; z-index: 3;
    font-size: 0.62rem; font-weight: 800;
    padding: 4px 10px; border-radius: 50px;
    text-transform: uppercase; letter-spacing: 0.5px;
  }

  /* المعلومات فوق الصورة في الأسفل */
  .reel-body {
    position: absolute; bottom: 0; left: 0; right: 0; z-index: 3;
    padding: 14px 12px 12px;
    background: transparent;
    display: flex; flex-direction: column;
  }
  .reel-title {
    font-size: 0.8rem; font-weight: 800; color: #fff;
    margin-bottom: 6px; line-height: 1.35;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
  }
  .reel-progress-header {
    display: flex; justify-content: space-between; align-items: center;
    margin-bottom: 5px;
  }
  .reel-raised { font-size: 0.85rem; font-weight: 900; color: #fff; text-shadow: 0 1px 3px rgba(0,0,0,0.4); }
  .reel-pct { font-size: 0.85rem; font-weight: 800; color: #00e4c9; }
  .reel-progress {
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 50px; margin-bottom: 8px;
  }
  .reel-progress-fill { height: 100%; border-radius: 50px; }
  .reel-meta {
    display: flex; justify-content: flex-start;
    font-size: 0.7rem; color: rgba(255,255,255,0.75); font-weight: 600; margin-bottom: 10px;
    gap: 4px; align-items: center;
  }
  .reel-donate-btn {
    width: 100%; padding: 13px;
    background: #f5a623;
    color: #0d1b4b;
    border: none; border-radius: 12px;
    font-size: 0.85rem; font-weight: 800;
    cursor: pointer; font-family: 'Inter', sans-serif;
    transition: all 0.2s; margin-top: auto;
    box-shadow: 0 4px 16px rgba(245,166,35,0.42);
    letter-spacing: 0.3px;
  }
  .reel-donate-btn:hover { background: #e8950f; }

  /* Reels Scroll Arrows */
  .reel-scroll-btn {
    position: absolute; top: 45%; transform: translateY(-50%);
    width: 42px; height: 42px; border-radius: 50%;
    background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.2);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; z-index: 10; transition: all 0.2s; color: #fff;
  }
  .reel-scroll-btn:hover { background: rgba(232,65,109,0.7); border-color: #e8416d; transform: translateY(-50%) scale(1.1); }
  .reel-scroll-btn.left  { left: -20px; }
  .reel-scroll-btn.right { right: -20px; }
  @media(max-width: 768px) { .reel-scroll-btn { display: none; } }

  /* Reels Dots */
  .reel-dots { display:flex; justify-content:center; gap:6px; margin-top:16px; }
  .reel-dot {
    width: 6px; height: 6px; border-radius: 50%;
    background: rgba(255,255,255,0.25); cursor: pointer;
    transition: all 0.3s;
  }
  .reel-dot.active { background: #e8416d; width: 20px; border-radius: 50px; }

  /* ── Reel Video Modal ── */
  .reel-modal-overlay {
    position: fixed; inset: 0; z-index: 9999;
    background: rgba(0,0,0,0.92);
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
  }
  .reel-modal-overlay.open { opacity: 1; pointer-events: all; }
  .reel-modal-inner {
    position: relative; width: min(92vw, 400px);
    background: #000; border-radius: 20px; overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.7);
    transform: scale(0.92); transition: transform 0.3s;
  }
  .reel-modal-overlay.open .reel-modal-inner { transform: scale(1); }
  .reel-modal-video-wrap {
    position: relative; width: 100%;
    padding-bottom: 177.78%;
    background: #000;
  }
  .reel-modal-video-wrap iframe {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    border: none;
  }
  /* Thumbnail fallback when iframe blocked */
  .reel-modal-thumb-fallback {
    position: absolute; inset: 0;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 16px; cursor: pointer;
    text-decoration: none;
  }
  .reel-modal-thumb-img {
    width: 100%; height: 100%;
    object-fit: cover; position: absolute; inset: 0;
    opacity: 0.7;
  }
  .reel-modal-yt-btn {
    position: relative; z-index: 2;
    background: #FF0000; color: #fff;
    border: none; border-radius: 12px;
    padding: 14px 28px;
    font-size: 1rem; font-weight: 800;
    cursor: pointer; font-family: 'Inter', sans-serif;
    display: flex; align-items: center; gap: 10px;
    box-shadow: 0 4px 20px rgba(255,0,0,0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none;
  }
  .reel-modal-yt-btn:hover { transform: scale(1.05); box-shadow: 0 6px 28px rgba(255,0,0,0.5); }
  .reel-modal-yt-note {
    position: relative; z-index: 2;
    color: rgba(255,255,255,0.7); font-size: 0.75rem;
    font-weight: 600; font-family: 'Inter', sans-serif;
  }
  .reel-modal-footer {
    padding: 14px 16px;
    background: #fff;
  }
  .reel-modal-title {
    font-size: 0.9rem; font-weight: 800; color: var(--navy);
    margin-bottom: 10px; line-height: 1.4;
  }
  .reel-modal-progress-row {
    display: flex; justify-content: space-between;
    align-items: center; margin-bottom: 5px;
  }
  .reel-modal-raised { font-size: 0.95rem; font-weight: 900; color: var(--navy); }
  .reel-modal-pct { font-size: 0.88rem; font-weight: 800; color: var(--teal); }
  .reel-modal-bar { height: 6px; background: #eef0f8; border-radius: 50px; margin-bottom: 6px; }
  .reel-modal-fill { height: 100%; border-radius: 50px; }
  .reel-modal-donors { font-size: 0.75rem; color: var(--text-muted); font-weight: 600; margin-bottom: 12px; }
  .reel-modal-donate {
    width: 100%; padding: 13px;
    background: #f5a623; color: #0d1b4b;
    border: none; border-radius: 12px;
    font-size: 0.92rem; font-weight: 800;
    cursor: pointer; font-family: 'Inter', sans-serif;
    transition: all 0.2s; box-shadow: 0 4px 16px rgba(245,166,35,0.42);
  }
  .reel-modal-donate:hover { background: #e8950f; }
  .reel-modal-close {
    position: absolute; bottom: 12px; right: 12px; z-index: 10;
    width: 34px; height: 34px; border-radius: 50%;
    background: rgba(0,0,0,0.55); border: none;
    color: #fff; font-size: 1.1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .reel-modal-close:hover { background: rgba(0,0,0,0.85); }

  /* View All Reels Button */
  .reel-view-all-btn {
    display: block; width: 100%; max-width: 1200px;
    margin: 0 auto; padding: 18px 24px;
    background: transparent; color: var(--navy);
    border: 2.5px solid var(--navy); border-radius: 16px;
    font-size: 1rem; font-weight: 800; cursor: pointer;
    font-family: 'Inter', sans-serif; transition: all 0.25s; text-align: center;
  }
  .reel-view-all-btn:hover {
    background: var(--navy); color: #fff;
    box-shadow: 0 8px 28px rgba(13,27,75,0.18);
    transform: translateY(-2px);
  }

  .stories-section { background: linear-gradient(155deg, var(--navy-deep) 0%, #1a2f70 100%); }
  .stories-section .section-tag { color: var(--accent); background: rgba(245,166,35,0.1); border-color: rgba(245,166,35,0.2); }
  .stories-section .section-header h2 { color: #fff; }
  .stories-section .section-header p { color: rgba(255,255,255,0.5); }

  .stories-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
    gap: 26px; max-width: 1140px; margin: 0 auto 44px;
  }

  .story-card {
    background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px; overflow: hidden; transition: all 0.32s;
  }
  .story-card { cursor: pointer; }
  .story-card:hover { background: rgba(255,255,255,0.09); border-color: rgba(245,166,35,0.35); transform: translateY(-6px); box-shadow: 0 24px 56px rgba(0,0,0,0.28); }

  .story-thumb {
    height: 176px; display: flex; align-items: center; justify-content: center;
    font-size: 3.4rem; position: relative;
  }
  .story-badge {
    position: absolute; top: 13px; right: 13px;
    background: var(--teal); color: var(--navy-deep);
    font-size: 0.68rem; font-weight: 800; padding: 4px 11px; border-radius: 50px;
    letter-spacing: 0.5px; text-transform: uppercase;
  }

  .story-body { padding: 20px 22px 24px; }
  .story-title { font-family: 'Barlow', sans-serif; font-size: 1.08rem; font-weight: 800; color: #fff; margin-bottom: 9px; line-height: 1.35; }
  .story-desc { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.66; margin-bottom: 20px; }

  .story-stats { display: flex; border-top: 1px solid rgba(255,255,255,0.1); padding-top: 16px; }
  .story-stat { flex: 1; text-align: center; border-right: 1px solid rgba(255,255,255,0.08); padding: 0 10px; }
  .story-stat:last-child { border-right: none; }
  .story-stat-num { font-family: 'Barlow', sans-serif; font-size: 1.12rem; font-weight: 900; color: var(--accent); display: block; margin-bottom: 2px; }
  .story-stat-label { color: rgba(255,255,255,0.32); font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; }

  /* ─── CATEGORIES ─── */
  .categories-section { background: #fff; }

  .cats-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0 30px;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
  }
  
  .cats-grid::-webkit-scrollbar {
    display: none; /* Chrome/Safari/Opera */
  }

  .cat-card {
    flex: 0 0 auto;
    min-width: 210px;
    border-radius: 18px;
    padding: 35px 22px 30px; text-align: center; cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative; overflow: hidden;
  }
  
  /* ألوان Glassmorphism لكل فئة */
  .cat-card[onclick*="medical"], .cat-card[data-catkey="medical"] { background: rgba(255, 107, 107, 0.15); }
  .cat-card[onclick*="education"], .cat-card[data-catkey="education"] { background: rgba(78, 205, 196, 0.15); }
  .cat-card[onclick*="disaster"], .cat-card[data-catkey="disaster"] { background: rgba(102, 126, 234, 0.15); }
  .cat-card[onclick*="food"], .cat-card[data-catkey="food"] { background: rgba(247, 183, 51, 0.15); }
  .cat-card[onclick*="shelter"], .cat-card[data-catkey="shelter"] { background: rgba(161, 140, 209, 0.15); }
  .cat-card[onclick*="children"], .cat-card[data-catkey="children"] { background: rgba(249, 83, 198, 0.15); }
  .cat-card[onclick*="environment"], .cat-card[data-catkey="environment"] { background: rgba(86, 171, 47, 0.15); }
  .cat-card[onclick*="business"], .cat-card[data-catkey="business"] { background: rgba(255, 152, 0, 0.15); }
  .cat-card[onclick*="animals"], .cat-card[data-catkey="animals"] { background: rgba(121, 134, 203, 0.15); }
  .cat-card[onclick*="community"], .cat-card[data-catkey="community"] { background: rgba(156, 39, 176, 0.15); }
  
  .cat-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
    background: transparent;
    transform: scaleX(0); transition: transform 0.3s;
  }
  .cat-card::after { transform: scaleX(1); }
  .cat-card:hover { 
    transform: translateY(-6px); 
    box-shadow: 0 16px 40px rgba(13,27,75,0.18);
    border-color: rgba(255,255,255,0.6);
  }

  .cat-icon { font-size: 2.8rem; display: block; margin-bottom: 15px; }
  .cat-name { font-weight: 700; font-size: 1rem; color: var(--navy); margin-bottom: 6px; line-height: 1.3; }
  .cat-count { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

  /* ─── HOW IT WORKS ─── */
  .how-section { background: var(--light); }

  .steps-row {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px; max-width: 1000px; margin: 0 auto;
  }

  .step { text-align: center; }
  .step-icon-wrap {
    width: 76px; height: 76px; background: var(--navy); border-radius: 22px;
    display: flex; align-items: center; justify-content: center; margin: 0 auto 20px;
    font-size: 1.8rem; box-shadow: 0 8px 28px rgba(13,27,75,0.2); transition: transform 0.3s;
  }
  .step:hover .step-icon-wrap { transform: rotate(-6deg) scale(1.07); }
  .step h3 { font-family: 'Barlow', sans-serif; font-size: 1.02rem; font-weight: 800; color: var(--navy); margin-bottom: 9px; }
  .step p { color: var(--text-muted); font-size: 0.86rem; line-height: 1.68; }

  /* ─── CTA ─── */
  .cta-section { background: var(--accent); padding: 76px 6%; text-align: center; }
  .cta-section h2 { font-family: 'Barlow', sans-serif; font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 900; color: var(--navy-deep); margin-bottom: 12px; letter-spacing: -0.5px; }
  .cta-section p { color: rgba(6,14,46,0.62); font-size: 1.02rem; margin-bottom: 34px; }
  .btn-cta {
    background: var(--navy-deep); color: #fff; padding: 17px 50px; border-radius: 60px;
    font-size: 1.02rem; font-weight: 700; border: none; cursor: pointer;
    transition: all 0.3s; font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 28px rgba(6,14,46,0.25);
  }
  .btn-cta:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 40px rgba(6,14,46,0.35); }

  /* ─── FOOTER ─── */
  footer { background: var(--navy-deep); padding: 68px 6% 40px; margin-bottom: 0; }
  .footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 44px;
    margin-bottom: 52px; padding-bottom: 52px; border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .footer-brand .logo { color: #fff; display: block; margin-bottom: 14px; font-size: 1.4rem; }
  .footer-brand p { color: rgba(255,255,255,0.4); font-size: 0.86rem; line-height: 1.72; max-width: 270px; }
  .footer-col h4 { color: rgba(255,255,255,0.8); font-weight: 700; font-size: 0.88rem; margin-bottom: 16px; }
  .footer-col a { display: block; color: rgba(255,255,255,0.38); text-decoration: none; font-size: 0.84rem; margin-bottom: 10px; transition: color 0.2s; }
  .footer-col a:hover { color: var(--accent); }
  .footer-bottom { text-align: center; color: rgba(255,255,255,0.22); font-size: 0.8rem; }

  /* ─── CAMPAIGN PAGE ─── */
  /* ── Secondary Pages (About, Contact, FAQ, HowItWorks, Terms) ── */
  .secondary-page { display:none; position:fixed; inset:0; z-index:500; background:#fff; overflow-y:auto; }
  .secondary-page.active { display:block; animation:slideUpPage 0.28s ease; }
  @keyframes slideUpPage { from{opacity:0;transform:translateY(20px);} to{opacity:1;transform:translateY(0);} }
  .sec-topbar { position:sticky; top:0; z-index:20; background:rgba(255,255,255,0.97); backdrop-filter:blur(14px); border-bottom:1px solid var(--border); padding:12px 5%; display:flex; align-items:center; justify-content:space-between; }
  .sec-hero { background:linear-gradient(135deg,var(--navy) 0%,#1a3a6b 100%); padding:56px 6% 48px; text-align:center; color:#fff; }
  .sec-hero h1 { font-family:'Georgia',serif; font-size:clamp(1.6rem,5vw,2.3rem); font-weight:400; margin-bottom:12px; }
  .sec-hero p { font-size:0.98rem; color:rgba(255,255,255,0.7); max-width:500px; margin:0 auto; line-height:1.7; }
  .sec-content { max-width:760px; margin:0 auto; padding:44px 6% 80px; }
  .sec-section { margin-bottom:38px; }
  .sec-section h2 { font-family:'Georgia',serif; font-size:1.3rem; color:var(--navy); margin-bottom:12px; padding-bottom:10px; border-bottom:2px solid #f0f2f8; }
  .sec-section p { color:#555; line-height:1.8; font-size:0.93rem; margin-bottom:12px; }
  .sec-section ul { padding-left:20px; color:#555; line-height:2; font-size:0.93rem; }
  /* FAQ */
  .faq-item { border:1.5px solid #e8ecf8; border-radius:12px; margin-bottom:10px; overflow:hidden; }
  .faq-q { padding:16px 20px; font-weight:700; color:var(--navy); cursor:pointer; display:flex; justify-content:space-between; align-items:center; font-size:0.91rem; background:#fff; transition:background 0.15s; }
  .faq-q:hover { background:#f8f9ff; }
  .faq-arrow { transition:transform 0.25s; color:var(--teal); display:inline-block; }
  .faq-q.open .faq-arrow { transform:rotate(180deg); }
  .faq-a { display:none; padding:14px 20px; color:#666; font-size:0.87rem; line-height:1.75; background:#fafbff; border-top:1px solid #f0f2f8; }
  /* Contact form */
  .contact-form { background:#f8f9ff; border-radius:16px; padding:26px; border:1px solid #e8ecf8; }
  .contact-input { width:100%; padding:11px 14px; border:1.5px solid #e8ecf8; border-radius:10px; font-size:0.88rem; font-family:'Inter',sans-serif; color:var(--navy); outline:none; box-sizing:border-box; margin-bottom:14px; background:#fff; transition:border-color 0.2s; }
  .contact-input:focus { border-color:var(--teal); }
  /* How It Works steps */
  .hiw-steps { display:grid; grid-template-columns:repeat(auto-fit,minmax(185px,1fr)); gap:16px; margin-top:10px; }
  .hiw-step { background:#f8f9ff; border-radius:14px; padding:22px 18px; text-align:center; border:1.5px solid #e8ecf8; }
  .hiw-step-num { width:42px; height:42px; border-radius:50%; background:var(--navy); color:#fff; font-size:1rem; font-weight:800; display:flex; align-items:center; justify-content:center; margin:0 auto 12px; font-family:'Barlow',sans-serif; }
  .hiw-step h3 { font-size:0.88rem; font-weight:800; color:var(--navy); margin-bottom:6px; }
  .hiw-step p { font-size:0.8rem; color:#777; line-height:1.6; }
  /* Info cards */
  .info-cards { display:grid; grid-template-columns:repeat(auto-fit,minmax(160px,1fr)); gap:12px; margin-top:10px; }
  .info-card { background:linear-gradient(135deg,rgba(13,27,75,0.04),rgba(0,201,177,0.06)); border-radius:14px; padding:18px; border:1px solid #e8ecf8; text-align:center; }
  .info-card .ic-icon { font-size:1.7rem; margin-bottom:8px; }
  .info-card h3 { font-size:0.86rem; font-weight:800; color:var(--navy); margin-bottom:4px; }
  .info-card p { font-size:0.76rem; color:#888; line-height:1.5; }
  /* Similar Campaigns */
  .similar-camps { padding:24px 5% 16px; border-top:2px solid #f0f2f8; margin-top:12px; }
  .similar-camps h3 { font-size:1rem; font-weight:800; color:var(--navy); margin-bottom:14px; }
  .similar-grid { display:grid; grid-template-columns:repeat(auto-fill,minmax(230px,1fr)); gap:12px; }

  /* ── Similar Campaigns Horizontal ── */
  .similar-camps-new {
    padding: 32px 0 24px;
  }
  .similar-hscroll {
    display: flex; gap: 14px;
    overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 4px 16px 14px; -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .similar-hscroll::-webkit-scrollbar { display: none; }
  .similar-hcard {
    flex-shrink: 0; width: 260px; scroll-snap-align: start;
    border: 1.5px solid #e8ecf8; border-radius: 18px;
    overflow: hidden; cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    background: #fff;
  }
  .similar-hcard:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(13,27,75,0.12); }
  .similar-hthumb {
    height: 140px; display: flex; align-items: center;
    justify-content: center; font-size: 2.8rem;
  }
  .similar-hinfo { padding: 14px 14px 16px; }
  .similar-htitle {
    font-size: 0.88rem; font-weight: 700; color: var(--navy);
    line-height: 1.45; margin-bottom: 10px;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
  }
  .similar-card { border:1.5px solid #e8ecf8; border-radius:14px; overflow:hidden; cursor:pointer; transition:transform 0.2s,box-shadow 0.2s; }
  .similar-card:hover { transform:translateY(-3px); box-shadow:0 8px 24px rgba(13,27,75,0.1); }
  .similar-thumb { height:86px; display:flex; align-items:center; justify-content:center; font-size:2.2rem; }
  .similar-info { padding:10px 13px; }
  .similar-title { font-size:0.81rem; font-weight:700; color:var(--navy); margin-bottom:6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .similar-prog { height:5px; background:#f0f2f8; border-radius:4px; margin-bottom:7px; }
  .similar-prog-fill { height:100%; border-radius:4px; background:var(--teal); }
  .similar-meta { font-size:0.76rem; color:var(--text-muted); display:flex; justify-content:space-between; }
  /* Donation Success */
  .donate-success { display:none; text-align:center; padding:28px 16px; }
  .donate-success.active { display:block; }
  .success-circle { width:76px; height:76px; border-radius:50%; background:linear-gradient(135deg,var(--teal),#00e5c4); display:flex; align-items:center; justify-content:center; margin:0 auto 16px; font-size:2rem; animation:successPop 0.5s ease; }
  @keyframes successPop { 0%{transform:scale(0.4);opacity:0;} 80%{transform:scale(1.1);} 100%{transform:scale(1);opacity:1;} }
  .success-title { font-family:'Georgia',serif; font-size:1.35rem; color:var(--navy); margin-bottom:8px; }
  .success-sub { font-size:0.88rem; color:var(--text-muted); line-height:1.65; margin-bottom:18px; }
  .receipt-box { background:#f8f9ff; border-radius:14px; padding:16px 18px; border:1px solid #e8ecf8; margin-bottom:18px; text-align:left; }
  .receipt-row { display:flex; justify-content:space-between; font-size:0.83rem; padding:7px 0; border-bottom:1px solid #f0f2f8; color:#555; }
  .receipt-row:last-child { border:none; font-weight:800; color:var(--navy); font-size:0.9rem; }

  .campaign-page {
    display: none; position: fixed; inset: 0; z-index: 500;
    background: var(--white); overflow-y: auto;
  }
  .campaign-page.active { display: block; }

  /* Hero collapse when viewing non-story tabs */
  #cpHeroSection {
    overflow: hidden;
    transition: max-height 0.35s ease, opacity 0.3s ease;
    max-height: 600px; opacity: 1;
  }
  #cpHeroSection.collapsed { max-height: 0; opacity: 0; }

  /* Top bar */
  .cp-topbar {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 5%; display: flex; align-items: center; justify-content: space-between;
  }
  .cp-back {
    background: transparent; border: 1.5px solid var(--border);
    color: var(--navy); padding: 7px 16px; border-radius: 50px;
    font-size: 0.82rem; font-weight: 600; cursor: pointer;
    font-family: 'Inter', sans-serif; transition: all 0.2s;
    display: flex; align-items: center; gap: 6px;
  }
  .cp-back:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

  /* ── Report Button ── */
  .cp-report-btn {
    background: transparent; border: 1.5px solid #fee2e2;
    color: #e8416d; padding: 7px 14px; border-radius: 50px;
    font-size: 0.82rem; font-weight: 600; cursor: pointer;
    font-family: 'Inter', sans-serif; transition: all 0.2s;
    display: flex; align-items: center; gap: 5px;
  }
  .cp-report-btn:hover { background: #fff0f3; border-color: #e8416d; }

  /* ── Report Modal ── */
  .report-overlay {
    display: none; position: fixed; inset: 0; z-index: 9000;
    background: rgba(13,27,75,0.45); backdrop-filter: blur(4px);
    align-items: flex-end; justify-content: center;
  }
  .report-overlay.active { display: flex; }
  .report-sheet {
    background: #fff; border-radius: 24px 24px 0 0;
    width: 100%; max-width: 540px; padding: 0 0 32px;
    animation: slideUpSheet 0.3s ease;
    max-height: 92vh; overflow-y: auto;
  }
  @keyframes slideUpSheet { from { transform: translateY(100%); opacity:0; } to { transform: translateY(0); opacity:1; } }
  .report-handle {
    width: 40px; height: 4px; background: #e0e4f0;
    border-radius: 4px; margin: 14px auto 0;
  }
  .report-header {
    padding: 20px 24px 0;
    display: flex; align-items: center; justify-content: space-between;
  }
  .report-title {
    font-size: 1.1rem; font-weight: 800; color: var(--navy);
    display: flex; align-items: center; gap: 8px;
  }
  .report-close {
    background: #f4f6fb; border: none; border-radius: 50%;
    width: 32px; height: 32px; font-size: 1rem; cursor: pointer;
    display: flex; align-items: center; justify-content: center; color: var(--navy);
  }
  .report-subtitle {
    padding: 6px 24px 18px;
    font-size: 0.82rem; color: var(--text-muted); line-height: 1.5;
  }
  .report-divider { height: 1px; background: #f0f2f8; margin: 0 0 16px; }
  .report-reasons { padding: 0 24px; display: flex; flex-direction: column; gap: 10px; }
  .report-reason-btn {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 16px; border: 1.5px solid #eef0f8;
    border-radius: 14px; background: #fff; cursor: pointer;
    transition: all 0.18s; text-align: left; width: 100%;
    font-family: 'Inter', sans-serif;
  }
  .report-reason-btn:hover { border-color: #e8416d; background: #fff0f3; }
  .report-reason-btn.selected { border-color: #e8416d; background: #fff0f3; }
  .report-reason-icon { font-size: 1.3rem; flex-shrink: 0; width: 36px; height: 36px; display:flex; align-items:center; justify-content:center; background:#f4f6fb; border-radius:10px; }
  .report-reason-btn.selected .report-reason-icon { background: rgba(232,65,109,0.1); }
  .report-reason-text { flex: 1; }
  .report-reason-label { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 2px; }
  .report-reason-desc { font-size: 0.74rem; color: var(--text-muted); line-height: 1.4; }
  .report-reason-check { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #d0d5e8; flex-shrink:0; display:flex; align-items:center; justify-content:center; transition:all 0.18s; }
  .report-reason-btn.selected .report-reason-check { background: #e8416d; border-color: #e8416d; }
  .report-details-wrap { padding: 14px 24px 0; display: none; }
  .report-details-wrap.show { display: block; }
  .report-details-textarea {
    width: 100%; min-height: 90px; border: 1.5px solid #eef0f8;
    border-radius: 12px; padding: 12px 14px; font-size: 0.84rem;
    font-family: 'Inter', sans-serif; color: var(--navy); resize: vertical;
    outline: none; box-sizing: border-box; transition: border 0.2s;
  }
  .report-details-textarea:focus { border-color: #e8416d; }
  .report-footer { padding: 18px 24px 0; display: flex; flex-direction: column; gap: 10px; }
  .report-submit-btn {
    width: 100%; padding: 14px; background: #e8416d; color: #fff;
    border: none; border-radius: 14px; font-size: 0.95rem; font-weight: 800;
    cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .report-submit-btn:hover { background: #d63060; transform: translateY(-1px); }
  .report-submit-btn:disabled { background: #ccc; cursor: not-allowed; transform: none; }
  .report-cancel-btn {
    width: 100%; padding: 13px; background: #f4f6fb; color: var(--navy);
    border: none; border-radius: 14px; font-size: 0.9rem; font-weight: 700;
    cursor: pointer; font-family: 'Inter', sans-serif; transition: all 0.2s;
  }
  .report-cancel-btn:hover { background: #e8ecf8; }
  .report-success-wrap {
    padding: 40px 24px; text-align: center; display: none;
  }
  .report-success-wrap.show { display: block; }
  .report-success-icon { font-size: 3.5rem; margin-bottom: 16px; }
  .report-success-title { font-size: 1.15rem; font-weight: 800; color: var(--navy); margin-bottom: 8px; }
  .report-success-msg { font-size: 0.84rem; color: var(--text-muted); line-height: 1.6; }

  /* Campaign content */
  .cp-content { max-width: 720px; margin: 0 auto; padding: 36px 6% 130px; background: var(--white); }

  /* Title & meta */
  .cp-title {
    font-family: 'Inter', sans-serif; font-size: clamp(1.5rem, 5.5vw, 2.2rem);
    font-weight: 800; color: var(--navy); line-height: 1.35;
    margin-bottom: 20px; text-align: center;
    letter-spacing: -0.3px;
  }
  .cp-meta-row {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 6px;
    margin-bottom: 12px; font-size: 0.88rem; color: var(--text-muted);
    text-align: center;
  }
  .cp-meta-row a { color: var(--accent); font-weight: 700; text-decoration: none; }
  .cp-meta-row a:hover { text-decoration: underline; }

  .cp-meta-row2 {
    display: flex; align-items: center; justify-content: center;
    flex-wrap: wrap; gap: 10px;
    margin-bottom: 28px; font-size: 0.78rem;
    text-transform: uppercase; letter-spacing: 1px; font-weight: 700;
  }
  .cp-location { color: var(--text-muted); display: flex; align-items: center; gap: 5px; }
  .cp-dot { color: var(--text-muted); opacity: 0.4; font-size: 1rem; }
  .cp-cat-pill {
    background: rgba(0,201,177,0.1); color: var(--teal);
    border: 1px solid rgba(0,201,177,0.2);
    padding: 3px 12px; border-radius: 50px;
    font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  }

  /* Media */
  .cp-media {
    width: 100%; border-radius: 18px; overflow: hidden;
    background: linear-gradient(135deg,#ff6b6b,#ffa07a);
    height: 260px; display: flex; align-items: center; justify-content: center;
    font-size: 5rem; margin-bottom: 0;
  }

  /* Sticky tabs */
  .cp-tabs-wrap {
    position: sticky; top: 57px; z-index: 15;
    background: var(--white);
    border-bottom: 2px solid #e6eaf5;
    margin: 0 -5%;
    padding: 0 5%;
  }
  .cp-tabs { display: flex; gap: 0; }
  .cp-tab {
    padding: 13px 20px; border: none; background: transparent; cursor: pointer;
    font-size: 0.88rem; font-weight: 600; color: var(--text-muted);
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: all 0.2s; font-family: 'Inter', sans-serif;
    display: flex; align-items: center; gap: 6px; white-space: nowrap;
  }
  .cp-tab.active { color: var(--navy); border-bottom-color: var(--navy); }
  .cp-tab-count {
    background: #e6eaf5; color: var(--text-muted);
    font-size: 0.68rem; font-weight: 800;
    padding: 2px 7px; border-radius: 50px;
  }
  .cp-tab.active .cp-tab-count { background: var(--accent); color: var(--navy-deep); }

  .cp-tab-content { display: none; padding-top: 30px; }
  .cp-tab-content.active { display: block; }

  /* Story */
  .cp-story p { color: var(--text-muted); font-size: 0.95rem; line-height: 2.0; margin-bottom: 22px; }

  /* ── Story Read More ── */
  .cp-story-wrap { position: relative; }
  #cpStoryContent {
    max-height: 220px;
    overflow: hidden;
    transition: max-height 0.5s ease;
  }
  #cpStoryContent.expanded { max-height: 9999px; }
  .cp-story-fade {
    position: absolute; bottom: 44px; left: 0; right: 0;
    height: 100px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    pointer-events: none;
    transition: opacity 0.3s;
  }
  .cp-story-fade.hidden { opacity: 0; }
  body.dark-mode .cp-story-fade { background: linear-gradient(to bottom, rgba(13,22,48,0) 0%, rgba(13,22,48,1) 100%); }
  .cp-story-toggle {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; padding: 14px;
    background: transparent; border: none;
    font-size: 0.95rem; font-weight: 700;
    color: var(--accent); cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: opacity 0.2s; margin-top: 4px;
  }
  .cp-story-toggle:hover { opacity: 0.75; }
  .cp-story-toggle svg { transition: transform 0.3s; }
  .cp-story-toggle.open svg { transform: rotate(180deg); }

  /* Multiple images — grid */
  .cp-gallery { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 28px; margin-bottom: 8px; }
  .cp-gallery-item { border-radius: 12px; height: 100px; display: flex; align-items: center; justify-content: center; font-size: 0; cursor: pointer; transition: transform 0.2s; position: relative; }
  .cp-gallery-item:hover { transform: scale(1.04); }

  /* ══ LIGHTBOX ══ */
  .lightbox-overlay {
    display: none; position: fixed; inset: 0; z-index: 2000;
    background: rgba(0,0,0,0.93);
    align-items: center; justify-content: center;
    animation: lbFadeIn 0.2s ease;
  }
  .lightbox-overlay.open { display: flex; }
  @keyframes lbFadeIn { from { opacity:0; } to { opacity:1; } }

  .lightbox-box {
    position: relative; width: 100%; height: 100%;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 28px 12px 36px;
    box-sizing: border-box;
  }

  .lb-close {
    position: absolute; top: 16px; right: 16px;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(255,255,255,0.12); border: none;
    color: #fff; font-size: 1rem; font-weight: 700;
    cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .lb-close:hover { background: rgba(255,255,255,0.25); }

  .lb-counter {
    position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,0.6); font-size: 0.78rem; font-weight: 600;
    font-family: 'Inter', sans-serif;
  }

  .lb-media {
    width: 100%; max-width: 600px; max-height: calc(100vh - 200px);
    border-radius: 14px; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    animation: lbSlide 0.22s ease;
    position: relative;
  }
  @keyframes lbSlide { from { opacity:0; transform:scale(0.95); } to { opacity:1; transform:scale(1); } }

  .lb-media-img {
    width: 100%; height: calc(100vh - 140px); min-height: 280px; max-height: 82vh;
    object-fit: cover; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 5rem;
  }

  .lb-media-video {
    width: 100%; height: calc(100vh - 140px); max-height: 82vh; border-radius: 14px; border: none;
  }

  .lb-caption {
    margin-top: 12px; color: rgba(255,255,255,0.7);
    font-size: 0.82rem; font-family: 'Inter', sans-serif;
    text-align: center;
  }

  .lb-nav {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 44px; height: 44px; border-radius: 50%;
    background: rgba(255,255,255,0.12); border: none;
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    transition: background 0.2s; z-index: 10;
  }
  .lb-nav:hover { background: rgba(255,255,255,0.28); }
  .lb-nav.hidden { display: none; }
  .lb-prev { left: 10px; }
  .lb-next { right: 10px; }

  .lb-thumbs {
    position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 7px; max-width: 90vw; overflow-x: auto;
    padding: 4px; scrollbar-width: none;
  }
  .lb-thumbs::-webkit-scrollbar { display: none; }
  .lb-thumb {
    width: 46px; height: 46px; border-radius: 8px; flex-shrink: 0;
    cursor: pointer; border: 2px solid transparent;
    transition: border-color 0.2s, transform 0.2s;
    display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
  }
  .lb-thumb.active { border-color: #f5a623; transform: scale(1.1); }
  .lb-thumb:hover { border-color: rgba(255,255,255,0.4); }

  /* Single image between paragraphs — full width, prominent */
  .cp-inline-img {
    width: 100%; height: 220px; border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0; margin: 28px 0; overflow: hidden;
    object-fit: cover;
    position: relative;
  }

  .cp-hero-img { cursor: pointer; position: relative; }

  .cp-inline-img::after,
  .cp-gallery-item::after,
  .cp-hero-img::after {
    content: '⛶';
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(0,0,0,0.38);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 800;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.18s, transform 0.18s, background 0.18s;
    pointer-events: none;
  }

  .cp-inline-img:hover::after,
  .cp-gallery-item:hover::after,
  .cp-hero-img:hover::after {
    opacity: 1;
    transform: scale(1);
    background: rgba(0,0,0,0.52);
  }

  /* Progress block (below tabs content) */
  .cp-progress-block {
    background: var(--white); border-radius: 18px; padding: 22px;
    margin-top: 16px; margin-bottom: 0;
    border: 1px solid var(--border);
    box-shadow: 0 2px 14px rgba(13,27,75,0.06);
  }
  .cp-raised-big {
    font-family: 'Barlow', sans-serif; font-size: 2.4rem; font-weight: 700;
    color: var(--accent); line-height: 1;
  }
  .cp-goal-text { font-size: 0.86rem; color: var(--text-muted); margin: 6px 0 12px; }
  .cp-prog-bar { height: 8px; background: #e6eaf5; border-radius: 50px; overflow: hidden; margin-bottom: 8px; }
  .cp-prog-fill { height: 100%; background: linear-gradient(90deg, var(--teal), #00e4c9); border-radius: 50px; transition: width 1.2s ease; }
  .cp-prog-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
  .cp-prog-pct { font-family: 'Barlow', sans-serif; font-size: 1rem; font-weight: 900; color: var(--teal); }
  .cp-donors-count { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }
  .cp-donors-count strong { color: var(--navy); }

  .cp-stats-row { display: flex; gap: 0; border-top: 1px solid #eef0f8; padding-top: 16px; }
  .cp-stat-item { flex: 1; text-align: center; border-right: 1px solid #eef0f8; }
  .cp-stat-item:last-child { border-right: none; }
  .cp-stat-num { font-family: 'Barlow', sans-serif; font-weight: 900; font-size: 1.1rem; color: var(--navy); display: block; }
  .cp-stat-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 2px; }

  /* Updates */
  .update-card { background: var(--white); border-radius: 16px; padding: 22px; margin-bottom: 16px; border: 1px solid var(--border); }
  .update-date { font-size: 0.72rem; color: var(--text-muted); font-weight: 600; margin-bottom: 6px; text-transform: uppercase; letter-spacing: 0.5px; }
  .update-title { font-family: 'Barlow', sans-serif; font-weight: 800; font-size: 0.98rem; color: var(--navy); margin-bottom: 7px; }
  .update-text { font-size: 0.86rem; color: var(--text-muted); line-height: 1.65; }
  .update-img { width: 100%; height: 150px; border-radius: 10px; margin-top: 12px; display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }

  /* Donors */
  .donor-row { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; border-bottom: 1px solid #eef0f8; }
  .donor-info { display: flex; align-items: center; gap: 12px; }
  .donor-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 0.85rem; flex-shrink: 0; }
  .donor-name { font-weight: 600; font-size: 0.88rem; color: var(--navy); }
  .donor-time { font-size: 0.74rem; color: var(--text-muted); margin-top: 2px; }
  .donor-amount { font-family: 'Barlow', sans-serif; font-weight: 900; font-size: 0.98rem; color: var(--teal); }
  .donor-amount-hidden { font-family: 'Inter', sans-serif; font-size: 0.88rem !important; font-weight: 600; color: var(--text-muted) !important; letter-spacing: 1px; }
  .donor-comment {
    font-size: 0.78rem; color: var(--text-muted); font-style: italic;
    margin-top: 4px; line-height: 1.5;
  }
  /* donor-row flex alignment fix for comments */
  .donor-row { align-items: flex-start; }

  /* Sticky bottom bar */
  .cp-bottom-bar {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 520;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(14px);
    border-top: 1px solid var(--border);
    padding: 12px 5%;
    display: none;
    align-items: center; gap: 12px;
    box-shadow: 0 -4px 20px rgba(13,27,75,0.08);
  }
  .cp-bottom-bar.visible { display: flex; }

  .btn-share {
    display: flex; align-items: center; gap: 5px;
    background: var(--white); border: 1.5px solid var(--border);
    color: var(--navy); padding: 13px 14px; border-radius: 12px;
    font-size: 0.78rem; font-weight: 700; cursor: pointer;
    transition: all 0.25s; font-family: 'Inter', sans-serif;
    white-space: nowrap; flex-shrink: 0;
    touch-action: manipulation; -webkit-tap-highlight-color: rgba(0,0,0,0.1);
  }
  .btn-share:hover { border-color: var(--navy); background: var(--light); }

  .btn-donate-bottom {
    flex: 1; background: #f5a623; color: #0d1b4b;
    padding: 14px; border-radius: 12px; font-size: 1rem; font-weight: 800;
    border: none; cursor: pointer; transition: all 0.25s; font-family: 'Inter', sans-serif;
    box-shadow: 0 4px 16px rgba(245,166,35,0.42); text-align: center;
  }
  .btn-donate-bottom:hover { transform: translateY(-1px); box-shadow: 0 8px 28px rgba(245,166,35,0.58); }

  /* Video embed in story */
  .cp-video-wrap {
    position: relative; width: 100%; padding-bottom: 56.25%;
    border-radius: 14px; overflow: hidden; margin: 18px 0;
    background: #000; box-shadow: 0 4px 20px rgba(13,27,75,0.15);
  }
  .cp-video-wrap iframe {
    position: absolute; inset: 0; width: 100%; height: 100%;
    border: none;
  }
  .cp-video-label {
    display: flex; align-items: center; gap: 6px;
    font-size: 0.74rem; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.8px;
    margin-bottom: 8px; margin-top: 18px;
  }
  .cp-video-label::before {
    content: ''; display: block; width: 3px; height: 14px;
    background: #e8416d; border-radius: 2px;
  }
  .cp-section-divider { height: 1px; background: #eef0f8; margin: 36px 0 28px; }
  .cp-section-heading {
    font-family: 'Inter', sans-serif; font-size: 1.1rem; font-weight: 800;
    color: var(--navy); margin-bottom: 16px;
  }

  /* Organizer card */
  .cp-organizer-card {
    border: 1px solid var(--border); border-radius: 16px; padding: 20px;
    background: var(--white);
  }
  .cp-organizer-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
  .cp-organizer-avatar {
    width: 56px; height: 56px; border-radius: 50%;
    background: linear-gradient(135deg,#ffecd2,#fcb69f);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem; flex-shrink: 0;
    border: 2px solid var(--border);
  }
  .cp-organizer-name { font-weight: 700; font-size: 0.98rem; color: var(--navy); margin-bottom: 3px; }
  .cp-organizer-location { font-size: 0.78rem; color: var(--text-muted); }
  .cp-organizer-bio { font-size: 0.86rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
  .cp-msg-btn {
    display: inline-flex; align-items: center; gap: 7px;
    background: transparent; border: 1.5px solid var(--accent);
    color: var(--accent); padding: 9px 20px; border-radius: 50px;
    font-size: 0.84rem; font-weight: 700; cursor: pointer;
    transition: all 0.2s; font-family: 'Inter', sans-serif;
  }
  .cp-msg-btn:hover { background: var(--accent); color: var(--navy-deep); }

  /* ── Donors Preview ── */
  .cp-donors-preview { padding: 32px 16px 12px; }
  .cpd-row {
    display: flex; align-items: center; gap: 16px;
    padding: 20px 0; border-bottom: 1px solid #f0f2f8;
  }
  .cpd-row:last-of-type { border-bottom: none; }
  .cpd-avatar {
    width: 50px; height: 50px; border-radius: 50%; flex-shrink: 0;
    background: rgba(245,166,35,0.15); color: var(--accent);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.05rem;
  }
  .cpd-info { flex: 1; min-width: 0; }
  .cpd-name { font-weight: 700; font-size: 0.88rem; color: var(--navy); }
  .cpd-time { font-size: 0.74rem; color: var(--text-muted); margin-top: 2px; }
  .cpd-amount { font-weight: 800; font-size: 0.92rem; color: var(--accent); white-space: nowrap; }
  .cpd-hidden { color: var(--text-muted); font-weight: 700; font-size: 0.8rem; }
  .cpd-see-all {
    width: 100%; margin-top: 20px; padding: 4px;
    background: transparent; border: none;
    color: var(--accent); font-weight: 700; font-size: 0.92rem;
    font-family: 'Inter', sans-serif; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    transition: opacity 0.2s;
  }
  .cpd-see-all:hover { opacity: 0.7; }

  /* About section */
  /* ══ Campaign Page Footer ══ */
  .cp-about-section {
    background: linear-gradient(180deg, #f4f6ff 0%, #fff 60%);
    border-top: 1px solid #eef0f8;
    padding: 52px 24px 40px;
    margin-top: 16px;
  }

  .cpf-logo-wrap { text-align: center; margin-bottom: 40px; }
  .cpf-logo {
    font-family: 'Barlow', sans-serif; font-size: 1.9rem; font-weight: 900;
    color: var(--navy); letter-spacing: -0.5px;
  }
  .cpf-tagline {
    font-size: 0.75rem; font-weight: 600; color: var(--text-muted);
    letter-spacing: 1.8px; text-transform: uppercase; margin-top: 8px;
  }
  .cpf-trust-badges {
    display: flex; justify-content: center; gap: 10px; margin-top: 20px;
  }
  .cpf-badge {
    font-size: 0.72rem; font-weight: 700; padding: 7px 16px;
    background: rgba(13,27,75,0.06); border-radius: 20px;
    color: var(--navy); letter-spacing: 0.3px;
  }

  .cpf-desc {
    font-size: 0.88rem; color: var(--text-muted); line-height: 1.85;
    text-align: center; margin-bottom: 40px;
    padding: 0 6px;
  }

  .cpf-links-grid {
    display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr);
    gap: 0; margin-bottom: 40px;
    border: 1px solid #eef0f8; border-radius: 18px; overflow: hidden;
  }
  .cpf-col {
    padding: 26px 24px;
    min-width: 0;
  }
  .cpf-col:first-child { border-right: 1px solid #eef0f8; }
  .cpf-col-title {
    font-size: 0.72rem; font-weight: 800; color: var(--navy);
    text-transform: uppercase; letter-spacing: 1.4px; margin-bottom: 20px;
  }
  .cpf-col a {
    display: block; font-size: 0.92rem; color: var(--text-muted);
    text-decoration: none; margin-bottom: 16px; transition: color 0.2s;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  .cpf-col a:hover { color: var(--accent); }
  .cpf-col a:last-child { margin-bottom: 0; }

  .cpf-address {
    display: flex; align-items: flex-start; gap: 10px;
    font-size: 0.82rem; color: var(--text-muted); line-height: 1.85;
    background: #f4f6fc; border-radius: 16px; padding: 20px 22px;
    margin-bottom: 40px;
  }
  .cpf-address svg { flex-shrink: 0; margin-top: 3px; color: var(--accent); }

  .cpf-copyright {
    text-align: center; font-size: 0.76rem; color: #b0b8d0;
    padding-bottom: 24px; letter-spacing: 0.2px;
  }

  /* Footer social icons */
  .cpf-socials {
    display: flex; justify-content: center; gap: 22px;
    margin: 40px 0 36px;
  }
  .cpf-social-icon {
    width: 60px; height: 60px; border-radius: 18px;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(0,0,0,0.12);
  }
  .cpf-social-icon:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.18); }
  .cpf-soc-fb { background: #1877f2; }
  .cpf-soc-x  { background: #000; }
  .cpf-soc-ig { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }

  /* Social icons */
  .cp-social-row {
    display: flex; justify-content: center; gap: 14px;
    padding: 20px 0 16px;
    border-top: 1px solid #eef0f8;
  }
  .cp-social-btn {
    width: 44px; height: 44px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; text-decoration: none; transition: transform 0.2s;
    cursor: pointer;
  }
  .cp-social-btn:hover { transform: scale(1.1); }
  .cp-social-fb { background: #1877f2; }
  .cp-social-x  { background: #000; }
  .cp-social-ig  { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
  .cp-social-qr  { background: linear-gradient(135deg,#f5a623,#e8416d); border:none; }

  /* ── Share Popup ── */
  .share-popup {
    display: none;
    position: fixed; bottom: 76px; left: 0; right: 0; z-index: 1200;
    padding: 0 12px;
  }
  .share-popup.open { display: block; animation: slideUp 0.25s cubic-bezier(0.32,0.72,0,1); }
  .share-popup-inner {
    background: #fff;
    border-radius: 22px;
    padding: 16px 16px 20px;
    box-shadow: 0 -4px 40px rgba(13,27,75,0.15), 0 0 0 1px rgba(13,27,75,0.06);
  }
  .share-popup-btns {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  }
  .share-pop-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px; padding: 12px 6px; border-radius: 16px; border: none;
    background: transparent;
    cursor: pointer; transition: transform 0.18s, background 0.18s;
    font-family: 'Inter', sans-serif; -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
  .share-pop-btn:hover, .share-pop-btn:active { transform: scale(0.95); background: #f4f6fc; }
  /* light icon circle */
  .spi-circle {
    width: 54px; height: 54px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.18s;
  }
  .share-pop-btn:hover .spi-circle { transform: scale(1.08); }
  .spi-lbl {
    font-size: 0.7rem; font-weight: 700; color: var(--navy); letter-spacing: 0.1px;
  }

  /* ── OG Preview Sheet ── */
  .og-preview-sheet {
    display: none;
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 1300;
    background: #fff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -8px 48px rgba(13,27,75,0.18);
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.35s cubic-bezier(0.32,0.72,0,1);
  }
  .og-preview-sheet.open { display: block; transform: translateY(0); }
  .og-preview-backdrop {
    display: none;
    position: fixed; inset: 0; z-index: 1250;
    background: rgba(6,14,46,0.45);
    backdrop-filter: blur(3px);
  }
  .og-preview-backdrop.open { display: block; }
  .ogp-handle { width:40px;height:4px;background:#e0e4f0;border-radius:2px;margin:14px auto 0; }
  .ogp-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 18px 10px;
    border-bottom: 1px solid #f0f2f8;
  }
  .ogp-title { font-size:0.92rem; font-weight:800; color:var(--navy); display:flex; align-items:center; gap:8px; }
  .ogp-plat-badge {
    font-size:0.65rem; font-weight:800; padding:3px 10px; border-radius:20px;
    letter-spacing:0.04em;
  }
  .ogp-close {
    width:30px; height:30px; border-radius:50%; border:none;
    background:#f0f2f8; cursor:pointer; font-size:13px; color:var(--navy);
    display:flex; align-items:center; justify-content:center;
  }
  .ogp-body { padding: 16px 18px 24px; }
  .ogp-label { font-size:0.72rem; font-weight:700; color:var(--text-muted); margin-bottom:10px; letter-spacing:0.05em; }

  /* Campaign OG Card horizontal */
  .ogp-camp-card {
    border-radius: 12px; overflow: hidden;
    border: 1px solid #e4e6ea;
    margin-bottom: 16px; cursor: default;
  }
  .ogp-camp-image {
    width:100%; aspect-ratio:1.91/1;
    background: var(--navy-deep);
    position: relative; overflow:hidden;
  }
  .ogp-camp-img-inner {
    position:absolute; inset:0;
    background: linear-gradient(135deg, #0d1b4b 0%, #1a2f7a 50%, #0a1540 100%);
    display:flex; align-items:center; padding:16px; gap:14px;
  }
  .ogp-camp-left { flex:1; display:flex; flex-direction:column; gap:6px; min-width:0; }
  .ogp-camp-logo { font-family:'Barlow',sans-serif; font-size:0.62rem; font-weight:900; color:rgba(255,255,255,0.35); letter-spacing:0.07em; }
  .ogp-camp-title { font-family:'Barlow',sans-serif; font-weight:800; font-size:clamp(0.82rem,2.2vw,1.1rem); color:#fff; line-height:1.2; }
  .ogp-camp-pct { font-family:'Barlow',sans-serif; font-size:clamp(1.5rem,4vw,2.2rem); font-weight:900; color:var(--accent); line-height:1; }
  .ogp-camp-pct-lbl { font-size:0.6rem; color:rgba(255,255,255,0.5); font-weight:600; }
  .ogp-bar { width:100%; height:4px; background:rgba(255,255,255,0.15); border-radius:2px; overflow:hidden; margin:4px 0; }
  .ogp-bar-fill { height:100%; border-radius:2px; background:var(--accent); }
  .ogp-mini-stats { display:flex; gap:10px; }
  .ogp-mini-stat { font-size:0.6rem; color:rgba(255,255,255,0.6); font-weight:600; }
  .ogp-mini-stat b { color:var(--teal); }
  .ogp-camp-right { width:70px; flex-shrink:0; display:flex; align-items:center; justify-content:center; }
  .ogp-meta { background:#f0f2f5; padding:8px 12px; }
  .ogp-meta-site { font-size:10px; color:#65676b; text-transform:uppercase; letter-spacing:0.05em; margin-bottom:1px; }
  .ogp-meta-title { font-size:12px; font-weight:700; color:#1c1e21; margin-bottom:1px; }
  .ogp-meta-desc { font-size:11px; color:#65676b; }

  /* Reel OG Card vertical */
  .ogp-reel-wrap { display:flex; justify-content:center; margin-bottom:16px; }
  .ogp-reel-card {
    width: 160px;
    border-radius: 14px; overflow:hidden;
    border: 1px solid #e4e6ea; cursor:default;
  }
  .ogp-reel-image {
    width:100%; aspect-ratio:9/16;
    background:var(--navy-deep); position:relative; overflow:hidden;
  }
  .ogp-reel-inner {
    position:absolute; inset:0;
    background:linear-gradient(180deg,#060e2e 0%,#0d1b4b 45%,#0a1640 100%);
    display:flex; flex-direction:column; padding:10px;
  }
  .ogp-reel-top { display:flex; justify-content:space-between; align-items:flex-start; margin-bottom:6px; }
  .ogp-reel-logo { font-family:'Barlow',sans-serif; font-size:0.52rem; font-weight:900; color:rgba(255,255,255,0.3); letter-spacing:0.06em; }
  .ogp-reel-badge { background:var(--pink); color:#fff; font-size:0.5rem; font-weight:800; padding:2px 6px; border-radius:8px; }
  .ogp-reel-title { font-family:'Barlow',sans-serif; font-weight:800; font-size:0.72rem; color:#fff; line-height:1.25; flex:1; display:flex; align-items:center; margin-bottom:8px; }
  .ogp-reel-center { display:flex; flex-direction:column; align-items:center; margin-bottom:8px; }
  .ogp-reel-donut { position:relative; width:64px; height:64px; margin-bottom:4px; }
  .ogp-reel-donut-inner { position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center; }
  .ogp-reel-pct { font-family:'Barlow',sans-serif; font-size:1rem; font-weight:900; color:#fff; line-height:1; }
  .ogp-reel-pct-lbl { font-size:0.45rem; color:rgba(255,255,255,0.5); font-weight:700; }
  .ogp-reel-bar { width:100%; height:3px; background:rgba(255,255,255,0.12); border-radius:2px; overflow:hidden; margin-bottom:5px; }
  .ogp-reel-bar-fill { height:100%; border-radius:2px; background:var(--accent); }
  .ogp-reel-stats { display:flex; justify-content:space-between; margin-bottom:7px; }
  .ogp-reel-stat { display:flex; flex-direction:column; align-items:center; gap:1px; }
  .ogp-reel-stat-val { font-size:0.58rem; font-weight:800; color:var(--teal); font-family:'Barlow',sans-serif; }
  .ogp-reel-stat-lbl { font-size:0.42rem; color:rgba(255,255,255,0.45); font-weight:600; }
  .ogp-reel-urgency { font-size:0.52rem; font-weight:800; color:var(--pink); }
  .ogp-reel-cta { background:var(--accent); color:var(--navy-deep); text-align:center; padding:5px; font-size:0.6rem; font-weight:900; font-family:'Barlow',sans-serif; }
  .ogp-reel-meta { background:#f0f2f5; padding:6px 8px; }
  .ogp-reel-meta-site { font-size:9px; color:#65676b; text-transform:uppercase; letter-spacing:0.04em; margin-bottom:1px; }
  .ogp-reel-meta-title { font-size:10px; font-weight:700; color:#1c1e21; line-height:1.2; margin-bottom:1px; }
  .ogp-reel-meta-desc { font-size:9px; color:#65676b; }

  /* Share now button */
  .ogp-share-btn {
    width:100%; padding:14px; border:none; border-radius:50px;
    font-size:0.92rem; font-weight:800; cursor:pointer;
    font-family:'Inter',sans-serif;
    transition: transform 0.2s, box-shadow 0.2s;
    display:flex; align-items:center; justify-content:center; gap:8px;
  }
  .ogp-share-btn:hover { transform:translateY(-2px); }
  .ogp-back-btn {
    width:100%; padding:11px; border:1.5px solid var(--border);
    border-radius:50px; background:transparent;
    font-size:0.85rem; font-weight:600; color:var(--text-muted);
    cursor:pointer; margin-top:8px; font-family:'Inter',sans-serif;
  }
  .ogp-back-btn:hover { border-color:var(--navy); color:var(--navy); }

  /* Share button preview icons */
  .btn-share-icons { display:flex; align-items:center; gap:3px; }
  .bsi-qr {
    width:30px; height:30px; border-radius:8px;
    background:linear-gradient(135deg,#f5a623,#e8416d);
    display:flex; align-items:center; justify-content:center;
  }
  .bsi-icon {
    width:22px; height:22px; border-radius:6px;
    display:flex; align-items:center; justify-content:center;
  }
  .bsi-fb { background:#1877f2; }
  .bsi-x  { background:#000; }

  /* QR big in popup */
  .share-pop-qr-big {
    grid-column: span 1;
    padding: 14px 6px;
  }
  .share-pop-qr-big svg { width:26px; height:26px; }

  /* ── QR Modal ── */
  .qr-modal-box {
    background: #fff;
    border-radius: 24px;
    width: 100%; max-width: 340px;
    margin: 16px;
    padding: 24px;
    box-shadow: 0 32px 80px rgba(6,14,46,0.25);
    display: flex; flex-direction: column; align-items: center; gap: 16px;
  }
  .qr-modal-header {
    display: flex; align-items: flex-start; justify-content: space-between;
    width: 100%;
  }
  .qr-modal-title { font-size: 1rem; font-weight: 800; color: var(--navy); }
  .qr-modal-sub   { font-size: 0.76rem; color: var(--text-muted); margin-top: 2px; }
  .qr-modal-close {
    background: #f0f2f8; border: none; border-radius: 8px;
    width: 30px; height: 30px; cursor: pointer; font-size: 0.8rem;
    color: var(--navy); font-weight: 700; flex-shrink: 0;
  }
  .qr-modal-close:hover { background: #e8ecf8; }
  .qr-canvas-wrap {
    background: #fffdf5;
    border-radius: 16px;
    padding: 12px;
    border: 1.5px solid rgba(245,166,35,0.2);
    box-shadow: 0 4px 20px rgba(245,166,35,0.1);
  }
  .qr-canvas-wrap canvas { display: block; border-radius: 10px; }
  .qr-camp-name {
    font-size: 0.88rem; font-weight: 800; color: var(--navy);
    text-align: center; line-height: 1.3;
  }
  .qr-camp-url {
    font-size: 0.72rem; color: rgba(245,166,35,0.8);
    text-align: center; direction: ltr;
  }
  .qr-size-row { display: flex; gap: 8px; width: 100%; }
  .qr-size-btn {
    flex: 1; padding: 8px 6px; border-radius: 10px; border: 1.5px solid #e8ecf8;
    background: transparent; color: var(--text-muted); font-size: 0.72rem;
    font-family: 'Inter', sans-serif; cursor: pointer; text-align: center;
    transition: all 0.2s; line-height: 1.4;
  }
  .qr-size-btn span { font-size: 0.65rem; opacity: 0.6; }
  .qr-size-btn.active, .qr-size-btn:hover {
    border-color: rgba(245,166,35,0.5);
    background: rgba(245,166,35,0.07);
    color: #c47a00;
  }
  .qr-actions-row { display: flex; gap: 8px; width: 100%; }
  .qr-btn-dl {
    flex: 1; padding: 11px; border: none; border-radius: 11px;
    background: linear-gradient(135deg,#f5a623,#e8416d);
    color: #fff; font-size: 0.82rem; font-weight: 700;
    font-family: 'Inter', sans-serif; cursor: pointer;
    display: flex; align-items: center; justify-content: center; gap: 6px;
    transition: opacity 0.2s;
  }
  .qr-btn-dl:hover { opacity: 0.9; }
  .qr-btn-print {
    width: 44px; height: 44px; border: 1.5px solid #e8ecf8;
    border-radius: 11px; background: transparent; font-size: 1rem;
    cursor: pointer; transition: background 0.2s;
  }
  .qr-btn-print:hover { background: #f0f2f8; }

  /* Copyright */
  .cp-copyright {
    text-align: center; font-size: 0.76rem; color: var(--text-muted);
    padding-bottom: 16px; line-height: 1.6;
  }
  .modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 600;
    background: rgba(6,14,46,0.7); backdrop-filter: blur(4px);
    align-items: flex-start; justify-content: center;
    overflow-y: auto;
    padding: 16px 0 32px;
  }
  .modal-overlay.active { display: flex; }

  .modal {
    background: var(--white); border-radius: 24px; width: 100%; max-width: 480px;
    padding: 28px 24px 24px; margin: 16px;
    position: relative;
    box-shadow: 0 32px 80px rgba(6,14,46,0.3);
    animation: modalIn 0.35s cubic-bezier(0.34,1.56,0.64,1) both;
  }
  @keyframes modalIn { from { opacity:0; transform:scale(0.88) translateY(20px); } to { opacity:1; transform:scale(1) translateY(0); } }

  .modal-close {
    position: absolute; top: 16px; right: 16px;
    background: var(--light); border: none; width: 32px; height: 32px;
    border-radius: 50%; cursor: pointer; font-size: 1rem; color: var(--navy);
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s;
  }
  .modal-close:hover { background: #e6eaf5; }

  /* Step indicator */
  .modal-steps { display: flex; gap: 6px; margin-bottom: 28px; }
  .modal-step-dot {
    height: 4px; border-radius: 2px; flex: 1;
    background: #e6eaf5; transition: background 0.3s;
  }
  .modal-step-dot.done { background: var(--teal); }
  .modal-step-dot.active { background: var(--accent); }

  .modal-title { font-family: 'Barlow', sans-serif; font-size: 1.3rem; font-weight: 900; color: var(--navy); margin-bottom: 6px; }
  .modal-subtitle { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 24px; }

  /* Amount buttons */
  .amount-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin-bottom: 14px; }
  .amount-btn {
    padding: 12px 8px; border: 1.5px solid var(--border); border-radius: 12px;
    background: var(--white); font-family: 'Barlow', sans-serif; font-size: 1rem; font-weight: 900;
    color: var(--navy); cursor: pointer; transition: all 0.2s; text-align: center;
  }
  .amount-btn:hover, .amount-btn.selected { border-color: var(--accent); background: rgba(245,166,35,0.08); color: var(--navy); }

  .amount-custom { width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: 12px; font-size: 0.95rem; font-family: 'Inter', sans-serif; color: var(--navy); outline: none; transition: border-color 0.2s; }
  .amount-custom:focus { border-color: var(--accent); }

  /* Fee breakdown */
  .fee-box { background: var(--light); border-radius: 12px; padding: 14px 16px; margin: 14px 0; font-size: 0.85rem; }
  .fee-row { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--text-muted); }
  .fee-row:last-child { margin-bottom: 0; padding-top: 8px; border-top: 1px solid var(--border); font-weight: 700; color: var(--navy); }

  /* Payment methods */
  .payment-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-bottom: 20px; }
  .payment-btn {
    padding: 14px 10px; border: 1.5px solid var(--border); border-radius: 12px;
    background: var(--white); cursor: pointer; transition: all 0.2s;
    text-align: center; font-size: 0.78rem; font-weight: 600; color: var(--navy);
    display: flex; flex-direction: column; align-items: center; gap: 3px;
  }
  .payment-btn:hover, .payment-btn.selected { border-color: var(--teal); background: rgba(0,201,177,0.06); }
  .payment-icon { font-size: 1.5rem; display: block; margin-bottom: 5px; }

  /* Form fields */
  .form-group { margin-bottom: 14px; }
  .form-label { font-size: 0.8rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; display: block; }
  .form-input { width: 100%; padding: 11px 14px; border: 1.5px solid var(--border); border-radius: 10px; font-size: 0.9rem; font-family: 'Inter', sans-serif; color: var(--navy); outline: none; transition: border-color 0.2s; }
  .form-input:focus { border-color: var(--navy); }

  .checkbox-row { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; cursor: pointer; }
  .checkbox-row input { width: 16px; height: 16px; accent-color: var(--navy); cursor: pointer; }
  .checkbox-row span { font-size: 0.84rem; color: var(--text-muted); }

  .btn-next {
    width: 100%; background: var(--navy); color: #fff; padding: 15px;
    border-radius: 12px; font-size: 0.95rem; font-weight: 700; border: none;
    cursor: pointer; transition: all 0.25s; font-family: 'Inter', sans-serif;
    margin-top: 4px;
  }
  .btn-next:hover { background: var(--accent); color: var(--navy-deep); }

  .modal-step { display: none; }
  .modal-step.active { display: block; }

  /* Edit Campaign */
  .edit-section-label {
    font-size: 0.82rem; font-weight: 800; color: var(--navy);
    margin-bottom: 8px; margin-top: 4px;
    display: flex; align-items: center; gap: 6px;
  }
  .edit-locked-card {
    background: #f8f9fc; border: 1.5px solid #eef0f8;
    border-radius: 14px; padding: 14px 16px; margin-bottom: 12px;
  }
  .edit-locked-top {
    display: flex; align-items: center; gap: 12px; margin-bottom: 8px;
  }
  .edit-locked-icon { font-size: 1.3rem; }
  .edit-locked-label {
    font-size: 0.74rem; font-weight: 700; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 3px;
  }
  .edit-locked-value { font-size: 0.92rem; font-weight: 700; color: var(--navy); }
  .edit-locked-note {
    font-size: 0.76rem; color: #e8416d; font-weight: 600;
    padding: 6px 10px; background: rgba(232,65,109,0.06);
    border-radius: 8px; border-left: 3px solid #e8416d;
  }
  .update-preview-row {
    padding: 14px 20px; border-bottom: 1px solid #eef0f8;
    transition: background 0.15s;
  }
  .update-preview-row:hover { background: var(--light); }
  .update-preview-date { font-size: 0.74rem; color: var(--text-muted); margin-bottom: 4px; }
  .update-preview-title { font-weight: 700; font-size: 0.9rem; color: var(--navy); margin-bottom: 4px; }
  .update-preview-text { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dashboard-page {
    display: none; position: fixed; inset: 0; z-index: 500;
    background: var(--light); overflow-y: auto;
  }
  .dashboard-page.active { display: block; }

  /* Nav Search Button */
  .nav-search-btn {
    width: 36px; height: 36px; border-radius: 50%;
    background: var(--light); border: 1.5px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer; margin-left: 6px; color: var(--navy);
    transition: all 0.2s; flex-shrink: 0;
  }
  .nav-search-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

  /* ─── SEARCH PAGE ─── */
  .search-page { display: none; position: fixed; inset: 0; z-index: 500; background: var(--light); overflow-y: auto; }
  #reelSearchPage input::placeholder { color: rgba(255,255,255,0.35); }
  #reelSearchPage .search-input-wrap:focus-within { border-color: rgba(232,65,109,0.6) !important; background: rgba(255,255,255,0.1) !important; }
  #reelSearchPage .filter-chip.active { background: linear-gradient(135deg,#e8416d,#a18cd1) !important; border-color: transparent !important; color: #fff !important; }
  .search-page.active { display: block; }

  .search-topbar {
    position: sticky; top: 0; z-index: 10;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 5%; display: flex; align-items: center; gap: 12px;
  }
  .search-input-wrap {
    flex: 1; display: flex; align-items: center; gap: 10px;
    background: var(--light); border: 1.5px solid var(--border);
    border-radius: 50px; padding: 10px 16px; transition: all 0.2s;
  }
  .search-input-wrap:focus-within { border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgba(0,201,177,0.1); }
  .search-input-wrap input {
    border: none; background: transparent; outline: none;
    font-size: 0.92rem; color: var(--navy); width: 100%;
    font-family: 'Inter', sans-serif;
  }
  .search-input-wrap svg { color: var(--text-muted); flex-shrink: 0; }

  /* Filters bar */
  .search-filters-bar {
    background: var(--white); border-bottom: 1px solid var(--border);
    padding: 12px 5%; display: flex; gap: 8px; overflow-x: auto;
    scrollbar-width: none; position: sticky; top: 65px; z-index: 9;
  }
  .search-filters-bar::-webkit-scrollbar { display: none; }
  .filter-chip {
    display: flex; align-items: center; gap: 6px; white-space: nowrap;
    padding: 7px 14px; border-radius: 50px; border: 1.5px solid var(--border);
    background: var(--white); font-size: 0.78rem; font-weight: 600;
    color: var(--navy); cursor: pointer; transition: all 0.2s;
    font-family: 'Inter', sans-serif;
  }
  .filter-chip:hover { border-color: var(--teal); color: var(--teal); }
  .filter-chip.active { background: var(--navy); color: #fff; border-color: var(--navy); }
  .filter-chip .chip-arrow { font-size: 0.65rem; opacity: 0.7; }

  /* Filter dropdown */
  .filter-dropdown {
    display: none; position: fixed; z-index: 600;
    background: var(--white); border: 1.5px solid var(--border);
    border-radius: 16px; padding: 8px; min-width: 200px;
    box-shadow: 0 8px 40px rgba(13,27,75,0.15);
  }
  .filter-dropdown.open { display: block; }
  .filter-option {
    padding: 10px 14px; border-radius: 10px; cursor: pointer;
    font-size: 0.84rem; font-weight: 600; color: var(--navy);
    transition: background 0.15s; display: flex; align-items: center; gap: 8px;
  }
  .filter-option:hover { background: var(--light); }
  .filter-option.selected { background: rgba(0,201,177,0.08); color: var(--teal); }
  .filter-option.selected::after { content: '✓'; margin-left: auto; font-weight: 900; }

  /* Search results */
  .search-content { max-width: 720px; margin: 0 auto; padding: 20px 5% 100px; }
  .search-results-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 16px;
  }
  .search-results-count { font-size: 0.84rem; color: var(--text-muted); font-weight: 600; }
  .search-results-count strong { color: var(--navy); }

  /* Search campaign card */
  /* Search Results — Full Width Cards */
  #searchResults { padding: 4px 0; }

  .search-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 20px; overflow: hidden;
    cursor: pointer; transition: all 0.25s;
    display: flex; flex-direction: column;
    box-shadow: 0 2px 12px rgba(13,27,75,0.06);
    margin-bottom: 16px;
  }
  .search-card:hover { box-shadow: 0 10px 32px rgba(13,27,75,0.12); transform: translateY(-3px); }
  .search-card-media {
    height: 200px; display: flex; align-items: center;
    justify-content: center; font-size: 5rem; position: relative;
  }
  .search-card-body { padding: 18px; }
  .search-card-tags { display: flex; gap: 6px; margin-bottom: 10px; flex-wrap: wrap; align-items: center; }
  .search-card-cat { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: var(--teal); background:rgba(0,201,177,0.08); padding:4px 10px; border-radius:20px; border:1px solid rgba(0,201,177,0.2); }
  .search-card-title { font-size: 1.1rem; font-weight: 800; color: var(--navy); margin-bottom: 6px; line-height: 1.4; }
  .search-card-desc { font-size: 0.82rem; color: #666; margin-bottom: 12px; line-height: 1.55; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
  .search-card-goal { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 4px; }
  .search-card-raised { font-size: 1.15rem; font-weight: 900; color: var(--navy); }
  .search-card-progress { height: 8px; background: #eef0f8; border-radius: 50px; margin: 10px 0; }
  .search-card-fill { height: 100%; border-radius: 50px; background: linear-gradient(90deg, var(--teal), #00e4c9); }
  .search-card-meta { display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: var(--text-muted); font-weight: 600; margin-bottom: 14px; }
  .search-card-pct { font-size: 1rem; font-weight: 900; color: var(--teal); }

  /* Donate button inside search card */
  .search-card-donate {
    width: 100%; padding: 14px;
    background: #f5a623; color: #0d1b4b;
    border: none; border-radius: 14px;
    font-size: 0.95rem; font-weight: 800;
    cursor: pointer; font-family: 'Inter', sans-serif;
    transition: all 0.2s; letter-spacing: 0.2px;
  }
  .search-card-donate:hover { background: #e8950f; transform: translateY(-1px); }

  /* No results */
  .search-no-results { text-align: center; padding: 60px 20px; color: var(--text-muted); }
  .search-no-results div:first-child { font-size: 3rem; margin-bottom: 12px; }
  .search-no-results strong { display: block; font-size: 1rem; color: var(--navy); margin-bottom: 6px; }

  @keyframes slideUp { from { transform:translateY(100%); opacity:0; } to { transform:translateY(0); opacity:1; } }

  /* ─── ADMIN PANEL ─── */
  .admin-page { display:none; position:fixed; inset:0; z-index:700; background:#f4f6f9; overflow-y:auto; }
  .admin-page.active { display:flex; flex-direction:column; min-height:100vh; }

  /* Sidebar + layout */
  .admin-layout { display:flex; flex:1; min-height:calc(100vh - 0px); }
  #adminSections { flex:1; display:flex; flex-direction:column; min-height:100vh; height:100%; }
  #adminSections .admin-layout { flex:1; min-height:calc(100vh - 50px); }
  .admin-sidebar {
    width:230px; flex-shrink:0; background:var(--navy);
    display:flex; flex-direction:column; position:sticky; top:0; height:100vh;
    overflow-y:auto;
  }
  .admin-sidebar-logo { padding:20px 20px 10px; border-bottom:1px solid rgba(255,255,255,0.08); }
  .admin-sidebar-logo .logo { font-size:1.1rem; color:#fff; }
  .admin-sidebar-logo p { font-size:0.72rem; color:rgba(255,255,255,0.4); margin-top:2px; }
  .admin-nav { padding:12px 0; flex:1; }
  .admin-nav-item {
    display:flex; align-items:center; gap:10px;
    padding:11px 20px; color:rgba(255,255,255,0.6);
    font-size:0.84rem; font-weight:600; cursor:pointer;
    transition:all 0.2s; border-left:3px solid transparent;
    font-family:'Inter',sans-serif;
  }
  .admin-sidebar .admin-nav-item { text-decoration:none; border-bottom:none; }
  .admin-sidebar .admin-nav-item:hover { text-decoration:none; }
  .admin-nav-item:hover { background:rgba(255,255,255,0.06); color:#fff; }
  .admin-nav-item.active { background:rgba(0,201,177,0.12); color:var(--teal); border-left-color:var(--teal); }
  .admin-nav-item .nav-icon { font-size:1rem; width:20px; text-align:center; }
  .admin-sidebar-footer { padding:14px 20px; border-top:1px solid rgba(255,255,255,0.08); }

  /* Main area */
  .admin-main { flex:1; overflow-y:auto; padding:24px; min-width:0; min-height:0; box-sizing:border-box; }
  .admin-topbar {
    display:flex; align-items:center; justify-content:space-between;
    margin-bottom:24px; flex-wrap:wrap; gap:12px;
  }
  .admin-page-title { font-size:1.3rem; font-weight:900; color:var(--navy); }
  .admin-badge { background:rgba(232,65,109,0.1); color:#e8416d; font-size:0.72rem; font-weight:800; padding:3px 10px; border-radius:50px; margin-left:8px; }

  /* Stat cards */
  .admin-stats-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; margin-bottom:24px; }
  .admin-stat-card {
    background:#fff; border-radius:16px; padding:18px;
    border:1px solid #e8ecf8; transition:all 0.2s;
  }
  .admin-stat-card:hover { box-shadow:0 4px 20px rgba(13,27,75,0.08); transform:translateY(-2px); }
  .admin-stat-clickable { cursor:pointer; position:relative; }
  .admin-stat-clickable:hover { box-shadow:0 6px 24px rgba(0,201,177,0.18); transform:translateY(-3px); border-color:var(--teal) !important; }
  .admin-stat-clickable:active { transform:translateY(-1px); }
  .stat-card-hint { font-size:0.68rem; color:var(--teal); font-weight:700; margin-top:6px; opacity:0; transition:opacity 0.2s; }
  .admin-stat-clickable:hover .stat-card-hint { opacity:1; }
  /* ── Dark Mode ── */
  body.dark-mode { --navy:#e8ecff; --navy-deep:#f0f4ff; --teal:#00e5c4; --accent:#ffb347; --text-muted:#9aa5c0; background:#0f1525 !important; color:#e8ecff; }
  body.dark-mode .admin-sidebar { background:#0a1020 !important; }
  body.dark-mode .admin-main { background:#0f1525 !important; }
  body.dark-mode .admin-card { background:#1a2235 !important; border-color:#2a3650 !important; }
  body.dark-mode .admin-table th { background:#1a2235 !important; color:#9aa5c0 !important; }
  body.dark-mode .admin-table td { border-color:#2a3650 !important; color:#e8ecff; }
  body.dark-mode .admin-table tr:hover td { background:#212e45 !important; }
  body.dark-mode .admin-stat-card { background:#1a2235 !important; border-color:#2a3650 !important; }
  body.dark-mode .admin-select { background:#1a2235 !important; color:#e8ecff !important; border-color:#2a3650 !important; }
  body.dark-mode .admin-search { background:#1a2235 !important; border-color:#2a3650 !important; }
  body.dark-mode .admin-search input { background:transparent !important; color:#e8ecff !important; }
  body.dark-mode .admin-topbar { background:#0f1525 !important; }
  body.dark-mode input, body.dark-mode textarea, body.dark-mode select { background:#1a2235 !important; color:#e8ecff !important; border-color:#2a3650 !important; }
  body.dark-mode .admin-nav-item { color:#9aa5c0 !important; }
  body.dark-mode .admin-nav-item:hover, body.dark-mode .admin-nav-item.active { background:rgba(255,255,255,0.07) !important; color:#fff !important; }
  body.dark-mode #adminHome { background:#0f1525 !important; }
  body.dark-mode [style*="background:#fff"], body.dark-mode [style*="background: #fff"] { background:#1a2235 !important; }
  body.dark-mode [style*="background:#f0f2f8"], body.dark-mode [style*="background:#f8f9ff"] { background:#1a2235 !important; }
  body.dark-mode [style*="background:#f5f5f8"] { background:#1a2235 !important; }
  body.dark-mode .admin-page-title { color:#e8ecff !important; }
  body.dark-mode .admin-stat-num { color:#e8ecff !important; }
  body.dark-mode #adminNotifDropdown { background:#1a2235 !important; }
  body.dark-mode [onclick*="adminEditModal"], body.dark-mode [id*="Modal"] > div { background:#1a2235 !important; }
  /* Dark mode print still light */
  @media print { body.dark-mode { background:#fff !important; color:#000 !important; } }

  .admin-camp-link { color:var(--teal); font-weight:700; cursor:pointer; text-decoration:underline; transition:color 0.15s; }
  .admin-camp-link:hover { color:var(--navy); }
  .chart-bar-wrap { flex:1; display:flex; flex-direction:column; align-items:center; gap:4px; cursor:pointer; position:relative; }
  .chart-bar { width:100%; border-radius:6px 6px 0 0; transition:opacity 0.15s, transform 0.15s; }
  .chart-bar-wrap:hover .chart-bar { opacity:0.75; transform:scaleY(1.04); transform-origin:bottom; }
  .chart-label { font-size:0.62rem; color:var(--text-muted); font-weight:600; }
  .admin-stat-icon { font-size:1.6rem; margin-bottom:8px; }
  .admin-stat-num { font-size:1.6rem; font-weight:900; color:var(--navy); line-height:1; }
  .admin-stat-label { font-size:0.76rem; color:var(--text-muted); font-weight:600; margin-top:4px; }
  .admin-stat-change { font-size:0.72rem; font-weight:700; margin-top:6px; }
  .change-up { color:#00b87c; }
  .change-down { color:#e8416d; }

  /* Tables */
  .admin-card { background:#fff; border-radius:16px; border:1px solid #e8ecf8; overflow:hidden; margin-bottom:20px; }
  .admin-card-header { padding:16px 20px; border-bottom:1px solid #f0f2f8; display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; }
  .admin-card-title { font-size:0.96rem; font-weight:800; color:var(--navy); }
  .admin-table { width:100%; border-collapse:collapse; }
  .admin-table th { padding:12px 16px; text-align:left; font-size:0.72rem; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; color:var(--text-muted); background:#f8f9ff; border-bottom:1px solid #f0f2f8; }
  .admin-table td { padding:13px 16px; font-size:0.84rem; color:var(--navy); border-bottom:1px solid #f8f9ff; vertical-align:middle; }
  .admin-table tr:last-child td { border-bottom:none; }
  .admin-table tr:hover td { background:#fafbff; }

  /* Status badges */
  .status-badge { display:inline-flex; align-items:center; gap:4px; padding:3px 10px; border-radius:50px; font-size:0.72rem; font-weight:700; }
  .badge-live { background:rgba(0,201,177,0.1); color:var(--teal); }
  .badge-pending { background:rgba(245,166,35,0.1); color:var(--accent); }
  .badge-stopped { background:rgba(232,65,109,0.1); color:#e8416d; }
  .badge-completed { background:rgba(13,27,75,0.07); color:var(--navy); }
  .badge-paid { background:rgba(0,184,124,0.1); color:#00b87c; }

  /* Action buttons */
  .btn-admin { padding:6px 12px; border-radius:8px; font-size:0.76rem; font-weight:700; cursor:pointer; border:none; font-family:'Inter',sans-serif; transition:all 0.2s; text-decoration:none; }
  .btn-admin:hover, .btn-admin:focus, .btn-admin:active, .btn-admin:visited { text-decoration:none; }
  .btn-admin-stop { background:rgba(232,65,109,0.1); color:#e8416d; }
  .btn-admin-stop:hover { background:#e8416d; color:#fff; }
  .btn-admin-view { background:rgba(13,27,75,0.07); color:var(--navy); }
  .btn-admin-view:hover { background:var(--navy); color:#fff; }
  .btn-admin-restore { background:rgba(0,201,177,0.1); color:var(--teal); }
  .btn-admin-restore:hover { background:var(--teal); color:#fff; }

  /* Search & filter row */
  .admin-filter-row { display:flex; gap:10px; flex-wrap:wrap; }
  .admin-search { display:flex; align-items:center; gap:8px; background:#f0f2f8; border-radius:10px; padding:8px 14px; flex:1; min-width:160px; }
  .admin-search input { border:none; background:transparent; outline:none; font-size:0.84rem; color:var(--navy); font-family:'Inter',sans-serif; width:100%; }
  .admin-select { padding:8px 14px; border:1.5px solid #e8ecf8; border-radius:10px; font-size:0.82rem; font-family:'Inter',sans-serif; color:var(--navy); background:#fff; outline:none; cursor:pointer; }

  /* Mobile admin */
  @media (max-width: 768px) {
    .admin-sidebar { display:none; }
    .admin-stats-grid { grid-template-columns:repeat(2,1fr); }
    .admin-main { padding:16px; }
  }

  .admin-home-btn {
    background: rgba(255,255,255,0.06); border: 1.5px solid rgba(255,255,255,0.1);
    border-radius: 20px; padding: 24px 16px; cursor: pointer;
    transition: all 0.2s; text-align: center;
  }
  .admin-home-btn:hover { background: rgba(0,201,177,0.12); border-color: var(--teal); transform: translateY(-2px); }
  .admin-home-icon { font-size: 2.4rem; margin-bottom: 10px; }
  .admin-home-label { font-size: 1rem; font-weight: 800; color: #fff; margin-bottom: 4px; }
  .admin-home-sub { font-size: 0.76rem; color: rgba(255,255,255,0.45); font-weight: 500; }

  .gallery-item { cursor:pointer; }
  .gallery-overlay {
    position:absolute;inset:0;background:rgba(13,27,75,0.55);
    display:none;align-items:center;justify-content:center;
  }
  .gallery-item:hover .gallery-overlay { display:flex; }
  .gallery-del-btn {
    background:rgba(232,65,109,0.9);border:none;border-radius:8px;
    padding:8px 12px;font-size:1rem;cursor:pointer;
    transition:transform 0.15s;
  }
  .gallery-del-btn:hover { transform:scale(1.1); }

  /* ─── AUTH PAGE ─── */
  .auth-page { display:none; position:fixed; inset:0; z-index:600; background:var(--white); overflow-y:auto; }
  .auth-page.active { display:block; }
  .auth-topbar { position:sticky; top:0; z-index:10; background:rgba(255,255,255,0.97); backdrop-filter:blur(14px); border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; padding:14px 5%; }
  .auth-inner { max-width:460px; margin:0 auto; padding:32px 5% 80px; }
  .auth-logo { text-align:center; margin-bottom:28px; }
  .auth-logo .logo { font-size:1.6rem; }
  .auth-logo p { font-size:0.84rem; color:var(--text-muted); margin-top:6px; }
  .auth-tabs { display:grid; grid-template-columns:1fr 1fr; background:var(--light); border-radius:14px; padding:4px; margin-bottom:28px; gap:4px; }
  .auth-tab { padding:11px; border:none; border-radius:10px; font-size:0.9rem; font-weight:700; cursor:pointer; transition:all 0.2s; font-family:'Inter',sans-serif; color:var(--text-muted); background:transparent; }
  .auth-tab.active { background:var(--white); color:var(--navy); box-shadow:0 2px 8px rgba(13,27,75,0.1); }

  /* Social buttons */
  .auth-social-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:20px; }
  .auth-social-btn { display:flex; align-items:center; justify-content:center; gap:8px; padding:12px; border:1.5px solid var(--border); border-radius:12px; background:var(--white); cursor:pointer; font-size:0.84rem; font-weight:700; color:var(--navy); transition:all 0.2s; font-family:'Inter',sans-serif; text-decoration:none; }
  .auth-social-btn:hover { border-color:var(--navy); background:var(--light); }
  .auth-social-btn svg { flex-shrink:0; }
  .auth-phone-btn { grid-column:span 2; }

  .auth-divider { display:flex; align-items:center; gap:12px; margin:20px 0; color:var(--text-muted); font-size:0.8rem; font-weight:600; }
  .auth-divider::before, .auth-divider::after { content:''; flex:1; height:1px; background:var(--border); }

  /* Form */
  .auth-name-row { display:grid; grid-template-columns:1fr 1fr; gap:10px; }
  .auth-field { margin-bottom:14px; }
  .auth-label { display:block; font-size:0.8rem; font-weight:700; color:var(--navy); margin-bottom:6px; }
  .auth-input { width:100%; padding:12px 14px; border:1.5px solid var(--border); border-radius:12px; font-size:0.9rem; font-family:'Inter',sans-serif; color:var(--navy); outline:none; transition:all 0.2s; box-sizing:border-box; background:var(--white); }
  .auth-input:focus { border-color:var(--teal); box-shadow:0 0 0 3px rgba(0,201,177,0.1); }
  .auth-input.error { border-color:#e8416d; }
  .auth-input-wrap { position:relative; }
  .auth-input-wrap .auth-input { padding-right:44px; }
  .auth-eye { position:absolute; right:14px; top:50%; transform:translateY(-50%); cursor:pointer; color:var(--text-muted); background:none; border:none; padding:0; }
  .auth-phone-row { display:flex; gap:8px; }
  .auth-phone-code { width:90px; flex-shrink:0; }

  .btn-auth-submit { width:100%; padding:14px; background:var(--navy); color:#fff; border:none; border-radius:14px; font-size:1rem; font-weight:800; cursor:pointer; font-family:'Inter',sans-serif; transition:all 0.2s; margin-top:6px; }
  .btn-auth-submit:hover { background:var(--teal); }

  .auth-footer-text { text-align:center; font-size:0.8rem; color:var(--text-muted); margin-top:16px; }
  .auth-footer-text a { color:var(--teal); font-weight:700; cursor:pointer; text-decoration:none; }
  .auth-footer-text a:hover { text-decoration:underline; }
  .auth-forgot { text-align:right; margin-top:-8px; margin-bottom:14px; }
  .auth-forgot a { font-size:0.78rem; color:var(--teal); font-weight:600; cursor:pointer; }
  .auth-terms { font-size:0.74rem; color:var(--text-muted); text-align:center; margin-top:14px; line-height:1.6; }
  .auth-terms a { color:var(--teal); }
  .auth-error-msg { background:rgba(232,65,109,0.08); border:1px solid rgba(232,65,109,0.3); border-radius:10px; padding:10px 14px; font-size:0.82rem; color:#e8416d; font-weight:600; margin-bottom:14px; display:none; }

  /* Nav Avatar */
  .nav-avatar { width:36px; height:36px; border-radius:50%; background:var(--teal); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:800; font-size:0.78rem; cursor:pointer; margin-left:10px; border:2px solid rgba(0,201,177,0.3); transition:all 0.2s; flex-shrink:0; }
  .nav-avatar:hover { transform:scale(1.08); }

  .user-menu-wrap { position:relative; display:flex; align-items:center; }
  .user-menu-toggle { display:flex; align-items:center; gap:10px; padding:4px 10px 4px 6px; border-radius:999px; border:1.5px solid var(--border); background:#fff; cursor:pointer; color:inherit; font-family:'Inter',sans-serif; line-height:1; transition:box-shadow 0.15s, border-color 0.15s; }
  .user-menu-toggle:hover { border-color: rgba(0,201,177,0.45); box-shadow: 0 0 0 3px rgba(0,201,177,0.10); }
  .user-menu-wrap.open .user-menu-toggle { border-color: rgba(0,201,177,0.65); box-shadow: 0 0 0 3px rgba(0,201,177,0.14); }
  .user-menu-avatar.nav-avatar { margin-left:0; background:linear-gradient(135deg,var(--teal),var(--navy)); border:2px solid rgba(13,27,75,0.08); font-size:0.85rem; }
  .user-menu-initials { font-weight:900; font-size:0.9rem; color:var(--navy); letter-spacing:0.6px; }
  .user-menu-toggle--plain { padding:4px 6px; border:none; background:transparent; }
  .user-menu-toggle--plain:hover { border-color:transparent; box-shadow:none; }
  .user-menu-wrap.open .user-menu-toggle--plain { border-color:transparent; box-shadow:none; }
  .user-menu-name { font-size:0.86rem; font-weight:700; color:var(--navy); max-width:180px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .user-menu-caret { opacity:0.55; }
  .user-menu-wrap.open .user-menu-caret { transform: rotate(180deg); opacity:0.8; }
  .user-menu-dropdown { display:none; position:absolute; top:calc(100% + 10px); left:auto; right:0; min-width:220px; max-width:calc(100vw - 24px); background:#fff; border:1.5px solid var(--border); border-radius:14px; box-shadow:0 10px 36px rgba(13,27,75,0.12); z-index:700; overflow:hidden; }
  .user-menu-wrap.open .user-menu-dropdown { display:block; animation:fadeInDown 0.18s ease; }
  .user-menu-item { width:100%; display:flex; align-items:center; justify-content:flex-start; gap:10px; padding:11px 14px; font-size:0.86rem; font-weight:700; color:var(--navy); text-decoration:none; background:none; border:none; cursor:pointer; font-family:'Inter',sans-serif; text-align:left; }
  .user-menu-item:hover { background: var(--light); }
  .user-menu-logout { color:#e8416d; }
  @media(max-width:640px) { .user-menu-name { max-width:110px; } }

  /* ─── PROFILE PAGE ─── */
  .profile-page { display:none; position:fixed; inset:0; z-index:500; background:var(--light); overflow-y:auto; }
  .profile-page.active { display:block; }
  .profile-topbar { position:sticky; top:0; z-index:10; background:rgba(255,255,255,0.97); backdrop-filter:blur(14px); border-bottom:1px solid var(--border); display:flex; align-items:center; justify-content:space-between; padding:14px 5%; }
  .profile-hero { background:linear-gradient(135deg,var(--navy) 0%,#1a3a6c 100%); padding:32px 5% 28px; color:#fff; }
  .profile-hero-inner { max-width:720px; margin:0 auto; display:flex; align-items:center; gap:20px; flex-wrap:wrap; }
  .profile-avatar-big { width:80px; height:80px; border-radius:50%; background:var(--teal); color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.8rem; font-weight:900; flex-shrink:0; border:3px solid rgba(255,255,255,0.3); }
  .profile-name { font-size:1.3rem; font-weight:800; margin-bottom:4px; }
  .profile-bio { font-size:0.84rem; opacity:0.8; margin-bottom:8px; line-height:1.6; }
  .profile-meta { font-size:0.8rem; opacity:0.7; display:flex; gap:14px; flex-wrap:wrap; }
  .profile-stats { background:var(--white); border-bottom:1px solid var(--border); }
  .profile-stats-inner { max-width:720px; margin:0 auto; display:grid; grid-template-columns:repeat(3,1fr); }
  .profile-stat-item { padding:18px 12px; text-align:center; border-right:1px solid var(--border); }
  .profile-stat-item:last-child { border-right:none; }
  .profile-stat-num { font-size:1.4rem; font-weight:900; color:var(--navy); }
  .profile-stat-label { font-size:0.72rem; color:var(--text-muted); font-weight:600; text-transform:uppercase; letter-spacing:0.5px; margin-top:2px; }
  .profile-tabs-wrap { background:var(--white); border-bottom:2px solid var(--border); position:sticky; top:57px; z-index:9; }
  .profile-tabs { max-width:720px; margin:0 auto; display:flex; }
  .profile-tab { padding:14px 20px; font-size:0.88rem; font-weight:700; color:var(--text-muted); border:none; background:transparent; cursor:pointer; border-bottom:3px solid transparent; transition:all 0.2s; font-family:'Inter',sans-serif; margin-bottom:-2px; }
  .profile-tab.active { color:var(--navy); border-bottom-color:var(--navy); }
  .profile-content { max-width:720px; margin:0 auto; padding:24px 5% 100px; }
  .owner-badge { display:inline-flex; align-items:center; gap:5px; background:rgba(245,166,35,0.1); border:1px solid rgba(245,166,35,0.3); color:var(--accent); font-size:0.72rem; font-weight:700; padding:3px 10px; border-radius:50px; margin-bottom:14px; }
  .profile-campaign-card { background:var(--white); border:1px solid var(--border); border-radius:16px; overflow:hidden; margin-bottom:14px; cursor:pointer; transition:all 0.2s; display:flex; }
  .profile-campaign-card:hover { box-shadow:0 6px 24px rgba(13,27,75,0.1); transform:translateY(-2px); }
  .profile-campaign-thumb { width:90px; min-height:90px; flex-shrink:0; display:flex; align-items:center; justify-content:center; font-size:2rem; }
  .profile-campaign-body { padding:14px; flex:1; min-width:0; }
  .profile-campaign-tag { font-size:0.7rem; font-weight:700; text-transform:uppercase; letter-spacing:0.5px; color:var(--teal); margin-bottom:4px; }
  .profile-campaign-title { font-size:0.92rem; font-weight:700; color:var(--navy); margin-bottom:8px; line-height:1.4; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .profile-campaign-progress { height:5px; background:#eef0f8; border-radius:50px; margin-bottom:6px; }
  .profile-campaign-fill { height:100%; border-radius:50px; background:linear-gradient(90deg,var(--teal),#00e4c9); }
  .profile-campaign-meta { display:flex; justify-content:space-between; font-size:0.76rem; color:var(--text-muted); font-weight:600; }
  .profile-campaign-status { display:inline-flex; align-items:center; gap:4px; font-size:0.7rem; font-weight:700; padding:2px 8px; border-radius:50px; margin-bottom:6px; }
  .status-live { background:rgba(0,201,177,0.1); color:var(--teal); }
  .status-done { background:rgba(13,27,75,0.07); color:var(--navy); }
  .btn-edit-profile { display:flex; align-items:center; gap:6px; background:rgba(255,255,255,0.12); border:1.5px solid rgba(255,255,255,0.3); color:#fff; padding:8px 16px; border-radius:50px; font-size:0.8rem; font-weight:700; cursor:pointer; font-family:'Inter',sans-serif; transition:all 0.2s; margin-top:14px; }
  .btn-edit-profile:hover { background:rgba(255,255,255,0.2); }

  /* Top bar */
  .dash-topbar {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 0 5%; height: 58px;
    display: flex; align-items: center; justify-content: space-between;
    box-shadow: 0 2px 12px rgba(13,27,75,0.05);
  }
  .dash-logo { font-family:'Barlow',sans-serif; font-weight:900; font-size:1.3rem; color:var(--navy); }
  .dash-user { display:flex; align-items:center; gap:10px; }
  .dash-avatar {
    width:36px; height:36px; border-radius:50%;
    background:linear-gradient(135deg,var(--teal),var(--navy));
    display:flex; align-items:center; justify-content:center;
    color:#fff; font-weight:800; font-size:0.85rem;
  }
  .dash-username { font-size:0.85rem; font-weight:600; color:var(--navy); }

  /* Layout */
  .dash-body { max-width:900px; margin:0 auto; padding:28px 5% 60px; }

  /* Campaign summary card */
  .dash-campaign-card {
    background:var(--white); border-radius:20px; overflow:hidden;
    border:1px solid var(--border); margin-bottom:24px;
    box-shadow:0 2px 16px rgba(13,27,75,0.06);
  }
  .dash-campaign-thumb {
    height:140px; background:linear-gradient(135deg,#ff6b6b,#ffa07a);
    display:flex; align-items:center; justify-content:center; font-size:4rem;
    position:relative;
  }
  .dash-campaign-status {
    position:absolute; top:12px; right:12px;
    background:rgba(0,201,177,0.9); color:#fff;
    font-size:0.7rem; font-weight:800; padding:4px 12px; border-radius:50px;
    text-transform:uppercase; letter-spacing:1px;
  }
  .dash-campaign-info { padding:18px 20px; }
  .dash-campaign-title { font-family:'Barlow',sans-serif; font-weight:900; font-size:1.1rem; color:var(--navy); margin-bottom:12px; }
  .dash-prog-bar { height:6px; background:#e6eaf5; border-radius:50px; overflow:hidden; margin-bottom:6px; }
  .dash-prog-fill { height:100%; background:linear-gradient(90deg,var(--teal),#00e4c9); border-radius:50px; }
  .dash-prog-row { display:flex; justify-content:space-between; font-size:0.8rem; color:var(--text-muted); margin-bottom:16px; }
  .dash-prog-row strong { color:var(--navy); }

  /* Quick stats */
  .dash-stats { display:grid; grid-template-columns:repeat(3,1fr); gap:0; border-top:1px solid #eef0f8; }
  .dash-stat { text-align:center; padding:14px 8px; border-right:1px solid #eef0f8; }
  .dash-stat:last-child { border-right:none; }
  .dash-stat-num { font-family:'Barlow',sans-serif; font-weight:900; font-size:1.2rem; color:var(--navy); display:block; }
  .dash-stat-label { font-size:0.68rem; color:var(--text-muted); text-transform:uppercase; letter-spacing:0.5px; margin-top:2px; }

  /* Action buttons */
  .dash-actions { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:24px; }
  .dash-action-btn {
    background:var(--white); border:1px solid var(--border); border-radius:16px;
    padding:18px 16px; cursor:pointer; transition:all 0.2s; text-align:left;
    display:flex; align-items:center; gap:14px;
    box-shadow:0 2px 10px rgba(13,27,75,0.04);
  }
  .dash-action-btn:hover { border-color:var(--teal); box-shadow:0 4px 20px rgba(0,201,177,0.12); transform:translateY(-1px); }
  .dash-action-btn.active-btn { border-color:var(--accent); background:rgba(245,166,35,0.04); }
  .dash-nav-btn { transition: all 0.18s ease; }
  .dash-nav-btn.active-nav { border-color:var(--teal); background:rgba(0,201,177,0.06); box-shadow:0 4px 16px rgba(0,201,177,0.15); }
  .dash-nav-btn.active-nav .dash-action-label { color:var(--teal); }
  .dash-action-icon { font-size:1.6rem; flex-shrink:0; }
  .dash-action-label { font-size:0.82rem; font-weight:700; color:var(--navy); margin-bottom:2px; }
  .dash-action-sub { font-size:0.72rem; color:var(--text-muted); }

  /* Section title */
  /* ── Dashboard Tabs ── */
  .dash-tabs { display:flex; gap:0; border-bottom:2px solid #f0f2f8; margin-bottom:24px; }
  .dash-tab { padding:12px 18px; font-size:0.84rem; font-weight:700; color:var(--text-muted); cursor:pointer; border-bottom:2px solid transparent; margin-bottom:-2px; font-family:'Inter',sans-serif; background:none; border-top:none; border-left:none; border-right:none; transition:all 0.2s; white-space:nowrap; }
  .dash-tab.active { color:var(--navy); border-bottom-color:var(--teal); }
  .dash-tab-content { display:none; }
  .dash-tab-content.active { display:block; }
  /* My Campaigns list */
  .my-camp-item { background:#fff; border:1.5px solid #e8ecf8; border-radius:14px; padding:16px; margin-bottom:12px; display:flex; gap:14px; align-items:center; }
  .my-camp-thumb { width:52px; height:52px; border-radius:10px; display:flex; align-items:center; justify-content:center; font-size:1.6rem; flex-shrink:0; }
  .my-camp-info { flex:1; min-width:0; }
  .my-camp-title { font-weight:800; color:var(--navy); font-size:0.9rem; margin-bottom:6px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .my-camp-prog { height:5px; background:#f0f2f8; border-radius:4px; margin-bottom:5px; }
  .my-camp-prog-fill { height:100%; border-radius:4px; background:var(--teal); }
  .my-camp-meta { font-size:0.74rem; color:var(--text-muted); display:flex; gap:12px; flex-wrap:wrap; }
  .my-camp-actions { display:flex; flex-direction:column; gap:6px; flex-shrink:0; }
  /* My Donations list */
  .my-don-item { background:#fff; border:1.5px solid #e8ecf8; border-radius:14px; padding:14px 16px; margin-bottom:10px; display:flex; align-items:center; gap:12px; }
  .my-don-icon { width:42px; height:42px; border-radius:50%; display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0; }
  .my-don-info { flex:1; min-width:0; }
  .my-don-title { font-weight:700; color:var(--navy); font-size:0.86rem; margin-bottom:3px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
  .my-don-meta { font-size:0.74rem; color:var(--text-muted); }
  .my-don-amount { font-family:'Barlow',sans-serif; font-weight:900; font-size:1rem; color:var(--teal); white-space:nowrap; }

  @keyframes sheetUp { from{transform:translateY(100%);} to{transform:translateY(0);} }
  /* Notifications */
  .user-notif-item { display:flex; gap:10px; padding:10px 12px; border-radius:12px; align-items:flex-start; cursor:pointer; margin-bottom:5px; transition:background 0.15s; }
  .user-notif-text { font-size:0.81rem; color:var(--navy); line-height:1.45; flex:1; }
  .user-notif-time { font-size:0.69rem; color:var(--text-muted); white-space:nowrap; margin-top:3px; }
  #dashNotifList { scrollbar-width:thin; scrollbar-color:#e0e4f0 transparent; }
  #dashNotifList::-webkit-scrollbar { width:4px; }
  #dashNotifList::-webkit-scrollbar-track { background:transparent; }
  #dashNotifList::-webkit-scrollbar-thumb { background:#e0e4f0; border-radius:4px; }
  .notif-unread { background:rgba(232,65,109,0.04); border:1px solid rgba(232,65,109,0.1); }
  .notif-unread:hover { background:rgba(232,65,109,0.08) !important; }
  .notif-read { background:transparent; border:1px solid transparent; }
  .notif-read:hover { background:#f8f9ff !important; }
  /* Cookie banner */
  .cookie-banner { position:fixed; bottom:0; left:0; right:0; z-index:9999; background:var(--navy-deep); color:#fff; padding:14px 5%; display:flex; align-items:center; justify-content:space-between; gap:14px; flex-wrap:wrap; font-size:0.83rem; line-height:1.5; transform:translateY(100%); transition:transform 0.4s ease; }
  .cookie-banner.visible { transform:translateY(0); }
  .cookie-banner a { color:var(--teal); text-decoration:underline; cursor:pointer; }
  .cookie-accept { background:var(--teal); color:var(--navy); padding:8px 20px; border:none; border-radius:8px; font-weight:700; cursor:pointer; font-family:'Inter',sans-serif; font-size:0.82rem; white-space:nowrap; }
  .cookie-decline { background:transparent; color:rgba(255,255,255,0.5); padding:8px 14px; border:1px solid rgba(255,255,255,0.2); border-radius:8px; font-weight:600; cursor:pointer; font-family:'Inter',sans-serif; font-size:0.82rem; white-space:nowrap; }
  /* Back to top */
  .back-to-top { position:fixed; bottom:80px; right:18px; z-index:800; width:42px; height:42px; border-radius:50%; background:var(--navy); color:#fff; border:none; cursor:pointer; display:none; align-items:center; justify-content:center; box-shadow:0 4px 16px rgba(13,27,75,0.25); transition:all 0.2s; font-size:1rem; }
  .back-to-top.visible { display:flex; }
  .back-to-top:hover { background:var(--teal); transform:translateY(-2px); }
  /* Newsletter */
  /* ── 404 Error Page ── */
  .error-page-body { min-height:100vh; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:40px 5%; text-align:center; }
  .error-code { font-family:'Barlow',sans-serif; font-size:clamp(5rem,20vw,8rem); font-weight:900; line-height:1; margin-bottom:8px; background:linear-gradient(135deg,var(--navy),var(--teal)); -webkit-background-clip:text; -webkit-text-fill-color:transparent; background-clip:text; }
  .error-title { font-family:'Georgia',serif; font-size:clamp(1.2rem,4vw,1.7rem); color:var(--navy); margin-bottom:12px; }
  .error-sub { font-size:0.93rem; color:var(--text-muted); max-width:400px; line-height:1.7; margin-bottom:30px; }
  .error-actions { display:flex; flex-wrap:wrap; gap:12px; justify-content:center; margin-bottom:36px; }
  .error-btn-p { padding:13px 28px; background:var(--navy); color:#fff; border:none; border-radius:12px; font-size:0.9rem; font-weight:700; cursor:pointer; font-family:'Inter',sans-serif; transition:background 0.2s; }
  .error-btn-p:hover { background:var(--teal); }
  .error-btn-g { padding:13px 28px; background:#f0f2f8; color:var(--navy); border:none; border-radius:12px; font-size:0.9rem; font-weight:700; cursor:pointer; font-family:'Inter',sans-serif; }
  .error-link { display:flex; align-items:center; gap:10px; padding:12px 14px; background:#fff; border:1.5px solid #e8ecf8; border-radius:12px; margin-bottom:8px; cursor:pointer; transition:border-color 0.2s; color:var(--navy); font-size:0.86rem; font-weight:600; }
  .error-link:hover { border-color:var(--teal); }
  /* ── Language Selector ── */
  .lang-selector-wrap { position:relative; }
  .lang-btn { background:rgba(13,27,75,0.06); border:1.5px solid transparent; color:var(--navy); padding:7px 12px; border-radius:10px; font-size:0.78rem; font-weight:700; cursor:pointer; font-family:'Inter',sans-serif; display:flex; align-items:center; gap:6px; transition:all 0.2s; white-space:nowrap; }
  .lang-btn:hover { border-color:var(--teal); }
  .lang-dropdown { display:none; position:absolute; top:calc(100% + 8px); right:0; background:#fff; border:1.5px solid #e8ecf8; border-radius:14px; box-shadow:0 8px 32px rgba(13,27,75,0.12); z-index:300; min-width:180px; overflow:hidden; }
  .lang-dropdown.open { display:block; animation:fadeInDown 0.18s ease; }

  .lang-divider { height:1px; background:#f0f2f8; margin: 4px 0; }
  .lang-more {
    color: var(--text-muted) !important;
    font-size: 0.82rem !important;
    display: flex; align-items: center; gap: 7px;
    font-style: normal;
  }
  .lang-more:hover { color: var(--navy) !important; }

  /* More Languages Modal */
  .more-lang-overlay {
    display: none; position: fixed; inset: 0; z-index: 1500;
    background: rgba(6,14,46,0.5); backdrop-filter: blur(6px);
    align-items: flex-end; justify-content: center;
  }
  .more-lang-overlay.open { display: flex; }
  .more-lang-sheet {
    background: #fff; border-radius: 24px 24px 0 0;
    width: 100%; max-width: 520px;
    padding: 20px 20px 40px;
    animation: slideUpSheet 0.28s ease;
    max-height: 80vh; display: flex; flex-direction: column;
  }
  @keyframes slideUpSheet { from { transform: translateY(100%); } to { transform: translateY(0); } }

  .more-lang-handle {
    width: 40px; height: 4px; background: #e0e4f0;
    border-radius: 10px; margin: 0 auto 20px;
  }
  .more-lang-title {
    font-size: 1rem; font-weight: 800; color: var(--navy);
    margin-bottom: 14px; text-align: center;
  }
  .more-lang-search-wrap {
    position: relative; margin-bottom: 14px;
  }
  .more-lang-search {
    width: 100%; padding: 10px 14px 10px 38px;
    border: 1.5px solid #e8ecf8; border-radius: 12px;
    font-size: 0.86rem; font-family: 'Inter', sans-serif;
    color: var(--navy); outline: none; box-sizing: border-box;
    transition: border-color 0.2s;
  }
  .more-lang-search:focus { border-color: var(--teal); }
  .more-lang-search-icon {
    position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
    color: var(--text-muted);
  }
  .more-lang-list {
    overflow-y: auto; flex: 1;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 2px; scrollbar-width: thin;
  }
  .more-lang-item {
    padding: 11px 14px; border-radius: 10px;
    font-size: 0.84rem; color: var(--navy); font-weight: 500;
    cursor: pointer; transition: background 0.15s;
    display: flex; align-items: center; gap: 8px;
  }
  .more-lang-item:hover { background: #f4f6fc; }
  .more-lang-item.active { background: rgba(245,166,35,0.1); color: var(--accent); font-weight: 700; }
  @keyframes fadeInDown { from{opacity:0;transform:translateY(-8px);} to{opacity:1;transform:translateY(0);} }
  .lang-option { padding:11px 16px; font-size:0.84rem; font-weight:600; color:var(--navy); cursor:pointer; display:flex; align-items:center; gap:10px; transition:background 0.15s; }
  .lang-option:hover { background:#f8f9ff; }
  .lang-option.active { background:rgba(0,201,177,0.08); color:var(--teal); }
  /* ── Breadcrumbs ── */
  .breadcrumb-bar { background:#fff; border-bottom:1px solid #f0f2f8; padding:9px 5%; display:flex; align-items:center; gap:6px; font-size:0.76rem; color:var(--text-muted); flex-wrap:wrap; position:sticky; top:58px; z-index:15; }
  .bc-link { color:var(--teal); font-weight:600; cursor:pointer; transition:opacity 0.15s; }
  .bc-link:hover { opacity:0.75; text-decoration:underline; }
  .bc-sep { color:#ccc; margin:0 2px; }
  .bc-current { color:var(--navy); font-weight:700; }

  @media (max-width: 640px) {
    .bc-current { flex-basis: 100%; }
  }

  .newsletter-section { background:linear-gradient(135deg,var(--navy) 0%,#1a3a6b 100%); padding:48px 6%; text-align:center; color:#fff; }
  .newsletter-section h2 { font-family:'Georgia',serif; font-size:clamp(1.3rem,4vw,1.9rem); margin-bottom:10px; }
  .newsletter-section p { color:rgba(255,255,255,0.65); font-size:0.92rem; margin-bottom:24px; }
  .newsletter-form { display:flex; gap:10px; max-width:460px; margin:0 auto; flex-wrap:wrap; justify-content:center; }
  .newsletter-input { flex:1; min-width:200px; padding:13px 18px; border:none; border-radius:12px; font-size:0.9rem; font-family:'Inter',sans-serif; outline:none; color:var(--navy); }
  .newsletter-btn { padding:13px 24px; background:var(--accent); color:var(--navy); border:none; border-radius:12px; font-weight:800; font-size:0.88rem; cursor:pointer; font-family:'Inter',sans-serif; transition:all 0.2s; white-space:nowrap; }
  .newsletter-btn:hover { background:#fff; }

  .dash-section-title {
    font-family:'Barlow',sans-serif; font-weight:900; font-size:1.1rem;
    color:var(--navy); margin-bottom:16px;
    display:flex; align-items:center; justify-content:space-between;
  }

  /* ── DONORS MESSAGE PANEL ── */
  .donors-panel {
    background:var(--white); border-radius:20px; border:1px solid var(--border);
    overflow:hidden; box-shadow:0 2px 16px rgba(13,27,75,0.06);
  }

  /* Panel header */
  .donors-panel-header {
    padding:16px 20px; border-bottom:1px solid #eef0f8;
    display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px;
  }
  .donors-panel-title { font-weight:800; font-size:0.92rem; color:var(--navy); }
  .donors-panel-actions { display:flex; align-items:center; gap:8px; }

  .btn-select-all {
    background:transparent; border:1.5px solid var(--border);
    color:var(--navy); padding:6px 14px; border-radius:50px;
    font-size:0.76rem; font-weight:700; cursor:pointer;
    font-family:'Inter',sans-serif; transition:all 0.2s;
  }
  .btn-select-all:hover { border-color:var(--navy); }

  .btn-send-all {
    background:var(--accent); color:var(--navy-deep);
    border:none; padding:7px 16px; border-radius:50px;
    font-size:0.76rem; font-weight:800; cursor:pointer;
    font-family:'Inter',sans-serif; transition:all 0.2s;
    display:none; align-items:center; gap:6px;
    box-shadow:0 3px 10px rgba(245,166,35,0.3);
  }
  .btn-send-all.visible { display:flex; }
  .btn-send-all:hover { transform:translateY(-1px); }

  /* Broadcast box — appears when multiple selected */
  .broadcast-box {
    display:none; padding:16px 20px; background:rgba(245,166,35,0.06);
    border-bottom:1px solid rgba(245,166,35,0.2);
    animation: slideDown 0.25s ease;
  }
  .broadcast-box.visible { display:block; }
  .broadcast-label { font-size:0.8rem; font-weight:700; color:var(--navy); margin-bottom:8px; }
  .broadcast-count { color:var(--accent); }
  .broadcast-textarea {
    width:100%; padding:11px 14px; border:1.5px solid rgba(245,166,35,0.3);
    border-radius:10px; font-size:0.86rem; font-family:'Inter',sans-serif;
    color:var(--navy); outline:none; resize:none; height:80px; line-height:1.6;
    background:var(--white);
  }
  .broadcast-textarea:focus { border-color:var(--accent); }
  .btn-broadcast-send {
    margin-top:10px; background:var(--accent); color:var(--navy-deep);
    border:none; padding:10px 22px; border-radius:10px;
    font-size:0.84rem; font-weight:800; cursor:pointer;
    font-family:'Inter',sans-serif; transition:all 0.2s;
    box-shadow:0 3px 12px rgba(245,166,35,0.3);
  }
  .btn-broadcast-send:hover { transform:translateY(-1px); }

  /* Compose message area */
  .donors-msg-compose {
    padding: 18px 20px; border-bottom: 2px solid #eef0f8;
    background: var(--white);
    position: sticky; top: 58px; z-index: 10;
  }
  .compose-selection-row {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 8px; margin-bottom: 10px;
  }
  .compose-selection-info { font-size: 0.84rem; font-weight: 700; color: var(--navy); }
  .compose-selection-info span { color: var(--accent); }
  .btn-deselect {
    background: transparent; border: 1.5px solid #e8416d;
    color: #e8416d; padding: 6px 14px; border-radius: 50px;
    font-size: 0.76rem; font-weight: 700; cursor: pointer;
    font-family: 'Inter', sans-serif; transition: all 0.2s;
  }
  .btn-deselect:hover { background: #e8416d; color: #fff; }
  .compose-textarea {
    width: 100%; padding: 12px 14px; border: 1.5px solid var(--border);
    border-radius: 12px; font-size: 0.88rem; font-family: 'Inter', sans-serif;
    color: var(--navy); outline: none; resize: none; height: 90px; line-height: 1.65;
    background: var(--light); transition: all 0.2s; margin-bottom: 10px;
  }
  .compose-textarea:focus { border-color: var(--teal); background: var(--white); }
  .btn-compose-send {
    width: 100%; background: var(--navy); color: #fff;
    border: none; padding: 13px; border-radius: 12px;
    font-size: 0.92rem; font-weight: 700; cursor: pointer;
    font-family: 'Inter', sans-serif; transition: all 0.25s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
  }
  .btn-compose-send:hover { background: var(--teal); }
  .btn-compose-send:disabled { opacity: 0.45; cursor: not-allowed; background: var(--navy); }

  .donor-msg-row:first-child { margin-top: 6px; }
  /* Donor message row */
  .donor-msg-row {
    padding:16px 20px; border-bottom:1px solid #eef0f8;
    transition:background 0.15s;
  }
  .donor-msg-row:last-child { border-bottom:none; }
  .donor-msg-row.selected-row { background:rgba(245,166,35,0.04); }

  .donor-msg-top { display:flex; align-items:center; gap:12px; margin-bottom:12px; }
  .donor-msg-checkbox {
    width:18px; height:18px; accent-color:var(--accent);
    cursor:pointer; flex-shrink:0; border-radius:4px;
  }
  .donor-msg-avatar {
    width:38px; height:38px; border-radius:50%;
    display:flex; align-items:center; justify-content:center;
    font-weight:800; font-size:0.85rem; color:#fff; flex-shrink:0;
  }
  .donor-msg-name { font-weight:700; font-size:0.9rem; color:var(--navy); }
  .donor-msg-badge {
    margin-left:auto; background:var(--light); border-radius:50px;
    padding:3px 10px; font-size:0.7rem; font-weight:700; color:var(--text-muted);
  }
  .donor-msg-badge.sent { background:rgba(0,201,177,0.1); color:var(--teal); }

  /* Message textarea per donor */
  .donor-msg-input-wrap { padding-left:30px; }
  .donor-msg-textarea {
    width:100%; padding:10px 14px; border:1.5px solid var(--border);
    border-radius:10px; font-size:0.84rem; font-family:'Inter',sans-serif;
    color:var(--navy); outline:none; resize:none; height:72px; line-height:1.6;
    background:var(--light); transition:all 0.2s;
  }
  .donor-msg-textarea:focus { border-color:var(--teal); background:var(--white); }
  .donor-msg-textarea::placeholder { color:#b0b8d8; }

  .btn-donor-send {
    margin-top:8px; background:var(--navy); color:#fff;
    border:none; padding:8px 20px; border-radius:8px;
    font-size:0.78rem; font-weight:700; cursor:pointer;
    font-family:'Inter',sans-serif; transition:all 0.2s;
    display:flex; align-items:center; gap:6px;
  }
  .btn-donor-send:hover { background:var(--teal); }
  .btn-donor-send.sent-state { background:var(--teal); cursor:default; }

  /* Empty state */
  .donors-empty { text-align:center; padding:48px 20px; color:var(--text-muted); }
  .donors-empty-icon { font-size:3rem; margin-bottom:12px; }
  .donors-empty-text { font-size:0.88rem; line-height:1.7; }
  .create-page {
    display: none; position: fixed; inset: 0; z-index: 500;
    background: var(--light); overflow-y: auto;
  }
  .create-page.active { display: block; }

  .type-sheet-overlay {
    position: fixed;
    inset: 0;
    z-index: 650;
    background: rgba(6,14,46,0.45);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 0;
  }
  .type-sheet {
    position: fixed;
    left: 50%;
    bottom: 0;
    width: min(560px, calc(100vw - 28px));
    background: #fff;
    border-radius: 18px 18px 0 0;
    border: 1.5px solid #eef0f8;
    box-shadow: 0 18px 60px rgba(13,27,75,0.22);
    padding: 12px 12px calc(14px + env(safe-area-inset-bottom, 0px));
    transform: translate(-50%, 0);
    animation: slideUpSheet 0.26s cubic-bezier(.2,.9,.2,1);
  }
  @keyframes slideUpSheet {
    from { transform: translate(-50%, 100%); opacity: 0.6; }
    to   { transform: translate(-50%, 0); opacity: 1; }
  }
  .type-sheet-handle {
    width: 54px;
    height: 5px;
    border-radius: 999px;
    background: #e9edf7;
    margin: 4px auto 10px;
  }
  .type-sheet-title {
    font-family: 'Barlow', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    color: var(--navy);
    text-align: center;
    margin-bottom: 4px;
  }
  .type-sheet-sub {
    font-size: 0.86rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.6;
  }
  .type-sheet-grid { display: grid; gap: 10px; }
  .type-sheet-card {
    width: 100%;
    background: #fff;
    border: 1.5px solid #e8eaf6;
    border-radius: 16px;
    padding: 14px 14px;
    box-shadow: 0 10px 36px rgba(13,27,75,0.06);
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
    text-align: left;
    font-family: 'Inter', sans-serif;
    color: inherit;
  }
  .type-sheet-card:hover {
    transform: translateY(-1px);
    border-color: rgba(0,201,177,0.35);
    box-shadow: 0 14px 44px rgba(13,27,75,0.10);
  }
  .type-sheet-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
  }
  .type-sheet-name {
    font-weight: 900;
    font-size: 0.96rem;
    color: var(--navy);
    margin-bottom: 3px;
    font-family: 'Barlow', sans-serif;
  }
  .type-sheet-desc {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
  }
  .type-sheet-badge {
    background: #f5a623;
    color: #0d1b4b;
    font-size: 0.62rem;
    font-weight: 900;
    padding: 2px 8px;
    border-radius: 999px;
    letter-spacing: 0.5px;
  }
  .type-sheet-cancel {
    width: 100%;
    margin-top: 10px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1.5px solid #e8eaf6;
    background: #f7f9ff;
    cursor: pointer;
    font-weight: 800;
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    transition: background 0.15s, border-color 0.15s;
  }
  .type-sheet-cancel:hover { background: #eef2ff; border-color: #dde2f0; }

  .create-topbar {
    position: sticky; top: 0; z-index: 20;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border);
    padding: 12px 5%; display: flex; align-items: center; justify-content: space-between;
  }

  /* Progress bar */
  .create-progress {
    height: 3px; background: #e6eaf5;
    position: sticky; top: 57px; z-index: 19;
  }
  .create-progress-fill {
    height: 100%; background: linear-gradient(90deg, var(--teal), var(--accent));
    transition: width 0.4s ease; border-radius: 0 2px 2px 0;
  }

  .create-content { max-width: 580px; margin: 0 auto; padding: 36px 5% 120px; }

  /* Step indicator */
  .create-step-info {
    display: flex; align-items: center; gap: 10px; margin-bottom: 28px;
  }
  .create-step-badge {
    background: var(--navy); color: #fff;
    font-family: 'Barlow', sans-serif; font-size: 0.78rem; font-weight: 900;
    padding: 4px 12px; border-radius: 50px;
    white-space: nowrap;
  }
  .create-step-label { font-size: 0.82rem; color: var(--text-muted); font-weight: 500; }

  /* Step title */
  .create-step-title {
    font-family: 'Barlow', sans-serif; font-size: 1.6rem; font-weight: 900;
    color: var(--navy); margin-bottom: 6px; line-height: 1.2;
  }
  .create-step-subtitle { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 28px; line-height: 1.6; }

  /* Form elements */
  .create-field { margin-bottom: 20px; }
  .create-label { font-size: 0.82rem; font-weight: 700; color: var(--navy); margin-bottom: 8px; display: block; }
  .create-input {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--border);
    border-radius: 12px; font-size: 0.93rem; font-family: 'Inter', sans-serif;
    color: var(--navy); outline: none; transition: border-color 0.2s;
    background: var(--white);
  }
  .create-input:focus { border-color: var(--navy); }
  .create-textarea {
    width: 100%; padding: 13px 16px; border: 1.5px solid var(--border);
    border-radius: 12px; font-size: 0.93rem; font-family: 'Inter', sans-serif;
    color: var(--navy); outline: none; transition: border-color 0.2s;
    background: var(--white); resize: vertical; min-height: 140px; line-height: 1.7;
  }
  .create-textarea:focus { border-color: var(--navy); }

  /* ── Rich Text Editor ── */
  .rte-wrap { border:1.5px solid var(--border); border-radius:12px; overflow:hidden; background:var(--white); transition:border-color 0.2s; }
  .rte-wrap:focus-within { border-color:var(--navy); }
  .rte-toolbar {
    display:flex; flex-wrap:wrap; gap:2px; padding:8px 10px;
    background:#f7f9ff; border-bottom:1.5px solid var(--border);
    align-items:center;
  }
  .rte-btn {
    width:30px; height:30px; border:none; background:transparent; border-radius:6px;
    cursor:pointer; font-size:0.85rem; color:var(--navy); display:flex;
    align-items:center; justify-content:center; transition:background 0.15s;
    font-weight:700; font-family:'Inter',sans-serif; flex-shrink:0;
  }
  .rte-btn:hover { background:#e8ecf8; }
  .rte-btn.active { background:var(--navy); color:#fff; }
  .rte-sep { width:1px; height:22px; background:#dde2f0; margin:0 4px; flex-shrink:0; }
  .rte-btn-wide { width:auto; padding:0 10px; font-size:0.78rem; gap:4px; }
  .rte-select {
    height:30px; border:1.5px solid #dde2f0; border-radius:6px; background:#fff;
    font-size:0.78rem; color:var(--navy); padding:0 8px; cursor:pointer; outline:none;
  }
  .rte-select:hover { border-color:var(--navy); }

  /* Font Size Picker */
  .rte-fsize-wrap { position:relative; flex-shrink:0; }
  .rte-fsize-btn {
    height:30px; padding:0 8px; border:1.5px solid #dde2f0; border-radius:6px;
    background:#fff; color:var(--navy); cursor:pointer; display:flex;
    align-items:center; gap:3px; font-size:0.78rem; transition:border-color 0.15s;
  }
  .rte-fsize-btn:hover { border-color:var(--navy); background:#f0f3fc; }
  .rte-fsize-dropdown {
    display:none; position:absolute; top:36px; left:0; z-index:999;
    background:#fff; border:1.5px solid #dde2f0; border-radius:12px;
    box-shadow:0 8px 32px rgba(13,27,75,0.14); padding:6px;
    min-width:150px; flex-direction:column; gap:2px;
  }
  .rte-fsize-dropdown.open { display:flex; }
  .rte-fsize-opt {
    display:flex; align-items:center; gap:10px; padding:7px 12px;
    border-radius:8px; cursor:pointer; color:var(--navy);
    font-size:0.82rem; transition:background 0.15s; direction:rtl;
  }
  .rte-fsize-opt:hover { background:#f0f3fc; }
  .rte-fsize-opt span { min-width:24px; text-align:center; font-weight:700; color:var(--navy); line-height:1; }
  .rte-fsize-cur { background:rgba(13,27,75,0.06); font-weight:700; }

  /* Color Pickers */
  .rte-color-wrap { position:relative; flex-shrink:0; }
  .rte-color-btn {
    height:30px; width:30px; padding:0; border:1.5px solid #dde2f0; border-radius:6px;
    background:#fff; color:var(--navy); cursor:pointer;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    gap:2px; transition:border-color 0.15s;
  }
  .rte-color-btn:hover { border-color:var(--navy); background:#f0f3fc; }
  .rte-color-bar { width:16px; height:3px; border-radius:2px; }
  .rte-color-picker {
    display:none; position:absolute; top:36px; left:0; z-index:1000;
    background:#fff; border:1.5px solid #dde2f0; border-radius:14px;
    box-shadow:0 10px 40px rgba(13,27,75,0.16); padding:12px;
    min-width:170px;
  }
  .rte-color-picker.open { display:block; }
  .rte-color-picker-title {
    font-size:0.72rem; font-weight:800; color:var(--navy);
    margin-bottom:8px; letter-spacing:0.3px;
  }
  .rte-color-grid {
    display:grid; grid-template-columns:repeat(6,1fr); gap:5px;
  }
  .rte-color-swatch {
    width:22px; height:22px; border-radius:6px; cursor:pointer;
    border:1.5px solid rgba(0,0,0,0.08); transition:transform 0.15s, box-shadow 0.15s;
    display:flex; align-items:center; justify-content:center;
  }
  .rte-color-swatch:hover { transform:scale(1.2); box-shadow:0 2px 8px rgba(0,0,0,0.2); }
  .rte-swatch-none {
    background:#fff !important; font-size:0.7rem; color:#e8416d;
    font-weight:900; border:1.5px dashed #e8416d !important;
  }
  .rte-body {
    min-height:200px; max-height:500px; overflow-y:auto;
    padding:14px 16px; font-size:16px; font-family:'Inter',sans-serif;
    color:var(--navy); line-height:1.75; outline:none;
  }
  .rte-body:empty::before { content:attr(data-placeholder); color:#b0b8d8; pointer-events:none; }
  .rte-body h2 { font-size:1.15rem; font-weight:800; margin:12px 0 6px; color:var(--navy); }
  .rte-body h3 { font-size:1rem; font-weight:700; margin:10px 0 5px; color:var(--navy); }
  .rte-body ul, .rte-body ol { padding-left:22px; margin:8px 0; }
  .rte-body li { margin-bottom:4px; }
  .rte-body blockquote { border-left:3px solid var(--teal); margin:10px 0; padding:8px 14px; background:#f0fdfa; border-radius:0 8px 8px 0; color:var(--text-muted); font-style:italic; }
  .rte-body a { color:var(--teal); text-decoration:underline; }
  .rte-body img { max-width:100%; border-radius:8px; margin:8px 0; display:block; }
  .rte-body .rte-video-embed { width:100%; aspect-ratio:16/9; border-radius:8px; margin:8px 0; border:none; display:block; }
  .rte-footer { padding:6px 14px; background:#f7f9ff; border-top:1px solid #eef0f8; display:flex; justify-content:flex-end; }
  .rte-charcount { font-size:0.72rem; color:var(--text-muted); }

  /* Modal for image/video in RTE */
  .rte-modal-overlay { display:none; position:fixed; inset:0; background:rgba(6,14,46,0.55); z-index:2000; align-items:center; justify-content:center; }
  .rte-modal-overlay.open { display:flex; }
  .rte-modal { background:#fff; border-radius:16px; padding:24px; width:100%; max-width:420px; margin:16px; box-shadow:0 24px 60px rgba(6,14,46,0.2); }
  .rte-modal h4 { font-size:1rem; font-weight:800; color:var(--navy); margin-bottom:16px; }
  .rte-modal input { width:100%; padding:11px 14px; border:1.5px solid var(--border); border-radius:10px; font-size:0.88rem; color:var(--navy); outline:none; box-sizing:border-box; margin-bottom:10px; }
  .rte-modal input:focus { border-color:var(--navy); }
  .rte-modal-btns { display:flex; gap:8px; justify-content:flex-end; margin-top:6px; }
  .rte-modal-cancel { padding:9px 18px; background:#f0f2f8; border:none; border-radius:9px; font-size:0.84rem; font-weight:700; color:var(--navy); cursor:pointer; }
  .rte-modal-ok { padding:9px 18px; background:var(--navy); border:none; border-radius:9px; font-size:0.84rem; font-weight:700; color:#fff; cursor:pointer; }
  .rte-modal-ok:hover { background:var(--teal); }
  .rte-upload-area { border:2px dashed #dde2f0; border-radius:10px; padding:20px; text-align:center; cursor:pointer; margin-bottom:10px; transition:border-color 0.2s; }
  .rte-upload-area:hover { border-color:var(--navy); }

  /* Media type tabs */
  .media-type-tabs {
    display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px;
  }
  .media-type-tab {
    padding: 12px; border: 1.5px solid var(--border); border-radius: 12px;
    background: var(--white); cursor: pointer; transition: all 0.2s;
    font-size: 0.88rem; font-weight: 600; color: var(--text-muted);
    font-family: 'Inter', sans-serif; text-align: center;
  }
  .media-type-tab.active {
    border-color: var(--navy); background: var(--navy); color: #fff;
  }
  .media-type-tab:not(.active):hover { border-color: var(--teal); color: var(--navy); }

  /* Category grid */
  .create-cats { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
  .create-cat-btn {
    padding: 13px 14px; border: 1.5px solid var(--border); border-radius: 12px;
    background: var(--white); cursor: pointer; transition: all 0.2s;
    font-size: 0.86rem; font-weight: 600; color: var(--navy);
    display: flex; align-items: center; gap: 8px;
    font-family: 'Inter', sans-serif; text-align: left; width: 100%;
  }
  .create-cat-btn:hover { border-color: var(--teal); background: rgba(0,201,177,0.04); }
  .create-cat-btn.selected { border-color: var(--teal); background: rgba(0,201,177,0.08); color: var(--navy); }
  .create-cat-btn.selected::after { content: '✓'; margin-left: auto; color: var(--teal); font-weight: 900; }

  /* Duration options */
  .create-duration-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 10px; }
  .create-dur-btn {
    padding: 13px 14px; border: 1.5px solid var(--border); border-radius: 12px;
    background: var(--white); cursor: pointer; transition: all 0.2s;
    font-size: 0.88rem; font-weight: 600; color: var(--navy);
    font-family: 'Inter', sans-serif; text-align: center;
  }
  .create-dur-btn:hover { border-color: var(--accent); background: rgba(245,166,35,0.05); }
  .create-dur-btn.selected { border-color: var(--accent); background: rgba(245,166,35,0.09); }

  /* حقول الخطأ في نماذج التبرع والتسجيل */
  input.error, select.error, textarea.error {
    border-color: #e8416d !important;
    background: rgba(232,65,109,0.04) !important;
    animation: shakeInput 0.35s ease;
  }
  @keyframes shakeInput {
    0%,100% { transform: translateX(0); }
    25%      { transform: translateX(-6px); }
    75%      { transform: translateX(6px); }
  }

  /* Media upload */
  .create-upload-area {
    border: 2px dashed var(--border); border-radius: 16px;
    padding: 40px 20px; text-align: center; cursor: pointer;
    transition: all 0.25s; background: var(--white);
  }
  .create-upload-area:hover { border-color: var(--teal); background: rgba(0,201,177,0.03); }
  .create-upload-icon { font-size: 2.8rem; margin-bottom: 12px; }
  .create-upload-title { font-weight: 700; font-size: 0.96rem; color: var(--navy); margin-bottom: 6px; }
  .create-upload-hint { font-size: 0.8rem; color: var(--text-muted); }

  /* Payment toggles */
  .create-payment-list { display: flex; flex-direction: column; gap: 12px; }
  .create-payment-row {
    display: flex; align-items: center; justify-content: space-between;
    padding: 16px 18px; border: 1.5px solid var(--border); border-radius: 14px;
    background: var(--white); cursor: pointer; transition: all 0.2s;
  }
  .create-payment-row.on { border-color: var(--teal); background: rgba(0,201,177,0.05); }
  .create-payment-left { display: flex; align-items: center; gap: 12px; }
  .create-payment-icon { font-size: 1.6rem; }
  .create-payment-name { font-weight: 700; font-size: 0.94rem; color: var(--navy); }
  .create-payment-fee { font-size: 0.76rem; color: var(--text-muted); margin-top: 2px; }

  /* Toggle switch */
  .toggle-wrap { position: relative; width: 44px; height: 24px; flex-shrink: 0; }
  .toggle-wrap input { opacity: 0; width: 0; height: 0; }
  .toggle-slider {
    position: absolute; inset: 0; background: #dde1f0; border-radius: 50px;
    cursor: pointer; transition: 0.3s;
  }
  .toggle-slider::before {
    content: ''; position: absolute; height: 18px; width: 18px;
    left: 3px; bottom: 3px; background: #fff; border-radius: 50%;
    transition: 0.3s; box-shadow: 0 1px 4px rgba(0,0,0,0.15);
  }
  .toggle-wrap input:checked + .toggle-slider { background: var(--teal); }
  .toggle-wrap input:checked + .toggle-slider::before { transform: translateX(20px); }

  /* Auth step */
  .create-auth-tabs { display: flex; gap: 0; border-bottom: 2px solid #e6eaf5; margin-bottom: 24px; }
  .create-auth-tab {
    flex: 1; padding: 12px; border: none; background: transparent; cursor: pointer;
    font-size: 0.9rem; font-weight: 600; color: var(--text-muted);
    border-bottom: 2px solid transparent; margin-bottom: -2px;
    transition: all 0.2s; font-family: 'Inter', sans-serif;
  }
  .create-auth-tab.active { color: var(--navy); border-bottom-color: var(--navy); }
  .create-auth-content { display: none; }
  .create-auth-content.active { display: block; }

  /* Nav buttons */
  .create-nav {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 520;
    background: rgba(255,255,255,0.97); backdrop-filter: blur(14px);
    border-top: 1px solid var(--border); padding: 12px 5%;
    display: none; align-items: center; gap: 12px;
    box-shadow: 0 -4px 20px rgba(13,27,75,0.08);
  }
  .create-nav.visible { display: flex; }
  .btn-prev {
    background: transparent; border: 1.5px solid var(--border);
    color: var(--navy); padding: 13px 22px; border-radius: 12px;
    font-size: 0.9rem; font-weight: 600; cursor: pointer;
    font-family: 'Inter', sans-serif; transition: all 0.2s;
    white-space: nowrap;
  }
  .btn-prev:hover { border-color: var(--navy); }
  .btn-next-create {
    flex: 1; background: var(--navy); color: #fff; padding: 14px;
    border-radius: 12px; font-size: 0.96rem; font-weight: 700; border: none;
    cursor: pointer; transition: all 0.25s; font-family: 'Inter', sans-serif;
    text-align: center;
  }
  .btn-next-create:hover { background: var(--accent); color: var(--navy-deep); }
  .btn-publish {
    flex: 1; background: var(--accent); color: var(--navy-deep); padding: 14px;
    border-radius: 12px; font-size: 0.96rem; font-weight: 800; border: none;
    cursor: pointer; transition: all 0.25s; font-family: 'Inter', sans-serif;
    text-align: center; box-shadow: 0 4px 16px rgba(245,166,35,0.35);
  }
  .btn-publish:hover { transform: translateY(-1px); box-shadow: 0 8px 24px rgba(245,166,35,0.45); }

  /* Payment details expansion */
  .pay-details {
    display: none; background: var(--light); border-radius: 0 0 14px 14px;
    padding: 16px 16px 18px; margin-top: -4px; margin-bottom: 12px;
    border: 1.5px solid var(--border); border-top: none;
    animation: slideDown 0.25s ease;
  }
  .pay-details.active { display: block; }
  @keyframes slideDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }

  /* Profile avatar */
  .profile-avatar-wrap {
    display: inline-flex; flex-direction: column; align-items: center;
    gap: 8px; cursor: pointer; margin-bottom: 8px;
  }
  .profile-avatar {
    width: 90px; height: 90px; border-radius: 50%;
    background: var(--light); border: 2px dashed var(--border);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.5rem; overflow: hidden; transition: all 0.2s;
  }
  .profile-avatar-wrap:hover .profile-avatar { border-color: var(--teal); }
  .profile-avatar-edit { font-size: 0.8rem; color: var(--teal); font-weight: 600; }

  /* Review cards */
  .review-card {
    background: var(--white); border: 1px solid var(--border);
    border-radius: 14px; padding: 16px; margin-bottom: 12px;
  }
  .review-card-header {
    display: flex; justify-content: space-between; align-items: center;
    font-weight: 700; font-size: 0.88rem; color: var(--navy);
    margin-bottom: 12px; padding-bottom: 10px; border-bottom: 1px solid #eef0f8;
  }
  .review-edit-btn {
    background: transparent; border: 1px solid var(--border);
    color: var(--text-muted); padding: 3px 12px; border-radius: 50px;
    font-size: 0.74rem; font-weight: 600; cursor: pointer;
    font-family: 'Inter', sans-serif; transition: all 0.2s;
  }
  .review-edit-btn:hover { border-color: var(--accent); color: var(--accent); }
  .review-row {
    display: flex; justify-content: space-between; align-items: flex-start;
    gap: 12px; margin-bottom: 7px; font-size: 0.84rem;
  }
  .review-row:last-child { margin-bottom: 0; }
  .review-key { color: var(--text-muted); flex-shrink: 0; }
  .review-val { color: var(--navy); font-weight: 600; text-align: right; }

  .create-step-page { display: none; }
  .create-step-page.active { display: block; }
  @media (max-width: 900px) {
    .cp-body { grid-template-columns: 1fr; }
    .cp-donate-panel { position: static; }
  }
  @media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: span 2; }
    .nav-links { display: none; }
    .hero-stats { display: none; }
    .btn-nav-ghost { display: none; }
    .btn-nav-fill { display: none; }
    .btn-dash-mobile { display: flex !important; font-size: 0.76rem; padding: 8px 12px; margin-left: 0; }
    .nav-avatar { display: flex; }
  }
  @media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: span 1; }
    section { padding: 68px 5%; }
    .amount-grid { grid-template-columns: repeat(2,1fr); }
    .payment-grid { grid-template-columns: repeat(3,1fr); }
  }


  /* Success Stories Carousel */
  .story-card-new {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(13,27,75,0.08);
    transition: all 0.3s;
    overflow: hidden;
  }
  
  .story-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(13,27,75,0.15);
  }
  
  .stories-carousel-scroll {
    scrollbar-width: none;
  }
  
  .stories-carousel-scroll::-webkit-scrollbar {
    display: none;
  }
  
  @media (min-width: 768px) {
    .story-card-new {
      flex: 0 0 calc(33.333% - 16px) !important;
      min-width: 320px !important;
    }
  }
  
  @media (max-width: 767px) {
    .stories-carousel-scroll {
      padding: 20px 20px !important;
    }
    
    .story-card-new {
      flex: 0 0 calc(100% - 40px) !important;
    }
  }

  /* Hide Google Translate injected bar */
  .goog-te-banner-frame { display: none !important; }
  body { top: 0 !important; }
  #goog-gt-tt, .goog-te-balloon-frame { display: none !important; }
  iframe.goog-te-menu-frame { box-shadow: none !important; }
