/* ==========================================================================
   TESLA MUSK VERSE TECHNOLOGIES - MAIN STYLESHEET
   ==========================================================================
   
   A premium, high-converting investment platform stylesheet.
   Built with modern CSS features including variables, flexbox, and grid.
   
   TABLE OF CONTENTS:
   ------------------
   1. CSS Variables (Design Tokens)
   2. Reset & Base Styles
   3. Typography
   4. Layout & Grid System
   5. Components
      5.1 Buttons
      5.2 Cards
      5.3 Forms
      5.4 Navigation
      5.5 Tables
      5.6 Badges & Tags
      5.7 Progress Bars
      5.8 Avatars
      5.9 Alerts & Notifications
   6. Page-Specific Styles
      6.1 Landing Page
      6.2 Auth Pages
      6.3 Dashboard
      6.4 Financial Pages
   7. Animations & Keyframes
   8. Utilities
   9. Responsive Breakpoints
   10. Custom Scrollbar
   ========================================================================== */

/* ==========================================================================
   1. CSS VARIABLES (DESIGN TOKENS)
   ========================================================================== */

:root {
  /* === COLORS === */
  --primary: #e31937;
  --primary-hover: #dc2626;
  --primary-dark: #b91c1c;
  --primary-light: #f87171;
  --primary-glow: rgba(227, 25, 55, 0.4);
  --primary-gradient: linear-gradient(135deg, #e31937 0%, #ff6b6b 100%);

  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --bg-card: #171717;
  --bg-card-hover: #1f1f1f;
  --bg-input: #1a1a1a;
  --bg-input-focus: #222222;
  --bg-hover: #252525;
  --bg-overlay: rgba(0, 0, 0, 0.8);

  --text-white: #ffffff;
  --text-gray: #9ca3af;
  --text-light: #e5e7eb;
  --text-muted: #6b7280;
  --text-dark: #374151;

  --border-light: rgba(255, 255, 255, 0.1);
  --border-medium: rgba(255, 255, 255, 0.2);
  --border-glow: rgba(227, 25, 55, 0.5);

  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.1);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.1);
  --error: #ef4444;
  --error-bg: rgba(239, 68, 68, 0.1);
  --info: #3b82f6;
  --info-bg: rgba(59, 130, 246, 0.1);

  /* === TYPOGRAPHY === */
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;
  --font-size-7xl: 4.5rem;

  --font-weight-light: 300;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --font-weight-bold: 700;
  --font-weight-extrabold: 800;
  --font-weight-black: 900;

  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;

  /* === SPACING === */
  --space-0: 0;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* === BORDER RADIUS === */
  --radius-none: 0;
  --radius-sm: 0.25rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;

  /* === SHADOWS === */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.6);
  --shadow-glow: 0 0 30px var(--primary-glow);
  --shadow-inner: inset 0 2px 4px rgba(0, 0, 0, 0.3);

  /* === TRANSITIONS === */
  --transition-fast: 0.15s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;
  --transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* === LAYOUT === */
  --container-max: 1200px;
  --container-fluid: 1400px;
  --sidebar-width: 260px;
  --sidebar-collapsed: 80px;
  --navbar-height: 70px;
  --navbar-height-mobile: 60px;
}

/* ==========================================================================
   2. RESET & BASE STYLES
   ========================================================================== */

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

/* HTML & Body */
html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-normal);
  line-height: var(--line-height-normal);
  color: var(--text-white);
  background-color: var(--bg-dark);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Links */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

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

/* Images */
img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lists */
ul, ol {
  list-style: none;
}

/* Form elements */
button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  color: inherit;
  background: none;
  border: none;
  outline: none;
}

button {
  cursor: pointer;
}

/* Selection */
::selection {
  background: var(--primary);
  color: var(--text-white);
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* ==========================================================================
   3. TYPOGRAPHY
   ========================================================================== */

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: var(--font-weight-bold);
  line-height: var(--line-height-tight);
  color: var(--text-white);
  margin-bottom: var(--space-4);
}

h1 { font-size: var(--font-size-5xl); }
h2 { font-size: var(--font-size-4xl); }
h3 { font-size: var(--font-size-3xl); }
h4 { font-size: var(--font-size-2xl); }
h5 { font-size: var(--font-size-xl); }
h6 { font-size: var(--font-size-lg); }

/* Paragraphs */
p {
  margin-bottom: var(--space-4);
  color: var(--text-gray);
  line-height: var(--line-height-relaxed);
}

/* Small text */
small {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

/* Strong */
strong, b {
  font-weight: var(--font-weight-semibold);
}

/* Gradient text effect */
.gradient-text {
  background: linear-gradient(135deg, var(--primary) 0%, #ffffff 50%, var(--primary) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 3s ease infinite;
}

@keyframes gradientShift {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 100% center; }
}

/* ==========================================================================
   4. LAYOUT & GRID SYSTEM
   ========================================================================== */

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-fluid {
  width: 100%;
  max-width: var(--container-fluid);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

/* Flexbox utilities */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Grid system */
.grid {
  display: grid;
  gap: var(--space-6);
}

.grid-cols-1 { grid-template-columns: repeat(1, 1fr); }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }

/* Sections */
section {
  padding: var(--space-16) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-title h2 {
  margin-bottom: var(--space-4);
}

.section-title p {
  max-width: 600px;
  margin: 0 auto;
}

/* ==========================================================================
   5. COMPONENTS
   ========================================================================== */

/* --------------------------------------------------------------------------
   5.1 BUTTONS
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-lg);
  transition: all var(--transition-base);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--primary);
  color: var(--text-white);
  box-shadow: var(--shadow-md);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover::before {
  left: 100%;
}

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

.btn-outline {
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--border-medium);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(227, 25, 55, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-gray);
}

.btn-ghost:hover {
  color: var(--text-white);
  background: var(--bg-hover);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--font-size-lg);
}

.btn-sm {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
}

.btn-block {
  width: 100%;
}

.btn-icon {
  padding: var(--space-3);
  border-radius: var(--radius-full);
}

/* Button loading state */
.btn.loading {
  pointer-events: none;
  opacity: 0.7;
}

.btn.loading::after {
  content: '';
  width: 16px;
  height: 16px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

/* --------------------------------------------------------------------------
   5.2 CARDS
   -------------------------------------------------------------------------- */

.card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.card-hover:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: var(--shadow-glow);
}

.glass-effect {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass-dark {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Card variants */
.card-primary {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(227, 25, 55, 0.1) 0%, transparent 100%);
}

.card-header {
  margin-bottom: var(--space-4);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-light);
}

.card-body {
  margin-bottom: var(--space-4);
}

.card-footer {
  padding-top: var(--space-4);
  border-top: 1px solid var(--border-light);
}

/* --------------------------------------------------------------------------
   5.3 FORMS
   -------------------------------------------------------------------------- */

.form-group {
  margin-bottom: var(--space-5);
}

.form-label {
  display: block;
  margin-bottom: var(--space-2);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-light);
}

.form-input {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  background: var(--bg-input);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-white);
  font-size: var(--font-size-base);
  transition: all var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary);
  background: var(--bg-input-focus);
  box-shadow: 0 0 0 3px rgba(227, 25, 55, 0.2);
}

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

