/* ============================================================
   V PRO — TELEGRAM MINI APP STYLES
   Mobile-first, dark premium theme
   ============================================================ */

:root {
  --bg:         #0d0d1f;
  --bg2:        #13132b;
  --bg3:        #1a1a35;
  --card:       #181830;
  --border:     rgba(255,255,255,0.08);
  --purple:     #7c5cfc;
  --purple-dim: rgba(124,92,252,0.18);
  --purple-glow:rgba(124,92,252,0.35);
  --gold:       #f5c542;
  --gold-dim:   rgba(245,197,66,0.15);
  --green:      #00d68f;
  --green-dim:  rgba(0,214,143,0.15);
  --red:        #ff4d6d;
  --red-dim:    rgba(255,77,109,0.15);
  --text:       #f0f0ff;
  --text2:      rgba(240,240,255,0.6);
  --text3:      rgba(240,240,255,0.35);
  --radius:     16px;
  --radius-sm:  10px;
  --shadow:     0 8px 32px rgba(0,0,0,0.45);
}

/* ── Base ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── Screens ──────────────────────────────────────────────── */
.screen {
  display: none;
  flex-direction: column;
  min-height: 100dvh;
}
.screen.active { display: flex; }

/* ── Loading Screen ───────────────────────────────────────── */
#screen-loading {
  align-items: center;
  justify-content: center;
  background: radial-gradient(ellipse at 50% 40%, #1a0a3d 0%, var(--bg) 70%);
}

.loading-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  animation: fadeIn .4s ease;
}

.crown-logo {
  font-size: 56px;
  filter: drop-shadow(0 0 24px rgba(245,197,66,0.6));
  animation: float 3s ease-in-out infinite;
}

.brand-title {
  font-size: 36px;
  font-weight: 900;
  letter-spacing: -1px;
  color: var(--text);
}
.brand-title span { color: var(--gold); }

.loader-ring {
  width: 40px; height: 40px;
  border: 3px solid var(--border);
  border-top-color: var(--purple);
  border-radius: 50%;
  animation: spin .8s linear infinite;
  margin-top: 8px;
}

.loading-text {
  color: var(--text2);
  font-size: 14px;
}

/* ── Error Screen ─────────────────────────────────────────── */
#screen-error {
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.error-center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 320px;
}
.error-icon { font-size: 48px; }
.error-center h2 { font-size: 22px; font-weight: 700; }
.error-center p  { color: var(--text2); font-size: 14px; line-height: 1.6; }

/* ── Dashboard ────────────────────────────────────────────── */
#screen-dashboard {
  padding-bottom: env(safe-area-inset-bottom, 16px);
  animation: fadeIn .3s ease;
}

/* ── Header ───────────────────────────────────────────────── */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px 12px;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
}

.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--purple), #a855f7);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 700; color: #fff;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px var(--purple-glow);
}

.header-info {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.header-greeting { font-size: 11px; color: var(--text3); }
.header-name { font-size: 15px; font-weight: 700; }

.header-badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .8px;
  text-transform: uppercase;
  transition: all .3s;
}
.header-badge.active-badge {
  background: var(--green-dim);
  color: var(--green);
  border: 1px solid rgba(0,214,143,0.3);
}
.header-badge.inactive-badge {
  background: var(--red-dim);
  color: var(--red);
  border: 1px solid rgba(255,77,109,0.3);
}

/* ── Status Card ──────────────────────────────────────────── */
.status-card {
  margin: 16px;
  padding: 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #1e1040 0%, #12102a 100%);
  border: 1px solid var(--purple-dim);
  box-shadow: 0 4px 24px rgba(124,92,252,0.15);
  transition: all .4s;
}

.status-card.inactive-card {
  background: linear-gradient(135deg, #200a14 0%, #15080e 100%);
  border-color: rgba(255,77,109,0.2);
  box-shadow: 0 4px 24px rgba(255,77,109,0.1);
}

.status-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.status-icon-wrap {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--purple-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  transition: background .3s;
}

.status-card.inactive-card .status-icon-wrap {
  background: var(--red-dim);
}

.status-info { flex: 1; }

.status-title {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 4px;
}

.status-sub {
  font-size: 13px;
  color: var(--text2);
}

.coverage-bar-wrap { }

.coverage-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text2);
  margin-bottom: 8px;
}
#coverageDays { font-weight: 700; color: var(--text); }

.coverage-bar-track {
  height: 8px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
}

.coverage-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple), var(--gold));
  border-radius: 99px;
  transition: width .6s cubic-bezier(.4,0,.2,1);
  min-width: 2px;
}

