
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', system-ui, sans-serif;
  background: #0f0f0f;
  color: #f0f0f0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 40px 20px;
}

.app {
  width: 100%;
  max-width: 700px;
}

.header {
  text-align: center;
  margin-bottom: 40px;
}

.header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -1px;
}

.header p {
  color: #888;
  margin-top: 8px;
  font-size: 1rem;
}

.progres-wrapper {
  background: #222;
  border-radius: 999px;
  height: 6px;
  margin-bottom: 12px;
  overflow: hidden;
}

.progres-bar {
  height: 100%;
  background: #4ade80;
  border-radius: 999px;
  width: 0%;
  transition: width 0.4s ease;
}

.pocitadlo {
  text-align: right;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 24px;
}

.karta {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 32px;
}

.otazka-text {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 28px;
}

.moznosti {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.tlacitko-moznost {
  background: #252525;
  border: 1px solid #333;
  border-radius: 10px;
  color: #f0f0f0;
  cursor: pointer;
  font-size: 1rem;
  padding: 16px 20px;
  text-align: left;
  transition: all 0.2s ease;
}

.tlacitko-moznost:hover {
  background: #2f2f2f;
  border-color: #555;
  transform: translateX(4px);
}

.tlacitko-moznost.spravna {
  background: #14532d;
  border-color: #4ade80;
  color: #4ade80;
}

.tlacitko-moznost.spatna {
  background: #450a0a;
  border-color: #f87171;
  color: #f87171;
}

.feedback {
  margin-top: 24px;
  padding: 16px 20px;
  border-radius: 10px;
  line-height: 1.6;
}

.feedback.spravne {
  background: #14532d33;
  border: 1px solid #4ade8044;
  color: #86efac;
}

.feedback.spatne {
  background: #450a0a33;
  border: 1px solid #f8717144;
  color: #fca5a5;
}

.tlacitko-dalsi {
  margin-top: 16px;
  background: #f0f0f0;
  border: none;
  border-radius: 8px;
  color: #0f0f0f;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 12px 24px;
  transition: opacity 0.2s;
}

.tlacitko-dalsi:hover {
  opacity: 0.85;
}

.vysledky {
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.vysledky h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.vysledky p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #ccc;
}

.tlacitko-znovu {
  margin-top: 28px;
  background: #4ade80;
  border: none;
  border-radius: 8px;
  color: #0f0f0f;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  padding: 14px 32px;
  transition: opacity 0.2s;
}

.tlacitko-znovu:hover {
  opacity: 0.85;
}

@media (max-width: 600px) {
  .karta {
    padding: 20px;
  }

  .otazka-text {
    font-size: 1.1rem;
  }

  .header h1 {
    font-size: 2rem;
  }
}
