/* =========================================
   RZ DOWNLOADER - DONASI
   Neo Brutalism v2
========================================= */

:root {
    --bg: #F7F7F7;
    --card: #FFFFFF;
    --text: #111111;

    --yellow: #FFD84D;
    --blue: #8BE9FD;
    --green: #7DFF9A;
    --red: #FF7B7B;
    --pink: #FF90E8;

    --border: 4px solid #111;
    --border-sm: 3px solid #111;
    
    --shadow: 8px 8px 0 #111;
    --shadow-hover: 12px 12px 0 #111;
    --shadow-sm: 4px 4px 0 #111;
    --shadow-btn: 6px 6px 0 #111;

    --radius: 18px;
    --radius-sm: 10px;

    --container: 1180px;
    --transition: 0.2s ease;
}

/* =========================================
   GLOBAL RESETS (Sama dengan style.css)
========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html { scroll-behavior: smooth; }

body {
    font-family: "Plus Jakarta Sans", sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button, input { font: inherit; color: inherit; background: none; border: none; outline: none; cursor: pointer; }

main {
    width: min(var(--container), 92%);
    margin: auto;
    padding: 26px 0 48px;
}

/* Scrollbar Customization */
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--bg); border-left: var(--border); }
::-webkit-scrollbar-thumb { background: var(--text); border-left: var(--border); border-bottom: var(--border); }

/* =========================================
   OVERLAY
========================================= */
.overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
    z-index: 998;
}
.overlay.active { opacity: 1; visibility: visible; }

/* =========================================
   NAVBAR & SIDEBAR
========================================= */
.navbar {
    position: sticky;
    top: 0;
    z-index: 900;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    background: var(--card);
    border-bottom: var(--border);
    box-shadow: 0 6px 0 #111;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-icon {
    background: var(--text); color: var(--card); font-weight: 900; font-size: 1.2rem;
    padding: 6px 10px; border-radius: var(--radius-sm); transform: rotate(-3deg);
}
.logo-text h2 { font-size: 24px; font-weight: 900; line-height: 1; }
.logo-text span { font-size: 12px; font-weight: 800; opacity: 0.75; }

.menu-btn {
    width: 50px; height: 50px; display: grid; place-items: center; font-size: 24px;
    background: var(--yellow); border: var(--border); box-shadow: var(--shadow-sm);
    border-radius: var(--radius-sm); transition: var(--transition);
}
.menu-btn:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow); }
.menu-btn:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 #111; }

.sidebar {
    position: fixed; left: -320px; top: 0; width: 295px; height: 100vh;
    background: var(--card); border-right: var(--border); padding: 22px;
    display: flex; flex-direction: column; gap: 12px; transition: 0.3s; z-index: 999;
}
.sidebar.active { left: 0; }
.sidebar-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; border-bottom: var(--border); padding-bottom: 14px; }
.sidebar-head h2 { font-size: 24px; font-weight: 900; }
#closeMenu {
    width: 46px; height: 46px; display: grid; place-items: center; font-size: 24px;
    background: var(--red); border: var(--border); box-shadow: var(--shadow-sm); border-radius: var(--radius-sm);
}

.sidebar > a {
    display: flex; align-items: center; gap: 12px; padding: 14px 16px;
    background: var(--card); border: var(--border); box-shadow: var(--shadow-btn);
    font-weight: 800; border-radius: var(--radius-sm); transition: var(--transition);
}
.sidebar > a:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow); background: var(--bg); }
.sidebar > a.active { background: var(--blue); }

/* =========================================
   HERO
========================================= */
.hero {
    text-align: center;
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px;
    background: var(--pink); border: var(--border); box-shadow: var(--shadow-sm);
    font-size: 14px; font-weight: 900; border-radius: var(--radius); margin-bottom: 18px;
    transform: rotate(-2deg);
}
.hero h1 { font-size: clamp(36px, 5vw, 54px); font-weight: 900; line-height: 1.1; margin-bottom: 18px; text-transform: uppercase; }
.hero h1 span { display: inline-block; margin-top: 10px; padding: 8px 18px; background: var(--yellow); border: var(--border); box-shadow: var(--shadow-sm); border-radius: var(--radius); }
.hero p { font-size: 17px; font-weight: 600; opacity: 0.8; line-height: 1.7; }

