:root {
  --bg: #0c0c0f;
  --card: #16161c;
  --text: #f6f6f7;
  --muted: #a9abb3;
  --gold: #ffd54a;
  --gold-ink: #1a1505;
  --line: #22252c;
  --ok: #41d675;
  --err: #ff5c7a;

  /* ახალი აქცენტები */
  --wait-bg: #10141f;
  --wait-border: #24304a;
  --wait-chip: #1b2740;

  --recv-bg: #0f1713;
  --recv-border: #1e3b2e;
  --recv-chip: #183026;
}
* {
  box-sizing: border-box;
}
html,
body {
  height: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.4 system-ui, Segoe UI, Roboto, Arial;
}

/* ===== Loader ===== */
.loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--bg);
  z-index: 9999;
  transition: opacity 0.35s, visibility 0.35s;
}
.loader.hidden {
  opacity: 0;
  visibility: hidden;
}
.spinner {
  width: 64px;
  height: 64px;
  border: 4px solid rgba(255, 213, 74, 0.25);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: 0 0 24px rgba(255, 213, 74, 0.35);
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.top-toast {
  position: fixed;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  background: #11210a;
  color: #bff0c7;
  border: 1px solid #1f3d17;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 9998;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}
.top-toast.hidden {
  display: none;
}

/* ===== Shell / Header ===== */
.wrap {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
header.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: linear-gradient(180deg, #0c0c0fd9, #0c0c0f99 65%, #0c0c0f00);
  backdrop-filter: saturate(1.1) blur(4px);
  border-bottom: 1px solid var(--line);
}
.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  border-radius: 12px;
  padding: 4px 6px;
}
.brand-link:hover {
  background: #1a1a20;
}
.logo {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid var(--gold);
  object-fit: cover;
}
.brand {
  font-weight: 800;
  letter-spacing: 0.3px;
}
.grow {
  flex: 1;
}
.burger {
  background: #1a1a20;
  border: 1px solid var(--line);
  color: var(--text);
  padding: 8px 10px;
  border-radius: 12px;
  cursor: pointer;
}
.menu {
  position: absolute;
  right: 16px;
  top: 58px;
  background: #121217;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  display: none;
  min-width: 200px;
}
.menu.show {
  display: block;
}
.menu a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
}
.menu a:hover {
  background: #1a1a20;
}

main {
  flex: 1;
}
section.page {
  display: none;
  animation: fade 0.25s ease;
}
section.page.active {
  display: block;
}
@keyframes fade {
  from {
    opacity: 0.3;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ===== Home / Hero ===== */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 16px 0;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr;
}
.head-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  display: flex;
  gap: 12px;
  align-items: center;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}
.head-text h1 {
  margin: 0 0 6px;
  font-size: 28px;
}
.head-text p {
  margin: 0;
  color: var(--muted);
}
.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px; /* ტექსტსა და ლომს შორის დაშორება */
  background: var(--gold);
  color: var(--gold-ink);
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 24px rgba(255, 213, 74, 0.25);
}

.cta .lion-emoji {
  width: 22px; /* საჭირო ზომა დააყენე აქ */
  height: 22px;
  border-radius: 50%; /* თუ მრგვალი გინდა */
  object-fit: cover;
}

/* ===== Sections (new) ===== */
.section {
  max-width: 1100px;
  margin: 18px auto 0;
  padding: 0 16px;
}
.section-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 8px;
}
.section-head h3 {
  margin: 0;
  font-weight: 900;
  letter-spacing: 0.2px;
}
.tag {
  margin-left: auto;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  opacity: 0.9;
}
.tag.wait {
  background: var(--wait-chip);
  border-color: var(--wait-border);
}
.tag.recv {
  background: var(--recv-chip);
  border-color: var(--recv-border);
}
.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}
.dot.wait {
  background: #5ab3ff;
  box-shadow: 0 0 10px #5ab3ff80;
}
.dot.recv {
  background: #41d675;
  box-shadow: 0 0 10px #41d67580;
}

