:root {
  --primary-900: #06306F;
  --primary-800: #073A82;
  --primary-700: #0A4695;
  --primary-600: #1459A8;
  --primary-500: #2D6FBA;
  --primary-300: #8EACD6;
  --primary-100: #E7EFF9;
  --primary-50:  #F0F5FD;

  --btn-gradient: linear-gradient(180deg, #185eb1 0%, #063a83 100%);
  --btn-gradient-hover: linear-gradient(180deg, #1d6ccd 0%, #08479e 100%);
  --header-gradient: linear-gradient(180deg, #06306F 0%, #0c4a9a 100%);
  --gold-gradient: linear-gradient(180deg, #f9c74f 0%, #e59e19 100%);

  --bg-app: #F7F9FD;
  --surface-card: #FFFFFF;
  --surface-secondary: #EEF4FC;
  --surface-input: #EFF4FB;
  
  --border-color: #D7E3F3;
  --border-light: #E9F0FA;
  --card-edge: rgba(120, 150, 200, 0.34);

  --text-900: #171C24;
  --text-700: #34435A;
  --text-500: #6B7B92;
  --text-muted: #95A3B8;

  --color-success: #4C963D;
  --color-warning: #D89419;
  --color-gold: #F5B52B;
  --color-danger: #DF6659;
  --color-info: #2B7DF5;

  --radius-xs: 8px;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 24px;
  --radius-xl: 30px;
  --radius-pill: 9999px;

  --shadow-sm: 0 4px 12px rgba(10, 48, 111, 0.05);
  --shadow-card: 0 10px 28px rgba(10, 48, 111, 0.08);
  --shadow-elevated: 0 16px 36px rgba(10, 48, 111, 0.14);
  --shadow-inner-input: inset 0 2px 4px rgba(10, 48, 111, 0.04);
  --shadow-btn: 0 8px 20px rgba(6, 48, 111, 0.28);

  --font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --app-max-width: 440px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  font-family: var(--font-family);
  background-color: #0b1c36;
  color: var(--text-900);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* Base Link & Text */
a {
  color: var(--primary-700);
  text-decoration: none;
  transition: all 0.2s ease;
}
a:hover {
  text-decoration: none;
  color: var(--primary-800);
}
button, input, select, textarea {
  font-family: inherit;
  outline: none;
}

/* App Shell (Mobile First Centered Container) */
.smg-app-shell {
  width: 100%;
  max-width: var(--app-max-width);
  min-height: 100vh;
  margin: 0 auto;
  background-color: var(--bg-app);
  position: relative;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  padding-bottom: 80px; /* Space for bottom nav */
}

.smg-app-shell.no-bottom-nav {
  padding-bottom: 24px;
}

/* App Header */
.smg-header {
  background: var(--header-gradient);
  color: #ffffff;
  padding: 22px 18px 26px 18px;
  position: relative;
  overflow: hidden;
  border-bottom-left-radius: var(--radius-xl);
  border-bottom-right-radius: var(--radius-xl);
  z-index: 10;
}

.smg-header::after {
  content: "";
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.02) 80%);
  top: -60px;
  right: -40px;
  pointer-events: none;
}

.smg-header::before {
  content: "";
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  bottom: -40px;
  left: 20px;
  pointer-events: none;
}

.smg-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.smg-back-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.smg-back-btn:active {
  transform: scale(0.92);
}

.smg-header-title {
  font-size: 19px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
  text-align: center;
  flex: 1;
}

.smg-header-action {
  min-width: 36px;
  display: flex;
  justify-content: flex-end;
}

.smg-header-hero-content {
  margin-top: 14px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.smg-header-balance-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.12);
  padding: 4px 14px;
  border-radius: var(--radius-pill);
  display: inline-block;
  margin-bottom: 6px;
}

.smg-header-balance-value {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.1;
  color: #ffffff;
  letter-spacing: -0.5px;
}

/* Header Multi-Stats (e.g., Total In / Total Out or Team Stats) */
.smg-header-stats-row {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin-top: 14px;
  position: relative;
  z-index: 2;
}

.smg-header-stat-item {
  flex: 1;
  text-align: center;
}

.smg-header-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, 0.2);
}

