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

body {
  font-family: Georgia, serif;
  background: url('/leonid.webp') center center / cover no-repeat fixed;
  color: #f0ebe0;
  min-height: 100vh;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 2rem 1rem;
}

.container {
  text-align: center;
  width: 100%;
  max-width: 420px;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.6);
  border-radius: 12px;
}

h1 {
  font-size: 2.4rem;
  font-weight: normal;
  letter-spacing: 0.05em;
  margin-bottom: 0.4rem;
}

.subtitle {
  color: #ccc;
  font-style: italic;
  margin-bottom: 1rem;
}

.counter {
  font-size: 0.82rem;
  color: #bbb;
  font-style: italic;
  margin-bottom: 1rem;
  min-height: 1.2em;
}


.form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  text-align: left;
}

label {
  font-size: 0.85rem;
  color: #ccc;
  letter-spacing: 0.03em;
}

input {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  font-size: 1rem;
  font-family: Georgia, serif;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  outline: none;
  transition: border-color 0.2s;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

input:focus {
  border-color: rgba(255, 255, 255, 0.7);
}

button {
  padding: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 1rem;
  font-family: Georgia, serif;
  cursor: pointer;
  transition: background 0.2s;
}

button:hover {
  background: rgba(255, 255, 255, 0.35);
}

button:disabled {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.4);
  cursor: not-allowed;
}

.hidden {
  display: none;
}

.status {
  font-size: 0.9rem;
  padding: 0.6rem;
  border-radius: 6px;
  text-align: center;
}

.status.success {
  background: #edfaf1;
  color: #2d7a4f;
}

.status.error {
  background: #fdecea;
  color: #a33;
}

.hint {
  font-size: 0.78rem;
  color: #bbb;
  font-style: italic;
}

.disclaimer {
  text-align: left;
}

.disclaimer-label {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: #ccc;
  cursor: pointer;
  line-height: 1.5;
}

.disclaimer-label input[type="checkbox"] {
  margin-top: 3px;
  width: auto;
  accent-color: #fff;
  flex-shrink: 0;
}

.coming-soon {
  font-size: 1rem;
  color: #ccc;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.privacy {
  font-size: 0.75rem;
  color: #999;
  font-style: italic;
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.5;
}

.error-hint {
  color: #ff9a9a;
}

.success-hint {
  color: #90f0b0;
}

.share {
  margin-top: 1.5rem;
  text-align: center;
}

.share-label {
  font-size: 1rem;
  color: #FBE11B;
  font-style: italic;
  margin-bottom: 0.8rem;
}

.share-buttons {
  display: flex;
  gap: 0.6rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 0.85rem;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s;
}

.share-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.tip {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.tip-btn {
  display: inline-block;
  padding: 0.6rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-family: Georgia, serif;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s;
}

.tip-btn:hover {
  background: rgba(255, 255, 255, 0.25);
}

.tip-note {
  font-size: 0.78rem;
  color: #bbb;
  font-style: italic;
}

.contact {
  margin-top: 2rem;
  text-align: center;
}

.contact-label {
  font-size: 0.78rem;
  color: #bbb;
  font-style: italic;
  margin-bottom: 0.6rem;
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
}

.contact-link {
  font-size: 0.85rem;
  color: #ccc;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
  transition: color 0.2s;
}

.contact-link:hover {
  color: #fff;
}

.help {
  margin-top: 1.5rem;
  text-align: left;
}

.help-toggle {
  color: #bbb;
  font-family: Georgia, serif;
  font-size: 0.85rem;
  font-style: italic;
  cursor: pointer;
  list-style: none;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.help-toggle::-webkit-details-marker {
  display: none;
}

.help-toggle:hover {
  color: #fff;
}

.help-content {
  margin-top: 1rem;
}

.help-list {
  list-style: disc;
  padding-left: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.help-list li {
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.6;
}

.help-link {
  color: #ccc;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.help-link:hover {
  color: #fff;
}

.about-news-section {
  margin-top: 2rem;
}

.about-news-toggles {
  display: flex;
  gap: 2rem;
  justify-content: center;
}

.section-toggle {
  background: none;
  border: none;
  color: #FBE11B;
  font-family: Georgia, serif;
  font-size: 1rem;
  font-style: italic;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 0;
}

.section-toggle:hover,
.section-toggle.active {
  color: #fff;
  background: none;
}

.section-content {
  margin-top: 1.2rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.section-content.hidden {
  display: none;
}

.about-text {
  font-size: 0.85rem;
  color: #ccc;
  line-height: 1.7;
}
