:root {
  --bg-page: #F5F8FD;
  --text-navy: #091A3C;
  --text-muted: #647696;
  --blue-primary: #1D63E8;
  --blue-light: #E8EDFC;
  --card-border: #E4ECF7;
  --radius-xl: 22px;
  --radius-lg: 18px;
  --radius-md: 14px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  background: var(--bg-page);
  color: var(--text-navy);
  width: 100%;
  height: 100%;
  height: 100dvh;
  margin: 0;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-text-size-adjust: 100%;
}

input, select, textarea {
  user-select: text;
  -webkit-user-select: text;
}

#root, .app-shell {
  width: 100vw;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  background: var(--bg-page);
  position: relative;
  overflow: hidden;
}

.app-viewport {
  flex: 1;
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.app-screen {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px));
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  transition: opacity 0.2s cubic-bezier(0.22, 1, 0.36, 1), transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.2s;
  scrollbar-width: none;
}
.app-screen::-webkit-scrollbar {
  display: none;
}
.app-screen.active-screen {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.screen-content {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  padding: 12px 16px 24px;
}

.native-topbar {
  position: sticky;
  top: 0;
  z-index: 25;
  background: rgba(245, 248, 253, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 234, 246, 0.7);
  padding: 13px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Toast Notification */
.toast {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  background: #091A3C;
  color: #FFFFFF;
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 999;
  box-shadow: 0 10px 28px rgba(9, 26, 60, 0.25);
  max-width: 92%;
  text-align: center;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
.toast.warning {
  background: #B45309;
}
.toast.error {
  background: #DC2626;
}

/* Top App Header */
.app-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 0 14px;
  gap: 8px;
}
.brand-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.brand-logo {
  width: clamp(50px, 14vw, 58px);
  height: clamp(52px, 14.5vw, 60px);
  object-fit: contain;
  display: block;
  margin-left: -3px;
  flex-shrink: 0;
}
.brand-text h1 {
  font-size: clamp(23px, 6.4vw, 27px);
  font-weight: 800;
  color: var(--text-navy);
  line-height: 1.08;
  letter-spacing: -0.5px;
}
.brand-text p {
  font-size: clamp(11.5px, 3.2vw, 12.8px);
  font-weight: 500;
  color: #6B7B9A;
  margin-top: 3px;
  white-space: nowrap;
}
.brand-text p .dot {
  margin: 0 3px;
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.bell-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #E8EDFC;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.bell-btn:active {
  transform: scale(0.93);
  background: #DCE5FA;
}
.bell-btn svg {
  width: 22px;
  height: 22px;
  color: var(--text-navy);
}
.bell-dot {
  position: absolute;
  top: 5px;
  right: 4px;
  width: 9.5px;
  height: 9.5px;
  border-radius: 50%;
  background: #EF3B2D;
  border: 1.8px solid var(--bg-page);
}

/* Hero Banner */
.hero-banner {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(106deg, #061640 0%, #0C2768 42%, #255FC8 78%, #4F94F8 100%);
  padding: clamp(16px, 4.8vw, 21px) clamp(15px, 4.4vw, 19px);
  min-height: clamp(150px, 41vw, 168px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 10px 26px rgba(17, 50, 128, 0.2);
  margin-bottom: 15px;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 60%;
}
.hero-tag {
  font-size: clamp(9.5px, 2.7vw, 10.8px);
  font-weight: 600;
  letter-spacing: 0.7px;
  color: #DCE7FE;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.hero-title {
  font-size: clamp(18.5px, 5.4vw, 22px);
  font-weight: 800;
  line-height: 1.2;
  color: #FFFFFF;
  letter-spacing: -0.3px;
}
.hero-title .cyan {
  background: linear-gradient(90deg, #7EE8FA 0%, #6EC6FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title .pink {
  background: linear-gradient(90deg, #B58CFF 0%, #F472D0 50%, #FF66C4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: clamp(11.2px, 3.1vw, 12.5px);
  font-weight: 500;
  color: #D7E3FC;
  margin: 6px 0 12px;
}
.hero-cta {
  width: 48px;
  height: 29px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(90deg, #2563EB 0%, #38BDF8 100%);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.38);
  transition: transform 0.15s ease;
}
.hero-cta:active {
  transform: scale(0.93);
}
.hero-cta svg {
  width: 17px;
  height: 17px;
}
.hero-art {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 50%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 16%);
  mask-image: linear-gradient(to right, transparent 0%, black 16%);
}

/* Search Box */
.search-box {
  background: #FFFFFF;
  border: 1px solid #E4ECF7;
  border-radius: 16px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.025);
  margin-bottom: 15px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.search-box:focus-within {
  border-color: #93C5FD;
  box-shadow: 0 4px 14px rgba(29, 99, 232, 0.08);
}
.search-box svg {
  width: 19px;
  height: 19px;
  color: #5C6F91;
  flex-shrink: 0;
}
.search-box input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-navy);
}
.search-box input::placeholder {
  color: #7D8FB0;
}
.search-clear {
  display: none;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #E2E8F0;
  color: #475569;
  border: none;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  flex-shrink: 0;
}

/* Daily Check-in Card */
.daily-card {
  background: linear-gradient(180deg, #E7ECFD 0%, #EFF3FE 100%);
  border: 1px solid #DCE5FC;
  border-radius: var(--radius-xl);
  padding: 15px 12px 13px;
  margin-bottom: 19px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.05);
  position: relative;
  overflow: visible;
}
.daily-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 13px;
  gap: 8px;
}
.daily-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
.daily-cal-icon {
  width: clamp(44px, 12vw, 50px);
  height: clamp(48px, 13vw, 54px);
  object-fit: contain;
  flex-shrink: 0;
}
.daily-title {
  font-size: clamp(15px, 4.3vw, 17px);
  font-weight: 800;
  color: var(--text-navy);
  line-height: 1.2;
}
.daily-sub {
  font-size: clamp(11px, 3vw, 12.2px);
  font-weight: 500;
  color: #5B6E92;
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.streak-pill {
  background: #D8F2F6;
  border-radius: 999px;
  padding: 5px 12px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: clamp(11.5px, 3.3vw, 13px);
  font-weight: 700;
  color: #0E706E;
  flex-shrink: 0;
}
.streak-flame-icon {
  width: 17px;
  height: 19px;
  object-fit: contain;
  display: block;
}
.inline-coin {
  flex-shrink: 0;
  display: inline-block;
}
.coin-inline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.title-icon {
  width: 21px;
  height: 21px;
  color: var(--blue-primary);
  vertical-align: -4px;
  margin-right: 5px;
}
.btn-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.method-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.method-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.dot-esewa { background: #16A34A; box-shadow: 0 0 0 2px rgba(22, 163, 74, 0.2); }
.dot-khalti { background: #7C3AED; box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.2); }
.dot-binance { background: #F59E0B; box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2); }
.dot-paypal { background: #2563EB; box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2); }

.days-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(4px, 1.3vw, 6px);
}
.day-box {
  background: #E6F9F5;
  border: 1px solid #C8F0E5;
  border-radius: 12px;
  padding: 7px 2px 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease;
  position: relative;
}
.day-box.upcoming {
  background: #F4F7FE;
  border-color: #DCE5F7;
}
.day-box.upcoming .day-check {
  background: #CBD5E1;
}
.day-box.ready-today {
  background: #E0FBF4;
  border: 1.5px solid #0EB47C;
  box-shadow: 0 0 0 3px rgba(14, 180, 124, 0.16);
  animation: pulseDayBox 1.8s infinite ease-in-out;
}
.day-box.ready-today .day-check {
  background: #1D63E8;
}
.day-box.claimed-anim {
  animation: dayClaimPop 0.65s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes pulseDayBox {
  0%, 100% { transform: translateY(0); box-shadow: 0 0 0 2px rgba(14, 180, 124, 0.14); }
  50% { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(14, 180, 124, 0.26); }
}
@keyframes dayClaimPop {
  0% { transform: scale(0.85); }
  45% { transform: scale(1.18) rotate(-3deg); background: #A7F3D0; }
  75% { transform: scale(0.96) rotate(2deg); }
  100% { transform: scale(1) rotate(0); }
}

.day-check {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #0EB47C;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 4px;
  transition: transform 0.25s ease, background 0.25s ease;
}
.day-check svg {
  width: 11px;
  height: 11px;
  stroke-width: 3;
}
.day-num {
  font-size: clamp(11.5px, 3.2vw, 12.5px);
  font-weight: 800;
  color: var(--text-navy);
  line-height: 1.15;
}
.day-label {
  font-size: clamp(9.2px, 2.5vw, 10.2px);
  font-weight: 500;
  color: #5F7295;
  margin-top: 1px;
}
.day-box.day-7 {
  background: #FDF4DB;
  border-color: #F6DF9E;
}
.day-box.day-7 .day-gift {
  width: 21px;
  height: 21px;
  object-fit: contain;
  margin-bottom: 2px;
}
.day-box.day-7 .day-num,
.day-box.day-7 .day-label {
  color: #D96B16;
}
.day-box.day-7 .day-label {
  font-weight: 600;
}

/* Daily Claim Button below 7-Day Grid */
.daily-claim-wrap {
  margin-top: 11px;
}
.daily-claim-btn {
  width: 100%;
  border: none;
  border-radius: 13px;
  padding: 10.5px 14px;
  background: linear-gradient(95deg, #10B981 0%, #059669 50%, #0D9488 100%);
  color: #FFFFFF;
  font-size: clamp(12.5px, 3.5vw, 13.5px);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  cursor: pointer;
  box-shadow: 0 5px 14px rgba(16, 185, 129, 0.28);
  position: relative;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.daily-claim-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.28), transparent);
  animation: btnShimmer 2.8s infinite;
}
@keyframes btnShimmer {
  0% { left: -100%; }
  60%, 100% { left: 140%; }
}
.daily-claim-btn:active:not(:disabled) {
  transform: scale(0.97);
}
.daily-claim-btn:disabled,
.daily-claim-btn.claimed-state {
  background: #DCE5F7;
  color: #4E6185;
  box-shadow: none;
  cursor: default;
}
.daily-claim-btn:disabled::after,
.daily-claim-btn.claimed-state::after {
  display: none;
}
.claim-btn-icon {
  font-size: 15px;
  line-height: 1;
}

/* Claim Burst Particle & Floating Reward Animation */
.claim-fx-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: visible;
  z-index: 30;
}
.claim-particle {
  position: absolute;
  font-size: 18px;
  pointer-events: none;
  animation: particleFly 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes particleFly {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.5) rotate(0deg);
  }
  70% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(var(--tx), var(--ty)) scale(1.25) rotate(var(--rot));
  }
}
.claim-float-badge {
  position: absolute;
  left: 50%;
  bottom: 48px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #F59E0B, #D97706);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 14px;
  padding: 6px 14px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(245, 158, 11, 0.4);
  white-space: nowrap;
  animation: floatUpReward 1.25s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
@keyframes floatUpReward {
  0% { opacity: 0; transform: translate(-50%, 10px) scale(0.7); }
  25% { opacity: 1; transform: translate(-50%, -14px) scale(1.08); }
  80% { opacity: 1; transform: translate(-50%, -32px) scale(1); }
  100% { opacity: 0; transform: translate(-50%, -46px) scale(0.95); }
}

/* Explore & Earn Section */
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(17px, 4.8vw, 19px);
  font-weight: 800;
  color: var(--text-navy);
  margin: 0;
}
.view-all-btn {
  background: none;
  border: none;
  color: var(--blue-primary);
  font-size: 13.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  cursor: pointer;
  padding: 4px 0;
}
.view-all-btn svg {
  width: 15px;
  height: 15px;
}

.explore-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(9px, 2.6vw, 12px);
}
.explore-card {
  border-radius: 18px;
  padding: 14px 8px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  min-height: clamp(118px, 32vw, 130px);
  cursor: pointer;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
  position: relative;
  overflow: hidden;
}

button.explore-card {
  width: 100%;
  font: inherit;
  color: inherit;
  cursor: pointer;
  appearance: none;
}
.explore-card:active {
  transform: scale(0.96);
}
.explore-card.card-ads {
  background: linear-gradient(180deg, #FDF4FA 0%, #F9E6F4 100%);
  border: 1px solid #F2D0E8;
  box-shadow: 0 4px 12px rgba(219, 39, 119, 0.06);
}
.explore-card.card-tasks {
  background: linear-gradient(180deg, #EEFCF9 0%, #DFEFEA 100%);
  border: 1px solid #C6EDE3;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.06);
}
.explore-card.card-games {
  background: linear-gradient(180deg, #F3F1FE 0%, #E7E2FD 100%);
  border: 1px solid #D7CFFC;
  box-shadow: 0 4px 12px rgba(124, 58, 237, 0.06);
}
.explore-icon-wrap {
  height: clamp(52px, 14.5vw, 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
}
.explore-icon {
  height: clamp(48px, 13.8vw, 56px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 4px 6px rgba(15, 23, 42, 0.08));
}
.explore-info {
  width: 100%;
}
.explore-title {
  font-size: clamp(11.2px, 3.2vw, 12.6px);
  font-weight: 800;
  color: var(--text-navy);
  line-height: 1.2;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.explore-sub {
  font-size: clamp(9.6px, 2.7vw, 10.6px);
  font-weight: 600;
  color: #5B6E92;
  margin-top: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Secondary Tabs Shared Styling */
.page-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 4px 0 14px;
}
.page-title {
  font-size: 21px;
  font-weight: 800;
  color: var(--text-navy);
}
.coin-pill {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 800;
  color: var(--text-navy);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}
.card {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 15px;
  margin-bottom: 12px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.025);
}
.small {
  font-size: 12.5px;
  color: var(--text-muted);
}

/* Tasks Tab (Clean & Smooth) */
.filter-bar {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  margin-bottom: 14px;
  scrollbar-width: none;
}
.filter-bar::-webkit-scrollbar {
  display: none;
}
.filter-chip {
  background: #FFFFFF;
  border: 1px solid #E2EAF6;
  border-radius: 999px;
  padding: 7px 15px;
  font-size: 12.5px;
  font-weight: 700;
  color: #64748B;
  white-space: nowrap;
  cursor: pointer;
  transition: all 0.15s ease;
}
.filter-chip.active {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
  color: #FFFFFF;
  box-shadow: 0 3px 10px rgba(29, 99, 232, 0.2);
}

.tasks-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.task-card {
  background: #FFFFFF;
  border: 1px solid #E6EEF8;
  border-radius: 18px;
  padding: 12px 14px;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.025);
}
.task-card.task-done {
  opacity: 0.68;
}

.task-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #EEF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.task-icon-box.platform-youtube {
  background: #FEF2F2;
}
.task-icon-box.platform-web {
  background: #F3EFFE;
}

.task-info {
  flex: 1;
  min-width: 0;
}
.task-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-navy);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.task-reward-row {
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12.5px;
  font-weight: 800;
  color: #D97706;
}

.task-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.btn-open {
  background: var(--blue-primary);
  color: #FFFFFF;
  border: none;
  border-radius: 10px;
  padding: 8px 13px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.btn-open:active {
  transform: scale(0.95);
}
.btn-verify {
  background: #EFF6FF;
  color: var(--blue-primary);
  border: 1px solid #BFDBFE;
  border-radius: 10px;
  padding: 7px 11px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.15s ease;
}
.btn-verify:active:not(:disabled) {
  transform: scale(0.95);
}
.btn-verify:disabled {
  background: #F1F5F9;
  color: #94A3B8;
  border-color: #E2E8F0;
}
.btn-done {
  background: #ECFDF5;
  color: #059669;
  border: none;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 700;
}
.empty-state {
  text-align: center;
  padding: 32px 16px;
  background: #FFFFFF;
  border-radius: var(--radius-lg);
  border: 1px dashed #CBD5E1;
}
.empty-icon {
  font-size: 28px;
  margin-bottom: 6px;
}
.empty-title {
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 4px;
}

/* Refer & Profile Tabs */
.refer-hero {
  background: linear-gradient(135deg, #F5ECFD 0%, #E8EDFC 100%);
  border: 1px solid #E2D4F8;
  border-radius: var(--radius-xl);
  padding: 18px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.refer-hero img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.refer-hero h3 {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-navy);
}
.refer-hero p {
  font-size: 12.5px;
  color: #546687;
  margin-top: 4px;
  line-height: 1.4;
}
.stats-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}
.stat-box {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 13px;
  text-align: center;
}
.stat-box .num {
  font-size: 22px;
  font-weight: 800;
  color: var(--blue-primary);
}
.stat-box .lbl {
  font-size: 11.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.form-input, .form-select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #CBD5E1;
  background: #F8FAFC;
  color: var(--text-navy);
  font-size: 13.5px;
  font-weight: 600;
  margin: 6px 0 11px;
  outline: none;
}
.form-input:focus {
  border-color: var(--blue-primary);
  background: #FFFFFF;
}
.primary-btn {
  background: linear-gradient(90deg, #1D63E8 0%, #3B82F6 100%);
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 4px 12px rgba(29, 99, 232, 0.22);
}
.ghost-btn {
  background: #EFF6FF;
  border: 1px solid #BFDBFE;
  color: var(--blue-primary);
  border-radius: 12px;
  padding: 11px 16px;
  font-weight: 700;
  font-size: 13.5px;
  cursor: pointer;
  width: 100%;
}

.profile-hero {
  background: linear-gradient(135deg, #071946 0%, #1D56C5 100%);
  color: #FFFFFF;
  border-radius: var(--radius-xl);
  padding: 20px 18px;
  text-align: center;
  margin-bottom: 14px;
  box-shadow: 0 10px 24px rgba(17, 50, 128, 0.2);
}
.profile-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}
.profile-user-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.14);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
}
.uid-copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 11.8px;
  font-weight: 600;
  cursor: pointer;
}
.uid-copy-pill:active {
  transform: scale(0.95);
}

/* Native iOS/Android Grouped Settings & Slide-in Fullscreen Subpages */
.settings-header-bar {
  padding: 12px 16px;
}
.settings-header-user {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.settings-avatar-wrap {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.16s cubic-bezier(0.22, 1, 0.36, 1);
}
.settings-avatar-wrap:active {
  transform: scale(0.9);
}
.settings-avatar-ring {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 2.5px solid #FFFFFF;
  box-shadow: 0 4px 12px rgba(29, 99, 232, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #E2E8F0;
}
.settings-avatar-status {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #10B981;
  border: 2px solid #FFFFFF;
}
.settings-user-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.settings-user-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
  min-width: 0;
}
.settings-user-name {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-navy);
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.blue-tick-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  animation: popTick 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes popTick {
  0% { transform: scale(0.3); opacity: 0; }
  80% { transform: scale(1.15); }
  100% { transform: scale(1); opacity: 1; }
}
.settings-user-handle {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.settings-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #FFFFFF;
  border: 1px solid #E2EBF8;
  color: #475569;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.settings-group-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  color: #64748B;
  padding: 4px 6px 8px;
}
.settings-group-card {
  background: #FFFFFF;
  border: 1px solid #E4ECF7;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.025);
}
.settings-row {
  width: 100%;
  background: #FFFFFF;
  border: none;
  border-bottom: 1px solid #F1F5F9;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  transition: background 0.15s ease;
}
.settings-row:last-child {
  border-bottom: none;
}
.settings-row:active {
  background: #F1F5F9;
}
.settings-item-left {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}
.settings-icon-box {
  width: 42px;
  height: 42px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.settings-icon-box.icon-blue { background: #EFF6FF; color: #2563EB; }
.settings-icon-box.icon-sky { background: #E0F2FE; color: #0284C7; }
.settings-icon-box.icon-green { background: #ECFDF5; color: #059669; }
.settings-icon-box.icon-amber { background: #FFFBEB; color: #D97706; }
.settings-icon-box.icon-purple { background: #F5F3FF; color: #7C3AED; }
.settings-icon-box.icon-teal { background: #F0FDFA; color: #0D9488; }

.settings-row-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.verify-status-pill {
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 999px;
}
.verify-status-pill.unverified {
  background: #FEF3C7;
  color: #B45309;
}
.verify-status-pill.verified {
  background: #E0F2FE;
  color: #0284C7;
}

.verify-banner-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}
.verify-banner-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: #EFF6FF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.verify-banner-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-navy);
}
.verify-banner-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.verify-field-label {
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin: 10px 0 5px;
}
.gender-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 4px 0 16px;
}
.gender-pill {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 11px 12px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-navy);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  transition: all 0.15s ease;
}
.gender-pill.active {
  background: #EFF6FF;
  border-color: var(--blue-primary);
  color: var(--blue-primary);
}
.verify-otp-box {
  margin-top: 14px;
}
.verify-otp-divider {
  height: 1px;
  background: #E2E8F0;
  margin: 14px 0;
}
.verify-otp-info {
  font-size: 12.8px;
  color: #475569;
  margin-bottom: 10px;
  text-align: center;
}
.otp-preview-banner {
  background: #EFF6FF;
  border: 1px dashed #3B82F6;
  border-radius: 12px;
  padding: 10px 14px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: #1E40AF;
}
.otp-preview-banner b {
  font-size: 17px;
  letter-spacing: 3px;
  font-weight: 800;
  color: #1D4ED8;
}
.otp-code-input {
  text-align: center;
  font-size: 20px !important;
  font-weight: 800 !important;
  letter-spacing: 6px;
}
.verify-confirm-btn {
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%) !important;
}
.verify-done-card {
  text-align: center;
  padding: 22px 18px;
}
.verify-seal-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #EFF6FF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
}
.verify-done-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-navy);
}
.verify-done-sub {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 4px 0 16px;
}
.verify-details-list {
  text-align: left;
  border-top: 1px solid #F1F5F9;
  padding-top: 10px;
}

.settings-item-title {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--text-navy);
}
.settings-item-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}
.settings-chevron {
  font-size: 21px;
  font-weight: 600;
  color: #94A3B8;
  line-height: 1;
}

.settings-subpage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  background: var(--bg-page);
  z-index: 60;
  overflow-y: auto;
  padding-bottom: calc(90px + env(safe-area-inset-bottom, 0px));
  transform: translateX(100%);
  visibility: hidden;
  transition: transform 0.28s cubic-bezier(0.32, 0.72, 0, 1), visibility 0.28s;
}
.settings-subpage.open {
  transform: translateX(0);
  visibility: visible;
}
.native-subpage-bar {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid #E8EEF7;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.native-back-btn {
  background: none;
  border: none;
  color: var(--blue-primary);
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  cursor: pointer;
  padding: 4px 6px 4px 0;
}
.native-back-btn:active {
  opacity: 0.65;
}
.native-subpage-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-navy);
}
.uid-detail-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 0 4px;
  font-size: 13.5px;
}
.faq-item {
  padding: 10px 0;
  border-bottom: 1px solid #F1F5F9;
}
.faq-q {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-navy);
  margin-bottom: 4px;
}
.faq-a {
  font-size: 12.2px;
  color: var(--text-muted);
  line-height: 1.5;
}
.profile-balance {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.profile-sub {
  font-size: 12.5px;
  color: #CBD5E1;
  margin-top: 4px;
}
/* Premium Withdrawal Page Styling */
.withdraw-hero-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #071946 0%, #1644B2 55%, #2563EB 100%);
  color: #FFFFFF;
  border-radius: 22px;
  padding: 18px 18px 16px;
  margin-bottom: 12px;
  box-shadow: 0 12px 28px rgba(17, 50, 128, 0.24);
}
.withdraw-hero-glow {
  position: absolute;
  top: -36px;
  right: -28px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.35) 0%, rgba(96, 165, 250, 0) 70%);
  pointer-events: none;
}
.withdraw-hero-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.withdraw-hero-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
  color: #93C5FD;
}
.withdraw-rate-pill {
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #E0F2FE;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
}
.withdraw-hero-balance-row {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 10px 0 14px;
  flex-wrap: wrap;
}
.withdraw-hero-coins {
  font-size: 32px;
  font-weight: 800;
  letter-spacing: -0.6px;
  line-height: 1;
}
.withdraw-hero-npr-pill {
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(52, 211, 153, 0.4);
  color: #A7F3D0;
  font-size: 12px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
}
.withdraw-hero-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(9, 26, 60, 0.36);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 10px 14px;
}
.withdraw-stat-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.withdraw-stat-lbl {
  font-size: 10.5px;
  color: #CBD5E1;
  font-weight: 600;
}
.withdraw-stat-val {
  font-size: 13px;
  font-weight: 800;
  color: #FFFFFF;
}
.withdraw-stat-divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.14);
}