.smg-header-stat-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.smg-header-stat-val {
  font-size: 24px;
  font-weight: 800;
  color: #ffffff;
  margin-top: 2px;
}

/* App Main Body Content Container */
.smg-content {
  padding: 16px 14px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Card Component - Frosted Glassmorphism */
.smg-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--card-edge);
  border-top: 1.5px solid #FFFFFF;
  border-radius: 22px;
  padding: 18px 16px;
  box-shadow: 0 10px 30px rgba(6, 48, 111, 0.07), 0 2px 6px rgba(0, 0, 0, 0.02), inset 0 1px 2px rgba(255, 255, 255, 0.95);
  position: relative;
}

.smg-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Mode Switcher / Tab Buttons (Recharge | Withdraw) */
.smg-tabs-switcher {
  display: flex;
  background: #E8F0FA;
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-inner-input);
}

.smg-tab-pill {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-700);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.smg-tab-pill.active {
  background: var(--btn-gradient);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(6, 48, 111, 0.22);
}

.smg-tab-pill i, .smg-tab-pill svg {
  font-size: 16px;
}

/* Buttons */
.smg-btn-primary {
  width: 100%;
  background: var(--btn-gradient);
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 1.5px solid rgba(255, 255, 255, 0.4);
  border-radius: 16px;
  padding: 14px 20px;
  font-size: 15.5px;
  font-weight: 800;
  letter-spacing: 0.3px;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(6, 48, 111, 0.28), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

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

.smg-btn-primary:hover {
  background: var(--btn-gradient-hover);
  color: #ffffff;
}

.smg-btn-secondary {
  width: 100%;
  background: var(--surface-secondary);
  color: var(--primary-800);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 13px 18px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
}
.smg-btn-secondary:hover {
  background: #E1ECF9;
}

.smg-btn-gold {
  background: var(--gold-gradient);
  color: #3b2803 !important;
  border: none;
  border-radius: var(--radius-md);
  padding: 14px 20px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(245, 181, 43, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.15s ease;
}
.smg-btn-gold:hover {
  filter: brightness(1.05);
}

/* Inputs & Form Controls */
.smg-form-group {
  margin-bottom: 14px;
}

.smg-form-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-700);
  margin-bottom: 6px;
  display: block;
}

.smg-input-box {
  background: var(--surface-input);
  border: 1.5px solid #D5E1F2;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  padding: 6px 14px;
  box-shadow: var(--shadow-inner-input);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.smg-input-box:focus-within {
  border-color: var(--primary-600);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(20, 89, 168, 0.15);
}

.smg-input-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-700);
  font-size: 14px;
  margin-right: 10px;
  box-shadow: 0 2px 6px rgba(6, 48, 111, 0.08);
  flex-shrink: 0;
}

.smg-input-prefix {
  font-weight: 700;
  font-size: 15px;
  color: var(--text-900);
  margin-right: 8px;
}

.smg-input-field {
  width: 100%;
  background: transparent;
  border: none;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-900);
  padding: 10px 0;
}

.smg-input-field::placeholder {
  color: var(--text-muted);
  font-weight: 400;
}

.smg-input-action {
  color: var(--text-500);
  cursor: pointer;
  padding: 6px;
  font-size: 16px;
}

/* Quick Amount / Percentage Grid */
.smg-preset-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 14px 0;
}

.smg-preset-pill {
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 10px 6px;
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-900);
  cursor: pointer;
  transition: all 0.15s ease;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.smg-preset-pill.active, .smg-preset-pill:hover {
  background: var(--btn-gradient);
  border-color: var(--primary-700);
  color: #ffffff;
  box-shadow: 0 6px 16px rgba(6, 48, 111, 0.22);
}

.smg-popular-badge {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-gold);
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 6px rgba(245, 181, 43, 0.4);
}

/* Step / Instructions Card */
.smg-instruction-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.smg-instruction-step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  position: relative;
}

.smg-step-num {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #EAF1FB;
  color: var(--primary-800);
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 1px 2px rgba(6, 48, 111, 0.08);
}

