/* ======================================= */
/* 1. SKEMA WARNA DAN VARIABEL (Green Theme) */
/* ======================================= */

:root {
    /* ======================================= */
    /* WARNA DASAR (BASE COLORS) */
    /* ======================================= */
    --color-dark-bg: #0d0d0d;
    --color-card-bg: rgba(26, 26, 26, 0.6); 
    --color-text-light: #f4f4f4;
    --color-border: rgba(51, 51, 51, 0.4); 
    
    /* Neon Green / Primary */
    --color-primary-green: #00B800; /* Hijau Utama */
    --color-neon-lime: #aaff00; /* Lime Green Neon (Highlight Jackpot) */
    --color-gradient-start: #008f00; /* Awal gradien hijau */
    --color-gradient-end: #00cc00; /* Akhir gradien hijau */
    
    /* Secondary Colors (LOGIN / DAFTAR / RTP) */
    --color-secondary-blue: #007bff; /* Biru sebagai sekunder (Daftar) */
    --color-secondary-blue-grad: #0099ff; /* Biru gradien hover */
    --color-rtp-hot: #ff4500; /* Warna Orange Kemerahan untuk RTP */
    --color-rtp-hot-grad-start: #ff6347;
    --color-rtp-hot-grad-end: #ff4500;
    
    /* Background Image (Ganti 'nama_gambar_anda.jpg' dengan file Anda) */
    --main-bg-image: url('nama_gambar_anda.jpg'); 
    
    --main-bg-pattern: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(0, 184, 0, 0.1)"/></svg>') repeat;
}

/* ======================================= */
/* 2. FONT, DASAR, DAN SCROLLBAR */
/* ======================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    
    /* EFEK BACKGROUND UTAMA */
    background: 
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), /* Overlay gelap */
        var(--main-bg-pattern), /* Pola Halus */
        var(--main-bg-image) center center/cover fixed; /* Gambar Utama */
    
    /* Fallback jika gambar tidak tersedia */
    background-color: #000000;

    color: var(--color-text-light);
    overflow-x: hidden;
    font-size: 14px;
    min-height: 100vh; 
    position: relative;
    padding-bottom: 0; 
}
a {
    text-decoration: none;
    color: inherit;
}
.main-container {
    max-width: 1800px;
    margin: 0 auto; 
    padding: 30px 20px;
    position: relative;
    z-index: 1; 
}
.content-wrapper { 
    /* WAJIB: Padding untuk konten agar tidak tertutup header fixed */
    padding-top: 65px; 
}

/* EFEK SCROLLBAR KUSTOM */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--color-dark-bg); }
::-webkit-scrollbar-thumb {
    background: var(--color-primary-green);
    border-radius: 5px;
    border: 2px solid var(--color-dark-bg);
}
::-webkit-scrollbar-thumb:hover { background: var(--color-neon-lime); }

/* ======================================= */
/* 3. HEADER & NAVIGASI (DESKTOP & FIXED) */
/* ======================================= */
.main-header {
    display: flex;
    justify-content: flex-start; /* Logo di kiri */
    align-items: center;
    max-width: 100%; 
    margin: 0 auto;
    padding: 10px 50px;
    background-color: rgba(0, 0, 0, 0.9); 
    box-shadow: 0 4px 25px rgba(0, 184, 0, 0.7); 
    border-bottom: 3px solid var(--color-primary-green);
    
    position: fixed; 
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(8px); 
    -webkit-backdrop-filter: blur(8px);
    transition: all 0.3s ease;
    height: 65px; 
}
.logo {
    margin-right: 35px; /* Jarak dari logo ke menu navigasi */
    flex-shrink: 0; 
}

/* GAYA UNTUK LOGO GAMBAR/GIF */
.logo .site-logo {
    height: 45px; /* Atur tinggi logo */
    width: auto; 
    display: block;
    transition: transform 0.3s ease;
}
.logo a:hover .site-logo {
    transform: scale(1.05);
}

/* GAYA LAMA LOGO TEXT (jika masih digunakan) */
.logo .logo-placeholder {
    font-size: 26px; 
    font-weight: 900;
    color: var(--color-text-light);
    text-shadow: 0 0 10px var(--color-primary-green); 
    transition: all 0.4s ease;
}
.logo .logo-placeholder:hover {
    color: var(--color-neon-lime);
    text-shadow: 0 0 20px var(--color-neon-lime); 
    transform: scale(1.05);
}

