/**
 * Ad2Click - Publisher Platform Styles
 * Restored 1:1 from original ads2cash publisher portal
 */

:root {
  --primary: #142D6F;
  --primary-soft: #A3BDFF;
  --heading-color: #142D6F;
  --heading-bg: #00265f;
  --panel-border: rgba(20, 45, 111, 0.06);
  --panel-shadow: rgba(20, 45, 111, 0.06);
  --glass-grad: linear-gradient(180deg, rgba(246, 247, 255, 0.6), rgba(255, 255, 255, 0.6));
  --muted: #6b7280;
  --bg-white: #fff;
  --accent-bg: linear-gradient(180deg, rgba(163, 189, 255, .25), rgba(246, 244, 239, .6));
  --card-bg: #00265fff;
}

/* ========================================================
   1. Dashboard & Subpage Counters (Unified Design & Height)
   ======================================================== */
#dashboard-counters,
.portal-subpage-counters {
  align-items: center;
  margin-top: 0 !important;
  margin-bottom: 16px;
  border-radius: 14px;
  background: var(--body-color);
  border: 1px solid rgba(20, 45, 111, 0.08);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
  min-height: 122px;
}

/* Dashboard 4-Counter Layout — Desktop 4-Column & Mobile 2x2 Grid */
#dashboard-counters {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  padding: 26px 24px;
}

/* Subpage 2-Counter Layout (Ads, Videos, Referrals, Offers, Cashout) */
.portal-subpage-counters {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  padding: 16px 24px;
}

#dashboard-counters .lonyo-counter-item,
.portal-subpage-counters .lonyo-counter-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  width: 100%;
}

#dashboard-counters .lonyo-counter-item::before,
#dashboard-counters .lonyo-counter-item::after,
.portal-subpage-counters .lonyo-counter-item::before,
.portal-subpage-counters .lonyo-counter-item::after {
  display: none !important;
}

#dashboard-counters .lonyo-counter-data,
.portal-subpage-counters .lonyo-counter-data {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  line-height: 1.15 !important;
  height: auto !important;
  margin-bottom: 4px !important;
  color: #142D6F !important;
}

#dashboard-counters .lonyo-counter-data span,
.portal-subpage-counters .lonyo-counter-data span {
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  color: #142D6F !important;
  line-height: 1.15 !important;
}

#dashboard-counters .lonyo-counter-item p,
.portal-subpage-counters .lonyo-counter-item p {
  margin-bottom: 4px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #475569 !important;
  text-align: center !important;
  line-height: 1.3 !important;
}

#dashboard-counters .lonyo-divider,
.portal-subpage-counters .lonyo-divider {
  width: 1px;
  height: 48px;
  background: rgba(20, 45, 111, 0.12);
}

@media (max-width: 991px) {
  #dashboard-counters {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 16px;
    padding: 20px 16px;
  }
  #dashboard-counters .lonyo-divider {
    display: none;
  }
}

@media (max-width: 575px) {
  #dashboard-counters {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
    padding: 18px 14px;
  }
  #dashboard-counters .lonyo-divider {
    display: none;
  }
  .portal-subpage-counters {
    padding: 14px 12px !important;
    min-height: 106px;
  }
  .portal-subpage-counters .lonyo-divider {
    height: 38px;
  }
  #dashboard-counters .lonyo-counter-data,
  .portal-subpage-counters .lonyo-counter-data,
  #dashboard-counters .lonyo-counter-data span,
  .portal-subpage-counters .lonyo-counter-data span {
    font-size: 1.65rem !important;
  }
  #dashboard-counters .lonyo-counter-item p,
  .portal-subpage-counters .lonyo-counter-item p {
    font-size: 13px !important;
    margin-bottom: 3px !important;
  }
}

.counter-alltime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  color: #142D6F;
  background: rgba(20, 45, 111, 0.05);
  border: 1px solid rgba(20, 45, 111, 0.12);
  padding: 3px 12px;
  border-radius: 999px;
  margin-top: 2px;
  line-height: 1.25;
  letter-spacing: 0.01em;
  box-shadow: 0 1px 2px rgba(20, 45, 111, 0.04);
  transition: all 0.2s ease;
}

.counter-alltime:hover {
  background: rgba(20, 45, 111, 0.09);
  border-color: rgba(20, 45, 111, 0.22);
}

.counter-alltime span,
.counter-alltime .fw-semibold {
  font-weight: 800 !important;
  color: #142D6F !important;
  font-family: 'DM Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

@media (max-width: 575px) {
  .counter-alltime {
    font-size: 0.72rem !important;
    padding: 2px 8px !important;
    gap: 4px !important;
    margin-top: 2px !important;
  }
}

@media (max-width: 767px) {
  .lonyo-divider {
    display: none;
  }
  .lonyo-counter-item p {
    text-align: center;
  }
  .counter-alltime {
    display: flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
  }
}

.dashed-divider {
  border-top: 1px dashed rgba(0, 26, 61, 0.12);
  margin: 16px 0 20px;
}

/* ========================================================
   2. Quick Actions Grid & Cards
   ======================================================== */
.qa-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 992px) {
  .qa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .qa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.qa-card {
  display: block;
  text-decoration: none;
  border: 1px solid var(--heading-color);
  border-radius: 12px;
  padding: 12px 14px;
  box-shadow: 0 6px 20px rgba(16, 24, 64, 0.06);
  transition: transform .16s ease, box-shadow .16s ease;
  color: inherit;
  position: relative;
  overflow: hidden;
  isolation: isolate;

  /* Elegant waves base layers */
  background:
    radial-gradient(160px 80px at 110% -10%, rgba(163, 189, 255, .34), transparent 60%),
    radial-gradient(180px 120px at -10% 110%, rgba(246, 244, 239, .95), transparent 55%),
    linear-gradient(180deg, rgba(20, 45, 111, .04), rgba(20, 45, 111, 0)),
    #fff;
  background-position: 110% -10%, -10% 110%, 0 0, 0 0;
  background-size: auto, auto, 100% 100%, auto;
  animation: qaDrift 14s ease-in-out infinite alternate;
}

.qa-card:hover,
.qa-card:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(16, 24, 64, 0.10);
  color: inherit;
}

.qa-title {
  display: block;
  font-weight: 700;
  color: var(--heading-color);
}

.qa-sub {
  display: block;
  font-size: .85rem;
  opacity: .75;
  color: var(--heading-color);
}

/* Moving glow / wave highlight */
.qa-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  background:
    radial-gradient(160px 80px at var(--x, 0%) var(--y, 50%), rgba(255, 255, 255, .45), transparent 60%),
    linear-gradient(120deg, transparent, rgba(255, 255, 255, .18), transparent);
  transform: translateX(-130%);
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.qa-card:hover::before,
.qa-card:focus-visible::before {
  animation: qaGlowSweep .9s ease forwards;
}

@keyframes qaGlowSweep {
  to {
    transform: translateX(130%);
  }
}

/* Dollar texture overlay */
.qa-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
  opacity: .22;
  border-radius: 12px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cdefs%3E%3Cpattern id='d' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Ctext x='1' y='14' font-family='system-ui,Segoe UI,Roboto,Helvetica,Arial' font-size='14' fill='%23142D6F' fill-opacity='.16'%3E%24%3C/text%3E%3C/pattern%3E%3C/defs%3E%3Crect width='100%25' height='100%25' fill='url(%23d)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

@keyframes qaDrift {
  to {
    background-position: 115% -12%, -12% 112%, 0 0, 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .qa-card::before,
  .qa-card {
    animation: none !important;
    transition: none !important;
  }
}

/* ========================================================
   3. Invite Friends Gold Card (.ref-card)
   ======================================================== */
.ref-card {
  background: linear-gradient(135deg, #FBC21D 0%, #FFC947 100%);
  border-radius: 12px;
  color: #0F1A54;
  min-width: 240px;
  position: relative;
  padding: 16px 68px 16px 16px !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35), 0 6px 16px rgba(251, 194, 29, .25);
  text-align: left;
  transition: transform .2s ease, box-shadow .2s ease;
}

.ref-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(251, 194, 29, .35);
}