.form-input.error {
  border-color: var(--error);
}

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

/* Input with icon */
.input-wrapper {
  position: relative;
}

.input-wrapper .form-input {
  padding-right: var(--space-12);
}

.input-icon {
  position: absolute;
  right: var(--space-4);
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
}

.input-icon:hover {
  color: var(--text-white);
}

/* Error message */
.error-message {
  display: none;
  margin-top: var(--space-2);
  font-size: var(--font-size-sm);
  color: var(--error);
}

.form-group.has-error .error-message {
  display: block;
}

/* Checkbox & Radio */
.form-check {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

.form-check input {
  width: 18px;
  height: 18px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-check-label {
  font-size: var(--font-size-sm);
  color: var(--text-gray);
  cursor: pointer;
}

/* Select dropdown */
.form-select {
  width: 100%;
  padding: var(--space-3) var(--space-4);
  padding-right: var(--space-10);
  background: var(--bg-input);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-white);
  font-size: var(--font-size-base);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239ca3af' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-4) center;
  background-size: 16px;
  transition: all var(--transition-fast);
}

.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(227, 25, 55, 0.2);
}

/* --------------------------------------------------------------------------
   5.4 NAVIGATION
   -------------------------------------------------------------------------- */

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--navbar-height);
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  transition: all var(--transition-base);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-fluid);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: var(--font-size-xl);
  font-weight: var(--font-weight-bold);
  color: var(--text-white);
}

.navbar-brand:hover {
  color: var(--text-white);
}

.navbar-logo {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-black);
  font-size: var(--font-size-xl);
}

.navbar-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.navbar-links {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.nav-link {
  position: relative;
  font-size: var(--font-size-base);
  font-weight: var(--font-weight-medium);
  color: var(--text-gray);
  padding: var(--space-2) 0;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

/* Mobile menu */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
}

.mobile-menu-btn span {
  width: 24px;
  height: 2px;
  background: var(--text-white);
  transition: all var(--transition-base);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  background: var(--bg-dark);
  border-bottom: 1px solid var(--border-light);
  padding: var(--space-6);
  z-index: 999;
}

.mobile-menu.active {
  display: block;
  animation: slideDown 0.3s ease;
}

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

.mobile-nav-link {
  display: block;
  padding: var(--space-4);
  font-size: var(--font-size-lg);
  color: var(--text-gray);
  border-bottom: 1px solid var(--border-light);
}

.mobile-nav-link:hover {
  color: var(--primary);
  background: var(--bg-hover);
}

/* --------------------------------------------------------------------------
   5.5 TABLES
   -------------------------------------------------------------------------- */

.table-container {
  overflow-x: auto;
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
}

.table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-card);
}

.table th,
.table td {
  padding: var(--space-4);
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.table th {
  background: var(--bg-hover);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.table td {
  font-size: var(--font-size-base);
  color: var(--text-gray);
}

.table tbody tr {
  transition: background var(--transition-fast);
}

.table tbody tr:hover {
  background: var(--bg-hover);
}

.table tbody tr:last-child td {
  border-bottom: none;
}

/* --------------------------------------------------------------------------
   5.6 BADGES & TAGS
   -------------------------------------------------------------------------- */

.badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-1) var(--space-3);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
}

.badge-warning {
  background: var(--warning-bg);
  color: var(--warning);
}

.badge-error {
  background: var(--error-bg);
  color: var(--error);
}

.badge-info {
  background: var(--info-bg);
  color: var(--info);
}

.badge-primary {
  background: rgba(227, 25, 55, 0.1);
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   5.7 PROGRESS BARS
   -------------------------------------------------------------------------- */

.progress {
  width: 100%;
  height: 8px;
  background: var(--bg-hover);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width var(--transition-slow);
}

.progress-bar.success {
  background: var(--success);
}

.progress-bar.warning {
  background: var(--warning);
}

/* --------------------------------------------------------------------------
   5.8 AVATARS
   -------------------------------------------------------------------------- */

.avatar {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-bold);
  flex-shrink: 0;
}

.avatar-lg {
  width: 60px;
  height: 60px;
  font-size: var(--font-size-xl);
}

.avatar-sm {
  width: 32px;
  height: 32px;
  font-size: var(--font-size-xs);
}

/* Avatar with image */
.avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
}

/* Avatar group */
.avatar-group {
  display: flex;
}

.avatar-group .avatar {
  margin-left: -10px;
  border: 2px solid var(--bg-dark);
}

.avatar-group .avatar:first-child {
  margin-left: 0;
}

/* --------------------------------------------------------------------------
   5.9 ALERTS & NOTIFICATIONS
   -------------------------------------------------------------------------- */

.alert {
  padding: var(--space-4);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.alert-success {
  background: var(--success-bg);
  border: 1px solid var(--success);
  color: var(--success);
}

.alert-error {
  background: var(--error-bg);
  border: 1px solid var(--error);
  color: var(--error);
}

.alert-warning {
  background: var(--warning-bg);
  border: 1px solid var(--warning);
  color: var(--warning);
}

.alert-info {
  background: var(--info-bg);
  border: 1px solid var(--info);
  color: var(--info);
}

/* Toast notification */
.toast-container {
  position: fixed;
  top: var(--space-6);
  right: var(--space-6);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.toast {
  padding: var(--space-4) var(--space-6);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  animation: slideInRight 0.3s ease;
  min-width: 300px;
}

.toast.success {
  border-left: 4px solid var(--success);
}

.toast.error {
  border-left: 4px solid var(--error);
}

.toast.warning {
  border-left: 4px solid var(--warning);
}

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

/* ==========================================================================
   6. PAGE-SPECIFIC STYLES
   ========================================================================== */

/* --------------------------------------------------------------------------
   6.1 LANDING PAGE
   -------------------------------------------------------------------------- */

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 50%, var(--bg-darker) 100%);
  z-index: 0;
}

