/* Freelancing with Ariyan - styles (moved from index.html, original order kept) */

    /* CSS RESET & VARIABLES */
    :root {
      --bg-primary: #0a0f1d;
      --bg-secondary: #11182c;
      --bg-card: rgba(22, 30, 52, 0.75);
      --bg-card-hover: rgba(29, 39, 68, 0.9);
      --border-color: rgba(255, 255, 255, 0.08);
      --border-accent: rgba(0, 209, 143, 0.25);
      --text-main: #f8fafc;
      --text-muted: #94a3b8;
      --text-dim: #64748b;
      --primary: #00d18f;
      --primary-dark: #00a872;
      --primary-glow: rgba(0, 209, 143, 0.35);
      --accent-gold: #fbbf24;
      --accent-blue: #38bdf8;
      --accent-purple: #a855f7;
      --danger: #ef4444;
      --bkash: #e2136e;
      --nagad: #f7941d;
      --radius-sm: 8px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --radius-xl: 26px;
      --shadow-sm: 0 4px 12px rgba(0,0,0,0.25);
      --shadow-md: 0 8px 24px rgba(0,0,0,0.35);
      --shadow-glow: 0 0 25px rgba(0, 209, 143, 0.25);
      --font-family: 'Hind Siliguri', 'Outfit', sans-serif;
    }

    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
      -webkit-tap-highlight-color: transparent;
      user-select: none;
    }

    body {
      background-color: var(--bg-primary);
      color: var(--text-main);
      font-family: var(--font-family);
      min-height: 100vh;
      display: flex;
      justify-content: center;
      align-items: flex-start;
      overflow-x: hidden;
      background-image: 
        radial-gradient(circle at 10% 15%, rgba(0, 209, 143, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 90% 85%, rgba(56, 189, 248, 0.07) 0%, transparent 45%);
      background-attachment: fixed;
    }

    /* APP CONTAINER (Centered on desktop, full mobile layout) */
    #app-container {
      width: 100%;
      max-width: 480px;
      min-height: 100vh;
      background: var(--bg-secondary);
      position: relative;
      padding-bottom: 84px;
      box-shadow: 0 0 50px rgba(0,0,0,0.6);
      display: flex;
      flex-direction: column;
    }

    /* TOP BAR / HEADER */
    .top-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(17, 24, 44, 0.97);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

    .user-chip {
      display: flex;
      align-items: center;
      gap: 10px;
      cursor: pointer;
    }

    .user-avatar-wrap {
      position: relative;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      padding: 2px;
      background: linear-gradient(135deg, var(--primary), var(--accent-blue));
    }

    .user-avatar {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      background: #1e293b;
    }

    .user-info-text {
      display: flex;
      flex-direction: column;
    }

    .user-name-title {
      font-size: 13px;
      font-weight: 700;
      color: var(--text-main);
      line-height: 1.2;
      max-width: 130px;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .user-id-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      font-size: 11px;
      font-weight: 600;
      color: var(--primary);
      background: rgba(0, 209, 143, 0.12);
      padding: 1px 6px;
      border-radius: 6px;
      letter-spacing: 0.5px;
      width: fit-content;
    }

    .header-balance-chip {
      background: linear-gradient(135deg, rgba(0, 209, 143, 0.18), rgba(56, 189, 248, 0.1));
      border: 1px solid var(--border-accent);
      padding: 6px 12px;
      border-radius: 20px;
      display: flex;
      align-items: center;
      gap: 7px;
      cursor: pointer;
      transition: all 0.25s ease;
      box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    }

    .header-balance-chip:active {
      transform: scale(0.96);
    }

    .coin-icon {
      color: var(--accent-gold);
      font-size: 15px;
      animation: coinPulse 2.5s infinite;
    }

    @keyframes coinPulse {
      0%, 100% { transform: scale(1); }
      50% { transform: scale(1.15) rotate(10deg); }
    }

    .balance-amount {
      font-family: 'Outfit', sans-serif;
      font-size: 14px;
      font-weight: 700;
      color: #ffffff;
      letter-spacing: 0.3px;
    }

    .taka-symbol {
      color: var(--primary);
      font-size: 13px;
    }

    /* PAGE VIEWS */
    .view-content {
      display: none;
      padding: 0;
      animation: fadeIn 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .view-content.active {
      display: block;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(8px); }
      to { opacity: 1; transform: translateY(0); }
    }

    /* TOP BANNER */
    .banner-container {
      width: 100%;
      position: relative;
      overflow: hidden;
      line-height: 0;
    }

    .banner-img {
      width: 100%;
      height: auto;
      max-height: 220px;
      object-fit: cover;
      display: block;
      border-bottom: 2px solid rgba(0, 209, 143, 0.3);
    }

    /* ROLLING NOTICE */
    .rolling-notice-bar {
      background: linear-gradient(90deg, #0d1629, #13223f);
      border-top: 1px solid rgba(255, 255, 255, 0.05);
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding: 9px 12px;
      display: flex;
      align-items: center;
      gap: 10px;
      overflow: hidden;
      box-shadow: inset 0 2px 6px rgba(0,0,0,0.3);
    }

    .notice-icon-badge {
      background: linear-gradient(135deg, #ef4444, #f97316);
      color: #fff;
      font-size: 11px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 6px;
      display: flex;
      align-items: center;
      gap: 4px;
      flex-shrink: 0;
      text-transform: uppercase;
      box-shadow: 0 2px 6px rgba(239, 68, 68, 0.4);
    }

   .marquee-container {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-content {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  font-size: 13px;
  font-weight: 500;
  color: #f1f5f9;
  will-change: transform;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  animation: marqueeScroll var(--marquee-dur, 20s) linear infinite;
}

@keyframes marqueeScroll {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-100%, 0, 0); }
}

    /* PADDED CONTAINER */
    .page-pad {
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    /* 4 MAIN FEATURE CARDS (CIRCULAR ICON-BASED) */
    .features-grid {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
      margin-top: 4px;
    }

    .feature-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 12px 6px 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      text-align: center;
      cursor: pointer;
      transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
      position: relative;
      overflow: hidden;
      backdrop-filter: blur(10px);
    }

    .feature-card:hover {
      border-color: var(--border-accent);
      transform: translateY(-3px);
      box-shadow: 0 8px 18px rgba(0, 209, 143, 0.15);
    }

    .feature-card:active {
      transform: scale(0.94);
    }

    .feature-icon-circle {
      width: 48px;
      height: 48px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 20px;
      margin-bottom: 8px;
      transition: all 0.25s ease;
    }

    .feature-card:hover .feature-icon-circle {
      transform: scale(1.08);
    }

    .fc-task .feature-icon-circle {
      background: linear-gradient(135deg, rgba(0, 209, 143, 0.2), rgba(0, 209, 143, 0.05));
      color: #00d18f;
      border: 1px solid rgba(0, 209, 143, 0.3);
      box-shadow: 0 4px 12px rgba(0, 209, 143, 0.2);
    }

    .fc-earning .feature-icon-circle {
      background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.05));
      color: #fbbf24;
      border: 1px solid rgba(251, 191, 36, 0.3);
      box-shadow: 0 4px 12px rgba(251, 191, 36, 0.2);
    }

    .fc-referral .feature-icon-circle {
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(56, 189, 248, 0.05));
      color: #38bdf8;
      border: 1px solid rgba(56, 189, 248, 0.3);
      box-shadow: 0 4px 12px rgba(56, 189, 248, 0.2);
    }

    .fc-bonus .feature-icon-circle {
      background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.05));
      color: #a855f7;
      border: 1px solid rgba(168, 85, 247, 0.3);
      box-shadow: 0 4px 12px rgba(168, 85, 247, 0.2);
    }

    .feature-title {
      font-size: 11.5px;
      font-weight: 600;
      color: var(--text-main);
      line-height: 1.25;
    }

    /* TELEGRAM CHANNEL HIGHLIGHT BOX */
    .tg-channel-box {
      display: flex;
      align-items: center;
      justify-content: space-between;
      background: linear-gradient(135deg, #0088cc 0%, #006699 100%);
      color: #ffffff;
      padding: 14px 16px;
      border-radius: var(--radius-md);
      text-decoration: none;
      box-shadow: 0 8px 20px rgba(0, 136, 204, 0.35);
      border: 1px solid rgba(255, 255, 255, 0.25);
      cursor: pointer;
      transition: all 0.25s ease;
      position: relative;
      overflow: hidden;
    }

    .tg-channel-box:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 25px rgba(0, 136, 204, 0.45);
    }

    .tg-channel-box:active {
      transform: scale(0.98);
    }

    .tg-channel-box::after {
      content: '';
      position: absolute;
      top: -50%;
      left: -50%;
      width: 200%;
      height: 200%;
      background: linear-gradient(
        60deg,
        rgba(255,255,255,0) 20%,
        rgba(255,255,255,0.2) 25%,
        rgba(255,255,255,0) 30%
      );
      transform: rotate(30deg);
      animation: shineLoop 4s infinite linear;
    }

    @keyframes shineLoop {
      0% { transform: translateX(-100%) rotate(30deg); }
      100% { transform: translateX(100%) rotate(30deg); }
    }

    .tg-box-left {
      display: flex;
      align-items: center;
      gap: 12px;
      z-index: 2;
    }

    .tg-box-icon {
      font-size: 26px;
      color: #ffffff;
      filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    }

    .tg-box-text {
      font-size: 15px;
      font-weight: 700;
      letter-spacing: 0.2px;
      text-shadow: 0 1px 3px rgba(0,0,0,0.3);
    }

    .tg-box-arrow {
      font-size: 14px;
      z-index: 2;
      background: rgba(255, 255, 255, 0.2);
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    /* ALWAYS-VISIBLE NOTICE BOARD */
    .official-notice-card {
      background: linear-gradient(145deg, rgba(17, 24, 44, 0.95), rgba(15, 23, 42, 0.8));
      border: 1px solid rgba(0, 209, 143, 0.35);
      border-radius: var(--radius-lg);
      padding: 16px;
      position: relative;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    }

    .notice-header-bar {
      display: flex;
      align-items: center;
      justify-content: space-between;
      border-bottom: 1px solid rgba(255, 255, 255, 0.08);
      padding-bottom: 10px;
      margin-bottom: 12px;
    }

    .notice-main-title {
      font-size: 16px;
      font-weight: 700;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .notice-tag {
      background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(251, 191, 36, 0.08));
      color: var(--accent-gold);
      border: 1px solid rgba(251, 191, 36, 0.3);
      padding: 3px 8px;
      border-radius: 6px;
      font-size: 11px;
      font-weight: 700;
      font-family: 'Outfit', sans-serif;
    }

    .notice-body {
      display: flex;
      flex-direction: column;
      gap: 7px;
      font-size: 13.5px;
      line-height: 1.6;
      color: #cbd5e1;
    }

    .notice-row {
      display: flex;
      align-items: flex-start;
      gap: 8px;
    }

    .notice-highlight {
      color: #38bdf8;
      font-weight: 600;
    }

    .notice-green {
      color: #00d18f;
      font-weight: 700;
    }

    .notice-gold {
      color: #fbbf24;
      font-weight: 700;
    }

    /* QUICK STATS ON HOME */
    .quick-stats-row {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
    }

    .stat-mini-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 12px 14px;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .stat-mini-icon {
      width: 38px;
      height: 38px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }

    .smi-1 { background: rgba(0, 209, 143, 0.15); color: var(--primary); }
    .smi-2 { background: rgba(251, 191, 36, 0.15); color: var(--accent-gold); }

    .stat-mini-info {
      display: flex;
      flex-direction: column;
    }

    .smi-label {
      font-size: 11px;
      color: var(--text-muted);
      font-weight: 500;
    }

    .smi-val {
      font-size: 15px;
      font-weight: 700;
      color: #ffffff;
      font-family: 'Outfit', sans-serif;
    }

    /* SECTION HEADER */
    .page-nav-header {
      padding: 14px 16px;
      background: rgba(17, 24, 44, 0.95);
      border-bottom: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: space-between;
      position: sticky;
      top: 65px;
      z-index: 90;
      backdrop-filter: blur(12px);
    }

    .nav-back-btn {
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid var(--border-color);
      color: var(--text-main);
      width: 36px;
      height: 36px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 14px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .nav-back-btn:active {
      transform: scale(0.9);
      background: rgba(255, 255, 255, 0.12);
    }

    .nav-page-title {
      font-size: 16px;
      font-weight: 700;
      color: #ffffff;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* DAILY TASK PAGE */
    .task-hero-card {
      background: linear-gradient(135deg, rgba(0, 209, 143, 0.12), rgba(17, 24, 44, 0.85));
      border: 1px solid var(--border-accent);
      border-radius: var(--radius-lg);
      padding: 20px 16px;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 12px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    }

    .task-hero-title {
      font-size: 20px;
      font-weight: 700;
      color: #ffffff;
    }

    .task-hero-subtitle {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
      max-width: 320px;
    }

    .task-stats-pill {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: rgba(0, 0, 0, 0.35);
      border: 1px solid rgba(255, 255, 255, 0.08);
      padding: 6px 14px;
      border-radius: 20px;
      font-size: 13px;
      font-weight: 600;
    }

    .tsp-badge {
      background: var(--primary);
      color: #052115;
      font-weight: 700;
      font-size: 11px;
      padding: 2px 7px;
      border-radius: 10px;
    }

    /* SEQUENTIAL AD GRID (1 to 10) */
    .ads-sequential-container {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .ad-grid-title {
      font-size: 14px;
      font-weight: 700;
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .ad-slots-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    .ad-slot-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 14px;
      border-radius: var(--radius-md);
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid rgba(255, 255, 255, 0.05);
      transition: all 0.25s ease;
    }

    .ad-slot-item.completed {
      background: rgba(0, 209, 143, 0.08);
      border-color: rgba(0, 209, 143, 0.25);
    }

    .ad-slot-item.active {
      background: linear-gradient(135deg, rgba(0, 209, 143, 0.15), rgba(56, 189, 248, 0.1));
      border-color: var(--primary);
      box-shadow: 0 0 15px rgba(0, 209, 143, 0.2);
    }

    .ad-slot-item.locked {
      opacity: 0.6;
    }

    .ad-slot-info {
      display: flex;
      align-items: center;
      gap: 10px;
    }

    .ad-number-badge {
      width: 28px;
      height: 28px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 12px;
      font-weight: 700;
      background: rgba(255, 255, 255, 0.08);
      color: #ffffff;
    }

    .ad-slot-item.completed .ad-number-badge {
      background: var(--primary);
      color: #052115;
    }

    .ad-slot-item.active .ad-number-badge {
      background: #38bdf8;
      color: #082f49;
    }

    .ad-slot-text {
      display: flex;
      flex-direction: column;
    }

    .ad-slot-name {
      font-size: 13.5px;
      font-weight: 600;
      color: #ffffff;
    }

    .ad-slot-reward {
      font-size: 11.5px;
      color: var(--primary);
      font-weight: 600;
    }

    .ad-action-btn {
      padding: 7px 14px;
      border-radius: 20px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      border: none;
      outline: none;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      transition: all 0.2s ease;
      font-family: var(--font-family);
    }

    .btn-completed {
      background: rgba(0, 209, 143, 0.2);
      color: #00d18f;
      cursor: default;
    }

    .btn-watch {
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: #052115;
      box-shadow: 0 4px 12px var(--primary-glow);
    }

    .btn-watch:active {
      transform: scale(0.95);
    }

    .btn-locked {
      background: rgba(255, 255, 255, 0.05);
      color: var(--text-dim);
      cursor: not-allowed;
    }

    .ads-done-alert {
      display: none;
      background: rgba(0, 209, 143, 0.15);
      border: 1px solid var(--primary);
      border-radius: var(--radius-md);
      padding: 14px;
      text-align: center;
      font-size: 13.5px;
      font-weight: 600;
      color: #ffffff;
      line-height: 1.5;
    }

    /* NEW TASK SECTION */
    .new-tasks-section {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .new-task-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 12px 14px;
      border-radius: var(--radius-md);
      background: rgba(255, 255, 255, 0.025);
      border: 1px solid rgba(255, 255, 255, 0.06);
      transition: all 0.25s ease;
    }

    .new-task-item:hover {
      border-color: rgba(255, 255, 255, 0.15);
      background: rgba(255, 255, 255, 0.04);
    }

    .task-icon-box {
      width: 40px;
      height: 40px;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
      flex-shrink: 0;
    }

    .icon-youtube { background: rgba(239, 68, 68, 0.15); color: #ef4444; }
    .icon-telegram { background: rgba(0, 136, 204, 0.15); color: #0088cc; }
    .icon-facebook { background: rgba(24, 119, 242, 0.15); color: #1877f2; }
    .icon-video { background: rgba(168, 85, 247, 0.15); color: #a855f7; }
    .icon-social { background: rgba(251, 191, 36, 0.15); color: #fbbf24; }

    .task-details {
      flex: 1;
      margin: 0 12px;
      display: flex;
      flex-direction: column;
    }

    .task-name {
      font-size: 13.5px;
      font-weight: 600;
      color: #ffffff;
      line-height: 1.3;
    }

    .task-reward-chip {
      font-size: 11px;
      color: var(--primary);
      font-weight: 700;
      font-family: 'Outfit', sans-serif;
    }

    .task-complete-btn {
      padding: 6px 12px;
      border-radius: 16px;
      font-size: 11.5px;
      font-weight: 700;
      border: none;
      cursor: pointer;
      transition: all 0.2s;
      font-family: var(--font-family);
    }

    .btn-task-action {
      background: linear-gradient(135deg, #38bdf8, #0284c7);
      color: #ffffff;
      box-shadow: 0 2px 8px rgba(56, 189, 248, 0.3);
    }

    .btn-task-done {
      background: rgba(0, 209, 143, 0.15);
      color: #00d18f;
      border: 1px solid rgba(0, 209, 143, 0.3);
      cursor: default;
    }

    /* EARNING INTERFACE */
    .earning-summary-hero {
      background: linear-gradient(135deg, #13223f, #0c182c);
      border: 1px solid var(--border-accent);
      border-radius: var(--radius-lg);
      padding: 24px 20px;
      text-align: center;
      position: relative;
      overflow: hidden;
      box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    }

    .esh-label {
      font-size: 13px;
      color: var(--text-muted);
      font-weight: 500;
      margin-bottom: 6px;
    }

    .esh-total {
      font-family: 'Outfit', sans-serif;
      font-size: 34px;
      font-weight: 800;
      color: #ffffff;
      letter-spacing: -0.5px;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 6px;
    }

    .esh-total-symbol {
      color: var(--primary);
      font-size: 26px;
    }

    .earning-cards-grid {
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .earning-item-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 14px 16px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: all 0.2s ease;
    }

    .eic-left {
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .eic-icon {
      width: 42px;
      height: 42px;
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 18px;
    }

    .eic-text {
      display: flex;
      flex-direction: column;
    }

    .eic-title {
      font-size: 13.5px;
      font-weight: 600;
      color: #ffffff;
    }

    .eic-sub {
      font-size: 11.5px;
      color: var(--text-muted);
    }

    .eic-amount {
      font-family: 'Outfit', sans-serif;
      font-size: 16px;
      font-weight: 700;
      color: #ffffff;
      text-align: right;
    }

    /* REFERRAL INTERFACE */
    .referral-box-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 20px 16px;
      display: flex;
      flex-direction: column;
      gap: 16px;
      text-align: center;
    }

    .referral-hero-icon {
      width: 64px;
      height: 64px;
      border-radius: 50%;
      background: linear-gradient(135deg, rgba(56, 189, 248, 0.2), rgba(0, 209, 143, 0.15));
      border: 1px solid rgba(56, 189, 248, 0.3);
      color: #38bdf8;
      font-size: 26px;
      display: flex;
      align-items: center;
      justify-content: center;
      margin: 0 auto;
    }

    .referral-tagline {
      font-size: 17px;
      font-weight: 700;
      color: #ffffff;
    }

    .referral-subtext {
      font-size: 13px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    .referral-link-container {
      background: rgba(0, 0, 0, 0.4);
      border: 1px dashed rgba(56, 189, 248, 0.4);
      border-radius: var(--radius-md);
      padding: 10px 12px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 8px;
    }

    .referral-link-text {
      font-family: 'Outfit', monospace;
      font-size: 12px;
      color: #e2e8f0;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      flex: 1;
      text-align: left;
    }

    .btn-copy-ref {
      background: var(--primary);
      color: #052115;
      border: none;
      padding: 6px 12px;
      border-radius: 8px;
      font-size: 12px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      gap: 4px;
      flex-shrink: 0;
      font-family: var(--font-family);
    }

    .btn-copy-ref:active {
      transform: scale(0.95);
    }

    .share-buttons-row {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    .share-btn {
      padding: 10px 14px;
      border-radius: var(--radius-md);
      font-size: 13px;
      font-weight: 600;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      color: #ffffff;
      text-decoration: none;
      font-family: var(--font-family);
    }

    .sb-tg {
      background: #0088cc;
      box-shadow: 0 4px 12px rgba(0, 136, 204, 0.3);
    }

    .sb-wa {
      background: #25d366;
      box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
    }

    /* BONUS INTERFACE */
    .bonus-card-wrap {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 24px 18px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 16px;
    }

    .bonus-gift-anim {
      font-size: 54px;
      color: var(--accent-purple);
      filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.4));
      animation: floatGift 3s ease-in-out infinite;
    }

    @keyframes floatGift {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50% { transform: translateY(-8px) rotate(4deg); }
    }

    .bonus-callout-text {
      font-size: 18px;
      font-weight: 700;
      color: #ffffff;
    }

    .bonus-desc-text {
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.6;
    }

    .admin-msg-btn {
      background: linear-gradient(135deg, #a855f7, #7c3aed);
      color: #ffffff;
      border: none;
      padding: 12px 24px;
      border-radius: 30px;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      box-shadow: 0 6px 20px rgba(168, 85, 247, 0.4);
      transition: all 0.25s ease;
      font-family: var(--font-family);
    }

    .admin-msg-btn:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 25px rgba(168, 85, 247, 0.5);
    }

    /* WALLET INTERFACE */
    .wallet-hero {
      background: linear-gradient(135deg, #1e293b, #0f172a);
      border: 1px solid var(--border-accent);
      border-radius: var(--radius-lg);
      padding: 24px 20px;
      position: relative;
      box-shadow: 0 12px 30px rgba(0,0,0,0.35);
    }

    .wh-top {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 12px;
    }

    .wh-tag {
      font-size: 12px;
      font-weight: 600;
      color: var(--primary);
      text-transform: uppercase;
      letter-spacing: 0.8px;
    }

    .wh-balance {
      font-family: 'Outfit', sans-serif;
      font-size: 32px;
      font-weight: 800;
      color: #ffffff;
      margin-bottom: 18px;
    }

    .btn-open-withdraw {
      width: 100%;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: #052115;
      border: none;
      padding: 13px;
      border-radius: var(--radius-md);
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: 0 6px 18px var(--primary-glow);
      transition: all 0.2s ease;
      font-family: var(--font-family);
    }

    .btn-open-withdraw:active {
      transform: scale(0.97);
    }

    .wallet-description-block {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 18px;
      font-size: 13.5px;
      line-height: 1.7;
      color: #cbd5e1;
    }

    .wallet-description-title {
      font-size: 15px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 8px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* WITHDRAWAL HISTORY */
    .history-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 16px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .history-title {
      font-size: 14px;
      font-weight: 700;
      color: #ffffff;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .history-list {
      display: flex;
      flex-direction: column;
      gap: 8px;
      max-height: 340px;
      overflow-y: auto;
    }

    .history-item {
      display: flex;
      align-items: center;
      justify-content: space-between;
      padding: 10px 12px;
      border-radius: var(--radius-sm);
      background: rgba(255, 255, 255, 0.025);
      border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .hi-left {
      display: flex;
      flex-direction: column;
      gap: 2px;
    }

    .hi-method-amount {
      font-size: 13px;
      font-weight: 700;
      color: #ffffff;
    }

    .hi-date {
      font-size: 10.5px;
      color: var(--text-dim);
    }

    .hi-status-badge {
      font-size: 11px;
      font-weight: 700;
      padding: 3px 8px;
      border-radius: 6px;
      text-transform: capitalize;
    }

    .status-pending {
      background: rgba(251, 191, 36, 0.15);
      color: #fbbf24;
      border: 1px solid rgba(251, 191, 36, 0.3);
    }

    .status-approved {
      background: rgba(0, 209, 143, 0.15);
      color: #00d18f;
      border: 1px solid rgba(0, 209, 143, 0.3);
    }

    .status-denied {
      background: rgba(239, 68, 68, 0.15);
      color: #ef4444;
      border: 1px solid rgba(239, 68, 68, 0.3);
    }

    /* PROFILE INTERFACE */
    .profile-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 20px 16px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }

    .profile-photo-container {
      position: relative;
      width: 90px;
      height: 90px;
    }

    .profile-big-avatar {
      width: 100%;
      height: 100%;
      border-radius: 50%;
      object-fit: cover;
      border: 3px solid var(--primary);
      box-shadow: 0 0 20px rgba(0, 209, 143, 0.3);
    }

    .photo-edit-btn {
      position: absolute;
      bottom: 0;
      right: 0;
      background: var(--primary);
      color: #052115;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 13px;
      cursor: pointer;
      box-shadow: 0 2px 6px rgba(0,0,0,0.4);
      border: 2px solid var(--bg-secondary);
    }

    .profile-permanent-ids {
      width: 100%;
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
    }

    .perm-id-box {
      background: rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-md);
      padding: 10px;
      text-align: center;
    }

    .pib-label {
      font-size: 10.5px;
      color: var(--text-dim);
      font-weight: 500;
      margin-bottom: 2px;
    }

    .pib-val {
      font-family: 'Outfit', sans-serif;
      font-size: 13px;
      font-weight: 700;
      color: var(--primary);
      letter-spacing: 0.5px;
    }

    /* FORM STYLES */
    .form-group {
      width: 100%;
      display: flex;
      flex-direction: column;
      gap: 6px;
      text-align: left;
    }

    .form-label {
      font-size: 12px;
      font-weight: 600;
      color: var(--text-muted);
    }

    .form-input {
      width: 100%;
      background: rgba(255, 255, 255, 0.04);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 11px 14px;
      color: #ffffff;
      font-size: 14px;
      font-family: var(--font-family);
      outline: none;
      transition: all 0.2s ease;
    }

    .form-input:focus {
      border-color: var(--primary);
      background: rgba(255, 255, 255, 0.08);
      box-shadow: 0 0 10px rgba(0, 209, 143, 0.15);
    }

    .form-input[readonly] {
      opacity: 0.7;
      cursor: not-allowed;
      background: rgba(0, 0, 0, 0.25);
    }

    .btn-primary {
      width: 100%;
      background: linear-gradient(135deg, var(--primary), var(--primary-dark));
      color: #052115;
      border: none;
      padding: 12px;
      border-radius: var(--radius-md);
      font-size: 14px;
      font-weight: 700;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      box-shadow: 0 4px 14px var(--primary-glow);
      transition: all 0.2s;
      font-family: var(--font-family);
    }

    .btn-primary:active {
      transform: scale(0.97);
    }

    /* DEVICE / ACCOUNT SYNC BOX */
    .sync-account-box {
      background: rgba(56, 189, 248, 0.06);
      border: 1px dashed rgba(56, 189, 248, 0.3);
      border-radius: var(--radius-md);
      padding: 14px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .sync-title {
      font-size: 12.5px;
      font-weight: 700;
      color: #38bdf8;
      display: flex;
      align-items: center;
      gap: 6px;
    }

    /* SUPPORT INTERFACE */
    .support-card {
      background: var(--bg-card);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      padding: 24px 18px;
      display: flex;
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 16px;
    }

    .support-icon {
      width: 68px;
      height: 68px;
      border-radius: 50%;
      background: linear-gradient(135deg, rgba(0, 136, 204, 0.2), rgba(0, 209, 143, 0.15));
      border: 1px solid rgba(0, 136, 204, 0.35);
      color: #38bdf8;
      font-size: 30px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .support-btn {
      background: linear-gradient(135deg, #0088cc, #006699);
      color: #ffffff;
      border: none;
      padding: 12px 24px;
      border-radius: 30px;
      font-size: 15px;
      font-weight: 700;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      text-decoration: none;
      box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
      transition: all 0.25s ease;
      font-family: var(--font-family);
    }

    .support-btn:active {
      transform: scale(0.96);
    }

    .support-notice-box {
      background: rgba(255, 255, 255, 0.03);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-md);
      padding: 14px;
      text-align: left;
      font-size: 13px;
      line-height: 1.6;
      color: #cbd5e1;
    }

    /* BOTTOM NAVBAR */
    .bottom-navbar {
      position: fixed;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100%;
      max-width: 480px;
      background: rgba(17, 24, 44, 0.94);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border-top: 1px solid var(--border-color);
      display: flex;
      align-items: center;
      justify-content: space-around;
      padding: 8px 6px;
      z-index: 1000;
      box-shadow: 0 -4px 20px rgba(0,0,0,0.3);
    }

    .nav-item {
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 3px;
      padding: 6px 8px;
      border-radius: 12px;
      color: var(--text-dim);
      font-size: 10.5px;
      font-weight: 600;
      cursor: pointer;
      transition: all 0.22s ease;
      position: relative;
      flex: 1;
    }

    .nav-item i {
      font-size: 18px;
      transition: all 0.22s ease;
    }

    .nav-item.active {
      color: var(--primary);
    }

    .nav-item.active i {
      transform: translateY(-2px);
      color: var(--primary);
      filter: drop-shadow(0 0 6px var(--primary-glow));
    }

    /* MODALS */
    .modal-overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.75);
      backdrop-filter: blur(8px);
      -webkit-backdrop-filter: blur(8px);
      z-index: 2000;
      align-items: center;
      justify-content: center;
      padding: 16px;
      animation: modalFadeIn 0.25s ease;
    }

    .modal-overlay.show {
      display: flex;
    }

    @keyframes modalFadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .modal-card {
      background: var(--bg-secondary);
      border: 1px solid var(--border-color);
      border-radius: var(--radius-lg);
      width: 100%;
      max-width: 420px;
      padding: 22px 18px;
      box-shadow: 0 20px 40px rgba(0,0,0,0.6);
      position: relative;
      animation: modalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
      max-height: 90vh;
      overflow-y: auto;
    }

    @keyframes modalSlideUp {
      from { transform: translateY(20px) scale(0.95); opacity: 0; }
      to { transform: translateY(0) scale(1); opacity: 1; }
    }

    .modal-close-btn {
      position: absolute;
      top: 14px;
      right: 14px;
      background: rgba(255, 255, 255, 0.08);
      border: none;
      color: #94a3b8;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      font-size: 14px;
    }

    .modal-title {
      font-size: 17px;
      font-weight: 700;
      color: #ffffff;
      margin-bottom: 12px;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    /* AD TIMER MODAL */
    .timer-container {
      text-align: center;
      padding: 20px 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 16px;
    }

    .timer-circle-wrap {
      position: relative;
      width: 110px;
      height: 110px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .timer-svg {
      transform: rotate(-90deg);
      width: 100%;
      height: 100%;
    }

    .timer-svg-bg {
      fill: none;
      stroke: rgba(255, 255, 255, 0.1);
      stroke-width: 8;
    }

    .timer-svg-progress {
      fill: none;
      stroke: var(--primary);
      stroke-width: 8;
      stroke-dasharray: 283;
      stroke-dashoffset: 0;
      stroke-linecap: round;
      transition: stroke-dashoffset 1s linear;
    }

    .timer-text-display {
      position: absolute;
      font-family: 'Outfit', sans-serif;
      font-size: 26px;
      font-weight: 800;
      color: #ffffff;
    }

    .timer-status-text {
      font-size: 13.5px;
      color: var(--text-muted);
      line-height: 1.5;
    }

    /* WITHDRAWAL METHODS */
    .method-selector-grid {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 12px;
      margin-bottom: 14px;
    }

    .method-card {
      border: 2px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.02);
      border-radius: var(--radius-md);
      padding: 12px 10px;
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 6px;
      cursor: pointer;
      transition: all 0.2s ease;
    }

    .method-card.selected.bkash {
      border-color: var(--bkash);
      background: rgba(226, 19, 110, 0.12);
    }

    .method-card.selected.nagad {
      border-color: var(--nagad);
      background: rgba(247, 148, 29, 0.12);
    }

    .method-badge-bkash {
      background: var(--bkash);
      color: #ffffff;
      font-weight: 700;
      font-size: 12px;
      padding: 4px 10px;
      border-radius: 6px;
    }

    .method-badge-nagad {
      background: var(--nagad);
      color: #ffffff;
      font-weight: 700;
      font-size: 12px;
      padding: 4px 10px;
      border-radius: 6px;
    }

    /* VERIFICATION DETAILS */
    .verification-notice-banner {
      background: rgba(239, 68, 68, 0.12);
      border: 1px solid rgba(239, 68, 68, 0.3);
      border-radius: var(--radius-md);
      padding: 12px;
      margin-bottom: 14px;
      font-size: 13px;
      color: #fca5a5;
      line-height: 1.5;
    }

    .payment-destinations-row {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 10px;
      margin-bottom: 14px;
    }

    .pay-dest-box {
      background: rgba(0, 0, 0, 0.35);
      border: 1px solid rgba(255, 255, 255, 0.08);
      border-radius: var(--radius-md);
      padding: 10px;
      display: flex;
      flex-direction: column;
      gap: 4px;
      text-align: center;
    }

    .pdb-badge {
      font-size: 11px;
      font-weight: 700;
      padding: 2px 6px;
      border-radius: 4px;
      color: #fff;
      display: inline-block;
      margin-bottom: 2px;
    }

    .pdb-number {
      font-family: 'Outfit', monospace;
      font-size: 13px;
      font-weight: 700;
      color: #ffffff;
    }

    .btn-copy-num {
      background: rgba(255, 255, 255, 0.08);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #ffffff;
      font-size: 10.5px;
      padding: 3px 6px;
      border-radius: 4px;
      cursor: pointer;
      margin-top: 4px;
    }

    .btn-copy-num:active {
      background: var(--primary);
      color: #000;
    }

    /* TOAST */
    #toast-notification {
      position: fixed;
      top: 20px;
      left: 50%;
      transform: translateX(-50%) translateY(-100px);
      background: rgba(15, 23, 42, 0.95);
      color: #ffffff;
      border: 1px solid var(--primary);
      box-shadow: 0 10px 25px rgba(0, 209, 143, 0.35);
      padding: 12px 20px;
      border-radius: 30px;
      font-size: 13.5px;
      font-weight: 600;
      z-index: 9999;
      display: flex;
      align-items: center;
      gap: 10px;
      pointer-events: none;
      transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
      max-width: 90%;
      text-align: center;
    }

    #toast-notification.active {
      transform: translateX(-50%) translateY(0);
    }

  

.dynamic-notice-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px dashed var(--accent-purple, #8a2be2);
  border-radius: 10px;
  padding: 15px;
  margin: 15px 0;
  min-height: 60px;
  color: #e0e0e0;
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
}
.loading-text {
  color: #777;
  font-style: italic;
}

.floating-support-container {
  position: fixed;
  bottom: 95px; /* আপনার অ্যাপের নিচের নেভিগেশন বারের ঠিক উপরে পারফেক্ট পজিশন */
  left: 20px;   /* বাম দিকের নিচের কর্নারে */
  z-index: 999999; /* স্ক্রিনের অন্য সব উপাদানের উপরে ভাসমান রাখার জন্য */
  display: flex;
  flex-direction: column;
  align-items: center;
}

.support-main-btn {
  background: linear-gradient(135deg, #8a2be2, #4b0082);
  color: white;
  width: 50px; 
  height: 55px; 
  border-radius: 25px; 
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0;
  box-sizing: border-box;
}

.headphone-icon {
  font-size: 20px;
  line-height: 1;
  display: block;
  margin-bottom: 2px;
}

.arrow-icon {
  font-size: 10px;
  font-weight: bold;
  line-height: 1;
  display: block;
  transition: transform 0.3s ease;
}

.support-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.support-options.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.support-icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.2s ease;
  text-decoration: none;
}

.support-icon:hover {
  transform: scale(1.1);
}

/* =============================================================
   TASK PAGE REDESIGN — বিজ্ঞাপন কার্ড (ahero-*) ও টাস্ক কার্ড (tcard-*)
   ============================================================= */
.ahero-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1d5cf0 0%, #2a7bff 55%, #1b52d6 100%);
  border-radius: 26px;
  padding: 24px 18px 18px;
  text-align: center;
  color: #fff;
  box-shadow: 0 10px 28px rgba(29, 92, 240, 0.35);
  margin-bottom: 18px;
}
.ahero-card::before,
.ahero-card::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.10);
  pointer-events: none;
}
.ahero-card::before { width: 150px; height: 150px; top: -50px; right: -40px; }
.ahero-card::after { width: 70px; height: 70px; top: 40px; left: 18px; }
.ahero-card > * { position: relative; z-index: 1; }

.ahero-label { font-size: 15px; font-weight: 600; opacity: 0.92; }
.ahero-amount { font-size: 54px; font-weight: 800; line-height: 1.15; margin: 6px 0 16px; letter-spacing: -1px; }

.ahero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.ahero-stat {
  background: rgba(255, 255, 255, 0.17);
  border-radius: 16px;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ahero-stat-label { font-size: 12.5px; opacity: 0.9; }
.ahero-stat-value { font-size: 22px; font-weight: 800; }

.ahero-btn {
  width: 100%;
  border: none;
  border-radius: 16px;
  background: #fff;
  color: #1d5cf0;
  font-family: inherit;
  font-size: clamp(13px, 3.7vw, 15.5px);
  font-weight: 800;
  line-height: 1.35;
  text-wrap: balance;
  padding: 16px 10px;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
  transition: transform 0.12s ease;
}
.ahero-btn:active:not(:disabled) { transform: scale(0.98); }
.ahero-btn:disabled { cursor: not-allowed; }
.ahero-btn.is-wait { background: rgba(255, 255, 255, 0.88); color: #475a8a; box-shadow: none; }
.ahero-btn.is-done { background: #eafaf2; color: #0f7f55; box-shadow: none; }
.ahero-btn i { margin-right: 6px; }

.ahero-hint { margin-top: 10px; font-size: 12px; opacity: 0.85; }
.ahero-hint:empty { display: none; }

.tcard-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 2px 12px;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
}
.tcard-heading-note { font-size: 12px; font-weight: 700; color: #7ee2b8; }

.tcard-list { display: flex; flex-direction: column; gap: 12px; }
.tcard {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border-radius: 20px;
  padding: 14px 14px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}
.tcard-icon {
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 26px;
}
.tc-red { background: #e11d48; }
.tc-sky { background: #229ed9; }
.tc-blue { background: #1877f2; }
.tc-purple { background: #7c3aed; }
.tc-amber { background: #f59e0b; }

.tcard-info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tcard-name { font-size: 16.5px; font-weight: 800; color: #1f2937; line-height: 1.25; }
.tcard-reward { font-size: 16px; font-weight: 800; color: #0f8a5f; }

.tcard-btn {
  flex: 0 0 auto;
  border: none;
  border-radius: 14px;
  background: #0f7f55;
  color: #fff;
  font-family: inherit;
  font-size: 14.5px;
  font-weight: 800;
  padding: 12px 16px;
  cursor: pointer;
  transition: transform 0.12s ease;
}
.tcard-btn:active:not(:disabled) { transform: scale(0.97); }
.tcard-btn:disabled { background: #7b8a95; cursor: not-allowed; }
.tcard-btn i { margin-right: 4px; }
.tcard-btn-done { background: #d8f3e7; color: #0f7f55; font-size: 13px; padding: 12px 12px; }
.tcard-btn-done:disabled { background: #d8f3e7; }
