/* =========================================================
   DONASI PAGE — PREMIUM DARK RELIGI STYLE
   UPDATED FOLLOWING SECOND THEME
========================================================= */

:root{
    --bg:#0d1a12;
    --bg-2:#111f17;
    --bg-card:#162212;
    --bg-card-2:#1c2e1c;

    --primary:#2e9958;
    --primary-light:#3ab86a;
    --primary-dark:#1a6b3c;

    --gold:#c8a020;
    --gold-light:#f0c83a;

    --text:#dde8d8;
    --muted:#7a9e80;
    --white:#ffffff;

    --border:rgba(200,160,32,.15);
    --border-green:rgba(46,153,88,.18);

    --shadow:0 18px 50px rgba(0,0,0,.45);

    --radius:24px;
    --radius-sm:14px;

    --transition:.35s cubic-bezier(.4,0,.2,1);

    --font-serif:'Playfair Display',serif;
    --font-body:'Poppins',sans-serif;
}

/* =========================================================
   RESET
========================================================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:var(--font-body);
    background:var(--bg);
    color:var(--text);
    overflow-x:hidden;
    line-height:1.7;
}

::-webkit-scrollbar{
    width:5px;
}

::-webkit-scrollbar-track{
    background:var(--bg);
}

::-webkit-scrollbar-thumb{
    background:var(--gold);
    border-radius:10px;
}

/* =========================================================
   SECTION
========================================================= */

.donasi-section{
    position:relative;
    min-height:100vh;
    padding:90px 24px;
    overflow:hidden;
    background:
        radial-gradient(circle at top left,
        rgba(46,153,88,.12),
        transparent 35%),

        radial-gradient(circle at bottom right,
        rgba(200,160,32,.10),
        transparent 35%),

        var(--bg);
}

.donasi-section::before{
    content:'';
    position:absolute;
    inset:0;

    background-image:
        repeating-linear-gradient(
            45deg,
            rgba(255,255,255,.015) 0px,
            rgba(255,255,255,.015) 1px,
            transparent 1px,
            transparent 32px
        ),
        repeating-linear-gradient(
            -45deg,
            rgba(255,255,255,.015) 0px,
            rgba(255,255,255,.015) 1px,
            transparent 1px,
            transparent 32px
        );

    pointer-events:none;
}

.container{
    position:relative;
    z-index:2;
    max-width:1250px;
    margin:auto;
}

/* =========================================================
   BACK BUTTON
========================================================= */

.back-home-btn{
    position:fixed;
    top:24px;
    left:24px;

    display:inline-flex;
    align-items:center;
    gap:10px;

    background:rgba(22,34,18,.9);
    backdrop-filter:blur(14px);

    border:1px solid var(--border);

    color:var(--text);

    padding:14px 22px;

    border-radius:999px;

    text-decoration:none;
    font-size:14px;
    font-weight:600;

    z-index:999;
    transition:var(--transition);

    box-shadow:var(--shadow);
}

.back-home-btn:hover{
    transform:translateY(-3px);
    color:var(--gold);
    border-color:var(--gold);
    background:rgba(22,34,18,.96);
}

/* =========================================================
   HEADER
========================================================= */

.donasi-header{
    text-align:center;
    margin-bottom:60px;
}

.donasi-badge{
    display:inline-flex;
    align-items:center;
    gap:8px;

    padding:10px 18px;

    border-radius:999px;

    background:rgba(200,160,32,.08);
    border:1px solid rgba(200,160,32,.22);

    color:var(--gold);

    font-size:12px;
    letter-spacing:1.5px;
    text-transform:uppercase;
    font-weight:700;

    margin-bottom:22px;
}

.donasi-header h1{
    font-family:var(--font-serif);
    font-size:clamp(42px,6vw,72px);
    line-height:1.1;
    color:var(--white);

    margin-bottom:20px;
}

.donasi-header h1 span{
    color:var(--gold);
    font-style:italic;
}

.donasi-header p{
    max-width:760px;
    margin:auto;

    color:var(--muted);

    font-size:16px;
    line-height:1.9;
}

/* =========================================================
   STATS
========================================================= */

.stats-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:24px;

    margin-bottom:40px;
}

.stat-card{
    background:var(--bg-card);

    border:1px solid var(--border-green);

    border-radius:var(--radius);

    padding:28px;

    display:flex;
    align-items:center;
    gap:20px;

    transition:var(--transition);

    box-shadow:var(--shadow);
}