.hero-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(227, 25, 55, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(227, 25, 55, 0.1) 0%, transparent 50%);
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 900px;
  padding: var(--space-20) var(--space-6);
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: var(--font-size-6xl);
  font-weight: var(--font-weight-black);
  margin-bottom: var(--space-6);
  line-height: 1.1;
}

.hero p {
  font-size: var(--font-size-xl);
  color: var(--text-gray);
  margin-bottom: var(--space-8);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Stats */
.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-top: var(--space-16);
  animation: fadeInUp 1s ease 0.3s backwards;
}

.hero-stat {
  text-align: center;
  padding: var(--space-6);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
}

.hero-stat-value {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.hero-stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-gray);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-15px);
  }
  60% {
    transform: translateX(-50%) translateY(-8px);
  }
}

/* Video Section */
.video-section {
  background: var(--bg-dark);
}

.video-container {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.video-poster {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
}

.video-poster::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 70%, rgba(227, 25, 55, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 30%, rgba(227, 25, 55, 0.15) 0%, transparent 50%);
}

.play-button {
  width: 80px;
  height: 80px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
  z-index: 1;
}

.play-button:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-glow);
}

.play-button svg {
  width: 32px;
  height: 32px;
  margin-left: 4px;
}

/* Features Section */
.features-section {
  background: var(--bg-card);
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.features-image {
  position: relative;
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--bg-hover) 0%, var(--bg-dark) 100%);
  border-radius: var(--radius-2xl);
  overflow: hidden;
}

.features-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 60% 40%, rgba(227, 25, 55, 0.3) 0%, transparent 60%);
}

.features-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.feature-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--bg-dark);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-light);
  transition: all var(--transition-base);
}

.feature-item:hover {
  border-color: var(--primary);
  transform: translateX(10px);
}

.feature-icon {
  width: 50px;
  height: 50px;
  background: var(--primary);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
}

.feature-content h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-2);
}

.feature-content p {
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

/* Why Invest Section */
.invest-section {
  background: var(--bg-dark);
}

.invest-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.invest-card {
  text-align: center;
  padding: var(--space-10);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-base);
}

.invest-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
}

.invest-icon {
  width: 80px;
  height: 80px;
  background: rgba(227, 25, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
}

.invest-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

.invest-card h3 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-3);
}

.invest-card p {
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

/* Plans Section */
.plans-section {
  background: var(--bg-card);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-6);
}

.plan-card {
  position: relative;
  padding: var(--space-8);
  background: var(--bg-dark);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-2xl);
  transition: all var(--transition-base);
  overflow: hidden;
}

.plan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--transition-base);
}

.plan-card:hover {
  border-color: var(--primary);
  transform: translateY(-10px);
  box-shadow: var(--shadow-glow);
}

.plan-card:hover::before {
  transform: scaleX(1);
}

.plan-card.popular {
  border-color: var(--primary);
}

.plan-card.popular::before {
  transform: scaleX(1);
}

.plan-badge {
  position: absolute;
  top: var(--space-4);
  right: var(--space-4);
  background: var(--primary);
  color: var(--text-white);
  padding: var(--space-1) var(--space-3);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-bold);
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.plan-header {
  text-align: center;
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-6);
  border-bottom: 1px solid var(--border-light);
}

.plan-name {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-3);
}

.plan-roi {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  color: var(--primary);
  margin-bottom: var(--space-2);
}

.plan-roi-label {
  font-size: var(--font-size-sm);
  color: var(--text-gray);
}

.plan-details {
  margin-bottom: var(--space-6);
}

.plan-detail {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
  font-size: var(--font-size-sm);
}

.plan-detail:last-child {
  border-bottom: none;
}

.plan-detail-label {
  color: var(--text-gray);
}

.plan-detail-value {
  font-weight: var(--font-weight-semibold);
}

.plan-features {
  margin-bottom: var(--space-6);
}

.plan-feature {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) 0;
  font-size: var(--font-size-sm);
  color: var(--text-gray);
}

.plan-feature svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* Transactions Section */
.transactions-section {
  background: var(--bg-dark);
  overflow: hidden;
}

.transactions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
}

.transactions-column {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
}

.transactions-header {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin-bottom: var(--space-6);
  padding-bottom: var(--space-4);
  border-bottom: 1px solid var(--border-light);
}

.transactions-header svg {
  width: 24px;
  height: 24px;
}

.transactions-header.success svg {
  color: var(--success);
}

.transactions-header.warning svg {
  color: var(--warning);
}

.transactions-list {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.transactions-list::before,
.transactions-list::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 2;
  pointer-events: none;
}

.transactions-list::before {
  top: 0;
  background: linear-gradient(to bottom, var(--bg-card), transparent);
}

.transactions-list::after {
  bottom: 0;
  background: linear-gradient(to top, var(--bg-card), transparent);
}

.transactions-scroll {
  animation: scrollUp 30s linear infinite;
}

.transactions-scroll:hover {
  animation-play-state: paused;
}

@keyframes scrollUp {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-50%);
  }
}

.transaction-item {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-3);
  transition: all var(--transition-base);
}

.transaction-item:hover {
  transform: scale(1.02);
  background: var(--bg-hover);
}

.transaction-info {
  flex: 1;
}

.transaction-name {
  font-weight: var(--font-weight-semibold);
  margin-bottom: var(--space-1);
}

.transaction-time {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.transaction-amount {
  font-weight: var(--font-weight-bold);
  font-size: var(--font-size-lg);
}

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

.transaction-amount.withdraw {
  color: var(--warning);
}

/* Chart Section */
.chart-section {
  background: var(--bg-card);
}

.chart-grid {
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: var(--space-8);
}

.chart-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-6);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}

.chart-tabs {
  display: flex;
  gap: var(--space-2);
}

.chart-tab {
  padding: var(--space-2) var(--space-4);
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-medium);
  color: var(--text-gray);
  background: var(--bg-hover);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chart-tab.active {
  background: var(--primary);
  color: var(--text-white);
}

.chart-tab:hover:not(.active) {
  color: var(--text-white);
}

.chart-canvas {
  height: 300px;
  min-height: 300px;
  position: relative;
}

.market-data {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.market-stat {
  display: flex;
  justify-content: space-between;
  padding: var(--space-4);
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.market-stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-gray);
}

.market-stat-value {
  font-weight: var(--font-weight-bold);
}

