:root {
  --bg1: #2a0f29;
  --bg2: #271124;
  --card: rgba(241, 66, 168, 0.06);
  --cardBorder: #FFD04D;
  --text: #ffffff;
  --muted: #ffffff;
 
  --btn: #d81dc2;
  --btnHover: #f746e2;
  --btnActive: #fa6fd7;
  --focus: #d81dc2;
  --c: rgba(238, 52, 176, 0.7);
}
 
* { box-sizing: border-box; }
 
body {
  margin: 0;
  min-height: 100vh;
  padding: 24px;
  display: grid;
  place-items: center;
 
  color: var(--text);
  font: 16px/1.5 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
 
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(235, 37, 192, 0.25) 0%, transparent 60%),
    radial-gradient(700px 450px at 90% 30%, rgba(241, 99, 229, 0.18) 0%, transparent 55%),
    linear-gradient(180deg, var(--bg1), var(--bg2));
}

body::before {
  content: '';
  position: fixed;
  bottom: 70px;
  left: 90px;
  transform: rotate(15deg);
  width: 200px;
  aspect-ratio: 1;
  background:
   radial-gradient(circle at 60% 65%,var(--c) 64%,#0000 65%) top left/50% 50%,
   radial-gradient(circle at 40% 65%,var(--c) 64%,#0000 65%) top right/50% 50%,
   conic-gradient(from -45deg at 50% 85.5%,var(--c) 90deg,#0000 0) bottom/100% 50%;
  background-repeat: no-repeat;
  z-index: -1;
  pointer-events: none;
  filter: blur(5px);
}
 
h1 {
  width: min(720px, 100%);
  margin: 0 0 14px;
  padding: 30px 30px;
  border-radius: 30px;
  border: 5px solid var(--cardBorder);
  background: var(--card);
  backdrop-filter: blur(10px);
 
  font-size: clamp(72px, 3vw, 32px);
  letter-spacing: -0.02em;
}

.stats {
  width: min(720px, 100%);
}

.stats-panel {
  width: 100%;
  margin: 10px 0;
  padding: 16px;
  border-radius: 18px;
  border: 2px solid var(--cardBorder);
  background: var(--card);
  backdrop-filter: blur(10px);
  color: var(--text);
}

.stats-title {
  margin: 0 0 10px;
  font-size: 18px;
}

.stats-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.stats-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--cardBorder);
  background: var(--card);
}

.stats-label {
  color: var(--muted);
}

.stats-value {
  font-variant-numeric: tabular-nums;
  color: var(--text);
}

.chart {
  display: grid;
  gap: 10px;
}

.chart-row {
  display: grid;
  grid-template-columns: 1fr 2fr auto;
  gap: 12px;
  align-items: center;
}

.chart-label {
  color: var(--muted);
}

.chart-barWrap {
  height: 14px;
  border-radius: 999px;
  border: 1px solid var(--cardBorder);
  background: var(--card);
  overflow: hidden;
}

.chart-bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--btn), var(--btnActive));
}

.chart-value {
  min-width: 2ch;
  text-align: right;
  font-variant-numeric: tabular-nums;
  color: var(--text);
}
 
button {
  width: min(720px, 100%);
  min-height: 148px;         /* touch-friendly */
  padding: 14px 12px;
  margin: 10px 0;
 
  border: 1px solid rgba(240, 29, 152, 0.14);
  border-radius: 114px;
 
  background: linear-gradient(180deg, var(--btn), var(--btnActive));
  color: rgb(255, 255, 255);
  font-size: 56px;          /* verhindert iOS-Zoom */
  font-weight: 600;
  text-align: center;
 
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 120ms ease, filter 120ms ease, background 120ms ease;
}
 
button:hover {
  background: linear-gradient(180deg, var(--btnHover), var(--btnActive));
  transform: translateY(-3px);
}
 
button:active {
  transform: translateY(0);
  filter: brightness(0.95);
}
 
button:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
 
@media (max-width: 768px) {
  body { padding: 16px; }
  button, h1 { width: 100%; }
}