/* =========================================
   DONATION CARD
========================================= */
.donation-section { margin: 40px 0; }
.donation-card {
    background: var(--yellow);
    padding: 40px;
    border: var(--border);
    box-shadow: var(--shadow-hover);
    border-radius: var(--radius);
}
.donation-head {
    display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px;
}
.donation-badge {
    display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 900;
    background: var(--card); padding: 8px 16px; border: var(--border-sm); border-radius: 30px; margin-bottom: 12px; box-shadow: var(--shadow-sm);
}
.donation-head h2 { font-size: 32px; font-weight: 900; margin-bottom: 8px; }
.donation-head p { font-weight: 600; font-size: 15px; opacity: 0.9; max-width: 400px; }
.donation-icon {
    font-size: 40px; background: var(--card); padding: 16px; border: var(--border); border-radius: 50%; box-shadow: var(--shadow-sm);
}

.donation-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    align-items: start;
}

/* QRIS BOX */
.donation-qris {
    background: var(--card);
    padding: 24px;
    border: var(--border);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    text-align: center;
}
.qris-box {
    border: var(--border-sm);
    border-radius: var(--radius-sm);
    padding: 10px;
    margin-bottom: 16px;
    background: var(--bg);
}
.donation-btn {
    width: 100%; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px; font-size: 16px; font-weight: 800; background: var(--green);
    border: var(--border-sm); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.donation-btn:hover { transform: translate(-3px, -3px); box-shadow: var(--shadow-btn); }
.donation-btn:active { transform: translate(2px, 2px); box-shadow: none; }

/* PAYMENT LIST */
.payment-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.payment-card {
    display: flex; justify-content: space-between; align-items: center; gap: 16px;
    background: var(--card); padding: 20px; border: var(--border);
    border-radius: var(--radius); box-shadow: var(--shadow-sm); transition: var(--transition);
}
.payment-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow); }
.payment-info { display: flex; align-items: center; gap: 16px; }
.payment-logo {
    width: 50px; height: 50px; display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 900; border: var(--border-sm); border-radius: 50%;
    background: var(--blue); box-shadow: 3px 3px 0 #111;
}
.payment-logo.dana { background: #118EEA; color: white; }
.payment-info h3 { font-size: 18px; font-weight: 900; margin-bottom: 2px; }
.payment-info p { font-size: 14px; font-weight: 600; opacity: 0.8; }

.copy-btn {
    display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 800;
    padding: 8px 16px; background: var(--bg); border: var(--border-sm); border-radius: 20px;
    transition: var(--transition);
}
.copy-btn:hover { background: var(--text); color: var(--card); }

.payment-status {
    display: inline-flex; align-items: center; gap: 4px; font-size: 13px; font-weight: 800;
    padding: 6px 12px; background: var(--green); border: 2px solid #111; border-radius: 20px;
}

.donation-note {
    display: flex; align-items: flex-start; gap: 12px; background: var(--blue);
    padding: 16px; border: var(--border-sm); border-radius: var(--radius-sm);
    font-size: 14px; font-weight: 700; box-shadow: var(--shadow-sm); margin-top: 8px;
}
.donation-note i { font-size: 24px; flex-shrink: 0; }

/* =========================================
   SUPPORT CARDS (MENGAPA DONASI)
========================================= */
.support-section { margin: 60px 0; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-badge {
    display: inline-flex; align-items: center; gap: 8px; background: var(--card); padding: 10px 18px;
    border: var(--border); border-radius: 30px; font-weight: 900; box-shadow: var(--shadow-sm); margin-bottom: 16px;
}
.section-head h2 { font-size: 32px; font-weight: 900; margin-bottom: 12px; }
.section-head p { font-size: 16px; font-weight: 600; opacity: 0.8; max-width: 600px; margin: 0 auto; }

.support-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px;
}
.support-card {
    background: var(--card); padding: 24px; border: var(--border); border-radius: var(--radius);
    box-shadow: var(--shadow); transition: var(--transition); text-align: center;
}
.support-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.support-icon {
    width: 64px; height: 64px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center;
    font-size: 30px; border: var(--border-sm); border-radius: var(--radius-sm); box-shadow: var(--shadow-sm);
}
.support-icon.yellow { background: var(--yellow); }
.support-icon.blue { background: var(--blue); }
.support-icon.green { background: var(--green); }
.support-icon.pink { background: var(--pink); }

.support-card h3 { font-size: 20px; font-weight: 900; margin-bottom: 10px; }
.support-card p { font-size: 14px; font-weight: 600; opacity: 0.8; }

/* =========================================
   THANK YOU
========================================= */
.thanks-section { margin: 60px 0; }
.thanks-card {
    background: var(--pink); border: var(--border); box-shadow: var(--shadow-hover);
    border-radius: var(--radius); padding: 40px; text-align: center; max-width: 800px; margin: 0 auto;
}
.thanks-icon {
    font-size: 50px; color: var(--red); margin-bottom: 16px; display: inline-block;
    filter: drop-shadow(4px 4px 0px #111); animation: heartbeat 1.5s infinite;
}
@keyframes heartbeat { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.15); } }
.thanks-card h2 { font-size: 32px; font-weight: 900; margin-bottom: 16px; }
.thanks-card p { font-size: 16px; font-weight: 600; line-height: 1.7; }