/* MENU UTAMA (KIRI/TENGAH) */
.main-nav {
    display: flex;
    gap: 25px;
    flex-grow: 1; 
    justify-content: flex-start;
    padding-left: 0; /* Dihapus padding 20px lama */
}
.main-nav .nav-item {
    font-size: 16px;
    font-weight: 600;
    color: var(--color-text-light);
    padding: 5px 0;
    transition: all 0.3s ease;
    position: relative;
}
.main-nav .nav-item::before { 
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary-green);
    transition: width 0.3s ease-out;
}
.main-nav .nav-item:hover::before { width: 100%; }
.main-nav .nav-item:hover {
    color: var(--color-primary-green);
    text-shadow: 0 0 5px rgba(0, 184, 0, 0.7);
}

/* OTENTIKASI & RTP (KANAN) */
.nav-auth {
    display: flex;
    gap: 10px; 
    flex-shrink: 0; 
    justify-content: flex-end;
    margin-left: auto; /* Memastikan ini didorong ke kanan penuh */
}
.nav-auth a {
    padding: 10px 18px;
    border-radius: 25px; 
    font-weight: 700;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative; 
    overflow: hidden; 
    white-space: nowrap; 
}
.nav-auth a:hover { transform: scale(1.05); }

/* GAYA KHUSUS TOMBOL */
.btn-rtp {
    background: linear-gradient(135deg, var(--color-rtp-hot-grad-start), var(--color-rtp-hot-grad-end)); 
    color: var(--color-text-light);
    border: 1px solid var(--color-rtp-hot);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.7);
    animation: rtp-pulse 1.8s infinite alternate; 
}
.btn-login {
    background: transparent;
    color: var(--color-primary-green);
    border: 1px solid var(--color-primary-green);
}
.btn-login:hover {
    background-color: var(--color-primary-green);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 184, 0, 0.8);
}
.btn-daftar {
    background-color: var(--color-secondary-blue);
    color: var(--color-text-light);
    border: 1px solid var(--color-secondary-blue);
    box-shadow: 0 0 15px rgba(0, 123, 255, 0.6);
}
.btn-daftar:hover {
    background-color: var(--color-secondary-blue-grad);
    box-shadow: 0 0 20px rgba(0, 123, 255, 1);
}

/* Keyframes untuk Animasi */
@keyframes rtp-pulse {
    0% { transform: scale(1); box-shadow: 0 0 10px rgba(255, 69, 0, 0.7); }
    50% { transform: scale(1.03); box-shadow: 0 0 20px rgba(255, 69, 0, 1); }
    100% { transform: scale(1); box-shadow: 0 0 10px rgba(255, 69, 0, 0.7); }
}
@keyframes blink-glow {
    0% { box-shadow: 0 0 10px rgba(0, 184, 0, 0.8), inset 0 0 5px rgba(0, 184, 0, 0.4); }
    50% { box-shadow: 0 0 25px rgba(0, 184, 0, 1.2), inset 0 0 10px rgba(0, 184, 0, 0.7); }
    100% { box-shadow: 0 0 10px rgba(0, 184, 0, 0.8), inset 0 0 5px rgba(0, 184, 0, 0.4); }
}
@keyframes pulse {
    0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
    50% { transform: scale(1.1) rotate(2deg); opacity: 1; }
    100% { transform: scale(1) rotate(0deg); opacity: 0.8; }
}

/* ======================================= */
/* 4. JUDUL HALAMAN (PAGE TITLE SECTION) */
/* ======================================= */
.page-title-section {
    text-align: center;
    padding: 50px 20px 30px;
    font-size: 36px;
    color: var(--color-neon-lime);
    font-weight: 900;
    text-shadow: 0 0 20px rgba(0, 184, 0, 1); 
    line-height: 1.2;
    letter-spacing: 1px;
    background-color: rgba(0, 0, 0, 0.5);
    border-bottom: 2px solid var(--color-neon-lime); 
}
.page-title-section i.fa-trophy { 
    animation: pulse 2s infinite alternate ease-in-out; 
    margin-right: 10px;
    color: var(--color-neon-lime);
    text-shadow: 0 0 10px var(--color-neon-lime);
}

