/* ─── global terminal theme ───────────────────────────────────────────── */

body {
  background-color: #000;
  color: #0f0;
  font-family: 'Consolas','Courier New', monospace;
  text-align: center;
  margin: 0;
  padding: 0;
}

.nav-bar {
  background-color: #111;
  padding: 10px;
}
.nav-bar a {
  color: #0f0;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
}
.nav-bar a:hover {
  text-decoration: underline;
}

.typing-title {
  font-size: 28px;
  font-weight: bold;
  margin-top: 50px;
  min-height: 50px;
}

/* ─── glass-card container ─────────────────────────────────────────────── */

.card {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 16px;
  border: 1px solid rgba(0,255,0,0.5);
  box-shadow: 0 8px 32px rgba(0,255,0,0.2);
  backdrop-filter: blur(5px);
  padding: 2rem;
  margin: 2rem auto;
  max-width: 500px;
}

/* ─── form elements ─────────────────────────────────────────────────────── */

textarea {
  width: 100%;
  height: 150px;
  background-color: #000;
  color: #0f0;
  border: 1px solid #0f0;
  padding: 10px;
  resize: none;
}
select,
input[type="text"],
button {
  width: 100%;
  margin-top: 1rem;
  padding: 0.75rem;
  font-family: 'Consolas','Courier New', monospace;
  background-color: #000;
  color: #0f0;
  border: 1px solid #0f0;
}
button {
  background-color: #0f0;
  color: #000;
  font-weight: bold;
  cursor: pointer;
}
button:hover {
  background-color: #0c0;
}

/* ─── popup & footer ───────────────────────────────────────────────────── */

.footer {
  margin-top: 2rem;
  text-align: center;
  font-size: 0.9rem;
  color: #0f0;
}
.popup {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
}
.popup-content {
  background-color: #111;
  border: 1px solid #0f0;
  border-radius: 8px;
  padding: 2rem;
  max-width: 500px;
  color: #0f0;
  font-family: 'Consolas','Courier New', monospace;
  text-align: left;
}

/* ─── utility ──────────────────────────────────────────────────────────── */



.hidden {
  display: none;
}

.no-border {
  border: 0 !important;
}

/* ─── Ko-fi button styling ───────────────────────────────────────────────── */

/* ─── Donate a Coffee custom button ──────────────────────────────────────── */

/* Containerul principal */
.donate-btn {
  position: relative;               /* pentru tooltip */
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background-color: #0f0;
  color: #000;
  font-family: 'Consolas','Courier New', monospace;
  font-weight: bold;
  text-decoration: none;
  border: 2px solid #0f0;
  border-radius: 4px;
  box-shadow: 0 0 12px rgba(0,255,0,0.6);
  transition: background .2s, color .2s, box-shadow .2s;
  margin: 1rem auto;
}

/* Iconul SVG */
.donate-btn-icon svg {
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

/* Hover: inversează şi intensifică glow-ul */
.donate-btn:hover {
  background-color: #000;
  color: #0f0;
  box-shadow: 0 0 20px rgba(0,255,0,0.9);
}

/* Tooltip (ascuns implicit) */
.donate-btn-tooltip {
  position: absolute;
  bottom: 120%;                    /* deasupra butonului */
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  background: rgba(0,0,0,0.9);
  color: #0f0;
  border: 1px solid #0f0;
  border-radius: 4px;
  padding: 0.5rem;
  font-size: 0.8rem;
  text-align: center;
  white-space: normal;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, visibility .2s;
  z-index: 10;
}

/* Afișează tooltip la hover */
.donate-btn:hover .donate-btn-tooltip {
  opacity: 1;
  visibility: visible;
}
/* ─── make width consistent and include padding/border ───────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

/* scope to inside your glass-card container */
.card textarea,
.card select,
.card button {
  width: 100%;
  display: block;
}

/* match the dropdown’s height to your buttons */
.card select,
.card button {
  min-height: 2.5rem;  /* adjust this value until it lines up perfectly */
  line-height: 1.25;   /* keeps the text vertically centered */
}
/* ─── Two-column layout for Supporters page ─────────────────────────────── */

.page-container.two-column {
  display: flex;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.page-container.two-column .card {
  flex: 1 1 45%;
  max-width: 100%;
}

/* Sticky left column (rules) */
.sticky-left {
  position: sticky;
  top: 2rem;
  align-self: start;
}

/* Scrollable right column (wall) */
.scrollable {
  max-height: 80vh;
  overflow-y: auto;
}
/* ─── Supporter Tiers ─────────────────────────────────────────────────── */

/* General pinned styling */
.supporter.pinned {
  border: 1px dashed #0f0;
  background-color: rgba(0, 255, 0, 0.05);
  padding: 1rem;
  margin: 1rem 0;
  position: relative;
}

/* BOOSTER tier (£5–9.99) */
.supporter.booster strong {
  color: #0f0;
}
.supporter.booster::before {
  content: "⚡ BOOSTER";
  position: absolute;
  top: -1rem;
  left: 0;
  font-size: 0.75rem;
  color: #0f0;
  background: #000;
  padding: 0 6px;
}

/* LEGEND tier (£10+) pinned for 6 months */
.supporter.legend strong {
  color: gold;
}
.supporter.legend::before {
  content: "👑 LEGEND";
  position: absolute;
  top: -1rem;
  left: 0;
  font-size: 0.75rem;
  color: gold;
  background: #000;
  padding: 0 6px;
}
.warning-banner {
  background-color: rgba(255, 255, 0, 0.1);
  color: #ff0;
  border: 1px solid #ff0;
  padding: 1rem;
  font-size: 0.9rem;
  text-align: left;
  border-radius: 4px;
  margin-bottom: 1rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
