/* === Patreon Widget === */
.widget {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.04), rgba(13, 19, 33, 0.95));
  border: 1px solid rgba(255, 107, 53, 0.15);
  border-radius: 16px;
  padding: 2.5rem;
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.heartIcon {
  color: var(--shell-orange);
  flex-shrink: 0;
}

.title {
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: linear-gradient(135deg, var(--shell-orange), var(--plasma-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.description {
  font-family: var(--font-space-grotesk), 'Space Grotesk', sans-serif;
  font-size: 0.95rem;
  color: var(--chrome-silver);
  line-height: 1.7;
  max-width: 600px;
}

/* === Tier Grid === */
.tierGrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

/* === Tier Column (base) === */
.tierColumn {
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.02);
}

/* === Tier Headers === */
.tierHeader {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.tierIcon {
  flex-shrink: 0;
}

.tierName {
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tierCount {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.65rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  flex-shrink: 0;
}

/* --- Galaxy Architect (top tier) --- */
.architect {
  border-color: rgba(0, 212, 255, 0.35);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.08) 0%, rgba(0, 212, 255, 0.02) 100%);
}

.architectHeader {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.18), rgba(0, 255, 200, 0.1));
  border-bottom-color: rgba(0, 212, 255, 0.2);
}

.architectHeader .tierIcon {
  color: #00ffc8;
}

.architectHeader .tierName {
  color: #00ffc8;
}

.architectHeader .tierCount {
  color: #00ffc8;
  background: rgba(0, 255, 200, 0.12);
}

.architectName {
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #00ffc8;
  text-shadow: 0 0 12px rgba(0, 255, 200, 0.4);
  letter-spacing: 0.03em;
}

.architectPrice {
  color: #00ffc8;
  border-top-color: rgba(0, 255, 200, 0.15);
}

/* --- Fleet Admiral (highest tier) --- */
.admiral {
  border-color: rgba(255, 215, 0, 0.25);
  background: linear-gradient(180deg, rgba(255, 215, 0, 0.06) 0%, rgba(255, 215, 0, 0.01) 100%);
}

.admiralHeader {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.12), rgba(255, 170, 0, 0.08));
  border-bottom-color: rgba(255, 215, 0, 0.15);
}

.admiralHeader .tierIcon {
  color: #ffd700;
}

.admiralHeader .tierName {
  color: #ffd700;
}

.admiralHeader .tierCount {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.12);
}

.admiralName {
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-weight: 600;
  font-size: 0.85rem;
  color: #ffd700;
  text-shadow: 0 0 12px rgba(255, 215, 0, 0.4);
  letter-spacing: 0.03em;
}

.admiralPrice {
  color: #ffd700;
  border-top-color: rgba(255, 215, 0, 0.15);
}

/* --- Station Commander (mid tier) --- */
.commander {
  border-color: rgba(0, 212, 255, 0.2);
  background: linear-gradient(180deg, rgba(0, 212, 255, 0.04) 0%, rgba(0, 212, 255, 0.01) 100%);
}

.commanderHeader {
  background: linear-gradient(135deg, rgba(0, 212, 255, 0.1), rgba(0, 180, 220, 0.06));
  border-bottom-color: rgba(0, 212, 255, 0.12);
}

.commanderHeader .tierIcon {
  color: var(--plasma-cyan);
}

.commanderHeader .tierName {
  color: var(--plasma-cyan);
}

.commanderHeader .tierCount {
  color: var(--plasma-cyan);
  background: rgba(0, 212, 255, 0.1);
}

.commanderName {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-weight: 500;
  font-size: 0.8rem;
  color: var(--plasma-cyan);
  letter-spacing: 0.02em;
}

.commanderPrice {
  color: var(--plasma-cyan);
  border-top-color: rgba(0, 212, 255, 0.12);
}

/* --- Galactic Patron (base tier) --- */
.patron {
  border-color: rgba(168, 197, 214, 0.12);
  background: rgba(255, 255, 255, 0.015);
}

.patronHeader {
  background: rgba(168, 197, 214, 0.05);
  border-bottom-color: rgba(168, 197, 214, 0.08);
}

.patronHeader .tierIcon {
  color: var(--chrome-silver);
}

.patronHeader .tierName {
  color: var(--chrome-silver);
}

.patronHeader .tierCount {
  color: var(--chrome-silver);
  background: rgba(168, 197, 214, 0.08);
}

.patronName {
  font-family: var(--font-space-grotesk), 'Space Grotesk', sans-serif;
  font-size: 0.8rem;
  color: var(--chrome-silver);
}

.patronPrice {
  color: var(--chrome-silver);
  border-top-color: rgba(168, 197, 214, 0.08);
}

/* === Members List === */
.tierMembers {
  padding: 0.5rem 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
  min-height: 2rem;
}

.memberName {
  padding: 0.25rem 0;
}

.emptySlot {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  color: var(--hull-grey);
  font-style: italic;
  padding: 0.25rem 0;
}

.padSlot {
  height: 0;
}

/* === Tier Price Footer === */
.tierPrice {
  font-family: var(--font-jetbrains), 'JetBrains Mono', monospace;
  font-size: 0.7rem;
  font-weight: 600;
  text-align: center;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  letter-spacing: 0.05em;
}

/* === CTA Button === */
.ctaButton {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, var(--shell-orange), #e05a2d);
  color: var(--star-white);
  font-family: var(--font-orbitron), 'Orbitron', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 10px;
  text-decoration: none;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  align-self: stretch;
  text-align: center;
}

.ctaButton:hover {
  box-shadow: 0 0 40px rgba(255, 107, 53, 0.5), 0 0 80px rgba(255, 107, 53, 0.2);
  transform: translateY(-2px);
}

/* === Responsive === */
@media (max-width: 600px) {
  .widget {
    padding: 1.5rem;
    max-width: 100%;
  }

  .tierGrid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .title {
    font-size: 1.1rem;
  }

  .ctaButton {
    padding: 0.85rem 1.5rem;
    font-size: 0.8rem;
  }
}