/* ======================================= */
/* 5. GRID & KARTU TESTIMONI (GALLERY PAGE) */
/* ======================================= */
.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 20px;
}
.testimonial-card {
    background-color: var(--color-card-bg); 
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    display: flex;
    flex-direction: column;
    border: 3px solid rgb(147, 187, 4); 
    backdrop-filter: blur(10px); 
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    padding-bottom: 15px; 
}
.testimonial-card:hover {
    transform: translateY(-8px) scale(1.02); 
    box-shadow: 0 15px 40px rgba(0, 184, 0, 0.7); 
    border-color: var(--color-neon-lime);
}

.proof-img {
    width: 100%;
    height: 380px; 
    object-fit: cover;
    display: block;
    flex-shrink: 0;
    opacity: 0.9;
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.testimonial-card:hover .proof-img {
    opacity: 1;
    transform: scale(1.02);
}

/* CARD DETAILS */
.card-body {
    padding: 15px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.amount-text-legal {
    font-size: 1.1em;
    font-weight: 900;
    color: var(--color-neon-lime); 
    margin: 0 0 5px 0;
    text-shadow: 0 0 10px rgba(170, 255, 0, 0.8);
}
.title-card {
    font-size: 0.9em;
    color: #ccc;
    margin-top: 0;
    margin-bottom: 15px;
}

/* TOMBOL 'LIHAT BUKTI TRANSAKSI' */
.read-more {
    display: flex;
    align-items: center; 
    justify-content: center; 
    gap: 8px;
    width: 90%; 
    margin: auto auto 0 auto; 
    background: linear-gradient(145deg, var(--color-gradient-start), var(--color-gradient-end)); 
    color: #000;
    padding: 14px 12px; 
    border-radius: 50px; 
    font-weight: bold;
    font-size: 15px; 
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.7); 
    border: none;
    animation: blink-glow 1.5s infinite alternate;
    transition: all 0.3s ease;
}
.read-more:hover {
    background: linear-gradient(145deg, var(--color-gradient-end), var(--color-gradient-start));
    box-shadow: 0 0 30px rgba(0, 184, 0, 1.2); 
    animation: none;
    transform: scale(1.08);
}


/* ======================================= */
/* 6. PAGINATION & FOOTER */
/* ======================================= */
.pagination-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 30px 0 50px; 
    gap: 15px; 
}
.page-button, .page-info {
    font-weight: 700;
    padding: 12px 22px; 
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid var(--color-border);
    text-transform: uppercase;
}
.page-button {
    background-color: var(--color-secondary-blue); 
    color: var(--color-text-light);
    cursor: pointer;
}
.page-button:hover:not(.disabled) {
    background-color: var(--color-secondary-blue-grad);
    box-shadow: 0 0 10px rgba(0, 123, 255, 0.6);
    transform: translateY(-2px);
}
.page-info {
    background-color: #333; 
    color: var(--color-text-light);
    border: 1px solid #555;
    cursor: default;
    white-space: nowrap; 
}
.page-button.disabled {
    background-color: #383838 !important; 
    color: #555;
    border: 1px solid #444;
    cursor: not-allowed;
    box-shadow: none;
    opacity: 0.7; 
    pointer-events: none; 
}
.main-footer {
 
    text-align: center;
    padding:3px 0; 
    font-size: 13px;
    color: #777; 
    border-top: 1px solid #1a1a1a;
}

/* ======================================= */
/* 7. GAYA HALAMAN DETAIL */
/* ======================================= */