.ref-card-title {
  color: #0F1A54;
  font-weight: 800;
  margin-bottom: 4px;
}

.ref-card-sub {
  color: #0F1A54;
  font-weight: 600;
  font-size: .92rem;
}

.ref-card::after {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .65), rgba(255, 255, 255, .35));
  box-shadow: 0 6px 16px rgba(15, 26, 84, .12), inset 0 0 0 1px rgba(15, 26, 84, .18);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 26px 26px;
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230F1A54' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Cpath d='M4 18c0-2.8 3-5 5-5s5 2.2 5 5'/%3E%3Cpath d='M16 5h4'/%3E%3Cpath d='M18 3v4'/%3E%3C/svg%3E");
}

/* ========================================================
   4. Speed Boosters (.booster-list, .booster-step)
   ======================================================== */
.booster-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (max-width: 576px) {
  .booster-list {
    grid-template-columns: 1fr;
  }
}

.booster-step {
  --accent: var(--heading-color);
  --tile-bg: #fff;
  background:
    linear-gradient(var(--tile-bg), var(--tile-bg)) padding-box,
    linear-gradient(135deg, rgba(0, 26, 61, .16), rgba(0, 26, 61, 0)) border-box;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 6px 16px rgba(16, 24, 64, .06);
  transition: transform .15s ease, box-shadow .15s ease, background .25s ease;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}

.booster-step:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(16, 24, 64, .10);
  color: inherit;
}

.booster-title {
  color: var(--heading-color);
  font-weight: 700;
  letter-spacing: .2px;
  flex: 1;
}

/* Icon tile on the left */
.booster-step::before {
  content: "";
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  box-shadow: inset 0 0 0 1px rgba(20, 45, 111, .12);
  background: linear-gradient(135deg, rgba(163, 189, 255, .35), rgba(20, 45, 111, .08));
  background-position: center;
  background-repeat: no-repeat;
  background-size: 22px 22px;
}

/* Video: play */
#booster-video::before {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8 6l10 6-10 6z' fill='%23142D6F'/%3E%3C/svg%3E");
}

/* Web Ad: screen */
#booster-web::before {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142D6F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='12' rx='2'/%3E%3Cpath d='M7 13h10'/%3E%3C/svg%3E");
}

/* Referral: users */
#booster-ref::before {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142D6F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Ccircle cx='16' cy='10' r='2'/%3E%3Cpath d='M4 18c0-2.8 3-5 5-5s5 2.2 5 5'/%3E%3Cpath d='M14 18c0-1.6 1.6-3 3-3'/%3E%3C/svg%3E");
}

/* Offer: gift */
#booster-offer::before {
  background-image: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23142D6F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='8' width='18' height='12' rx='2'/%3E%3Cpath d='M12 8v12'/%3E%3Cpath d='M3 12h18'/%3E%3Cpath d='M7.5 8c-1.4 0-2.5-1.1-2.5-2.5S6.1 3 7.5 3C10 3 10 8 7.5 8z'/%3E%3Cpath d='M16.5 8C19 8 19 3 16.5 3 15.1 3 14 4.1 14 5.5S15.1 8 16.5 8z'/%3E%3C/svg%3E");
}

/* Badge instead of radio circle */
.booster-check {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: none;
  background: rgba(0, 26, 61, .06);
  position: relative;
  overflow: hidden;
  font-size: 12px;
  line-height: 1;
}

.booster-check::before {
  content: "";
  position: absolute;
  inset: 0;
  background: conic-gradient(from 0deg, var(--accent) 0 25%, transparent 25% 100%);
  opacity: .25;
  transform: rotate(0turn);
  transition: transform .6s ease, opacity .2s ease;
}

.booster-check::after {
  content: "";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 800;
  color: #fff;
}

.booster-step.done,
.booster-step.completed {
  color: #fff;
  background: linear-gradient(135deg, var(--heading-color), #1a2c7a) padding-box;
  border-color: transparent;
}

.booster-step.done .booster-title,
.booster-step.completed .booster-title {
  color: #fff;
  opacity: .95;
}

.booster-step.done .booster-check,
.booster-step.completed .booster-check {
  background: var(--heading-color);
}

.booster-step.done .booster-check::before,
.booster-step.completed .booster-check::before {
  opacity: .55;
  animation: boosterSpin 1.2s linear infinite;
}

.booster-step.done .booster-check::after,
.booster-step.completed .booster-check::after {
  content: "✓";
}

.booster-step.done::before,
.booster-step.completed::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, .18), rgba(255, 255, 255, .08));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  filter: invert(1) contrast(1.1);
}

@keyframes boosterSpin {
  to {
    transform: rotate(1turn);
  }
}

/* ========================================================
   5. Balance Chips, Live Pill & Cashout Button
   ======================================================== */
.dashboard-chip {
  background: #142D6F !important;
  border: 1px solid #142D6F;
  border-radius: 999px;
  padding: 6px 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(20, 45, 111, .12);
}

.dashboard-chip small,
.dashboard-chip span {
  color: #ffffff !important;
  font-weight: 700;
  letter-spacing: .1px;
}

/* Live pill */
.live-pill {
  --live-bg1: #0F1A54;
  --live-bg2: #1a2c7a;
  --live-ink: #fff;
  background: linear-gradient(135deg, var(--live-bg1), var(--live-bg2));
  color: var(--live-ink);
  border: none;
  border-radius: 999px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: .2px;
  font-size: 13px;
  box-shadow:
    0 8px 24px rgba(15, 26, 84, .22),
    inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.live-pill.live-pill--sm {
  padding: 4px 10px;
  font-size: .78rem;
  gap: 6px;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, #fff 10%, #ffbfbf 30%, #ff5d5d 55%, #ff1f1f 70%),
    #ff2d2d;
  position: relative;
  animation: liveBlink 1.2s ease-in-out infinite;
  box-shadow: 0 0 0 3px rgba(255, 61, 61, .15);
}

.live-dot::after {
  content: "";
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 2px solid rgba(255, 61, 61, .55);
  animation: livePing 1.6s cubic-bezier(0, 0, .2, 1) infinite;
  opacity: .75;
}

@keyframes liveBlink {
  0%, 100% { opacity: .65; transform: scale(.9); }
  50% { opacity: 1; transform: scale(1.08); }
}

@keyframes livePing {
  0% { transform: scale(.7); opacity: .6; }
  70%, 100% { transform: scale(1.8); opacity: 0; }
}

/* Cashout Callout Divider */
.balance-callout {
  border-left: 1px dashed rgba(0, 26, 61, 0.12);
  padding: 24px !important;
}

@media (max-width: 991.98px) {
  .balance-callout {
    border-left: 0 !important;
    border-top: 1px dashed rgba(0, 26, 61, 0.12) !important;
    margin-top: 16px;
    padding-top: 20px !important;
  }
}

/* Cash Out Button: elevated, glossy, on-brand */
.cashout-btn {
  --ink: #fff;
  --bg1: var(--heading-color);
  --bg2: #1a2c7a;
  --ring: rgba(163, 189, 255, .45);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 14px;
  color: var(--ink) !important;
  background: linear-gradient(135deg, var(--bg1) 0%, var(--bg2) 100%);
  border: 1px solid rgba(255, 255, 255, .14);
  box-shadow:
    0 10px 22px rgba(20, 45, 111, .22),
    inset 0 1px 0 rgba(255, 255, 255, .18);
  position: relative;
  overflow: hidden;
  font-weight: 800;
  letter-spacing: .2px;
  transform: translateZ(0);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.cashout-btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: linear-gradient(120deg, transparent 35%, rgba(255, 255, 255, .25) 50%, transparent 65%);
  transform: translateX(-120%);
  transition: transform .7s ease;
  pointer-events: none;
  mix-blend-mode: soft-light;
}

.cashout-btn:hover::after,
.cashout-btn:focus-visible::after {
  transform: translateX(120%);
}

.cashout-btn:hover {
  transform: translateY(-1px);
  box-shadow:
    0 14px 26px rgba(20, 45, 111, .28),
    inset 0 1px 0 rgba(255, 255, 255, .22);
}

.cashout-btn.is-near {
  animation: cashPulse 1.9s ease-out infinite;
}

@keyframes cashPulse {
  0% { box-shadow: 0 0 0 0 rgba(163, 189, 255, .55), inset 0 1px 0 rgba(255, 255, 255, .2); }
  100% { box-shadow: 0 0 0 18px rgba(163, 189, 255, 0), inset 0 1px 0 rgba(255, 255, 255, .2); }
}

/* Daily tip box */
.wrap2 {
  background: #f8fafc;
  border: 1px solid rgba(20, 45, 111, 0.08);
  border-radius: 12px;
  padding: 14px 16px;
}

/* ========================================================
   6. Ads & Videos Cards (.lonyo-blog-wrap.ve-card)
   ======================================================== */
.lonyo-blog-wrap.ve-card,
.ve-card {
  border-radius: 16px !important;
  background: #ffffff !important;
  border: 1px solid rgba(20, 45, 111, 0.08) !important;
  box-shadow: 0 4px 16px rgba(16, 24, 64, 0.04) !important;
  padding: 20px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.lonyo-blog-wrap.ve-card:hover,
.ve-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(16, 24, 64, 0.08) !important;
  border-color: rgba(20, 45, 111, 0.18) !important;
}

/* Site & Video preview thumbnail frame */
.site-thumb-frame,
.site-thumb,
.lonyo-blog-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  background: #0d152e;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.site-thumb-frame img,
.site-thumb img,
.lonyo-blog-thumb .video-thumb-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.play-btn-circle {
  pointer-events: auto;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: rgba(20, 45, 111, 0.88);
  display: grid;
  place-items: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  transition: transform .2s ease, background-color .2s ease;
  border: 0;
  cursor: pointer;
}

.play-btn-circle:hover {
  transform: scale(1.08);
  background: #142D6F;
}

.play-btn-circle svg {
  width: 26px;
  height: 26px;
  fill: #fff;
  margin-left: 3px;
}

/* Card Meta (Earn & Time) */
.ad-card-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  margin-bottom: 10px;
  width: 100%;
  flex-wrap: wrap;
}

