body {
  background-color: #0f0f0f;
  color: #e0e0e0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ============================= */
/* ðŸ”§ HEADER STYLING */
/* ============================= */
.page-header {
  position: relative;
  height: 650px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.page-header::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url('../assets/images/custom-header.jpg') no-repeat center top / cover;
  opacity: 0.5;
  z-index: -1;
}

.page-title {
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 6px 6px 12px rgba(0, 0, 0, 0.75);
}

.floating-banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.8);
  z-index: 2;
  white-space: nowrap;
  animation: floating 4s ease-in-out infinite;
}

@keyframes floating {
  0% { transform: translate(-50%, -50%) translateY(0px); }
  50% { transform: translate(-50%, -50%) translateY(-15px); }
  100% { transform: translate(-50%, -50%) translateY(0px); }
}

.quest-container, .droplist-container {
  max-width: 90%;
  content: center;
  margin: 40px auto;
  text-align: left;        /* ✅ Keep text left-aligned */
  display: block;
  background: rgba(0, 0, 0, 0.8);
  padding: 20px;
  border-radius: 8px;
  color: #fff;
  margin-top: 100px;
  margin-bottom: 350px;
}

.item-image {
  width: 50px;
  height: 50px;
  margin: 5px;
  border: 1px solid #555;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.mob-image {
  width: 185px;
  height: 315px;
  margin: 5px;
  border: 1px solid #555;
  border-radius: 6px;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.1);
}

.toggle-details-btn {
  background-color: #444;
  color: #fff;
  border: 1px solid #888;
  border-radius: 4px;
  padding: 5px 10px;
  margin-top: 10px;
  cursor: pointer;
  transition: background-color 0.2s;
}

.toggle-details-btn:hover {
  background-color: #666;
}


h1 {
  font-size: 32px;
  margin-bottom: 10px;
}

p {
  font-size: 16px;
  margin-bottom: 20px;
}

.search-filter, #searchBox {
  width: 80%;
  padding: 10px;
  margin: 20px auto;
  margin-bottom: 15px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  text-align: center;
  background-color: #1c1c1c;
  color: #fff;
}

.search-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
  align-items: center;
}

.search-filter input[type="text"],
.search-filter select {
  padding: 0.6rem 1rem;
  background-color: #1c1c1c;
  border: 1px solid #444;
  color: #f0f0f0;
  border-radius: 8px;
  min-width: 180px;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.1);
}

.search-filter input[type="text"]::placeholder {
  color: #bbb;
}

.search-filter input[type="text"]:focus,
.search-filter select:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
  background-color: #222;
}

.search-filter select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg fill=\"%23d4af37\" height=\"20\" viewBox=\"0 0 24 24\" width=\"20\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M7 10l5 5 5-5z\"/></svg>');
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2rem;
}


.quest-card {
  background-color: #1a1a1a;
  border: 1px solid #333;
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1rem;
  transition: background-color 0.3s ease;
}

.quest-card:hover {
  background-color: #222;
}

.quest-card h3 {
  margin: 0;
  font-size: 1.2rem;
  cursor: pointer;
  color: #f9d342;
}

.quest-details {
  display: none;
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.event-badge {
  background-color: #ff4040;
  color: white;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
  font-weight: bold;
}

.quest-details strong {
  color: #d6a600;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(20, 20, 20, 0.9);
}

th, td {
  border: 1px solid #444;
  padding: 10px;
  text-align: left;
}

th {
  background: #222;
  color: #ffcc00;
}

td span {
  display: block;
  color: #bbb;
}

tr:nth-child(even) {
  background: rgba(30, 30, 30, 0.8);
}

tr:hover {
  background: rgba(50, 50, 50, 0.9);
}

.pagination {
  text-align: center;
  margin-top: 20px;
}

.pagination a {
  display: inline-block;
  padding: 8px 12px;
  margin: 2px;
  background-color: #222;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
}

.pagination a.active {
  background-color: #d4af37;
  font-weight: bold;
}

.pagination a:hover {
  background-color: #444;
}

.event-badge {
  background: #ff6600;
  color: white;
  padding: 2px 6px;
  margin-left: 8px;
  font-weight: bold;
  border-radius: 5px;
  font-size: 0.8rem;
}

.hunt-badge {
  background: #00cc66;
  color: white;
  padding: 2px 6px;
  margin-left: 8px;
  font-weight: bold;
  border-radius: 5px;
  font-size: 0.8rem;
}

.normal-badge {
  background: #888;
  color: white;
  padding: 2px 6px;
  margin-left: 8px;
  font-weight: bold;
  border-radius: 5px;
  font-size: 0.8rem;
}



/* ============================= */
/* ðŸ”§ FOOTER POSITIONING & SPACING */
/* ============================= */
footer {
  padding: 0px 500px;
  text-align: center;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  font-size: 1rem;
  border-top: 0px solid rgba(255, 255, 255, 0.3);
}