:root {
  --primary: #F97316;
  --primary-hover: #EA580C;
  --primary-light: #FFF4ED;
  --background: #FFFFFF;
  --surface: #F9FAFB;
  --card: #FFFFFF;
  --sidebar: #020203;
  --text-primary: #111827;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --border: #E5E7EB;
  --success: #4D8B6A;
  --success-light: #ECF7F6;
  --warning: #F97316;
  --notification-bg: #FEF2F2;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--surface);
  color: var(--text-primary);
  min-height: 100vh;
}

/* ===== LANDING PAGE STYLES ===== */
.landing-page {
  width: 100%;
  overflow-x: hidden;
}

.landing-nav {
  background: var(--background);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-logo i {
  font-size: 1.5rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-btn {
  padding: 0.5rem 1.5rem !important;
}

/* Hero Section */
.landing-hero {
  padding: 4rem 1.5rem;
  background: var(--background);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-text h1 {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 500px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-buttons .btn-primary,
.hero-buttons .btn-outline {
  padding: 0.75rem 2rem;
  text-decoration: none;
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stats strong {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.hero-image img {
  width: 100%;
  max-width: 550px;
  height: auto;
  border-radius: 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  object-fit: cover;
  display: block;
}

/* Landing Sections */
.landing-section {
  padding: 4rem 1.5rem;
}

.section-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-container h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.75rem;
  text-align: center;
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
}

.feature-card i {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}

.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
}

.step-number {
  width: 40px;
  height: 40px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  margin: 0 auto 0.75rem;
}

.step-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Commitment Box */
.commitment-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 3rem 2.5rem;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.commitment-box h2 {
  margin-bottom: 1rem;
}

.commitment-box p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 650px;
  margin: 0 auto;
}

/* Landing Footer */
.landing-footer {
  background: var(--sidebar);
  color: rgba(255,255,255,0.7);
  padding: 2rem 1.5rem;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

/* ===== DASHBOARD STYLES ===== */
#dashboard {
  display: flex;
  min-height: 100vh;
}

.hamburger-btn {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background 0.2s;
}

.hamburger-btn:hover { background: var(--primary-hover); }

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 240px;
  background: var(--sidebar);
  color: #fff;
  padding: 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  z-index: 999;
  transition: transform 0.3s ease;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.5rem;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex: 1;
}

.sidebar-nav a {
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.2s;
  font-size: 0.9rem;
  cursor: pointer;
}

.sidebar-nav a:hover { background: rgba(255,255,255,0.06); color: #fff; }
.sidebar-nav a.active { background: rgba(249, 115, 22, 0.15); color: var(--primary); }

.sidebar-footer {
  padding-top: 1rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.main-content {
  margin-left: 240px;
  padding: 1.5rem 2rem;
  min-height: 100vh;
  flex: 1;
  width: 100%;
  max-width: 1400px;
}

/* ===== TOPBAR ===== */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.topbar-left {
  flex: 1;
  min-width: 150px;
}

.topbar-left h2 {
  font-size: 1.5rem;
  font-weight: 700;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  position: relative;
}

.greeting {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ===== NOTIFICATION BELL ===== */
.notification-badge {
  position: relative;
  font-size: 1.25rem;
  color: var(--text-secondary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.notification-badge:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.notification-badge .badge {
  position: absolute;
  top: -4px;
  right: -4px;
  background: var(--primary);
  color: white;
  font-size: 0.6rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--card);
}

/* ===== AVATAR ===== */
.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  border: 2px solid var(--border);
  transition: all 0.2s;
  cursor: pointer;
}

.avatar:hover {
  border-color: var(--primary);
  transform: scale(1.05);
}

/* ===== NOTIFICATION PANEL ===== */
.notification-panel {
  position: absolute;
  top: 3.5rem;
  right: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  width: 340px;
  max-height: 400px;
  overflow-y: auto;
  padding: 1rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  z-index: 100;
}

.notification-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.notification-header h4 {
  font-size: 0.95rem;
  font-weight: 600;
}

.btn-clear {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  font-size: 0.8rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.25rem;
  transition: background 0.2s;
}

.btn-clear:hover {
  background: var(--primary-light);
}

.notification-item {
  padding: 0.75rem;
  border-radius: 0.5rem;
  margin-bottom: 0.5rem;
  background: var(--surface);
  border-left: 3px solid var(--primary);
}

.notification-item .notif-time {
  font-size: 0.7rem;
  color: var(--text-muted);
  display: block;
  margin-top: 0.25rem;
}

/* ===== TRANSACTIONS ===== */
.transaction-list {
  min-height: 200px;
}

.transaction-empty {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
}

.transaction-empty i {
  font-size: 3rem;
  margin-bottom: 1rem;
  display: block;
}

.transaction-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.transaction-item .tx-type {
  font-weight: 600;
}

.transaction-item .tx-type.deposit { color: var(--success); }
.transaction-item .tx-type.withdraw { color: #dc2626; }
.transaction-item .tx-type.pending { color: var(--warning); }

.transaction-item .tx-amount {
  font-weight: 700;
  white-space: nowrap;
}

.transaction-item .tx-date {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.transaction-item .tx-details {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ===== RESPONSIVE BREAKPOINTS ===== */

/* Tablets and small laptops */
@media (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .hero-container {
    gap: 2rem;
  }
  
  .hero-text h1 {
    font-size: 2rem;
  }
  
  .hero-image img {
    max-width: 400px;
  }
}

/* Mobile devices */
@media (max-width: 768px) {
  /* Landing Page Mobile */
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero-text p {
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
  }
  
  .hero-image img {
    max-width: 100%;
    max-height: 220px;
    object-fit: cover;
  }
  
  .hero-text h1 {
    font-size: 1.8rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .nav-links {
    gap: 1rem;
  }
  
  .nav-links a:not(.nav-btn) {
    display: none;
  }
  
  .commitment-box {
    padding: 2rem 1.5rem;
  }

  /* Dashboard Mobile */
  .hamburger-btn { display: block; }

  .sidebar {
    transform: translateX(-100%);
    width: 280px;
  }

  .sidebar.open {
    transform: translateX(0);
  }

  .main-content { 
    margin-left: 0; 
    padding: 4.5rem 1rem 1.5rem; 
  }

  .hero-card { 
    flex-direction: column; 
    text-align: center; 
    padding: 1.5rem;
  }
  
  .hero-image img { 
    width: 100%; 
    height: auto; 
    max-height: 180px; 
    object-fit: cover;
  }
  
  .hero-stats { 
    justify-content: center; 
    flex-wrap: wrap; 
    gap: 1rem; 
  }
  
  .hero-content h1 {
    font-size: 1.5rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }

  .balance-grid { 
    grid-template-columns: 1fr; 
    gap: 0.75rem;
  }
  
  .balance-amount {
    font-size: 1.5rem;
  }
  
  .info-grid { 
    grid-template-columns: 1fr 1fr; 
  }

  .topbar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .topbar-left {
    min-width: 120px;
  }

  .topbar-left h2 {
    font-size: 1.2rem;
  }

  .topbar-right {
    gap: 0.5rem;
  }

  .greeting {
    display: inline;
    margin-left: 0.5rem;
    font-size: 0.85rem;
  }
  
  .wallet-grid { 
    grid-template-columns: 1fr; 
  }
  
  .invest-grid { 
    grid-template-columns: 1fr; 
  }
  
  .settings-grid { 
    grid-template-columns: 1fr; 
  }
  
  .page-section {
    padding: 1.25rem;
  }
  
  .wallet-card {
    flex-direction: row;
  }

  .notification-panel {
    position: fixed;
    top: 5rem;
    right: 1rem;
    left: 1rem;
    width: auto;
    max-width: 340px;
    margin: 0 auto;
  }
}

/* Small mobile devices */
@media (max-width: 480px) {
  /* Landing Small Mobile */
  .hero-text h1 {
    font-size: 1.5rem;
  }
  
  .hero-text p {
    font-size: 0.95rem;
  }
  
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .hero-stats strong {
    font-size: 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  
  .step-card {
    padding: 1rem;
  }
  
  .step-number {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
  
  .step-card h4 {
    font-size: 0.85rem;
  }
  
  .step-card p {
    font-size: 0.75rem;
  }
  
  .commitment-box {
    padding: 1.5rem 1rem;
  }
  
  .commitment-box h2 {
    font-size: 1.3rem;
  }
  
  .commitment-box p {
    font-size: 0.9rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* Dashboard Small Mobile */
  .main-content { 
    padding: 4rem 0.75rem 1rem; 
  }
  
  .hero-card {
    padding: 1rem;
    border-radius: 1rem;
  }
  
  .hero-content h1 {
    font-size: 1.25rem;
  }
  
  .hero-stats {
    flex-direction: row;
    gap: 0.75rem;
  }
  
  .balance-grid {
    gap: 0.5rem;
  }
  
  .balance-card {
    padding: 1rem;
  }
  
  .balance-amount {
    font-size: 1.25rem;
  }
  
  .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
  
  .info-card {
    padding: 0.75rem;
  }
  
  .info-card i {
    font-size: 1.25rem;
  }
  
  .info-card h4 {
    font-size: 0.75rem;
  }
  
  .info-card p {
    font-size: 0.7rem;
  }
  
  .page-section {
    padding: 1rem;
    border-radius: 1rem;
  }
  
  .invest-card {
    padding: 1rem;
  }
  
  .settings-card {
    padding: 1rem;
  }
  
  .settings-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .settings-item .btn-outline {
    width: 100%;
  }

  .topbar {
    gap: 0.25rem;
  }
  
  .topbar-left {
    min-width: 100px;
  }
  
  .topbar-left h2 {
    font-size: 1.1rem;
  }
  
  .topbar-right {
    gap: 0.5rem;
  }

  .greeting {
    display: block;
    margin-left: 0;
    font-size: 0.75rem;
  }
  
  .notification-badge {
    width: 34px;
    height: 34px;
    font-size: 1rem;
  }
  
  .avatar {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }

  .notification-panel {
    right: 0.5rem;
    left: 0.5rem;
    max-width: 320px;
    padding: 0.75rem;
  }

  .modal-content {
    padding: 1.25rem;
    width: 95%;
    border-radius: 1rem;
  }
  
  .modal-content h3 {
    font-size: 1.2rem;
  }
  
  .wallet-address {
    font-size: 0.7rem;
    word-break: break-all;
    padding: 0.5rem;
  }
  
  .qr-image {
    max-width: 150px;
    height: auto;
  }
  
  .qr-container {
    margin: 1rem 0;
  }
  
  .qr-label {
    font-size: 0.8rem;
  }
  
  .deposit-info p {
    font-size: 0.9rem;
  }

  .transaction-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
    padding: 0.5rem;
  }
  
  .transaction-item .tx-amount {
    font-size: 0.9rem;
  }
  
  .transaction-item .tx-date {
    font-size: 0.65rem;
  }

  .transaction-empty {
    padding: 2rem 1rem;
  }
  
  .transaction-empty i {
    font-size: 2rem;
  }
}

/* Very large screens */
@media (min-width: 1600px) {
  .main-content {
    padding: 2rem 3rem;
    max-width: 1600px;
    margin: 0 auto;
  }
  
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-image img {
    max-width: 500px;
  }
  
  .balance-amount {
    font-size: 2.5rem;
  }
}

/* ===== COMMON COMPONENTS ===== */
.btn-primary {
  background: var(--primary);
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary:hover { background: var(--primary-hover); }
.btn-primary:active { transform: scale(0.98); }

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 0.75rem 1.5rem;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-outline:hover {
  background: var(--surface);
  border-color: var(--text-muted);
}

/* Balance Card */
.balance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .balance-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .balance-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.balance-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.5rem;
}

.balance-label {
  font-size: 0.875rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.balance-amount {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-primary);
  word-break: break-all;
}

.balance-sub {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.action-card {
  background: var(--primary-light);
  border-color: var(--primary);
}

/* Info Grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

@media (max-width: 768px) {
  .info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .info-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
  }
}

.info-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
}

.info-card i {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.info-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.info-card p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Page Section */
.page-section {
  background: var(--card);
  border-radius: 1.5rem;
  padding: 2rem;
  border: 1px solid var(--border);
}

.page-section h2 {
  margin-bottom: 1.5rem;
}

/* Wallet Grid */
.wallet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .wallet-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .wallet-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.wallet-card {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--border);
}

.wallet-icon {
  width: 50px;
  height: 50px;
  background: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.wallet-info h4 {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.wallet-balance {
  font-size: 1.5rem;
  font-weight: 700;
}

.wallet-label {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Invest Grid */
.invest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .invest-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .invest-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.invest-card {
  background: var(--surface);
  border-radius: 1rem;
  padding: 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  position: relative;
}

.invest-card.featured {
  border-color: var(--primary);
  background: var(--primary-light);
}

.featured-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background: var(--primary);
  color: white;
  padding: 0.2rem 1rem;
  border-radius: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
}

.invest-card h4 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.invest-amount {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}

.invest-return {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.invest-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.invest-btn {
  width: 100%;
}

/* Hero Card */
.hero-card {
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  border-radius: 1.5rem;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  flex-wrap: wrap;
}

.hero-content {
  flex: 1;
  min-width: 200px;
}

.hero-content h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero-content p {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats span {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-stats strong {
  font-size: 1.1rem;
  font-weight: 700;
}

.hero-image {
  flex: 0 0 auto;
}

.hero-image img {
  border-radius: 1rem;
  width: 400px;
  max-width: 100%;
  height: 250px;
  object-fit: cover;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 1.5rem;
  padding: 2rem;
  max-width: 500px;
  width: 90%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-muted);
}

.modal-close:hover { color: var(--text-primary); }

/* Wallet Address */
.wallet-address {
  background: var(--surface);
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-family: monospace;
  font-size: 0.9rem;
  word-break: break-all;
  border: 1px solid var(--border);
  margin: 0.5rem 0;
}

/* QR Container */
.qr-container {
  text-align: center;
  margin: 1.5rem 0;
}

.qr-image {
  max-width: 200px;
  height: auto;
  border-radius: 0.5rem;
  border: 2px solid var(--border);
}

.qr-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Deposit Info */
.deposit-info {
  text-align: center;
  margin: 1rem 0;
}

.deposit-info p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

/* Toast */
#toastContainer {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 380px;
  width: 100%;
  pointer-events: none;
}

.toast {
  background: var(--card);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.15);
  border-left: 4px solid var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: all;
  animation: slideIn 0.3s ease forwards;
  border: 1px solid var(--border);
}

.toast-success { border-left-color: #22c55e; }
.toast-error { border-left-color: #ef4444; }
.toast-warning { border-left-color: #f59e0b; }
.toast-info { border-left-color: #3b82f6; }

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
}

.toast-content i { font-size: 1.25rem; }
.toast-success .toast-content i { color: #22c55e; }
.toast-error .toast-content i { color: #ef4444; }
.toast-warning .toast-content i { color: #f59e0b; }
.toast-info .toast-content i { color: #3b82f6; }

.toast-content span {
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.4;
}

.toast-close {
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 0 0 0.5rem;
  transition: color 0.2s;
}

.toast-close:hover { color: var(--text-primary); }

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

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

/* ===== SHAKE ANIMATION ===== */
@keyframes shake {
  0%, 100% { transform: translateX(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-8px); }
  20%, 40%, 60%, 80% { transform: translateX(8px); }
}

.shake {
  animation: shake 0.6s ease-in-out;
}

.shake-input {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2) !important;
  transition: border-color 0.2s, box-shadow 0.2s;
}

/* ===== AUTH PAGE ===== */
.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
  background: var(--surface);
}

.auth-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 1.5rem;
  padding: 2.5rem;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

.auth-card h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-align: center;
}

.auth-card .auth-subtitle {
  text-align: center;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.auth-card .form-group {
  margin-bottom: 1.25rem;
}

.auth-card .form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.auth-card .form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  font-size: 1rem;
  background: var(--surface);
  transition: border-color 0.2s;
}

.auth-card .form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

.auth-card .btn-primary {
  width: 100%;
  padding: 0.75rem;
  font-size: 1rem;
}

.auth-card .auth-links {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.auth-card .auth-links a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.auth-card .auth-links a:hover {
  text-decoration: underline;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.5rem 0;
  color: var(--text-muted);
  font-size: 0.85rem;
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

@media (max-width: 480px) {
  .auth-card {
    padding: 1.75rem 1.25rem;
  }
  
  .auth-card h2 {
    font-size: 1.5rem;
  }
}
.admin-login-container {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: linear-gradient(135deg, #fafafa 0%, #f0f0f0 100%);
  padding: 2rem;
}

.admin-login-card {
  max-width: 420px;
  width: 100%;
}

.admin-login-card .auth-logo {
  justify-content: center;
}

.admin-login-card h2 {
  text-align: center;
}

.admin-login-card .auth-sub {
  text-align: center;
}

.shake-input {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-10px); }
  40% { transform: translateX(10px); }
  60% { transform: translateX(-10px); }
  80% { transform: translateX(10px); }
}
/* Withdrawal Modal Styles */
.withdraw-modal-content {
  max-width: 550px !important;
}

.withdraw-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.withdraw-header h3 {
  margin: 0.5rem 0 0.25rem;
}

.withdraw-subtitle {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.withdraw-info-box {
  background: var(--surface);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--border);
}

.withdraw-balance-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.75rem;
}

.withdraw-balance-info span {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.withdraw-balance-info strong {
  font-size: 1.1rem;
  color: var(--primary);
}

.withdraw-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.withdraw-info-list li {
  padding: 0.25rem 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.withdraw-info-list li i {
  width: 1.2rem;
}

.input-with-suffix {
  display: flex;
  align-items: center;
  position: relative;
}

.input-with-suffix input {
  padding-right: 4rem;
  width: 100%;
}

.input-with-suffix .input-suffix {
  position: absolute;
  right: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
}

.fields-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.75rem 0;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1rem;
}

.withdraw-fields {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.withdraw-summary {
  background: var(--primary-light);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
  font-size: 0.9rem;
}

.summary-row span {
  color: var(--text-secondary);
}

.summary-row.total {
  padding-top: 0.5rem;
  margin-top: 0.25rem;
  border-top: 2px solid var(--primary);
  font-size: 1.05rem;
}

.summary-row.total strong {
  color: var(--primary);
}

.withdraw-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.withdraw-footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.withdraw-footer p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (max-width: 480px) {
  .withdraw-modal-content {
    max-width: 100% !important;
  }
  
  .withdraw-balance-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .withdraw-actions {
    flex-direction: column;
  }
  
  .withdraw-actions button {
    width: 100% !important;
  }
}
/* ===== WITHDRAWAL FORM STYLES ===== */
#withdrawForm .form-group {
  margin-bottom: 1.25rem;
}

#withdrawForm .form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.35rem;
}

#withdrawForm .form-group label i {
  margin-right: 0.5rem;
  color: var(--primary);
}

#withdrawForm .form-group select,
#withdrawForm .form-group input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  font-size: 1rem;
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: inherit;
  color: var(--text-primary);
  appearance: none;
  -webkit-appearance: none;
}

#withdrawForm .form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236B7280' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
  cursor: pointer;
}

#withdrawForm .form-group select:focus,
#withdrawForm .form-group input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-light);
}

#withdrawForm .form-group select:hover,
#withdrawForm .form-group input:hover {
  border-color: var(--primary);
}

#withdrawForm .form-group select option {
  padding: 0.5rem;
  background: white;
  color: var(--text-primary);
}

#withdrawForm .input-with-suffix {
  display: flex;
  align-items: center;
  position: relative;
}

#withdrawForm .input-with-suffix input {
  padding-right: 4.5rem;
  width: 100%;
}

#withdrawForm .input-with-suffix .input-suffix {
  position: absolute;
  right: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  background: var(--surface);
  padding: 0 0.25rem;
  pointer-events: none;
}

#withdrawForm small {
  display: block;
  margin-top: 0.35rem;
  color: var(--text-muted);
  font-size: 0.75rem;
}

/* Withdraw fields container */
.withdraw-fields {
  animation: fadeIn 0.3s ease;
  padding: 0.5rem 0;
}

.fields-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.5rem 0 0.75rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 1rem;
  font-size: 0.95rem;
}

.fields-header i {
  font-size: 1.1rem;
}

/* Withdrawal summary */
.withdraw-summary {
  background: var(--primary-light);
  border-radius: 0.75rem;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border: 1px solid rgba(249, 115, 22, 0.2);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  font-size: 0.9rem;
}

.summary-row span {
  color: var(--text-secondary);
}

.summary-row strong {
  color: var(--text-primary);
}

.summary-row.total {
  padding-top: 0.5rem;
  margin-top: 0.25rem;
  border-top: 2px solid var(--primary);
  font-size: 1.05rem;
}

.summary-row.total strong {
  color: var(--primary);
}

/* Withdraw actions */
.withdraw-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 1.5rem;
}

.withdraw-actions .btn-outline {
  min-width: 120px;
}

.withdraw-actions .btn-primary {
  min-width: 160px;
}

/* Withdraw footer */
.withdraw-footer {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.withdraw-footer p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Responsive */
@media (max-width: 480px) {
  .withdraw-modal-content {
    max-width: 100% !important;
    padding: 1.25rem;
  }
  
  .withdraw-balance-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.25rem;
  }
  
  .withdraw-actions {
    flex-direction: column;
  }
  
  .withdraw-actions button {
    width: 100% !important;
    min-width: unset;
  }
  
  #withdrawForm .form-group select,
  #withdrawForm .form-group input {
    padding: 0.6rem 0.8rem;
    font-size: 0.9rem;
  }
  
  #withdrawForm .input-with-suffix .input-suffix {
    font-size: 0.8rem;
    right: 0.75rem;
  }
}
/* ===== SETTINGS PAGE STYLES ===== */
.settings-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .settings-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.settings-card {
  background: var(--card);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  transition: all 0.2s;
}

.settings-card:hover {
  border-color: var(--primary);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.settings-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-primary);
}

.settings-card h4 i {
  color: var(--primary);
  font-size: 1.1rem;
}

.settings-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  gap: 1rem;
}

.settings-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.settings-item:first-child {
  padding-top: 0;
}

.settings-item label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  flex-shrink: 0;
}

