
* {
  box-sizing: border-box;
}

/* ======================
   🌈 GLOBAL
====================== */

body {
  font-family: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  background: linear-gradient(180deg,#f3f7ff 0%,#f7f9ff 50%,#faf8f3 100%);
  text-align: center;
  padding: 40px 20px;
  color: #1d1d1f;
}

/* ======================
   🧠 TYPO
====================== */

h1 {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 10px;

  background: linear-gradient(90deg,#5b9cff,#7b61ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 15px;
  opacity: 0.6;
  margin-bottom: 30px;
}

/* ======================
   📦 CARD SYSTEM
====================== */

.instructions {
  max-width: 720px;
  margin: 30px auto;
  padding: 28px;

  border-radius: 24px;

  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(18px);

  box-shadow:
    0 10px 30px rgba(0,0,0,0.08),
    inset 0 1px 0 rgba(255,255,255,0.6);
}

/* ======================
   📋 LISTEN
====================== */

.instructions h2 {
  font-size: 18px;
  margin-bottom: 10px;
  color: #444;
}

.instructions ul {
  padding-left: 1.4em;
}

.instructions li {
  margin-bottom: 10px;
  font-size: 15px;
}

/* ======================
   📖 DETAILS (viel cleaner)
====================== */

.details-satzbau {
  margin: 14px auto;
  max-width: 640px;

  border-radius: 14px;
  padding: 12px 16px;

  background: #f5f7fb;
  border: 1px solid rgba(0,0,0,0.05);
}

.details-satzbau summary {
  display: flex;
  justify-content: flex-end;
  cursor: pointer;
}

.details-satzbau summary i {
  transition: 0.3s;
}

.details-satzbau[open] summary i {
  transform: rotate(180deg);
}

/* ======================
   🎰 SLOT (NICHT VERÄNDERN)
====================== */

.slot-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  margin: 50px auto;

  padding: 30px;
  border-radius: 28px;

  background: linear-gradient(180deg,#ffffff,#f4f6fb);
  box-shadow: 0 25px 50px rgba(0,0,0,0.12);
}

.slot-image {
  width: 100%;
  display: block;
  border-radius: 16px;
}

/* ❗ POSITION BLEIBT IDENTISCH */
.emoji-slot {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2.8rem;
  font-weight: bold;
  pointer-events: none;
}

#slot1 { left: 29%; }
#slot2 { left: 49%; transform: translate(-50%, -50%); }
#slot3 { right: 30%; }

/* ======================
   🔘 BUTTON
====================== */

button {
  padding: 14px 26px;
  font-size: 16px;
  font-weight: 500;

  border-radius: 14px;
  border: none;

  background: linear-gradient(135deg,#5b9cff,#7b61ff);
  color: white;

  cursor: pointer;
  transition: 0.2s ease;

  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0,0,0,0.15);
}

/* ======================
   💡 MICRO UX
====================== */

.mini-hint {
  margin-top: 12px;
  font-size: 13px;
  opacity: 0.6;
}

/* ======================
   📱 MOBILE
====================== */

@media (max-width: 600px) {

  h1 { font-size: 22px; }

  .instructions {
    padding: 18px;
  }

  .emoji-slot {
    font-size: 2rem;
  }

}

/* ======================
   🌙 DARK MODE
====================== */

@media (prefers-color-scheme: dark) {
  body:not(.lightMode) {
    background: radial-gradient(circle at 20% 20%,#0e1a2a 0%,#0a111a 70%);
    color: #f5f5f7;
  }

  body:not(.lightMode) .instructions {
    background: rgba(20,25,35,0.75);
  }

  body:not(.lightMode) .slot-wrapper {
    background: linear-gradient(180deg,#1a2330,#0f1622);
  }

  body:not(.lightMode) .details-satzbau {
    background: #1c2433;
  }

  body:not(.lightMode) button {
    background: linear-gradient(135deg,#5b9cff,#7b61ff);
  }
}
/* ======================
   🧱 LAYOUT
====================== */

.emoji-main{
  max-width: 720px;
  margin: 0 auto;
}

/* ======================
   🧠 HERO
====================== */

.emoji-card{
  max-width: 420px;
  margin: 0 auto 30px;
  padding: 26px;

  border-radius: 24px;

  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);

  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.qr-box img{
  width: 110px;
  margin-top: 10px;
}

/* ======================
   🎯 TASK CARD
====================== */

.task-card{
  padding: 24px;
  margin-bottom: 30px;

  border-radius: 20px;

  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);

  box-shadow: 0 8px 25px rgba(0,0,0,0.06);
}

.task-main{
  font-size: 18px;
  margin-bottom: 12px;
}

.task-steps{
  list-style: none;
  padding: 0;
  margin: 10px 0;

  display: flex;
  justify-content: center;
  gap: 16px;

  font-size: 14px;
  opacity: 0.8;
}

.task-mini{
  font-size: 13px;
  opacity: 0.6;
}

/* ======================
   💡 HELP (dezent!)
====================== */

.help-card{
  max-width: 600px;
  margin: 12px auto;
  padding: 12px 16px;

  border-radius: 14px;
  background: #f5f7fb;
  font-size: 14px;
}

.help-card summary{
  cursor: pointer;
  font-weight: 500;
}

.translation{
  display:block;
  margin-top:6px;
  font-size:12px;
  opacity:0.8;
}

/* ======================
   🎰 SLOT bleibt gleich!
====================== */

/* (deine bestehende slot CSS bleibt unangetastet) */

/* ======================
   🌙 DARK MODE (NEUE ELEMENTE)
====================== */

@media (prefers-color-scheme: dark) {

  body:not(.lightMode) .emoji-card{
    background: rgba(20,25,35,0.75);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
  }

  body:not(.lightMode) .task-card{
    background: rgba(20,25,35,0.7);
    box-shadow: 0 8px 25px rgba(0,0,0,0.35);
  }

  body:not(.lightMode) .task-main{
    color: #ffffff;
  }

  body:not(.lightMode) .task-steps{
    color: #cfd6e6;
  }

  body:not(.lightMode) .task-mini{
    color: #9aa4b2;
  }

  body:not(.lightMode) .help-card{
    background: #1c2433;
    color: #e6edf5;
    border: 1px solid rgba(255,255,255,0.05);
  }

  body:not(.lightMode) .help-card summary{
    color: #ffffff;
  }

  body:not(.lightMode) .translation{
    color: #9aa4b2;
  }

}

@media (prefers-color-scheme: dark) {

  body:not(.lightMode) .subtitle{
    color: #9aa4b2;
    opacity: 1; /* wichtig, sonst zu blass */
  }

}