body {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    margin: 0;
    /* Menambahkan padding-bottom agar tidak tertutup bottom-nav di mobile */
    padding-bottom: 0; 
    background-image: url('images/backgroundsloto69.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
    background-color: #000;
}

/* ---------------------------------------------------- */
/* 1. HEADER & NAVIGASI (DESKTOP) */
/* ---------------------------------------------------- */
.logo-placeholder {
    text-decoration: none;
    display: flex;
    align-items: center;
}
.logo-placeholder img {
    height: 40px;
    width: auto;
}
.main-header {
    background-color: #000;
    padding: 5px 50px 10px 3%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    /* Gunakan 100% dan max-width di container luar, bukan di fixed element */
    max-width: none; 
    margin: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99999;
    border-bottom: none;
    box-sizing: border-box; /* Penting untuk fixed element */
}

/* Navigasi Utama */
.main-nav {
    display: flex;
    gap: 25px;
    flex-grow: 1;
    justify-content: flex-start;
    margin-left: 30px;
}
.main-nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    padding: 5px 0;
    transition: color 0.3s;
}
.main-nav a:hover { color: #00ff00; }

/* Tombol Auth */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 10px;
}
.nav-auth i { margin-right: 5px; font-size: 1em; }
.btn-rtp, .btn-login, .btn-daftar {
    padding: 10px 20px;
    border-radius: 10px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease-in-out;
    color: #fff;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}
.btn-rtp {
    background-color: #ff4500;
    box-shadow: 0 0 15px #ff4500, 0 0 5px #ff4500 inset;
    border: 1px solid #ff6347;
}
.btn-rtp:hover {
    background-color: #ff6347;
    box-shadow: 0 0 20px #ff6347, 0 0 8px #ff6347 inset;
}
.btn-login {
    background-color: #000;
    color: #00ff00;
    border: 2px solid #00ff00;
    box-shadow: 0 0 15px #00ff00;
}
.btn-login:hover {
    background-color: #00ff00;
    color: #000;
    box-shadow: 0 0 20px #00ff00, 0 0 5px #fff inset;
}
.btn-daftar {
    background-color: #007bff;
    box-shadow: 0 0 15px #00c7ff, 0 0 5px #00c7ff inset;
    border: 1px solid #00c7ff;
}
.btn-daftar:hover {
    background-color: #00c7ff;
    box-shadow: 0 0 20px #00c7ff, 0 0 8px #00c7ff inset;
}

/* ---------------------------------------------------- */
/* 2. BARIS KEDUA (MARQUEE) */
/* ---------------------------------------------------- */
.second-fixed-bar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    height: 50px;
    background: linear-gradient(90deg, #08fd08, #efff0b);
    color: #000;
    font-size: 1em;
    font-weight: 900;
    position: fixed; /* Menggunakan fixed untuk konsistensi dengan header */
    top: 55px; /* Jarak yang sama dengan PC */
    left: 0;
    right: 0;
    z-index: 99998;
    border-bottom: 5px solid #000000;
}
.second-fixed-bar .back-to-gallery {
    text-decoration: none;
    color: #000000;
    background: linear-gradient(180deg, #ffffff, #ffffff);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    font-size: 0.9em;
    height: 50%;
    font-weight: 700;
    box-shadow: 0 0 15px rgba(0, 191, 255, 1);
    text-shadow: 0 0 5px #fff, 0 0 10px rgba(0, 191, 255, 0.8);
    transition: all 0.3s ease-in-out;
    z-index: 10;
}
.second-fixed-bar .back-to-gallery i {
    margin-right: 10px;
    font-size: 1.2em;
}
.second-fixed-bar .back-to-gallery:hover {
    background: linear-gradient(180deg, #007FFF, #0056b3);
    box-shadow: 0 0 25px rgba(0, 191, 255, 1.5);
}
.marquee-container {
    flex-grow: 1;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-left: 20px;
}
.marquee-text {
    font-size: 1.1em;
    color: #000;
    white-space: nowrap;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 1px 1px 0 #fff;
}

/* ---------------------------------------------------- */
/* 3. KONTEN UTAMA & DETAIL */
/* ---------------------------------------------------- */
/* Tambahan .top-content-info di Detail Page */
.top-content-info {
    max-width: 1200px;
    /* Margin-top akan diatur di media query untuk mobile */
    margin: 115px auto 0; /* PC: 55px (header) + 50px (marquee) + 10px margin = 115px */
    padding: 0 15px;
}

.welcome-message {
    background-color: #A00000;
    color: white;
    font-size: 1.1em;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: 5px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    white-space: normal;
}

.back-to-home-btn {
    display: inline-flex;
    align-items: center;
    background-color: #FFC107;
    color: #333;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: 5px;
    text-decoration: none;
    margin-bottom: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s;
    border: 1px solid #c8a30a;
}
.back-to-home-btn i { margin-right: 8px; }
.back-to-home-btn:hover { background-color: #e0ac05; }


.detail-page-wrapper {
    /* Hapus padding-top karena sudah ada di .top-content-info */
    padding-bottom: 90px;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
    display: flex;
    gap: 30px;
}
.main-proof-content {
    flex: 2;
    min-width: 55%;
}
.sidebar-proof-content {
    flex: 1;
    min-width: 300px;
}

/* Gaya Konten Detail */
.proof-main-section {
    background-color: #000;
    border: 2px solid #00ff00;
    padding: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.4);
    margin-bottom: 20px;
    text-align: center;
}
.proof-main-title {
    font-size: 2.2em;
    color: #fff;
    text-shadow: 0 0 10px #00ff00;
}
.proof-description .highlight-amount {
    font-weight: 900;
    color: #42ff07;
    text-shadow: 0 0 10px rgba(43, 255, 0, 0.7);
}
.proof-details-text {
    text-align: left;
    margin-top: 20px;
    line-height: 1.6;
}
.proof-details-text strong {
    color: #00ff00;
}
.proof-details-text .Keunggulan-list {
    list-style: none;
    padding-left: 0;
    margin-top: 10px;
}
.proof-details-text .Keunggulan-list li {
    margin-bottom: 5px;
    color: #fff;
    display: flex;
    align-items: flex-start;
}
.proof-details-text .Keunggulan-list li i {
    color: #00ff00;
    margin-right: 8px;
    font-size: 1.1em;
    margin-top: 4px;
}

/* Gaya Sidebar */
.guarantee-box, .other-proof-section {
    background-color: #222;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid #00ff00;
}
.sidebar-section-title {
    background-color: #000;
    color: #00ff00;
    padding: 10px 15px;
    margin: -15px -15px 15px -15px;
    border-bottom: 1px solid #00ff00;
    text-align: center;
    font-size: 1.2em;
    font-weight: 700;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}
.sidebar-section-title i {
    margin-right: 8px;
    color: #fff;
    text-shadow: 0 0 5px #fff;
}

/* KODE CSS KARTU BUKTI */
.other-proof-card {
    background-color: #000;
    border: 2px solid #00ff00;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.other-proof-card:last-child { margin-bottom: 0; }
.other-proof-card .card-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px dashed #00cc00;
}
.other-proof-card .card-header .logo-small { height: 30px; width: auto; }
.other-proof-card .card-header .date-info {
    font-size: 0.8em;
    color: #ccc;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    line-height: 1.2;
}
.other-proof-card .card-header .date-info span { display: block; }
.other-proof-card .card-header .date-info i {
    margin-right: 0px;
    margin-bottom: 3px;
    color: #00ff00;
    font-size: 1.1em;
}

.proof-main-img {
    width: 100%;
    height: auto;
    max-height: 1000px;
    object-fit: contain;
    border: 1px solid #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    margin-top: 15px;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
.other-proof-thumbnail-wrapper {
    position: relative;
    width: 89%;
    height: 280px;
    margin-bottom: 30px;
    overflow: hidden;
    border-radius: 5px;
}
.other-proof-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.other-proof-card .jackpot-info {
    font-size: 1.3em;
    font-weight: 900;
    color: #42ff07;
    text-shadow: 0 0 10px rgba(0, 255, 34, 0.8);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.other-proof-card .status-info {
    font-size: 1.1em;
    font-weight: 700;
    color: #00ff00;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.6);
}
.other-proof-card .status-info i {
    margin-right: 8px;
    font-size: 1.2em;
}
.other-proof-card .view-button {
    display: inline-block;
    padding: 12px 25px;
    background: linear-gradient(90deg, #00BFFF, #1E90FF);
    color: #fff;
    text-decoration: none;
    font-size: 1.1em;
    font-weight: 800;
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.8);
    border: none;
}
.other-proof-card .view-button:hover {
    background: linear-gradient(90deg, #1E90FF, #00BFFF);
    box-shadow: 0 0 25px rgba(0, 191, 255, 1.2);
}
.other-proof-card .view-button i { margin-right: 10px; }

/* Tombol CTA Register di Sidebar */
.register-cta-btn {
    display: block;
    text-align: center;
    padding: 15px;
    margin-top: 20px;
    background: linear-gradient(90deg, #00ff00, #00cc00);
    color: #000;
    font-size: 1.5em;
    font-weight: 900;
    text-decoration: none;
    border-radius: 5px;
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
    transition: opacity 0.3s;
}
.register-cta-btn:hover {
    opacity: 0.9;
    box-shadow: 0 0 20px rgba(0, 255, 0, 1);
}
.register-cta-btn i { margin-right: 8px; }

/* Footer */
.main-footer {
    text-align: center;
    padding: 10px;
    font-size: 0.8em;
    color: #555;
    clear: both;
}

/* 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 #00ff00;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
    justify-content: space-around;
    align-items: center;
    height: 65px;
    padding: 0; /* Hapus padding yang tidak perlu */
}
.bottom-nav a {
    flex-direction: column;
    color: #fff;
    font-size: 0.7em;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    display: flex;
}
.bottom-nav i {
    font-size: 1.5em;
    margin-bottom: 2px;
}
.btn-rtp-mobile i { color: #ff8c00; text-shadow: 0 0 5px rgba(255, 140, 0, 0.9); }
.btn-login-mobile i { color: #00ff00; text-shadow: 0 0 5px rgba(0, 255, 0, 0.9); }
.btn-daftar-mobile i { color: #00c7ff; text-shadow: 0 0 5px rgba(0, 123, 255, 0.9); }
.btn-home-mobile i, .btn-livechat-mobile i { color: #fff; }

/* Elemen Baru untuk Pencarian Mobile (Ditaruh di Bawah Marquee) */
.mobile-search-bar-wrapper {
    display: none; /* Sembunyikan di Desktop */
}

/* ---------------------------------------------------- */
/* 4. MEDIA QUERIES (TAMPILAN MOBILE) */
/* ---------------------------------------------------- */

@media (max-width: 992px) {
    /* Tablet/Tampilan Layar Kecil: Ubah tata letak menjadi kolom tunggal */
    .detail-page-wrapper {
        flex-direction: column;
        gap: 15px;
        /* Padding-top disesuaikan untuk Fixed Header & Marquee */
        padding-top: 120px; 
        padding-bottom: 80px;
    }
}

@media (max-width: 768px) {
    /* Mobile/Layar Sempit */

    /* Tambah Padding Body agar Bottom Nav tidak menutupi konten */
    body { padding-bottom: 65px; }

    /* Header Utama Fixed */
    .main-header {
        justify-content: space-between; /* Kembali ke justify space-between */
        padding: 8px 10px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 1000;
        flex-wrap: nowrap; /* Jangan wrap */
        border-bottom: 1px solid #1a1a1a;
    }

    /* Logo Mobile */
    .main-header .logo { 
        width: auto; 
        text-align: left;
    }
    .logo-placeholder img { height: 35px; }
    
    /* Sembunyikan elemen PC */
    .main-nav, .nav-auth, .search-container { display: none; }

    /* Marquee Fixed di Bawah Header */
    .second-fixed-bar {
        position: fixed; 
        top: 50px; /* Di bawah main-header (sekitar 50px) */
        height: 35px; /* Bar kedua lebih kecil */
        z-index: 900;
    }
    .second-fixed-bar .back-to-gallery {
        font-size: 0.8em;
        padding: 8px 15px;
    }
    .marquee-container { padding-left: 10px; }
    .marquee-text { font-size: 0.8em; }

    /* **SOLUSI UTAMA: Kotak Pencarian di Bawah Marquee** */
    .mobile-search-bar-wrapper {
        display: flex; /* Tampilkan di mobile */
        justify-content: center;
        width: 100%;
        padding: 10px 10px;
        background-color: #000;
        position: fixed; 
        top: 85px; /* 50px (Header) + 35px (Marquee) = 85px */
        z-index: 850;
    }
    .jackpot-search-form {
        max-width: 350px; 
        width: 100%;
    }
    .jackpot-search-form input[type="text"] {
        width: 100%; 
        flex-grow: 1;
        font-size: 0.8em;
    }

    /* Sesuaikan Margin Konten Utama */
    .top-content-info {
        /* 50px (Header) + 35px (Marquee) + 50px (Search Bar & Padding) = sekitar 135px total fixed area */
        margin-top: 140px; 
        padding: 0 10px;
    }
    
    /* Perbaikan Welcome Message */
    .welcome-message {
        font-size: 0.85em; 
        padding: 8px 10px;
    }

    /* Perbaikan Tombol Kembali */
    .back-to-home-btn {
        width: 100%; 
        justify-content: center;
        font-size: 0.9em;
    }
    
    /* Konten Detail */
    .detail-page-wrapper {
        flex-direction: column;
        padding: 10px;
        padding-top: 0; /* Margin sudah diatur di top-content-info */
    }

    .main-proof-content, .sidebar-proof-content { width: 100%; }

    /* Tampilkan Bottom Nav */
    .bottom-nav { display: flex; }

    /* Sederhanakan footer */
    .main-footer { margin-bottom: 0; }
}