body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #362024;
  color: #333;
}

/* Navbar */
nav {
  background-color: #7c4751;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: top 0.4s ease-in-out;
}
nav.hidden {
  top: -80px;
}
nav .logo img {
  height: 50px;
}
.nav-links {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  list-style: none;
}
.nav-links li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
}
.nav-store a {
  background: white;
  color: #7c4751;
  padding: 0.4rem 0.8rem;
  border-radius: 5px;
  font-weight: bold;
  text-decoration: none;
}
.menu-toggle {
  display: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
  position: relative;
  text-align: center;
  overflow: hidden; /* important for zoom */
}

/* Background zoom layer */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url('1.png') center/cover no-repeat;
  z-index: -2; /* behind overlay */
  transform: scale(1);
  animation: zoomBackground 30s ease-in-out infinite alternate;
}

/* Dark overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: -1;
}

/* Hero text */
.hero h1,
.hero p {
  position: relative;
  z-index: 1; /* above everything */
}

.hero h1 {
  font-size: 3rem;
  animation: fadeInScale 2s ease forwards, glow 2s infinite alternate;
}

.hero p {
  font-size: 1.2rem;
  margin-top: 1rem;
  opacity: 0;
  animation: fadeIn 3s ease forwards;
  animation-delay: 1s;
}

/* Zoom animation */
@keyframes zoomBackground {
  from { transform: scale(1); }
  to   { transform: scale(1.2); }
}

/* Other animations */
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes glow {
  from { text-shadow: 0 0 10px #fff, 0 0 20px #7c4751; }
  to { text-shadow: 0 0 20px #fff, 0 0 30px #7c4751; }
}



/* Status Container (your sketch) */
.status-container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  margin: 20px 0;
  z-index: 1;
}

.status-box {
  background: rgba(124, 71, 81, 0.2);
  border: 2px solid #7c4751;
  border-radius: 10px;
  padding: 15px 30px;
  text-align: center;
  min-width: 160px;
  transition: all 0.3s ease;
}

.status-box:hover {
  background: rgba(124, 71, 81, 0.35);
  transform: translateY(-3px);
  box-shadow: 0 0 12px rgba(124, 71, 81, 0.6);
}

.status-box p:first-child {
  font-size: 14px;
  font-weight: bold;
  color: #ccc;
}

.status-box p:last-child {
  font-size: 22px;
  font-weight: bold;
  color: #fff;
}

/* Animations */
@keyframes fadeInScale {
  from { opacity: 0; transform: scale(0.8); }
  to { opacity: 1; transform: scale(1); }
}

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

@keyframes glow {
  from { text-shadow: 0 0 10px #fff, 0 0 20px #7c4751; }
  to { text-shadow: 0 0 20px #fff, 0 0 30px #7c4751; }
}


.discord-section {
  padding: 40px 20px;
  background: rgba(124, 71, 81, 0.1);
  border-top: 2px solid #7c4751;
  color: #fff;
  text-align: center;
}

.discord-section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  color: #fff;
  text-shadow: 0 0 10px rgba(124, 71, 81, 0.7);
}

.discord-container {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap; /* stacks on mobile */
}

.discord-left {
  max-width: 300px;
  text-align: center;
}

.discord-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #5865F2;
  color: #fff;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease, transform 0.2s ease;
  margin-bottom: 15px;
}

.discord-btn img {
  width: 30px;
  height: 30px;
}

.discord-btn:hover {
  background: #4752c4;
  transform: scale(1.05);
}

.discord-text {
  font-size: 0.9rem;
  color: #ccc;
}

.discord-widget iframe {
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,0,0,0.4);
}



/* Sections */
section {
  padding: 4rem 2rem;
  text-align: center;
}
.card-container {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}
.card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  width: 250px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  transform: scale(1.05) rotate(-1deg);
  box-shadow: 0 8px 20px rgba(124,71,81,0.6);
}
.card img {
  width: 80px;
  height: 80px;
  border-radius: 8px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.card img:hover {
  transform: scale(1.1);
  opacity: 0.85;
}

/* FAQ */
details {
  margin: 1rem auto;
  max-width: 600px;
  text-align: left;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 1rem;
  background: white;
  transition: all 0.4s ease, transform 0.4s ease;
  cursor: pointer;
}
details[open] {
  background: #f9f0f2;
  border-color: #7c4751;
  transform: scale(1.02);
  box-shadow: 0 6px 15px rgba(124,71,81,0.3);
}
details summary {
  font-weight: bold;
  cursor: pointer;
}

/* Vote */
.vote-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 300px;
  margin: 0 auto;
}
.vote-links a {
  background: #7c4751;
  color: white;
  padding: 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}
.vote-links a:hover {
  background: #5e343e;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 15px rgba(124,71,81,0.4);
}

/* Footer */
footer {
  background: #7c4751;
  color: white;
  text-align: center;
  padding: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 70px;
    right: 0;
    background: #7c4751;
    flex-direction: column;
    padding: 1rem;
    width: 200px;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-toggle {
    display: block;
  }
}

/* Loader */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #7c4751;
  display: flex;
  flex-direction: column; /* stack image + text */
  justify-content: center;
  align-items: center;
  gap: 20px; /* spacing between logo and text */
  z-index: 9999;
  overflow: hidden; /* prevent flakes going outside */
  transition: opacity 1s ease, visibility 1s ease;
}

#loader img {
  width: 250px;
  max-width: 80%;
  animation: rotate 3s linear infinite, pulse 2s ease-in-out infinite;
  transition: transform 1s ease, opacity 1s ease;
}

#loader.hidden {
  opacity: 0;
  visibility: hidden;
}

#loader.hidden img {
  transform: scale(0.5); /* shrink effect */
  opacity: 0; /* fade out */
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); }
}

@keyframes blink {
  50% { border-color: transparent }
}

/* Snowflakes */
.snowflake {
  position: absolute;
  color: white;
  font-size: 1.5em;
  opacity: 0.7;
  pointer-events: none;
  user-select: none;
  animation: float 2s ease-in-out infinite; /* faster */
}

@keyframes float {
  0%   { transform: translateY(0) scale(1); opacity: 0.8; }
  50%  { transform: translateY(-20px) scale(1.3); opacity: 1; } /* more movement */
  100% { transform: translateY(0) scale(1); opacity: 0.8; }
}

/* Particle Background */
.particle-background {
  position: fixed; /* stays as background */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* behind all content */
  pointer-events: none; /* clicks pass through */
}

.particle {
  position: absolute;
  bottom: -20px;
  width: 6px;
  height: 6px;
  background: #7c4751; /* particle color */
  border-radius: 50%;
  opacity: 0.7;
  animation-name: rise;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
}

/* Particle animation */
@keyframes rise {
  from {
    transform: translateY(0);
    opacity: 0.7;
  }
  to {
    transform: translateY(-120vh);
    opacity: 0;
  }
}