.settings-item span {
  font-weight: 500;
  color: var(--text-primary);
  font-size: 0.9rem;
  word-break: break-all;
  text-align: right;
}

.settings-item .btn-outline {
  width: auto;
  padding: 0.4rem 1.2rem;
  font-size: 0.8rem;
  border-radius: 0.5rem;
  flex-shrink: 0;
  min-width: 100px;
  text-align: center;
  transition: all 0.2s;
}

.settings-item .btn-outline:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.settings-item .btn-outline.btn-danger {
  border-color: #dc2626;
  color: #dc2626;
}

.settings-item .btn-outline.btn-danger:hover {
  background: #fef2f2;
  border-color: #dc2626;
  color: #dc2626;
}

.settings-item .btn-outline.btn-success {
  border-color: var(--success);
  color: var(--success);
}

.settings-item .btn-outline.btn-success:hover {
  background: var(--success-light);
  border-color: var(--success);
  color: var(--success);
}

/* Settings card with icon in header */
.settings-card .settings-item-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
}

.settings-card .settings-item-label i {
  color: var(--primary);
  width: 1.2rem;
  font-size: 0.9rem;
}

/* Settings responsive */
@media (max-width: 480px) {
  .settings-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.6rem 0;
  }
  
  .settings-item span {
    text-align: left;
    width: 100%;
    font-size: 0.85rem;
  }
  
  .settings-item .btn-outline {
    width: 100%;
    min-width: unset;
    padding: 0.5rem;
    font-size: 0.85rem;
  }
  
  .settings-card {
    padding: 1rem;
  }
  
  .settings-card h4 {
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
  }
}
/* ===== PROFILE DISPLAY ===== */
.profile-avatar-large {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 2rem;
  margin: 0 auto 1rem;
  border: 3px solid var(--primary);
}

.profile-name {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
}

.profile-email {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.profile-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  margin-top: 1rem;
}

.profile-stat-item {
  background: var(--surface);
  padding: 0.75rem;
  border-radius: 0.5rem;
  text-align: center;
  border: 1px solid var(--border);
}

.profile-stat-item .stat-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.profile-stat-item .stat-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
}