body {
  background: url('../assets/bg.jpg') no-repeat center center fixed;
  background-size: cover;
  color: #00ff99;
  font-family: monospace;
  text-align: center;
  padding: 20px;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: -1;
}

/* BANNER */
.banner {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid #00ff99;
  margin-bottom: 20px;
}

/* GRID GAME MENU */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.menu-card {
  border: 1px solid #00ff99;
  border-radius: 12px;
  padding: 10px;
  cursor: pointer;
  transition: 0.2s;
  background: #050505;
}

.menu-card:hover {
  transform: scale(1.05);
  border-color: #00ffaa;
}

.menu-card img {
  width: 100%;
  border-radius: 10px;
}

/* PRODUCT GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 20px;
}

.product-card {
  border: 1px solid #00ff99;
  border-radius: 12px;
  padding: 10px;
  background: #050505;
  transition: 0.2s;
}

.product-card:hover {
  transform: scale(1.03);
  border-color: #00ffaa;
}

.product-card img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 5px;
}

/* FORM CARD */
.card {
  width: 100%;
  max-width: 500px;
  margin: auto;
  overflow: hidden; /* penting */
  border: 1px solid #00ff99;
  padding: 15px;
  margin-top: 20px;
  border-radius: 12px;
  background: #050505;
}

/* INPUT */
input {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  margin: 10px 0;
  border-radius: 10px;
  border: 1px solid #00ff99;
  margin-top: 10px;
  background: black;
  color: #00ff99;
}

/* BUTTON */
button {
  background: #00ff99;
  border: none;
  padding: 10px;
  margin-top: 10px;
  cursor: pointer;
  font-weight: bold;
  width: 90%;
  border-radius: 8px;
  transition: 0.2s;
}

button:hover {
  background: #00ffaa;
  transform: scale(1.02);
}

/* TEXT */
h1, h2, h3 {
  color: #00ffcc;
}

.price {
  color: orange;
  font-weight: bold;
  margin: 5px 0;
}

/* MOBILE RESPONSIVE */
@media (max-width: 768px) {
  .card {
    padding: 15px;
  }
  .grid {
    grid-template-columns: 1fr;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    padding: 15px;
  }

  button {
    width: 100%;
    font-size: 16px;
    padding: 14px;
  }

  input {
    width: 100%;
    font-size: 16px;
    padding: 12px;
  }

  h1 {
    font-size: 20px;
  }
}

* {
  box-sizing: border-box;
}
/* NOTIFICATION */
#notif {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(50px);
  background: #00ff99;
  color: black;
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: bold;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 999;
}

/* MUNCUL */
#notif.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* LOADING OVERLAY */
#loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  color: #00ff99;
  z-index: 9999;
}

/* SPINNER */
.loader {
  border: 5px solid #222;
  border-top: 5px solid #00ff99;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
  margin-bottom: 15px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}