* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(160deg, #1c1033, #3a1a5c 60%, #7b2ff7);
  color: #fff;
  min-height: 100vh;
}

header {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(0,0,0,0.25);
}

header img { height: 56px; }

header h1 {
  font-size: 20px;
  margin: 0;
}

main {
  max-width: 720px;
  margin: 0 auto;
  padding: 24px;
}

.card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
}

.now-playing {
  display: flex;
  gap: 20px;
  align-items: center;
}

.now-playing img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 12px;
  background: rgba(255,255,255,0.1);
}

.now-playing .meta .label {
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
  opacity: 0.7;
}

.now-playing .meta h2 {
  margin: 4px 0 0;
  font-size: 26px;
}

.now-playing .meta p {
  margin: 4px 0 0;
  opacity: 0.85;
}

.question-box {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

.question-box small {
  display: block;
  font-weight: normal;
  font-size: 13px;
  opacity: 0.7;
  margin-top: 8px;
}

form label {
  display: block;
  margin: 14px 0 6px;
  font-size: 14px;
  opacity: 0.85;
}

form input[type="text"],
form textarea {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 15px;
}

form input[type="file"] {
  color: #fff;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

button {
  margin-top: 20px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  background: #ff5f6d;
  color: #fff;
  font-weight: bold;
  font-size: 15px;
  cursor: pointer;
}

button:hover { background: #ff7c88; }

#preview {
  margin-top: 12px;
  max-width: 160px;
  border-radius: 10px;
  display: none;
}

.status {
  margin-top: 14px;
  font-size: 14px;
  opacity: 0.85;
}

.hint {
  font-size: 13px;
  opacity: 0.7;
  margin-top: 6px;
}

/* ---------- Erweiterungen: Programm-Segmente ---------- */

.section-title {
  margin: 0 0 4px;
  font-size: 18px;
}

.segment-label {
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 1px;
  opacity: 0.75;
  margin-bottom: 10px;
}

.segment-text {
  font-size: 20px;
  line-height: 1.5;
  white-space: pre-wrap;
}

.card-quiz {
  text-align: center;
}

.quiz-letter {
  font-size: 96px;
  font-weight: 900;
  line-height: 1;
  margin: 10px 0 16px;
  color: #ffe08a;
}

.quiz-drawn-letter {
  font-size: 56px;
  font-weight: 900;
  color: #ffe08a;
  margin-top: 10px;
}

.quiz-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
  font-size: 14px;
}

.quiz-table th,
.quiz-table td {
  text-align: left;
  padding: 6px 8px;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

.quiz-table th {
  opacity: 0.7;
  font-weight: normal;
  text-transform: uppercase;
  font-size: 12px;
}

select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-size: 15px;
  margin-bottom: 6px;
}

select option {
  background: #3a1a5c;
}
