/* Hier ist die Design-Magie oder Disaster, je anch dem */

/* Materialsammlung */
:root{
  --paper: #fdfbf4;
  --ink: #111111;
  --accent: #EBB43D;
  --accent-2: #EB4E3D;
  --danger: #ff5a5f;
  --muted: #6b6b63;

  --border-w: 3px;
  --radius: 22px;
  --radius-sm: 14px;

  --shadow: 5px 5px 0 var(--ink);
  --shadow-sm: 3px 3px 0 var(--ink);

  --maxw: 980px;
}

*{ box-sizing: border-box; }

html, body{
  margin: 0;
  padding: 0;
  min-height: 100%;
}

body{
  background: var(--paper);
  color: var(--ink);
  font-family: 'Space Grotesk', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow-x: hidden;
}

.pixel{
  font-family: 'Press Start 2P', 'Space Grotesk', monospace;
}

/* der Kopf */
.site-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 32px;
  background: var(--paper);
  border-bottom: var(--border-w) solid var(--ink);
  position: relative;
  z-index: 10;
}

.brand{
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}

.brand__logo{
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: var(--border-w) solid var(--ink);
  background: #fff;
}

.brand__name{
  font-size: 14px;
  letter-spacing: .05em;
}

.btn-panel{
  display: inline-block;
  padding: 9px 18px;
  background: #fff;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  color: var(--ink);
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: transform .08s ease, box-shadow .08s ease;
}
.btn-panel:hover{ background: var(--accent-2); }
.btn-panel:active{
  transform: translate(3px, 3px);
  box-shadow: 0 0 0 var(--ink);
}

/* Weißt schon, halt das wirkliche Zeugs ZEUG */
.hero{
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 96px 32px 80px;
  text-align: center;
  overflow: hidden;
}

.hero__blob{
  position: absolute;
  border: var(--border-w) solid var(--ink);
  pointer-events: none;
  z-index: -1;
}
.hero__blob--1{
  top: 40px;
  left: -40px;
  width: 140px;
  height: 140px;
  background: var(--accent);
  border-radius: 40% 60% 55% 45% / 45% 40% 60% 55%;
}
.hero__blob--2{
  top: 90px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: var(--accent-2);
  border-radius: 55% 45% 40% 60% / 55% 60% 40% 45%;
}

.hero__eyebrow{
  margin: 0 0 14px;
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero__title{
  margin: 0;
  font-size: clamp(28px, 7vw, 56px);
  line-height: 1.3;
  letter-spacing: 0;
}

.hero__tagline{
  margin: 22px 0 40px;
  font-size: 16px;
  color: var(--muted);
}

.ip-copy{
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 26px;
  background: var(--accent);
  border: var(--border-w) solid var(--ink);
  border-radius: 999px;
  box-shadow: var(--shadow);
  color: var(--ink);
  font-family: inherit;
  cursor: pointer;
  transition: transform .08s ease, box-shadow .08s ease;
}
.ip-copy:active{
  transform: translate(5px, 5px);
  box-shadow: 0 0 0 var(--ink);
}

.ip-copy__label{
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink);
  opacity: .6;
}
.ip-copy__value{
  font-family: 'Press Start 2P', monospace;
  font-size: 13px;
}
.ip-copy__hint{
  font-size: 11px;
  opacity: .6;
}
.ip-copy.is-copied{ background: #fff; }
.ip-copy.is-copied .ip-copy__hint{ opacity: 1; color: #1a8f4c; font-weight: 700; }

/* Status und News sind zusammen. Weil ich fands romantisch */
.section{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 56px 32px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .5s ease, transform .5s ease;
}
.section.is-visible{
  opacity: 1;
  transform: translateY(0);
}

.section__head{
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.section__title{
  margin: 0;
  font-size: 18px;
}

.section__summary{
  margin: 0;
  font-size: 13px;
  color: var(--muted);
  font-family: 'Space Grotesk', sans-serif;
}

/* Online Server List*/
.server-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.server-card{
  background: #fff;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.status-dot{
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  flex-shrink: 0;
  background: #d8d8d0;
}
.status-dot.online{
  background: var(--accent);
  animation: breathe 1.8s ease-in-out infinite;
}
@keyframes breathe{
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.18); }
}

.server-card__name{
  font-size: 14px;
  font-weight: 700;
}
.server-card__state{
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}

/* News */
.news-list{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.news-item{
  display: flex;
  gap: 20px;
  padding: 18px 20px;
  background: #fff;
  border: var(--border-w) solid var(--ink);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.news-item__date{
  flex-shrink: 0;
  width: 92px;
  font-family: 'Press Start 2P', monospace;
  font-size: 10px;
  line-height: 1.6;
  color: var(--muted);
  padding-top: 2px;
}

.news-item__text{
  font-size: 14px;
  line-height: 1.55;
}

/* am Boden der Tatsachen */
.site-footer{
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding: 24px 32px 48px;
  color: var(--muted);
  font-size: 12px;
  letter-spacing: .02em;
  border-top: var(--border-w) solid var(--ink);
}
.site-footer .dot{ margin: 0 8px; }

/* Geringverdiener Bildschirme */
@media (max-width: 560px){
  .site-header{ padding: 16px 20px; }
  .hero{ padding: 64px 20px 56px; }
  .hero__blob{ display: none; }
  .section{ padding: 40px 20px; }
  .news-item{ flex-direction: column; gap: 6px; }
  .news-item__date{ width: auto; }
}
