/* ==========================================================================
   WatchPay Premium Black + Crimson Red Theme — User Panel CSS
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Color Palette — Black & Crimson Red Fintech Aesthetic */
  --bg-primary: #050505;
  --bg-secondary: #0b0b0d;
  --bg-card: #111113;
  --bg-card-hover: #17171a;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-color-hover: rgba(229, 9, 20, 0.35);

  --text-primary: #f5f5f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;

  --accent-red: #e50914;
  --accent-red-bright: #ff1e2d;
  --accent-red-dark: #8b0000;
  --accent-red-glow: rgba(229, 9, 20, 0.15);
  --accent-red-glow-strong: rgba(229, 9, 20, 0.3);

  --accent-teal: #e50914; /* Standardized to primary crimson accent */
  --accent-teal-dark: #8b0000;
  --accent-teal-glow: rgba(229, 9, 20, 0.2);

  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.2);

  --danger: #ff1e2d;
  --danger-glow: rgba(255, 30, 45, 0.25);
  --success: #22c55e;
  --success-glow: rgba(34, 197, 94, 0.2);
  --warning: #f59e0b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-pill: 50px;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.8);
  --shadow-glow-red: 0 0 25px rgba(229, 9, 20, 0.2);

  --font-body: 'Inter', sans-serif;
  --font-heading: 'Plus Jakarta Sans', sans-serif;

  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
}

body {
  background: #050505;
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Page Entrance Animation */
.app-container, .auth-container {
  animation: pageEntrance 0.35s ease-out forwards;
}

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

/* App Layout Container */
.app-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: #050505;
  background-image: radial-gradient(circle at 80% 0%, rgba(229, 9, 20, 0.08) 0%, transparent 45%);
  border-left: 1px solid rgba(255, 255, 255, 0.04);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  position: relative;
  padding-top: 75px;
  padding-bottom: 90px;
}

.auth-container {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  background-color: var(--bg-primary);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 30px 24px;
  position: relative;
}

.auth-body {
  background: #030304 !important;
  background-image: radial-gradient(circle at 50% 20%, rgba(229, 9, 20, 0.08) 0%, transparent 60%) !important;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

a {
  color: var(--accent-red-bright);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #ff4d5a;
  text-shadow: 0 0 10px var(--accent-red-glow);
}

/* Header Component */
.app-header {
  position: fixed;
  top: 0;
  width: 100%;
  max-width: 480px;
  height: 75px;
  background: rgba(11, 11, 13, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
  z-index: 1000;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon-box {
  width: 40px;
  height: 40px;
  background: #000000;
  border-radius: var(--radius-md);
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 18px var(--accent-red-glow);
  border: 1px solid rgba(229, 9, 20, 0.4);
  padding: 0;
  overflow: hidden;
}

.logo-icon-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-md);
}

.logo-info {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  color: #ffffff;
}

.logo-subtitle {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-secondary);
  letter-spacing: 1px;
  margin-top: -2px;
}

.clock-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
}

.clock-box svg {
  color: var(--accent-red-bright);
}

/* Bottom Nav Component */
.bottom-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  max-width: 480px;
  height: 80px;
  background: rgba(11, 11, 13, 0.92);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0 10px 8px 10px;
  z-index: 1000;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: 600;
  gap: 5px;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  flex: 1;
  position: relative;
  overflow: visible;
  padding: 6px 0;
}

.nav-item svg {
  width: 22px;
  height: 22px;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-item:hover {
  color: var(--text-primary);
  transform: scale(1.1) translateY(-2px);
}

.nav-item:hover svg {
  transform: scale(1.15);
  color: var(--accent-red-bright);
  filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.6));
}

.nav-item:active {
  transform: scale(1.25) translateY(-4px) !important;
  color: #ffffff;
}

.nav-item:active svg {
  transform: scale(1.3) !important;
  filter: drop-shadow(0 0 15px #ff1e2d) !important;
}

.nav-item.active {
  color: var(--accent-red-bright);
  font-weight: 700;
}

.nav-item.active svg {
  transform: translateY(-2px) scale(1.12);
  filter: drop-shadow(0 0 10px rgba(229, 9, 20, 0.7));
}

.nav-item.special-add {
  position: relative;
  bottom: 12px;
}

.add-circle {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 8px 24px var(--accent-red-glow-strong);
  color: #ffffff;
  border: 4px solid var(--bg-primary);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.nav-item.special-add:hover .add-circle {
  box-shadow: 0 0 32px var(--accent-red-bright);
  transform: scale(1.18);
}

.nav-item.special-add:active .add-circle {
  box-shadow: 0 0 40px #ff1e2d;
  transform: scale(1.3);
}

/* Notice Banner */
.notice-banner {
  background: rgba(229, 9, 20, 0.06);
  border: 1px solid rgba(229, 9, 20, 0.2);
  margin: 16px 20px;
  border-radius: var(--radius-md);
  padding: 12px 16px;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 12px;
}

.notice-icon-box {
  background: var(--accent-red-glow);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--accent-red-bright);
  flex-shrink: 0;
}

.marquee-container {
  flex: 1;
  overflow: hidden;
  position: relative;
}

.marquee-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-primary);
  animation: marquee 18s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}

