:root {
    --primary: #6f35e8;
    --primary-dark: #4620b0;
    --primary-soft: #efe8ff;
    --ink: #111331;
    --muted: #697089;
    --line: #e9e7f3;
    --success: #13b981;
    --shadow: 0 18px 50px rgba(41, 25, 90, .12);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #fbfaff;
}

a {
    color: var(--primary);
    font-weight: 700;
    text-decoration: none;
}

.btn {
    border-radius: 8px;
    font-weight: 800;
    padding: .78rem 1.2rem;
}

.btn-primary {
    background: linear-gradient(135deg, #7a39ef, #5a2ccf);
    border: 0;
    box-shadow: 0 10px 24px rgba(111, 53, 232, .28);
}

.btn-outline-primary {
    color: var(--primary);
    border-color: #cbb9ff;
    background: #fff;
}

.text-primary {
    color: var(--primary) !important;
}

.glass-nav {
    min-height: 78px;
    background: rgba(255, 255, 255, .82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(233, 231, 243, .8);
}

.brand-mark {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    color: #171747;
    font-size: 1.15rem;
    font-weight: 900;
}

.brand-icon {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
}

.brand-icon.light {
    color: var(--primary);
    background: #fff;
}

.nav-link {
    color: #16172f;
    font-weight: 800;
    font-size: .9rem;
}

.nav-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.hero-section {
    position: relative;
    overflow: hidden;
    padding: 155px 0 50px;
    background:
        radial-gradient(circle at 78% 26%, rgba(159, 120, 255, .22), transparent 18%),
        radial-gradient(circle at 91% 42%, rgba(111, 53, 232, .18), transparent 16%),
        linear-gradient(180deg, #fff 0%, #fbfaff 100%);
}

.eyebrow {
    color: var(--primary);
    font-size: .88rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero-section h1,
.page-top h1 {
    max-width: 650px;
    font-size: clamp(2.5rem, 5vw, 4.6rem);
    line-height: 1.05;
    font-weight: 950;
    letter-spacing: 0;
}

.hero-section h1 span,
.page-top h1 span {
    color: var(--primary);
}

.hero-copy {
    max-width: 500px;
    margin: 1.4rem 0 2rem;
    color: var(--muted);
    font-size: 1.14rem;
    line-height: 1.8;
}

.hero-auth-btn {
    color: var(--primary);
    border: 1px solid #ddd2ff;
    box-shadow: 0 10px 22px rgba(41, 25, 90, .08);
}

.hero-photo-wrap {
    position: relative;
    min-height: 430px;
}

.hero-photo {
    position: relative;
    z-index: 2;
    display: block;
    width: min(470px, 92%);
    height: 430px;
    margin: 0 auto;
    object-fit: cover;
    border-radius: 52% 48% 48% 52% / 42% 43% 57% 58%;
    box-shadow: var(--shadow);
}

.heart {
    position: absolute;
    background: rgba(111, 53, 232, .14);
    transform: rotate(45deg);
}

.heart::before,
.heart::after {
    position: absolute;
    width: 100%;
    height: 100%;
    content: "";
    background: inherit;
    border-radius: 50%;
}

.heart::before {
    left: -50%;
}

.heart::after {
    top: -50%;
}

.heart-one {
    top: 35px;
    right: 55px;
    width: 165px;
    height: 165px;
}

.heart-two {
    top: 95px;
    left: 35px;
    width: 86px;
    height: 86px;
}

.stats-ribbon {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 52px;
    padding: 24px 34px;
    color: #fff;
    background: linear-gradient(135deg, #4928c4, #8e55ee);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.stats-ribbon div {
    display: grid;
    grid-template-columns: 42px 1fr;
    align-items: center;
    gap: 0 .8rem;
}

.stats-ribbon i {
    grid-row: span 2;
    font-size: 2rem;
}

.stats-ribbon strong {
    font-size: 1.55rem;
}

.stats-ribbon span {
    opacity: .9;
    font-size: .86rem;
}

.section-pad {
    padding: 64px 0;
}

.section-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 30px;
}

.section-heading h2,
.section-pad h2 {
    font-weight: 950;
    letter-spacing: 0;
}

.section-heading p {
    color: var(--muted);
}

.campaign-card,
.detail-card,
.donation-panel,
.feature-box,
.auth-card,
.panel-card,
.metric,
.project-card,
.testimonial-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 14px 38px rgba(30, 26, 72, .08);
}

.campaign-card {
    overflow: hidden;
    height: 100%;
}

.campaign-image {
    position: relative;
    height: 210px;
    overflow: hidden;
}

.campaign-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.card-carousel,
.card-carousel .carousel-inner,
.card-carousel .carousel-item {
    width: 100%;
    height: 100%;
}

.card-carousel .carousel-control-prev,
.card-carousel .carousel-control-next,
.detail-carousel .carousel-control-prev,
.detail-carousel .carousel-control-next {
    width: 12%;
    opacity: 0;
    transition: opacity .18s ease;
}

.campaign-image:hover .carousel-control-prev,
.campaign-image:hover .carousel-control-next,
.project-thumb:hover .carousel-control-prev,
.project-thumb:hover .carousel-control-next,
.detail-carousel:hover .carousel-control-prev,
.detail-carousel:hover .carousel-control-next {
    opacity: .9;
}

.campaign-image span,
.pill {
    position: absolute;
    left: 18px;
    bottom: 14px;
    color: var(--primary);
    background: #fff;
    border-radius: 8px;
    padding: .48rem .75rem;
    font-size: .78rem;
    font-weight: 900;
}

.pill {
    position: static;
    background: var(--primary-soft);
}

.campaign-body {
    padding: 22px;
}

.campaign-body h3 {
    min-height: 64px;
    margin-bottom: .8rem;
    font-size: 1.35rem;
    line-height: 1.25;
    font-weight: 950;
}

.campaign-body p {
    min-height: 54px;
    color: var(--muted);
    line-height: 1.6;
}

.progress {
    height: 12px;
    background: #eee9fb;
    border-radius: 999px;
}

.slim-progress {
    height: 8px;
}

.progress-bar {
    background: linear-gradient(90deg, #6b2bdc, #a066ef);
    border-radius: 999px;
}

.money-row {
    margin: .9rem 0 1.2rem;
}

.feature-box {
    height: 100%;
    padding: 28px;
    text-align: center;
}

.feature-box i {
    color: var(--primary);
    font-size: 2rem;
}

.feature-box h5 {
    margin: 12px 0 8px;
    font-weight: 950;
}

.feature-box p {
    margin: 0;
    color: var(--muted);
}

.page-top,
.detail-page {
    padding: 130px 0 40px;
}

.page-top {
    background: linear-gradient(135deg, #fff, #f3edff);
}

.page-top p {
    color: var(--muted);
}

.breadcrumb-line {
    margin-bottom: 24px;
    color: var(--muted);
    font-size: .9rem;
}

.detail-image {
    display: block;
    width: 100%;
    height: 390px;
    object-fit: cover;
    border-radius: 12px 12px 0 0;
}

.detail-carousel,
.detail-carousel .carousel-inner,
.detail-carousel .carousel-item {
    height: 390px;
}

.detail-carousel .detail-image {
    height: 390px;
}

.detail-content {
    padding: 24px;
}

.detail-content h1 {
    max-width: 660px;
    font-size: 1.8rem;
    font-weight: 950;
}

.detail-content p,
.campaign-story-preview,
.story-block p {
    color: var(--muted);
    line-height: 1.7;
}

.campaign-story-preview {
    margin-top: 12px;
    white-space: normal;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.info-grid div {
    padding: 14px;
    background: #faf8ff;
    border-radius: 10px;
}

.info-grid small {
    display: block;
    color: var(--muted);
}

.story-block {
    padding: 30px 0;
}

.story-block h4 {
    margin: 24px 0 12px;
    font-weight: 950;
}

.update-card {
    padding: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 14px 38px rgba(30, 26, 72, .06);
}

.section-label {
    display: inline-flex;
    margin-bottom: 10px;
    padding: 6px 10px;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 950;
    text-transform: uppercase;
}

.update-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
    white-space: pre-line;
}

.donation-mini {
    position: relative;
    display: grid;
    gap: .3rem;
    min-height: 90px;
    padding: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.donation-mini span {
    color: var(--primary);
    font-size: .82rem;
}

.donation-mini b {
    position: absolute;
    right: 16px;
    top: 16px;
}

.donation-mini small {
    width: fit-content;
    padding: 4px 8px;
    color: #0d7c56;
    background: #e9fbf3;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 900;
}

.donation-empty {
    padding: 18px;
    color: var(--muted);
    background: #fff;
    border: 1px dashed #d9cef8;
    border-radius: 12px;
    text-align: center;
}

.donation-panel {
    top: 100px;
    padding: 26px;
}

.donation-panel h3 {
    font-size: 1.4rem;
    font-weight: 950;
}

.donation-panel h3 span {
    color: var(--muted);
    font-size: .92rem;
    font-weight: 600;
}

.donation-counts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin: 20px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.donation-counts div {
    padding: 18px 0;
}

.donation-counts div + div {
    border-left: 1px solid var(--line);
    padding-left: 22px;
}

.donation-counts strong,
.donation-counts span {
    display: block;
}

.donation-counts span {
    color: var(--muted);
    font-size: .84rem;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.amount-grid label {
    display: grid;
    min-height: 52px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 900;
}

.amount-grid input {
    display: none;
}

.amount-grid label:has(input:checked),
.amount-grid label.selected {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--primary-soft);
}

.or-line {
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
    margin: 22px 0;
    color: var(--muted);
    font-size: .86rem;
}

.or-line::before,
.or-line::after {
    width: 70px;
    height: 1px;
    content: "";
    background: var(--line);
}

.pay-icons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.pay-icons i {
    display: grid;
    height: 44px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 1.35rem;
}

.auth-page,
.register-page {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 40px 20px;
    background:
        radial-gradient(circle at 95% 0%, rgba(111, 53, 232, .14), transparent 24%),
        radial-gradient(circle at 10% 90%, rgba(111, 53, 232, .14), transparent 25%),
        #fbfaff;
}

.auth-brand {
    position: absolute;
    top: 52px;
}

.auth-card {
    width: min(440px, 100%);
    padding: 36px;
}

.auth-card h1 {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 950;
}

.auth-card > p {
    color: var(--muted);
    text-align: center;
}

.auth-card label {
    margin: 14px 0 7px;
    color: #222445;
    font-size: .86rem;
    font-weight: 800;
}

.form-control {
    min-height: 50px;
    border-color: var(--line);
    border-radius: 8px;
}

.password-wrap {
    position: relative;
}

.password-toggle {
    position: absolute;
    top: 0;
    right: 4px;
    height: 50px;
    width: 46px;
    color: var(--ink);
    background: transparent;
    border: 0;
}

.check-line {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 !important;
}

.social-btn {
    border: 1px solid var(--line);
    background: #fff;
}

.auth-bottom {
    margin: 24px 0 0;
    text-align: center;
    font-size: .9rem;
}

.register-page {
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 440px);
    gap: 40px;
    padding-inline: min(8vw, 90px);
}

.register-art {
    position: relative;
    min-height: 520px;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 54px 42px;
    overflow: hidden;
    border-radius: 18px;
    background:
        radial-gradient(circle at 22% 78%, rgba(111, 53, 232, .26), transparent 18%),
        linear-gradient(135deg, #fff, #f0e9ff);
}

.big-heart {
    display: grid;
    place-items: center;
    color: var(--primary);
    font-size: 7rem;
}

.register-card {
    justify-self: start;
}

.dashboard-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 250px 1fr;
    background: #f7f6fc;
}

.sidebar {
    min-height: 100vh;
    padding: 44px 26px;
    background: linear-gradient(180deg, #7d3aed, #34209f);
}

.sidebar nav {
    display: grid;
    gap: 8px;
    margin-top: 48px;
}

.sidebar nav a {
    display: flex;
    gap: 12px;
    align-items: center;
    min-height: 46px;
    padding: 0 14px;
    color: #fff;
    border-radius: 8px;
    font-size: .92rem;
}

.sidebar nav a.active,
.sidebar nav a:hover {
    background: rgba(255, 255, 255, .15);
}

.dashboard-main {
    padding: 42px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
}

.dashboard-header h1 {
    font-size: 1.8rem;
    font-weight: 950;
}

.metric-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

.metric {
    display: grid;
    place-items: center;
    gap: 7px;
    min-height: 145px;
    padding: 20px;
}

.metric i {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 50%;
    font-size: 1.4rem;
}

.metric strong {
    font-size: 1.35rem;
}

.metric span,
.dash-list span,
.campaign-progress small {
    color: var(--muted);
    font-size: .84rem;
}

.panel-card {
    min-height: 360px;
    padding: 26px;
}

.panel-card h3 {
    margin-bottom: 20px;
    font-size: 1.1rem;
    font-weight: 950;
}

.dash-list {
    display: grid;
    grid-template-columns: 44px 1fr auto;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.dash-list span {
    display: block;
}

.avatar {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    background: #b690f5;
    border-radius: 50%;
    font-weight: 900;
}

.campaign-progress {
    margin-bottom: 26px;
}

.campaign-progress span {
    color: var(--success);
    font-weight: 900;
}

.flash-stack {
    position: fixed;
    top: 92px;
    right: 24px;
    z-index: 1080;
    display: grid;
    width: min(440px, calc(100vw - 32px));
    gap: 12px;
    pointer-events: none;
}

.flash-toast {
    display: grid;
    grid-template-columns: 42px 1fr auto;
    gap: 12px;
    align-items: start;
    padding: 14px;
    color: var(--ink);
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(111, 53, 232, .16);
    border-left: 5px solid var(--primary);
    border-radius: 18px;
    box-shadow: 0 22px 58px rgba(32, 24, 72, .18);
    backdrop-filter: blur(18px);
    pointer-events: auto;
    animation: flashSlideIn .24s ease-out;
}

.flash-toast.flash-success {
    border-left-color: #16a365;
}

.flash-toast.flash-danger {
    border-left-color: #e23d5b;
}

.flash-toast.flash-warning {
    border-left-color: #f2a20c;
}

.flash-icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--primary);
    background: #f1ecff;
    border-radius: 14px;
    font-size: 1.2rem;
}

.flash-success .flash-icon {
    color: #0f7a4b;
    background: #e0f8ec;
}

.flash-danger .flash-icon {
    color: #a81530;
    background: #ffe6eb;
}

.flash-warning .flash-icon {
    color: #8a5c00;
    background: #fff3d5;
}

.flash-copy {
    display: grid;
    gap: 2px;
}

.flash-copy strong {
    color: var(--ink);
    font-size: .94rem;
}

.flash-copy span {
    color: #5b5575;
    font-size: .9rem;
    line-height: 1.45;
}

.flash-close {
    display: grid;
    width: 28px;
    height: 28px;
    place-items: center;
    color: #746b92;
    background: transparent;
    border: 0;
    border-radius: 50%;
}

.flash-close:hover {
    color: var(--ink);
    background: #f5f1ff;
}

.flash-toast.hiding {
    animation: flashSlideOut .2s ease-in forwards;
}

@keyframes flashSlideIn {
    from { opacity: 0; transform: translateY(-10px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes flashSlideOut {
    to { opacity: 0; transform: translateY(-8px) scale(.98); }
}

@media (max-width: 575px) {
    .flash-stack {
        top: 82px;
        right: 16px;
        left: 16px;
        width: auto;
    }
}

@media (max-width: 991px) {
    .glass-nav {
        min-height: auto;
    }

    .nav-actions {
        margin-top: 14px;
    }

    .nav-actions .btn {
        flex: 1 1 130px;
    }

    .hero-section {
        padding-top: 120px;
    }

    .hero-photo-wrap {
        min-height: auto;
    }

    .stats-ribbon,
    .info-grid,
    .metric-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .register-page,
    .dashboard-shell {
        grid-template-columns: 1fr;
    }

    .register-art {
        min-height: 260px;
    }

    .sidebar {
        min-height: auto;
    }
}

@media (max-width: 575px) {
    .hero-section h1,
    .page-top h1 {
        font-size: 2.45rem;
    }

    .stats-ribbon,
    .info-grid,
    .metric-grid,
    .amount-grid {
        grid-template-columns: 1fr;
    }

    .section-heading,
    .dashboard-header {
        align-items: start;
        flex-direction: column;
    }

    .dashboard-main {
        padding: 24px 16px;
    }

    .auth-card {
        padding: 28px 20px;
    }
}

.partner-strip {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) 2fr;
    gap: 24px;
    align-items: center;
}

.partner-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(120px, 1fr));
    gap: 12px;
}

.method-tabs label,
.bank-box {
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

.partner-logo-card {
    display: grid;
    gap: 6px;
    min-height: 118px;
    padding: 14px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
}

.partner-logo-card span {
    display: grid;
    width: 58px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #6f35e8, #13b981);
    border-radius: 8px;
    font-size: .8rem;
    font-weight: 950;
}

.partner-logo-card strong {
    font-size: .92rem;
    line-height: 1.25;
}

.partner-logo-card small {
    color: var(--muted);
    line-height: 1.35;
}

.form-card,
.receipt-card,
.payment-form {
    padding: 30px;
}

.form-card label,
.payment-form label,
.payment-proof-form label {
    margin: 12px 0 7px;
    font-size: .88rem;
    font-weight: 900;
}

.payment-proof-form {
    margin-top: 24px;
    padding: 20px;
    background: #faf8ff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.submit-center {
    display: flex;
    justify-content: center;
    margin-top: 18px;
}

.submit-center .btn {
    min-width: 150px;
}

.method-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.method-tabs label {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 52px;
    padding: 0 14px;
    cursor: pointer;
    font-weight: 900;
}

.payment-section {
    margin-top: 28px;
    padding: 22px;
    background: #faf8ff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.payment-section h3,
.payment-instructions h3 {
    font-size: 1.15rem;
    font-weight: 950;
}

.bank-box {
    display: grid;
    gap: 6px;
    margin: 14px 0;
    padding: 18px;
}

.bank-box b {
    font-size: 1.45rem;
}

.payment-instructions {
    margin: 24px 0;
    padding: 20px;
    background: #faf8ff;
    border-radius: 12px;
}

.payment-instructions code {
    display: block;
    overflow-wrap: anywhere;
    padding: 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
}

.wallet-screen {
    display: grid;
    justify-items: center;
    gap: 22px;
    color: #f8f8f8;
    background: #171717;
    border-radius: 18px;
}

.wallet-warning {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 720px;
    padding: 16px 18px;
    color: #fff;
    background: linear-gradient(135deg, #463719, #5a4720);
    border-radius: 14px;
    font-weight: 750;
    line-height: 1.55;
}

.wallet-warning i {
    color: #ffc43a;
}

.wallet-token {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 1.55rem;
}

.wallet-token b {
    padding: 4px 12px;
    color: #eee;
    background: #666;
    border-radius: 999px;
    font-size: .98rem;
}

.wallet-coin {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: #fff;
    background: #18a77b;
    border-radius: 50%;
    font-weight: 950;
}

.wallet-qr-card {
    display: grid;
    justify-items: center;
    width: min(100%, 520px);
    padding: 20px;
    color: #3f3f3f;
    background: #fff;
    border-radius: 14px;
}

.wallet-qr-card .qr-code {
    width: min(100%, 300px);
    height: auto;
    aspect-ratio: 1;
    padding: 0;
    border: 0;
    border-radius: 0;
}

.wallet-qr-card code {
    max-width: 100%;
    margin-top: 12px;
    padding: 0;
    color: #4a4a4a;
    border: 0;
    font-size: clamp(.9rem, 3.2vw, 1.3rem);
    font-weight: 900;
    text-align: center;
}

.wallet-qr-card span {
    color: #555;
    font-weight: 700;
}

.wallet-actions {
    display: flex;
    justify-content: center;
    gap: clamp(14px, 4vw, 44px);
    width: 100%;
}

.wallet-action-btn {
    display: grid;
    justify-items: center;
    gap: 10px;
    color: #fff;
    background: transparent;
    border: 0;
    font-size: 1rem;
    font-weight: 900;
}

.wallet-action-btn i {
    display: grid;
    width: 68px;
    height: 68px;
    place-items: center;
    background: #292929;
    border-radius: 18px;
    font-size: 1.75rem;
}

.network-confirmation {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-top: 16px;
    padding: 12px 14px;
    color: var(--ink);
    background: #faf8ff;
    border: 1px solid #e7dcff;
    border-radius: 12px;
    font-weight: 800;
}

.network-confirmation input {
    margin-top: 4px;
    accent-color: var(--primary);
}

.deposit-box {
    display: flex;
    gap: 16px;
    align-items: center;
    width: 100%;
    max-width: 720px;
    padding: 18px;
    background: #202020;
    border-radius: 16px;
}

.deposit-box i {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    color: #12e076;
    background: #26342d;
    border-radius: 50%;
    font-size: 1.8rem;
}

.deposit-box span {
    display: block;
    color: #cfcfcf;
}

.campaign-share-box {
    margin-top: 22px;
    padding: 14px;
    background: #faf8ff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.campaign-share-box code {
    display: block;
    overflow-wrap: anywhere;
    margin-top: 8px;
    color: var(--ink);
    font-size: .78rem;
}

.campaign-share-box pre {
    max-height: 260px;
    margin: 10px 0 0;
    padding: 12px;
    overflow: auto;
    color: var(--ink);
    background: #dcf8c6;
    border: 1px solid #c4ecad;
    border-radius: 10px;
    font-family: inherit;
    font-size: .84rem;
    line-height: 1.45;
    white-space: pre-wrap;
}

.mini-toast {
    position: fixed;
    left: 50%;
    bottom: 34px;
    z-index: 1300;
    transform: translateX(-50%);
    padding: 13px 18px;
    color: #fff;
    background: rgba(34, 34, 34, .92);
    border-radius: 999px;
    box-shadow: var(--shadow);
    font-weight: 800;
}

.project-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.project-thumb {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 155px;
    overflow: hidden;
    background: #f4f1fb;
}

.project-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.project-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 16px;
}

.project-card h5 {
    margin: 10px 0 6px;
    font-size: 1rem;
    line-height: 1.25;
    font-weight: 950;
}

.project-card p {
    margin: 0;
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.55;
}

.testimonial-card {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 16px;
    align-items: start;
    padding: 20px;
}

.testimonial-avatar {
    width: 58px !important;
    height: 58px !important;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--primary-soft);
}

.testimonial-body {
    min-width: 0;
}

.testimonial-card p {
    color: var(--muted);
    line-height: 1.6;
}

.project-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--success);
    background: #e8fff6;
    border-radius: 999px;
    padding: .32rem .62rem;
    font-size: .72rem;
    font-weight: 900;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 62px;
    padding: 14px 16px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 10px;
    box-shadow: 0 12px 30px rgba(30, 26, 72, .06);
}

.contact-item i {
    display: grid;
    width: 34px;
    height: 34px;
    place-items: center;
    color: var(--primary);
    background: var(--primary-soft);
    border-radius: 50%;
}

.site-footer {
    padding: 58px 0 28px;
    color: #fff;
    background:
        radial-gradient(circle at 90% 10%, rgba(168, 116, 255, .28), transparent 24%),
        linear-gradient(135deg, #201064, #32149a 52%, #14082f);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 34px;
}

.footer-brand {
    color: #fff;
}

.site-footer p {
    max-width: 360px;
    margin: 16px 0 0;
    color: rgba(255, 255, 255, .78);
    line-height: 1.7;
}

.site-footer h5 {
    margin-bottom: 14px;
    font-weight: 950;
}

.site-footer a {
    display: block;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, .82);
    font-weight: 700;
}

.site-footer a:hover {
    color: #fff;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    margin-top: 34px;
    padding-top: 22px;
    color: rgba(255, 255, 255, .7);
    border-top: 1px solid rgba(255, 255, 255, .16);
}

.about-hero {
    padding: 145px 0 70px;
    background:
        radial-gradient(circle at 85% 22%, rgba(111, 53, 232, .16), transparent 20%),
        linear-gradient(180deg, #fff, #faf8ff);
}

.about-hero h1 {
    max-width: 720px;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    line-height: 1.06;
    font-weight: 950;
}

.about-hero p {
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.about-hero-image {
    overflow: hidden;
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.about-hero-image img {
    display: block;
    width: 100%;
    height: 440px;
    object-fit: cover;
}

.about-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.about-metrics div,
.value-card,
.executive-card,
.about-process {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: 0 14px 38px rgba(30, 26, 72, .08);
}

.about-metrics div {
    padding: 22px;
}

.about-metrics strong {
    display: block;
    color: var(--primary);
    font-size: 1.7rem;
    font-weight: 950;
}

.about-metrics span {
    color: var(--muted);
}

.about-story-grid {
    display: grid;
    grid-template-columns: .8fr 1.2fr;
    gap: 48px;
    align-items: start;
}

.about-story-grid h2,
.about-process h2,
.about-cta h2 {
    font-weight: 950;
}

.about-story-grid p,
.about-process p {
    color: var(--muted);
    line-height: 1.8;
}

.value-card {
    height: 100%;
    padding: 24px;
}

.value-card i {
    color: var(--primary);
    font-size: 2rem;
}

.value-card h5 {
    margin: 14px 0 8px;
    font-weight: 950;
}

.value-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.executive-card {
    overflow: hidden;
}

.executive-card img {
    width: 100%;
    height: 210px;
    object-fit: cover;
}

.executive-card div {
    padding: 20px;
}

.executive-card h5 {
    margin: 0;
    font-weight: 950;
}

.executive-card span {
    display: block;
    margin: 6px 0 12px;
    color: var(--primary);
    font-weight: 900;
}

.executive-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6;
}

.about-process {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 36px;
    padding: 34px;
}

.process-list {
    display: grid;
    gap: 14px;
}

.process-list div {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px;
    background: #faf8ff;
    border-radius: 10px;
}

.process-list strong {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: #fff;
    background: var(--primary);
    border-radius: 50%;
}

.process-list span {
    color: var(--muted);
    line-height: 1.55;
}

.about-cta {
    padding: 46px 28px;
    color: #fff;
    text-align: center;
    background: linear-gradient(135deg, #4928c4, #8e55ee);
    border-radius: 18px;
    box-shadow: var(--shadow);
}

.about-cta p {
    max-width: 720px;
    margin: 12px auto 24px;
    color: rgba(255, 255, 255, .86);
    line-height: 1.7;
}

.support-chat {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1200;
}

.support-nudge {
    position: absolute;
    right: 74px;
    bottom: 10px;
    width: min(280px, calc(100vw - 112px));
    padding: 12px 14px;
    color: var(--ink);
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(111, 53, 232, .18);
    border-radius: 16px;
    box-shadow: 0 18px 46px rgba(32, 24, 72, .16);
    font-size: .86rem;
    font-weight: 800;
    backdrop-filter: blur(16px);
    animation: supportNudgeIn .22s ease-out;
}

.support-chat.seen .support-nudge,
.support-chat.nudge-hidden .support-nudge {
    display: none;
}

@keyframes supportNudgeIn {
    from { opacity: 0; transform: translateY(8px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-toggle {
    position: relative;
    display: grid;
    width: 62px;
    height: 62px;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #7a39ef, #5a2ccf);
    border: 0;
    border-radius: 50%;
    box-shadow: 0 16px 34px rgba(111, 53, 232, .32);
    font-size: 1.65rem;
    transition: transform .18s ease, box-shadow .18s ease;
}

.chat-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(111, 53, 232, .38);
}

.chat-toggle i {
    transition: transform .18s ease;
}

.support-chat.open .chat-toggle i {
    transform: rotate(-8deg) scale(1.04);
}

.support-badge {
    position: absolute;
    top: -4px;
    right: -2px;
    display: grid;
    width: 22px;
    height: 22px;
    place-items: center;
    color: #fff;
    background: #ff3b66;
    border: 2px solid #fff;
    border-radius: 50%;
    font-size: .72rem;
    font-weight: 950;
    animation: badgePulse 1.6s infinite;
}

.support-chat.seen .support-badge {
    display: none;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

.chat-panel {
    position: absolute;
    right: 0;
    bottom: 76px;
    display: none;
    width: min(430px, calc(100vw - 32px));
    max-width: 92vw;
    overflow: hidden;
    background: rgba(255, 255, 255, .96);
    border: 1px solid rgba(111, 53, 232, .16);
    border-radius: 18px;
    box-shadow: 0 28px 72px rgba(32, 24, 72, .22);
    backdrop-filter: blur(18px);
}

.support-chat.open .chat-panel {
    display: block;
    animation: supportPanelIn .22s ease-out;
}

@keyframes supportPanelIn {
    from { opacity: 0; transform: translateY(10px) scale(.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.chat-header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 20px;
    color: #fff;
    background: linear-gradient(135deg, #3f24a8, #7440df);
}

.chat-header span {
    display: block;
    opacity: .84;
    font-size: .82rem;
}

.chat-close {
    color: #fff;
    background: transparent;
    border: 0;
}

.chat-body {
    display: grid;
    gap: 12px;
    padding: 16px;
}

.chat-bubble {
    margin: 0;
    padding: 12px;
    color: var(--ink);
    background: #faf8ff;
    border-radius: 12px;
}

.chat-history {
    display: grid;
    max-height: 260px;
    gap: 10px;
    overflow-y: auto;
    padding: 4px 2px 8px;
    scroll-behavior: smooth;
}

.chat-line {
    display: grid;
    max-width: 86%;
    gap: 4px;
}

.chat-line p {
    margin: 0;
    padding: 10px 12px;
    line-height: 1.45;
    border-radius: 14px;
}

.chat-line span,
.chat-empty {
    color: var(--muted);
    font-size: .76rem;
}

.chat-line.from-customer {
    justify-self: end;
    text-align: right;
}

.chat-line.from-customer p {
    color: #fff;
    background: linear-gradient(135deg, #7a39ef, #5a2ccf);
    border-bottom-right-radius: 4px;
}

.chat-line.from-admin {
    justify-self: start;
}

.chat-line.from-admin p,
.chat-empty {
    color: var(--ink);
    background: #f4efff;
    border: 1px solid #e7dcff;
    border-bottom-left-radius: 4px;
}

.chat-empty {
    padding: 10px 12px;
    border-radius: 12px;
    text-align: center;
}

.support-chat-form {
    display: grid;
    gap: 10px;
}

.support-chat-form textarea {
    min-height: 108px;
    resize: vertical;
    border-radius: 14px;
    background: #fff;
}

.support-chat-form .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    border-radius: 12px;
}

.support-chat-form small {
    color: var(--muted);
    font-size: .78rem;
    text-align: center;
}

@media (max-width: 767px) {
    .support-chat {
        right: 16px;
        bottom: 16px;
    }

    .chat-panel {
        max-width: calc(100vw - 32px);
    }

    .support-nudge {
        right: 68px;
        width: min(250px, calc(100vw - 106px));
    }

    .wallet-screen {
        gap: 16px;
        padding: 16px 12px;
        border-radius: 14px;
    }

    .wallet-warning {
        padding: 12px;
        font-size: .86rem;
        border-radius: 12px;
    }

    .wallet-token {
        gap: 8px;
        font-size: 1.2rem;
    }

    .wallet-coin {
        width: 34px;
        height: 34px;
    }

    .wallet-token b {
        padding: 3px 9px;
        font-size: .78rem;
    }

    .wallet-qr-card {
        width: 100%;
        padding: 14px;
        border-radius: 12px;
    }

    .wallet-qr-card .qr-code {
        width: min(68vw, 236px);
    }

    .wallet-actions {
        gap: 12px;
    }

    .wallet-action-btn {
        font-size: .82rem;
    }

    .wallet-action-btn i {
        width: 54px;
        height: 54px;
        border-radius: 14px;
        font-size: 1.35rem;
    }

    .support-thread-header,
    .support-thread-form {
        display: grid;
        grid-template-columns: 1fr;
    }

    .support-thread-form .btn {
        width: 100%;
    }

    .thread-line {
        max-width: 92%;
    }
}

.admin-page {
    padding-top: 132px;
}

.admin-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-actions.compact {
    gap: 6px;
}

.admin-metrics {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.admin-list-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.admin-list-row:last-child {
    border-bottom: 0;
}

.admin-list-row span,
.admin-table span {
    display: block;
    color: var(--muted);
    font-size: .86rem;
}

.admin-table-wrap {
    overflow-x: auto;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
}

.admin-table {
    width: 100%;
    min-width: 880px;
    border-collapse: collapse;
}

.admin-table th,
.admin-table td {
    padding: 16px;
    vertical-align: middle;
    border-bottom: 1px solid var(--line);
}

.admin-table th {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: #faf9ff;
}

.admin-table td:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.admin-content-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
    align-items: start;
}

.admin-form label {
    margin-bottom: 8px;
    color: var(--ink);
    font-size: .88rem;
    font-weight: 800;
}

.admin-form .form-check {
    display: flex;
    gap: 10px;
    align-items: center;
}

.admin-inline-form {
    display: flex;
    gap: 8px;
    min-width: 230px;
}

.message-admin-list {
    display: grid;
    gap: 18px;
}

.support-message-card {
    display: grid;
    gap: 12px;
}

.message-card-head,
.message-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
}

.message-card-head span,
.message-meta {
    color: var(--muted);
    font-size: .9rem;
}

.message-text,
.message-reply p {
    margin: 0;
    color: var(--ink);
    line-height: 1.7;
}

.admin-chat-history {
    display: grid;
    gap: 10px;
    padding: 12px;
    background: #fbfaff;
    border: 1px solid #eee7ff;
    border-radius: 14px;
}

.admin-chat-line {
    display: grid;
    max-width: 78%;
    gap: 4px;
}

.admin-chat-line.from-admin {
    justify-self: end;
    text-align: right;
}

.admin-chat-line p {
    margin: 0;
    padding: 10px 12px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    line-height: 1.55;
}

.admin-chat-line.from-admin p {
    color: #fff;
    background: linear-gradient(135deg, #7a39ef, #5a2ccf);
    border-color: transparent;
}

.admin-chat-line span {
    color: var(--muted);
    font-size: .76rem;
}

.message-reply {
    padding: 12px;
    background: #f8f4ff;
    border: 1px solid #e7dcff;
    border-radius: 12px;
}

.message-reply span {
    color: var(--muted);
    font-size: .82rem;
}

.message-reply-form label {
    margin-bottom: 8px;
    color: var(--ink);
    font-weight: 900;
}

.support-thread-card {
    display: grid;
    gap: 18px;
    max-width: 880px;
    margin: 0 auto;
    padding: clamp(18px, 3vw, 28px);
    background: rgba(255, 255, 255, .96);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 28px 80px rgba(32, 24, 72, .1);
}

.support-thread-header {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--line);
}

.support-thread-header strong {
    display: block;
    color: var(--ink);
    font-size: 1.2rem;
}

.support-thread-header span {
    color: var(--muted);
}

.support-thread-history {
    display: grid;
    gap: 12px;
    max-height: 520px;
    min-height: 300px;
    overflow-y: auto;
    padding: 8px;
    background: #fbfaff;
    border: 1px solid #eee7ff;
    border-radius: 16px;
}

.support-thread-intro {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    max-width: 620px;
    padding: 14px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
}

.support-thread-intro i {
    color: var(--primary);
    font-size: 1.25rem;
}

.support-thread-intro p {
    margin: 0;
}

.thread-line {
    display: grid;
    max-width: min(76%, 620px);
    gap: 5px;
}

.thread-line p {
    margin: 0;
    padding: 12px 14px;
    line-height: 1.55;
    border-radius: 16px;
}

.thread-line span {
    color: var(--muted);
    font-size: .78rem;
}

.thread-line.from-customer {
    justify-self: end;
    text-align: right;
}

.thread-line.from-customer p {
    color: #fff;
    background: linear-gradient(135deg, #7a39ef, #5a2ccf);
    border-bottom-right-radius: 5px;
}

.thread-line.from-admin {
    justify-self: start;
}

.thread-line.from-admin p {
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-bottom-left-radius: 5px;
}

.support-thread-form {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: end;
}

.support-thread-form textarea {
    min-height: 118px;
    border-radius: 14px;
    resize: vertical;
}

.support-thread-form .btn {
    min-width: 132px;
    min-height: 50px;
    border-radius: 14px;
}

.status-pill {
    display: inline-flex !important;
    width: fit-content;
    margin: 2px 0;
    padding: 6px 10px;
    color: #5b5575 !important;
    background: #f1ecff;
    border-radius: 999px;
    font-size: .76rem !important;
    font-weight: 900;
}

.status-pill.confirmed {
    color: #087443 !important;
    background: #dff8ea;
}

.status-pill.rejected {
    color: #9b1c31 !important;
    background: #ffe4e9;
}

.status-pill.pending {
    color: #8a5c00 !important;
    background: #fff2cc;
}

.crypto-confirm-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 22px;
    align-items: center;
}

.qr-code {
    width: 220px;
    height: 220px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.confirming-box {
    display: flex;
    gap: 14px;
    align-items: center;
    margin: 22px 0;
    padding: 18px;
    color: #4b2b00;
    background: #fff7e6;
    border: 1px solid #ffe0a3;
    border-radius: 12px;
}

.confirming-box i {
    color: #d48b00;
    font-size: 2rem;
}

.confirming-box span {
    display: block;
    color: #6c5a3a;
}

@media (max-width: 991px) {
    .contact-grid,
    .partner-list {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-story-grid,
    .about-process {
        grid-template-columns: 1fr;
    }

    .admin-metrics {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-content-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .partner-strip,
    .method-tabs,
    .crypto-confirm-grid,
    .contact-grid,
    .partner-list,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .about-metrics {
        grid-template-columns: 1fr;
    }

    .admin-page {
        padding-top: 112px;
    }

    .admin-metrics {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .project-thumb {
        max-height: 140px;
    }

    .testimonial-card {
        grid-template-columns: 48px 1fr;
        padding: 16px;
    }

    .testimonial-avatar {
        width: 48px !important;
        height: 48px !important;
    }
}


/* Impact report cards */
.impact-overview {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.impact-overview-wide {
    margin-top: -34px;
}

.impact-stat {
    display: grid;
    gap: 6px;
    align-content: start;
    min-height: 132px;
    padding: 18px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, .92);
    box-shadow: var(--shadow-soft);
}

.impact-stat i {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--primary);
    background: var(--primary-soft);
    font-size: 1.1rem;
}

.impact-stat strong {
    color: var(--ink);
    font-size: 1.32rem;
    line-height: 1.1;
    font-weight: 950;
}

.impact-stat span {
    color: var(--muted);
    font-size: .92rem;
    line-height: 1.45;
    font-weight: 750;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.trust-card {
    display: grid;
    gap: 7px;
    padding: 16px;
    border: 1px solid rgba(112, 53, 239, .16);
    border-radius: 8px;
    background: linear-gradient(180deg, #fff, #fbf9ff);
}

.trust-card i {
    color: var(--primary);
    font-size: 1.2rem;
}

.trust-card strong {
    color: var(--ink);
    font-size: .96rem;
    font-weight: 900;
}

.trust-card span {
    color: var(--muted);
    font-size: .9rem;
    line-height: 1.55;
}

.project-card-pro {
    border-radius: 8px;
    transition: transform .18s ease, box-shadow .18s ease;
}

.project-card-pro:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 42px rgba(32, 22, 74, .13);
}

.project-card-pro .project-thumb {
    position: relative;
    max-height: none;
    border-radius: 8px 8px 0 0;
}

.project-card-pro .project-thumb::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 10, 35, .08), rgba(13, 10, 35, .34));
    pointer-events: none;
}

.project-badge {
    position: absolute;
    left: 12px;
    bottom: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: calc(100% - 24px);
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    font-size: .76rem;
    line-height: 1;
    font-weight: 900;
    box-shadow: 0 10px 24px rgba(13, 10, 35, .18);
}

.project-badge i { color: var(--primary); }
.project-badge.badge-funded i { color: #0d9f6e; }
.project-badge.badge-treatment i { color: #7c3aed; }
.project-badge.badge-relief i { color: #0f75bc; }
.project-badge.badge-life i { color: #e11d48; }

.project-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 850;
}

.project-card-pro h5 {
    font-size: 1.04rem;
    line-height: 1.32;
}

.project-card-pro p {
    font-size: .96rem;
    line-height: 1.68;
}

.impact-metrics-mini {
    display: grid;
    gap: 7px;
    margin-top: 14px;
}

.impact-metrics-mini span {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #33275f;
    font-size: .86rem;
    line-height: 1.35;
    font-weight: 800;
}

.impact-metrics-mini i {
    color: #10b981;
    line-height: 1.2;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 16px;
}

.project-actions .btn {
    border-radius: 8px;
    font-weight: 900;
    line-height: 1.15;
}

.three-actions .btn {
    flex: 1 1 108px;
}

.project-report-hero {
    padding-bottom: 72px;
}

@media (max-width: 1199px) {
    .impact-overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .impact-overview,
    .trust-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .impact-overview-wide {
        margin-top: -18px;
    }

    .impact-stat {
        min-height: 118px;
        padding: 15px;
    }

    .project-card-pro p {
        font-size: 1rem;
        line-height: 1.72;
    }
}

@media (max-width: 575px) {
    .impact-overview,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .project-actions .btn {
        flex: 1 1 100%;
    }
}


.campaign-urgency {
    display: grid;
    gap: 6px;
    margin: 14px 0 10px;
}

.campaign-urgency > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.campaign-urgency strong {
    color: var(--primary);
    font-size: .92rem;
    font-weight: 950;
}

.campaign-urgency span,
.campaign-urgency small {
    color: var(--muted);
    font-size: .84rem;
    line-height: 1.45;
    font-weight: 800;
}

.impact-kicker {
    color: var(--ink);
    font-size: 1.1rem;
    font-weight: 950;
}


.editable-impact-form {
    padding: 22px;
}

.admin-subheading {
    color: var(--ink);
    font-size: 1rem;
    font-weight: 950;
}

.admin-edit-box {
    display: grid;
    gap: 8px;
    padding: 14px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: #fff;
}

.admin-edit-box label {
    margin: 0;
    color: var(--muted);
    font-size: .78rem;
    font-weight: 900;
    text-transform: uppercase;
}
