/* ============================================================
   Bir Manat — Main Stylesheet
   Light theme with dark navy hero card
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #f0f4f9;
  --card: #ffffff;
  --text: #1a2540;
  --muted: #64748b;
  --border: #e2e8f0;
  --accent: #1d4ed8;
  --accent-light: #eff6ff;
  --amber: #f59e0b;
  --amber-bg: #fffbeb;
  --amber-border: #fde68a;
  --hero-bg: #0f1f3d;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color-scheme: light;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  user-select: none;
}

input, textarea {
  -webkit-user-select: auto;
  user-select: auto;
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  padding-bottom: 100px;
  -webkit-font-smoothing: antialiased;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

/* ============================================================
   TOP BAR
   ============================================================ */

.top-bar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg);
}

.top-bar__left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.top-bar__avatar {
  width: 44px;
  height: 44px;
}

.top-bar__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.top-bar__greeting {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.top-bar__name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}

/* Coin badge (top-right) */
.coin-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--amber-bg);
  border: 1.5px solid var(--amber-border);
  color: #92400e;
  font-size: 14px;
  font-weight: 700;
  padding: 7px 14px;
  border-radius: 999px;
}

.coin-badge i {
  color: var(--amber);
  font-size: 15px;
}

/* ============================================================
   AVATAR
   ============================================================ */

.avatar-frame {
  position: relative;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(29, 78, 216, 0.22);
  background: #dbeafe;
}

.avatar-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none;
}

.avatar-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #1d4ed8;
  background: #dbeafe;
}

.avatar-frame.top-bar__avatar .avatar-fallback {
  font-size: 17px;
}

/* ============================================================
   MAIN SHELL
   ============================================================ */

.app-shell {
  max-width: 520px;
  margin: 0 auto;
  padding: 4px 16px 0;
}

/* ============================================================
   HERO CARD
   ============================================================ */

.hero-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(140deg, #0d1b36 0%, #152847 55%, #1c3360 100%);
  border-radius: 22px;
  padding: 22px 20px 20px;
  color: #fff;
  margin-bottom: 22px;
}

/* Decorative circles */
.hero-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  pointer-events: none;
}

.hero-card::after {
  content: '';
  position: absolute;
  bottom: -70px; left: -40px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: rgba(29, 78, 216, 0.14);
  pointer-events: none;
}

.hero-card__brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.hero-card__brand i {
  color: #fbbf24;
  font-size: 12px;
}

.hero-card__title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.14;
  margin-bottom: 10px;
  letter-spacing: -0.3px;
  position: relative;
  z-index: 1;
}

.hero-card__sub {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.65;
  margin-bottom: 18px;
  position: relative;
  z-index: 1;
}

/* Stats row inside hero */
.hero-card__stats {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.hero-stat__label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.48);
  font-weight: 500;
  margin-bottom: 4px;
}

.hero-stat__value {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 5px;
  line-height: 1;
}

.hero-stat__value--gold {
  color: #fbbf24;
}

.hero-coin-icon {
  color: #fbbf24;
  font-size: 14px;
}

.hero-stat-divider {
  width: 1px;
  height: 38px;
  background: rgba(255, 255, 255, 0.13);
  flex-shrink: 0;
}

/* CTA Button */
.hero-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  background: #f59e0b;
  color: #1a0f00;
  font-size: 15px;
  font-weight: 700;
  padding: 14px 20px;
  border-radius: 14px;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: opacity 0.15s, transform 0.15s;
}

.hero-cta:active {
  opacity: 0.88;
  transform: scale(0.985);
}

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */

.content-section {
  margin-bottom: 22px;
}

.section-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 13px;
  letter-spacing: -0.1px;
}

/* ============================================================
   STEP CARDS
   ============================================================ */

.steps-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
}

.step-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 8px rgba(0, 0, 0, 0.04);
}

.step-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  font-size: 17px;
  color: #fff;
}