.stat-card:hover{
    transform:translateY(-5px);
    border-color:rgba(200,160,32,.25);
}

.stat-icon{
    width:74px;
    height:74px;

    border-radius:22px;

    background:linear-gradient(
        135deg,
        var(--primary-dark),
        var(--primary)
    );

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:28px;
    color:white;

    flex-shrink:0;

    box-shadow:0 10px 24px rgba(46,153,88,.25);
}

.stat-content h3{
    font-family:var(--font-serif);
    font-size:32px;
    color:var(--gold);

    margin-bottom:4px;
}

.stat-content span{
    color:var(--muted);
    font-size:14px;
}

/* =========================================================
   PROGRESS
========================================================= */

.progress-card{
    background:var(--bg-card);

    border:1px solid var(--border);

    border-radius:var(--radius);

    padding:30px;

    margin-bottom:40px;

    box-shadow:var(--shadow);
}

.progress-top{
    display:flex;
    justify-content:space-between;
    align-items:center;

    margin-bottom:18px;
}

.progress-top span{
    color:var(--muted);
    font-weight:500;
}

.progress-top strong{
    font-family:var(--font-serif);
    font-size:24px;
    color:var(--gold);
}

.progress-bar{
    width:100%;
    height:18px;

    background:rgba(255,255,255,.05);

    border-radius:999px;

    overflow:hidden;

    margin-bottom:14px;
}

.progress-fill{
    height:100%;
    width:0%;

    border-radius:999px;

    background:linear-gradient(
        90deg,
        var(--primary),
        var(--gold)
    );

    transition:1s;
}

.progress-info{
    display:flex;
    justify-content:space-between;

    font-size:13px;
    color:var(--muted);
}

/* =========================================================
   REKENING
========================================================= */

.rekening-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:24px;

    margin-bottom:40px;
}

.rekening-card{
    background:var(--bg-card);

    border:1px solid var(--border-green);

    border-radius:var(--radius);

    padding:28px;

    transition:var(--transition);

    box-shadow:var(--shadow);
}

.rekening-card:hover{
    transform:translateY(-5px);
    border-color:rgba(200,160,32,.22);
}

.rekening-header{
    display:flex;
    align-items:center;
    gap:14px;

    margin-bottom:22px;
}

.rekening-header i{
    width:58px;
    height:58px;

    border-radius:18px;

    background:rgba(46,153,88,.12);

    color:var(--primary-light);

    display:flex;
    align-items:center;
    justify-content:center;

    font-size:22px;
}

.rekening-header h3{
    font-family:var(--font-serif);
    font-size:24px;
    color:var(--white);
}

.rekening-number{
    display:flex;
    justify-content:space-between;
    align-items:center;

    padding:18px;

    border-radius:18px;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.05);

    margin-bottom:18px;
}

.rekening-number span{
    color:var(--gold);

    font-size:22px;
    font-weight:700;

    letter-spacing:1px;
}

.rekening-number button{
    width:44px;
    height:44px;

    border:none;
    border-radius:14px;

    background:linear-gradient(
        135deg,
        var(--primary-dark),
        var(--primary)
    );

    color:white;

    cursor:pointer;

    transition:var(--transition);
}

.rekening-number button:hover{
    background:linear-gradient(
        135deg,
        var(--gold),
        var(--gold-light)
    );

    color:#111;
}

.rekening-card p{
    color:var(--muted);
    line-height:1.8;
}

/* =========================================================
   QRIS
========================================================= */

.qris-box{
    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.05);

    border-radius:22px;

    padding:20px;

    text-align:center;

    margin-bottom:16px;
}

.qris-box img{
    width:100%;
    max-width:240px;

    border-radius:18px;
}

/* =========================================================
   FORM CARD
========================================================= */

.donasi-form-card{
    background:var(--bg-card);

    border:1px solid var(--border);

    border-radius:34px;

    padding:42px;

    box-shadow:var(--shadow);
}

.form-title{
    text-align:center;
    margin-bottom:36px;
}

.form-title h2{
    font-family:var(--font-serif);
    font-size:40px;

    color:var(--white);

    margin-bottom:12px;
}

.form-title h2 span{
    color:var(--gold);
}

.form-title p{
    color:var(--muted);
}

/* =========================================================
   FORM
========================================================= */

.form-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:22px;

    margin-bottom:22px;
}

