@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

/* === BASE === */
body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at top, #0a0a12, #060608 70%);
  color: #e8e8e8;
  margin: 0;
  padding: 0;
  text-align: center;
}

/* === HEADER === */
header {
  background: rgba(10, 20, 40, 0.6);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 40px;
  border-bottom: 1px solid #016FE2;
  box-shadow: 0 0 12px rgba(1, 111, 226, 0.3);
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo {
  width: 60px;
  animation: logoGlow 6s ease-in-out infinite;
}

nav a {
  color: #b0dfff;
  text-decoration: none;
  margin-left: 20px;
  font-weight: 600;
  transition: color 0.3s, text-shadow 0.3s;
}
nav a:hover, nav a.active {
  color: #ffffff;
  text-shadow: 0 0 8px #4fc3f7;
}

/* === MAIN === */
main {
  padding: 60px 20px;
  max-width: 900px;
  margin: 0 auto;
}

.card {
  background: rgba(10, 20, 40, 0.6);
  border: 1px solid #016FE2;
  border-radius: 10px;
  padding: 35px 25px;
  box-shadow: 0 0 20px rgba(79,195,247,0.25);
  margin-bottom: 40px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* === HERO === */
.hero h1 {
  font-size: 2em;
  color: #4fc3f7;
  margin-bottom: 15px;
}
.hero p {
  color: #bbb;
  margin-bottom: 25px;
  font-size: 1.1em;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

a.button {
  background: linear-gradient(90deg, #016FE2, #4fc3f7);
  color: #fff;
  padding: 10px 25px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 0 10px rgba(1, 111, 226, 0.6);
  transition: all 0.3s ease;
}
a.button:hover {
  transform: scale(1.03);
  box-shadow: 0 0 15px rgba(79,195,247,0.9);
}

/* === SERVER STATUS === */
.server-status h2 {
  color: #4fc3f7;
  margin-bottom: 15px;
}

/* === MODS GUIDE === */
.guide h1 {
  color: #4fc3f7;
  margin-bottom: 10px;
}
.guide h1 span {
  font-weight: 400;
  font-size: 0.75em;
  color: #9ad9ff;
}
.subtitle {
  color: #aaa;
  margin-bottom: 40px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.step {
  text-align: left;
  background: rgba(10, 20, 40, 0.5);
  border: 1px solid #016FE2;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 0 15px rgba(79,195,247,0.25);
}
.step h3 {
  color: #4fc3f7;
  margin-top: 0;
}

.troubleshooting {
  margin-top: 50px;
  background: rgba(10, 20, 40, 0.5);
  border: 1px solid #016FE2;
  border-radius: 10px;
  padding: 25px;
  text-align: left;
  box-shadow: 0 0 15px rgba(79,195,247,0.25);
}
.troubleshooting h2 {
  color: #4fc3f7;
  text-align: center;
  margin-bottom: 10px;
}
.troubleshooting ul {
  list-style-type: "• ";
  color: #ccc;
  line-height: 1.6;
}

/* === CODE ELEMENTS === */
code, kbd {
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  padding: 2px 5px;
  font-family: "Consolas", monospace;
  color: #9ad9ff;
  font-size: 0.95em;
}

/* === FOOTER === */
footer {
  color: #666;
  font-size: 0.85em;
  padding: 30px 0;
  border-top: 1px solid #222;
  margin-top: 40px;
}

/* === DARK MODE ENHANCEMENT === */
@media (prefers-color-scheme: dark) {
  .logo {
    filter: brightness(1.15) saturate(1.1);
  }
}

/* === ANIMATIONS === */
@keyframes logoGlow {
  0% { filter: drop-shadow(0 0 3px #016FE2) drop-shadow(0 0 6px #4fc3f7); }
  50% { filter: drop-shadow(0 0 10px #4fc3f7) drop-shadow(0 0 20px #016FE2); }
  100% { filter: drop-shadow(0 0 3px #016FE2) drop-shadow(0 0 6px #4fc3f7); }
}

/* === RESPONSIVE === */
@media (max-width: 700px) {
  header { flex-direction: column; gap: 10px; }
  nav a { margin: 0 10px; }
}

/* === TWO-COLUMN LAYOUT === */
.two-column {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
}
@media (max-width: 900px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}

/* === MOD LIST SIDEBAR === */
.modlist {
  text-align: left;
  background: rgba(10, 20, 40, 0.65);
  border: 1px solid #016FE2;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(79,195,247,0.25);
  padding: 25px;
  animation: sidebarGlow 12s ease-in-out infinite;
}

.modlist h2 {
  color: #4fc3f7;
  margin-top: 0;
  margin-bottom: 15px;
  text-align: center;
}

.modlist ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.modlist li {
  margin: 10px 0;
  line-height: 1.4;
  border-bottom: 1px solid rgba(79,195,247,0.1);
  padding-bottom: 6px;
}

.modlist li:last-child {
  border-bottom: none;
}

.modlist a {
  color: #9ad9ff;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}
.modlist a:hover {
  color: #fff;
  text-shadow: 0 0 6px #4fc3f7;
}

.modlist span {
  color: #aaa;
  font-size: 0.9em;
  display: block;
  margin-top: 3px;
}

.note {
  font-size: 0.85em;
  color: #888;
  text-align: center;
  margin-top: 15px;
  font-style: italic;
}

/* === SIDEBAR GLOW ANIMATION === */
@keyframes sidebarGlow {
  0%, 100% { box-shadow: 0 0 12px rgba(79,195,247,0.2); }
  50% { box-shadow: 0 0 20px rgba(79,195,247,0.4); }
}

/* === PLAYER AVATARS === */
#player-heads {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
}

.player-avatar {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(79,195,247,0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.player-avatar:hover {
  transform: scale(1.1);
  box-shadow: 0 0 12px rgba(79,195,247,0.9);
}
