/* ----------------------------
   FONTS
----------------------------- */
@font-face {
  font-family: "MinecraftFont";
  src: url("/assets/minecraft_font.ttf") format("truetype");
}

/* ----------------------------
   GLOBAL LAYOUT
----------------------------- */
body {
  margin: 0;
  padding: 0;
  font-family: "MinecraftFont", sans-serif;
  color: #fff;
  background: url("/assets/midwestblocks-minecraft-server-dirt-background.jpg") repeat;
  background-size: 64px 64px;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  background-attachment: fixed;
}

/* ----------------------------
   BACKGROUND VIDEO
----------------------------- */
#bgVideo {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -2;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
  opacity: 1;
}

/* ----------------------------
   HEADER
----------------------------- */
.site-header {
  background: rgba(0, 0, 0, 0.8);
  padding: 20px;
  color: #fff;
  text-align: center;
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.header-logo {
  max-width: 120px;
  image-rendering: pixelated;
  margin-bottom: 10px;
}

.header-text h1 {
  font-size: 32px;
  margin: 10px 0 5px;
  font-family: "MinecraftFont", sans-serif;
}

.header-text p {
  margin: 2px 0;
  font-size: 14px;
}

.main-nav ul {
  list-style: none;
  padding: 0;
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}

.main-nav a:hover {
  text-decoration: underline;
}

/* ----------------------------
   SERVER HEADER
----------------------------- */
.server-header {
  text-align: center;
  padding: 40px 20px 20px;
}

.server-logo {
  max-width: 200px;
  image-rendering: pixelated;
}

.server-title {
  font-size: 48px;
  margin: 20px 0 10px;
  text-shadow: 2px 2px #000;
}

.server-subtitle {
  font-size: 18px;
  color: #ccc;
}

/* ----------------------------
   UPDATES SECTION
----------------------------- */
.updates {
  padding: 60px 30px;
  background: rgba(0, 0, 0, 0.65);
  margin: 30px auto;
  max-width: 900px;
  border-radius: 16px;
  box-shadow: 0 0 25px rgba(0, 0, 0, 0.5);
  text-align: center;
}


.updates h2 {
  font-size: 28px;
  margin-bottom: 20px;
}

.card {
  background: rgba(30, 30, 30, 0.85);
  padding: 20px 25px;
  margin: 20px auto;
  border: 2px solid #444;
  border-radius: 10px;
  box-shadow: inset 0 0 6px #000;
  width: 90%;
  max-width: 600px;
  text-align: left;
}


/* ----------------------------
   GALLERY
----------------------------- */
.gallery {
  text-align: center;
  padding: 40px 20px;
}

.gallery h2 {
  font-size: 26px;
  margin-bottom: 20px;
}

.gallery-img {
  width: 80%;
  max-width: 600px;
  border: 4px solid #333;
  image-rendering: pixelated;
  border-radius: 4px;
  box-shadow: 0 0 10px #000;
}

.note {
  color: #ddd;
  margin-top: 10px;
  font-size: 14px;
}

/* ----------------------------
   FOOTER
----------------------------- */
.footer-centered {
  background: rgba(0, 0, 0, 0.7);
  padding: 30px 20px;
  text-align: center;
  border-top: 2px solid #444;
  margin-top: 60px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
}

.footer-centered .footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-centered p {
  margin: 10px 0;
  font-size: 14px;
  line-height: 1.6;
}

.footer-centered .footer-links a,
.footer-centered a {
  color: #ff6b6b;
  text-decoration: none;
  font-weight: bold;
  margin: 0 5px;
}

.footer-centered .footer-links a:hover,
.footer-centered a:hover {
  text-decoration: underline;
}

.footer-centered .donate-link {
  color: #32cd32;
}

.footer-centered .host-link {
  color: #00ffff;
}

/* ----------------------------
   RESPONSIVE
----------------------------- */
@media (max-width: 768px) {
  .server-title {
    font-size: 36px;
  }

  .card {
    font-size: 16px;
    padding: 20px;
  }

  .gallery-img {
    width: 95%;
  }
}
