/* GLOBAL RESET ---------------------------------------------------------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  max-width: 100%;
  overflow-x: hidden;
}

/* BASE BODY -------------------------------------------------------------- */
body {
  font-family: "Press Start 2P", cursive;
  color: #fff;
  text-align: center;
  overflow-x: hidden;
  background-color: #000;
}

@media (max-width: 600px) {
  body {
    font-size: 14px;
  }
}

a {
  color: #ffbf00;
}

/* BACKGROUND GRADIENT ---------------------------------------------------- */
.gradient-bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(145deg, #0f2027, #203a43, #2c5364);
  opacity: 0.85;
  z-index: -1;
  background-size: 200% 200%;
}

/* NAVBAR ------------------------------------------------------------------ */
.top-nav {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
}

.top-nav a {
  font-family: "Press Start 2P", cursive;
  color: #caffca;
  text-decoration: none;
  font-size: 14px;
  transition: 0.2s;
  padding-bottom: 3px;
}

.top-nav a:hover {
  color: #ffffff;
  transform: scale(1.05);
}

.top-nav a.active {
  color: #9cff7a;
  border-bottom: 2px solid #9cff7a;
}

/* MOBILE NAV ------------------------------------------------------------- */
@media (max-width: 600px) {
  .top-nav {
    gap: 20px;
    padding: 12px 0;
  }

  .top-nav a {
    font-size: 12px;
  }
}

/* LANDING PAGE ----------------------------------------------------------- */
.mc-container {
  margin-top: 140px; /* Extra space for fixed navbar */
  padding: 20px;
}

.mc-title {
  font-size: 40px;
  background: linear-gradient(90deg, #9cff7a, #c3ffb7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.6);
  margin-bottom: 40px;
}

.mc-subtitle {
  font-size: 16px;
  line-height: 1.8;
  color: #e6fbe3;
  margin-bottom: 50px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.mc-button {
  display: inline-block;
  padding: 18px 30px;
  background: #3c8527;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  border: 4px solid #1b3f12;
  border-radius: 8px;
  box-shadow: 0 6px #1b3f12;
  transition: 0.1s ease-in-out;
}

.mc-button:hover {
  background: #47a32f;
  transform: translateY(2px);
  box-shadow: 0 4px #1b3f12;
}

.mc-ip-box {
  margin-top: 60px;
  display: inline-block;
  background: rgba(0, 0, 0, 0.35);
  padding: 25px 35px;
  border-radius: 8px;
  border: 2px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
}

.mc-ip-box p {
  font-size: 12px;
  margin-bottom: 10px;
  opacity: 0.8;
}

.mc-ip-box span {
  font-size: 18px;
  color: #b8ffae;
}

/* LANDING MOBILE --------------------------------------------------------- */
@media (max-width: 600px) {
  .mc-title {
    font-size: 28px;
  }
  .mc-subtitle {
    font-size: 12px;
    padding: 0 10px;
  }
  .mc-button {
    padding: 14px 20px;
    font-size: 14px;
  }

  .mc-ip-box {
    width: 90%;
    max-width: 320px;
    padding: 18px 20px;
    overflow-wrap: anywhere;
  }

  .mc-ip-box span {
    font-size: 12px;
  }

  .mc-ip-box p {
    font-size: 12px;
  }
}

/* GUIDE PAGE ------------------------------------------------------------- */
.guide-container {
  max-width: 800px;
  margin: 140px auto;
  padding: 20px;
  text-align: left;
  font-family: Arial, sans-serif;
  color: #f0f0f0;
}

.guide-title {
  font-family: "Press Start 2P", cursive;
  text-align: center;
  font-size: 32px;
  background: linear-gradient(90deg, #9cff7a, #c3ffb7);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.guide-subtitle {
  text-align: center;
  font-size: 18px;
  color: #d4ffd2;
  margin-bottom: 40px;
}

.guide-text {
  margin: 15px 0;
  line-height: 1.7;
  color: #e8e8e8;
  font-size: 16px;
}

.guide-list {
  margin-left: 20px;
  margin-top: 10px;
  line-height: 1.8;
  font-size: 16px;
}

.guide-list.ordered {
  margin-left: 30px;
}

.server-ip {
  font-size: 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  padding: 12px 18px;
  border-radius: 8px;
  margin: 20px 0;
  display: block;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* GUIDE IMAGE ------------------------------------------------------------ */
.guide-img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* GUIDE FOOTER ----------------------------------------------------------- */
.guide-footer {
  text-align: center;
  margin-top: 40px;
  font-size: 16px;
  color: #baffb4;
}

/* GUIDE MOBILE ----------------------------------------------------------- */
@media (max-width: 600px) {
  .guide-title {
    font-size: 24px;
  }
  .guide-subtitle {
    font-size: 14px;
  }
  .guide-text {
    font-size: 14px;
  }
  .guide-list {
    font-size: 14px;
  }
  .server-ip {
    font-size: 14px;
    padding: 10px;
  }
}