.ad-card-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  color: #142D6F;
  font-weight: 600;
  background: #f8fafc;
  border: 1px solid rgba(20, 45, 111, 0.08);
  border-radius: 999px;
  padding: 4px 14px;
}

.ad-card-meta .meta-item svg,
.ad-card-meta .meta-item img {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.ad-card-meta .meta-item strong {
  font-weight: 800;
  color: #142D6F;
}

/* Card Description */
.ad-card-body {
  margin-bottom: 16px;
  text-align: center;
  width: 100%;
}

.ad-card-body .ad-desc {
  font-size: 14.5px;
  color: #475569;
  margin: 0;
  font-weight: 500;
}

.ad-card-body .ad-desc strong {
  font-weight: 700;
  color: #142D6F;
}

/* Card Button */
.ad-card-footer {
  display: flex;
  justify-content: center;
  width: 100%;
}

.view-ad-btn,
.watch-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  background: linear-gradient(135deg, #142D6F 0%, #1a2c7a 100%);
  color: #ffffff !important;
  font-size: 14.5px;
  font-weight: 700;
  padding: 10px 28px;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(20, 45, 111, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
  text-decoration: none;
}

.view-ad-btn:hover,
.watch-btn:hover {
  background: linear-gradient(135deg, #0F1A54 0%, #142D6F 100%);
  color: #ffffff !important;
  box-shadow: 0 8px 22px rgba(20, 45, 111, 0.28);
  transform: translateY(-1px);
}

.view-ad-btn svg,
.watch-btn svg {
  width: 14px;
  height: 14px;
  fill: #ffffff;
  transition: transform .2s ease;
}

.view-ad-btn:hover svg,
.watch-btn:hover svg {
  transform: scale(1.1);
}

.watch-btn .btn-icn {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.watch-btn.disabled {
  opacity: .6;
  cursor: not-allowed;
  border-color: rgba(20, 45, 111, .25);
  background: rgba(20, 45, 111, .06);
}

/* ========================================================
   7. Tasks & Offers Components (.tasks-wrap, .offer)
   ======================================================== */
.tasks-wrap {
  max-width: 960px;
  margin: clamp(8px, 2vw, 24px) auto;
  padding: 0 12px;
}

.tasks-info {
  max-width: 960px;
  margin: 8px auto 14px;
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 13.5px;
  line-height: 1.5;
  color: #fff;
  background: linear-gradient(135deg, #0f1d3a 0%, #142D6F 100%);
  border: 1px solid rgba(163, 189, 255, .22);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.tasks-info .ti {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.tasks-info .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #142D6F;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

/* Offer card */
.offer {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 18px;
  border-radius: 16px;
  margin: 12px 0;
  background: #ffffff !important;
  border: 1px solid rgba(20, 45, 111, 0.08) !important;
  box-shadow: 0 4px 16px rgba(16, 24, 64, 0.04) !important;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.offer:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(16, 24, 64, 0.08) !important;
  border-color: rgba(20, 45, 111, 0.16) !important;
}

.offer img {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  object-fit: cover;
  background: #f1f5f9;
  border: 1px solid rgba(20, 45, 111, 0.08);
  grid-column: 1/2;
}

.offer .meta {
  grid-column: 2/3;
  min-width: 0;
}

.offer .title {
  font-weight: 800;
  font-size: 15px;
  line-height: 1.3;
  color: var(--heading-color) !important;
  margin-bottom: 4px;
}

.offer .ins {
  margin: 0;
  font-size: 13px;
  line-height: 1.4;
  color: #64748b !important;
}

.offer .cta {
  grid-column: 3/4;
  white-space: nowrap;
}

.offer .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 20px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 13.5px;
  letter-spacing: .2px;
  text-decoration: none;
  border: none;
  color: #ffffff !important;
  background: linear-gradient(135deg, #142D6F 0%, #1a2c7a 100%);
  box-shadow: 0 4px 14px rgba(20, 45, 111, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.16);
  transition: transform .15s ease, box-shadow .18s ease;
  position: relative;
  overflow: hidden;
}

.offer .btn:hover {
  background: linear-gradient(135deg, #0F1A54 0%, #142D6F 100%);
  box-shadow: 0 8px 22px rgba(20, 45, 111, 0.28);
  transform: translateY(-1px);
}

.offer .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .16) 45%, transparent 75%);
  transform: translateX(-100%);
  opacity: .35;
  animation: btnSheen 2.2s infinite;
}

@keyframes btnSheen {
  0% { transform: translateX(-120%); }
  60%, 100% { transform: translateX(120%); }
}

.offer .btn:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(20, 45, 111, .35);
  color: #fff;
}

@media (max-width: 520px) {
  .offer {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
  }
  .offer img {
    width: 56px;
    height: 56px;
  }
  .offer .cta {
    grid-column: 1 / -1;
  }
  .offer .btn {
    width: 100%;
  }
}

/* ========================================================
   8. Referrals Components (.ref-box, .ref-list)
   ======================================================== */
.ref-box {
  background: linear-gradient(180deg, rgba(0, 38, 95, 1) 0%, rgba(0, 38, 95, 1) 100%);
  border-radius: 18px;
  padding: 24px;
  margin-top: 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .15);
}

.ref-box-title {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 18px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255, 255, 255, .25);
}

.ref-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ref-list li {
  border-bottom: 1px solid rgba(255, 255, 255, .15);
  padding: 10px 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.ref-list li:last-child {
  border-bottom: none;
}

.ref-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

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

.ref-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(4px);
  border: 2px solid rgba(255, 255, 255, .25);
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  overflow: hidden;
}

.ref-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.ref-name {
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  margin: 0;
}

.ref-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #cbd5e1;
  font-size: 13px;
}

.ref-bonus {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
  line-height: 1.2;
  display: inline-flex;
  align-items: center;
}

.ref-bonus.approved {
  color: #38bdf8;
  background: rgba(56, 189, 248, .12);
  animation: bonusGlow 2.2s ease-in-out infinite;
}

@keyframes bonusGlow {
  0%, 100% { box-shadow: 0 0 0 rgba(56, 189, 248, 0); }
  50% { box-shadow: 0 0 12px rgba(56, 189, 248, .65); }
}

/* ========================================================
   9. Cashout Components (.method-grid, .payout-notice)
   ======================================================== */
.payout-notice {
  margin-top: 16px;
  border-radius: 18px;
  padding: 16px 20px;
  color: #fff;
  background: linear-gradient(180deg, #142D6F 0%, #0f2459 100%);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .10);
}

.payout-notice.important {
  background: linear-gradient(180deg, #832020 0%, #4a0a0a 100%);
}

.payout-notice .icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .12);
}

.payout-notice .body h4 {
  margin: 0 0 4px;
  font-weight: 800;
  font-size: 16px;
  color: #fff;
}

.payout-notice .body p {
  margin: 0;
  opacity: .9;
  font-size: 13.5px;
}

/* Method Grid */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.method-card {
  background: #fff;
  border-radius: 16px;
  padding: 16px 12px;
  text-align: center;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  border: 2px solid transparent;
  box-shadow: 0 4px 14px rgba(0, 0, 0, .04);
}

.method-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, .08);
}

