/* =========================================================
   FTF TIERS + GLOBAL SERVER STATUS
   ========================================================= */

/* Hidden module output provides live module.online data to ftf-site.js. */
.ftf-global-module-probe {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  pointer-events: none !important;
}

/* Online / offline indicator */
.ftf-status-dot.is-online {
  background: var(--ftf-success, #57c879) !important;
  box-shadow: 0 0 14px rgba(87, 200, 121, .58) !important;
}

.ftf-status-dot.is-offline {
  background: #e0473d !important;
  box-shadow: 0 0 14px rgba(224, 71, 61, .52) !important;
}

/* Tier page */
.ftf-tiered-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(169, 35, 35, .11), transparent 34rem),
    #09090a;
}

.ftf-tier-hero {
  padding: clamp(70px, 8vw, 118px) 0 52px;
  text-align: center;
}

.ftf-tier-hero h1 {
  max-width: 900px;
  margin: 0 auto 18px;
}

.ftf-tier-intro {
  max-width: 760px;
  margin: 0 auto;
  color: var(--ftf-text-soft);
  line-height: 1.8;
}

.ftf-tier-intro > *:first-child {
  margin-top: 0;
}

.ftf-tier-intro > *:last-child {
  margin-bottom: 0;
}

.ftf-tier-section {
  padding: 30px 0 clamp(90px, 9vw, 138px);
}

.ftf-tier-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 22px;
}

.ftf-tier-plan {
  --tier-accent: #c69a4a;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 0%, rgba(198, 154, 74, .1), transparent 30%),
    #151517;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .24);
  transition:
    transform .2s ease,
    border-color .2s ease,
    box-shadow .2s ease;
}

.ftf-tier-plan:hover {
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--tier-accent) 58%, transparent);
  box-shadow: 0 32px 70px rgba(0, 0, 0, .34);
}

.ftf-tier-plan-1 {
  --tier-accent: #f3bc2e;
}

.ftf-tier-plan-2 {
  --tier-accent: #e64a35;
}

.ftf-tier-plan-3 {
  --tier-accent: #51a878;
}

.ftf-tier-plan.is-current-tier {
  border-color: var(--tier-accent);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--tier-accent) 30%, transparent),
    0 30px 70px rgba(0, 0, 0, .34);
}

.ftf-tier-plan-top {
  padding: 26px 28px 22px;
  text-align: center;
}

.ftf-tier-state {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--tier-accent);
  font-size: .67rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.ftf-tier-logo {
  display: grid;
  place-items: center;
  height: 92px;
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 9px;
  background:
    linear-gradient(145deg, rgba(255,255,255,.025), transparent),
    #101012;
}

.ftf-tier-logo img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 58px;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.ftf-tier-plan h2 {
  margin: 18px 0 9px;
  font-size: clamp(1.65rem, 2.5vw, 2.2rem);
}

.ftf-tier-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 7px;
  color: var(--tier-accent);
}

.ftf-tier-price strong {
  font-size: 1.7rem;
}

.ftf-tier-price span {
  color: var(--ftf-muted);
  font-size: .7rem;
  font-weight: 850;
  letter-spacing: .08em;
}

.ftf-tier-price del {
  width: 100%;
  color: var(--ftf-muted);
  font-size: .72rem;
}

.ftf-tier-benefits {
  flex: 1;
  padding: 26px 28px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--ftf-text-soft);
  background: rgba(7, 7, 8, .24);
}

.ftf-tier-benefits > *:first-child {
  margin-top: 0;
}

.ftf-tier-benefits > *:last-child {
  margin-bottom: 0;
}

.ftf-tier-benefits p,
.ftf-tier-benefits li {
  color: var(--ftf-text-soft);
  line-height: 1.72;
}

.ftf-tier-benefits ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ftf-tier-benefits li {
  position: relative;
  padding-left: 21px;
}

.ftf-tier-benefits li::before {
  content: "✦";
  position: absolute;
  left: 0;
  top: .08em;
  color: var(--tier-accent);
  font-size: .76em;
}

.ftf-tier-action {
  padding: 0 28px 28px;
  background: rgba(7, 7, 8, .24);
}