/* Glass & Dark Cards System */
.glass-card, .card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 22px;
  margin: 0 20px 20px 20px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.glass-card:hover, .card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.7), var(--shadow-glow-red);
}

/* Dashboard Welcome & Balance Card */
.welcome-card {
  background: linear-gradient(135deg, #16161a 0%, #0d0d0f 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  overflow: hidden;
}

.welcome-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.welcome-info {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--accent-red-bright);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.welcome-details {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

.balance-title {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.balance-amount {
  font-size: 2.3rem;
  font-weight: 800;
  font-family: var(--font-heading);
  margin-top: 4px;
  color: #ffffff;
  display: flex;
  align-items: center;
  letter-spacing: -0.03em;
}

/* Actions Grid */
.actions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 20px 24px 20px;
}

.action-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 15px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  transition: var(--transition);
}

.action-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.action-btn-deposit {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.18) 0%, rgba(139, 0, 0, 0.18) 100%);
  border-color: rgba(229, 9, 20, 0.35);
  color: #ffffff;
}

.action-btn-deposit:hover {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.3) 0%, rgba(139, 0, 0, 0.3) 100%);
  border-color: var(--accent-red-bright);
  box-shadow: 0 0 20px var(--accent-red-glow-strong);
}

/* Overview Section */
/* Step Headers & Multistep flow */
.step-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.back-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
}

.step-indicator {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
}

.step-content {
  display: none !important;
}

.step-content.active {
  display: block !important;
  animation: pageEntrance 0.35s ease forwards;
}

.section-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 20px 14px 20px;
}

.section-title {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-secondary);
}

.live-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.live-dot {
  width: 7px;
  height: 7px;
  background-color: var(--accent-red-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-red-bright);
  display: inline-block;
  animation: pulse 1.6s infinite;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.4; }
  100% { transform: scale(1); opacity: 1; }
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 20px 22px 20px;
}

.overview-card {
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 108px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.overview-card:hover {
  border-color: var(--border-color-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.overview-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.overview-card-label {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.overview-card-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
}

.overview-card-val {
  font-size: 1.3rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

/* Card Specific Styling */
.card-balance {
  background: #111114;
}
.card-balance .overview-card-icon {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
}

.card-deposit {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, rgba(34, 197, 94, 0.02) 100%);
  border-color: rgba(34, 197, 94, 0.2);
}
.card-deposit .overview-card-icon {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
}
.card-deposit .overview-card-val {
  color: var(--success);
}

.card-withdraw {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.12) 0%, rgba(229, 9, 20, 0.03) 100%);
  border-color: rgba(229, 9, 20, 0.25);
}
.card-withdraw .overview-card-icon {
  background: rgba(229, 9, 20, 0.15);
  color: var(--accent-red-bright);
}
.card-withdraw .overview-card-val {
  color: var(--accent-red-bright);
}

.card-volume {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(245, 158, 11, 0.02) 100%);
  border-color: rgba(245, 158, 11, 0.2);
}
.card-volume .overview-card-icon {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
}
.card-volume .overview-card-val {
  color: var(--accent-gold);
}

/* Accounts List & Items */
.accounts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.add-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-red-bright);
}

.account-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.account-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-color-hover);
}

.account-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.account-title {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--text-primary);
}

