/* css/supporters.css — all page-specific styles for supporters.html */

/* shout-out heading */
.shout-out {
  font-size: 1.5em;
  font-weight: bold;
  color: #00cccc;
  margin: 20px 0;
}

/* layout of the two cards + skeleton art */
.top-row {
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: stretch;
  flex-wrap: nowrap;
}

/* supporter cards */
.supporter-card {
  display: flex;
  flex-direction: column;
  width: 350px;
  background: linear-gradient(135deg, rgba(20,20,20,0.9), rgba(40,40,40,0.9));
  border: 2px solid #00cccc;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0,255,255,0.2);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0 auto 0;
  padding: 20px;
}
.supporter-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(0,255,255,0.4);
}
.supporter-card h2 {
  text-align: center;
  color: #00cccc;
  text-shadow: 0 0 5px #00cccc;
  margin-bottom: 15px;
}

/* skeleton art */
.skeleton-container {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin: 0 auto;
  width: 350px;
}
.skeleton-container img {
  max-width: 100%;
  height: auto;
}

/* lists */
.supporter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
}
.supporter-list li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(0,255,255,0.1);
}
.supporter-list li:last-child {
  border-bottom: none;
}

/* name + amount */
.supporter-topline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.supporter-name   { font-weight: bold; color: #00cccc; }
.supporter-amount { color: #ffdd57; font-weight: bold; }

/* optional note */
.supporter-message {
  color: #e0e0e0;
  font-style: italic;
  font-size: 0.9em;
  margin-top: 4px;
}

/* buy-me-a-soul button */
.call-to-action { margin-top: 30px; }
.soul-button {
  background-color: #ffdd57;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  padding: 10px 16px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
  display: inline-block;
}
.soul-button:hover {
  background-color: #ffee80;
  box-shadow: 0 0 10px #ffdd57;
}

/* perks link */
.top-button {
  text-decoration: none;
  color: #00cccc;
  border: 1px solid #00cccc;
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: bold;
  transition: all 0.3s ease;
  display: inline-block;
}
.top-button:hover {
  background-color: #00cccc;
  color: #000;
  box-shadow: 0 0 15px #00cccc;
}

/* responsive tweaks */
@media (max-width: 600px) {
  .skeleton-container { display: none; }
  .top-row {
    flex-wrap: wrap;
    justify-content: center;
  }
  .supporter-card {
    width: 90%;
    margin-bottom: 20px;
  }
  h1 {
    font-size: 2.5em;
  }
  .supporter-name,
  .supporter-amount,
  .supporter-message {
    font-size: 0.85em;
  }
}

/* ── Soul Meter Styles ─────────────────────────────────────────── */
.soul-meter {
  margin: 20px auto;
  max-width: 600px;
  text-align: center;
}
.soul-meter .meter-label {
  color: #e0e0e0;
  font-weight: bold;
  margin-bottom: 8px;
  display: block;
}
.soul-meter-track {
  position: relative;
  width: 100%;
  height: 16px;
  background: rgba(0,0,0,0.3);
  border: 2px solid #00cccc;
  border-radius: 8px;
  overflow: hidden;
}
.soul-meter-fill {
  width: 0;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(255,255,255,0.9) 25%,
    rgba(255,255,255,0.5) 50%,
    rgba(255,255,255,0.9) 75%
  );
  background-size: 50px 50px;
  box-shadow: 0 0 10px rgba(255,255,255,0.6);
  transition: width 1.5s ease-out;
  animation: shimmer 2s linear infinite;
}
@keyframes shimmer {
  to { background-position: 50px 50px; }
}

/* make each card a column flexbox */
.supporter-card {
  display: flex;
  flex-direction: column;
}

/* cap the list at ~3 items and scroll overflow */
.supporter-card .supporter-list {
  flex: 1;                /* fill available space */
  max-height: 14.5em;        /* roughly 3 × (2.5em line height + padding) */
  overflow-y: auto;       /* scroll when content exceeds */
  margin-bottom: 0;       /* so scroll bar doesn’t overlap the button */
}