/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&family=Orbitron:wght@500;700;900&display=swap');

/* CSS CSS Reset & Variables */
:root {
  --bg-primary: #080c09;
  --bg-secondary: #0d140e;
  --bg-tertiary: #131c15;
  --primary: #198754;
  --primary-glow: rgba(25, 135, 84, 0.15);
  --emerald: #0f5132;
  --emerald-light: #1ea061;
  --gold: #d4af37;
  --gold-glow: rgba(212, 175, 55, 0.25);
  --gold-dark: #b89328;
  --text-primary: #f3f5f4;
  --text-secondary: #a3b8ad;
  --text-muted: #62776c;
  --white: #ffffff;
  --danger: #dc3545;
  --border-color: rgba(212, 175, 55, 0.15);
  --card-border: rgba(255, 255, 255, 0.05);
  --shadow-lg: 0 10px 30px -10px rgba(0, 0, 0, 0.7);
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-ticker: 'Orbitron', monospace;
  --radius-lg: 16px;
  --radius-md: 10px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(at 0% 0%, rgba(9, 44, 27, 0.4) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(212, 175, 55, 0.08) 0px, transparent 50%),
    radial-gradient(at 50% 100%, rgba(9, 44, 27, 0.2) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
  padding-bottom: 60px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: var(--emerald);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  border-bottom: 1px solid var(--border-color);
  background: var(--bg-primary);
  position: relative;
  z-index: 100;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 220px; /* Further increased for giant logo */
}

.logo-section {
  display: flex;
  align-items: center;
  text-decoration: none;
  padding: 15px 0;
}

.logo-section img {
  width: 450px !important; /* Huge width for full logo with text */
  height: auto !important; /* Maintain aspect ratio */
  max-height: 180px !important;
  object-fit: contain;
  filter: drop-shadow(0 0 35px rgba(212, 175, 55, 0.7));
  transition: var(--transition);
}

/* OTP Boxes Styling */
.otp-box {
  width: 45px;
  height: 55px;
  background: var(--bg-primary);
  border: 2px solid var(--card-border);
  border-radius: var(--radius-md);
  color: var(--gold);
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  font-family: var(--font-ticker);
  transition: var(--transition);
}

.otp-box:focus {
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  outline: none;
  background: var(--bg-tertiary);
}

/* Email Simulator Notification */
.email-notif {
  position: fixed;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 400px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 15px;
  display: flex;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  z-index: 9999;
  transition: top 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  border: 1px solid rgba(0,0,0,0.1);
}

.email-notif.show {
  top: 20px;
}

.email-notif-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.email-notif-icon img {
  width: 100%;
  height: 100%;
}

.email-notif-content {
  flex: 1;
}

.email-notif-header {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #666;
  margin-bottom: 2px;
}

.email-notif-body {
  font-size: 14px;
  color: #333;
}

.email-notif-body p {
  margin: 0;
  font-size: 13px;
  color: #555;
}

.logo-section img:hover {
  transform: scale(1.02);
}

/* Removed separate logo-text styles as they are now inside the image */
.logo-text, .logo-subtitle {
  display: none;
}

.halal-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(25, 135, 84, 0.1);
  border: 1px solid rgba(25, 135, 84, 0.3);
  padding: 8px 18px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 700;
  color: var(--emerald-light);
  font-family: var(--font-heading);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.halal-badge span {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: var(--emerald-light);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--primary);
  animation: pulse-green 2s infinite;
}

/* Auth / Verification Overlay Section */
.auth-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 160px);
  padding: 40px 0;
}

.auth-card {
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius-lg);
  padding: 40px;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}

.auth-card::before {
  content: '';
  position: absolute;
  top: -10%;
  right: -10%;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, var(--gold-glow) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
  z-index: 1;
}

.auth-header h1 {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 28px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.auth-header p {
  color: var(--text-secondary);
  font-size: 14px;
}

.auth-form-group {
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.auth-form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.input-with-icon {
  position: relative;
}

.input-with-icon span {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 15px;
}

.input-with-icon input {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px 16px 14px 48px;
  color: var(--text-primary);
  font-size: 16px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.input-with-icon input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

.auth-input-simple {
  width: 100%;
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  color: var(--text-primary);
  font-size: 15px;
  font-family: var(--font-body);
  transition: var(--transition);
}

.auth-input-simple:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 10px var(--gold-glow);
}

/* Buttons */
.btn-primary {
  width: 100%;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  border: none;
  border-radius: var(--radius-md);
  padding: 15px;
  color: var(--bg-primary);
  font-weight: 700;
  font-size: 16px;
  font-family: var(--font-heading);
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 4px 15px var(--gold-glow);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}

.whatsapp-verify-btn {
  background: #25d366;
  color: var(--white);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.2);
}

.whatsapp-verify-btn:hover {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* WhatsApp Simulator Screen */
.whatsapp-sim-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  justify-content: center;
  align-items: center;
  backdrop-filter: blur(8px);
}

.whatsapp-sim-card {
  background: #0b141a;
  border-radius: 12px;
  width: 100%;
  max-width: 400px;
  overflow: hidden;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(37, 211, 102, 0.2);
}

.whatsapp-sim-header {
  background: #005e54;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
}

.whatsapp-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1.5px solid var(--white);
  font-size: 20px;
}