.account-meta {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Status Badges */
.badge {
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.15);
  color: var(--warning);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-approved, .badge-active {
  background: rgba(34, 197, 94, 0.15);
  color: var(--success);
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-rejected, .badge-blocked {
  background: rgba(229, 9, 20, 0.15);
  color: var(--accent-red-bright);
  border: 1px solid rgba(229, 9, 20, 0.3);
}

/* Activity Items */
.activity-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.activity-item:last-child {
  border: none;
}

.activity-desc {
  display: flex;
  align-items: center;
  gap: 12px;
}

.activity-icon-box {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.activity-icon-box.deposit {
  background: rgba(34, 197, 94, 0.12);
  color: var(--success);
}

.activity-icon-box.withdrawal {
  background: rgba(229, 9, 20, 0.12);
  color: var(--accent-red-bright);
}

.activity-details {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.activity-name {
  font-weight: 600;
  font-size: 0.84rem;
  color: var(--text-primary);
}

.activity-time {
  font-size: 0.68rem;
  color: var(--text-muted);
}

.activity-amount-box {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.activity-amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.98rem;
}

.activity-amount.deposit {
  color: var(--success);
}

.activity-amount.withdrawal {
  color: var(--accent-red-bright);
}

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

.form-label-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.form-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control-container {
  position: relative;
}

.form-control {
  width: 100%;
  background: #0b0b0d;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 15px 18px;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  outline: none;
  transition: var(--transition);
}

.form-control:focus {
  border-color: var(--accent-red);
  background: #111114;
  box-shadow: 0 0 0 3px var(--accent-red-glow), 0 0 20px var(--accent-red-glow);
}

.form-control::placeholder {
  color: var(--text-muted);
}

.password-toggle-btn {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.password-toggle-btn:hover {
  color: var(--text-primary);
}

/* Global Buttons System */
.btn-primary, .btn {
  width: 100%;
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 15px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px var(--accent-red-glow-strong);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary:hover, .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px var(--accent-red-bright);
}

.btn-primary:active, .btn:active {
  transform: scale(0.97);
}

.btn-secondary, .btn-outline {
  width: 100%;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-weight: 700;
  padding: 15px 22px;
  border-radius: var(--radius-pill);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-secondary:hover, .btn-outline:hover {
  border-color: var(--border-color-hover);
  background: rgba(255, 255, 255, 0.08);
}

.btn-danger {
  background: linear-gradient(135deg, var(--accent-red-dark) 0%, #4a0000 100%);
  border: 1px solid var(--accent-red-bright);
  color: #ffffff;
}

/* Security Badges Row */
.security-badges {
  display: flex;
  justify-content: space-around;
  align-items: center;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin-top: 25px;
  padding-top: 20px;
}

.badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  color: var(--text-muted);
}

.badge-item svg {
  width: 15px;
  height: 15px;
  color: var(--accent-red-bright);
}

/* Selection Cards & Chips */
.selection-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 20px;
  border-radius: var(--radius-lg);
  margin-bottom: 12px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.selection-card:hover, .selection-card.selected {
  border-color: var(--accent-red-bright);
  background: var(--bg-card-hover);
  box-shadow: 0 0 20px var(--accent-red-glow);
}

.selection-card-details {
  display: flex;
  align-items: center;
  gap: 16px;
}

.selection-card-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-md);
  background: var(--accent-red-glow);
  color: var(--accent-red-bright);
  display: flex;
  justify-content: center;
  align-items: center;
}

.selection-card-title {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.selection-card-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.selection-card-price {
  background: rgba(229, 9, 20, 0.15);
  color: var(--accent-red-bright);
  border: 1px solid rgba(229, 9, 20, 0.3);
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-heading);
}

.chips-row, .tabs-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
  margin-bottom: 22px;
  overflow-x: auto;
  padding-bottom: 6px;
}

.chip, .tab-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-color);
  padding: 9px 18px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.chip:hover, .chip.active, .tab-pill.active {
  background: var(--accent-red);
  color: #ffffff;
  border-color: var(--accent-red-bright);
  box-shadow: 0 0 15px var(--accent-red-glow);
}

/* Profile Menu */
.profile-menu {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.profile-menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: var(--transition);
  color: var(--text-primary);
}

.profile-menu-item:last-child {
  border: none;
}

.profile-menu-left {
  display: flex;
  align-items: center;
  gap: 16px;
  font-weight: 600;
  font-size: 0.88rem;
}

.profile-menu-left svg {
  width: 20px;
  height: 20px;
  color: var(--text-muted);
  transition: var(--transition);
}

.profile-menu-item:hover svg {
  color: var(--accent-red-bright);
}

/* Support & Telegram Card */
.telegram-card {
  background: linear-gradient(135deg, rgba(229, 9, 20, 0.12) 0%, rgba(11, 11, 13, 0.9) 100%);
  border: 1px solid rgba(229, 9, 20, 0.25);
}

.telegram-btn {
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
  color: white;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.92rem;
  margin-top: 16px;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 20px var(--accent-red-glow-strong);
}

.telegram-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 28px var(--accent-red-bright);
}

/* Toast Messages */
.toast {
  position: fixed;
  top: 85px;
  left: 50%;
  transform: translateX(-50%);
  padding: 14px 26px;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 1100;
  box-shadow: var(--shadow-lg);
  animation: slideDown 0.35s cubic-bezier(0.18, 0.89, 0.32, 1.28) forwards;
  max-width: 90%;
  width: max-content;
}

.toast-success {
  background: rgba(34, 197, 94, 0.95);
  color: #000;
}

.toast-error {
  background: rgba(229, 9, 20, 0.95);
  color: #fff;
}

@keyframes slideDown {
  from { top: 60px; opacity: 0; }
  to { top: 85px; opacity: 1; }
}

/* Modal styling */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.modal-content {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  width: 90%;
  max-width: 420px;
  border-radius: var(--radius-lg);
  padding: 26px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.3s ease;
}

@keyframes modalIn {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* Floating Actions */
.floating-chat, .floating-download {
  position: fixed;
  right: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 900;
  transition: var(--transition);
  border: none;
  text-decoration: none;
}

.floating-chat {
  bottom: 95px;
  background: linear-gradient(135deg, var(--accent-red) 0%, var(--accent-red-dark) 100%);
  color: #ffffff;
  box-shadow: 0 6px 20px var(--accent-red-glow-strong);
  animation: float 3.2s ease-in-out infinite;
}

.floating-download {
  bottom: 158px;
  background: linear-gradient(135deg, #1f1f24, #111114);
  border: 1px solid var(--accent-red-bright);
  color: var(--accent-red-bright);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
  animation: floatDownload 3.5s ease-in-out infinite;
}

.floating-chat:hover, .floating-download:hover {
  transform: scale(1.1) translateY(-3px);
  box-shadow: 0 10px 28px var(--accent-red-bright);
}

@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
  100% { transform: translateY(0); }
}

@keyframes floatDownload {
  0% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
  100% { transform: translateY(0); }
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-pill);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-red);
}