.method-card.active {
  border-color: #142D6F;
  box-shadow: 0 0 0 4px rgba(20, 45, 111, .08);
}

.method-card img {
  height: 28px;
  width: auto;
  display: block;
  margin: 0 auto 8px;
}

.method-card .name {
  font-weight: 700;
  color: #142D6F;
  font-size: 14px;
}

.payout-form {
  margin-top: 18px;
  background: #ffffff;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .06);
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  letter-spacing: .2px;
  color: #fff;
  background: linear-gradient(90deg, #1f3b8a 0%, #142D6F 50%, #1a2f63 100%);
  box-shadow: 0 10px 18px rgba(20, 45, 111, .25), inset 0 1px 0 rgba(255, 255, 255, .1);
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 24px rgba(20, 45, 111, .35);
  color: #fff;
}

/* ========================================================
   10. Account Form & Inputs (.input-locked, .lock-chip)
   ======================================================== */
.input-locked[readonly] {
  cursor: not-allowed;
  background: #f7f7f9;
}

.field-label {
  display: flex;
  align-items: center;
  gap: .4rem;
}

.lock-chip {
  font-size: 12px;
  line-height: 1;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef1f6;
  color: #556;
  border: 1px solid #e0e5ee;
}

.phone-wrap {
  position: relative;
}

.phone-prefix {
  position: absolute;
  left: 12px;
  top: 57%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 36px;
  padding: 0 10px;
  border-radius: 999px;
  background: #f1f3f7;
  color: #2b3445;
  border: 1px solid #dfe4ee;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  z-index: 2;
}

.phone-prefix .phone-flag {
  font-size: 16px;
  line-height: 1;
}

.phone-wrap input {
  padding-left: 82px;
}

/* Country Custom Dropdown */
.country-wrap {
  position: relative;
}

.country-trigger {
  width: 100%;
  height: 50px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background-color: #fff;
  font-size: 15px;
  color: #1f2937;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
  transition: border-color .2s, box-shadow .2s;
}

.country-trigger:hover {
  border-color: #9ca3af;
}

.country-trigger:focus,
.country-wrap.is-open .country-trigger {
  border-color: #142D6F;
  box-shadow: 0 0 0 3px rgba(20, 45, 111, .12);
  outline: none;
}

.country-trigger-content {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.country-flag-icon {
  font-size: 18px;
  line-height: 1;
  display: inline-block;
  flex-shrink: 0;
}

.country-name-text {
  font-weight: 500;
  color: #1f2937;
}

.country-caret {
  display: inline-flex;
  align-items: center;
  color: #4b5563;
  transition: transform .2s ease;
  flex-shrink: 0;
}

.country-wrap.is-open .country-caret {
  transform: rotate(180deg);
}

.country-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.08);
  z-index: 1050;
  overflow: hidden;
  display: none;
  animation: countryDropdownFadeIn .15s ease;
}

@keyframes countryDropdownFadeIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

.country-search-wrap {
  padding: 8px 10px;
  border-bottom: 1px solid #f0f2f5;
  background: #fafbfc;
}

.country-search-wrap input {
  width: 100%;
  height: 36px;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid #d1d5db;
  font-size: 13px;
  outline: none;
}

.country-search-wrap input:focus {
  border-color: #142D6F;
  box-shadow: 0 0 0 2px rgba(20, 45, 111, .1);
}

.country-options-list {
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.country-options-list::-webkit-scrollbar {
  width: 6px;
}

.country-options-list::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

.country-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  transition: background-color .15s;
}

.country-option:hover,
.country-option.is-highlighted {
  background-color: #f3f4f6;
  color: #111827;
}

.country-option.is-selected {
  background-color: #eff6ff;
  color: #1d4ed8;
  font-weight: 600;
}

.country-option .country-flag-icon {
  font-size: 18px;
}

/* Modal Dialog for Video & Site Player */
.video-modal-backdrop,
.video-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 11000;
}

.video-modal-backdrop {
  background: rgba(13, 21, 46, 0.72);
}

.video-modal {
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.video-dialog {
  width: min(920px, 94vw);
  max-height: calc(100vh - 60px);
  overflow: hidden;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .35);
  display: flex;
  flex-direction: column;
  pointer-events: auto;
}

.video-head {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: linear-gradient(180deg, #F9F7F2, #F3F1EB);
  border-bottom: 1px solid rgba(20, 45, 111, .08);
}

.vh-left, .vh-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.earn-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border-radius: 12px;
  font-weight: 800;
  color: var(--primary);
  background: linear-gradient(90deg, rgba(163, 189, 255, .25), rgba(246, 244, 239, .6)), #fff;
  border: 1px solid rgba(20, 45, 111, .12);
  box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
  position: relative;
  overflow: hidden;
}

.earn-badge .coin {
  display: inline-block;
  font-size: 16px;
  animation: coinBounceGlow 2.4s infinite ease-in-out;
  transform-origin: center;
  margin-right: 2px;
}

@keyframes coinBounceGlow {
  0%, 100% {
    transform: scale(1) translateY(0) rotate(0deg);
    filter: drop-shadow(0 2px 4px rgba(234, 179, 8, 0.3));
  }
  25% {
    transform: scale(1.18) translateY(-2px) rotate(-6deg);
    filter: drop-shadow(0 4px 8px rgba(234, 179, 8, 0.6));
  }
  50% {
    transform: scale(1.24) translateY(-3px) rotate(6deg);
    filter: drop-shadow(0 6px 12px rgba(245, 158, 11, 0.8));
  }
  75% {
    transform: scale(1.14) translateY(-1px) rotate(-3deg);
    filter: drop-shadow(0 3px 6px rgba(234, 179, 8, 0.5));
  }
}

.video-close {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #1a1f36;
  font-size: 18px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .06);
}

/* Ad Network Sponsored Chip in Modal Header */
.sponsored-ad-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px 4px 5px;
  background: #ffffff;
  border: 1px solid rgba(20, 45, 111, 0.12);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
  user-select: none;
}

.sponsored-ad-chip .sp-tag {
  display: inline-flex;
  align-items: center;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1d4ed8;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  padding: 2.5px 8px;
  border-radius: 999px;
  line-height: 1.2;
}

.sponsored-ad-chip .sp-title {
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: -0.2px;
}

@media (max-width: 576px) {
  .sponsored-ad-chip {
    padding: 3px 10px 3px 4px;
    gap: 6px;
  }
  .sponsored-ad-chip .sp-tag {
    font-size: 9px;
    padding: 2px 6px;
  }
  .sponsored-ad-chip .sp-title {
    font-size: 12px;
    max-width: 110px;
  }
}

.player-holder {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #000;
  min-height: 200px;
  max-height: 65vh;
  overflow: hidden;
}

.player-holder iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.player-shield {
  position: absolute;
  inset: 0;
  z-index: 3;
  background: transparent;
  cursor: not-allowed;
  display: none;
}

.progress-wrap2 {
  padding: 14px 18px;
  background: #fff;
}