/* =========================================
   CONTACT SECTION
========================================= */
.contact-section { margin: 60px 0; }
.contact-grid {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; max-width: 1000px; margin: 0 auto;
}
.contact-card {
    display: flex; align-items: center; gap: 16px; background: var(--card); padding: 20px;
    border: var(--border); border-radius: var(--radius); box-shadow: var(--shadow); transition: var(--transition);
}
.contact-card:hover { transform: translate(-4px, -4px); box-shadow: var(--shadow-hover); background: var(--bg); }
.contact-icon {
    width: 54px; height: 54px; display: flex; align-items: center; justify-content: center; font-size: 28px;
    border: var(--border-sm); border-radius: 50%; box-shadow: 3px 3px 0 #111; color: var(--text);
}
.contact-icon.whatsapp { background: var(--green); }
.contact-icon.telegram { background: var(--blue); }
.contact-icon.channel { background: var(--yellow); }

.contact-content { flex: 1; }
.contact-content h3 { font-size: 18px; font-weight: 900; margin-bottom: 4px; }
.contact-content p { font-size: 14px; font-weight: 700; opacity: 0.8; }
.contact-card > i.ti-arrow-up-right { font-size: 24px; opacity: 0.5; transition: 0.3s; }
.contact-card:hover > i.ti-arrow-up-right { opacity: 1; transform: translate(3px, -3px); }

/* =========================================
   FOOTER
========================================= */
footer {
    background: var(--text); color: var(--card); padding: 48px 5% 32px; border-top: var(--border); text-align: center;
}
.footer-content { max-width: var(--container); margin: 0 auto 30px; }
.footer-content h2 { font-size: 32px; font-weight: 900; margin-bottom: 8px; }
.footer-content p { font-weight: 600; opacity: 0.8; }
.footer-links { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin: 30px 0; }
.footer-links a { padding: 10px 20px; border: 3px solid var(--card); border-radius: 30px; font-weight: 800; transition: var(--transition); }
.footer-links a:hover { background: var(--card); color: var(--text); }
.copyright { font-weight: 700; opacity: 0.7; border-top: 2px solid #333; padding-top: 24px; }

/* =========================================
   RESPONSIVE
========================================= */
@media (max-width: 992px) {
    .donation-content { grid-template-columns: 1fr; }
    .donation-head { flex-direction: column; text-align: center; gap: 20px; }
    .donation-head p { margin: 0 auto; }
}

@media (max-width: 768px) {
    .hero h1 { font-size: clamp(32px, 8vw, 42px); }
    .payment-card { flex-direction: column; align-items: flex-start; text-align: left; }
    .copy-btn { width: 100%; justify-content: center; margin-top: 10px; }
    .payment-status { align-self: flex-start; }
    .footer-links { flex-direction: column; }
    .footer-links a { width: 100%; text-align: center; }
    .sidebar { width: 280px; }
}
/* =========================================
   CLICK ANIMATION (RIPPLE EFFECT)
========================================= */
button, .donation-btn, .copy-btn, .contact-card, .sidebar > a {
    position: relative;
    overflow: hidden; /* Menjaga agar efek gelombang tidak keluar dari tombol */
}

.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15); /* Warna gelombang transparan gelap */
    transform: scale(0);
    animation: ripple-anim 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-anim {
    to {
        transform: scale(4);
        opacity: 0;
    }
}
/* =========================================
   SCROLL REVEAL ANIMATION (NEO BRUTALISM)
========================================= */
.reveal-item {
    opacity: 0;
    /* Mulai dari bawah dan agak miring sedikit */
    transform: translateY(60px) rotate(2deg);
    /* Efek pantulan (Bounce) */
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.reveal-item.show {
    opacity: 1;
    /* Kembali tegak lurus dan ke posisi awal */
    transform: translateY(0) rotate(0deg);
}
