* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, #000000, #1a0033);
    color: #ffffff;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%238a2be2" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    z-index: -1;
}

header {
    text-align: center;
    padding: 60px 20px;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 3px solid #8a2be2;
    box-shadow: 0 0 30px #8a2be2;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from { box-shadow: 0 0 30px #8a2be2; }
    to { box-shadow: 0 0 50px #8a2be2, 0 0 70px #8a2be2; }
}

h1 {
    font-size: 4em;
    text-shadow: 0 0 20px #8a2be2, 0 0 40px #8a2be2;
    margin: 0;
    animation: textGlow 2s ease-in-out infinite alternate;
}

@keyframes textGlow {
    from { text-shadow: 0 0 20px #8a2be2; }
    to { text-shadow: 0 0 40px #8a2be2, 0 0 60px #8a2be2; }
}

.subtitle {
    font-size: 1.2em;
    margin-top: 10px;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.official {
    font-size: 0.8em;
    color: #ff4500;
    text-shadow: 0 0 10px #ff4500;
    margin-top: 5px;
}

.search-bar {
    margin-top: 20px;
    text-align: center;
}

.search-bar input {
    width: 300px;
    padding: 10px;
    border: 2px solid #8a2be2;
    border-radius: 5px;
    background: rgba(0, 0, 0, 0.8);
    color: #ffffff;
    font-family: 'Courier New', monospace;
    box-shadow: 0 0 10px #8a2be2;
}

.search-bar input::placeholder {
    color: #8a2be2;
}

.search-bar button {
    padding: 10px 15px;
    border: none;
    background: #8a2be2;
    color: #ffffff;
    border-radius: 5px;
    cursor: pointer;
    margin-left: 10px;
    box-shadow: 0 0 10px #8a2be2;
    transition: all 0.3s ease;
}

.search-bar button:hover {
    background: #9932cc;
    box-shadow: 0 0 20px #9932cc;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* --- PERBAIKAN TABS (Agar turun ke bawah di HP) --- */
.tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap; /* Baris baru otomatis jika layar sempit (HP) */
    gap: 10px;       /* Jarak antar tombol */
}

.tab {
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #8a2be2;
    color: #ffffff;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 0 10px #8a2be2;
}

.tab.active {
    background: #8a2be2;
    box-shadow: 0 0 20px #8a2be2;
}

/* --- PERBAIKAN PRODUCT GRID (DIPAKSA 3 KOLOM) --- */
.product-grid {
    display: grid;
    /* Default untuk HP/Tablet: Tetap responsif otomatis */
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 20px;
}

/* KHUSUS LAPTOP & PC (Layar lebih dari 1024px) */
@media (min-width: 1024px) {
    .product-grid {
        /* !important memaksa agar browser menuruti perintah 3 kolom */
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

.product {
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #8a2be2;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 0 20px #8a2be2;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.8s ease-out;
}

.product::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #8a2be2, #00ff00, #8a2be2);
    border-radius: 15px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.product:hover::before {
    opacity: 1;
}

.product:hover {
    box-shadow: 0 0 40px #8a2be2, 0 0 60px #8a2be2;
    transform: translateY(-10px);
}

.product img {
    max-width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 15px;
}

.product h3 {
    margin: 15px 0;
    color: #8a2be2;
    text-shadow: 0 0 10px #8a2be2;
}

.product p {
    margin: 10px 0;
    font-size: 0.9em;
}

.rating {
    margin: 10px 0;
    color: #ffd700;
    font-size: 1.2em;
}

.btn {
    background: linear-gradient(45deg, #8a2be2, #9932cc);
    color: #ffffff;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    margin-top: 15px;
    transition: all 0.3s ease;
    font-weight: bold;
    text-transform: uppercase;
    box-shadow: 0 0 10px #8a2be2;
}

.btn:hover {
    background: linear-gradient(45deg, #9932cc, #8a2be2);
    box-shadow: 0 0 20px #8a2be2, 0 0 30px #8a2be2;
    transform: scale(1.05);
}

.review-btn {
    background: #00ff00;
    color: #000000;
    margin-top: 10px;
    box-shadow: 0 0 10px #00ff00;
}

.review-btn:hover {
    background: #32cd32;
    box-shadow: 0 0 20px #32cd32;
}

footer {
    text-align: center;
    padding: 30px;
    background: rgba(0, 0, 0, 0.9);
    border-top: 3px solid #8a2be2;
    box-shadow: 0 0 30px #8a2be2;
    margin-top: 60px;
}

footer p {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =================================
   GAYA MODAL DASAR & REVIEW
   ================================= */
.product.hidden {
    display: none;
}

.modal-overlay {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

/* Modal Content Default (Untuk Review) */
.modal-content {
    position: relative;
    background: #1a0033;
    color: #ffffff;
    margin: auto;
    padding: 25px;
    border-radius: 10px;
    width: 90%;
    max-width: 550px;
    border: 2px solid #8a2be2;
    box-shadow: 0 0 30px #8a2be2;
    outline: 2px dashed #00ff00;
    outline-offset: -10px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content::-webkit-scrollbar,
.review-list-container::-webkit-scrollbar {
    width: 5px;
}

.modal-content::-webkit-scrollbar-track,
.review-list-container::-webkit-scrollbar-track {
    background: #1a0033;
    border-radius: 5px;
}

.modal-content::-webkit-scrollbar-thumb,
.review-list-container::-webkit-scrollbar-thumb {
    background: #8a2be2;
    border-radius: 5px;
}

.modal-content::-webkit-scrollbar-thumb:hover,
.review-list-container::-webkit-scrollbar-thumb:hover {
    background: #00ff00;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #8a2be2;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.modal-header h3 {
    margin: 0;
    font-size: 22px;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

.modal-close-btn {
    color: #aaa;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}

.modal-close-btn:hover {
    color: #00ff00;
}

.add-review-section h4 {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
}

#review-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#review-form input[type="text"],
#review-form textarea {
    background-color: #000;
    border: 1px solid #8a2be2;
    color: #ffffff;
    padding: 12px 15px;
    border-radius: 8px;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

#review-form textarea {
    resize: vertical;
}

.form-rating-container {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    color: #ccc;
}

.form-rating-star {
    font-size: 28px;
    color: #555;
    cursor: pointer;
    transition: color 0.2s;
}

.form-rating-star:hover,
.form-rating-star.selected {
    color: #FFD700;
}

.submit-review-btn {
    background: #00ff00;
    color: #000000;
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
}

.submit-review-btn:hover {
    background: #32cd32;
    box-shadow: 0 0 20px #32cd32;
}

.modal-divider {
    border: none;
    height: 1px;
    background-color: #8a2be2;
    margin: 25px 0;
}

.review-list-container {
    max-height: 250px;
    overflow-y: auto;
    padding-right: 10px;
}

.review-card {
    background-color: #000;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 15px;
    border-left: 4px solid #00ff00; /* Aksen hijau */
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.review-name {
    color: #00ff00; /* Nama hijau */
    font-size: 18px;
    font-weight: bold;
}

.review-rating {
    color: #FFD700;
    font-size: 16px;
}

.review-text {
    font-size: 14px;
    color: #ddd;
    line-height: 1.5;
    margin: 0;
}

/* =========================================================
   GAYA NEON BARU (KHUSUS POP-UP ORDER CONFIRMATION)
   ========================================================= */

/* Override Style Container Modal untuk Order */
.order-modal-content.neon-style {
    background-color: #0a0a0a; /* Latar belakang gelap */
    border: 2px dashed #00ff00; /* Border hijau neon putus-putus */
    box-shadow: 0 0 20px #800080, inset 0 0 20px #800080; /* Cahaya ungu luar dalam */
    padding: 30px;
    text-align: center;
    max-width: 500px; /* Sedikit lebih kecil dari review */
    outline: none; /* Hilangkan outline review */
}

/* Judul Modal Order */
.order-modal-content.neon-style .modal-title {
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 0;
    font-size: 22px;
}

/* Kotak Nama Produk (Ungu Neon) */
.product-name-box.neon-purple {
    border: 2px solid #800080; /* Border ungu */
    box-shadow: 0 0 15px #800080, inset 0 0 15px #800080; /* Cahaya ungu */
    color: #dda0dd; /* Teks ungu terang */
    background-color: #000;
    padding: 15px;
    border-radius: 10px;
    margin: 25px 0;
    font-size: 1.3em;
    font-weight: bold;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Container Tombol Admin */
.admin-buttons-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* Tombol Admin (Hijau Solid) */
.btn-admin.btn-neon-green {
    background-color: #00c853; /* Hijau solid */
    color: #ffffff;
    text-decoration: none;
    padding: 12px 30px;
    border-radius: 50px; /* Bentuk pil */
    font-weight: bold;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: none;
    transition: transform 0.2s, box-shadow 0.2s;
    flex: 1;
    min-width: 130px;
    font-family: Arial, sans-serif;
}

/* Efek Hover Tombol Admin */
.btn-admin.btn-neon-green:hover {
    transform: scale(1.05);
    background-color: #00e676; /* Hijau lebih terang */
    box-shadow: 0 0 20px #00ff00; /* Cahaya hijau */
}