body {
  margin: 0;
  font-family: "Poppins", sans-serif;
  color: #fff;
  background: radial-gradient(circle at top, #000, #111);
  background-size: cover;
  background-attachment: fixed;
  transition: background 1s ease;
}

header {
  background: rgba(0, 0, 0, 0.85);
  border-bottom: 2px solid gold;
  text-align: center;
  padding: 12px;
}

.logo a {
  color: gold;
  font-weight: 800;
  font-size: 24px;
  text-decoration: none;
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 10px 0 0;
  padding: 0;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
}

nav ul li a:hover,
nav ul li a.active {
  color: gold;
  text-shadow: 0 0 8px gold;
}

main {
  max-width: 1100px;
  margin: 40px auto;
  padding: 20px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 12px;
}

.glow-text {
  text-align: center;
  color: gold;
  text-shadow: 0 0 10px gold;
}

.intro {
  text-align: center;
  font-size: 16px;
  margin-bottom: 20px;
}

.selector {
  text-align: center;
  margin: 20px 0;
}

select {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid gold;
  background: #111;
  color: gold;
  font-weight: bold;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 20px;
}

.product-card {
  background: rgba(20, 20, 20, 0.9);
  border: 2px solid gold;
  border-radius: 10px;
  text-align: center;
  padding: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
  transition: transform 0.3s;
}

.product-card:hover {
  transform: scale(1.03);
}

.product-card img {
  width: 100%;
  border-radius: 8px;
}

.product-card h3 {
  color: gold;
  margin: 10px 0 5px;
}

.product-card p {
  font-size: 14px;
  margin: 3px 0;
}

.btn {
  display: inline-block;
  margin: 5px;
  padding: 8px 12px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  background: gold;
  color: black;
  transition: 0.3s;
}

.btn:hover {
  background: #ffdf5f;
}

.btn.secondary {
  background: transparent;
  color: gold;
  border: 1px solid gold;
}

footer {
  text-align: center;
  padding: 15px;
  background: rgba(0, 0, 0, 0.8);
  border-top: 2px solid gold;
  margin-top: 40px;
}

/* ✨ Particle canvas blur */
#particles {
  filter: blur(1px);
  opacity: 0.7;
  animation: fadeIn 2s ease-in;
}

/* Smooth page transitions */
body {
  transition: background 1s ease;
}

.loading {
  text-align: center;
  color: gold;
  animation: blink 1.5s infinite alternate;
}

@keyframes blink {
  from { opacity: 0.6; }
  to { opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 0.7; }
}