:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #e5e9f2;
  background: #07090f;
  --bg-card: rgba(18, 22, 30, 0.97);
  --bg-panel: rgba(12, 15, 23, 0.98);
  --bg-page: #06080f;
  --border: rgba(255, 255, 255, 0.06);
  --panel-border: rgba(255, 255, 255, 0.08);
  --accent: #4f86ff;
  --accent-soft: rgba(79, 134, 255, 0.15);
  --danger: #ff7c7c;
  --text-muted: #8a98ae;
  --text-secondary: #c3cbd8;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 50vh;
  background: linear-gradient(rgba(7, 9, 15, 0.82), rgba(7, 9, 15, 0.82)),
    url('images/bg.jpeg') center/cover no-repeat;
  color: #e5e9f2;
}

button,
input {
  font: inherit;
}

button {
  border: none;
  border-radius: 0;
  cursor: pointer;
}


.app-shell {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 24px 140px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-panel {
  position: sticky;
  top: 0;
  z-index: 100; 
  backdrop-filter: blur(14px); 
  background: rgba(12, 15, 23, 0.95); 
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px 24px;
  border: 1px solid var(--panel-border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.hero-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.hero-promo {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.promo-image {
  display: block;
  width: min(100%, 560px);
  height: auto;
  max-height: 150px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02), 0 10px 30px rgba(0, 0, 0, 0.24);
}

.hero-copy h1 {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  line-height: 1.05;
}

.hero-tagline {
  margin: 0;
  max-width: 42rem;
  color: #9ba8c2;
  font-size: 0.95rem;
  line-height: 1.5;
}


.score-panel {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 16px;
}

.score-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--panel-border);
}

.score-card .label {
  color: var(--text-muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#score {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: 1px solid var(--panel-border);
}

.status-pill.valid {
  color: #a0d8ff;
  background: rgba(79, 134, 255, 0.14);
}

.status-pill.invalid {
  color: #ffb7b7;
  background: rgba(255, 124, 124, 0.14);
}

.score-panel button {
  padding: 12px 18px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.85rem;
}

.score-panel .clear-btn {
  color: var(--danger);
  background: rgba(255, 124, 124, 0.1);
  border: 1px solid rgba(255, 124, 124, 0.35);
}

.score-panel .clear-btn:hover {
  background: rgba(255, 124, 124, 0.18);
}

.score-panel .copy-btn {
  color: #b9d2ff;
  background: rgba(79, 134, 255, 0.12);
  border: 1px solid rgba(79, 134, 255, 0.35);
}

.score-panel .copy-btn:hover {
  background: rgba(79, 134, 255, 0.22);
}

.export-feedback {
  min-height: 1.3em;
  margin: -10px 0 0;
  color: #ffb7b7;
  font-size: 0.85rem;
  text-align: center;
}


.section {
  padding: 20px;
  background: var(--bg-panel);
  border: 1px solid var(--border);
}

.section.alt {
  margin-top: 0;
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.section-heading h2 {
  margin: 0;
  font-size: 1.4rem;
  color: #ffffff;
}

.section-note {
  margin: 0;
  max-width: 30rem;
  color: #c2cfe1;
  font-size: 0.85rem;
  line-height: 1.5;
}

.modifier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 12px;
}

.modifier-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}

.modifier-card:hover {
  background: rgba(79, 134, 255, 0.04);
  border-color: rgba(79, 134, 255, 0.2);
  transform: translateY(-1px);
}

.modifier-card-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
}

.modifier-card input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.modifier-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.modifier-content {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  padding-right: 35px; 
}

.modifier-name {
  font-weight: 600;
  font-size: 0.95rem;
  color: #edf3ff;
}

.modifier-value {
  position: absolute;
  top: 12px;
  right: 14px;
  color: #8a98ae;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.25);
  padding: 2px 6px;
  border-radius: 3px;
}

.modifier-description {
  color: #8c9bb3;
  font-size: 0.78rem;
  line-height: 1.4;
  display: block;
}


.modifier-card.is-selected {
  transform: translateY(-1px);
}

.modifier-card.is-negative.is-selected {
  border-color: rgba(255, 124, 124, 0.5);
  background: rgba(255, 124, 124, 0.12);
}

.modifier-card.is-negative.is-selected .modifier-name,
.modifier-card.is-negative.is-selected .modifier-value,
.modifier-card.is-negative.is-selected .modifier-description {
  color: #ffe4e4;
}

.modifier-card.is-positive.is-selected {
  border-color: rgba(74, 211, 122, 0.5);
  background: rgba(74, 211, 122, 0.12);
}

.modifier-card.is-positive.is-selected .modifier-name,
.modifier-card.is-positive.is-selected .modifier-value,
.modifier-card.is-positive.is-selected .modifier-description {
  color: #e8fff0;
}

.modifier-card.static-modifier,
.modifier-card.static-modifier:hover {
  cursor: default !important;
  transform: none !important;
  box-shadow: none !important;
  background: var(--panel-bg, rgba(18, 22, 30, 0.95)) !important;
  border-color: rgba(255, 255, 255, 0.12) !important;
}