/* ── Stats Row ────────────────────────────────────────────── */
.stats-row {
  display: flex;
  align-items: center;
  margin: 0 16px 16px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 16px 8px;
}

.stat-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-icon { font-size: 20px; }

.stat-value {
  font-size: 22px;
  font-weight: 800;
  line-height: 1;
  color: var(--text);
}

.stat-label {
  font-size: 11px;
  color: var(--text3);
  text-transform: uppercase;
  letter-spacing: .5px;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
}

/* ── Action Buttons ───────────────────────────────────────── */
.actions-section {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 16px 16px;
}

.btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  transition: all .2s cubic-bezier(.4,0,.2,1);
  position: relative;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; pointer-events: none; }

.btn-watch {
  background: linear-gradient(135deg, #7c5cfc 0%, #5b3fdb 100%);
  color: #fff;
  box-shadow: 0 6px 24px var(--purple-glow);
}
.btn-watch:hover { box-shadow: 0 8px 32px rgba(124,92,252,0.5); }

.btn-stars {
  background: var(--card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-stars:hover { border-color: var(--gold); background: var(--bg3); }

.btn-primary {
  background: linear-gradient(135deg, var(--purple), #5b3fdb);
  color: #fff;
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 14px 28px;
  font-size: 15px;
  box-shadow: 0 4px 16px var(--purple-glow);
}

.btn-ghost {
  background: transparent;
  color: var(--text2);
  border: 1px solid var(--border);
  justify-content: center;
  border-radius: var(--radius-sm);
  padding: 12px;
  width: 100%;
  font-size: 14px;
}

.btn-icon { font-size: 24px; flex-shrink: 0; }
.btn-text { flex: 1; display: flex; flex-direction: column; gap: 2px; }
.btn-label { font-size: 15px; font-weight: 700; }
.btn-sub   { font-size: 12px; opacity: .75; }

.btn-badge-earn {
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
}

.btn-arrow {
  font-size: 22px;
  color: var(--text3);
}

/* Spinner inside button */
.btn .spinner {
  display: inline-block;
  width: 16px; height: 16px;
  border: 2px solid rgba(255,255,255,0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
  vertical-align: middle;
  margin-right: 6px;
}

/* ── Info Card ────────────────────────────────────────────── */
.info-card {
  margin: 0 16px 16px;
  padding: 18px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.info-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 12px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text2);
  padding: 5px 0;
}
.info-item strong { color: var(--text); }

.info-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-green  { background: var(--green); }
.dot-purple { background: var(--purple); }
.dot-gold   { background: var(--gold); }
.dot-red    { background: var(--red); }

/* ── Activity Section ─────────────────────────────────────── */
.activity-section {
  margin: 0 16px 16px;
}

.section-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text2);
  text-transform: uppercase;
  letter-spacing: .6px;
  margin-bottom: 12px;
}

.activity-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
  animation: slideIn .3s ease;
}
.activity-item:last-child { border-bottom: none; }

.activity-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.activity-desc { flex: 1; color: var(--text2); }
.activity-desc strong { color: var(--text); }

.activity-amount {
  font-weight: 700;
  font-size: 14px;
}
.activity-amount.positive { color: var(--green); }
.activity-amount.negative { color: var(--red); }

.activity-time {
  font-size: 11px;
  color: var(--text3);
}

.activity-empty {
  padding: 24px;
  text-align: center;
  color: var(--text3);
  font-size: 13px;
}

/* ── Shop Modal ───────────────────────────────────────────── */
.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  z-index: 100;
  align-items: flex-end;
  animation: fadeIn .2s ease;
}
.overlay.open { display: flex; }

.modal {
  background: var(--bg2);
  border-radius: 24px 24px 0 0;
  padding: 16px 20px 32px;
  width: 100%;
  max-height: 90dvh;
  overflow-y: auto;
  animation: slideUp .3s cubic-bezier(.4,0,.2,1);
  border-top: 1px solid var(--border);
}

.modal-handle {
  width: 36px; height: 4px;
  border-radius: 2px;
  background: var(--border);
  margin: 0 auto 20px;
}

.modal-title {
  font-size: 20px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
}

.modal-sub {
  font-size: 13px;
  color: var(--text2);
  text-align: center;
  margin-bottom: 20px;
}

/* ── Package Cards ────────────────────────────────────────── */
.package-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
}

.package-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: var(--card);
  cursor: pointer;
  transition: all .2s;
  position: relative;
  -webkit-tap-highlight-color: transparent;
}
.package-card:active { transform: scale(.98); }