.market-price {
  text-align: center;
  padding: var(--space-6);
  background: linear-gradient(135deg, rgba(227, 25, 55, 0.1), transparent);
  border-radius: var(--radius-xl);
  border: 1px solid var(--primary);
  margin-bottom: var(--space-4);
}

.market-price-value {
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-2);
}

.market-price-change {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: var(--font-weight-semibold);
}

.market-price-change.positive {
  color: var(--success);
}

.market-price-change.negative {
  color: var(--error);
}

#current-price {
  color: #4ade80;
}

#price-percent {
  font-size: var(--font-size-lg);
}

#refresh-btn:hover {
  background: var(--bg-hover);
  color: var(--primary);
  border-color: var(--primary);
}

#refresh-btn svg {
  transition: transform 0.3s ease;
}

/* Dashboard Stock Chart Compact Styles */
.market-stats-compact {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.market-price-compact {
  text-align: center;
  padding: var(--space-4);
  background: linear-gradient(135deg, rgba(227, 25, 55, 0.1), transparent);
  border-radius: var(--radius-lg);
  border: 1px solid var(--primary);
}

.market-price-value-compact {
  font-size: var(--font-size-2xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-1);
}

.market-price-change-compact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-1);
  font-weight: var(--font-weight-semibold);
  font-size: var(--font-size-sm);
}

.market-price-change-compact.positive {
  color: var(--success);
}

.market-price-change-compact.negative {
  color: var(--error);
}

.market-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-2);
}

.market-stat-compact {
  display: flex;
  flex-direction: column;
  padding: var(--space-3);
  background: var(--bg-dark);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.market-stat-compact .market-stat-label {
  font-size: 0.7rem;
  color: var(--text-gray);
  margin-bottom: 0.25rem;
}

.market-stat-compact .market-stat-value {
  font-size: 0.8rem;
  font-weight: var(--font-weight-semibold);
}

.stock-chart-section {
  margin-bottom: 2rem;
}

/* Market Overview Section */
.market-overview-section {
  margin-bottom: 2rem;
}

.market-stocks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
}

.market-stock-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.market-stock-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(227, 25, 55, 0.15);
}

.market-stock-card.loading {
  opacity: 0.7;
}

.market-stock-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.market-stock-symbol {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-white);
}

.market-stock-name {
  font-size: 0.65rem;
  color: var(--text-gray);
  text-align: right;
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-stock-price {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.market-stock-change {
  font-size: 0.75rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.market-stock-change.positive {
  color: var(--success);
}

.market-stock-change.negative {
  color: var(--error);
}

.market-stock-chart {
  width: 100%;
  height: 40px;
}

/* Crypto card specific styling */
.market-stock-card[data-crypto="true"] {
  border-color: rgba(247, 147, 26, 0.3);
}

.market-stock-card[data-crypto="true"]:hover {
  border-color: #f7931a;
  box-shadow: 0 4px 12px rgba(247, 147, 26, 0.15);
}

.market-stock-card[data-crypto="true"] .market-stock-symbol {
  color: #f7931a;
}

/* --------------------------------------------------------------------------
   6.2 AUTH PAGES
   -------------------------------------------------------------------------- */

.auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.auth-left {
  position: relative;
  background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
}

.auth-left::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(227, 25, 55, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(227, 25, 55, 0.15) 0%, transparent 50%);
}

.auth-brand {
  position: relative;
  text-align: center;
  max-width: 400px;
}

.auth-brand-logo {
  width: 100px;
  height: 100px;
  background: var(--primary);
  border-radius: var(--radius-2xl);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-8);
  font-size: var(--font-size-4xl);
  font-weight: var(--font-weight-black);
  box-shadow: var(--shadow-glow);
}

.auth-brand h1 {
  font-size: var(--font-size-4xl);
  margin-bottom: var(--space-4);
}

.auth-brand p {
  font-size: var(--font-size-lg);
  color: var(--text-gray);
}

.auth-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-12);
  background: var(--bg-dark);
}

.auth-form-container {
  width: 100%;
  max-width: 450px;
}

.auth-title {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-2);
  text-align: center;
}

.auth-subtitle {
  text-align: center;
  margin-bottom: var(--space-8);
}

.auth-form {
  margin-bottom: var(--space-6);
}

.auth-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-4);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin: var(--space-6) 0;
}

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

.auth-divider span {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
}

.auth-social {
  display: flex;
  gap: var(--space-4);
}

.btn-social {
  flex: 1;
  padding: var(--space-3);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  transition: all var(--transition-fast);
}

.btn-social:hover {
  background: var(--bg-hover);
  border-color: var(--border-medium);
}

.btn-social svg {
  width: 20px;
  height: 20px;
}

.auth-footer {
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--text-gray);
}

.auth-footer a {
  color: var(--primary);
  font-weight: var(--font-weight-semibold);
}

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

/* Forgot password specific */
.forgot-password-container {
  text-align: center;
  max-width: 400px;
}

.forgot-password-icon {
  width: 80px;
  height: 80px;
  background: rgba(227, 25, 55, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-6);
}

.forgot-password-icon svg {
  width: 40px;
  height: 40px;
  color: var(--primary);
}

/* --------------------------------------------------------------------------
   6.3 DASHBOARD
   -------------------------------------------------------------------------- */

.dashboard-layout {
  display: flex;
  min-height: 100vh;
  padding-top: var(--navbar-height);
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  bottom: 0;
  width: var(--sidebar-width);
  background: var(--bg-card);
  border-right: 1px solid var(--border-light);
  padding: var(--space-6);
  transition: all var(--transition-base);
  z-index: 100;
  overflow-y: auto;
}

.sidebar.collapsed {
  width: var(--sidebar-collapsed);
}

.sidebar.collapsed .sidebar-text {
  display: none;
}

.sidebar.collapsed .sidebar-logo span {
  display: none;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-4);
  color: var(--text-gray);
  border-radius: var(--radius-lg);
  transition: all var(--transition-fast);
}

.sidebar-link:hover {
  background: var(--bg-hover);
  color: var(--text-white);
}

.sidebar-link.active {
  background: rgba(227, 25, 55, 0.1);
  color: var(--primary);
  border-left: 3px solid var(--primary);
}

.sidebar-link svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.sidebar-divider {
  height: 1px;
  background: var(--border-light);
  margin: var(--space-4) 0;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: var(--space-6);
}

