/* General Styles */
body {
  /* background-color: #1a1a1a; */
  background-image: url("background.png");
  background-size: cover; 
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5); 
  border-radius: 55px; /* Optional: round corners */ 
  color: #f2f2f2;
  font-family: 'Press Start 2P', Arial, sans-serif; /* Minecraft-like font */
  margin: 0;
  padding: 0;
}

header {
  background-image: url("background.png");
  text-align: center;
  padding: 20px 0;
  background-color: #2e2e2e;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
  border-bottom: 4px solid #8c8c8c;
}

header h1 {
  margin: 0;
  font-size: 28px;
  color: #4caf50; /* Minecraft grass green */
}

img {
  max-width: 700px;
  height: auto;
}

.container {
  max-width: 900px;
  margin: 20px auto;
  padding: 10px;
}

/* Server Banner Styles */
.server-banner {
  background: linear-gradient(135deg, #2b2b2b 0%, #1a1a1a 100%);
  border: 3px solid #4caf50;
  border-radius: 10px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  animation: banner-glow 2s ease-in-out infinite alternate;
}

@keyframes banner-glow {
  from {
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  }
  to {
    box-shadow: 0 4px 25px rgba(76, 175, 80, 0.5);
  }
}

.banner-content h2.want-to-play-title {
  color: #4caf50;
  font-size: 24px;
  margin: 0 0 15px 0;
  text-align: center;
  background-color: rgba(0, 0, 0, 0.6);
  padding: 15px 25px;
  border-radius: 8px;
  border: 2px solid #4caf50;
  display: inline-block;
  width: calc(100% - 50px);
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.4);
  text-shadow: 0 0 10px rgba(76, 175, 80, 0.8);
}

.server-info {
  font-size: 18px;
  color: #f2f2f2;
  text-align: center;
  margin: 15px 0;
}

.server-address {
  color: #4caf50;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(76, 175, 80, 0.5);
}

.install-instructions {
  margin-top: 20px;
  padding: 15px;
  background-color: rgba(0, 0, 0, 0.3);
  border-radius: 5px;
  border-left: 4px solid #4caf50;
}

.install-instructions p {
  font-size: 16px;
  color: #4caf50;
  margin: 0 0 10px 0;
}

.install-instructions ol {
  margin: 10px 0;
  padding-left: 25px;
  color: #d1d1d1;
  font-size: 14px;
  line-height: 1.8;
}

.install-instructions li {
  margin: 8px 0;
}

.install-instructions code {
  background-color: #1a1a1a;
  color: #4caf50;
  padding: 2px 6px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  border: 1px solid #4caf50;
}

.install-instructions kbd {
  background-color: #333;
  color: #4caf50;
  padding: 3px 8px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  border: 2px solid #4caf50;
  box-shadow: 0 2px 0 #4caf50;
  display: inline-block;
  margin: 0 2px;
}

/* Path Copy Container */
.path-copy-container {
  margin: 15px 0;
}

.path-input {
  width: 100%;
  min-width: 500px;
  background-color: #1a1a1a;
  color: #4caf50;
  padding: 12px 15px;
  border: 2px solid #4caf50;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  cursor: text;
  box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s, box-shadow 0.3s;
  resize: horizontal;
  min-height: 40px;
}

.path-input:focus {
  outline: none;
  border-color: #66bb6a;
  box-shadow: 0 0 10px rgba(76, 175, 80, 0.5), inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

/* Accordion Styles */
.accordion {
  margin-bottom: 15px;
  border: 1px solid #444;
  border-radius: 5px;
  background-color: #2b2b2b;
  overflow: hidden;
}

.accordion input {
  display: none;
}

.accordion label {
  font-size: 20px;
  color: #4caf50; /* Grass green */
  background-color: #333;
  display: block;
  padding: 15px 20px;
  cursor: pointer;
  position: relative;
}

.accordion label:before {
  content: "►";
  position: absolute;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  transition: transform 0.2s;
}

.accordion input:checked ~ label:before {
  content: "▼";
}

.accordion .content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  padding: 0 20px;
}

.accordion input:checked ~ .content {
  max-height: 99999px;
}

.accordion .content ul {
  list-style: none;
  padding: 0;
}

.accordion .content li {
  margin: 10px 0;
  color: #9b59b6; /* Purple for mod names */
}

/* Subitem Styles */
.subitem {
  font-size: 16px;
  color: #d1d1d1;
  cursor: pointer;
  position: relative;
  display: block;
  margin: 5px 0;
}

.subitem:before {
  content: "►";
  color: #9b59b6; /* Purple for subitem arrows */
  margin-right: 10px;
  font-size: 14px;
}

.subitem:hover {
  color: #4caf50;
}

.subcontent {
  max-height: 0;
  overflow: hidden;
  color: #e0e0e0; /* Slightly brighter text for subcontent */
  padding-left: 20px;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
}

.subcontent p {
  margin: 0;
}

input:checked ~ .subcontent {
  max-height: 9900px;
}

a:link {
    color: yellow !important;  /* Set the color for unvisited links */
}

/* Visited link */
a:visited {
    color: yellow !important;  /* Set the color for visited links */
}

