@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');
/* REMOVE UNWANTED TOP SPACE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Orbitron', sans-serif;
  color: #ffffff;

  /* BACKGROUND IMAGE */
  background-image: url('../images/bg.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  text-align: center;
}

header {
  padding: 60px 20px;
}

.logo {
  width: 300px;
  margin-bottom: 20px;

  /* Shadow + Glow */
  filter: drop-shadow(0 0 15px rgba(0, 0, 0, 0.7))
          drop-shadow(0 0 30px rgba(0, 0, 0, 0.4));
}


h1 {
  font-size: 3.0rem;
  font-weight: 800;
  letter-spacing: 3px;
  margin: 15px 0;

  /* Text shadow / glow */
  color: #00ffd5;
  text-shadow:
    0 0 10px rgba(0, 0, 0, 0.8),
    0 0 25px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(0, 0, 0, 0.4);
}


p {
  color: #cfcfcf;
}

.server-info {
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid #00ffd5;
  box-shadow: 0 0 25px rgba(0, 255, 213, 0.25);
  padding: 25px;
  margin: 30px auto;
  width: 90%;
  max-width: 520px;
  border-radius: 14px;
}

.server-info p {
  margin: 10px 0;
}

.buttons a,
.copy-btn {
  display: inline-block;
  margin: 10px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #00ffd5, #00aaff);
  color: #000;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.25s ease;
  cursor: pointer;
}

.buttons a:hover,
.copy-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00ffd5;
}

.copy-btn {
  border: none;
}

.status {
  margin-top: 15px;
  font-size: 1.1rem;
}

footer {
  margin-top: 60px;
  padding: 20px;
  background: #000;
  font-size: 0.9rem;
  color: #777;
}
/* NAVBAR */
/* =========================
   NAVIGATION BAR (HEXORA)
   ========================= */

.nav {
  position: fixed;
  top: 0;
  width: 100%;
  height: 72px;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 255, 213, 0.35);
  transition: transform 0.4s ease;
}

.nav.hide {
  transform: translateY(-100%);
}

.nav-container {
  max-width: 1300px;
  height: 100%;
  margin: auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */
.nav-logo {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: #00ffd5;
  text-shadow: 0 0 12px rgba(0, 255, 213, 0.6);
}

/* MENU */
.nav-menu {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-menu a {
  position: relative;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  opacity: 0.85;
  transition: opacity 0.3s ease;
}

.nav-menu a:hover {
  opacity: 1;
}

/* UNDERLINE */
.nav-menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background: #00ffd5;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
}

.nav-menu a.active {
  color: #00ffd5;
}

/* HAMBURGER */
.nav-hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 6px;
}

.nav-hamburger span {
  width: 26px;
  height: 3px;
  background: #00ffd5;
  border-radius: 5px;
}

/* MOBILE */
@media (max-width: 900px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 72px;
    right: 0;
    width: 100%;
    flex-direction: column;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    padding: 25px 0;
    gap: 22px;
    align-items: center;
    display: none;
  }

  .nav-menu.active {
    display: flex;
  }
}



/* CINEMATIC PAGE TRANSITION */
.page-transition {
  padding-top: 70px; /* height of navbar */
  opacity: 0;
  transform: scale(1.03);
  filter: blur(10px);
  transition:
    opacity 0.8s ease-in-out,
    transform 1s ease-in-out,
    filter 0.8s ease-in-out;
}

.page-transition.show {
  opacity: 1;
  transform: scale(1);
  filter: blur(0);
}

/* RULES PAGE */
.rules-container {
  max-width: 900px;
  margin: 60px auto;
  padding: 20px;
  text-align: center;
}

.rules-card {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(0, 255, 213, 0.3);
  border-radius: 14px;
  padding: 25px;
  margin: 25px 0;
  text-align: left;
  box-shadow: 0 0 20px rgba(0, 255, 213, 0.15);
}

.rules-card h3 {
  margin-bottom: 15px;
  color: #00ffd5;
}

.rules-card ul {
  padding-left: 20px;
}

.rules-card li {
  margin-bottom: 10px;
  color: #e6e6e6;
}

.rules-note {
  margin-top: 30px;
  color: #cccccc;
  font-size: 0.95rem;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  display: flex;
  justify-content: space-between;
  align-items: center;

  padding: 15px 30px;
  background: rgba(0, 0, 0, 0.75);
  border-bottom: 1px solid #00ffd5;
  z-index: 9999;
}

/* ABOUT PAGE */
.about-hero {
  text-align: center;
  margin: 80px auto 40px;
  max-width: 900px;
  padding: 0 20px;
}

.about-content {
  max-width: 1000px;
  margin: 0 auto 80px;
  padding: 0 20px;
}

.about-card {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(0, 255, 213, 0.25);
  border-radius: 16px;
  padding: 30px;
  margin: 30px 0;
  box-shadow: 0 0 25px rgba(0, 255, 213, 0.15);
}

.about-card h3 {
  color: #00ffd5;
  margin-bottom: 15px;
}

.about-card p {
  color: #e6e6e6;
  line-height: 1.7;
}

/* Mobile */
@media (max-width: 768px) {
  .about-hero {
    margin-top: 60px;
  }
  .about-card {
    padding: 22px;
  }
}

/* FEATURES PAGE */
.features-hero {
  text-align: center;
  margin: 80px auto 40px;
  max-width: 900px;
  padding: 0 20px;
}