/* Main Content */
.main-content {
  flex: 1;
  margin-left: var(--sidebar-width);
  padding: var(--space-8);
  background: var(--bg-dark);
  transition: margin-left var(--transition-base);
}

.sidebar.collapsed ~ .main-content {
  margin-left: var(--sidebar-collapsed);
}

/* Topbar */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-8);
}

.topbar-left h1 {
  font-size: var(--font-size-2xl);
  margin-bottom: var(--space-2);
}

.topbar-left p {
  font-size: var(--font-size-sm);
  margin-bottom: 0;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.topbar-icon-btn {
  position: relative;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-gray);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.topbar-icon-btn:hover {
  background: var(--bg-hover);
  color: var(--text-white);
}

.topbar-icon-btn .badge-dot {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 10px;
  height: 10px;
  background: var(--primary);
  border-radius: 50%;
  border: 2px solid var(--bg-card);
}

.topbar-user {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-2) var(--space-4);
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.topbar-user:hover {
  background: var(--bg-hover);
}

.topbar-user-info {
  text-align: right;
}

.topbar-user-name {
  font-size: var(--font-size-sm);
  font-weight: var(--font-weight-semibold);
}

.topbar-user-role {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  margin-bottom: var(--space-8);
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.stat-card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
}

.stat-card.primary {
  background: linear-gradient(135deg, rgba(227, 25, 55, 0.2), transparent);
  border-color: var(--primary);
}

.stat-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-4);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: rgba(227, 25, 55, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-label {
  font-size: var(--font-size-sm);
  color: var(--text-gray);
  margin-bottom: var(--space-2);
}

.stat-value {
  font-size: var(--font-size-3xl);
  font-weight: var(--font-weight-bold);
  margin-bottom: var(--space-1);
}

.stat-change {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  font-size: var(--font-size-sm);
}

.stat-change.positive {
  color: var(--success);
}

.stat-change.negative {
  color: var(--error);
}

/* Investments Grid */
.investments-section {
  margin-bottom: var(--space-8);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-6);
}

.investments-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.investment-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.investment-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: var(--space-4);
}

.investment-info h4 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-1);
}

.investment-info p {
  font-size: var(--font-size-sm);
  color: var(--text-muted);
  margin-bottom: 0;
}

.investment-badge {
  padding: var(--space-1) var(--space-3);
  font-size: var(--font-size-xs);
  font-weight: var(--font-weight-semibold);
  border-radius: var(--radius-full);
  background: rgba(227, 25, 55, 0.1);
  color: var(--primary);
}

.investment-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-4);
  padding: var(--space-4);
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
}

.investment-stat {
  text-align: center;
}

.investment-stat-label {
  font-size: var(--font-size-xs);
  color: var(--text-muted);
  margin-bottom: var(--space-1);
}

.investment-stat-value {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
}

.investment-stat-value.positive {
  color: var(--success);
}

/* Quick Actions */
.quick-actions {
  display: flex;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
}

.quick-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding: var(--space-5);
  background: var(--bg-card);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-semibold);
  transition: all var(--transition-base);
}

.quick-action-btn:hover {
  border-color: var(--primary);
  background: rgba(227, 25, 55, 0.1);
}

.quick-action-btn svg {
  width: 24px;
  height: 24px;
}

/* Recent Transactions */
.recent-transactions {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
}

.recent-transactions .table th,
.recent-transactions .table td {
  padding: var(--space-4);
}

.transaction-type {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.transaction-type svg {
  width: 20px;
  height: 20px;
}

.transaction-type.deposit {
  color: var(--success);
}

.transaction-type.withdraw {
  color: var(--warning);
}

/* --------------------------------------------------------------------------
   6.4 FINANCIAL PAGES
   -------------------------------------------------------------------------- */

.financial-page {
  max-width: 600px;
  margin: 0 auto;
  padding: var(--space-8);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--text-gray);
  margin-bottom: var(--space-6);
  font-size: var(--font-size-sm);
  transition: color var(--transition-fast);
}

.back-link:hover {
  color: var(--primary);
}

.back-link svg {
  width: 20px;
  height: 20px;
}

.financial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  padding: var(--space-8);
}

.financial-title {
  font-size: var(--font-size-3xl);
  margin-bottom: var(--space-2);
  text-align: center;
}

.financial-subtitle {
  text-align: center;
  margin-bottom: var(--space-8);
}

.payment-methods {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-4);
  margin-bottom: var(--space-6);
}

.payment-method {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4);
  background: var(--bg-dark);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.payment-method:hover {
  border-color: var(--border-medium);
}

.payment-method.selected {
  border-color: var(--primary);
  background: rgba(227, 25, 55, 0.1);
}

.payment-method svg {
  width: 32px;
  height: 32px;
  color: var(--primary);
}

.payment-method-label {
  font-weight: var(--font-weight-medium);
}

.summary-card {
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: var(--space-6);
  margin-bottom: var(--space-6);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: var(--space-3) 0;
  border-bottom: 1px solid var(--border-light);
}

.summary-row:last-child {
  border-bottom: none;
}

.summary-row.total {
  font-size: var(--font-size-lg);
  font-weight: var(--font-weight-bold);
  padding-top: var(--space-4);
  margin-top: var(--space-3);
  border-top: 2px solid var(--primary);
  border-bottom: none;
}

.security-badges {
  display: flex;
  justify-content: center;
  gap: var(--space-6);
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid var(--border-light);
}

.security-badge {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--font-size-xs);
  color: var(--text-muted);
}

.security-badge svg {
  width: 16px;
  height: 16px;
  color: var(--success);
}

/* ==========================================================================
   7. ANIMATIONS & KEYFRAMES
   ========================================================================== */

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

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

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

/* Animation utilities */
.animate-fadeInUp {
  animation: fadeInUp 0.8s ease forwards;
}

.animate-fadeIn {
  animation: fadeIn 0.5s ease forwards;
}

.animate-slideInLeft {
  animation: slideInLeft 0.6s ease forwards;
}

.animate-slideInRight {
  animation: slideInRight 0.6s ease forwards;
}

.animate-float {
  animation: float 3s ease-in-out infinite;
}

.animate-pulse {
  animation: pulse 2s ease-in-out infinite;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

#chart-loading {
  border-radius: var(--radius-xl);
}

#chart-loading .animate-spin {
  animation: spin 1s linear infinite;
  border-top-color: var(--primary);
}

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