.ftf-tier-button {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 18px;
  border: 1px solid color-mix(in srgb, var(--tier-accent) 75%, #fff 10%);
  border-radius: 8px;
  color: #fff;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--tier-accent) 78%, #fff 4%),
      color-mix(in srgb, var(--tier-accent) 62%, #000 38%)
    );
  box-shadow: 0 13px 26px rgba(0, 0, 0, .25);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .09em;
  text-decoration: none;
  text-transform: uppercase;
  transition:
    transform .16s ease,
    filter .16s ease,
    box-shadow .16s ease;
}

.ftf-tier-button:hover {
  transform: translateY(-2px);
  filter: brightness(1.12);
  box-shadow: 0 17px 32px rgba(0, 0, 0, .32);
}

.ftf-tier-button.is-in-basket {
  color: #17120a;
  background: linear-gradient(180deg, #f1d483, #bd8734);
  border-color: #f4dda0;
}

.ftf-tier-button.is-disabled {
  color: #77747a;
  border-color: rgba(255,255,255,.09);
  background: #101012;
  box-shadow: none;
  cursor: default;
}

.ftf-tier-button.is-disabled:hover {
  transform: none;
  filter: none;
}

/* Recent purchases below tier cards */
.ftf-tier-purchases {
  padding: clamp(76px, 8vw, 116px) 0;
  border-top: 1px solid rgba(255,255,255,.09);
  background: #0d0d0f;
}

.ftf-tier-purchases-heading {
  margin-bottom: 28px;
  text-align: center;
}

.ftf-tier-purchases-heading h2 {
  margin-bottom: 0;
}

.ftf-tier-purchases-modules {
  max-width: 920px;
  margin-inline: auto;
}

.ftf-tier-purchases-modules .ftf-module {
  display: none !important;
}

.ftf-tier-purchases-modules .ftf-payments-module {
  display: block !important;
  padding: 30px;
  border-color: rgba(198,154,74,.26);
  background:
    radial-gradient(circle at 100% 0%, rgba(169,35,35,.1), transparent 34%),
    #151517;
}

.ftf-tier-purchases-modules .ftf-payments-module
.ftf-module-label {
  display: none;
}

.ftf-tier-purchases-modules .ftf-payment-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.ftf-tier-purchases-modules .ftf-payment-item {
  padding: 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  background: #101012;
}

@media (max-width: 1040px) {
  .ftf-tier-cards {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
  }

  .ftf-tier-purchases-modules .ftf-payment-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .ftf-tier-hero {
    padding-top: 60px;
  }

  .ftf-tier-plan-top,
  .ftf-tier-benefits {
    padding-inline: 22px;
  }

  .ftf-tier-action {
    padding: 0 22px 22px;
  }

  .ftf-tier-purchases-modules .ftf-payment-list {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   FTF CUSTOM 1.0.20 — SUPPORTER PURCHASES
   ========================================================= */

.ftf-tier-purchases {
  padding: clamp(88px, 9vw, 138px) 0;
}

.ftf-tier-purchases-heading {
  margin-bottom: 36px;
}

.ftf-tier-purchases-heading h2 {
  font-size: clamp(2.3rem, 4vw, 4rem);
}

.ftf-tier-purchases-modules {
  width: min(100%, 1120px);
  max-width: 1120px;
}

.ftf-tier-purchases-modules .ftf-module {
  display: none !important;
}

.ftf-tier-purchases-modules .ftf-payments-module {
  display: block !important;
  padding: clamp(28px, 4vw, 42px);
  border: 1px solid rgba(198, 154, 74, .34);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0%, rgba(169, 35, 35, .13), transparent 38%),
    #151517;
  box-shadow: 0 26px 65px rgba(0, 0, 0, .3);
}

.ftf-tier-purchases-modules .ftf-payments-module
.ftf-module-label {
  display: none;
}

.ftf-supporter-empty {
  min-height: 150px;
  display: grid;
  place-items: center;
  text-align: center;
}

.ftf-supporter-empty p {
  margin: 0;
  color: var(--ftf-muted);
}

.ftf-supporter-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.ftf-supporter-purchase {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 10px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, .022), transparent),
    #101012;
}

.ftf-supporter-head {
  width: 72px;
  height: 72px;
  overflow: hidden;
  border: 1px solid rgba(198, 154, 74, .32);
  border-radius: 9px;
  background: #09090a;
  image-rendering: pixelated;
}

.ftf-supporter-head img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.ftf-supporter-details {
  display: grid;
  min-width: 0;
  gap: 5px;
}

.ftf-supporter-details > strong {
  overflow: hidden;
  color: var(--ftf-text);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ftf-supporter-package {
  overflow: hidden;
  color: var(--ftf-gold-bright);
  font-size: .78rem;
  font-weight: 850;
  letter-spacing: .04em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ftf-supporter-amount {
  display: grid;
  justify-items: end;
  gap: 3px;
  padding-left: 14px;
  text-align: right;
}

.ftf-supporter-amount strong {
  color: var(--ftf-gold-bright);
  font-size: 1rem;
}

.ftf-supporter-amount span {
  color: var(--ftf-muted);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

@media (max-width: 860px) {
  .ftf-supporter-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .ftf-tier-purchases-modules .ftf-payments-module {
    padding: 18px;
  }

  .ftf-supporter-purchase {
    grid-template-columns: 56px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .ftf-supporter-head {
    width: 56px;
    height: 56px;
  }

  .ftf-supporter-amount {
    grid-column: 2;
    justify-items: start;
    padding-left: 0;
    text-align: left;
  }
}