.step-icon--blue   { background: #3b82f6; }
.step-icon--purple { background: #8b5cf6; }
.step-icon--teal   { background: #0d9488; }

.step-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.step-text strong {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.step-text span {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

/* ============================================================
   SECURITY NOTE
   ============================================================ */

.security-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  padding: 14px;
}

.security-note__icon {
  color: #16a34a;
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.security-note p {
  font-size: 12.5px;
  color: #15803d;
  line-height: 1.6;
}

.security-note strong {
  color: #15803d;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--card);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.07), 0 1px 8px rgba(0, 0, 0, 0.04);
}

.faq-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 16px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-align: left;
}

.faq-btn span { flex: 1; }

.faq-chevron {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--muted);
  transition: transform 0.22s ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
}

.faq-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.28s ease, padding 0.28s ease;
  padding: 0 16px;
}

.faq-item.is-open .faq-body {
  max-height: 300px;
  padding: 0 16px 14px;
}

.faq-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
}

/* ============================================================
   NOTICE
   ============================================================ */

.notice {
  margin: 12px 0;
  padding: 12px 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.notice--hidden {
  display: none;
}

/* ============================================================
   BOTTOM NAV
   ============================================================ */

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 4px;
  width: min(calc(100% - 24px), 520px);
  transform: translateX(-50%);
  padding: 6px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10), 0 2px 8px rgba(0, 0, 0, 0.06);
}

.bottom-nav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 4px;
  border-radius: 14px;
  text-decoration: none;
  color: var(--muted);
  transition: color 0.15s, background 0.15s;
}

.bottom-nav__item:hover {
  color: var(--text);
  background: #f8fafc;
}

.bottom-nav__item.is-active {
  color: var(--accent);
  background: var(--accent-light);
}

.bottom-nav__icon {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.bottom-nav__icon i {
  font-size: 17px;
  line-height: 1;
}

.bottom-nav__icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.15s;
}

.bottom-nav__item.is-active .bottom-nav__icon svg {
  stroke-width: 2.2;
}

.bottom-nav__item:active .bottom-nav__icon svg {
  transform: scale(0.88);
}

.bottom-nav__label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

/* ============================================================
   SUBPAGES (tasks, leaders, frens, withdrawals)
   ============================================================ */

.page {
  padding: 20px 16px;
  max-width: 520px;
  margin: 0 auto;
}

.page h1 {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 16px;
}

/* Generic card used in subpages */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 12px;
}

/* Badge */
.badge {
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}

.badge.ok     { background: #dcfce7; color: #15803d; }
.badge.wait   { background: #fef9c3; color: #854d0e; }
.badge.reject { background: #fee2e2; color: #b91c1c; }

/* User/task list items */
.user-item,
.task-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  background: var(--card);
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
  margin-bottom: 8px;
}

.user-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mini-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #dbeafe;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 15px;
  color: #1d4ed8;
}

.mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.user-item strong,
.task-item strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}

.user-item span,
.task-item span {
  font-size: 12px;
  color: var(--muted);
}

.empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--muted);
  font-size: 14px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 400px) {
  .hero-card__title { font-size: 25px; }
  .bottom-nav__item { padding: 8px 2px; }
  .bottom-nav__label { font-size: 9.5px; }
  .coin-badge { font-size: 13px; padding: 6px 11px; }
}

/* ── Yüklənmə Göstəricisi (Spinner) ─────────────────────── */
.loader {
  width: 28px;
  aspect-ratio: 1;
  border-radius: 50%;
  border: 4px solid var(--accent);
  animation:
    l20-1 0.8s infinite linear alternate,
    l20-2 1.6s infinite linear;
  display: inline-block;
  flex-shrink: 0;
}

