/* === GLOBAL === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
}

body {
  background: #fff;
  color: #222;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  line-height: 1.6;
}

/* === HEADER === */
header {
  text-align: center;
  background: #222;
  color: #fff;
  padding: 3rem 1rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.logo {
  width: clamp(100px, 25vw, 160px);
  height: auto;
  margin: 0 auto 1rem;
  display: block;
  object-fit: contain;
  background: none !important;
  box-shadow: none !important;
}

h1 {
  color: #ffd600;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  margin-bottom: 0.4rem;
}

.subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
}

/* === MAIN === */
main {
  flex: 1;
  text-align: center;
  padding: 2rem 1rem;
}

.intro {
  max-width: 800px;
  margin: 0 auto 3rem;
  font-size: clamp(1rem, 2.2vw, 1.15rem);
}

/* === QR SEKCE === */
.donate {
  text-align: center;
  padding: 2.5rem 1rem;
  margin: 0 auto 3rem;
  max-width: 600px;
  background: #fff;
  border-radius: 16px;
}

.donate h2 {
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  margin-bottom: 1rem;
}

.donate-desc {
  margin-bottom: 2.5rem;
  line-height: 1.6;
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

.qr-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 2.2rem auto;
  width: 100%;
}

.qr {
  width: clamp(160px, 40vw, 220px);
  height: auto;
  border: none;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}

.account {
  font-size: clamp(0.9rem, 2vw, 1rem);
  line-height: 1.5;
}

/* === BUTTONS === */
.btn {
  display: inline-block;
  background: #ffd600;
  color: #222;
  font-weight: 600;
  padding: 1rem 2rem;
  border: none;
  border-radius: 20px;
  text-decoration: none;
  cursor: pointer;
  margin-top: 1.5rem;
  font-size: clamp(1rem, 2vw, 1.1rem);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn.large {
  display: block;
  width: 100%;
  max-width: 600px;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 20px;
  background: #ffd600;
  color: #222;
  text-align: center;
  margin: 1.2rem auto;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.btn.large:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

/* === STEPS === */
.steps {
  max-width: 800px;
  margin: 0 auto 0;
  padding-bottom: 0;
}

.steps .step {
  margin: 1.2rem auto;
}

.steps h2 {
  font-size: clamp(1.5rem, 3vw, 1.8rem);
  margin-bottom: 1.5rem;
}

.step h3 {
  font-size: clamp(1.2rem, 2.5vw, 1.4rem);
  margin-bottom: 0.5rem;
}

.step p {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  line-height: 1.4;
}

.icon {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

/* === VÝZVA ROSTE === */
.progress-section {
  background: #ffd600;
  color: #222;
  border-radius: 20px;
  max-width: 600px;
  margin: 1.2rem auto 1.2rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.progress-section h2 {
  font-size: clamp(1.3rem, 3vw, 1.6rem);
  margin-bottom: 0.4rem;
}

.progress-section p {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  margin-bottom: 1rem;
}

.progress-bar {
  background: #f6f6f6;
  border-radius: 50px;
  height: 14px;
  width: 80%;
  margin: 0.8rem auto;
  overflow: hidden;
}

.progress-fill {
  background: #222;
  height: 100%;
  width: 0%;
  border-radius: 50px;
  transition: width 0.5s ease;
}

.progress-stats {
  font-size: clamp(0.9rem, 2vw, 1rem);
}

/* === FOOTER === */
footer {
  background: #222;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

footer .legal {
  font-size: 12px;
  color: #ccc;
  margin-top: 20px;
  line-height: 1.5;
}

/* === MODAL === */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: #fff;
  color: #222;
  padding: 2rem;
  border-radius: 12px;
  text-align: center;
  max-width: 400px;
  width: 90%;
  position: relative;
}

.modal-qr {
  width: clamp(200px, 50vw, 250px);
  height: auto;
  margin-bottom: 1rem;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* === PREVENT CLS (text stability) === */
h1, p, .btn {
  min-height: 1em;
}