.smg-step-text {
  font-size: 13px;
  color: var(--text-700);
  line-height: 1.45;
  padding-top: 2px;
}

/* Badges */
.smg-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  font-size: 11px;
  font-weight: 600;
}
.smg-badge-success { background: #E8F5E9; color: var(--color-success); }
.smg-badge-warning { background: #FFF8E1; color: var(--color-warning); }
.smg-badge-danger { background: #FFEBEE; color: var(--color-danger); }
.smg-badge-primary { background: #E7EFF9; color: var(--primary-800); }
.smg-badge-gold { background: #FFF4D9; color: #B37D00; }

/* Fixed Bottom Navigation Bar */
.smg-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: var(--app-max-width);
  height: 68px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
  box-shadow: 0 -4px 20px rgba(10, 48, 111, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 1000;
  padding: 0 4px;
}

.smg-nav-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.15s ease, transform 0.15s ease;
  position: relative;
  height: 100%;
}

.smg-nav-item i, .smg-nav-item svg {
  font-size: 20px;
  margin-bottom: 2px;
}

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

.smg-nav-item.active i, .smg-nav-item.active svg {
  color: var(--primary-800);
  transform: translateY(-1px);
}

/* Elevated Center Treasure Item */
.smg-nav-treasure {
  position: relative;
  top: -16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.smg-treasure-box-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 8px 24px rgba(6, 48, 111, 0.22);
  border: 3px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
  position: relative;
}

.smg-treasure-box-icon img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.smg-nav-treasure:hover .smg-treasure-box-icon,
.smg-nav-treasure.active .smg-treasure-box-icon {
  transform: scale(1.08) translateY(-2px);
}

.smg-treasure-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--primary-800);
  margin-top: 2px;
}

/* Bottom Sheet Modal (Customer Service) */
.smg-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.smg-modal-backdrop.show {
  opacity: 1;
  visibility: visible;
}

.smg-bottom-sheet {
  width: 100%;
  max-width: var(--app-max-width);
  background: #FFFFFF;
  border-top-left-radius: 28px;
  border-top-right-radius: 28px;
  padding: 22px 18px 30px 18px;
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.smg-modal-backdrop.show .smg-bottom-sheet {
  transform: translateY(0);
}

.smg-sheet-handle {
  width: 44px;
  height: 4px;
  background: #D5E0EF;
  border-radius: var(--radius-pill);
  margin: 0 auto 16px auto;
}

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

.smg-sheet-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-900);
}

.smg-sheet-close {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #EEF4FC;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-700);
  font-size: 16px;
  cursor: pointer;
}

/* Customer Care Card Item */
.smg-support-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  box-shadow: var(--shadow-sm);
}

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

.smg-support-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary-700);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.smg-support-info h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-900);
}
.smg-support-info p {
  font-size: 12px;
  color: var(--text-500);
}

.smg-support-action-btn {
  background: var(--btn-gradient);
  color: #ffffff !important;
  border-radius: var(--radius-md);
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 700;
  border: none;
  cursor: pointer;
}

/* Welcome Announcement Center Modal */
.smg-center-modal {
  width: 90%;
  max-width: 380px;
  background: #FFFFFF;
  border-radius: 28px;
  padding: 24px 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  text-align: center;
  transform: scale(0.9);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  margin: auto;
}

.smg-modal-backdrop.show .smg-center-modal {
  transform: scale(1);
}

/* Dashboard Banner Auto-Slider */
.smg-banner-carousel-wrapper {
  position: relative;
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  margin-bottom: 12px;
  box-shadow: 0 10px 28px rgba(6, 48, 111, 0.12);
  border: 1px solid var(--card-edge);
  aspect-ratio: 16 / 9;
  background: #06306F;
}

.smg-banner-slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.smg-banner-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform: scale(1.03);
}

.smg-banner-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.smg-banner-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.smg-banner-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  z-index: 5;
  background: rgba(0, 0, 0, 0.38);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.smg-banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.smg-banner-dot.active {
  width: 22px;
  border-radius: 10px;
  background: #FFFFFF;
  box-shadow: 0 0 8px #00e1ff;
}

