html, body {
  margin: 0; padding: 0; height: 100%;
  font-family: 'Segoe UI', sans-serif;
  color: #fff; 
  overflow: hidden;
}

/* Hintergrundbild */
body::before {
  content:""; position: fixed;
  top:0; left:0; width:100%; height:100%;
  background: url("epic-bg.png") no-repeat center center fixed;
  background-size: cover;
  filter: brightness(0.7) contrast(1.1);
  z-index:-3;
}

/* Farb-Overlay */
body::after {
  content:""; position: fixed;
  top:0; left:0; width:100%; height:100%;
  background: radial-gradient(circle at 20% 30%, rgba(255,0,0,0.25), transparent 70%),
              radial-gradient(circle at 80% 70%, rgba(0,150,255,0.25), transparent 70%);
  mix-blend-mode: screen;
  z-index:-2;
}

.container {
  position: relative; z-index: 1;
  text-align: center;
  height: 100%; display:flex; flex-direction:column;
  justify-content:center; align-items:center;
  padding: 10px;
}

.logo { max-width: 280px; margin-bottom:20px; }

.progress-wrapper {
  width:80%; max-width:600px;
  background: rgba(255,255,255,0.1);
  border-radius:20px; overflow:hidden;
  margin:20px 0; box-shadow:0 0 20px rgba(0,0,0,0.6);
}
.progress-bar {
  height:28px; width:0%;
  background: linear-gradient(90deg, #ff0033, #0072ff);
  transition: width 0.4s ease;
}
.progress-text { margin-top:10px; font-size:16px; font-weight:bold; }

/* Epische Panels */
.side-panel {
  position:absolute; top:50%; transform:translateY(-50%);
  width:280px; height:400px;
  background: rgba(0,0,0,0.6);
  border-radius:12px;
  backdrop-filter: blur(6px);
  overflow-y:auto;
  box-shadow: 0 0 20px rgba(255,0,0,0.4), 0 0 20px rgba(0,150,255,0.4);
  padding:15px;
  z-index: 99;
}
.side-left { left:20px; }
.side-right { right:20px; }

.side-panel ul { list-style:none; padding:0; margin:0; }
.side-panel li { 
  margin:10px 0; 
  display:flex; 
  align-items:center; 
  font-size:15px; 
  padding:6px 10px;
  border-radius:6px;
  background: rgba(255,255,255,0.05);
  box-shadow: inset 0 0 5px rgba(0,0,0,0.6);
}

.title { 
  font-size:20px; 
  font-weight:bold; 
  margin-bottom:12px; 
  text-align:center; 
  color:#ffd966;
  text-shadow:0 0 6px rgba(255,215,0,0.8);
}

/* Status Box */
.status-box {
  width:26px; height:26px;
  display:flex; align-items:center; justify-content:center;
  font-weight:bold; font-size:15px;
  border-radius:5px; margin-right:10px;
  cursor:pointer; user-select:none;
  transition: all 0.2s ease;
  box-shadow:0 0 8px rgba(0,0,0,0.5);
}
.status-open { background:#b30000; color:#fff; }
.status-open:hover { background:#ff1a1a; }
.status-done { background:#009933; color:#fff; }
.status-done:hover { background:#00cc44; }

/* ===================== */
/* 📱 Mobile Anpassungen */
/* ===================== */
@media (max-width: 900px) {
  .side-panel {
    position: relative;
    top: auto; left: auto; right: auto;
    transform: none;
    width: 90%;
    height: auto;
    margin: 10px auto;
  }
  .side-left, .side-right { left:auto; right:auto; }
  
  .container {
    padding-top: 20px;
    justify-content:flex-start;
  }

  .logo { max-width: 200px; }
  .progress-wrapper { width: 95%; }
  .progress-text { font-size:14px; }
}


/* Epische Panels */
.side-panel {
  position:absolute; top:50%; transform:translateY(-50%);
  width:320px; height:420px;   /* etwas breiter + höher */
  background: rgba(0,0,0,0.6);
  border-radius:12px;
  backdrop-filter: blur(6px);
  overflow-y:auto;
  box-shadow: 0 0 20px rgba(255,0,0,0.4), 0 0 20px rgba(0,150,255,0.4);
  padding:15px;
  z-index: 99;
}

/* 🎨 Scrollbar Design */
.side-panel::-webkit-scrollbar {
  width: 8px;
}
.side-panel::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 10px;
}
.side-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #ff0033, #0072ff);
  border-radius: 10px;
  box-shadow: 0 0 6px rgba(0,0,0,0.5);
}
.side-panel::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff3366, #3399ff);
}

/* Mobile Anpassung */
@media (max-width: 900px) {
  .side-panel {
    position: relative;
    top: auto; left: auto; right: auto;
    transform: none;
    width: 95%;   /* Breiter für Mobile */
    height: auto;
    margin: 12px auto;
  }
}