:root {
    --bg-color: #000000;
    --text-color: #ffffff;
    --highlight-color: #00ffee; /* Biru Laut (Aksen) */
    --store-red: #ff0000; /* Merah untuk Nama Toko dan Harga */
    --card-bg: #1a1a1a;
    --button-primary: #ff0000; /* Merah untuk Tombol Beli */
    --button-hover: #cc0000;
}

/* Reset dan Dasar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-header {
    text-align: center;
    padding: 20px 0;
    margin-bottom: 20px;
    /* Garis bawah tipis opsional jika ingin memisahkan header */
    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */ 
}

.header-top-bar {
    display: flex;
    flex-direction: column;
    align-items: center; /* Rata tengah item secara default */
    margin-bottom: 10px;
    width: 100%;
}
/* --- Grid Produk (Responsif) --- */
.product-grid {
    display: grid;
    gap: 20px;
}

/* Default: 2 kolom untuk layar kecil (seperti contoh gambar) */
@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Layar Sedang/Besar: 4 kolom */
@media (min-width: 769px) {
    .product-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    .page-header {
        /* Hapus padding vertikal dari sini jika Anda ingin header sangat tipis */
        padding-top: 20px;
        padding-bottom: 5px; /* Kurangi jarak bawah */
        border-bottom: 1px solid rgba(255, 0, 0, 0.2); /* Garis pemisah opsional */
    }
    /* Mengubah .top-bar menjadi layout menyebar */
    .header-top-bar {
        flex-direction: row; /* Berbaris horizontal */
        justify-content: space-between; /* Pisahkan ke kiri dan kanan */
        align-items: center;
        padding: 0 20px; /* Tambahkan sedikit padding horizontal */
        max-width: 1200px; /* Batasi lebar agar tidak terlalu lebar */
        margin: 0 auto 10px auto; /* Pusatkan top-bar */
    }
    .store-title {
        text-align: left;
        margin: 0; /* Hapus margin default */
        width: auto; /* Biarkan lebar mengikuti konten */
    }
    .subtitle {
        text-align: right;
        margin: 0; /* Hapus margin default */
        width: auto;
        font-size: 1rem; /* Sedikit lebih besar di layar lebar */
    }
    .vps, .catalog-title {
        text-align: center; /* Pastikan rata tengah */
        padding: 0 20px;
    }
}

/* Gaya Kartu Produk */
.product-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.2);
}

.product-image img {
    width: 100%;
    height: auto;
    display: block;
}

.product-details {
    padding: 10px;
    text-align: center;
}

.product-details h2 {
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: var(--highlight-color);
}

.price {
    font-size: 1rem;
    font-weight: bold;
    color: #f7a01c;
    margin-bottom: 10px;
}

.order-button {
    background-color: var(--button-primary);
    color: var(--text-color);
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    width: 100%;
    transition: background-color 0.3s;
}

.order-button:hover {
    background-color: var(--button-hover);
}

/* --- Gaya Modal (Popup) --- */
.modal {
    display: none; /* Sembunyikan secara default */
    position: fixed; 
    z-index: 10; 
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8); /* Background gelap */
    padding-top: 50px;
}

.modal-content {
    background-color: var(--card-bg);
    margin: 5% auto; /* Tengah vertikal */
    padding: 20px;
    border: 1px solid var(--highlight-color);
    width: 90%; 
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 255, 255, 0.5);
    text-align: center;
}

.modal-header img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    margin: -20px -20px 20px -20px; /* Overlap ke batas atas modal */
}

.modal-body p {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--highlight-color);
}

.modal-body input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #555;
    background-color: #333;
    color: var(--text-color);
    border-radius: 5px;
    box-sizing: border-box;
}

.modal-footer {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 20px;
}

.action-button {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    cursor: pointer;
}

.action-button.order {
    background-color: var(--highlight-color);
    color: var(--bg-color);
}

.action-button.close {
    background-color: #555;
    color: var(--text-color);
}

.store-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--store-red); /* Merah seperti contoh */
    margin-bottom: 5px;
}

.store-title i.fas.fa-skull {
    font-size: 1.5rem;
    vertical-align: middle;
    margin: 0 5px;
}

.subtitle {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 15px;
}

.specs {
    font-size: 1rem;
    font-weight: normal;
    color: var(--text-color);
    margin-bottom: 20px;
    line-height: 1.4;
}

.catalog-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #f7a01c; /* Merah/Aksen seperti contoh */
    padding: 10px 0;
    margin-top: 20px;
    /* Memberi jarak atas dan bawah dari bagian specs */
}

.catalog-title i {
    font-size: 2rem;
    vertical-align: middle;
    margin: 0 5px;
}

.vps {
      font-size: 1rem;
    font-weight: normal;
    color: #f7a01c;
    margin-bottom: 20px;
    line-height: 1.4;
}