.input-group{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.input-group label{
    font-size:13px;
    letter-spacing:.5px;
    color:var(--muted);
    font-weight:600;
}

.input-box{
    position:relative;
}

.input-box i{
    position:absolute;
    top:50%;
    left:18px;

    transform:translateY(-50%);

    color:var(--gold);
}

.input-box input,
.input-box select{
    width:100%;
    height:58px;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.08);

    border-radius:18px;

    padding:0 18px 0 52px;

    color:var(--text);

    font-size:15px;

    outline:none;

    transition:var(--transition);
}

.input-box input:focus,
.input-box select:focus,
textarea:focus{
    border-color:var(--gold);

    background:rgba(200,160,32,.05);

    box-shadow:0 0 0 4px rgba(200,160,32,.08);
}

textarea{
    width:100%;

    min-height:140px;

    background:rgba(255,255,255,.03);

    border:1px solid rgba(255,255,255,.08);

    border-radius:22px;

    padding:18px;

    color:var(--text);

    resize:none;

    outline:none;

    transition:var(--transition);
}

/* =========================================================
   QUICK BUTTON
========================================================= */

.quick-amount{
    display:flex;
    flex-wrap:wrap;
    gap:12px;

    margin:24px 0;
}

.quick-amount button{
    border:none;

    background:rgba(255,255,255,.04);

    border:1px solid rgba(255,255,255,.06);

    color:var(--text);

    padding:12px 18px;

    border-radius:14px;

    cursor:pointer;

    font-weight:600;

    transition:var(--transition);
}

.quick-amount button:hover{
    background:rgba(200,160,32,.12);
    border-color:rgba(200,160,32,.25);
    color:var(--gold);
}

/* =========================================================
   FILE
========================================================= */

input[type="file"]{
    background:rgba(255,255,255,.03);

    border:2px dashed rgba(255,255,255,.08);

    border-radius:20px;

    padding:18px;

    color:var(--muted);
}

/* =========================================================
   CHECKBOX
========================================================= */

.checkbox-group{
    display:flex;
    align-items:flex-start;
    gap:12px;

    margin:26px 0;
}

.checkbox-group input{
    width:18px;
    height:18px;

    accent-color:var(--gold);

    margin-top:4px;
}

.checkbox-group label{
    color:var(--muted);
    line-height:1.8;
}

/* =========================================================
   SUBMIT BUTTON
========================================================= */

.submit-btn{
    width:100%;
    height:64px;

    border:none;
    border-radius:20px;

    background:linear-gradient(
        135deg,
        var(--primary-dark),
        var(--primary)
    );

    color:white;

    font-size:16px;
    font-weight:600;

    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;

    cursor:pointer;

    transition:var(--transition);

    box-shadow:0 10px 24px rgba(46,153,88,.25);
}

.submit-btn:hover{
    transform:translateY(-3px);

    background:linear-gradient(
        135deg,
        var(--primary),
        var(--primary-light)
    );
}

/* =========================================================
   SUCCESS
========================================================= */

.success-box{
    margin-top:30px;

    padding:34px;

    border-radius:26px;

    background:rgba(46,153,88,.08);

    border:1px solid rgba(46,153,88,.22);

    text-align:center;
}

.success-box i{
    font-size:70px;
    color:var(--primary-light);

    margin-bottom:20px;
}

.success-box h3{
    color:var(--white);

    margin-bottom:10px;

    font-family:var(--font-serif);
}

.success-box p{
    color:var(--muted);
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media(max-width:992px){

    .donasi-header h1{
        font-size:52px;
    }

}

@media(max-width:768px){

    .donasi-section{
        padding:120px 16px 60px;
    }

    .back-home-btn{
        top:16px;
        left:16px;
    }

    .donasi-header h1{
        font-size:40px;
    }

    .donasi-form-card{
        padding:28px;
    }

    .form-title h2{
        font-size:32px;
    }

    .progress-info{
        flex-direction:column;
        gap:8px;
    }

}

@media(max-width:480px){

    .donasi-header h1{
        font-size:34px;
    }

    .stat-card{
        padding:22px;
    }

    .rekening-number span{
        font-size:18px;
    }

    .submit-btn{
        font-size:15px;
    }

}
.toast{

    position:fixed;
    top:30px;
    right:30px;
    z-index:99999;

    background:#111;
    color:#fff;

    padding:14px 20px;

    border-radius:14px;

    transform:translateY(-20px);
    opacity:0;

    transition:.3s;

    box-shadow:
    0 10px 30px rgba(0,0,0,.2);

}

.toast.show{

    transform:translateY(0);
    opacity:1;

}

.toast-error{

    background:#d62828;

}

.toast-success{

    background:#1b7f3b;

}