/* Home Quick Actions Grid (5 Items) - Premium Glassmorphism */
.smg-quick-actions-bar {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}

.smg-quick-action-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-edge);
  border-top: 1.5px solid #FFFFFF;
  border-radius: 18px;
  padding: 12px 4px 10px 4px;
  text-align: center;
  color: var(--text-700);
  box-shadow: 0 8px 24px rgba(6, 48, 111, 0.08), 0 2px 6px rgba(0, 0, 0, 0.02), inset 0 1px 1px rgba(255, 255, 255, 0.95);
  position: relative;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
}
.smg-quick-action-item:active {
  transform: translateY(2px) scale(0.95);
  box-shadow: 0 4px 12px rgba(6, 48, 111, 0.1);
}

.smg-quick-action-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(238, 244, 252, 0.95) 0%, rgba(220, 235, 255, 0.75) 100%);
  border: 1px solid var(--card-edge);
  color: #06306F;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 21px;
  margin-bottom: 6px;
  box-shadow: 0 4px 12px rgba(6, 48, 111, 0.06), inset 0 1px 2px rgba(255, 255, 255, 0.9);
}

.smg-quick-action-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-900);
  letter-spacing: 0.1px;
  white-space: nowrap;
}

.smg-quick-action-new-badge {
  position: absolute;
  top: -6px;
  right: 2px;
  background: linear-gradient(135deg, #FF453A 0%, #DF3324 100%);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  box-shadow: 0 2px 6px rgba(223, 51, 36, 0.35);
}

/* Product Earning Cards (Home Plans) - Premium Frosted Glassmorphism */
.smg-product-card {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid var(--card-edge);
  border-top: 1.5px solid #FFFFFF;
  border-radius: 24px;
  padding: 16px;
  box-shadow: 0 12px 36px rgba(6, 48, 111, 0.08), 0 2px 8px rgba(0, 0, 0, 0.02), inset 0 1px 2px rgba(255, 255, 255, 0.95);
  position: relative;
  overflow: hidden;
  margin-bottom: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.smg-product-corner-badge {
  position: absolute;
  top: 14px;
  right: -32px;
  background: linear-gradient(135deg, #0A4695 0%, #06306F 100%);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 34px;
  transform: rotate(45deg);
  box-shadow: 0 4px 10px rgba(6, 48, 111, 0.3);
  letter-spacing: 0.6px;
}

.smg-product-top {
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
}

.smg-product-img-box {
  width: 120px;
  height: 120px;
  border-radius: 18px;
  background: #EEF4FC;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(6, 48, 111, 0.12);
  border: 1px solid var(--card-edge);
}

.smg-product-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.smg-product-limit-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  background: rgba(6, 48, 111, 0.85);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 9px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

.smg-product-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.smg-product-name {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-900);
  margin-bottom: 2px;
}

.smg-product-price {
  font-size: 23px;
  font-weight: 900;
  color: var(--primary-800);
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-bottom: 8px;
}

.smg-product-duration {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-500);
}

.smg-product-stat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 5px;
}

.smg-product-stat-label {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-500);
  font-weight: 600;
}

