/* Главная страница: только благодарность по центру */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #1d1d1f;
  background: #fafafa;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page {
  width: 100%;
  max-width: 520px;
  padding: 2rem 1.5rem;
  text-align: center;
}

.gratitude {
  padding: 3rem 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.gratitude-title {
  margin: 0 0 2rem;
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #1d1d1f;
}

.gratitude-text {
  max-width: 42ch;
  margin: 0 auto;
}

.gratitude-text p {
  margin: 0 0 1rem;
  color: #1d1d1f;
}

.gratitude-text p:last-child {
  margin-bottom: 0;
}

.gratitude-sign {
  margin-top: 1.5rem;
  font-size: 1rem;
  color: #6e6e73;
}

.screenshot-container {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.screenshot {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  object-fit: cover;
}

.screenshot:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
}

@media (min-width: 480px) {
  .gratitude-title {
    font-size: 2.25rem;
  }

  .gratitude {
    padding: 4rem 3rem;
  }
  
  .screenshot-container {
    margin-top: 3rem;
  }
  
  .screenshot {
    max-width: 600px;
  }
}
