/* Base Styles */
body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  background-color: #121212;
  color: #fff;
  overflow-x: hidden;
}

/* Foreground Canvas */
#bgCanvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999;
  pointer-events: none;
}

/* Glowing Banner */
.banner-bg {
  position: absolute;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 40px;
  z-index: 1;
}

.banner-bg img {
  width: 33.33%;
  max-width: 500px;
  filter: drop-shadow(0 0 20px #e0b3ff) drop-shadow(0 0 40px #e0b3ff);
  animation: pulse-glow 3s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% {
    filter: drop-shadow(0 0 15px #e0b3ff) drop-shadow(0 0 30px #e0b3ff);
  }
  50% {
    filter: drop-shadow(0 0 30px #ffffff) drop-shadow(0 0 60px #ffccff);
  }
}

/* Top UI Section */
.top-ui {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 220px;
}

#connectButton {
  background-color: #ffcc00;
  color: #121212;
  border: none;
  padding: 10px 20px;
  font-size: 1rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#connectButton:hover {
  background-color: #ffd633;
}

#menuToggle {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* Navigation Menu */
nav {
  display: none;
  position: absolute;
  top: 80px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 10px;
  border-radius: 10px;
  z-index: 3;
}

nav a {
  color: white;
  text-decoration: none;
  padding: 0.5rem;
  display: block;
}

nav a:hover {
  color: #ffcc00;
}

/* Hero & Sections */
.hero {
  padding: 4rem 2rem;
  text-align: center;
  z-index: 2;
  position: relative;
}

.hero h1 {
  font-size: 2.5rem;
}

.hero p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.85;
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 3rem auto;
  max-width: 1200px;
  padding: 0 1rem;
  z-index: 2;
  position: relative;
}

.art-frame {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.art-preview {
  width: 100%;
  height: 200px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  margin-bottom: 1rem;
}

.buyButton {
  background: #ffcc00;
  color: #121212;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease;
}

.buyButton:hover {
  background-color: #ffd633;
}

/* Wallet Display */
.wallet-display {
  margin: 3rem auto;
  padding: 1rem;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  max-width: 600px;
  border-radius: 10px;
  color: #ccc;
}

.wallet-display code {
  display: block;
  font-family: monospace;
  color: #fff;
  margin-top: 0.5rem;
}

/* Footer */
footer {
  text-align: center;
  color: #777;
  padding: 2rem 1rem;
  background: #0a0a0a;
  position: relative;
  z-index: 2;
}

/* Responsive */
@media (max-width: 768px) {
  .banner-bg img {
    width: 80%;
  }

  .top-ui {
    margin-top: 180px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}