.progress-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 6px;
  margin-bottom: 10px;
}

.progress-info {
  font-size: 14px;
  color: var(--heading-color);
  font-weight: 600;
}

.watch-warning {
  font-size: 12px;
  color: #dc2626;
  background: #fee2e2;
  padding: 2px 10px;
  border-radius: 999px;
  font-weight: 600;
}

.progress-track {
  width: 100%;
  height: 10px;
  background: #e2e8f0;
  border-radius: 999px;
  overflow: hidden;
}

.progress-bar2 {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #142D6F, #3b82f6);
  border-radius: 999px;
  transition: width .25s ease;
}

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

.report-btn {
  background: transparent;
  border: 1px solid #cbd5e1;
  color: #64748b;
  border-radius: 8px;
  padding: 4px 12px;
  font-size: 13px;
  cursor: pointer;
}

.report-btn:hover {
  background: #f1f5f9;
  color: #334155;
}

/* Modal Live Session Status Indicator (Ads & Videos) */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 999px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.08);
  transition: all .25s ease;
}

.live-status-pill.is-paused {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
}

.live-status-pill.is-credited {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #047857;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.live-status-pill.video-playing-pill {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.live-status-pill.video-playing-pill.is-paused {
  background: #fef2f2;
  border-color: #fecaca;
  color: #dc2626;
  box-shadow: 0 2px 8px rgba(220, 38, 38, 0.08);
}

.live-status-pill.video-playing-pill.is-credited {
  background: #ecfdf5;
  border-color: #6ee7b7;
  color: #047857;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.live-pulse-radar {
  position: relative;
  width: 10px;
  height: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.live-pulse-radar .pulse-core {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #16a34a;
}

.live-pulse-radar .pulse-ring {
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #22c55e;
  animation: radarPing 1.8s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes radarPing {
  0% { transform: scale(0.8); opacity: 1; }
  75%, 100% { transform: scale(2.4); opacity: 0; }
}

/* Soundwave / Equalizer Bars for Video Modal */
.equalizer-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 13px;
}

.equalizer-wave .eq-bar {
  width: 2.5px;
  border-radius: 1px;
  background: #2563eb;
  animation: eqWave 0.9s ease-in-out infinite alternate;
}

.equalizer-wave .eq-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.equalizer-wave .eq-bar:nth-child(2) { height: 100%; animation-delay: 0.3s; }
.equalizer-wave .eq-bar:nth-child(3) { height: 60%; animation-delay: 0.2s; }
.equalizer-wave .eq-bar:nth-child(4) { height: 80%; animation-delay: 0.4s; }

@keyframes eqWave {
  0% { height: 25%; }
  100% { height: 100%; }
}

.live-status-pill.is-paused .eq-bar {
  animation-play-state: paused;
  height: 35% !important;
  background: #dc2626;
}

.animated-typing-dots span {
  display: inline-block;
  animation: typingDot 1.4s infinite ease-in-out;
  opacity: 0;
}

.animated-typing-dots span:nth-child(1) { animation-delay: 0s; }
.animated-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.animated-typing-dots span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingDot {
  0%, 20% { opacity: 0; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-1px); }
  100% { opacity: 0; transform: translateY(0); }
}

/* ========================================================
   Powered By & Stripe Chip
   ======================================================== */
.powered-by {
  margin-top: 14px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: flex-end;
  color: #64748b;
  font-size: 13px;
}

.stripe-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0e1d4d;
  color: #fff;
  border-radius: 999px;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, .15);
  box-shadow: 0 4px 14px rgba(14, 29, 77, 0.18);
  vertical-align: middle;
}

.stripe-chip img {
  height: 20px !important;
  width: auto !important;
  max-height: 20px !important;
  display: block;
}

/* ========================================================
   Referral "How it Works" Comment Box
   ======================================================== */
.lonyo-blog-d-comment-box {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: 0 4px 16px rgba(20, 45, 111, 0.04);
}

.lonyo-blog-d-comment-thumb {
  flex-shrink: 0;
}

.lonyo-blog-d-comment-thumb img {
  width: 50px !important;
  height: 50px !important;
  max-width: 50px !important;
  max-height: 50px !important;
  object-fit: cover !important;
  border-radius: 10px;
}

.lonyo-blog-d-comment-data1 p {
  margin: 0;
  font-size: 15px;
  color: var(--heading-color);
  line-height: 1.45;
}

/* ========================================================
   Form Inputs & Controls Modernization
   ======================================================== */
.lonyo-main-field input,
.lonyo-main-field select {
  width: 100%;
  height: 50px;
  padding: 10px 16px;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  background-color: #fff;
  font-size: 15px;
  color: #1f2937;
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}

.lonyo-main-field input:focus,
.lonyo-main-field select:focus {
  border-color: #142D6F;
  box-shadow: 0 0 0 3px rgba(20, 45, 111, .12);
}

.lonyo-main-field.phone-wrap {
  position: relative;
}

.lonyo-main-field.phone-wrap input {
  padding-left: 82px;
}

.lonyo-main-field p {
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 14px;
  color: #142D6F;
}

.payout-form input {
  width: 100%;
  height: 50px;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 15px;
  outline: none;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}

.payout-form input:focus {
  border-color: #142D6F;
  box-shadow: 0 0 0 3px rgba(20, 45, 111, .12);
}

.payout-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #142D6F;
  font-size: 14px;
}

/* ========================================================
   14. Desktop Header & Menu Single-Line Flow & Section Spacing
   Position header as sticky so natural document flow applies,
   and spacing between header and body content is exactly 7px.
   Enforce single-line nowrap desktop navigation and compact header height.
   ======================================================== */
