/* ========================================
        RE-DESIGN CSS BY GEMINI (RED THEME - POPUP MODAL)
        ========================================
        */
:root {
  --bg-dark: #000000;
  --card-bg: #111111;
  --primary-accent: linear-gradient(to top, #ffa500, #ff4800);
  --primary-accent-hover: #c62828;
  --text-light: #f0f0f0;
  --text-heading: #ffffff;
  --border-color: #222;
}

* {
  font-family: "Inter", sans-serif;
}

p, table, span, a {
  font-size: 13px;
  color: #fff !important;
}

img {
  width: 100%;
}

.welcome_message {
  border: 1px solid #333;
  background: #222;
  text-align: center;
  padding: 1rem;
  border-radius: 10px;
}
.welcome_message h1 {
  font-size: 1.2rem;
  text-transform: uppercase;
}

.banner img {
  border-radius: 10px;
}

.Nav_button {
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 0;
}
.Nav_button a {
  text-transform: uppercase;
  font-weight: bold;
  text-decoration: none;
  background: var(--primary-accent);
  padding: 0.5rem 1rem;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgb(255, 198, 0) inset;
}

table {
  width: 100% !important;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

body.modal-open {
  overflow: hidden;
  /* Mencegah scroll di belakang modal */
}

.promo-card:nth-child(4) img {
  border-radius: 10px 10px 0 0;
}
.promo-card:last-child img {
  border-radius: 0 0 10px 10px;
}

.container {
  max-width: 1200px;
  margin: 10px auto;
  padding: 11px;
}

.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 0;
}

.promo-card {
  background-color: transparent;
}

.promo-banner {
  width: 100%;
  display: block;
  cursor: pointer;
  transition: filter 0.3s ease;
}

.promo-banner:hover {
  filter: brightness(1.1);
}

.promo-details {
  display: none;
  /* Semua detail disembunyikan karena akan muncul di popup */
}

/* CSS UNTUK POPUP MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  /* Diubah ke flex oleh JS */
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--bg-dark);
  padding: 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  position: relative;
  width: 100%;
  max-width: 800px;
  /* Lebar maksimal popup */
  max-height: 50vh;
  /* Tinggi maksimal popup */
  overflow-y: auto;
  /* Scroll jika konten panjang */
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--text-light);
  font-size: 32px;
  line-height: 1;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--primary-accent);
}

.modal-body a {
  color: var(--primary-accent);
}

.modal-body strong {
  color: var(--text-heading);
}

.modal-body .button {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-accent);
  color: white;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 15px;
}

.modal-body .button:hover {
  background-color: var(--primary-accent-hover);
}

.copyright {
  text-align: center;
  margin-top: 50px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  font-size: 0.9rem;
  color: #888;
}

@media screen and (max-width: 768px) {
  .promo-grid {
    grid-template-columns: 1fr;
  }
}/*# sourceMappingURL=promo.css.map */