/* Native App Dashboard CSS */
:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --success-color: #10b981;
  --danger-color: #ef4444;
  --warning-color: #f59e0b;
  --dark-bg: #0f172a;
  --card-bg: #1e293b;
  --text-primary: #f1f5f9;
  --text-secondary: #cbd5e1;
  --text-muted: #64748b;
  --border-color: #334155;
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-success: linear-gradient(135deg, #10b981 0%, #34d399 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fcd34d 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: var(--dark-bg);
  color: var(--text-primary);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a{
  list-style: none;
  text-decoration: none;
}

/* Hide desktop elements */
.wrapper,
.main-header,
.sidebar {
  display: none !important;
}

/* Native App Container */
.native-app-container {
  max-width: 430px;
  margin: 0 auto;
  background: var(--dark-bg);
  min-height: 100vh;
  position: relative;
  padding-bottom: 70px;
}

/* App Header */
.app-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  padding: 12px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 999;
  max-width: 430px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border-color);
}

/* Logo */
.app-logo {
  display: flex;
  align-items: center;
}

.app-logo img {
  height: 38px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.app-logo img:hover {
  transform: scale(1.05);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Action Buttons */
.header-action-btn {
  height: 40px;
  border-radius: 12px;
  background: var(--card-bg, #222);
  border: 1px solid var(--border-color, #333);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  justify-content: center;
  color: var(--text-primary, #fff);
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  text-decoration: none;
}

.header-action-btn:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* Logout */
.header-action-btn.logout {
  color: #ef4444 !important;
  border-color: rgba(239, 68, 68, 0.3);
}

.header-action-btn.logout:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #dc2626 !important;
}

/* Wallet icon spacing */
.header-action-btn.wallet i {
  font-size: 16px;
}

/* Main Content */
.app-content {
  padding-top: 25px;
  padding-bottom: 20px;
}

/* Member Card Section */
.member-card-section {
  padding: 20px;
  margin-bottom: 25px;
}

.member-card {
  background: var(--gradient-primary);
  border-radius: 24px;
  padding: 25px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
}

.member-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.1) 0%,
    transparent 70%
  );
  animation: float 20s infinite linear;
}

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

.member-info {
  position: relative;
  z-index: 2;
}

.member-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.member-profile {
  display: flex;
  align-items: center;
  gap: 15px;
}

.member-avatar {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  overflow: hidden;
}

.member-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-avatar .initial-avatar {
  width: 100% !important;
  height: 100% !important;
  background: linear-gradient(135deg, #6366f1, #8b5cf6) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  color: #fff !important;
  font-size: 24px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  border-radius: 13px !important;
}

.member-details h3 {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.member-id {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  display: flex;
  align-items: center;
  gap: 5px;
}

.member-status {
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(10px);
}

.member-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 15px;
  backdrop-filter: blur(10px);
}

.stat-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 5px;
}

.stat-value {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
/* Referral Section */
.referral-section {
  padding: 0 20px;
  margin-bottom: 25px;
}

.referral-card {
  background: var(--card-bg);
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--border-color);
  box-shadow: 0 0 10px rgba(99, 102, 241, 0.1);
}

.referral-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.referral-header h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.referral-link-box {
  background: rgba(99, 102, 241, 0.06);
  border: 1px solid rgba(99, 102, 241, 0.25);
  border-radius: 14px;
  padding: 14px 16px;
  display: block;
  align-items: center;
  gap: 10px;
  transition: 0.3s ease;
  margin-top: 10px;
}

.one{
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.referral-link-box:hover {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.1);
}

.referral-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  min-width: 45px;
}

.referral-link-box input.form-control {
  flex: 1;
  font-size: 13px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  padding: 8px 10px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.referral-link-box input.form-control:focus {
  outline: none;
  border-color: rgba(99, 102, 241, 0.6);
  box-shadow: 0 0 6px rgba(99, 102, 241, 0.3);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
}

.copy-btn {
  background: var(--gradient-primary);
  border: none;
  border-radius: 8px;
  padding: 8px 14px;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.4);
}

.copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
}

/* Quick Actions */
.quick-actions {
  padding: 0 20px;
  margin-bottom: 25px;
}

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 15px;
}

.actions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 10px;
  max-width: 450px;
  margin: 0 auto;
}

.action-item {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.action-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: all 0.3s ease;
}

.action-item:active {
  transform: scale(0.95);
}

.action-icon {
  width: 45px;
  height: 45px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  position: relative;
  z-index: 2;
}

.action-item.task-view .action-icon {
  background: rgba(99, 102, 241, 0.2);
  color: #6366f1;
}

.action-item.withdrawal .action-icon {
  background: rgba(16, 185, 129, 0.15); /* softer mint green */
  color: #0fae75; /* rich teal green */
}

.action-item.bank .action-icon {
  background: rgba(250, 204, 21, 0.15); /* warm gold tint */
  color: #d97706; /* deep golden amber */
}