.site-header.lonyo-header-section {
  position: sticky !important;
  top: 0 !important;
  z-index: 999;
  padding: 10px 0 !important;
  min-height: 64px;
  display: flex;
  align-items: center;
  background: var(--white-color, #ffffff);
  border-bottom: 1px solid rgba(20, 45, 111, 0.06);
  box-shadow: 0 2px 12px rgba(20, 45, 111, 0.03);
}

/* Ensure desktop container allows proper horizontal breathing room */
@media (min-width: 992px) {
  .site-header .container {
    max-width: min(100% - 32px, 1400px) !important;
    width: 100% !important;
  }

  .site-header .lonyo-main-menu-item {
    display: flex !important;
    align-items: center !important;
    width: 100% !important;
  }

  .site-header .main-menu {
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
  }

  .site-header .main-menu.menu-left {
    margin-left: clamp(8px, 1.4vw, 24px) !important;
  }

  .site-header .main-menu > ul {
    display: flex !important;
    align-items: center !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    white-space: nowrap !important;
    margin: 0 !important;
    padding: 0 !important;
    gap: clamp(8px, 1.1vw, 18px) !important;
    list-style: none !important;
  }

  .site-header .main-menu > ul > li {
    display: inline-flex !important;
    align-items: center !important;
    margin: 0 !important;
    padding: 0 !important;
    flex-shrink: 0 !important;
  }

  /* Crisp, modern desktop nav typography and compact padding */
  .site-header .main-menu > ul > li > a {
    display: inline-flex !important;
    align-items: center !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    line-height: 1.4 !important;
    color: rgba(20, 45, 111, 0.75) !important;
    padding: 6px 4px !important;
    text-transform: capitalize;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    white-space: nowrap !important;
  }

  .site-header .main-menu > ul > li > a:hover {
    color: var(--heading-color, #142D6F) !important;
  }

  .site-header .main-menu > ul > li > a.active {
    color: var(--heading-color, #142D6F) !important;
    font-weight: 700 !important;
  }

  /* Support for dark header nav links (if applicable) */
  .site-header.bg-heading .main-menu > ul > li > a {
    color: rgba(255, 255, 255, 0.75) !important;
  }

  .site-header.bg-heading .main-menu > ul > li > a:hover,
  .site-header.bg-heading .main-menu > ul > li > a.active {
    color: #ffffff !important;
  }

  /* Desktop logout button inside navbar */
  .site-header .main-menu .nav-logout {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    color: #dc2626 !important;
    background: rgba(220, 38, 38, 0.08) !important;
    border: 1px solid rgba(220, 38, 38, 0.16) !important;
    font-size: 16px !important;
    padding: 0 !important;
    line-height: 1 !important;
    cursor: pointer;
    transition: all 0.2s ease !important;
    margin-left: 2px !important;
    flex-shrink: 0 !important;
    text-decoration: none !important;
  }

  .site-header .main-menu .nav-logout:hover {
    background: #dc2626 !important;
    color: #ffffff !important;
    border-color: #dc2626 !important;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(220, 38, 38, 0.25);
  }

  .site-header .main-menu .nav-logout i {
    font-size: 16px !important;
    line-height: 1 !important;
  }

  /* Logo sizing constraint */
  .site-header .header-logo img,
  .site-header .header-logo1 img {
    max-width: 155px !important;
    max-height: 38px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain;
    display: block;
  }

  /* Header action buttons (Account & Cashout) */
  .site-header .lonyo-default-btn.lonyo-header-btn {
    padding: 7px 18px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    border-radius: 999px !important;
    line-height: 1.4 !important;
    min-height: 36px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
  }

  /* Compact bell notification button */
  .site-header .ac-bell-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
    border-radius: 10px !important;
    flex-shrink: 0 !important;
  }
}

/* Tablet & Smaller Desktop Refinement (992px to 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .site-header .main-menu > ul {
    gap: 8px !important;
  }

  .site-header .main-menu > ul > li > a {
    font-size: 13.5px !important;
    padding: 6px 2px !important;
  }

  .site-header .lonyo-default-btn.lonyo-header-btn {
    padding: 6px 14px !important;
    font-size: 13px !important;
  }
}

/* Mobile Header Refinement (< 992px) */
@media (max-width: 991.98px) {
  .site-header.lonyo-header-section {
    padding: 10px 0 !important;
    min-height: 56px;
  }

  .site-header .header-logo img,
  .site-header .header-logo1 img {
    max-width: 140px !important;
    max-height: 34px !important;
  }
}

.lonyo-section-padding3,
.lonyo-cta-section2 {
  padding-top: 24px !important;
  padding-bottom: 30px !important;
}

@media (max-width: 991px) {
  .lonyo-section-padding3,
  .lonyo-cta-section2 {
    padding-top: 22px !important;
    padding-bottom: 24px !important;
  }
}

@media (max-width: 767px) {
  .lonyo-section-padding3,
  .lonyo-cta-section2 {
    padding-top: 20px !important;
    padding-bottom: 20px !important;
  }
}

/* Dashboard Promo Banner */
#dashboard-promo-banner:empty {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

#dashboard-promo-banner:not(:empty) {
  margin-bottom: 16px;
}

/* Referrals section follow-up block */
.cashout-wrap + .lonyo-cta-section2 {
  padding-top: 14px !important;
  padding-bottom: 30px !important;
}

/* ========================================================
   15. Mobile Drawer Header & Logout Icon Alignment
   ======================================================== */
.lonyo-menu-mobile-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 16px 20px !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.lonyo-menu-mobile-top .mobile-logo {
  display: flex;
  align-items: center;
}

.lonyo-menu-mobile-top .mobile-logo img {
  max-width: 160px;
  width: auto;
  height: auto;
}

.lonyo-menu-mobile-top .mobile-actions {
  display: flex;
  align-items: center;
  margin: 0;
}

.nav-logout.mobile {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.08);
  color: #dc2626 !important;
  border: 1px solid rgba(220, 38, 38, 0.18);
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(220, 38, 38, 0.08);
}

.nav-logout.mobile:hover,
.nav-logout.mobile:active {
  background: #dc2626;
  color: #ffffff !important;
  border-color: #dc2626;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 38, 38, 0.25);
}

.nav-logout.mobile i {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.nav-logout.mobile:hover i {
  transform: translateX(1px);
}

.lonyo-mobile-menu-btn {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 30px 20px 24px;
}

.lonyo-mobile-menu-btn a.lonyo-default-btn.sm-size {
  flex: 1;
  text-align: center;
  justify-content: center;
  margin: 0 !important;
}

/* ============================================================
   Locked Module / Daily Limit Reached UI (.ve-lock)
   ============================================================ */
.ve-lock {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid rgba(20, 45, 111, .12);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 10px 30px rgba(20, 45, 111, .06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
}

.ve-lock .cap-chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(163, 189, 255, .25), rgba(246, 244, 239, .6));
  border: 1px solid rgba(20, 45, 111, .12);
  color: var(--heading-color, #142D6F);
  font-weight: 700;
  font-size: 14px;
}

.ve-lock .cap-chip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--heading-color, #142D6F);
}

.ve-lock h4 {
  margin: 4px 0 0;
  font-weight: 800;
  color: var(--heading-color, #142D6F);
  font-size: 1.5rem;
}

.ve-lock p {
  margin: 0;
  color: #1a1f36;
  opacity: .85;
}

/* Circular timer ring */
.ve-ring {
  --p: 0%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background:
    conic-gradient(var(--heading-color, #142D6F) var(--p),
      rgba(20, 45, 111, .12) 0);
  display: grid;
  place-items: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(20, 45, 111, .15);
  margin: 8px 0;
}

.ve-ring::after {
  content: "";
  position: absolute;
  inset: 14px;
  background: #fff;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px rgba(20, 45, 111, .08);
}

.ve-ring-time {
  position: relative;
  z-index: 1;
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--heading-color, #142D6F);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.5px;
}

.ve-lock .cap-note {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(163, 189, 255, .25), rgba(246, 244, 239, .6));
  border: 1px solid rgba(20, 45, 111, .12);
  color: var(--heading-color, #142D6F);
  font-weight: 600;
  font-size: 13px;
}

.ve-lock .cap-when {
  font-weight: 700;
  color: var(--heading-color, #142D6F);
}

/* ============================================================
   Keep Earning Cards & SVG Animations
   ============================================================ */
@keyframes earnFloat {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-3.5px);
  }
}

@keyframes earnPulseScale {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.15);
  }
}

@keyframes earnSparkle {
  0%, 100% {
    opacity: 0.35;
    transform: scale(0.8) rotate(0deg);
  }
  50% {
    opacity: 1;
    transform: scale(1.25) rotate(45deg);
  }
}

@keyframes earnFlame {
  0%, 100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.25) translate(-1px, 1px);
    opacity: 1;
  }
}

.earn-more-card {
  display: block;
  background: #ffffff;
  border: 1px solid rgba(20, 45, 111, 0.1) !important;
  border-radius: 16px;
  box-shadow: 0 2px 10px rgba(20, 45, 111, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  height: 100%;
}

.earn-more-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(20, 45, 111, 0.09);
  border-color: rgba(20, 45, 111, 0.25) !important;
}

.earn-more-inner {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-align: left;
}

.earn-more-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.earn-more-art-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.earn-svg {
  display: block;
  width: 50px;
  height: 50px;
}

/* SVG animated sub-elements */
.earn-svg .svg-elem-play {
  transform-origin: 26px 24px;
  animation: earnPulseScale 2.4s ease-in-out infinite;
}

.earn-svg .svg-elem-screen {
  transform-origin: center;
  animation: earnFloat 3.2s ease-in-out infinite;
}

.earn-svg .svg-elem-gift {
  transform-origin: center;
  animation: earnFloat 3s ease-in-out infinite;
}

.earn-svg .svg-elem-rocket {
  transform-origin: center;
  animation: earnFloat 2.8s ease-in-out infinite;
}

.earn-svg .svg-elem-flame {
  transform-origin: 20px 33px;
  animation: earnFlame 0.8s ease-in-out infinite;
}

.earn-svg .svg-elem-browser {
  transform-origin: center;
  animation: earnFloat 3s ease-in-out infinite;
}

.earn-svg .svg-elem-cursor {
  transform-origin: 30px 30px;
  animation: earnPulseScale 2s ease-in-out infinite;
}

.earn-svg .svg-elem-sparkle {
  transform-origin: 37px 12px;
  animation: earnSparkle 2.6s ease-in-out infinite;
}