@keyframes l20-1 {
   0%    {clip-path: polygon(50% 50%,0       0,  50%   0%,  50%    0%, 50%    0%, 50%    0%, 50%    0% )}
   12.5% {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100%   0%, 100%   0%, 100%   0% )}
   25%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 100% 100%, 100% 100% )}
   50%   {clip-path: polygon(50% 50%,0       0,  50%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   62.5% {clip-path: polygon(50% 50%,100%    0, 100%   0%,  100%   0%, 100% 100%, 50%  100%, 0%   100% )}
   75%   {clip-path: polygon(50% 50%,100% 100%, 100% 100%,  100% 100%, 100% 100%, 50%  100%, 0%   100% )}
   100%  {clip-path: polygon(50% 50%,50%  100%,  50% 100%,   50% 100%,  50% 100%, 50%  100%, 0%   100% )}
}
@keyframes l20-2 { 
  0%    {transform:scaleY(1)  rotate(0deg)}
  49.99%{transform:scaleY(1)  rotate(135deg)}
  50%   {transform:scaleY(-1) rotate(0deg)}
  100%  {transform:scaleY(-1) rotate(-135deg)}
}

/* Kiçik spinner */
.loader--sm {
  width: 18px;
  border-width: 3px;
}

/* Böyük spinner */
.loader--lg {
  width: 42px;
  border-width: 6px;
}

/* Ağ rəngli spinner (tünd fonlar üçün) */
.loader--white {
  border-color: #fff;
}

/* ============================================================
   TASKS PAGE — Günlük, Premium, Sponsor
   (tasks.css buraya birləşdirildi)
   ============================================================ */

/* ── Page Layout ─────────────────────────────────────────── */
.tasks-page {
  padding-top: 6px;
}

.tasks-header {
  margin-bottom: 14px;
}

.tasks-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.4px;
  margin-bottom: 3px;
}

.tasks-subtitle {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* ── Daily Progress Banner ───────────────────────────────── */
.daily-progress-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, #0d1b36 0%, #1c3360 100%);
  border-radius: 18px 18px 0 0;
  padding: 14px 16px;
  color: #fff;
}

.daily-progress-banner__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.13);
  display: grid;
  place-items: center;
  font-size: 18px;
  color: #fbbf24;
  flex-shrink: 0;
}

.daily-progress-banner__text {
  flex: 1;
  min-width: 0;
}

.daily-progress-banner__text strong {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}

.daily-progress-banner__text span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.daily-progress-count {
  font-size: 22px;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1;
}

.daily-progress-bar-wrap {
  height: 6px;
  background: rgba(13, 27, 54, 0.15);
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  margin-bottom: 18px;
}

.daily-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #fbbf24, #f59e0b);
  border-radius: 0 0 6px 6px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Tab Switcher ────────────────────────────────────────── */
.task-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 5px;
  margin-bottom: 14px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
}

