html, body {
  height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =========================================================
   COMMUNITY SECRET PAGE
========================================================= */

.community-page-main {
  flex: 1;
}

.community-secret-section {
  min-height: 70vh;

  display: flex;
  align-items: center;
  justify-content: center;
}

.community-secret-panel {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.community-title {
  margin: 8px 0 14px;
}

.community-description {
  max-width: 560px;
  margin: 0 auto 28px;
  opacity: 0.82;
}

/* =========================================================
   FORM
========================================================= */

.community-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.community-textarea {
  width: 100%;
  min-height: 180px;
  resize: vertical;

  padding: 18px 20px;
  border-radius: 18px;

  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);

  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;

  outline: none;
}

.community-textarea:focus {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.07);
}

.community-submit {
  align-self: center;
  min-width: 180px;
}

.community-message {
  min-height: 1.4em;
  margin-top: 16px;
  opacity: 0.75;
}

/* =========================================================
   RESULT VIEW
========================================================= */

.is-hidden {
  display: none;
}

.community-small-text {
  margin: 0 0 8px;
  opacity: 0.65;
  font-size: 0.95rem;
}

.community-keyword {
  margin: 0 0 34px;

  font-family: var(--font-accent);
  font-size: clamp(3rem, 14vw, 7rem);
  line-height: 0.9;
  letter-spacing: 2px;
}

.community-received-label {
  margin: 0 0 14px;
  opacity: 0.65;
  font-size: 0.95rem;
}

.community-received-secret {
  max-width: 620px;
  margin: 0 auto;

  padding: 22px 24px;
  border-radius: 18px;

  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.community-received-secret p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: 0.9;
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 700px) {

  .community-textarea {
    min-height: 170px;
  }

  .community-submit {
    width: 100%;
  }
}