/* ==========================================================================
   8. UTILITIES
   ========================================================================== */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-primary { color: var(--primary); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-error { color: var(--error); }
.text-green { color: #10b981; }
.text-red { color: #ef4444; }
.text-muted { color: var(--text-muted); }
.text-gray { color: var(--text-gray); }
.text-white { color: var(--text-white); }

.text-green-400 { color: #4ade80; }
.text-red-400 { color: #f87171; }

.bg-dark { background-color: var(--bg-dark); }
.bg-card { background-color: var(--bg-card); }
.bg-primary { background-color: var(--primary); }

.font-light { font-weight: var(--font-weight-light); }
.font-normal { font-weight: var(--font-weight-normal); }
.font-medium { font-weight: var(--font-weight-medium); }
.font-semibold { font-weight: var(--font-weight-semibold); }
.font-bold { font-weight: var(--font-weight-bold); }

.text-xs { font-size: var(--font-size-xs); }
.text-sm { font-size: var(--font-size-sm); }
.text-base { font-size: var(--font-size-base); }
.text-lg { font-size: var(--font-size-lg); }
.text-xl { font-size: var(--font-size-xl); }
.text-2xl { font-size: var(--font-size-2xl); }
.text-3xl { font-size: var(--font-size-3xl); }
.text-4xl { font-size: var(--font-size-4xl); }

.mt-1 { margin-top: var(--space-1); }
.mt-2 { margin-top: var(--space-2); }
.mt-3 { margin-top: var(--space-3); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }

.mb-1 { margin-bottom: var(--space-1); }
.mb-2 { margin-bottom: var(--space-2); }
.mb-3 { margin-bottom: var(--space-3); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

.p-4 { padding: var(--space-4); }
.p-6 { padding: var(--space-6); }
.p-8 { padding: var(--space-8); }

.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.rounded-full { border-radius: var(--radius-full); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-glow { box-shadow: var(--shadow-glow); }

.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }

/* ==========================================================================
   9. RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* Tablet (768px - 1023px) */
@media (max-width: 1023px) {
  :root {
    --navbar-height: var(--navbar-height-mobile);
  }

  /* Navigation */
  .navbar-links {
    display: none;
  }

  .navbar-actions {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  /* Hero */
  .hero h1 {
    font-size: var(--font-size-4xl);
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  /* Plans */
  .plans-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Chart */
  .chart-grid {
    grid-template-columns: 1fr;
  }

  .market-data {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .market-stat {
    flex: 1 1 45%;
  }

  /* Dashboard */
  .sidebar {
    transform: translateX(-100%);
    width: var(--sidebar-width);
  }

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

  .main-content {
    margin-left: 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  /* Auth */
  .auth-page {
    grid-template-columns: 1fr;
  }

  .auth-left {
    display: none;
  }

  .auth-form-row {
    grid-template-columns: 1fr;
  }
}

/* Mobile (< 768px) */
@media (max-width: 767px) {
  html {
    font-size: 14px;
  }

  section {
    padding: var(--space-12) 0;
  }

  .container {
    padding: 0 var(--space-4);
  }

  /* Hero */
  .hero {
    min-height: auto;
    padding-top: calc(var(--navbar-height) + var(--space-8));
  }

  .hero h1 {
    font-size: var(--font-size-3xl);
  }

  .hero p {
    font-size: var(--font-size-base);
  }

  .hero-buttons {
    flex-direction: column;
  }

  .hero-buttons .btn {
    width: 100%;
  }

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

  /* Sections */
  .section-title h2 {
    font-size: var(--font-size-2xl);
  }

  /* Features */
  .feature-item {
    flex-direction: column;
    text-align: center;
  }

  /* Invest */
  .invest-grid {
    grid-template-columns: 1fr;
  }

  /* Plans */
  .plans-grid {
    grid-template-columns: 1fr;
  }

  /* Transactions */
  .transactions-grid {
    grid-template-columns: 1fr;
  }

  /* Dashboard */
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .topbar {
    flex-direction: column;
    gap: var(--space-4);
    align-items: flex-start;
  }

  .topbar-right {
    width: 100%;
    justify-content: flex-end;
  }

  .quick-actions {
    flex-direction: column;
  }

  /* Financial */
  .financial-card {
    padding: var(--space-6);
  }

  .payment-methods {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Small mobile (< 480px) */
@media (max-width: 479px) {
  .hero h1 {
    font-size: var(--font-size-2xl);
  }

  .btn-lg {
    padding: var(--space-3) var(--space-6);
    font-size: var(--font-size-base);
  }

  .chart-tabs {
    flex-wrap: wrap;
  }

  .security-badges {
    flex-direction: column;
    align-items: center;
  }
}

/* ==========================================================================
   10. CUSTOM SCROLLBAR
   ========================================================================== */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: var(--bg-hover);
  border-radius: var(--radius-full);
  transition: background var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: var(--bg-hover) var(--bg-dark);
}

/* ==========================================================================
   COPY TRADING STYLES
   ========================================================================== */

/* Traders Grid */
.traders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Trader Card */
.trader-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.trader-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 25, 55, 0.15);
}

.trader-card.my-trader-card {
  border-color: var(--success);
}

.trader-card.my-trader-card:hover {
  border-color: var(--success);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

.trader-card-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.trader-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-light);
  flex-shrink: 0;
}

.trader-info {
  flex: 1;
  min-width: 0;
}

.trader-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: var(--text-white);
}

.trader-description {
  font-size: 0.8rem;
  color: var(--text-gray);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.trader-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
}

.trader-stat {
  text-align: center;
}

.trader-stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-gray);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.trader-stat-value {
  font-size: 0.9rem;
  font-weight: 600;
}

.trader-stat-value.positive {
  color: var(--success);
}

.trader-stat-value.negative {
  color: var(--error);
}

/* Badge Variants for Trader */
.badge-secondary {
  background: var(--bg-hover);
  color: var(--text-gray);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
}

.empty-state svg {
  margin-bottom: 1rem;
  opacity: 0.5;
}

.empty-state h3 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-gray);
  font-size: 0.875rem;
  max-width: 400px;
  margin: 0 auto;
}

/* ==========================================================================
   ADMIN PANEL STYLES
   ========================================================================== */

.admin-layout {
  min-height: 100vh;
  background: var(--bg-dark);
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 0;
  z-index: 100;
}

.admin-header-title {
  font-weight: 600;
  color: var(--text-white);
}

.admin-main {
  padding: 2rem;
}

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

.admin-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.admin-page-header h1 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}

.admin-page-header p {
  color: var(--text-gray);
  font-size: 0.875rem;
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.admin-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.admin-card-header h3 {
  font-size: 1rem;
  font-weight: 600;
}

/* Photo Upload */
.photo-upload-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.photo-preview {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-light);
}

.photo-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-upload-controls {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

/* Modal Content */
.modal-content {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   RESPONSIVE ADJUSTMENTS FOR COPY TRADING
   ========================================================================== */

@media (max-width: 768px) {
  .traders-grid {
    grid-template-columns: 1fr;
  }
  
  .admin-header {
    padding: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
  }
  
  .admin-header-title {
    order: 3;
    width: 100%;
    text-align: center;
  }
  
  .admin-main {
    padding: 1rem;
  }
  
  .admin-page-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .admin-page-header .btn {
    width: 100%;
  }
}

/* ==========================================================================
   STAKING POOLS STYLES
   ========================================================================== */

/* Staking Pools Grid */
.staking-pools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

/* Pool Card */
.pool-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.pool-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(227, 25, 55, 0.15);
}

.pool-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.pool-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary) 0%, #ff6b6b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: white;
  flex-shrink: 0;
}

.pool-info {
  flex: 1;
  min-width: 0;
}

.pool-name {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  color: var(--text-white);
}

.pool-symbol {
  font-size: 0.8rem;
  color: var(--text-gray);
}

.pool-apy {
  background: var(--success);
  color: white;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  font-size: 0.8rem;
  font-weight: 600;
  white-space: nowrap;
}

.pool-description {
  font-size: 0.8rem;
  color: var(--text-gray);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.pool-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
}

.pool-stat {
  text-align: center;
}

.pool-stat-label {
  display: block;
  font-size: 0.65rem;
  color: var(--text-gray);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pool-stat-value {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-white);
}

.pool-penalty {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  color: #f7931a;
  margin-bottom: 1rem;
  padding: 0.5rem;
  background: rgba(247, 147, 26, 0.1);
  border-radius: var(--radius-md);
}

/* Stake Card (for user's active stakes) */
.stake-card {
  background: var(--bg-card);
  border: 1px solid var(--success);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.stake-card:hover {
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.15);
}

.stake-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
}

.stake-stat {
  display: flex;
  flex-direction: column;
}

.stake-stat-label {
  font-size: 0.65rem;
  color: var(--text-gray);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.stake-stat-value {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-white);
}

.stake-actions {
  display: flex;
  gap: 0.5rem;
}

.stake-actions .btn {
  flex: 1;
}

/* Yield Mode Buttons */
#yield-compound-btn svg,
#yield-claimable-btn svg {
  margin-right: 0.25rem;
}