.task-tab {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 9px 10px;
  border-radius: 11px;
  border: none;
  background: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.15s, background 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.task-tab i { font-size: 13px; }

.task-tab:hover {
  color: var(--text);
  background: #f8fafc;
}

.task-tab.is-active {
  color: var(--accent);
  background: var(--accent-light);
  box-shadow: 0 1px 4px rgba(29, 78, 216, 0.10);
}

.task-tab[data-tab="premium"].is-active {
  color: #7c3aed;
  background: #f5f3ff;
}

.task-tab[data-tab="premium"].is-active i { color: #f59e0b; }

.task-tab[data-tab="sponsor"].is-active {
  color: #065f46;
  background: #ecfdf5;
}

/* ── Tab Panels ──────────────────────────────────────────── */
.task-panel {
  display: none;
  animation: fadeSlideIn 0.22s ease forwards;
}

.task-panel.is-active { display: block; }

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Task List ───────────────────────────────────────────── */
.task-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.task-loading {
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

/* ── Task Card ───────────────────────────────────────────── */
.task-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 8px rgba(0, 0, 0, 0.03);
  transition: transform 0.15s, box-shadow 0.15s;
}

.task-card:active { transform: scale(0.985); }

.task-card.is-done {
  background: #f9fafb;
  border-color: #e9ecef;
}

.task-card.is-done .task-card__title {
  color: var(--muted);
  text-decoration: line-through;
}

/* Icon Box */
.task-card__icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-size: 20px;
  flex-shrink: 0;
}

.task-card__icon--daily-ad  { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; }
.task-card__icon--invite    { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; }
.task-card__icon--premium-join  { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }
.task-card__icon--premium-chat  { background: linear-gradient(135deg, #10b981, #059669); color: #fff; }
.task-card__icon--premium-sub   { background: linear-gradient(135deg, #ec4899, #be185d); color: #fff; }
.task-card__icon--premium-react { background: linear-gradient(135deg, #f97316, #ea580c); color: #fff; }

/* Task Info */
.task-card__info { flex: 1; min-width: 0; }

.task-card__title {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.task-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.task-card__reward {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 999px;
  padding: 3px 9px;
}

.task-card__reward i { color: #f59e0b; font-size: 11px; }

.task-card__progress-text {
  font-size: 11px;
  color: var(--muted);
  font-weight: 500;
}

.task-card__bar-wrap {
  height: 4px;
  background: #e9ecef;
  border-radius: 99px;
  margin-top: 6px;
  overflow: hidden;
}

.task-card__bar {
  height: 100%;
  border-radius: 99px;
  background: linear-gradient(90deg, #3b82f6, #1d4ed8);
  transition: width 0.4s ease;
}

.task-card__action {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

/* Buttons */
.task-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 12px;
  border: none;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.12s;
  white-space: nowrap;
  text-decoration: none;
}

.task-btn:active { opacity: 0.82; transform: scale(0.96); }

.task-btn--watch  { background: linear-gradient(135deg, #3b82f6, #1d4ed8); color: #fff; }
.task-btn--invite { background: linear-gradient(135deg, #8b5cf6, #6d28d9); color: #fff; }
.task-btn--join   { background: linear-gradient(135deg, #f59e0b, #d97706); color: #fff; }

.task-btn--done {
  background: #f3f4f6;
  color: #9ca3af;
  cursor: default;
  pointer-events: none;
}

.task-btn--done i { color: #16a34a; }
.task-btn--loading { opacity: 0.7; pointer-events: none; }

/* ── Section Labels ──────────────────────────────────────── */
.task-section-label {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin: 16px 0 8px 2px;
}

/* ── Sponsor Section ─────────────────────────────────────── */
.sponsor-info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  margin-bottom: 14px;
}

.sponsor-info-card__icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: linear-gradient(135deg, #065f46, #059669);
  display: grid;
  place-items: center;
  font-size: 26px;
  color: #fff;
  margin: 0 auto 14px;
}

.sponsor-info-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
}

.sponsor-info-card p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 18px;
}

.sponsor-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0ea5e9, #0284c7);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 14px;
  text-decoration: none;
  transition: opacity 0.15s, transform 0.12s;
}

.sponsor-contact-btn:active { opacity: 0.85; transform: scale(0.97); }

/* ── Toast ───────────────────────────────────────────────── */
.task-toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: #1a2540;
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  z-index: 200;
  pointer-events: none;
  opacity: 1;
  transition: opacity 0.25s, transform 0.25s;
  white-space: nowrap;
  max-width: calc(100vw - 40px);
}

.task-toast--hidden {
  opacity: 0;
  transform: translateX(-50%) translateY(16px);
  pointer-events: none;
}

.task-toast--success { background: linear-gradient(135deg, #059669, #047857); }
.task-toast--error   { background: linear-gradient(135deg, #dc2626, #b91c1c); }
.task-toast--info    { background: linear-gradient(135deg, #1d4ed8, #1e40af); }

/* ── Empty / All-done States ─────────────────────────────── */
.task-empty {
  text-align: center;
  padding: 40px 16px;
  color: var(--muted);
}

.task-empty i {
  font-size: 36px;
  margin-bottom: 10px;
  opacity: 0.4;
  display: block;
}

.task-empty p { font-size: 14px; line-height: 1.6; }

.all-done-banner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 1px solid #6ee7b7;
  border-radius: 18px;
  padding: 22px 20px;
  text-align: center;
}

.all-done-banner i      { font-size: 32px; color: #059669; }
.all-done-banner strong { font-size: 15px; color: #065f46; font-weight: 700; }
.all-done-banner span   { font-size: 12.5px; color: #047857; }

/* ── Coin Icon ──────────────────────────────────────────── */
.coin-icon {
  width: 1em;
  height: 1em;
  object-fit: contain;
  vertical-align: -0.15em;
  display: inline-block;
}

/* ── Telegram slide-down Toast ─────────────────────────── */
.notice {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(0);
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  padding: 10px 16px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  z-index: 9999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.3s;
  pointer-events: none;
  max-width: 90%;
}

.notice--hidden {
  transform: translateX(-50%) translateY(-100px);
  opacity: 0;
}

.notice--success {
  background: rgba(22, 163, 74, 0.95);
}

.notice--error {
  background: rgba(220, 38, 38, 0.95);
}

.notice--info {
  background: rgba(30, 41, 59, 0.95);
}

.notice--warning {
  background: rgba(217, 119, 6, 0.95);
}