/* Footer Ripple Effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.4);
  transform: scale(0);
  animation: rippleAnim 0.5s linear;
  pointer-events: none;
}

@keyframes rippleAnim {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* ==========================================================================
   Reference Mockup Layout Styling (2nd Image Match)
   ========================================================================== */

/* Notification Bell Header Badge */
.header-notif-bell {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  position: relative;
  cursor: pointer;
}
.header-notif-bell svg {
  width: 18px;
  height: 18px;
}
.header-notif-bell .bell-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 8px;
  height: 8px;
  background: #ff1e2d;
  border-radius: 50%;
  border: 2px solid #0b0b0d;
}

/* Hero Dashboard Card */
.hero-dashboard-card {
  border: 1.5px solid rgba(229, 9, 20, 0.35);
  border-radius: var(--radius-xl);
  padding: 22px;
  margin: 0 20px 18px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 30px rgba(229, 9, 20, 0.12), var(--shadow-md);
}

/* All direct children of hero card sit above the overlay */
.hero-dashboard-card > *:not([style*="position:absolute"]) {
  position: relative;
  z-index: 2;
}

/* Inner Balance Box inside Hero Card */
.hero-balance-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  padding: 18px;
  margin-top: 18px;
}

/* 4-Column Quick Action Cards Grid */
.quick-actions-4col {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 20px 18px 20px;
}

.quick-action-card {
  background: #0f0f12;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
}

.quick-action-card:hover {
  transform: translateY(-3px);
  background: linear-gradient(145deg, #c0060f 0%, #7a0000 100%);
  border-color: #ff1e2d;
  box-shadow: 0 8px 24px rgba(229, 9, 20, 0.45);
}

.quick-action-card:hover .quick-action-title {
  color: #ffffff;
}

.quick-action-card:hover .quick-action-icon-circle {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.3);
}

/* deposit-highlight rules kept but unused now */
.quick-action-card.deposit-highlight {
  background: #0f0f12;
  border-color: var(--border-color);
}

.quick-action-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  color: #ffffff;
}

.quick-action-card.deposit-highlight .quick-action-icon-circle {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
}

.quick-action-title {
  font-size: 0.82rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.quick-action-subtitle {
  font-size: 0.65rem;
  color: var(--text-muted);
}

.quick-action-card.deposit-highlight .quick-action-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

/* Referral Invite Banner */
.invite-banner-card {
  background: linear-gradient(145deg, #12090b 0%, #0d0607 100%);
  border: 1px solid rgba(229, 9, 20, 0.3);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  margin: 0 20px 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.1);
}

/* Metric Overview Cards with Bottom Sparkline Wave */
.metric-overview-card {
  background: #0d0d10;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.metric-overview-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-color-hover);
}

.sparkline-wave {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100px;
  height: 40px;
  pointer-events: none;
  opacity: 0.75;
}

/* Arrow Circle Button */
.arrow-circle-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}

/* Empty State Card */
.empty-state-card {
  border: 1.5px dashed rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.01);
  margin-top: 10px;
}
.empty-state-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px auto;
  color: var(--text-muted);
}

/* Floating Buttons (Chat + Download) */
.floating-chat {
  position: fixed;
  bottom: 95px;
  right: calc(50% - 220px);
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #e50914 0%, #8b0000 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(229, 9, 20, 0.5);
  z-index: 999;
  transition: all 0.25s ease;
}

.floating-chat:hover,
.floating-download:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 25px rgba(229, 9, 20, 0.7);
}

