@import url('https://fonts.googleapis.com/css2?family=Luckiest+Guy&display=swap');

:root {
    --primary: #ffffff; /* Putih */
    --text: #000000;
    --background: #FFFFFF;
    --accent: #F9D423; /* Tetap simpan kuning untuk aksen/tombol jika perlu, tapi bg putih */
    --border-width: 3px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Luckiest Guy', cursive;
    background-color: #ffffff;
    color: var(--text);
    overflow-x: hidden;
    letter-spacing: 1px;
}

h1, h2, h3, .luckiest, p, a, button, span {
    font-family: 'Luckiest Guy', cursive;
    text-transform: uppercase;
}

/* Background Marquee */
.bg-text-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    opacity: 0.15; /* Kembali ditingkatkan agar lebih terlihat */
    pointer-events: none;
    user-select: none;
    background: #ffffff;
}

.marquee-row {
    display: flex;
    overflow: hidden;
    white-space: nowrap;
}

.marquee-content {
    display: inline-block;
    font-size: 10vw; /* Lebih besar */
    font-family: 'Luckiest Guy', cursive;
    padding-right: 50px;
    animation: marquee 25s linear infinite, colorShift 8s linear infinite;
    background: linear-gradient(90deg, #FF6B6B, #F9D423, #4ADE80, #4CC9FE, #FF6B6B);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.05));
}

@keyframes colorShift {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.reverse .marquee-content {
    animation: marquee-reverse 20s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes marquee-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

/* Header */
header {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 10;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 60px;
    height: 60px;
    border: var(--border-width) solid #000;
    border-radius: 50%;
    background: #fff;
    padding: 5px;
}

.logo-text {
    font-size: 2rem;
    color: #000;
}

nav {
    background: #fff;
    border: var(--border-width) solid #000;
    border-radius: 50px;
    padding: 5px 30px;
    display: flex;
    gap: 20px;
}

nav a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 0.9rem;
    transition: transform 0.2s;
}

nav a:hover {
    transform: scale(1.1);
}

.menu-btn {
    background: var(--primary);
    border: var(--border-width) solid #000;
    border-radius: 50px;
    padding: 10px 25px;
    font-family: 'Luckiest Guy', cursive;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 4px 4px 0px #000;
    transition: 0.2s;
}

.menu-btn:active {
    box-shadow: 0px 0px 0px #000;
    transform: translate(4px, 4px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 50px 8%;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Tetap di kanan layar */
    justify-content: center;
    position: relative;
    text-align: left; /* Teks rata kiri */
}

.hero-content {
    max-width: 600px;
    z-index: 5;
}

.badge {
    background: #fff;
    border: 2px solid #000;
    border-radius: 50px;
    padding: 5px 15px;
    font-size: 0.8rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    flex-direction: row; /* Kembali normal */
}

.badge::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #FF8C00;
    border-radius: 50%;
}

.hero h1 {
    font-size: 6rem;
    line-height: 1;
    margin-bottom: 20px;
    -webkit-text-stroke: 2px #000;
    paint-order: stroke fill;
}

.hero h1 span {
    display: block;
    color: #fff;
    text-shadow: 4px 4px 0px #000;
}

.hero p {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 30px;
}

.btn-group {
    display: flex;
    gap: 20px;
}

.btn {
    padding: 10px 25px; /* Lebih kecil */
    border-radius: 50px;
    border: var(--border-width) solid #000;
    font-family: 'Luckiest Guy', cursive;
    font-size: 1.1rem; /* Lebih kecil */
    cursor: pointer;
    transition: 0.2s;
    text-decoration: none;
    display: inline-flex; /* Agar icon dan text sejajar */
    align-items: center;
    gap: 10px;
}

.btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.btn-primary {
    background: #FF8C00;
    color: #fff;
    box-shadow: 4px 4px 0px #000; /* Lebih tipis */
}

.btn-secondary {
    background: #fff;
    color: #000;
    box-shadow: 4px 4px 0px #000;
}

.btn:active {
    box-shadow: 0px 0px 0px #000;
    transform: translate(6px, 6px);
}

/* CA Card */
.ca-container {
    background: #fff; /* Kembali Putih */
    border: var(--border-width) solid #000;
    border-radius: 50px;
    padding: 12px 35px;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    cursor: pointer;
    box-shadow: 6px 6px 0px #000;
    transition: 0.2s;
    position: relative;
    color: #000; /* Font Hitam */
}

.ca-container:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px #000;
}

.ca-container:active {
    transform: translate(4px, 4px);
    box-shadow: 0px 0px 0px #000;
}

.ca-label {
    font-family: 'Luckiest Guy', cursive;
    color: #000; /* Font Hitam */
}

.ca-address {
    font-weight: 700;
    font-family: 'Luckiest Guy', cursive;
    letter-spacing: 1px;
}

.copy-hint {
    font-size: 0.7rem;
    font-weight: 700;
    opacity: 0.5;
    text-transform: uppercase;
}

.btn-group {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: flex-start; /* Kembali normal */
}

/* Character Assets */
.parachute-char {
    position: absolute;
    left: 5%;
    right: auto;
    bottom: 0; /* Nempel ke bawah/separator */
    width: 650px; /* Lebih besar */
    z-index: 10;
}

.car-char {
    position: absolute;
    left: -50px;
    bottom: -50px;
    width: 400px;
    z-index: 6;
}

@keyframes float {
    0%, 100% { transform: translateY(-50%) translateX(0); }
    50% { transform: translateY(-55%) translateX(10px); }
}

/* Stats Section */
.stats {
    display: flex;
    gap: 40px;
    margin-top: 50px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 3rem;
    font-family: 'Luckiest Guy', cursive;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
}

/* Floating Icons */
.social-icons {
    position: absolute;
    right: 5%;
    bottom: 20%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.social-icon {
    width: 60px;
    height: 60px;
    background: #FF8C00;
    border: var(--border-width) solid #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 4px 4px 0px #000;
    transition: 0.2s;
    cursor: pointer;
}

.social-icon img {
    width: 30px;
    height: 30px;
}

.social-icon:hover {
    transform: scale(1.1) rotate(5deg);
}

/* Live Badge */
.live-badge {
    position: absolute;
    right: 5%;
    bottom: 50px;
    background: #fff;
    border: var(--border-width) solid #000;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 10px;
}

.live-dot {
    width: 10px;
    height: 10px;
    background: red;
    border-radius: 50%;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

/* Cause Section (Section Two) */
.cause-section {
    background-color: #ffffff;
    padding: 100px 5%;
    position: relative;
    overflow: hidden;
}

.cause-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    position: relative;
    z-index: 5;
}

.cause-left {
    flex: 1;
    position: relative;
}

.badge-cause {
    background: var(--primary);
    border: var(--border-width) solid #000;
    border-radius: 50px;
    padding: 5px 15px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    margin-bottom: 20px;
}

.badge-cause::before {
    content: '';
    width: 8px;
    height: 8px;
    background: blue;
    border-radius: 50%;
}

.cause-title {
    font-size: 5rem;
    line-height: 0.9;
    margin-bottom: 30px;
    color: #fff; /* Font Putih */
    -webkit-text-stroke: 2px #000; /* Border Hitam */
    text-shadow: 4px 4px 0px #000;
}

.cause-desc {
    font-size: 1.2rem;
    max-width: 500px;
    margin-bottom: 30px;
    line-height: 1.4;
    text-transform: none; /* Keep original casing for readability */
}

.highlight {
    background: var(--primary);
    border: 2px solid #000;
    border-radius: 10px;
    padding: 0 5px;
}

.pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 40px;
}

.pill {
    background: #fff;
    border: 2px solid #000;
    border-radius: 50px;
    padding: 5px 15px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.pill::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #00FF00;
    border-radius: 50%;
}

.btn-group-cause {
    display: flex;
    gap: 20px;
}

.btn-cause {
    padding: 10px 25px;
    border: var(--border-width) solid #000;
    border-radius: 50px;
    text-decoration: none;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 4px 4px 0px #000;
    transition: 0.2s;
}

.btn-cause.visit { background: #007BFF; color: #fff; }
.btn-cause.follow { background: #fff; color: #000; }

.btn-cause:active {
    box-shadow: 0px 0px 0px #000;
    transform: translate(4px, 4px);
}

.hanging-orangutan {
    position: absolute;
    right: -20px;
    top: -120px; /* Diturunkan sedikit dari sebelumnya */
    width: 450px;
    opacity: 0.15;
    z-index: -1;
    pointer-events: none;
    transform: rotate(-5deg);
}

/* Mission Card */
.cause-right {
    flex: 1;
    display: flex;
    justify-content: center;
}

.mission-card {
    background: #FFF9E6;
    border: var(--border-width) solid #000;
    border-radius: 30px;
    padding: 50px;
    width: 100%;
    max-width: 500px;
    text-align: center;
    box-shadow: 15px 15px 0px #000;
    position: relative;
}

.badge-mission {
    background: #007BFF;
    color: #fff;
    border: 2px solid #000;
    border-radius: 50px;
    padding: 5px 20px;
    font-size: 0.8rem;
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.mission-large {
    font-size: 8rem;
    color: var(--accent);
    line-height: 1;
    -webkit-text-stroke: 2px #000;
}

.mission-sub {
    font-size: 2rem;
    margin-bottom: 30px;
}

.mission-text {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 20px;
    text-transform: none;
}

/* Donation Tracker */
.donation-tracker {
    background: #000;
    color: #fff;
    border-radius: 50px;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.donation-tracker .label { opacity: 0.7; }
.donation-tracker .amount { font-family: 'Luckiest Guy', cursive; color: var(--accent); font-size: 1.1rem; }
.donation-tracker .usd { opacity: 0.6; font-size: 0.8rem; }

/* Live Stats Grid */
.live-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.live-stat-item {
    background: #fff;
    border: 2px solid #000;
    border-radius: 16px;
    padding: 10px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    box-shadow: 3px 3px 0px #000;
}

.live-stat-label {
    font-size: 0.55rem;
    letter-spacing: 0.5px;
    opacity: 0.5;
    text-transform: uppercase;
}

.live-stat-value {
    font-family: 'Luckiest Guy', cursive;
    font-size: 0.9rem;
    color: #000;
}

.mission-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #fff;
    border: 2px solid #000;
    border-radius: 50px;
    padding: 10px 20px;
    font-size: 0.9rem;
}

.footer-icon {
    width: 30px;
    height: 30px;
}

.bg-large-text {
    position: absolute;
    right: -5%;
    top: 20%;
    font-size: 20vw;
    font-family: 'Luckiest Guy', cursive;
    color: rgba(0,0,0,0.03);
    pointer-events: none;
    z-index: 1;
}

/* Marquee Separator */
.marquee-separator {
    background: #111;
    border-top: var(--border-width) solid #000;
    border-bottom: var(--border-width) solid #000;
    padding: 15px 0;
    overflow: hidden;
    white-space: nowrap;
}

.sep-content {
    display: inline-block;
    animation: marquee-sep 30s linear infinite;
}

.sep-content span {
    color: #fff;
    font-size: 1.5rem;
    margin: 0 20px;
    vertical-align: middle;
}

.sep-content img {
    width: 40px;
    height: 40px;
    vertical-align: middle;
    border: 2px solid var(--primary);
    border-radius: 50%;
    background: var(--primary);
}

@keyframes marquee-sep {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* About Section (Section 3) */
.about-section {
    background-color: #ffffff;
    padding: 100px 5%;
}

.about-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 80px;
    margin-bottom: 80px;
}

.about-left { flex: 1; }
.about-right { 
    flex: 1; 
    position: relative;
    display: flex;
    justify-content: center;
}

.badge-about {
    background: var(--primary);
    border: 2px solid #000;
    border-radius: 50px;
    padding: 5px 20px;
    display: inline-block;
    margin-bottom: 20px;
}

.about-title {
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 30px;
}

.highlight-text { color: var(--accent); }

.about-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    text-transform: none;
}

.about-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 30px;
}

.speech-bubble {
    position: absolute;
    top: -40px;
    left: -20px;
    background: #fff;
    border: 3px solid #000;
    border-radius: 20px;
    padding: 10px 20px;
    font-size: 1.2rem;
    box-shadow: 4px 4px 0px #000;
    z-index: 5;
}

.monke-main {
    width: 100%;
    max-width: 550px;
    filter: drop-shadow(10px 10px 0px rgba(0,0,0,0.1));
}

/* Cards Grid */
.cards-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-card {
    border: var(--border-width) solid #000;
    border-radius: 30px;
    padding: 40px;
    text-align: left;
    box-shadow: 10px 10px 0px #000;
    transition: 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 15px 15px 0px #000;
}

.yellow-card { background: var(--primary); }
.white-card { background: #fff; }

.card-icon {
    width: 80px;
    height: 80px;
    border: 2px solid #000;
    border-radius: 50%;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    overflow: hidden;
}

.card-icon img { width: 70%; height: 70%; object-fit: contain; }

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.5;
    text-transform: none;
}

/* Responsive Styles */
@media (max-width: 1200px) {
    .hero h1 { font-size: 5rem; }
    .parachute-char { width: 400px; }
}

@media (max-width: 1024px) {
    .hero h1 { font-size: 4rem; }
    .parachute-char { width: 350px; }
    .cards-grid { grid-template-columns: 1fr; padding: 0 5%; }
    .about-container, .cause-container { 
        flex-direction: column; 
        text-align: center; 
        gap: 40px;
    }
    .about-left, .cause-left { width: 100%; }
    .btn-group, .btn-group-cause { justify-content: center; }
}

@media (max-width: 768px) {
    nav { display: none; }
    header { padding: 15px 5%; }
    .hero {
        align-items: center;
        text-align: center;
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 50px;
        display: flex;
        flex-direction: column; /* Image di atas karena urutan HTML */
    }
    .hero h1 { font-size: 3.5rem; }
    .parachute-char {
        display: block;
        position: relative;
        top: auto;
        bottom: auto; /* Reset dari desktop */
        left: auto;
        right: auto;
        transform: none;
        width: 100%;
        max-width: 320px; /* Sedikit lebih besar di mobile juga */
        margin: 20px auto;
        z-index: 10;
    }
    .hanging-orangutan { width: 300px; top: -100px; }
    .about-title, .cause-title { font-size: 3rem; }
    
    .btn-group-cause {
        flex-direction: column;
        gap: 12px;
        width: 100%;
        margin-top: 20px;
    }
    .btn-cause {
        width: 100%;
        justify-content: center;
        font-size: 0.9rem;
        padding: 15px;
    }
    .mission-large { font-size: 4rem; }
    .stats { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 2.5rem; }
    .btn-group { flex-direction: column; width: 100%; }
    .btn { width: 100%; text-align: center; }
    .stat-value { font-size: 2rem; }
    .cause-title, .about-title { font-size: 2rem; }
    .mission-large { font-size: 3rem; }
    .mission-card { padding: 30px 20px; }
}

/* Donation Tracker */
.donation-tracker {
    background: #111;
    color: #fff;
    padding: 15px;
    border-radius: 15px;
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px solid var(--accent);
    box-shadow: 4px 4px 0px #000;
}

.donation-tracker .label {
    font-size: 0.9rem;
    color: #aaa;
}

.donation-tracker .amount {
    font-size: 1.4rem;
    color: #4ade80; /* Green */
    font-weight: bold;
}

.donation-tracker .usd {
    font-size: 1rem;
    color: #4ade80;
    opacity: 0.8;
}

@media (max-width: 480px) {
    .donation-tracker {
        flex-direction: column;
        gap: 5px;
        padding: 10px;
    }
    .donation-tracker .amount {
        font-size: 1.2rem;
    }
}

/* Footer Styles */
footer {
    background-color: #ffffff;
    padding: 80px 5% 40px;
    border-top: var(--border-width) solid #000;
}

.footer-top {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.footer-branding {
    flex: 1.5;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 60px;
    height: 60px;
    border: 2px solid #000;
    border-radius: 50%;
}

.footer-logo h2 {
    font-size: 2.5rem;
}

.footer-about {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 25px;
    text-transform: none;
    color: #444;
}

.footer-charity-box {
    background: #fff;
    border: 3px solid #000;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    font-size: 0.95rem;
    line-height: 1.4;
    text-transform: none;
    box-shadow: 6px 6px 0px #000;
}

.footer-charity-box a {
    color: #000;
    text-decoration: underline;
    font-weight: bold;
}

.footer-ca-box {
    background: #111;
    color: #4ade80;
    padding: 12px 20px;
    border-radius: 50px;
    font-family: monospace;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    border: 2px solid var(--primary);
}

.footer-ca-box .dot {
    width: 10px;
    height: 10px;
    background: #4ade80;
    border-radius: 50%;
    animation: blink 1s infinite;
}

.footer-social-icons {
    display: flex;
    gap: 15px;
}

.social-circle {
    width: 50px;
    height: 50px;
    background: var(--accent);
    border: 2px solid #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 4px 4px 0px #000;
    transition: 0.2s;
}

.social-circle:hover {
    transform: translateY(-5px);
}

.social-circle img {
    width: 24px; /* Ukuran icon standar */
    height: 24px;
    object-fit: contain;
}

.footer-links-grid {
    flex: 2;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer-col h3 {
    font-size: 1.2rem;
    color: var(--accent);
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #666;
    text-decoration: none;
    font-size: 0.95rem;
    transition: 0.2s;
}

.footer-col ul li a:hover {
    color: #000;
    padding-left: 5px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column; /* Ditumpuk vertikal */
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.footer-social-icons {
    display: flex;
    gap: 20px;
}

.copyright {
    font-size: 0.9rem;
    color: #888;
}

.disclaimer {
    flex: 1;
    font-size: 0.8rem;
    color: #999;
    text-align: center;
    line-height: 1.4;
    text-transform: none;
}

.to-top-btn {
    background: var(--primary);
    border: 3px solid #000;
    border-radius: 15px;
    padding: 10px 20px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 4px 4px 0px #000;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.to-top-btn:hover {
    transform: translateY(-2px);
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@media (max-width: 1024px) {
    .footer-top { flex-direction: column; }
    .footer-links-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .footer-links-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
}