.package-card.popular-card {
  border-color: var(--gold);
  background: linear-gradient(135deg, rgba(245,197,66,.06), var(--card));
}

.package-badge {
  position: absolute;
  top: -10px; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(90deg, var(--gold), #e6a800);
  color: #000;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.pkg-left { }
.pkg-name {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.pkg-credits {
  font-size: 13px;
  color: var(--text2);
}
.pkg-credits strong {
  color: var(--purple);
  font-size: 16px;
}

.pkg-price {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,215,0,.12);
  border: 1px solid rgba(255,215,0,.25);
  padding: 8px 14px;
  border-radius: 12px;
}
.pkg-star  { font-size: 16px; }
.pkg-stars-val { font-size: 15px; font-weight: 800; color: var(--gold); }

/* ── Toast ────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: calc(env(safe-area-inset-bottom, 16px) + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(80px);
  background: var(--bg3);
  color: var(--text);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 99px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  z-index: 200;
  opacity: 0;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  white-space: nowrap;
  pointer-events: none;
  max-width: calc(100vw - 32px);
  text-align: center;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.success { border-color: var(--green);  color: var(--green); }
.toast.error   { border-color: var(--red);    color: var(--red); }
.toast.warning { border-color: var(--gold);   color: var(--gold); }

/* ── Monetag Task Section ─────────────────────────────────── */
.task-ad-section {
  margin: 0 16px 16px;
}
.monetag-task-widget {
  display: block;
  width: 100%;
  padding: 16px 20px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #180e29 0%, #0f0a1c 100%);
  border: 1px solid var(--purple-dim);
  box-shadow: 0 4px 20px rgba(124,92,252,0.1);
  box-sizing: border-box;
}
.task-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.task-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.task-icon {
  font-size: 22px;
  width: 44px;
  height: 44px;
  background: rgba(124,92,252,0.15);
  border: 1px solid rgba(124,92,252,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(124,92,252,0.2);
}
.task-details {
  display: flex;
  flex-direction: column;
}
.task-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
}
.task-reward-slot {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
}
.task-btn {
  border-radius: 10px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  text-align: center;
  border: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 12px rgba(124,92,252,0.3);
}
.task-btn-go    { background: linear-gradient(135deg, #7c5cfc 0%, #5b3fdb 100%); color: #fff; }
.task-btn-go:active { transform: scale(0.95); box-shadow: 0 2px 6px rgba(124,92,252,0.3); }
.task-btn-done  { background: var(--green-dim); color: var(--green); border: 1px solid rgba(0,214,143,0.3); box-shadow: none; pointer-events: none; }

/* ── Warning Banner ───────────────────────────────────────── */
.warning-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 16px 4px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(255,77,109,0.1), rgba(255,140,0,0.08));
  border: 1px solid rgba(255,77,109,0.3);
  border-radius: var(--radius);
  animation: fadeIn .4s ease;
}

.warning-icon {
  font-size: 18px;
  flex-shrink: 0;
  margin-top: 1px;
}

.warning-banner p {
  font-size: 12.5px;
  color: rgba(255,200,200,0.9);
  line-height: 1.6;
}

.warning-banner p strong {
  color: #ff8a9a;
}

/* ── Invite Card ──────────────────────────────────────────── */
.invite-card {
  margin: 0 16px 16px;
  padding: 18px;
  background: var(--card);
  border-radius: var(--radius);
  border: 1px solid var(--border);
}

.invite-desc {
  font-size: 13px;
  color: var(--text2);
  margin: 6px 0 14px;
  line-height: 1.5;
}

.invite-row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.invite-input {
  flex: 1;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 11px 14px;
  color: var(--text);
  font-family: inherit;
  font-size: 14px;
  outline: none;
  transition: border-color .2s;
  min-width: 0;
}
.invite-input::placeholder { color: var(--text3); }
.invite-input:focus { border-color: var(--purple); }
.invite-input:disabled { opacity: .5; }

.btn-send {
  background: linear-gradient(135deg, var(--purple), #5b3fdb);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  transition: all .2s;
  flex-shrink: 0;
}
.btn-send:active  { transform: scale(.96); }
.btn-send:disabled { opacity: .5; pointer-events: none; }

.invite-msg {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--green-dim);
  border: 1px solid rgba(0,214,143,0.3);
  border-radius: var(--radius-sm);
  font-size: 13px;
  color: var(--green);
  line-height: 1.5;
  animation: fadeIn .3s ease;
}

.hidden { display: none !important; }

/* ── Bottom spacer for safe area ─────────────────────────── */
.bottom-spacer {
  height: calc(env(safe-area-inset-bottom, 16px) + 16px);
}

/* ── Animations ───────────────────────────────────────────── */
@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-8px); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(-10px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes slideUp {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

/* ── Credit pulse on earn ─────────────────────────────────── */
@keyframes creditPulse {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.25); color: var(--green); }
  100% { transform: scale(1); }
}
.credit-pulse {
  animation: creditPulse .5s cubic-bezier(.4,0,.2,1);
}

/* ── Tab Management ────────────────────────────────────────── */
.tab-content {
  display: none;
  flex-direction: column;
  animation: fadeIn 0.25s ease-out;
}
.tab-content.active {
  display: flex;
}

/* ── Bottom Navigation Bar ─────────────────────────────────── */
.bottom-nav {
  display: flex;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 64px;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  justify-content: space-around;
  align-items: center;
  z-index: 90;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
}
.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text3);
  cursor: pointer;
  flex: 1;
  height: 100%;
  font-family: inherit;
  transition: all 0.2s ease;
}
.nav-item:active {
  transform: scale(0.93);
}
.nav-item.active {
  color: var(--purple);
  font-weight: 700;
}
.nav-icon {
  font-size: 20px;
  margin-bottom: 2px;
}
.nav-label {
  font-size: 11px;
  letter-spacing: 0.2px;
}
.bottom-spacer {
  height: 80px;
}

