.seamsi-page {
  position: relative;
  padding-bottom: 54px;
}

.seamsi-hero {
  padding: 46px 0 20px;
}

.seamsi-eyebrow {
  margin-bottom: 10px;
  color: #f4ca69;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.seamsi-title {
  margin: 0;
  color: #fff8df;
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.12;
}

.seamsi-description {
  max-width: 790px;
  margin: 14px auto 0;
  color: rgba(255, 255, 255, .78);
  font-size: 18px;
  line-height: 1.75;
}

.seamsi-section {
  padding: 24px 0 12px;
}

.seamsi-section-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  color: #fff8df;
  font-size: 28px;
  font-weight: 900;
}

.seamsi-section-title::before {
  content: "";
  width: 10px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff2bd, #d7a63b);
  box-shadow: 0 0 20px rgba(244, 202, 105, .45);
}

.seamsi-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.seamsi-card {
  display: block;
  height: 100%;
  padding: 10px 10px 16px;
  border: 1px solid rgba(244, 202, 105, .28);
  border-radius: 18px;
  color: #fff8df;
  background: linear-gradient(145deg, rgba(255, 255, 255, .12), rgba(255, 255, 255, .05));
  box-shadow: 0 18px 42px rgba(6, 4, 22, .3);
  text-align: center;
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.seamsi-card:hover {
  transform: translateY(-4px);
  border-color: rgba(244, 202, 105, .78);
  color: #fff;
  box-shadow: 0 24px 56px rgba(244, 202, 105, .16);
}

.seamsi-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
}

.seamsi-card-title {
  display: block;
  min-height: 54px;
  margin-top: 12px;
  color: #fff8df;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.45;
}

.seamsi-pagination {
  padding: 24px 0 8px;
  text-align: center;
}

.seamsi-pagination a,
.seamsi-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  margin: 4px;
  border: 1px solid rgba(244, 202, 105, .3);
  border-radius: 999px;
  color: #fff8df;
  background: rgba(255, 255, 255, .07);
  text-decoration: none;
  font-weight: 800;
}

.seamsi-pagination .active {
  color: #21123c;
  background: linear-gradient(135deg, #fff2bd, #d7a63b);
}

.seamsi-stage {
  margin-top: 24px;
  padding: 36px 0 46px;
  background-position: top center;
  background-repeat: repeat-x;
  background-size: auto 429px;
}

.seamsi-prayer {
  max-width: 620px;
  margin: 0 auto 28px;
  padding: 16px 22px;
  border: 1px solid rgba(244, 202, 105, .34);
  border-radius: 18px;
  color: #fff8df;
  background: rgba(18, 10, 46, .76);
  box-shadow: 0 18px 40px rgba(6, 4, 22, .3);
  font-size: 20px;
  font-weight: 800;
  line-height: 1.65;
  text-align: center;
}

.seamsi-shaker {
  position: relative;
  width: min(380px, 92vw);
  height: 450px;
  margin: 0 auto;
}

.seamsi-shaker img {
  max-width: 100%;
  height: auto;
}

.seamsi-shaker-logo,
.seamsi-shaker-idle,
.seamsi-shaker-gif,
.seamsi-shaker-button,
.seamsi-loading {
  position: absolute;
}

.seamsi-shaker-logo {
  top: 90px;
  left: 0;
  z-index: 2;
}

.seamsi-shaker-idle,
.seamsi-shaker-gif {
  top: 0;
  left: 0;
  z-index: 2;
}

.seamsi-shaker-gif {
  display: none;
}

.seamsi-shaker-button {
  top: 260px;
  left: 50%;
  z-index: 3;
  width: 143px;
  height: 143px;
  margin-left: -71px;
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
}

.seamsi-loading {
  display: none;
  top: 198px;
  left: 50%;
  z-index: 4;
  transform: translateX(-50%);
  min-width: 240px;
  padding: 10px 14px;
  border-radius: 12px;
  color: #21123c;
  background: #fff2bd;
  font-weight: 800;
  text-align: center;
}

.seamsi-detail {
  max-width: 760px;
  margin: 34px auto 0;
  color: rgba(255, 255, 255, .88);
  line-height: 1.85;
}

.seamsi-result-paper {
  max-width: 599px;
  min-height: 771px;
  margin: 40px auto 0;
  padding: 48px 34px 90px;
  color: #221527;
  background-position: top center;
  background-repeat: repeat-y;
  box-shadow: 0 24px 60px rgba(6, 4, 22, .28);
}

.seamsi-result-number {
  color: #1d1326;
  font-size: 36px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.seamsi-result-name {
  margin-top: 8px;
  color: #b50018;
  font-size: 15px;
  font-weight: 800;
  text-align: center;
}

.seamsi-result-text {
  padding: 30px 24px;
  color: #241536;
  font-size: 24px;
  font-weight: 800;
  line-height: 1.72;
  text-align: center;
}

.seamsi-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 24px;
}

.seamsi-secondary-btn {
  color: #fff8df;
  border: 1px solid rgba(244, 202, 105, .36);
  background: rgba(255, 255, 255, .08);
}

.seamsi-social {
  padding: 28px 0 18px;
}

.seamsi-social a {
  color: #fff8df;
  font-weight: 800;
  text-decoration: none;
}

.seamsi-social img {
  margin-right: 6px;
}

@media (max-width: 991.98px) {
  .seamsi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .seamsi-hero {
    padding-top: 30px;
  }

  .seamsi-grid {
    grid-template-columns: 1fr;
  }

  .seamsi-card-title {
    min-height: 0;
  }

  .seamsi-result-paper {
    padding: 38px 18px 70px;
  }

  .seamsi-result-number {
    font-size: 30px;
  }

  .seamsi-result-text {
    padding: 24px 10px;
    font-size: 20px;
  }
}