/* Baris Kedua (Fixed Bar - Bar Kuning) */
.second-fixed-bar {
    display: flex;
    justify-content: center; 
    align-items: center;
    width: 100%;
    height: 50px; 
    background: linear-gradient(90deg, #FFD700, #FFFF00); 
    color: #000;
    font-size: 1em;
    font-weight: 900;
    
    position: sticky; 
    top: 65px; 
    left: 0;
    right: 0; 
    z-index: 999; 
    border-bottom: 2px solid var(--color-primary-green);
    padding: 0 20px;
}
.second-fixed-bar .back-to-gallery {
    color: var(--color-primary-green);
    background-color: transparent; 
    padding: 8px 15px; 
    margin: 0 10px;
    display: flex;
    align-items: center;
    font-size: 0.9em;
    height: auto; 
    font-weight: 700;
    border-radius: 25px; 
    border: 2px solid var(--color-primary-green); 
    box-shadow: 0 0 15px rgba(0, 184, 0, 0.5);
    transition: all 0.3s ease;
}
.second-fixed-bar .back-to-gallery:hover {
    background-color: var(--color-primary-green); 
    color: #000; 
    box-shadow: 0 0 25px rgba(0, 184, 0, 1); 
    transform: scale(1.05);
}

.detail-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background-color: transparent; 
    position: relative;
    z-index: 1; 
    display: flex; 
    gap: 30px;
    padding-top: 130px; 
}
.main-proof-content { flex: 2; min-width: 55%; }
.sidebar-proof-content { flex: 1; min-width: 300px; }

/* Konten Utama Bukti */
.proof-main-section {
    background-color: rgba(0, 0, 0, 0.7); 
    border: 2px solid var(--color-primary-green); 
    padding: 30px; 
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.4); 
    margin-bottom: 20px;
    border-radius: 12px;
}
.proof-main-title {
    font-size: 42px; 
    font-weight: 900;
    color: var(--color-neon-lime); 
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(170, 255, 0, 0.9); 
}

/* 👇 PERBAIKAN UTAMA: GAMBAR BUKTI FULL (PROPORSIONAL) 👇 */
.detail-proof-image {
    width: 100%;
    max-width: 100%; /* Memastikan gambar tidak melebihi lebar kontainer */
    height: auto;    /* PENTING: Menjaga rasio aspek agar gambar utuh/tidak penyek */
    display: block;
    border-radius: 8px;
    margin: 20px 0;
    border: 3px solid var(--color-neon-lime);
    box-shadow: 0 0 20px rgba(170, 255, 0, 0.5);
    transition: transform 0.3s ease;
}
/* 👆 AKHIR PERBAIKAN GAMBAR 👆 */

/* PERBAIKAN TOMBOL DAFTAR CTA BESAR (Menggunakan gaya read-more/neon green) */
.register-cta-btn { 
    display: flex; 
    align-items: center; 
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 20px 0 0 0;
    background: linear-gradient(145deg, var(--color-gradient-start), var(--color-gradient-end)); 
    color: #000;
    padding: 18px 12px; 
    border-radius: 50px; 
    font-weight: bold;
    font-size: 18px; 
    box-shadow: 0 0 25px rgba(0, 184, 0, 1.0); 
    border: none;
    text-transform: uppercase;
    animation: blink-glow 1.5s infinite alternate;
    transition: all 0.3s ease;
}
.register-cta-btn:hover {
    box-shadow: 0 0 40px rgba(0, 184, 0, 1.5); 
    transform: scale(1.05); 
    animation: none;
}

/* Other Proof Section Sidebar */
.other-proof-card {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
}
.other-proof-thumbnail {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--color-neon-lime);
}
.other-proof-info { flex-grow: 1; }
.other-proof-btn {
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    background: transparent;
    color: var(--color-primary-green);
    border: 1px solid var(--color-primary-green);
    transition: all 0.3s ease;
}
.other-proof-btn:hover {
    background-color: var(--color-primary-green);
    color: #000;
    box-shadow: 0 0 10px rgba(0, 184, 0, 0.8);
    transform: scale(1.05);
}

/* ======================================= */
/* 8. BOTTOM NAV (MOBILE ONLY) */
/* ======================================= */
.bottom-nav {
    display: none; 
    background-color: #000; 
    position: fixed; 
    bottom: 0; 
    left: 0;
    width: 100%;
    z-index: 99990; 
    border-top: 2px solid var(--color-primary-green); 
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    justify-content: space-around;
    align-items: center;
    height: 65px;
}
.bottom-nav a {
    flex-direction: column; 
    color: #fff; 
    font-size: 0.7em; 
    font-weight: 600; 
    text-align: center;
    text-decoration: none;
    display: flex;
    transition: all 0.2s ease;
    padding: 5px 0;
}
.bottom-nav a:hover {
    color: var(--color-neon-lime);
    transform: translateY(-2px);
}