.action-item.reward .action-icon {
  background: rgba(59, 130, 246, 0.15); /* soft blue glow */
  color: #2563eb; /* bright royal blue */
}

.action-item.topup .action-icon {
  background: rgba(239, 68, 68, 0.12); /* subtle coral red */
  color: #dc2626; /* vivid crimson */
}

/* Optional hover glow effect for nicer interactivity */
.action-item:hover .action-icon {
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
  transition: all 0.25s ease;
}

.action-item.epin .action-icon {
  background: rgba(255, 153, 0, 0.2);
  color: #ff9933;
}

.action-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-align: center;
  position: relative;
  z-index: 2;
}

.earn-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--gradient-success);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

/* Income Section */
.income-section {
  padding: 0 20px;
  margin-bottom: 25px;
}

.income-overview {
  background: var(--gradient-success);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 15px;
  position: relative;
  overflow: hidden;
}

.income-overview::after {
  content: "₹";
  position: absolute;
  bottom: -20px;
  right: -20px;
  font-size: 100px;
  opacity: 0.1;
  font-weight: 700;
}

.total-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 5px;
}

.total-amount {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
}

.income-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.income-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 15px;
  position: relative;
  overflow: hidden;
}

.income-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-primary);
}

.income-icon {
  /* width: 36px;
  height: 36px; */
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-bottom: 10px;
}

.income-title {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 5px;
  display: flex;
  justify-content: center;
}

.income-amount {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  justify-content: center;
}
/* Dual-value layout for income cards */
.income-dual {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 8px;
  margin-top: 4px;
}

.member-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.count-number {
  font-size: 11px;
  font-weight: 600;
  color: #ffffff;
}

.count-label {
  font-size: 10px;
  margin-top: 2px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #ccc;
}

.divider {
  font-size: 15px;
  color: #b0b3b8;
}
/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(30, 41, 59, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border-color);
  padding: 8px 0;
  z-index: 999;
  max-width: 430px;
  margin: 0 auto;
}

.nav-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px;
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.3s ease;
  position: relative;
}

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

.nav-item.active::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.nav-icon {
  font-size: 22px;
}

.nav-label {
  font-size: 11px;
  font-weight: 600;
}

/* Pull to Refresh */
.pull-to-refresh {
  position: fixed;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 40px;
  background: var(--card-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 998;
}

.pull-to-refresh.show {
  opacity: 1;
}

/* Animations */
@keyframes slideInUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.member-card,
.referral-card,
.action-item,
.income-card {
  animation: slideInUp 0.6s ease-out;
}

/* Responsive */
@media (max-width: 480px) {
  .actions-grid {
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    max-width: 100%;
  }

  .action-item {
    padding: 12px 8px;
  }

  .action-icon {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }

  .action-label {
    font-size: 11px;
  }

  .income-grid {
    grid-template-columns: 1fr;
  }

  .member-stats {
    grid-template-columns: 1fr;
  }
}

/* Iframe fixes for ad viewer */
iframe {
  -webkit-overflow-scrolling: touch;
  overflow-y: scroll;
}

/* Loading State */
.skeleton {
  background: linear-gradient(
    90deg,
    var(--card-bg) 25%,
    rgba(255, 255, 255, 0.1) 50%,
    var(--card-bg) 75%
  );
  background-size: 200% 100%;
  animation: loading 1.5s infinite;
}

@keyframes loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 1001;
  opacity: 0;
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(-10px);
}

.toast.success {
  border-color: var(--success-color);
  color: var(--success-color);
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
}

.modal-content {
  background: var(--card-bg);
  border-radius: 24px;
  max-width: 350px;
  margin: 100px auto;
  padding: 25px;
  position: relative;
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 30px;
  height: 30px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
}

/* Native Modal Overlay */
.native-modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

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

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

/* Native Modal Container */
.native-modal-container {
  background: var(--card-bg);
  border-radius: 24px;
  max-width: 380px;
  width: 100%;
  position: relative;
  overflow: hidden;
  animation: slideUp 0.4s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

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

/* Native Modal Close Button */
.native-modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  color: rgba(255, 255, 255, 0.6);
}

.native-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

/* Native Success Popup */
.native-success-popup {
  padding: 30px 20px;
  text-align: center;
  position: relative;
  overflow: visible;
}

/* Confetti Animation */
.confetti-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.confetti {
  position: absolute;
  width: 10px;
  height: 10px;
  background: var(--gradient-primary);
  animation: confetti-fall 3s linear infinite;
}

.confetti:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  background: #6366f1;
}

.confetti:nth-child(2) {
  left: 30%;
  animation-delay: 0.5s;
  background: #10b981;
}

.confetti:nth-child(3) {
  left: 50%;
  animation-delay: 1s;
  background: #f59e0b;
}

.confetti:nth-child(4) {
  left: 70%;
  animation-delay: 1.5s;
  background: #ec4899;
}

