/* ===== RESET ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ===== FONT ===== */
@font-face {
  font-family: "Minecrafter";
  src: url("font/Minecrafter.Reg.ttf") format("truetype");
  font-display: swap;
}

/* ===== BASE ===== */
:root {
  --bg: #0a0a0a;
  --panel: #1b1b1b;
  --accent: #ff6600;
  --muted: #777;
  --text: #ffffff;
}
html,
body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* ===== NAVBAR ===== */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  background: #1f1f1f;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* left group (logo + brand + status) */
.navbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-img {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  object-fit: cover;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.server-status {
  font-size: 0.88rem;
  padding: 6px 10px;
  border-radius: 6px;
  background: #151515;
  border: 1px solid #2b2b2b;
  color: #ccc;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* server status color states */
.server-status.online {
  color: #4ade80;
  background: #052e16;
  border-color: #1b4d1e;
}
.server-status.offline {
  color: #f87171;
  background: #2b0000;
  border-color: #7f1d1d;
}
.server-status.maintenance {
  color: #f97316;
  background: #2c1a00;
  border-color: #92400e;
}

/* hamburger for mobile */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 3px;
  background: #fff;
  margin: 4px 0;
  transition: 0.2s;
  border-radius: 2px;
}

/* menu (desktop) */
.menu {
  display: flex;
  gap: 18px;
  align-items: center;
}
.menu .menu-link,
.menu a {
  color: #ddd;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 6px;
  transition: all 0.15s;
}
.menu a:hover {
  color: var(--accent);
  background: rgba(255, 102, 0, 0.06);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 68vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.6)),
    url("images/wallpaper-fundo-hero.png") center/cover no-repeat;
  transform: scale(1.02);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: 0 18px;
}
.hero h1 {
  font-family: "Minecrafter", sans-serif;
  font-size: 3.6rem;
  margin-bottom: 8px;
  line-height: 1;
}
.hero p {
  font-size: 1.1rem;
  color: #ddd;
  margin-bottom: 18px;
}

/* ===== BUTTON ===== */
.btn-laranja {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(255, 102, 0, 0.12);
  transition: transform 0.15s, box-shadow 0.15s;
}
.btn-laranja:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 102, 0, 0.14);
}

/* ===== CARDS ===== */
.cards {
  display: flex;
  justify-content: center;
  gap: 26px;
  padding: 48px 20px;
  flex-wrap: wrap;
}
.card {
  width: 320px;
  background: var(--panel);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}
.card-image img {
  width: 100%;
  height: 160px;
  object-fit: contain;
  margin-bottom: 14px;
}

/* ===== FOOTER ===== */
.footer {
  padding: 28px 16px;
  text-align: center;
  color: var(--muted);
  border-top: 1px solid #151515;
}

/* ===== ANIM ===== */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===== RESPONSIVE ===== */

/* Tablet / small desktop */
@media (max-width: 1000px) {
  .hero h1 {
    font-size: 3rem;
  }
}

/* Mobile */
@media (max-width: 800px) {
  .hamburger {
    display: block;
  }

  /* hide desktop menu, show mobile menu when .menu.show (toggled by JS) */
  .menu {
    position: absolute;
    top: 68px;
    right: 12px;
    background: #111;
    border: 1px solid #222;
    padding: 10px 12px;
    border-radius: 8px;
    flex-direction: column;
    gap: 8px;
    display: none; /* default hidden on mobile */
    min-width: 160px;
  }
  .menu.show {
    display: flex;
  }

  /* reduce hero */
  .hero {
    height: 56vh;
  }
  .hero h1 {
    font-size: 2.4rem;
  }
  .card {
    width: 92%;
    max-width: 420px;
  }
  .navbar {
    padding: 10px 14px;
  }
  .brand {
    display: none;
  } /* hide brand text on very small to save space - server-status still available inside brand? If you want keep, remove this rule */
  .server-status {
    font-size: 0.82rem;
    padding: 5px 8px;
  }
}

/* small phones */
@media (max-width: 420px) {
  .hero h1 {
    font-size: 2rem;
  }
  .btn-laranja {
    padding: 10px 18px;
  }
  .logo-img {
    width: 44px;
    height: 44px;
  }
}