.bottom-status-bar {
  position: fixed;
  z-index: 20;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 32px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--panel-border);
  background: rgba(9, 12, 20, 0.97);
  box-shadow: 0 -12px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(14px);
}

.bottom-score {
  display: flex;
  align-items: baseline;
  gap: 10px;
  min-width: 120px;
}

.bottom-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

#bottom-score {
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 700;
}

.bottom-status-bar .status-pill {
  min-width: 120px;
  padding: 10px 16px;
}

.bottom-actions {
  display: flex;
  flex: 1;
  justify-content: flex-end;
  gap: 10px;
}

.bottom-actions button {
  padding: 11px 16px;
  font-weight: 600;
  font-size: 0.85rem;
}

.header-brands-container {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
  align-items: flex-end;
	margin-top: 50px;
}
.header-brand {
  margin-left: auto;
  display: flex;
  align-items: center;
margin-top: -50px;
}

.header-brand a {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color 0.15s ease;
}

.header-brand a:hover {
  color: #ffffff;
}

.brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}
.brand-logo2 {
  height: 60px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}
footer {
  margin-top: 40px;
  padding: 24px 20px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid var(--panel-border);
  background: rgba(10, 13, 20, 0.6);
  line-height: 1.6;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: color 0.15s ease;
}

footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 960px) {
  .hero-main {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-promo {
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .app-shell {
    padding: 16px 16px 200px;
  }
  .score-panel > * {
    flex: 1 1 calc(50% - 6px);
  }
  .section-heading {
    flex-direction: column;
    align-items: flex-start;
  }
  .bottom-status-bar {
    flex-wrap: wrap;
    padding: 10px 16px;
  }
  .bottom-actions {
    flex-basis: 100%;
    justify-content: stretch;
  }
  .bottom-actions button {
    flex: 1;
  }
}
.dual-modifier-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

@media (max-width: 1024px) {
  .dual-modifier-container {
    grid-template-columns: 1fr;
  }
}

.modifier-column {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.column-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0 4px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  border-bottom: 1px solid var(--panel-border);
  padding-bottom: 8px;
}

.column-sub {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
}
.modifier-column:nth-child(1) .modifier-card {
  border-color: rgba(220, 53, 69, 0.25);
}

.modifier-column:nth-child(1) .modifier-card.is-selected {
  background: linear-gradient(135deg, rgba(55, 20, 24, 0.95), rgba(30, 12, 15, 0.98));
  border-color: rgba(220, 53, 69, 0.6);
  box-shadow: 0 0 15px rgba(220, 53, 69, 0.15);
}

.modifier-column:nth-child(2) .modifier-card {
  border-color: rgba(40, 167, 69, 0.25);
}

.modifier-column:nth-child(2) .modifier-card.is-selected {
  background: linear-gradient(135deg, rgba(18, 45, 28, 0.95), rgba(10, 25, 16, 0.98));
  border-color: rgba(40, 167, 69, 0.6);
  box-shadow: 0 0 15px rgba(40, 167, 69, 0.15);
}
.season-timer {
  display: flex;
  gap: 15px;
  margin-top: 15px;
  font-family: monospace;
}
.timer-box {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  min-width: 50px;
}
.timer-num {
  display: block;
  font-size: 18px;
  font-weight: bold;
  color: #68d391;
}
.timer-label {
  font-size: 10px;
  color: #a0aec0;
  text-transform: uppercase;
}
/* Der Button oben links */
.streamer-trigger-btn {
  position: absolute;
  top: 60px;
  left: 20px;
  background: rgba(18, 22, 30, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e5e9f2;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  cursor: pointer;
  z-index: 100;
  transition: background 0.2s, border-color 0.2s;
}

.streamer-trigger-btn:hover {
  background: #2d3748;
  border-color: #68d391;
}

/* Unsichtbare Checkbox verstecken */
.modal-toggle {
  display: none;
}

/* Das Modal (Standardmäßig unsichtbar) */
.streamer-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(3px);
}

/* Wenn Checkbox aktiviert ist -> Modal anzeigen */
.modal-toggle:checked ~ .streamer-modal {
  display: flex;
}

/* Das Inhaltsfenster der Box */
.streamer-modal-content {
  background: #12161e;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 350px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.5);
}

.streamer-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 8px;
}

.streamer-modal-header h3 {
  margin: 0;
  font-size: 15px;
  color: #68d391;
}

.streamer-close-btn {
  font-size: 22px;
  color: #a0aec0;
  cursor: pointer;
  line-height: 1;
}

.streamer-close-btn:hover {
  color: #fff;
}

/* Die Liste der Streamer-Links im Pop-up */
.streamer-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.streamer-link {
  background: #1a202c;
  border: 1px solid #4a5568;
  color: #e5e9f2;
  padding: 10px 12px;
  border-radius: 4px;
  text-decoration: none;
  font-size: 13px;
  display: block;
  transition: background 0.2s, border-color 0.2s;
}

.streamer-link:hover {
  background: #2d3748;
  border-color: #68d391;
}
.streamer-hint {
  margin-top: 15px;
  font-size: 11px;
  color: #a0aec0;
  text-align: center;
  line-height: 1.4;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 10px;
}