.bottom-nav i { 
    font-size: 1.8em; 
    margin-bottom: 2px;
}

.btn-rtp-mobile i { color: #ff8c00; text-shadow: 0 0 8px rgba(255, 140, 0, 1); }
.btn-login-mobile i { color: var(--color-primary-green); text-shadow: 0 0 8px rgba(0, 255, 0, 1); }
.btn-daftar-mobile i { color: #00c7ff; text-shadow: 0 0 8px rgba(0, 123, 255, 1); }
.btn-home-mobile i { color: var(--color-neon-lime); text-shadow: 0 0 8px rgba(170, 255, 0, 1); } 
.btn-livechat-mobile i { color: #fff; }


/* ======================================= */
/* 9. RESPONSIF MEDIA QUERIES */
/* ======================================= */

/* TABLET & LAYAR SEDANG (Max 992px) */
@media (max-width: 992px) {
    .main-header { 
        padding: 10px 20px; 
        height: 60px; 
        justify-content: center; 
    } 
    .main-nav, .nav-auth { display: none; }
    
    .content-wrapper { padding-top: 60px; }

    .testimonial-grid { 
        grid-template-columns: repeat(2, 1fr); 
        gap: 15px;
    }
    
    /* HALAMAN DETAIL */
    .second-fixed-bar {
        top: 60px; 
    }
    .detail-page-wrapper { 
        flex-direction: column; 
        gap: 20px; 
        padding-top: 120px; 
        margin: 0 auto;
        max-width: 95%;
    }
    
    .logo .site-logo {
        height: 40px; 
    }
}

/* MOBILE SANGAT RAPI (Max 576px) */
@media (max-width: 576px) {
    body { padding-bottom: 65px; } 
    
    /* HEADER MOBILE */
    .main-header { 
        justify-content: center; 
        height: 60px; 
        padding: 10px 10px;
    }
    .logo { margin: 0; }
    .logo .logo-placeholder { font-size: 24px; } 
    .logo .site-logo { height: 35px; }

    /* TAMPILKAN MENU BAWAH */
    .bottom-nav { display: flex; }

    /* CONTENT WRAPPER */
    .main-container { 
        padding-top: 20px; 
        padding-left: 10px;
        padding-right: 10px;
    }
    .page-title-section { 
        font-size: 24px; 
        padding: 15px 10px; 
    }
    
    /* SECOND FIXED BAR (Bar Kuning) */
    .second-fixed-bar {
        top: 60px; 
    }
    .second-fixed-bar .back-to-gallery {
        font-size: 0.8em;
        padding: 8px 12px; 
        margin: 0; 
    }

    /* KONTEN DETAIL PAGE (Disesuaikan agar gambar lebih luas) */
    .detail-page-wrapper { 
        padding: 10px; /* Padding samping minimal */
        padding-top: 120px; 
    }
    .proof-main-section {
        padding: 15px; /* Mengurangi padding internal di mobile */
        width: 100%;
    }

    /* GRID KARTU: TAMPILAN 1 KOLOM */
    .testimonial-grid { 
        grid-template-columns: 1fr; 
        gap: 20px; 
    }
    .proof-img { height: 400px} 
    .read-more { 
        width: 100%; 
        font-size: 14px; 
        padding: 14px 5px; 
    }
    
    /* Tombol CTA Besar */
    .register-cta-btn { 
        padding: 18px 20px; 
        font-size: 16px; 
    }
    
    /* Other Proof Card Mobile */
    .other-proof-card { 
        flex-direction: column; 
        align-items: flex-start; 
    }
    .other-proof-thumbnail { 
        width: 80px; 
        height: 80px; 
    }
    .other-proof-btn { 
        width: 100%; 
        margin-top: 10px; 
    }
    
    /* PAGINATION RAPI */
    .pagination-controls { 
        flex-wrap: wrap; 
        margin-bottom: 80px; 
    }
    .page-button, .page-info { 
        padding: 10px 15px; 
        font-size: 12px; 
    }
}

