/* Global Styles */
body {
  animation: fadeIn 2s ease-in-out both;
  font-family: 'Inter', sans-serif;
  /* Diagonal cyberpunk gradient */
  background: linear-gradient(135deg, #0a0f1c, #1b0033, #3d0066, #660066, #ff007f, #00f0ff, #0a0f1c);
  background-size: 600% 600%;
  animation: gradientShift 25s ease infinite;
  color: #fff;
  min-height: 100vh;
  display: flex;
  align-items: flex-start; /* so top stays higher */
  justify-content: center;
  padding: 40px 20px;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.95);
    filter: blur(6px);
  }
  to {
    opacity: 1;
    transform: scale(1);
    filter: blur(0px);
  }
}

/* Logo styling */
.server-logo {
  max-width: 240px;
  height: auto;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.5));
}

.logo-container {
  position: relative;
  top: -5px; /* bring logo up */
  margin-bottom: 80px; /* so tiles move up too */
}

.logo-frame {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 10px auto;
  border: 3px solid #444;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-heading {
  font-size: 16px;
  color: #ccc;
  margin: 30px 0 0 0;
}

.dashboard {
  max-width: 1100px;
}

.describe {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 20px 10px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border 0.3s ease;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  color: #fff;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Tile Base */
.tile {
  position: relative;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 30px 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border 0.3s ease;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.4);
  color: #fff;
  height: 220px; /* uniform height */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.tile img {
  max-width: 64px;
  margin-bottom: 15px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.tile h5 {
  font-weight: 600;
  margin-bottom: 0;
}

/* Default hover effect for all tiles */
.tile:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 12px 35px rgba(0,0,0,0.5);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Overlay effect on hover */
.tile::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 20px;
}

.tile:hover::after {
  opacity: 1;
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: url("");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 50% 50%;
} /* ---- stats.js ---- */
.count-particles {
    background: #000022;
    position: absolute;
    top: 48px;
    left: 0;
    width: 80px;
    color: #13e8e9;
    font-size: 0.8em;
    text-align: left;
    text-indent: 4px;
    line-height: 14px;
    padding-bottom: 2px;
    font-family: Helvetica, Arial, sans-serif;
    font-weight: bold;
}
.js-count-particles {
    font-size: 1.1em;
}