.whatsapp-user-info h4 {
  font-size: 15px;
  font-weight: 600;
}

.whatsapp-user-info p {
  font-size: 11px;
  opacity: 0.8;
}

.whatsapp-chat-body {
  height: 280px;
  background-image: radial-gradient(circle, rgba(7, 94, 84, 0.05) 10%, transparent 10%), url('https://user-images.githubusercontent.com/15075759/28719144-86dc0f70-73b1-11e7-911d-60d70fcded21.png');
  background-size: cover;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 12px;
}

.wa-msg {
  max-width: 80%;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  line-height: 1.4;
  position: relative;
  animation: slide-up-wa 0.3s ease;
}

.wa-msg-sent {
  align-self: flex-end;
  background: #005c4b;
  color: var(--white);
  border-top-right-radius: 2px;
}

.wa-msg-received {
  align-self: flex-start;
  background: #202c33;
  color: var(--text-primary);
  border-top-left-radius: 2px;
}

.wa-time {
  font-size: 9px;
  opacity: 0.6;
  text-align: right;
  margin-top: 4px;
  display: block;
}

.whatsapp-sim-footer {
  background: #1f2c34;
  padding: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-sim-input {
  flex: 1;
  background: #2a3942;
  border: none;
  border-radius: 24px;
  padding: 10px 16px;
  color: var(--white);
  font-size: 14px;
}

.whatsapp-sim-input:focus {
  outline: none;
}

.whatsapp-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #00a884;
  color: var(--white);
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: var(--transition);
}

.whatsapp-send-btn:hover {
  background: #008f70;
  transform: scale(1.05);
}

/* Dashboard UI Layout */
.dashboard-layout {
  display: none;
  margin-top: 30px;
  animation: fadeIn 0.6s ease;
}

/* Compliance / Halal statement strip */
.halal-strip {
  background: linear-gradient(90deg, rgba(9, 44, 27, 0.8) 0%, rgba(212, 175, 55, 0.05) 100%);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  padding: 16px 24px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.halal-strip svg {
  fill: var(--gold);
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.halal-strip-text h3 {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 2px;
}

.halal-strip-text p {
  color: var(--text-secondary);
  font-size: 13.5px;
}

/* Dashboard Main Grid */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

@media (min-width: 992px) {
  .dashboard-grid {
    grid-template-columns: 1.6fr 1fr;
  }
}

/* Left Column Cards */
.dashboard-left {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Earning Watch Ticker Card */
.ticker-card {
  background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.ticker-card::after {
  content: '';
  position: absolute;
  bottom: -20%;
  left: -10%;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(25, 135, 84, 0.08) 0%, transparent 70%);
  z-index: 0;
  pointer-events: none;
}

.ticker-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
  position: relative;
  z-index: 1;
}

.ticker-label {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.investment-tag {
  background: rgba(25, 135, 84, 0.1);
  border: 1px solid rgba(25, 135, 84, 0.3);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 13px;
  color: var(--emerald-light);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 0 20px rgba(25, 135, 84, 0.1);
  transition: var(--transition);
}

.investment-tag::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-light);
  box-shadow: 0 0 10px var(--emerald-light);
  animation: pulse-green 2s infinite;
}

.live-ticker-watch {
  font-family: var(--font-ticker);
  font-size: 38px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  margin-bottom: 20px;
  letter-spacing: 1px;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
  min-height: 60px;
  width: 100%;
}

@media (min-width: 576px) {
  .live-ticker-watch {
    font-size: 46px;
  }
}

.ticker-currency {
  font-size: 24px;
  color: var(--gold);
  margin-right: 10px;
  font-weight: 600;
}

.ticker-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 24px;
  position: relative;
  z-index: 1;
}

.ticker-stat-item {
  display: flex;
  flex-direction: column;
}

.ticker-stat-label {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.ticker-stat-val {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-heading);
}

.ticker-stat-val.profit-growth {
  color: var(--emerald-light);
}

/* Main Dashboard Cards general style */
.dashboard-card {
  background: var(--bg-secondary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  padding-bottom: 12px;
}

.card-title svg {
  fill: var(--gold);
  width: 20px;
  height: 20px;
}

/* Deposit panel */
.deposit-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.deposit-btn {
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 12px;
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.deposit-btn svg {
  fill: var(--text-muted);
  width: 24px;
  height: 24px;
  transition: var(--transition);
}

.deposit-btn.active {
  border-color: var(--gold);
  background: rgba(212, 175, 55, 0.05);
  color: var(--gold);
}

.deposit-btn.active svg {
  fill: var(--gold);
}

.deposit-details {
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px dashed var(--border-color);
  margin-bottom: 20px;
}

.deposit-address-wrapper {
  margin-bottom: 16px;
}

.deposit-address-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  display: block;
}

.address-box {
  display: flex;
  align-items: center;
  background: var(--bg-primary);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: 12px;
  gap: 10px;
}

.address-text {
  flex: 1;
  font-family: monospace;
  font-size: 12px;
  color: var(--text-primary);
  word-break: break-all;
  white-space: pre-wrap;
  user-select: all;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.05);
  border: none;
  border-radius: 6px;
  padding: 8px;
  cursor: pointer;
  color: var(--gold);
  display: flex;
  justify-content: center;
  align-items: center;
  transition: var(--transition);
}

