/* RESET */
html, body {
  margin: 0;
  height: 100%;
  font-family: Inter, system-ui, Arial, sans-serif;
  overflow-x: hidden;
  color: #fff;
}

/* BACKGROUND */
body {
  background: url('Images/BgMenu.png') no-repeat center center fixed;
  background-size: cover;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 80px;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 30px;
  z-index: 1000;
  box-shadow: 0 4px 12px rgba(0,0,0,0.6);
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-logo {
  height: 55px;
}

.nav-links {
  display: flex;
  gap: 20px;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background 0.3s;
}

.nav-link:hover {
  background: #18a999;
}

/* Center Wrapper */
.center-wrapper {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 80px;
  box-sizing: border-box;
}

/* MAIN CARD */
.card {
  background: rgba(0,0,0,0.75);
  border-radius: 12px;
  padding: 28px;
  max-width: 520px;
  width: 90%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  text-align: center;
}

/* DOWNLOAD BUTTON */
.download-btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 10px;
  background: linear-gradient(180deg, #b22222, #8b0000);
  color: white;
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
  transition: background 0.3s ease, transform 0.2s ease;
}

.download-btn:hover {
  background: linear-gradient(180deg, #cc2b2b, #a00000);
  transform: scale(1.03);
}

/* FOOTER */
footer {
  width: 100%;
  background: #000;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
}

.footer-content {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Socials */
.social-follow {
  position: absolute;
  left: 40px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  color: #fff;
}

.social-icons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.social-icons img {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.social-icons img:hover {
  transform: scale(1.08);
  filter: brightness(1.2);
}

/* PROFILES */
.profiles {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
}

.profile {
  text-align: center;
  max-width: 220px;
}

.profile img {
  width: 200px;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
}

.social-header {
  margin-top: 8px;
  font-size: 14px;
  color: #ccc;
}

.profile .social-icons {
  justify-content: center;
  margin-top: 6px;
}

.profile .social-icons img {
  width: 18px;
  height: 18px;
}

/* MODALS */
.modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background: #000;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  overflow-y: auto;
  padding: 100px 20px 40px;
}

.modal-content {
  text-align: center;
}

.modal h2 {
  margin-bottom: 30px;
  font-size: 36px;
}

.about-text {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 20px;
  line-height: 1.6;
  color: #ddd;
}

/* PRELOADER */
#preloader {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
  animation: fadeOut 1s ease 3s forwards;
}

#preloader img {
  width: 400px;
  opacity: 0;
  transform: scale(0.8);
  animation: logoReveal 2s ease forwards, glowPulse 2s ease-in-out infinite alternate;
}

/* Music Button */
.music-btn {
  position: fixed;
  top: 20px;
  right: 25px;
  background: rgba(0,0,0,0.7);
  border: none;
  color: #fff;
  font-size: 22px;
  padding: 10px 14px;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, background 0.3s ease;
  z-index: 2000;
}

.music-btn:hover {
  transform: scale(1.1);
  background: #b22222;
}

/* Falling Coins and Hats */
#fallingContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 50;
}

.falling-item {
  position: absolute;
  top: -100px;
  width: 40px;
  height: auto;
  animation: fall linear infinite;
  opacity: 0.9;
}

@keyframes fall {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(110vh) rotate(360deg);
  }
}

/* Animations */
@keyframes logoReveal {
  0% { opacity: 0; transform: scale(0.8); }
  100% { opacity: 1; transform: scale(1); }
}

@keyframes glowPulse {
  0% { filter: drop-shadow(0 0 10px #000); }
  100% { filter: drop-shadow(0 0 25px #000); }
}

@keyframes fadeOut {
  to { opacity: 0; visibility: hidden; }
}
