main {
  width: 100%;
  padding: 2rem 1rem;
}

/* Homepage */

.homepage {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;

  padding: 2rem 1rem;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.16), transparent 42%),
    linear-gradient(180deg, var(--primary), var(--primary-hover));

  color: var(--text-main);
}

.launch-card {
  width: min(100%, 430px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;

  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 28px;
  padding: 2rem 1.5rem;

  text-align: center;
  box-shadow: 0 18px 45px rgba(69, 43, 111, 0.28);
}

.launch-logo-placeholder {
  width: 104px;
  height: 104px;
  display: grid;
  place-items: center;

  background: var(--primary-soft);
  border: 1px solid var(--primary-border);
  border-radius: 28px;

  font-size: 3rem;
}

.launch-copy {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.launch-copy h1 {
  margin: 0;
  font-size: 2.6rem;
  color: var(--text-main);
}

.launch-tagline {
  margin: 0;
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--darker-purple);
}

.launch-description {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}

.launch-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}


/* Auth Pages */

.auth-page {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--app-bg);
  padding: 2rem 1rem;
}

.auth-card {
  width: min(100%, 420px);
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.06);
}

.auth-card input {
  font-family: inherit;
  font-size: 1rem;
  padding: 0.6rem 0.8rem;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text-main);
}

.auth-card input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(154, 127, 209, 0.2);
}

.auth-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.auth-footer a {
  color: var(--primary);
  font-weight: bold;
}

.auth-footer a:hover {
  color: var(--primary-hover);
}

/* Prayer Requests Page */
.prayer-requests-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--app-bg);
}

.prayer-requests-panel {
  width: min(100%, 1100px);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  border-radius: 1rem; 
  gap: 1rem;
}

.prayer-requests-banner {
  width: 100%;
}

.prayer-requests-title {
  width: 100%;
  background: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0px 2px 8px rgba(0, 0, 0, 0.06);
}

.prayer-requests-title h1 {
  margin: 0;
  font-size: 2rem;
  color: var(--text-main);
}

.page-subtitle {
  margin: 0.5rem 0 0;
  color: var(--text-muted);
  font-size: 1rem;
}

.prayer-requests-controls {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 1rem;
}

.prayer-requests-controls > .add-prayer-button {
  width: 100%;
}

@media (min-width: 768px) {
  .prayer-requests-controls{
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .prayer-requests-controls > .add-prayer-button {
    width: auto;
  }

  .relationship-buttons-row {
    justify-content: flex-end;
  }
}

