/* General Styling */
body {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
  color: #fff;
  background-color: #111;
  overflow-x: hidden;
}

/* Background Image */
.bg-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

/* Overlay with Fireflies (placed behind content) */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Header Styles */
header {
  padding: 20px;
  text-align: center;
  background: linear-gradient(45deg, #ffcc00, #ff6600);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 10;
}

.logo-container {
  text-align: center;
  margin-bottom: 10px;
  position: relative;
  z-index: 11;
}

.logo {
  width: 120px;
  display: block;
  margin: auto;
  animation: float 2s infinite ease-in-out;
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

.social-links {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 15px;
  position: relative;
  z-index: 11;
}

.social-links img {
  width: 35px;
  border-radius: 50%;
  border: 2px solid #FFD700;
  background: rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  animation: float 2s infinite ease-in-out;
}

.social-links img:hover {
  transform: scale(1.1);
  box-shadow: 0 0 10px #FFA500;
}

/* Main Content */
main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 50px;
  gap: 40px;
  position: relative;
  z-index: 5;
}

/* GIF Container */
.gif-container {
  display: flex;
  justify-content: space-around;
  width: 100%;
  max-width: 1200px;
  margin-bottom: 40px;
  padding: 10px;
  border: 2px solid rgba(255, 204, 0, 0.5);
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 204, 0, 0.6);
  background: rgba(255, 204, 0, 0.1);
}

.gif-box {
  flex: 1;
  max-width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.gif-box img {
  width: 100%;
  max-width: 300px;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
}

/* Central Content */
.center-content {
  position: relative;
  background: rgba(255, 140, 0, 0.8);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  max-width: 600px;
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.5);
  z-index: 2;
}

/* Minting Progress Bar */
.minting-status {
  text-align: center;
  font-size: 20px;
  margin: 20px 0;
}

.minting-bar {
  width: 100%;
  max-width: 400px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  overflow: hidden;
  margin: 10px auto;
}

#mint-progress {
  width: 0%;
  height: 100%;
  background: #ff6600;
  transition: width 0.5s ease-in-out;
}

/* Contract Info */
.contract-info {
  position: relative;
  z-index: 3;
}

.contract-info p {
  text-align: center;
  font-size: 18px;
}

.contract-link {
  color: #ffcc00;
  text-decoration: none;
  border-bottom: 1px dotted #ffcc00;
  transition: all 0.3s ease;
  position: relative;
  z-index: 4;
  cursor: pointer;
}

.contract-link:hover {
  color: #ffa500;
  border-bottom: 1px dotted #ffa500;
  text-decoration: none;
}

.price {
  color: #ffcc00;
  font-size: 20px;
}

/* Whitepaper Section */
.whitepaper {
  text-align: center;
  margin-top: 20px;
  position: relative;
  z-index: 3;
}

.whitepaper-link {
  background: rgba(255, 204, 0, 0.1);
  color: #ffcc00;
  padding: 10px 20px;
  border-radius: 10px;
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  font-weight: bold;
  position: relative;
  z-index: 4;
  cursor: pointer;
}

.whitepaper-link:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(255, 204, 0, 0.8);
  background: rgba(255, 204, 0, 0.2);
}

.whitepaper-link img {
  width: 25px;
  margin-right: 10px;
}

/* Buttons */
.button-group {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
  z-index: 10;
}

button {
  background: linear-gradient(45deg, #ff6600, #ffcc00);
  color: #fff;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  font-weight: bold;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  box-shadow: 0 0 10px rgba(255, 140, 0, 0.5);
}

button:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px rgba(255, 140, 0, 0.8);
}

/* Warning Box */
.warning-box {
  margin-top: 20px;
  padding: 15px;
  background: rgba(255, 0, 0, 0.6);
  color: #fff;
  border-radius: 10px;
  text-align: center;
  max-width: 600px;
  margin: auto;
}

/* Copyright */
.copyright {
  margin-top: 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
}

/* Mobile Optimization */
@media (max-width: 768px) {
  .logo {
    width: 100px;
  }
  .social-links {
    gap: 10px;
  }
  button {
    font-size: 16px;
    padding: 12px 25px;
  }
  .gif-container {
    flex-direction: column;
    align-items: center;
  }
}