.features-grid {
  max-width: 1100px;
  margin: 0 auto 80px;
  padding: 0 20px;

  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.feature-card {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(0, 255, 213, 0.25);
  border-radius: 16px;
  padding: 28px;
  box-shadow: 0 0 22px rgba(0, 255, 213, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card h3 {
  color: #00ffd5;
  margin-bottom: 12px;
}

.feature-card p {
  color: #e6e6e6;
  line-height: 1.6;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(0, 255, 213, 0.35);
}

/* Mobile */
@media (max-width: 768px) {
  .features-hero {
    margin-top: 60px;
  }
  .feature-card {
    padding: 22px;
  }
}

/* SHARED HOVER EFFECT FOR CARDS */
.feature-card,
.rules-card,
.about-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover,
.rules-card:hover,
.about-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 30px rgba(0, 255, 213, 0.35);
}

.live-stats {
  margin-top: 20px;
  font-size: 1.05rem;
}

.players-section {
  max-width: 900px;
  margin: 80px auto;
  padding: 0 20px;
  text-align: center;
}

.players-list {
  margin-top: 20px;
}

.player-name {
  display: inline-block;
  margin: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  background: rgba(0,255,213,0.15);
  border: 1px solid rgba(0,255,213,0.4);
  color: #00ffd5;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.copy-btn.java {
  background: linear-gradient(135deg, #00ffd5, #00aaff);
  color: #000;
}

.copy-btn.bedrock {
  background: linear-gradient(135deg, #00ff88, #00cc66);
  color: #000;
}

.copy-btn {
  padding: 14px 30px;
  border-radius: 30px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.copy-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 0 25px rgba(0, 255, 213, 0.6);
}

/* HOME BOTTOM SECTION */
.home-bottom {
  max-width: 1200px;
  margin: 80px auto;
  padding: 0 20px;

  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 40px;
  align-items: start;
}

/* DISCORD WIDGET */
.discord-widget iframe {
  border-radius: 18px;
  box-shadow: 0 0 30px rgba(0, 255, 213, 0.35);
  border: 1px solid rgba(0, 255, 213, 0.4);
}

/* MOBILE */
@media (max-width: 900px) {
  .home-bottom {
    grid-template-columns: 1fr;
  }

  .discord-widget {
    display: flex;
    justify-content: center;
  }
}

/* ONLINE PLAYERS BOX */
.players-box {
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(0, 255, 213, 0.35);
  border-radius: 18px;
  padding: 28px;
  box-shadow: 0 0 30px rgba(0, 255, 213, 0.25);
}

.players-box h2 {
  margin-bottom: 18px;
  color: #00ffd5;
}

.nav-logo {
  line-height: 1;
}

.nav-menu a {
  line-height: 1;
}


.nav {
  background: rgba(0, 0, 0, 0.65);
}

.nav-menu a::after {
  box-shadow: 0 0 8px rgba(0, 255, 213, 0.8);
}

/* STAFF PAGE */
.staff-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.staff-card img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  margin-bottom: 14px;
  object-fit: cover;
  border: 2px solid rgba(0, 255, 213, 0.6);
  box-shadow: 0 0 18px rgba(0, 255, 213, 0.4);
}

.staff-role {
  color: #00ffd5;
  font-weight: 600;
  margin-bottom: 10px;
}

/* STAFF LAYOUT FIX */

/* Grid base */
.staff-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

/* Owner card */
.staff-owner {
  max-width: 420px;
  text-align: center;
}

/* Managers container */
.staff-managers {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 900px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .staff-managers {
    grid-template-columns: 1fr;
  }
}

/* VOTE PAGE */
.vote-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.vote-card {
  text-align: center;
}

.vote-btn {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 22px;
  background: #00ffd5;
  color: #000;
  font-weight: 700;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.vote-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(0, 255, 213, 0.7);
}

.vote-rewards {
  margin-top: 30px;
}

/* === GLOBAL PAGE FIX === */
.page-content {
  position: relative;
  z-index: 5;
  padding-top: 120px; /* clears navbar */
  padding-bottom: 80px;
}

/* === HERO / BACKGROUND FIX === */
.hero,
.features-hero {
  min-height: auto !important;
  height: auto !important;
}

/* === BACKGROUND OVERLAY FIX === */
.background,
.bg-overlay,
.hero::before {
  z-index: 1;
}

/* === CONTENT ABOVE BACKGROUND === */
.feature-card,
.vote-card,
.features-grid,
section {
  position: relative;
  z-index: 5;
}

.vote-grid {
  display: grid;
  gap: 25px;
  margin-top: 40px;
}


/* === 3D TILT EFFECT BASE === */
.tilt-card {
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, box-shadow 0.15s ease-out;
  will-change: transform;
}

.tilt-card:hover {
  box-shadow: 0 25px 60px rgba(0, 255, 213, 0.25);
}

/* === NAV DROPDOWN === */
.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(0, 15, 25, 0.95);
  border-radius: 10px;
  padding: 8px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 999;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  color: #dff;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
  background: rgba(0, 255, 213, 0.15);
  color: #00ffd5;
}

/* Show dropdown on hover */
.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}


.store-card {
  text-align: center;
}

.store-card ul {
  text-align: center;
}

.store-card ul li {
  text-align: center;
}

/* NAVBAR AUTO HIDE – CONFLICT SAFE */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: top 0.35s ease;
  z-index: 1000;
}

.nav.nav-hide {
  top: -100px; /* hides navbar safely */
}

html, body {
  height: auto;
  overflow-y: auto;
}

.page-content {
  position: relative;
  padding-top: 120px;
  padding-bottom: 80px;
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: top 0.35s ease;
  z-index: 1000;
}

.nav.nav-hide {
  top: -100px;
}