.smg-product-stat-icon {
  width: 22px;
  height: 22px;
  border-radius: 8px;
  background: #EEF4FC;
  color: #0A4695;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}

.smg-product-stat-val {
  font-weight: 700;
  color: var(--text-900);
}

/* Spin Wheel / Lucky Draw 3x3 Grid */
.smg-spin-frame {
  background: #06306F;
  border: 4px solid #1c5cb5;
  border-radius: 28px;
  padding: 16px;
  box-shadow: 0 14px 34px rgba(6, 48, 111, 0.4);
  position: relative;
}

.smg-spin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.smg-spin-cell {
  background: #154585;
  border: 2px solid #2864b2;
  border-radius: var(--radius-md);
  padding: 12px 6px;
  text-align: center;
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  position: relative;
  transition: all 0.15s ease;
}

.smg-spin-cell.active-spin {
  border-color: #F5B52B;
  background: #2566be;
  box-shadow: 0 0 16px #F5B52B;
}

.smg-spin-center-btn {
  background: var(--gold-gradient);
  border: 2px solid #fff;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(245, 181, 43, 0.4);
}

.smg-spin-center-btn h3 {
  font-size: 18px;
  font-weight: 800;
  color: #2b1802;
  line-height: 1;
}

.smg-spin-center-btn span {
  font-size: 10px;
  font-weight: 700;
  color: #4b3208;
  background: rgba(255, 255, 255, 0.4);
  padding: 2px 6px;
  border-radius: var(--radius-pill);
  margin-top: 4px;
}

/* Team MLM 3-Level Cards */
@keyframes mirrorShineSweep {
  0% {
    left: -120%;
  }
  30%, 100% {
    left: 140%;
  }
}

.smg-team-level-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  margin-bottom: 12px;
}

.smg-team-level-header {
  background: var(--btn-gradient);
  color: #FFFFFF;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
}

.smg-team-level-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.15) 30%,
    rgba(255, 255, 255, 0.45) 50%,
    rgba(255, 255, 255, 0.15) 70%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-25deg);
  animation: mirrorShineSweep 8.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
  pointer-events: none;
  z-index: 1;
}

.smg-team-level-card:nth-of-type(2) .smg-team-level-header::before {
  animation-delay: 2.2s;
}

.smg-team-level-card:nth-of-type(3) .smg-team-level-header::before {
  animation-delay: 4.4s;
}

.smg-team-level-header > * {
  position: relative;
  z-index: 2;
}

.smg-team-level-badge {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 16px;
}

.smg-team-level-title {
  font-size: 15px;
  font-weight: 700;
}

.smg-team-level-subtitle {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.8);
}

.smg-team-commission-pill {
  background: rgba(255, 255, 255, 0.2);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.smg-team-level-body {
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.smg-team-level-stat {
  font-size: 12px;
  color: var(--text-500);
}
.smg-team-level-stat strong {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-900);
  display: block;
}

/* Transaction / Account Record List Item */
.smg-trx-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 10px;
}

.smg-trx-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.smg-trx-type-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.smg-trx-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  background: #EEF4FC;
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.smg-trx-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-900);
}

.smg-trx-time {
  font-size: 11px;
  color: var(--text-500);
}

.smg-trx-amount {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-900);
}
.smg-trx-amount.credit {
  color: var(--color-success);
}
.smg-trx-amount.debit {
  color: var(--color-danger);
}

.smg-trx-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px dashed var(--border-light);
  font-size: 11px;
  color: var(--text-muted);
}

/* Empty State */
.smg-empty-state {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}

.smg-empty-icon {
  font-size: 48px;
  color: #C8D8ED;
  margin-bottom: 12px;
}

.smg-empty-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #A6BBD7;
  margin-bottom: 6px;
}

.smg-empty-text {
  font-size: 13px;
  color: var(--text-500);
}

/* Swiper / Banner */
.smg-banner-carousel {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  position: relative;
  margin-bottom: 12px;
}

.smg-banner-carousel img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Profile Menu List */
.smg-menu-list {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.smg-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-900);
  transition: background 0.15s ease;
}
.smg-menu-item:last-child {
  border-bottom: none;
}
.smg-menu-item:hover {
  background: #F4F8FD;
}

.smg-menu-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.smg-menu-icon {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: #EEF4FC;
  color: var(--primary-700);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}

.smg-menu-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-900);
}
.smg-menu-desc {
  font-size: 11px;
  color: var(--text-500);
}

.smg-menu-arrow {
  color: #B5C5D8;
  font-size: 14px;
}

/* Alert Boxes */
.smg-alert {
  background: #EEF4FC;
  border-left: 4px solid var(--primary-700);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  font-size: 12px;
  color: var(--text-700);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.smg-alert i {
  color: var(--primary-700);
  font-size: 16px;
  margin-top: 1px;
}

/* Utilities */
.text-center { text-align: center; }
.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.align-items-center { align-items: center; }
.w-100 { width: 100%; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
