@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --accent: #00eaff;
  --dark: #0d0d0d;
  --light: #f5f5f5;
  --overlay: rgba(0, 0, 0, 0.55);
}

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

body {
  font-family: 'Press Start 2P', monospace;
  color: var(--light);
  background: var(--dark);
  background-image: url('https://i.imgur.com/rAkoa0L.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('https://i.imgur.com/rAkoa0L.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  filter: blur(2px) brightness(1);
  transform: scale(1.1);
  z-index: -2;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  background: var(--overlay);
  z-index: -1;
}

/* === Header === */
header {
  text-align: center;
  padding: 50px 20px 20px;
  color: #fff;
  position: relative;
  z-index: 10;
  text-shadow: 2px 2px 6px #000;
}

.status-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.status-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #ffaa00; /* gelb beim Start */
  box-shadow: 0 0 10px #ffaa00;
  animation: pulse-yellow 2s infinite;
  transition: all 0.4s ease;
}

h1 {
  font-size: 28px;
  color: var(--accent);
}

header p {
  margin-top: 10px;
  color: #cfd3d7;
  font-size: 10px;
}

/* === Pulse Animationen === */
@keyframes pulse-green {
  0% { box-shadow: 0 0 5px #00ff88; }
  50% { box-shadow: 0 0 20px #00ff88; }
  100% { box-shadow: 0 0 5px #00ff88; }
}

@keyframes pulse-red {
  0% { box-shadow: 0 0 5px #ff3333; }
  50% { box-shadow: 0 0 20px #ff3333; }
  100% { box-shadow: 0 0 5px #ff3333; }
}

@keyframes pulse-yellow {
  0% { box-shadow: 0 0 5px #ffaa00; }
  50% { box-shadow: 0 0 15px #ffaa00; }
  100% { box-shadow: 0 0 5px #ffaa00; }
}

.glow-green { animation: pulse-green 2s infinite; }
.glow-red { animation: pulse-red 2s infinite; }
.glow-yellow { animation: pulse-yellow 2s infinite; }

/* === Server Info === */
main {
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
  padding: 30px 20px 80px;
  display: grid;
  gap: 30px;
}

section {
  background: rgba(0, 0, 0, 0.6);
  padding: 25px;
  border-radius: 10px;
  border: 2px solid rgba(255,255,255,0.1);
  box-shadow: 0 0 12px rgba(0,0,0,0.5);
  backdrop-filter: blur(3px);
}

h2 {
  color: var(--accent);
  text-shadow: 2px 2px 6px #000;
  font-size: 14px;
  margin-bottom: 15px;
}

p, li {
  font-size: 10px;
  line-height: 1.8;
  color: #d4d4d4;
}

.ip-box {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  border: 2px solid var(--accent);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.7);
  font-size: 12px;
  color: var(--accent);
  cursor: pointer;
  transition: 0.2s;
}
.ip-box:hover {
  background: var(--accent);
  color: #000;
  box-shadow: 0 0 20px var(--accent);
}

.status-box {
  margin-top: 15px;
  font-size: 10px;
  color: #ddd;
}

.player-list {
  margin-top: 15px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.player {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 10px;
}

.player img {
  width: 24px;
  height: 24px;
  border-radius: 3px;
}

footer {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 30px;
  color: #b0b0b0;
  font-size: 9px;
  background: rgba(0,0,0,0.75);
  border-top: 1px solid rgba(255,255,255,0.1);
}