/* ==========================================================================
   RESPONSIVE STAKING STYLES
   ========================================================================== */

@media (max-width: 768px) {
  .staking-pools-grid {
    grid-template-columns: 1fr;
  }
  
  .pool-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .stake-stats {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .pool-stats {
    grid-template-columns: 1fr 1fr;
  }
  
  .stake-stats {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   DASHBOARD ENHANCED STYLES
   ========================================================================== */

/* Quick Actions Inline */
.quick-actions-inline {
  display: flex;
  gap: 0.75rem;
}

/* Notification Dropdown */
.notification-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: 360px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  z-index: 1000;
  overflow: hidden;
}

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

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

.notification-list {
  max-height: 400px;
  overflow-y: auto;
}

.notification-item {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s ease;
}

.notification-item:hover {
  background: var(--bg-hover);
}

.notification-item.unread {
  background: rgba(227, 25, 55, 0.05);
}

.notification-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.notification-icon svg {
  width: 18px;
  height: 18px;
}

.notification-icon.success {
  background: var(--success-bg);
  color: var(--success);
}

.notification-icon.warning {
  background: var(--warning-bg);
  color: var(--warning);
}

.notification-icon.info {
  background: var(--info-bg);
  color: var(--info);
}

.notification-content {
  flex: 1;
  min-width: 0;
}

.notification-content p {
  font-size: 0.85rem;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

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

.notification-empty {
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Dashboard Stats */
.dashboard-stats {
  grid-template-columns: repeat(4, 1fr);
}

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

.stat-trend {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: var(--radius-full);
}

.stat-trend.positive {
  background: var(--success-bg);
  color: var(--success);
}

.stat-trend.negative {
  background: var(--error-bg);
  color: var(--error);
}

/* Dashboard Row */
.dashboard-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Portfolio Summary */
.portfolio-summary {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.portfolio-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.portfolio-stat {
  text-align: center;
}

.portfolio-stat-label {
  display: block;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.portfolio-stat-value {
  font-size: 1rem;
  font-weight: 600;
}

.portfolio-stat-value.positive {
  color: var(--success);
}

.portfolio-chart {
  height: 180px;
  margin-bottom: 1rem;
}

.portfolio-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-gray);
}

.legend-color {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

/* Live Feed */
.live-feed {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--success);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
}

.feed-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.feed-tab {
  padding: 0.5rem 1rem;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-gray);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.feed-tab:hover {
  border-color: var(--border-medium);
  color: var(--text-white);
}

.feed-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.feed-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.feed-stat {
  text-align: center;
}

.feed-stat-value {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-white);
  margin-bottom: 0.15rem;
}

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

.feed-list {
  max-height: 280px;
  overflow-y: auto;
}

.feed-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border-light);
}

.feed-item:last-child {
  border-bottom: none;
}

.feed-avatar {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, #ff6b6b 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  flex-shrink: 0;
}

.feed-info {
  flex: 1;
  min-width: 0;
}

.feed-info strong {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.1rem;
}

.feed-info span {
  font-size: 0.7rem;
  color: var(--text-muted);
}

.feed-amount {
  font-size: 0.85rem;
  font-weight: 600;
}

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

.feed-amount.withdrawal {
  color: var(--warning);
}

/* Investments Section */
.investments-section {
  margin-bottom: 1.5rem;
}

.plan-tabs {
  display: flex;
  gap: 0.5rem;
}

.plan-tab {
  padding: 0.5rem 1.25rem;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-gray);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.plan-tab:hover {
  border-color: var(--border-medium);
  color: var(--text-white);
}

.plan-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.plan-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(227, 25, 55, 0.2);
}

.plan-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.35rem 0.85rem;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.plan-badge.popular {
  background: var(--primary);
  color: white;
}

.plan-badge.new {
  background: var(--success);
  color: white;
}

.plan-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.plan-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.plan-header h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
}

.plan-return {
  text-align: center;
  padding: 1rem;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
}

.return-value {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--success);
  margin-bottom: 0.25rem;
}

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

