/* RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; background-color: #0f0f0f; color: #e0e0e0; line-height: 1.6; }
.container { width: 90%; max-width: 1000px; margin: auto; padding: 20px 0; }

/* HEADER */
header { background: linear-gradient(to bottom, #1a1a1a, #0f0f0f); padding: 40px 0; border-bottom: 3px solid #ff4b2b; text-align: center; }
.highlight { color: #ff4b2b; }

/* STATS */
.stats { display: flex; gap: 20px; margin-bottom: 30px; }
.stat-card { flex: 1; background: #1e1e1e; padding: 20px; border-radius: 8px; text-align: center; border-left: 5px solid #ff4b2b; }
.count { font-size: 24px; font-weight: bold; color: #ff4b2b; }

/* CONTROLS */
.controls-container { display: flex; gap: 10px; margin-bottom: 30px; }
input, select { background: #1e1e1e; color: white; border: 1px solid #333; padding: 12px; border-radius: 8px; outline: none; transition: 0.3s; }
input { flex: 2; }
select { flex: 1; cursor: pointer; }
input:focus, select:focus { border-color: #ff4b2b; }

/* REPORT CARD - Versi Berwarna & Berdimensi */
.report-card {
    background: linear-gradient(145deg, #1e1e1e, #161616); /* Gradasi halus */
    margin-bottom: 25px;
    border-radius: 12px; /* Lebih membulat sedikit */
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid #333; /* Border default tipis */
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5); /* Bayangan agar kartu "terangkat" */
}
/* Update di style.css */
.report-card img {
    width: 100%;
    height: 100px; /* <--- Ubah dari 180px ke 100px biar irit tempat */
    
    object-fit: cover;
    object-position: center;
    border-radius: 8px;
    margin-bottom: 10px;
    border: 1px solid #333;
    cursor: pointer;
    transition: 0.3s;
    
    /* Tambahan opsional: efek hitam putih biar gak terlalu ramai */
    filter: grayscale(0.5); 
}

.report-card img:hover {
    filter: grayscale(0); /* Jadi berwarna pas kursor nempel */
    height: 120px; /* Sedikit membesar pas di-hover biar interaktif */
}

.card-body p {
    margin-bottom: 8px;
}

/* Kotak khusus untuk bagian Analisis */
.card-body p:last-child {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 6px;
    border-left: 3px solid #ff4b2b; /* Garis aksen di samping teks analisis */
    font-style: italic;
    color: #bbb;
}

/* Efek saat kartu di-hover */
.report-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: #ff4b2b; /* Border berubah jadi merah orange saat disentuh */
    box-shadow: 0 15px 30px rgba(255, 75, 43, 0.2); /* Cahaya merah tipis di bawah kartu */
}
/* TAGS */
.danger-tag { background: #ff4b2b; padding: 4px 8px; border-radius: 4px; font-size: 10px; font-weight: bold; color: white; }
.warning-tag { background: #ffb400; color: black; padding: 4px 8px; border-radius: 4px; font-size: 10px; font-weight: bold; }

/* CSS untuk Modal (Layar Hitam) */
#imageModal {
    display: none;       /* WAJIB: Biar gak muncul sebelum diklik */
    position: fixed;     /* WAJIB: Biar melayang menutupi seluruh layar */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95); /* Hitam transparan */
    z-index: 9999;       /* Biar paling depan mengalahkan kartu laporan */
    
    /* Supaya konten di dalamnya (gambar) ada di tengah */
    justify-content: center;
    align-items: center;
    overflow: hidden; 
}

/* CSS untuk Gambar di dalam Modal */
#imageModal img {
    max-width: 90%;
    max-height: 90%;
    border: 2px solid #ff4b2b;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 75, 43, 0.5);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: zoom-in;
    
    /* Pastikan posisi awalnya normal */
    transform: scale(1);
    transform-origin: center;
}

/* Efek pas dizoom */
#imageModal img.zoomed {
    transform: scale(2.5);
    cursor: zoom-out;
}

/* Warna khusus untuk Header Cheat (Merah) */
.report-card[data-category="cheat"] .card-header {
    background: linear-gradient(to right, #2a2a2a, #441010); /* Gradasi merah gelap */
    border-bottom: 1px solid #ff4b2b;
}

/* Warna khusus untuk Header Makro (Kuning/Orange) */
.report-card[data-category="makro"] .card-header {
    background: linear-gradient(to right, #2a2a2a, #443310); /* Gradasi kuning gelap */
    border-bottom: 1px solid #ffb400;
}

footer {
    text-align: center;
    padding: 40px;
    color: #555;
    font-size: 12px;
    background: linear-gradient(to top, #0a0a0a, #0f0f0f);
}

footer span {
    transition: 0.3s;
    cursor: pointer;
}

footer span:hover {
    color: #ff310d !important;
    text-shadow: 0 0 10px rgba(255, 75, 43, 0.5);
}

/* CUSTOM SCROLLBAR */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f0f0f; }
::-webkit-scrollbar-thumb { background: #ff4b2b; border-radius: 10px; }