.confetti:nth-child(5) {
  left: 90%;
  animation-delay: 2s;
  background: #8b5cf6;
}

.confetti:nth-child(6) {
  left: 20%;
  animation-delay: 2.5s;
  background: #14b8a6;
}

@keyframes confetti-fall {
  0% {
    transform: translateY(-100%) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(calc(100vh + 100px)) rotate(720deg);
    opacity: 0;
  }
}

/* Success Icon Container */
.success-icon-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
}

.success-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: var(--gradient-success);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 40px;
  z-index: 2;
  animation: scaleIn 0.6s ease;
  box-shadow: 0 15px 40px rgba(16, 185, 129, 0.4);
}

@keyframes scaleIn {
  0% {
    transform: translate(-50%, -50%) scale(0);
  }
  80% {
    transform: translate(-50%, -50%) scale(1.1);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
}

.success-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border: 3px solid rgba(16, 185, 129, 0.3);
  border-radius: 50%;
  animation: ring-expand 1.5s ease infinite;
}

@keyframes ring-expand {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 1;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 0;
  }
}

/* Success Stars */
.success-stars {
  position: absolute;
  width: 100%;
  height: 100%;
}

.success-stars .fas {
  position: absolute;
  color: #f59e0b;
  animation: star-twinkle 2s ease infinite;
}

.star-1 {
  top: -10px;
  left: 20px;
  font-size: 16px;
  animation-delay: 0s;
}

.star-2 {
  top: 10px;
  right: 10px;
  font-size: 12px;
  animation-delay: 0.5s;
}

.star-3 {
  bottom: 10px;
  left: 10px;
  font-size: 14px;
  animation-delay: 1s;
}

@keyframes star-twinkle {
  0%,
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
  50% {
    transform: scale(1.5) rotate(180deg);
    opacity: 0.5;
  }
}

/* Success Content */
.success-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 20px;
  animation: slideInUp 0.6s ease 0.3s both;
}

.success-message {
  margin-bottom: 20px;
  animation: slideInUp 0.6s ease 0.4s both;
}

.success-message p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.highlight {
  color: var(--primary-color);
  font-weight: 600;
}

.approved-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gradient-success);
  color: #fff;
  padding: 10px 24px;
  border-radius: 30px;
  font-size: 18px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
  animation: pulse 2s ease infinite;
}

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

.success-description {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: slideInUp 0.6s ease 0.5s both;
}

/* Native Activate Button */
.native-activate-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--gradient-primary);
  color: #fff;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease 0.6s both;
  box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.native-activate-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.4);
}

.native-activate-btn:active {
  transform: scale(0.98);
}

/* Native Error Popup */
.native-error-popup {
  padding: 30px 20px;
  text-align: center;
  position: relative;
}

.error-icon-container {
  position: relative;
  width: 100px;
  height: 100px;
  margin: 0 auto 25px;
}

.error-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 40px;
  z-index: 2;
  animation: shake 0.6s ease;
  box-shadow: 0 15px 40px rgba(239, 68, 68, 0.4);
}

@keyframes shake {
  0%,
  100% {
    transform: translate(-50%, -50%) rotate(0deg);
  }
  25% {
    transform: translate(-50%, -50%) rotate(-10deg);
  }
  75% {
    transform: translate(-50%, -50%) rotate(10deg);
  }
}

.error-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100px;
  height: 100px;
  border: 3px solid rgba(239, 68, 68, 0.3);
  border-radius: 50%;
  animation: ring-expand 1.5s ease infinite;
}

.error-title {
  font-size: 24px;
  font-weight: 700;
  color: #ef4444;
  margin-bottom: 15px;
  animation: slideInUp 0.6s ease 0.3s both;
}

.error-message {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 15px;
  animation: slideInUp 0.6s ease 0.4s both;
}

.error-highlight {
  color: #ef4444;
  font-weight: 700;
}

.error-description {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  animation: slideInUp 0.6s ease 0.5s both;
}

.native-error-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #fff;
  padding: 14px 28px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.3s ease;
  animation: slideInUp 0.6s ease 0.6s both;
  box-shadow: 0 10px 30px rgba(239, 68, 68, 0.3);
}

.native-error-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(239, 68, 68, 0.4);
}

/* Timer Section Styles (if needed) */
.timer-section {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 20px;
  padding: 30px 20px;
  margin: 0 20px 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.timer-section::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
    circle,
    rgba(99, 102, 241, 0.1) 0%,
    transparent 70%
  );
  animation: pulse 3s ease-in-out infinite;
}

.timer-icon {
  font-size: 48px;
  color: #f59e0b;
  margin-bottom: 15px;
  animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.timer-section h2 {
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.timer-section p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 25px;
  line-height: 1.6;
}

/* Native Popup Image */
.native-popup-image {
  padding: 10px;
  animation: slideInUp 0.5s ease;
}

.native-popup-image img {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}