/* ── Tasks Container & Cards (Rich Visual Experience) ────────── */
.tasks-container {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.task-card-premium {
  background: linear-gradient(135deg, var(--card) 0%, rgba(26, 26, 53, 0.6) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}
.task-card-premium:hover {
  border-color: rgba(124, 92, 252, 0.25);
  box-shadow: 0 8px 24px rgba(124, 92, 252, 0.12);
}
.task-card-header {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.task-card-icon {
  font-size: 24px;
  width: 46px; height: 46px;
  background: rgba(124, 92, 252, 0.08);
  border: 1px solid rgba(124, 92, 252, 0.2);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 12px rgba(124, 92, 252, 0.1);
  flex-shrink: 0;
}
.task-card-title-wrap {
  flex: 1;
}
.task-card-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}
.task-card-desc {
  font-size: 12px;
  color: var(--text2);
  margin-top: 3px;
  line-height: 1.4;
}
.task-card-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.02);
}
.task-card-reward {
  font-size: 13px;
  color: var(--gold);
  font-weight: 700;
}
.task-card-limit {
  font-size: 12px;
  color: var(--text2);
  font-weight: 600;
}
.btn-premium-action {
  width: 100%;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
}
.btn-premium-action:active {
  transform: scale(0.98);
}
.btn-premium-action.btn-watch {
  background: linear-gradient(90deg, #7c5cfc, #6366f1);
  color: #fff;
  box-shadow: 0 4px 15px rgba(124, 92, 252, 0.25);
}
.btn-premium-action.btn-watch:hover {
  box-shadow: 0 6px 20px rgba(124, 92, 252, 0.4);
}
.btn-premium-action.btn-task-go {
  background: var(--bg3);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-premium-action.btn-task-go:hover {
  border-color: var(--purple-dim);
  background: rgba(124, 92, 252, 0.05);
}
.btn-premium-action:disabled {
  opacity: 0.4;
  pointer-events: none;
  box-shadow: none;
}

/* ── Verification Section ── */
.verification-progress-wrap {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 20px;
}
.verification-progress-stats {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 8px;
}
.verification-progress-stats span:first-child { color: var(--gold); }
.verification-progress-stats span:last-child { color: var(--green); }
.verification-progress-track {
  height: 8px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
  overflow: hidden;
}
.verification-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold) 0%, var(--green) 100%);
  border-radius: 99px;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-send-credits {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--green) 0%, #059669 100%);
  color: #fff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(0, 214, 143, 0.2);
  transition: all 0.2s ease;
}
.btn-send-credits:active {
  transform: scale(0.97);
}
.btn-send-credits:disabled {
  opacity: 0.4;
  pointer-events: none;
  box-shadow: none;
}
.btn-send-icon {
  font-size: 24px;
}
.btn-send-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: left;
}
.btn-send-label {
  font-size: 15px;
  font-weight: 800;
}
.btn-send-sub {
  font-size: 12px;
  opacity: 0.85;
}

/* ── Telegram theme-color adaptation ─────────────────────── */
@media (prefers-color-scheme: light) {
  /* Keep dark theme always for this app */
  body { background: var(--bg); color: var(--text); }
}