.withdraw-qual-card {
  background: #FFFFFF;
  border: 1px solid #E4ECF7;
  border-radius: 18px;
  padding: 12px 14px;
  margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(15, 23, 42, 0.02);
}
.withdraw-qual-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 9px;
}
.withdraw-qual-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--text-navy);
}
.wq-badge {
  font-size: 10.5px;
  font-weight: 800;
  padding: 2.5px 9px;
  border-radius: 999px;
}
.wq-badge.locked {
  background: #FEF3C7;
  color: #B45309;
}
.wq-badge.unlocked {
  background: #DCFCE7;
  color: #15803D;
}
.withdraw-qual-pills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.wq-pill {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 11px;
  padding: 7px 9px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 600;
  color: #64748B;
}
.wq-pill b {
  font-weight: 800;
  color: var(--text-navy);
}
.wq-pill.done {
  background: #ECFDF5;
  border-color: #A7F3D0;
  color: #047857;
}
.wq-pill.done b {
  color: #047857;
}

.withdraw-countries-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  background: #FFFFFF;
  border: 1px solid #E4ECF7;
  border-radius: 14px;
  padding: 9px 12px;
  margin-bottom: 12px;
}
.wc-label {
  font-size: 11px;
  font-weight: 800;
  color: #64748B;
}
.wc-flags {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.wc-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-navy);
}
.wc-flag-img {
  width: 16px;
  height: 12px;
  object-fit: cover;
  border-radius: 2px;
}
.method-custom-logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  padding: 3px;
  flex-shrink: 0;
}
.withdraw-section-label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.7px;
  color: #64748B;
  margin: 2px 4px 8px;
}
.method-pills {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 0 0 14px;
}
.method-pill {
  position: relative;
  background: #FFFFFF;
  border: 1.5px solid #E4ECF7;
  border-radius: 16px;
  padding: 11px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: all 0.16s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
}
.method-pill:active {
  transform: scale(0.97);
}
.method-pill.active {
  background: #EFF6FF;
  border-color: var(--blue-primary);
  box-shadow: 0 6px 16px rgba(29, 99, 232, 0.12);
}
.method-brand-icon {
  width: 36px;
  height: 36px;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 900;
  color: #FFFFFF;
  flex-shrink: 0;
}
.brand-esewa { background: linear-gradient(135deg, #60BB46 0%, #3E9B28 100%); }
.brand-khalti { background: linear-gradient(135deg, #7C3AED 0%, #5B21B6 100%); }
.brand-binance { background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%); }
.brand-paypal { background: linear-gradient(135deg, #0284C7 0%, #1D4ED8 100%); }
.method-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.method-name {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-navy);
  line-height: 1.2;
}
.method-sub {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
}
.method-check {
  opacity: 0;
  color: var(--blue-primary);
  transform: scale(0.6);
  transition: all 0.15s ease;
  display: inline-flex;
}
.method-pill.active .method-check {
  opacity: 1;
  transform: scale(1);
}

.withdraw-form-card {
  padding: 16px;
  border-radius: 20px;
}
.withdraw-amount-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin: 12px 0 6px;
  flex-wrap: wrap;
}
.withdraw-quick-chips {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.w-chip {
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 800;
  color: #334155;
  cursor: pointer;
  transition: all 0.14s ease;
}
.w-chip:active {
  transform: scale(0.94);
}
.w-chip-max {
  background: #EFF6FF;
  border-color: #BFDBFE;
  color: var(--blue-primary);
}
.withdraw-amount-input {
  font-size: 15px !important;
  font-weight: 700 !important;
}
.withdraw-preview-strip {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 13px;
  padding: 10px 13px;
  margin: 4px 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.withdraw-preview-left {
  display: flex;
  flex-direction: column;
}
.withdraw-preview-lbl {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-navy);
}
.withdraw-preview-sub {
  font-size: 10.5px;
  color: var(--text-muted);
}
.withdraw-preview-val {
  font-size: 16px;
  font-weight: 800;
  color: #059669;
}
.withdraw-submit-btn {
  padding: 13px 16px !important;
  font-size: 14.5px !important;
  border-radius: 14px !important;
  box-shadow: 0 8px 20px rgba(29, 99, 232, 0.25);
}
.section-subtitle {
  font-size: 15px;
  font-weight: 800;
  margin: 14px 0 8px;
}
.withdraw-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
}
.withdraw-title {
  font-size: 13.5px;
  font-weight: 700;
}
.withdraw-amount {
  font-size: 14px;
  font-weight: 800;
}
.status-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 999px;
  margin-top: 2px;
}
.status-pending { background: #FEF3C7; color: #B45309; }
.status-paid { background: #DCFCE7; color: #15803D; }
.status-rejected { background: #FEE2E2; color: #B91C1C; }

/* Referral History & Qualification Cards */
.ref-hist-card {
  background: #FFFFFF;
  border: 1px solid #E4ECF7;
  border-radius: 16px;
  padding: 12px 14px;
  margin-bottom: 9px;
}
.ref-hist-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.ref-user-name {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-navy);
}

/* Bottom Navigation Bar (Full-Width Native Dock) */
nav.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  display: flex;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid #E8EEF7;
  border-radius: 22px 22px 0 0;
  box-shadow: 0 -6px 24px rgba(15, 23, 42, 0.06);
  padding: 6px 8px calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 100;
}
nav.bottom-nav button {
  flex: 1;
  background: none;
  border: none;
  color: #7D8AA5;
  padding: 6px 4px 8px;
  font-size: 11.5px;
  font-weight: 600;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  position: relative;
  transition: color 0.15s ease;
}
nav.bottom-nav button svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
nav.bottom-nav button.active {
  color: var(--blue-primary);
  font-weight: 700;
}
nav.bottom-nav button.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 42px;
  height: 3.5px;
  border-radius: 999px;
  background: var(--blue-primary);
}

/* Animated red coated pill CTA for Creator Reward */
.creator-cta-red-animated {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 58%, #b91c1c 100%);
  border: 1px solid rgba(254, 202, 202, 0.35);
  box-shadow: 0 8px 20px -4px rgba(220, 38, 38, 0.48), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  animation: creatorCtaPulse 2.4s ease-in-out infinite;
  transition: transform 0.14s ease, filter 0.14s ease;
}
.creator-cta-red-animated::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 55%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.34) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: creatorCtaSheen 2.6s ease-in-out infinite;
  pointer-events: none;
}
.creator-cta-red-animated:active {
  transform: scale(0.96);
  filter: brightness(0.95);
}
@keyframes creatorCtaPulse {
  0%, 100% {
    box-shadow: 0 8px 20px -4px rgba(220, 38, 38, 0.45), 0 0 0 0 rgba(239, 68, 68, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.32);
  }
  50% {
    box-shadow: 0 10px 24px -3px rgba(220, 38, 38, 0.62), 0 0 0 6px rgba(239, 68, 68, 0), inset 0 1px 0 rgba(255, 255, 255, 0.38);
  }
}
@keyframes creatorCtaSheen {
  0%, 35% {
    left: -75%;
  }
  75%, 100% {
    left: 135%;
  }
}