.copy-btn:hover {
  background: rgba(212, 175, 55, 0.1);
  color: var(--white);
}

.copy-btn svg {
  fill: currentColor;
  width: 16px;
  height: 16px;
}

.deposit-amount-input {
  width: 100%;
  background: var(--bg-primary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-body);
  margin-bottom: 12px;
}

.deposit-amount-input:focus {
  outline: none;
  border-color: var(--gold);
}

.deposit-notice {
  font-size: 11.5px;
  color: var(--text-muted);
  text-align: center;
}

/* Withdraw Panel */
.withdraw-form-group {
  margin-bottom: 20px;
}

.withdraw-form-group label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.withdraw-input-wrapper {
  display: flex;
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  align-items: center;
  padding: 4px 16px;
}

.withdraw-input-wrapper input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px 0;
  color: var(--text-primary);
  font-size: 16px;
  font-family: var(--font-body);
}

.withdraw-input-wrapper input:focus {
  outline: none;
}

.withdraw-currency {
  font-weight: 700;
  color: var(--gold);
  font-size: 15px;
}

.max-btn {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-color);
  color: var(--gold);
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  margin-right: 12px;
}

.max-btn:hover {
  background: var(--gold);
  color: var(--bg-primary);
}

.lock-container {
  display: none;
  background: rgba(220, 53, 69, 0.05);
  border: 1px solid rgba(220, 53, 69, 0.2);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 20px;
  text-align: center;
  animation: shake 0.5s;
}

.lock-container svg {
  fill: var(--danger);
  width: 24px;
  height: 24px;
  margin-bottom: 8px;
}

.lock-title {
  color: var(--danger);
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 4px;
}

.lock-timer {
  font-family: var(--font-ticker);
  font-size: 20px;
  color: var(--white);
  letter-spacing: 1px;
  font-weight: 700;
}

/* History logs inside dashboards */
.history-title {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-secondary);
  margin: 20px 0 10px 0;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 300px;
  overflow-y: auto;
  padding-right: 5px;
}

.history-item {
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  transition: var(--transition);
}

.history-item:hover {
  border-color: var(--gold-glow);
  background: rgba(255, 255, 255, 0.02);
}

.history-left {
  display: flex;
  flex-direction: column;
}

.history-type {
  font-weight: 700;
  color: var(--text-primary);
}

.history-time {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 2px;
}

.history-right {
  font-weight: 700;
  font-family: var(--font-heading);
}

.history-right.plus {
  color: var(--emerald-light);
}

.history-right.minus {
  color: var(--danger);
}

.empty-history {
  color: var(--text-muted);
  font-style: italic;
  font-size: 12px;
  text-align: center;
  padding: 14px 0;
}

/* Right Column Cards */
.dashboard-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* ICMarkets Card */
.icmarkets-card {
  background: linear-gradient(135deg, #091711 0%, #0d1e16 100%);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

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

.ic-tag {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-weight: 800;
  font-size: 11px;
}

.ic-metric {
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  padding: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  margin-bottom: 8px;
}

.ic-label {
  color: var(--text-secondary);
}

.ic-val {
  font-family: monospace;
  font-weight: 700;
  color: var(--emerald-light);
}

.ic-desc {
  font-size: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 15px;
}

/* Referrals Card */
.referral-link-box {
  background: var(--bg-tertiary);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 20px;
}

.ref-url {
  font-size: 11px;
  font-family: monospace;
  color: var(--text-secondary);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.referral-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.referral-stat-box {
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.03);
}

.ref-val {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
}

.ref-lbl {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Shariah details */
.shariah-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shariah-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.shariah-icon {
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
}

.shariah-text h4 {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
}

.shariah-text p {
  font-size: 12px;
  color: var(--text-secondary);
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  padding: 12px 20px;
  color: var(--white);
  font-size: 13.5px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slide-in 0.3s ease;
  min-width: 260px;
  max-width: 380px;
}

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

.toast.error {
  border-left-color: var(--danger);
}

/* Keyframe Animations */
@keyframes pulse-green {
  0% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(25, 135, 84, 0.7);
  }
  70% {
    transform: scale(1.1);
    box-shadow: 0 0 0 10px rgba(25, 135, 84, 0);
  }
  100% {
    transform: scale(0.9);
    box-shadow: 0 0 0 0 rgba(25, 135, 84, 0);
  }
}

@keyframes slide-up-wa {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

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

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}
