body {
  background: radial-gradient(circle at center, #40000e, #000);
  color: #fff;
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* HEADER */
.header {
  text-align: center;
  padding: 30px 10px;
  background: linear-gradient(180deg, #3a0008, #1a0000);
  border-bottom: 2px solid #a00000;
  box-shadow: 0 0 25px rgba(255, 0, 0, 0.3);
}
.logo {
  width: 300px;
  margin-bottom: 10px;
}
.header h1 {
  color: #ffcc00;
  font-size: 24px;
  text-shadow: 0 0 12px #ff6600;
  margin-bottom: 20px;
}

/* SEARCH */
.search-bar {
  display: flex;
  justify-content: center;
  align-items: center;
}
.search-bar input {
  width: 250px;
  padding: 8px 12px;
  border-radius: 8px 0 0 8px;
  border: none;
  outline: none;
}
.search-bar button {
  background: #ffcc00;
  border: none;
  color: #400;
  padding: 9px 12px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
}
.search-bar button:hover {
  background: #ff9900;
}

/* GRID */
.panduan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 30px;
}
.panduan-item {
  background: rgba(25, 0, 0, 0.85);
  border: 1px solid #660000;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.panduan-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 25px rgba(255, 150, 0, 0.4);
}
.panduan-item img {
  width: 100%;
  display: block;
}
.info {
  padding: 15px;
}
.info h3 {
  color: #ffcc00;
  font-size: 18px;
  margin-bottom: 10px;
}
.info p {
  color: #ddd;
  font-size: 14px;
  line-height: 1.5;
}
.btn {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 14px;
  background: #ffcc00;
  color: #400;
  font-weight: 600;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}
.btn:hover {
  background: #ff9900;
  color: #000;
}

/* FOOTER */
.footer {
  text-align: center;
  background: #100000;
  padding: 15px 10px;
  color: #aaa;
  font-size: 13px;
  border-top: 1px solid #400;
}


.back-btn {
  display: inline-block;
  margin-bottom: 20px;
  background: #a00000;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.back-btn:hover {
  background: #ff6600;
}

.hidden {
  display: none !important;
}

.panduan-detail {
  padding: 30px;
  max-width: 900px;
  margin: 0 auto;
  color: #fff;
  opacity: 0;
  transition: all 0.4s ease;
}

.panduan-detail img {
  width: 100%;
  border-radius: 10px;
  border: 2px solid #a00000;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.3);
  margin-bottom: 20px;
}

.panduan-body h2,
.panduan-body h3 {
  color: #ffcc00;
  text-shadow: 0 0 5px #ff6600;
}

.panduan-body p,
.panduan-body li {
  font-size: 15px;
  color: #ddd;
  line-height: 1.6;
}

.back-btn {
  display: inline-block;
  margin-bottom: 20px;
  background: #a00000;
  color: #fff;
  border: none;
  padding: 10px 15px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.back-btn:hover {
  background: #ff6600;
}

.panduan-detail {
  transition: opacity 0.4s ease;
}

.panduan-detail.hidden {
  display: none;
  opacity: 0;
}

.panduan-detail:not(.hidden) {
  display: block;
  opacity: 1;
}
