:root{
  --pink:#FC0F1C;
  --dark:#1e0707;

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --border: rgba(255,255,255,.12);
  --card: rgba(255,255,255,.06);
  --shadow: 0 18px 60px rgba(0,0,0,.45);
  --radius: 18px;
  --max: 1100px;
}

*{ box-sizing:border-box; margin:0; padding:0; }

body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--dark);
  color: var(--text);
  overflow-x:hidden;
}



/* ===== Header / Nav (global) ===== */
.header{
  position:fixed;
  top:0; left:0; right:0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 40px;
  z-index:20;

  background:linear-gradient(to bottom, rgba(201, 14, 14, 0.473), rgba(180, 22, 22, 0));

}

.logo img{
  height:45px;
  width:auto;
  display:block;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,.5));
}

.logo-text{
  font-size:22px;
  font-weight:800;
  letter-spacing:1px;

  background:linear-gradient(90deg, #FC0F1C, #ffffff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.nav{
  display:flex;
  gap:25px;
  align-items:center;
}

.nav a{
  text-decoration:none;
  color:rgba(255,255,255,.8);
  font-weight:600;
  font-size:15px;
  transition:.2s;
  padding:8px 10px;
  border-radius:10px;
}

.nav a:hover{ color:white; background: rgba(255,255,255,.04); }

.nav a.active{
  color:white;
  background: rgba(225, 6, 6, 0.14);
  border: 1px solid rgba(225, 6, 6, 0.35);
}

.nav .discord{
  background:var(--pink);
  padding:8px 14px;
  border-radius:10px;
  color:white !important;
}

.nav .discord:hover{
  background: #ff2a2a;
  transform: translateY(-1px);
}

/* ===== Home Hero (nur Startseite) ===== */
body.home .hero{
  height:100vh;
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  overflow:hidden;
}

body.home .video-bg{
  position:absolute;
  top:0; left:0;
  width:100%;
  height:100%;
  object-fit:cover;
  z-index:-2;
}

body.home .overlay{
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at center, rgba(225, 6, 6, 0.25), transparent 60%),
    linear-gradient(to bottom, rgba(17,7,30,.3), rgba(17,7,30,.92));
  z-index:-1;
}

body.home .hero-content{
  max-width:900px;
  padding:20px;
  margin-top: 40px; /* wegen fixed header */
}

body.home .hero-logo{
  width:350px;
  margin-bottom:15px;
  filter:drop-shadow(0 20px 40px rgba(0,0,0,.6));
}

body.home .hero h1{
  font-size:60px;
  font-weight:800;
  margin-bottom:10px;
}

body.home .hero p{
  color:rgba(255,255,255,.7);
  margin-bottom:30px;
  font-size:18px;
}

.buttons{
  display:flex;
  gap:20px;
  justify-content:center;
  flex-wrap: wrap;
}

.btn{
  padding:14px 24px;
  border-radius:12px;
  font-weight:700;
  text-decoration:none;
  transition:.2s;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.primary{
  background:var(--pink);
  color:white;
}

.primary:hover{ transform:translateY(-2px); }

.ghost{
  border:1px solid rgba(255,255,255,.3);
  color:white;
  background: rgba(255,255,255,.03);
}

/* ===== Content Pages (Regelwerk / Server) ===== */
.page{
  max-width: var(--max);
  margin:0 auto;
  padding:120px 20px 60px;

  backdrop-filter: blur(2px);
}

.page-head{
  margin-bottom: 18px;
}

.page-head h1{
  font-size: 44px;
  letter-spacing: -0.6px;
  margin-bottom: 8px;
}

.page-head p{
  color: var(--muted);
  line-height: 1.55;
  max-width: 70ch;
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap:14px;
  margin-top: 18px;
}

.card{
  grid-column: span 6;
  padding: 18px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,0.08);
  background: rgba(15,5,5,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 18px 60px rgba(0,0,0,.20);
}

.card h2{
  margin-bottom: 10px;
  font-size: 18px;
}

.card ul, .card ol{
  padding-left: 18px;
  color: rgba(255,255,255,.86);
}

.card li{ margin: 8px 0; }

.card.highlight{
  grid-column: span 12;
  border-color: rgba(225, 6, 6, 0.28);
  background: rgba(40,10,10,0.8);
}

.kv{
  list-style:none;
  padding:0;
}

.kv li{
  display:flex;
  justify-content:space-between;
  gap: 14px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  margin: 8px 0;
}

.kv li span:first-child{
  color: rgba(255,255,255,.70);
  font-weight:600;
}

.kv li span:last-child{
  color: rgba(255,255,255,.92);
  font-weight:700;
}

.muted{ color: var(--muted); }



/* ===== Responsive ===== */
@media (max-width: 920px){
  .header{ padding: 16px 18px; }
  .nav{ gap: 10px; flex-wrap: wrap; justify-content:flex-end; }
  body.home .hero h1{ font-size: 44px; }
  body.home .hero-logo{ width: 150px; }
  .card{ grid-column: span 12; }
}

/* Background für Regelwerk + Server */
body:not(.home){
  position: relative;
  background: #0b0000;
}

body:not(.home)::before{
  content:"";
  position:fixed;
  inset:0;
  background:
    linear-gradient(rgba(10,0,0,0.75), rgba(10,0,0,0.85)),
    url("../img/background.jpg") center/cover no-repeat;
  z-index:-2;
}

body:not(.home)::after{
  content: "";
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(252, 15, 28, 0.10), transparent 45%);
  z-index: -1;
  pointer-events: none;
}