.earn-svg .svg-elem-sparkle2 {
  transform-origin: 12px 13px;
  animation: earnSparkle 2.2s 0.8s ease-in-out infinite;
}

.earn-more-card:hover .earn-more-art-wrap {
  transform: scale(1.1) rotate(2deg);
}

.earn-more-title {
  color: var(--heading-color, #142D6F);
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.earn-more-desc {
  color: #64748b;
  margin-bottom: 18px;
  line-height: 1.45;
}

.earn-more-footer {
  margin-top: auto;
}

.earn-more-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.earn-more-card:hover .earn-more-btn {
  background: var(--heading-color, #142D6F);
  border-color: var(--heading-color, #142D6F);
  color: #fff;
  box-shadow: 0 4px 12px rgba(20, 45, 111, 0.2);
}

.earn-more-arrow-circle {
  display: none;
}

.earn-badge-mobile {
  display: none;
}

/* Category Badges */
.earn-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.2px;
}

.earn-badge-video {
  background: rgba(255, 77, 109, 0.12);
  color: #E01A4F;
  border: 1px solid rgba(255, 77, 109, 0.25);
}

.earn-badge-offers {
  background: rgba(67, 97, 238, 0.12);
  color: #4361EE;
  border: 1px solid rgba(67, 97, 238, 0.25);
}

.earn-badge-referral {
  background: rgba(6, 214, 160, 0.15);
  color: #0d8a68;
  border: 1px solid rgba(6, 214, 160, 0.3);
}

.earn-badge-web {
  background: rgba(20, 45, 111, 0.1);
  color: #142D6F;
  border: 1px solid rgba(20, 45, 111, 0.2);
}

/* Mobile Compact Layout (< 768px) */
@media (max-width: 767.98px) {
  .ve-lock {
    padding: 26px 16px;
    border-radius: 16px;
    gap: 12px;
  }

  .ve-ring {
    width: 140px;
    height: 140px;
  }

  .ve-more-ways {
    margin-top: 1.25rem !important;
    padding-top: 1.25rem !important;
  }

  .ve-more-ways h5 {
    font-size: 1.05rem;
  }

  .earn-more-inner {
    flex-direction: row;
    align-items: center;
    padding: 12px 14px;
    gap: 12px;
  }

  .earn-more-header {
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .earn-more-header .earn-badge {
    display: none;
  }

  .earn-more-art-wrap .earn-svg {
    width: 44px;
    height: 44px;
  }

  .earn-more-body {
    flex: 1;
    min-width: 0;
  }

  .earn-more-title-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 2px;
  }

  .earn-more-title {
    font-size: 0.92rem;
    margin-bottom: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .earn-badge-mobile {
    display: inline-block;
    font-size: 10px;
    padding: 1px 7px;
    border-radius: 999px;
  }

  .earn-more-desc {
    font-size: 0.78rem;
    margin-bottom: 0;
    line-height: 1.25;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .earn-more-footer {
    margin-top: 0;
    flex-shrink: 0;
  }

  .earn-more-btn {
    display: none;
  }

  .earn-more-arrow-circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(20, 45, 111, 0.06);
    color: var(--heading-color, #142D6F);
    font-size: 16px;
    transition: all 0.2s ease;
  }

  .earn-more-card:active .earn-more-arrow-circle {
    background: var(--heading-color, #142D6F);
    color: #ffffff;
    transform: scale(0.92);
  }
}

/* ========================================================
   Welcome Registration Bonus Modal & Animations
   ======================================================== */
.welcome-bonus-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(10, 20, 50, 0.65);
  backdrop-filter: blur(8px);
  z-index: 10500;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.welcome-bonus-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.welcome-bonus-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 10501;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), visibility 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.welcome-bonus-modal.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.wb-dialog {
  position: relative;
  width: 100%;
  max-width: 530px;
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 25px 60px -12px rgba(10, 20, 50, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.2);
  transform: scale(0.92) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.welcome-bonus-modal.is-open .wb-dialog {
  transform: scale(1) translateY(0);
}

.wb-banner {
  position: relative;
  height: 145px;
  background: linear-gradient(135deg, #091436 0%, #112255 50%, #19357b 100%);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wb-streamers {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.streamer {
  position: absolute;
  border-radius: 999px;
  opacity: 0.9;
  animation: streamerSway 3s ease-in-out infinite alternate;
}

.s-ribbon {
  width: 3.5px;
  border-radius: 2px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.25));
}

.s-dot {
  border-radius: 50%;
  animation: dotFloat 2.5s ease-in-out infinite alternate;
}

.s-rect {
  border-radius: 2px;
  animation: rectSpin 4s linear infinite;
}

@keyframes streamerSway {
  0% {
    transform: rotate(var(--rot, 0deg)) translateY(0);
  }
  100% {
    transform: rotate(calc(var(--rot, 0deg) + 14deg)) translateY(-5px);
  }
}

@keyframes dotFloat {
  0% { transform: translateY(0) scale(0.9); }
  100% { transform: translateY(-6px) scale(1.15); }
}

@keyframes rectSpin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.wb-coins-art {
  position: absolute;
  right: 24px;
  bottom: 10px;
  width: 120px;
  height: 90px;
  pointer-events: none;
}

.wb-floating-coin {
  animation: coinHover 3s ease-in-out infinite alternate;
  transform-origin: center;
}

@keyframes coinHover {
  0% { transform: translate(68px, 20px) rotate(-12deg); }
  100% { transform: translate(68px, 12px) rotate(-4deg); }
}

.wb-sparkle-1 {
  animation: sparkleFlash 2s ease-in-out infinite alternate;
}
.wb-sparkle-2 {
  animation: sparkleFlash 2s ease-in-out infinite alternate 0.8s;
}

@keyframes sparkleFlash {
  0%, 100% { opacity: 0.3; transform: scale(0.8); }
  50% { opacity: 1; transform: scale(1.3); }
}

.wb-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 5;
}
.wb-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.1);
}

.wb-body {
  padding: 30px 32px 28px;
  text-align: center;
  background: #ffffff;
}

.wb-title {
  font-size: 22px;
  font-weight: 800;
  color: #142d6f;
  letter-spacing: -0.4px;
  margin-bottom: 12px;
}

.wb-desc {
  font-size: 15px;
  line-height: 1.55;
  color: #475569;
  margin-bottom: 24px;
  padding: 0 8px;
}

.wb-highlight {
  color: #eab308;
  font-weight: 800;
}

.wb-claim-btn {
  width: 100%;
  max-width: 270px;
  margin: 0 auto 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 28px;
  background: linear-gradient(135deg, #142d6f 0%, #1e3a8a 100%);
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(20, 45, 111, 0.3);
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}
.wb-claim-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(20, 45, 111, 0.4);
}
.wb-claim-btn:active {
  transform: scale(0.98);
}
.wb-claim-btn .wb-star {
  font-size: 17px;
  color: #fde047;
}

.wb-tip-box {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: #f8faff;
  border: 1px solid #e0e7ff;
  border-radius: 14px;
  text-align: left;
  max-width: 440px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(20, 45, 111, 0.04);
  transition: all 0.2s ease;
}
.wb-tip-box:hover {
  border-color: #c7d2fe;
  background: #f4f7ff;
}

.wb-tip-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, #e0e7ff 0%, #dbeafe 100%);
  color: #1e3a8a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(30, 58, 138, 0.08);
}

.wb-tip-text {
  font-size: 13px;
  line-height: 1.45;
  color: #475569;
  font-weight: 600;
}

.wb-tip-text strong {
  color: #142d6f;
  font-weight: 800;
}

@media (max-width: 576px) {
  .welcome-bonus-modal {
    padding: 16px 14px;
  }
  .wb-body {
    padding: 24px 18px 22px;
  }
  .wb-title {
    font-size: 20px;
  }
  .wb-desc {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 20px;
    padding: 0;
  }
  .wb-claim-btn {
    max-width: 100%;
    margin-bottom: 16px;
  }
  .wb-tip-box {
    padding: 11px 12px;
    gap: 10px;
    border-radius: 12px;
  }
  .wb-tip-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .wb-tip-icon svg {
    width: 16px;
    height: 16px;
  }
  .wb-tip-text {
    font-size: 12px;
    line-height: 1.4;
  }
}

/* Flying Coin / Claim Confetti particles */
.wb-particle {
  position: fixed;
  pointer-events: none;
  z-index: 10600;
  border-radius: 50%;
  transition: all 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Bar Glow Animation */
@keyframes barFillGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  50% {
    box-shadow: 0 0 20px 6px rgba(16, 185, 129, 0.9);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}
.lonyo-skill-bar.is-filling {
  animation: barFillGlow 1.8s ease-out;
}

/* ========================================================
   Live Payments Proofs Feed & Badges
   ======================================================== */
.live-pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #059669;
  letter-spacing: 0.02em;
}
.live-pulse-badge.dark {
  background: rgba(16, 185, 129, 0.2);
  border-color: rgba(16, 185, 129, 0.4);
  color: #34d399;
}
.live-dot-ping {
  position: relative;
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #10b981;
}
.live-dot-ping::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 2px solid #10b981;
  animation: liveDotWave 1.8s cubic-bezier(0, 0.2, 0.8, 1) infinite;
}
@keyframes liveDotWave {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

/* Metric summary cards */
.pay-metric-card {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  padding: 22px 24px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  display: flex;
  align-items: center;
  gap: 16px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pay-metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
}
.pay-metric-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pay-metric-val {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  line-height: 1.1;
  letter-spacing: -0.5px;
}
.pay-metric-lbl {
  font-size: 13px;
  font-weight: 600;
  color: #64748b;
  margin-top: 4px;
}

/* Live payments main card & controls */
.live-payments-card {
  background: #ffffff;
  border-radius: 20px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.07);
  overflow: hidden;
}
.live-payments-header {
  padding: 24px 28px;
  border-bottom: 1px solid #f1f5f9;
  background: #ffffff;
}
.method-filter-btn {
  padding: 7px 15px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.method-filter-btn:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.method-filter-btn.active {
  background: #142d6f;
  color: #ffffff;
  border-color: #142d6f;
  box-shadow: 0 4px 12px rgba(20, 45, 111, 0.25);
}

.live-search-wrap {
  position: relative;
  min-width: 260px;
}
.live-search-wrap input {
  width: 100%;
  padding: 9px 14px 9px 38px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  background: #ffffff;
}
.live-search-wrap input:focus {
  border-color: #142d6f;
  box-shadow: 0 0 0 3px rgba(20, 45, 111, 0.12);
}
.live-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  pointer-events: none;
}