/* Waiting section container */
.waiting-section .list {
  background: linear-gradient(180deg, #0e121b, #0c0f17);
  border: 1px solid var(--wait-border);
  border-radius: 16px;
  padding: 10px;
  box-shadow: inset 0 0 0 1px #0f1524;
}
/* Received section container */
.received-section {
  margin-top: 18px;
}
.received-section .list {
  background: linear-gradient(180deg, #0c130f, #0a120d);
  border: 1px solid var(--recv-border);
  border-radius: 16px;
  padding: 10px;
  box-shadow: inset 0 0 0 1px #0f231a;
}

/* ===== List / Cards ===== */
.list {
  display: grid;
  gap: 12px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.card.wait {
  background: var(--wait-bg);
  border-color: var(--wait-border);
}
.card.recv {
  background: var(--recv-bg);
  border-color: var(--recv-border);
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #333;
  object-fit: cover;
  background: #0a0a0d;
}
.meta {
  flex: 1;
  min-width: 0;
}
.name {
  margin: 0;
  font-weight: 800;
}
.sub {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.pill {
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--gold-ink);
  font-weight: 800;
  font-size: 12px;
  white-space: nowrap;
}
.pill.pill-flex {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ===== Donate & Content ===== */
.donate-wrap {
  max-width: 1100px;
  margin: 12px auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.donate-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
}
.donate-card h2 {
  margin: 0 0 8px;
}
.note {
  color: var(--muted);
  font-size: 13px;
}

.content-card {
  max-width: 900px;
  margin: 12px auto;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.content-card h2 {
  margin: 0 0 8px;
}
.content-card p {
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.foot {
  max-width: 1100px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .donate-wrap {
    grid-template-columns: 1.1fr 0.9fr;
  }
}

.input {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #2a2a33;
  background: #0f0f14;
  color: var(--text);
}
.input:focus {
  border-color: var(--gold);
}
.btn {
  padding: 12px 16px;
  border: 0;
  border-radius: 12px;
  background: #2a2a33;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}
.btn.gold {
  background: var(--gold);
  color: var(--gold-ink);
}
.lookup-row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}
.hidden {
  display: none !important;
}
.msg {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}
.msg.err {
  color: var(--err);
}
.msg.ok {
  color: var(--ok);
}
.profile {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #15151a;
}
.avatar.big {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  border: 1px solid #333;
  object-fit: cover;
  background: #0a0a0d;
}
.pm .name {
  font-weight: 800;
  margin: 0;
}
.pm .sub {
  color: var(--muted);
  font-size: 13px;
  margin: 2px 0 0;
}

.donorbox-controls {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 8px;
}
.btn.ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}
.btn.ghost:hover {
  background: #1a1a20;
}

/* ===== pill icons ===== */
.icon-16 {
  width: 18px;
  height: 18px;
  display: inline-block;
  vertical-align: -3px;
  line-height: 1;
}
.pill .fa-circle-check,
.pill .fa-stopwatch {
  font-size: 18px;
  line-height: 1;
}
.pill .wait-icon {
  color: #5ab3ff;
}
.pill .check-icon {
  color: #37d67a;
}
.lion-icon {
  border-radius: 50%;
  object-fit: cover;
}
.pill .pill-num {
  font-weight: 800;
}

.top-toast {
  position: fixed;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  background: #11210a;
  color: #bff0c7;
  border: 1px solid #1f3d17;
  padding: 10px 14px;
  border-radius: 12px;
  z-index: 9998;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  font-weight: 700;
}
.top-toast.hidden {
  display: none;
}

/* TikTok CTA under About */
.about-tt-cta {
  margin-top: 10px;
  display: flex;
  justify-content: center; /* ცენტრში მიტანა */
}
.tt-cta {
  display: inline-flex;
  padding: 8px;
  border-radius: 14px;
  background: #121217;
  border: 1px solid var(--line);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.tt-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}
.tt-cta__img {
  width: 72px;
  height: 72px;
  border-radius: 999px;
  border: 3px solid var(--gold); /* ოქროს რგოლი, როგორც ჰედერში */
  object-fit: cover;
}
@media (max-width: 480px) {
  .tt-cta__img {
    width: 56px;
    height: 56px;
  }
}
