@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&display=swap');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #0a0c0f;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem; /* Mobil ekranlarda kenar boşluğunu biraz azalttık */
}

/* Mobil Ekran İllüzyonu */
.container {
  width: 100%;
  max-width: 400px;
  /* İçeriğin ekrana sığması için yüksekliği dinamik ve esnek yaptık */
  height: 90dvh; 
  max-height: 750px;
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
  background: #12161c;
  color: #fff;
  display: flex;
  flex-direction: column;
}

/* Form Tasarımı */
.card {
  padding: 1.5rem; /* İç boşluğu daraltarak alan kazandık */
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-around; /* Elemanları ekrana dengeli dağıtır */
}

.card h1 {
  font-weight: 900;
  font-size: 2.2rem; /* Başlığı biraz küçülterek alan kazandık */
  line-height: 1;
  color: #1db954;
}

.card .subtitle {
  font-size: 0.9rem;
  color: #8892b0;
  margin-bottom: 1rem;
}

/* Giriş Grupları */
.input-group {
  margin-bottom: 0.8rem;
  text-align: left;
}

.input-group label {
  display: block;
  font-size: 0.65rem; /* Label'ları küçülttük */
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

select {
  width: 100%;
  background: #252b36;
  border: none;
  border-radius: 0.8rem;
  padding: 0.7rem;
  font-size: 0.9rem;
  color: #ffffff;
  font-weight: 700;
  outline: none;
}

/* Butonlar */
.btn {
  background: #fff;
  border: none;
  border-radius: 2rem;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 900;
  color: #000;
  width: 100%;
  cursor: pointer;
  margin-top: 0.5rem;
  transition: transform 0.2s ease;
  text-transform: uppercase;
}

/* Story Ekranı */
.story-card {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  display: none;
  flex-direction: column;
  padding: 1.5rem;
  transition: background 0.4s ease;
}

/* ... Diğer stiller (Progress, Touch Zone vb.) aynı kalabilir ... */
.progress-container { display: flex; gap: 5px; width: 100%; margin-bottom: 1.5rem; z-index: 10; }
.progress-bar { height: 4px; flex: 1; background: rgba(255, 255, 255, 0.3); border-radius: 2px; overflow: hidden; }
.progress-fill { height: 100%; width: 0%; background: #fff; }
.touch-zone { position: absolute; top: 0; height: 100%; width: 50%; z-index: 5; cursor: pointer; user-select: none; }
.touch-left { left: 0; }
.touch-right { right: 0; }
.story-content-wrapper { flex: 1; display: flex; flex-direction: column; justify-content: center; z-index: 2; pointer-events: none; }
#story-title { font-weight: 900; font-size: 2.2rem; line-height: 1.1; margin-bottom: 1rem; }
#story-content p { font-size: 1.3rem; font-weight: 700; line-height: 1.4; opacity: 0.9; }
.story-actions { z-index: 10; padding-bottom: 1rem; }
.btn-outline { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-coffee { background: #FF813F; color: #fff; margin-top: 0.6rem; }
.btn-text { background: transparent; color: rgba(255, 255, 255, 0.5); font-size: 0.8rem; margin-top: 0.3rem; text-decoration: underline; }

/* Özet Ekranı Grid */
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.8rem; margin-top: 0.5rem; margin-bottom: 1rem; }
.summary-card { background: rgba(0, 0, 0, 0.25); padding: 1rem; border-radius: 0.8rem; border: 1px solid rgba(255, 255, 255, 0.1); }
.summary-card h3 { font-size: 0.7rem; color: rgba(255, 255, 255, 0.6); margin-bottom: 0.3rem; }
.summary-card p { font-size: 1.1rem !important; font-weight: 900 !important; }

/* Uyarı Metni (Disclaimer) */
.disclaimer {
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.2);
  text-align: center;
  margin-top: 0.8rem;
  line-height: 1.2;
}

.export-branding { font-family: 'Montserrat', sans-serif; font-weight: 700; font-size: 1rem; text-align: center; margin-top: 2rem; opacity: 0.8; }

.summary-card.full {
  grid-column: span 2;
}
.summary-card p {
    word-break: break-word; /* Uzun durak isimleri taşmasın */
}