.live-refresh-btn {
  padding: 8px 14px;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  color: #334155;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}
.live-refresh-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}
.live-refresh-btn.spinning svg {
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* Payment Row Items */
.live-pay-table th {
  padding: 14px 20px;
  background: #f8fafc;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #64748b;
  font-weight: 700;
  border-bottom: 1px solid #e2e8f0;
}
.live-pay-table td {
  padding: 18px 20px;
  vertical-align: middle;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
}
.live-pay-table tr:last-child td {
  border-bottom: none;
}
.live-pay-table tr {
  transition: background 0.15s ease;
}
.live-pay-table tr:hover {
  background: #fbfdff;
}

.pay-user-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}
.pay-avatar {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #e2e8f0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  color: #142d6f;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}
.pay-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pay-user-name {
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}
.pay-user-email {
  font-size: 12px;
  color: #64748b;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.pay-country-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 13px;
  color: #334155;
}
.pay-country-flag {
  font-size: 16px;
  line-height: 1;
}

.pay-gateway-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #1e293b;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}
.pay-gateway-pill img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.pay-amount-text {
  font-size: 16px;
  font-weight: 800;
  color: #059669;
  letter-spacing: -0.3px;
}

.pay-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: #047857;
}

.pay-time-text {
  font-size: 12px;
  color: #64748b;
  font-weight: 500;
}

/* Cashout page live proof link button */
.live-proofs-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}
.live-proofs-link:hover {
  background: rgba(16, 185, 129, 0.25);
  color: #6ee7b7;
  transform: translateY(-1px);
}
.live-dot-mini {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 6px #10b981;
}

/* ========================================================
   28. Dashboard Card Containers & Mobile Width Optimization
   ======================================================== */
.lonyo-pricing-wrap {
  padding: 0 !important;
  border-radius: 16px !important;
  background-color: var(--white-bg);
  border: 1px solid rgba(20, 45, 111, 0.08);
  box-shadow: 0 4px 16px rgba(16, 24, 64, 0.04);
  margin-bottom: 24px;
  overflow: hidden;
}

.lonyo-pricing-wrap:hover {
  box-shadow: 0 6px 20px rgba(16, 24, 64, 0.07) !important;
  border-color: rgba(20, 45, 111, 0.14) !important;
}

.dashboard-card-body {
  padding: 28px 28px;
}

.balance-card-body {
  padding: 28px 28px;
}

.balance-callout {
  padding: 28px 28px !important;
}

@media (max-width: 767.98px) {
  /* Reduce outer container margins on mobile to maximize card and content width */
  .lonyo-section-padding3 .container,
  .lonyo-cta-section2 .container {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .lonyo-pricing-wrap {
    margin-bottom: 14px;
    border-radius: 14px !important;
  }

  /* Compact inner card padding on mobile to maximize card and grid width */
  #quick-actions .lonyo-pricing-wrap > .dashboard-card-body,
  #quick-actions .lonyo-pricing-wrap > .p-3,
  #quick-actions .lonyo-pricing-wrap > .p-4 {
    padding: 16px 12px !important;
  }

  .lonyo-pricing-wrap .balance-card-body,
  .lonyo-pricing-wrap .col-lg-7.p-3,
  .lonyo-pricing-wrap .col-lg-7.p-4 {
    padding: 16px 12px !important;
  }

  .lonyo-pricing-wrap .balance-callout {
    padding: 16px 12px !important;
    border-left: 0 !important;
    border-top: 1px dashed rgba(0, 26, 61, 0.12) !important;
    margin-top: 10px;
  }

  /* Quick Actions 2x2 grid */
  .qa-grid {
    gap: 8px !important;
  }

  .qa-card {
    padding: 11px 8px !important;
    border-radius: 10px !important;
  }

  .qa-title {
    font-size: 0.95rem !important;
    margin-bottom: 2px !important;
    white-space: nowrap !important;
  }

  .qa-sub {
    font-size: 0.82rem !important;
    white-space: nowrap !important;
  }

  /* Invite Friends yellow card */
  .ref-card-link {
    display: inline-block !important;
    width: 100% !important;
    max-width: 340px !important;
  }

  .ref-card {
    width: 100% !important;
    min-width: unset !important;
    padding: 14px 60px 14px 14px !important;
  }

  /* Counters container on mobile */
  #dashboard-counters,
  .portal-subpage-counters {
    padding: 16px 12px !important;
    margin-bottom: 12px !important;
    border-radius: 14px !important;
  }

  /* Speed boosters */
  .booster-list {
    gap: 8px !important;
  }

  .booster-step {
    padding: 11px 12px !important;
  }

  /* Verification alert box */
  .alert-box {
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }

  /* Balance chips on mobile */
  .dashboard-chip {
    padding: 5px 10px !important;
    font-size: 12px !important;
  }

  /* Earning cards (Ads & Videos) on mobile */
  .lonyo-blog-wrap.ve-card,
  .ve-card {
    padding: 14px 12px !important;
    border-radius: 14px !important;
    margin-bottom: 14px !important;
  }

  .ve-card .view-ad-btn,
  .ve-card .watch-btn {
    width: 100% !important;
  }

  /* Offer cards (Tasks) on mobile */
  .offer {
    grid-template-columns: 50px 1fr !important;
    gap: 12px !important;
    padding: 14px 12px !important;
    border-radius: 14px !important;
    margin: 10px 0 !important;
  }

  .offer img {
    width: 50px !important;
    height: 50px !important;
    border-radius: 10px !important;
  }

  .offer .cta {
    grid-column: 1 / -1 !important;
    width: 100% !important;
  }

  .offer .btn {
    width: 100% !important;
  }
}