.plan-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.plan-detail {
  text-align: center;
}

.plan-detail span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.plan-detail strong {
  font-size: 0.85rem;
  font-weight: 600;
}

/* Active Investments */
.active-investments {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.investments-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.investment-item {
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1rem;
  transition: all 0.2s ease;
}

.investment-item:hover {
  border-color: var(--border-medium);
}

.investment-item-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.investment-item-header strong {
  font-size: 0.9rem;
  font-weight: 600;
}

.investment-item-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.investment-item-stats > div {
  text-align: center;
}

.investment-item-stats span {
  display: block;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
  text-transform: uppercase;
}

.investment-item-stats strong {
  font-size: 0.85rem;
  font-weight: 600;
}

.investment-item-stats strong.positive {
  color: var(--success);
}

.investment-item-progress {
  height: 4px;
  background: var(--bg-hover);
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.investment-item-progress .progress-bar {
  height: 100%;
  background: var(--primary);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}

.investment-item-footer {
  display: flex;
  justify-content: space-between;
  font-size: 0.7rem;
  color: var(--text-muted);
}

.empty-state-small {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 2rem;
  text-align: center;
}

.empty-state-small svg {
  margin-bottom: 1rem;
  opacity: 0.4;
}

.empty-state-small p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Market Overview */
.market-overview-dashboard {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
}

.market-tabs {
  display: flex;
  gap: 0.5rem;
}

.market-tab {
  padding: 0.4rem 0.85rem;
  background: transparent;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-gray);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.market-tab:hover {
  border-color: var(--border-medium);
  color: var(--text-white);
}

.market-tab.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.market-chart-container {
  height: 140px;
  margin: 1rem 0 1.25rem 0;
  position: relative;
}

.market-chart-container canvas {
  width: 100% !important;
  height: 100% !important;
}

.market-ticker {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.ticker-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  transition: all 0.2s ease;
}

.ticker-item:hover {
  border-color: var(--border-medium);
}

.ticker-symbol {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-white);
}

.ticker-price {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-gray);
  flex: 1;
  text-align: center;
}

.ticker-change {
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
}

.ticker-change.positive {
  background: var(--success-bg);
  color: var(--success);
}

.ticker-change.negative {
  background: var(--error-bg);
  color: var(--error);
}

/* Calculator Modal */
.calculator-modal {
  max-width: 480px;
}

.calc-mode-toggle {
  display: flex;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 0.25rem;
  margin-bottom: 1.25rem;
}

.calc-mode-btn {
  flex: 1;
  padding: 0.6rem 1rem;
  background: transparent;
  border: none;
  border-radius: var(--radius-md);
  color: var(--text-gray);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.calc-mode-btn:hover {
  color: var(--text-white);
}

.calc-mode-btn.active {
  background: var(--primary);
  color: white;
}

.quick-amounts {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.quick-amounts button {
  flex: 1;
  padding: 0.5rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  color: var(--text-gray);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-amounts button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.calc-results {
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  padding: 1rem;
  margin-bottom: 1rem;
}

.calc-result-item {
  display: flex;
  justify-content: space-between;
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--border-light);
}

.calc-result-item:last-child {
  border-bottom: none;
}

.calc-result-item span {
  font-size: 0.85rem;
  color: var(--text-gray);
}

.calc-result-item strong {
  font-size: 0.9rem;
  font-weight: 600;
}

.calc-result-item.highlight {
  background: rgba(227, 25, 55, 0.1);
  margin: 0.5rem -1rem -1rem;
  padding: 0.75rem 1rem;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  border-bottom: none;
}

.calc-result-item.highlight.success {
  background: rgba(16, 185, 129, 0.1);
}

.calc-result-item.highlight.success strong {
  color: var(--success);
}

.calc-balance {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
  font-size: 0.85rem;
}

.calc-balance strong {
  color: var(--success);
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.modal-header h3 {
  font-size: 1.1rem;
  font-weight: 600;
}

.modal-close {
  background: var(--bg-hover);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-gray);
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: var(--bg-dark);
  color: var(--text-white);
}

.modal-body {
  padding: 1.5rem;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-light);
}

/* Toast Notifications */
#toast-container {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  z-index: 9999;
}

.toast {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: translateX(100%);
  transition: all 0.3s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(0);
}

.toast svg {
  flex-shrink: 0;
}

.toast span {
  font-size: 0.875rem;
  font-weight: 500;
}

.toast.success {
  border-left: 3px solid var(--success);
}

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

.toast.error {
  border-left: 3px solid var(--error);
}

.toast.error svg {
  color: var(--error);
}

.toast.info {
  border-left: 3px solid var(--info);
}

.toast.info svg {
  color: var(--info);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-white);
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(227, 25, 55, 0.1);
}

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

.form-select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: var(--bg-dark);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  color: var(--text-white);
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.form-select:focus {
  outline: none;
  border-color: var(--primary);
}

.input-wrapper {
  position: relative;
}

.input-wrapper .form-input {
  padding-left: 2.5rem;
}

.input-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
}

/* Toggle Switch */
.toggle-slider {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 24px;
}

.toggle-slider input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider span {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background: var(--bg-hover);
  border-radius: 24px;
  transition: 0.3s;
}

.toggle-slider span:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background: var(--text-gray);
  border-radius: 50%;
  transition: 0.3s;
}

.toggle-slider input:checked + span {
  background: var(--primary);
}

.toggle-slider input:checked + span:before {
  transform: translateX(24px);
  background: white;
}

/* Dashboard Responsive */
@media (max-width: 1200px) {
  .dashboard-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1024px) {
  .dashboard-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .dashboard-stats {
    grid-template-columns: 1fr;
  }
  
  .quick-actions-inline {
    flex-direction: column;
    width: 100%;
  }
  
  .plans-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-stats {
    flex-direction: column;
    gap: 1rem;
  }
  
  .notification-dropdown {
    width: 320px;
    right: -60px;
  }
  
  .market-ticker {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  .main-content {
    padding: 1rem;
  }
  
  .stat-value {
    font-size: 1.75rem;
  }
  
  .plan-card {
    padding: 1rem;
  }
  
  .plan-details {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  
  .notification-dropdown {
    width: 280px;
    right: -80px;
  }
  
  #toast-container {
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
  }
  
  .market-ticker {
    grid-template-columns: 1fr 1fr;
  }
  
  .market-chart-container {
    height: 120px;
  }
}

/* ==========================================================================
   END OF STYLESHEET
   ========================================================================== */
