@import url(https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap);
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
    'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Prevent horizontal scroll on mobile */
#root {
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

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

@media (max-width: 480px) {
  html {
    font-size: 13px;
  }
}

/* Touch targets for mobile */
@media (hover: none) and (pointer: coarse) {
  button, 
  .nav-item,
  .mobile-nav-item,
  .stat-card,
  .mobile-nav-btn,
  .copy-button,
  .action-btn {
    min-height: 44px;
    min-width: 44px;
  }
}

/* Improve text readability on mobile */
@media (max-width: 768px) {
  body {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
  }
  
  /* Prevent zoom on input focus */
  input, select, textarea {
    font-size: 16px;
  }
  
  /* Smooth scrolling for mobile */
  html {
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
  }
}

/* Landscape mobile adjustments */
@media (max-width: 768px) and (orientation: landscape) {
  html {
    font-size: 15px;
  }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  /* Sharper text rendering on high DPI screens */
  body {
    -webkit-font-smoothing: subpixel-antialiased;
  }
}

code {
  font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
    monospace;
}
.profit-sharing-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  position: relative;
  overflow: hidden;
}

.profit-sharing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 191, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.profit-sharing-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Header Styles */
.profit-sharing-header {
  text-align: center;
  margin-bottom: 60px;
}

.header-title-section {
  margin-bottom: 40px;
}

.header-badge {
  display: inline-block;
  position: relative;
  margin-bottom: 30px;
}

.badge-content {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.15), rgba(75, 0, 130, 0.1));
  border: 2px solid rgba(138, 43, 226, 0.4);
  border-radius: 50px;
  padding: 12px 24px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(138, 43, 226, 0.2);
}

.badge-icon {
  font-size: 20px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
}

.badge-text {
  color: #c77dff;
  font-weight: 700;
  font-size: 18px;
  text-shadow: 0 0 10px rgba(199, 125, 255, 0.3);
  letter-spacing: 0.5px;
}

.no-upfront-badge {
  position: absolute;
  top: -12px;
  right: -15px;
  background: linear-gradient(45deg, #8a2be2, #00bfff, #ff6b6b);
  color: white;
  font-size: 11px;
  font-weight: bold;
  padding: 6px 12px;
  border-radius: 20px;
  letter-spacing: 0.8px;
  box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
  animation: pulse 2s infinite;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
  0% {
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
  }
  50% {
    box-shadow: 0 4px 25px rgba(138, 43, 226, 0.6);
    transform: scale(1.02);
  }
  100% {
    box-shadow: 0 4px 15px rgba(138, 43, 226, 0.4);
  }
}

.performance-banner {
  background: linear-gradient(135deg, rgba(0, 50, 0, 0.4), rgba(0, 100, 0, 0.2));
  border: 2px solid rgba(0, 255, 0, 0.3);
  border-radius: 20px;
  padding: 30px;
  margin-bottom: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.performance-left {
  flex: 1 1;
}

.performance-left h3 {
  color: #90EE90;
  font-size: 24px;
  margin: 0 0 12px 0;
  font-weight: 700;
}

.performance-left p {
  color: #cccccc;
  font-size: 16px;
  margin: 0;
  line-height: 1.6;
}

.performance-right {
  display: flex;
  gap: 30px;
  align-items: center;
}

.fee-item {
  text-align: center;
}

.fee-label {
  display: block;
  color: #888;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.fee-value {
  display: block;
  font-size: 24px;
  font-weight: bold;
}

.fee-value.green {
  color: #00ff88;
}

.fee-value.gold {
  color: #ffd700;
}

/* Pricing Tiers */
.pricing-tiers {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 20px;
  gap: 20px;
  margin-bottom: 60px;
}

.pricing-tier {
  background: rgba(20, 20, 40, 0.8);
  border-radius: 16px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.pricing-tier::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--tier-color);
}

.pricing-tier.green {
  --tier-color: #00ff88;
}

.pricing-tier.blue {
  --tier-color: #00bfff;
}

.pricing-tier.purple {
  --tier-color: #8a2be2;
}

.pricing-tier.orange {
  --tier-color: #ff8c00;
}

.pricing-tier.red {
  --tier-color: #ff4444;
}

.pricing-tier.gold {
  --tier-color: #ffd700;
}

.tier-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.tier-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--tier-color);
}

.tier-info {
  flex: 1 1;
}

.tier-name {
  color: white;
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.tier-range {
  color: #888;
  font-size: 12px;
  margin: 0;
}

.tier-percentage {
  font-size: 28px;
  font-weight: bold;
  color: var(--tier-color);
}

.tier-details {
  margin-bottom: 20px;
}

.detail-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
  font-size: 14px;
}

.detail-label {
  color: #888;
}

.detail-value {
  color: white;
  font-weight: 600;
}

.detail-value.green {
  color: #00ff88;
}

.tier-example {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 12px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tier-example h5 {
  color: #888;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0 0 12px 0;
}

.example-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
  font-size: 14px;
}

.example-row:last-child {
  margin-bottom: 0;
}

.example-row span:first-child {
  color: #ccc;
}

.profit-value {
  color: #00ff88;
  font-weight: 600;
}

.share-value {
  color: #ff8c00;
  font-weight: 600;
}

.example-row.keep {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 6px;
  margin-top: 6px;
  font-weight: 600;
}

.keep-value {
  color: #ffd700;
  font-weight: bold;
  font-size: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .pricing-tiers {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .profit-sharing-section {
    padding: 60px 15px;
  }
  
  .pricing-tiers {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .performance-banner {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .performance-right {
    gap: 20px;
  }
  
  .performance-left h3 {
    font-size: 20px;
  }
  
  .tier-percentage {
    font-size: 24px;
  }
  
  .badge-content {
    padding: 10px 20px;
  }
  
  .badge-text {
    font-size: 16px;
  }
  
  .badge-icon {
    font-size: 18px;
  }
  
  .no-upfront-badge {
    font-size: 10px;
    padding: 5px 10px;
    top: -10px;
    right: -12px;
  }
}

@media (max-width: 480px) {
  .performance-right {
    flex-direction: column;
    gap: 16px;
  }
}

/* Get Started CTA Button */
.profit-sharing-cta {
  text-align: center;
  margin-top: 50px;
  padding: 50px 20px 30px;
  position: relative;
  border-radius: 16px;
}

.profit-sharing-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 1px;

}

.get-started-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 18px 40px;
  background: linear-gradient(135deg, #9333ea 0%, #7c3aed 25%, #3b82f6 75%, #2563eb 100%);
  color: white;
  border: none;
  border-radius: 16px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 8px 32px rgba(147, 51, 234, 0.4),
    0 4px 16px rgba(59, 130, 246, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  min-width: 200px;
}

.get-started-cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #a855f7 0%, #8b5cf6 25%, #60a5fa 75%, #3b82f6 100%);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.get-started-cta-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

.get-started-cta-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 16px 48px rgba(147, 51, 234, 0.6),
    0 8px 24px rgba(59, 130, 246, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.get-started-cta-btn:hover::before {
  opacity: 1;
}

.get-started-cta-btn:hover::after {
  width: 300px;
  height: 300px;
}

.get-started-cta-btn:active {
  transform: translateY(-2px) scale(0.98);
  transition: all 0.1s ease;
}

.get-started-cta-btn > * {
  position: relative;
  z-index: 3;
}

.get-started-cta-btn svg {
  transition: transform 0.3s ease;
}

.get-started-cta-btn:hover svg {
  transform: translateX(2px);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .profit-sharing-cta {
    padding: 40px 15px 25px;
  }
  
  .get-started-cta-btn {
    padding: 16px 32px;
    font-size: 16px;
    min-width: 180px;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .profit-sharing-cta {
    padding: 30px 10px 20px;
  }
  
  .get-started-cta-btn {
    padding: 14px 28px;
    font-size: 15px;
    min-width: 160px;
    border-radius: 14px;
  }
}
.landing-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: white;
  position: relative;
  overflow-x: hidden;
}

/* Background Animation */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, #9333ea, #3b82f6);
  opacity: 0.1;
  animation: float 20s infinite linear;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: -5s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  top: 80%;
  left: 20%;
  animation-delay: -10s;
}

.shape-4 {
  width: 120px;
  height: 120px;
  top: 40%;
  right: 30%;
  animation-delay: -15s;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(20px) rotate(240deg); }
  100% { transform: translateY(0px) rotate(360deg); }
}

/* Header */
.landing-header {
  position: relative;
  z-index: 10;
  padding: 1rem 0;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
}

.logo-icon {
  color: white;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  filter: blur(8px);
  opacity: 0.5;
  z-index: 1;
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.get-started-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  outline: none;
}

.get-started-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3);
}

.get-started-btn:focus {
  outline: none;
  text-decoration: none;
}

.get-started-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #a855f7, #60a5fa);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.get-started-btn:hover::before {
  opacity: 1;
}

.get-started-btn > * {
  position: relative;
  z-index: 2;
}

/* Hero Section */
.hero-section {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(147, 51, 234, 0.2);
  border: 1px solid rgba(147, 51, 234, 0.3);
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 500;
  width: -webkit-fit-content;
  width: fit-content;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0;
}

.gradient-text {
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-primary, .cta-secondary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-primary {
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  color: white;
  border: none;
}

.cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(147, 51, 234, 0.4);
}

.cta-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.cta-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trading-card-preview {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem;
  width: 300px;
  position: relative;
  overflow: hidden;
}

.trading-card-preview::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(59, 130, 246, 0.1));
  z-index: -1;
}

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

.preview-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.preview-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.preview-name {
  font-weight: 600;
  color: white;
}

.preview-performance {
  color: #10b981;
  font-weight: 700;
  font-size: 1.25rem;
}

.preview-chart {
  height: 100px;
  position: relative;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.3), rgba(59, 130, 246, 0.3));
  -webkit-clip-path: polygon(0 100%, 0 60%, 20% 40%, 40% 50%, 60% 20%, 80% 30%, 100% 10%, 100% 100%);
          clip-path: polygon(0 100%, 0 60%, 20% 40%, 40% 50%, 60% 20%, 80% 30%, 100% 10%, 100% 100%);
  animation: chartGlow 3s ease-in-out infinite alternate;
}

@keyframes chartGlow {
  0% { filter: brightness(1); }
  100% { filter: brightness(1.3); }
}

/* Sections */
.how-it-works-section,
.features-section,
.stats-showcase,
.faq-section,
.trust-section {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  text-align: center;
}

.faq-section {
  text-align: center !important;
  display: block;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.faq-section .section-header {
  text-align: center !important;
  width: 100%;
  display: block;
}

.faq-section .section-header h2 {
  text-align: center !important;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/* Desktop specific FAQ centering */
@media (min-width: 769px) {
  .faq-section {
    text-align: center !important;
  }
  
  .faq-section .section-header {
    text-align: center !important;
  }
  
  .faq-section .section-header h2 {
    text-align: center !important;
    width: 100%;
    margin: 0 auto 1rem auto;
  }
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  justify-content: center;
  justify-items: center;
}

.step-card {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  width: 100%;
  max-width: 350px;
}

.step-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(147, 51, 234, 0.3);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.875rem;
}

.step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(147, 51, 234, 0.2);
  border-radius: 12px;
  margin: 1rem auto 1.5rem;
  color: #9333ea;
}

.step-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.step-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  justify-content: center;
  justify-items: stretch;
  width: 100%;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  width: 100%;
  box-sizing: border-box;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(147, 51, 234, 0.3);
}

.feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(147, 51, 234, 0.2);
  border-radius: 12px;
  margin-bottom: 1.5rem;
  color: #9333ea;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: white;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.stat-card.premium::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(59, 130, 246, 0.1));
  z-index: -1;
}

.stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(147, 51, 234, 0.3);
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  margin-bottom: 1.5rem;
  color: white;
}

.stat-icon.profit {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
}

.stat-icon.success {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.stat-content h3 {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.stat-value.profit {
  color: #10b981;
}

.stat-trend {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #10b981;
  padding: 0.25rem 0.5rem;
  background: rgba(16, 185, 129, 0.1);
  border-radius: 6px;
  width: -webkit-fit-content;
  width: fit-content;
  margin: 0 auto;
}

.stat-trend.success {
  color: #22c55e;
  background: rgba(34, 197, 94, 0.1);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.75rem 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 1.05rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
}

.faq-question:hover {
  background: rgba(255, 255, 255, 0.05);
}

.faq-question.expanded {
  background: rgba(147, 51, 234, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.faq-answer {
  padding: 1rem 2rem 2rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.8;
}

.faq-answer p {
  margin: 0;
  font-size: 1rem;
}

/* Trust Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
  box-sizing: border-box;
}

.trust-item:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
}

.trust-item svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

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

.trust-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.25rem 0;
  line-height: 1.3;
}

.trust-content p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.4;
}

/* Final CTA */
.final-cta {
  position: relative;
  z-index: 5;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(59, 130, 246, 0.2));
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 4rem 2rem;
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2rem;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(147, 51, 234, 0.4);
}

.cta-note {
  margin-top: 1.5rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* Footer */
.landing-footer {
  position: relative;
  z-index: 5;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 2rem 1rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.footer-section h4 {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 1rem 0 0 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links button,
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
  font-size: 0.875rem;
}

.footer-links button:hover,
.footer-links a:hover {
  color: #9333ea;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 0.875rem;
}

.footer-social-link:hover {
  color: #9333ea;
}

.footer-bottom {
  max-width: 1200px;
  margin: 2rem auto 0;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-content p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.875rem;
}

.footer-bottom-links {
  display: flex;
  gap: 2rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: #9333ea;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .header-content {
    padding: 0 1rem;
  }
  
  .hero-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .hero-badge {
    align-self: center;
    margin: 0 auto;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-stats {
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .trading-card-preview {
    width: 280px;
  }
  
  .steps-grid,
  .features-grid,
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feature-card {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .cta-primary,
  .cta-secondary {
    flex: 1 1;
    min-width: 200px;
    justify-content: center;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .how-it-works-section,
  .features-section,
  .stats-showcase,
  .faq-section,
  .trust-section {
    padding: 3rem 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  
  .faq-question {
    padding: 1.25rem 1.5rem;
    font-size: 0.95rem;
  }
  
  .faq-answer {
    padding: 0.75rem 1.5rem 1.5rem;
  }
  
  .final-cta {
    padding: 3rem 1rem;
  }
  
  .cta-content h2 {
    font-size: 2rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .trust-item {
    padding: 1rem;
    align-items: center;
    text-align: left;
  }
  
  .trust-content h4 {
    font-size: 0.95rem;
  }
  
  .trust-content p {
    font-size: 0.8rem;
  }
  
  .social-links {
    display: none;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  
  .hero-description {
    font-size: 1rem;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .stat-trend {
    font-size: 0.7rem;
    gap: 0.2rem;
    padding: 0.2rem 0.4rem;
  }
  
  .trading-card-preview {
    width: 250px;
    padding: 1.5rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    padding: 0;
    width: 100%;
    justify-items: stretch;
  }
  
  .feature-card {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 1.5rem;
  }
  
  .get-started-btn {
    display: none;
  }
  
  .cta-button {
    display: none;
  }
}

@media (max-width: 360px) {
  .features-section {
    padding: 2rem 0.5rem;
  }
  
  .feature-card {
    padding: 1rem;
    margin: 0;
    width: 100%;
  }
  
  .features-grid {
    gap: 0.75rem;
    padding: 0 0.5rem;
  }
  
  .trust-section {
    padding: 2rem 0.5rem;
  }
  
  .trust-item {
    padding: 0.75rem;
    gap: 0.75rem;
  }
  
  .trust-content h4 {
    font-size: 0.9rem;
  }
  
  .trust-content p {
    font-size: 0.75rem;
  }
}
.auth-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  color: white;
  position: relative;
  overflow-x: hidden;
}

/* Background Animation */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, #9333ea, #3b82f6);
  opacity: 0.1;
  animation: float 20s infinite linear;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 150px;
  height: 150px;
  top: 60%;
  right: 10%;
  animation-delay: -5s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  top: 80%;
  left: 20%;
  animation-delay: -10s;
}

.shape-4 {
  width: 120px;
  height: 120px;
  top: 40%;
  right: 30%;
  animation-delay: -15s;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(20px) rotate(240deg); }
  100% { transform: translateY(0px) rotate(360deg); }
}

/* Header */
.auth-header {
  position: relative;
  z-index: 10;
  padding: 1rem 2rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  width: -webkit-fit-content;
  width: fit-content;
}

.logo-icon-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
}

.logo-icon {
  color: white;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  filter: blur(8px);
  opacity: 0.5;
  z-index: 1;
}

.logo-text h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Main Content */
.auth-main {
  position: relative;
  z-index: 5;
  min-height: calc(100vh - 80px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1000px;
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.auth-card {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-header-content {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-header-content h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-header-content p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Error Message */
.error-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #fca5a5;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

/* Form */
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

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

.input-wrapper input {
  width: 100%;
  padding: 1rem 1rem 1rem 3rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.input-wrapper input:focus {
  outline: none;
  border-color: #9333ea;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(147, 51, 234, 0.1);
}

.input-wrapper input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.input-wrapper input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.input-icon {
  position: absolute;
  left: 1rem;
  color: rgba(255, 255, 255, 0.5);
  z-index: 2;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
  z-index: 2;
}

.password-toggle:hover {
  color: rgba(255, 255, 255, 0.8);
}

.password-toggle:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Submit Button */
.auth-submit-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 0.5rem;
}

.auth-submit-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(147, 51, 234, 0.3);
}

.auth-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.spinner {
  animation: spin 1s linear infinite;
}

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

/* Divider */
.auth-divider {
  display: flex;
  align-items: center;
  margin: 2rem 0 1rem;
  position: relative;
}

.auth-divider::before {
  content: '';
  flex: 1 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.auth-divider::after {
  content: '';
  flex: 1 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.auth-divider span {
  padding: 0 1rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

/* Link Button */
.auth-link-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.auth-link-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
  color: white;
}

/* Footer */
.auth-footer {
  margin-top: 2rem;
  text-align: center;
}

.auth-footer p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin: 0;
}

.auth-footer a {
  color: #9333ea;
  text-decoration: none;
  transition: color 0.3s ease;
}

.auth-footer a:hover {
  color: #a855f7;
}

/* Side Panel */
.auth-side-panel {
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.2), rgba(59, 130, 246, 0.2));
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.auth-side-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(147, 51, 234, 0.1), rgba(59, 130, 246, 0.1));
  z-index: -1;
}

.side-panel-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.side-panel-header h3 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.side-panel-header p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 1rem;
}

.side-panel-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.feature-item svg {
  color: #10b981;
  flex-shrink: 0;
  margin-top: 0.125rem;
}

.feature-item h4 {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin: 0 0 0.25rem 0;
}

.feature-item p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  line-height: 1.4;
}

.side-panel-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #9333ea, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .auth-main {
    padding: 1rem;
  }
  
  .auth-container {
    grid-template-columns: 1fr;
    max-width: 400px;
  }
  
  .auth-card {
    padding: 2rem;
  }
  
  .auth-side-panel {
    padding: 2rem;
    order: -1;
  }
  
  .auth-header-content h2 {
    font-size: 1.75rem;
  }
  
  .side-panel-header h3 {
    font-size: 1.5rem;
  }
  
  .side-panel-stats {
    justify-content: center;
  }
  
  .auth-header {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .auth-card {
    padding: 1.5rem;
  }
  
  .auth-side-panel {
    padding: 1.5rem;
  }
  
  .auth-header-content h2 {
    font-size: 1.5rem;
  }
  
  .side-panel-header h3 {
    font-size: 1.25rem;
  }
  
  .input-wrapper input {
    padding: 0.875rem 0.875rem 0.875rem 2.75rem;
  }
  
  .auth-submit-btn,
  .auth-link-btn {
    padding: 0.875rem 1.5rem;
  }
}
.profit-sharing {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.profit-sharing-header {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 2rem;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(22, 163, 74, 0.05));
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  width: 100%;
  box-sizing: border-box;
}

.profit-sharing-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

.header-content h3 {
  color: #ffd700;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.header-content p {
  color: #888;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
  max-width: 100%;
}

.header-highlight {
  display: flex;
  gap: 1.5rem;
}

.highlight-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  padding: 1rem;
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  min-width: 100px;
}

.highlight-label {
  color: #666;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

.highlight-value {
  font-size: 1.2rem;
  font-weight: 700;
}

.highlight-value.free {
  color: #22c55e;
}

.highlight-value.profit {
  color: #ffd700;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.tier-card {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(20, 20, 20, 0.9));
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.tier-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #22c55e, #3b82f6);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.tier-card[data-tier="starter"]::before {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

.tier-card[data-tier="growth"]::before {
  background: linear-gradient(90deg, #3b82f6, #2563eb);
}

.tier-card[data-tier="pro"]::before {
  background: linear-gradient(90deg, #8b5cf6, #7c3aed);
}

.tier-card[data-tier="elite"]::before {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

.tier-card[data-tier="premium"]::before {
  background: linear-gradient(90deg, #ef4444, #dc2626);
}

.tier-card[data-tier="whale"]::before {
  background: linear-gradient(90deg, #ffd700, #f59e0b);
}

.tier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
  border-color: rgba(139, 92, 246, 0.4);
}

.tier-card:hover::before {
  opacity: 1;
}

.tier-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.tier-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.tier-info {
  flex: 1 1;
}

.tier-name {
  color: #ffd700;
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 0.25rem 0;
}

.tier-range {
  color: #888;
  font-size: 0.9rem;
  font-weight: 500;
}

.tier-percentage {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.tier-details {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.detail-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.detail-label {
  color: #666;
  font-size: 0.9rem;
  font-weight: 500;
}

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

.detail-value.free {
  color: #22c55e;
}

.tier-example {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1rem;
}

.example-title {
  color: #888;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.example-calculation {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.calc-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9rem;
}

.calc-row span:first-child {
  color: #888;
}

.profit-amount {
  color: #22c55e;
  font-weight: 600;
}

.fee-amount {
  font-weight: 600;
}

.calc-row.total {
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-weight: 700;
}

.keep-amount {
  color: #ffd700;
  font-weight: 700;
  font-size: 1rem;
}

.profit-sharing-benefits {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 2rem;
}

.profit-sharing-benefits h4 {
  color: #ffd700;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.benefit-item {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(10, 10, 10, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  border-color: rgba(139, 92, 246, 0.3);
  transform: translateY(-2px);
}

.benefit-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon.success {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.benefit-icon.warning {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.benefit-icon.primary {
  background: rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
}

.benefit-content h5 {
  color: #ffd700;
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 0.5rem 0;
}

.benefit-content p {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
}

.profit-sharing-cta {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(168, 85, 247, 0.08));
  border: 1px solid rgba(139, 92, 246, 0.4);
  border-radius: 24px;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.1);
}

.profit-sharing-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

.cta-background-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(168, 85, 247, 0.05) 0%, transparent 50%);
  pointer-events: none;
}

.cta-content {
  margin-bottom: 2.5rem;
  position: relative;
  z-index: 1;
}

.cta-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.cta-content h4 {
  color: #ffd700;
  font-size: 2rem;
  font-weight: 800;
  margin: 0 0 1rem 0;
  background: linear-gradient(135deg, #ffd700, #f59e0b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-content p {
  color: #bbb;
  font-size: 1.1rem;
  line-height: 1.6;
  margin: 0 0 2rem 0;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.cta-primary-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3);
}

.cta-primary-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(139, 92, 246, 0.4);
  background: linear-gradient(135deg, #7c3aed, #9333ea);
}

.cta-secondary-btn {
  background: transparent;
  color: #8b5cf6;
  border: 2px solid rgba(139, 92, 246, 0.5);
  padding: 1rem 2rem;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cta-secondary-btn:hover {
  background: rgba(139, 92, 246, 0.1);
  border-color: #8b5cf6;
  transform: translateY(-1px);
}

.cta-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  margin: 2rem 0;
  position: relative;
  z-index: 1;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 1.5rem;
  background: rgba(10, 10, 10, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 92, 246, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.5rem;
}

.stat-icon.success {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.stat-icon.primary {
  background: rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
}

.stat-icon.warning {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.stat-value {
  color: #ffd700;
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  color: #ccc;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 0.25rem;
}

.stat-sublabel {
  color: #888;
  font-size: 0.8rem;
  text-align: center;
  font-style: italic;
}

.cta-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
  padding: 1.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 16px;
  position: relative;
  z-index: 1;
}

.guarantee-icon {
  width: 48px;
  height: 48px;
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.guarantee-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-align: left;
}

.guarantee-text strong {
  color: #22c55e;
  font-size: 1rem;
  font-weight: 700;
}

.guarantee-text span {
  color: #888;
  font-size: 0.9rem;
  line-height: 1.4;
}

@media (max-width: 1024px) {
  .profit-sharing-header {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .header-content {
    max-width: 100%;
    overflow: hidden;
  }
  
  .header-highlight {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .profit-sharing {
    gap: 1.5rem;
  }
  
  .profit-sharing-header {
    padding: 1.5rem;
  }
  
  .header-content h3 {
    font-size: 1.25rem;
  }
  
  .header-content p {
    font-size: 0.9rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    -webkit-hyphens: auto;
            hyphens: auto;
  }
  
  .header-highlight {
    flex-direction: column;
    gap: 1rem;
  }
  
  .tiers-grid {
    grid-template-columns: 1fr;
  }
  
  .tier-card {
    padding: 1.5rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
  }
  
  .benefit-item {
    padding: 1rem;
  }
  
  .profit-sharing-cta {
    padding: 2rem 1.5rem;
  }
  
  .cta-content h4 {
    font-size: 1.75rem;
  }
  
  .cta-content p {
    font-size: 1rem;
  }
  
  .cta-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .cta-primary-btn,
  .cta-secondary-btn {
    width: 100%;
    max-width: 280px;
  }
  
  .cta-stats {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .stat {
    padding: 1rem;
  }
  
  .stat-value {
    font-size: 1.75rem;
  }
  
  .stat-label {
    font-size: 0.85rem;
  }
  
  .stat-sublabel {
    font-size: 0.75rem;
  }
  
  .cta-guarantee {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }
  
  .guarantee-text {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .profit-sharing-header {
    padding: 1rem;
  }
  
  .header-content h3 {
    font-size: 1.1rem;
    line-height: 1.3;
  }
  
  .header-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    word-break: break-word;
    max-width: 100%;
  }
  
  .highlight-item {
    min-width: 80px;
    padding: 0.75rem;
  }
  
  .highlight-label {
    font-size: 0.7rem;
  }
  
  .highlight-value {
    font-size: 1rem;
  }
  
  .tier-card {
    padding: 1rem;
  }
  
  .tier-percentage {
    font-size: 1.5rem;
  }
}
.trading-history {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
}

.history-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-left h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.trade-count {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.filter-group {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
}

.filter-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
}

.filter-select:focus {
  outline: none;
  border-color: #00d4ff;
}

.export-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 8px;
  padding: 8px 16px;
  color: #00d4ff;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.export-btn:hover {
  background: rgba(0, 212, 255, 0.2);
  border-color: #00d4ff;
}

.trades-container {
  max-height: 400px;
  overflow-y: auto;
}

.loading-trades {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trade-skeleton {
  height: 60px;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.05) 25%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 12px;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.trades-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.trade-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px;
  transition: all 0.2s ease;
  position: relative;
}

.trade-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.trade-item.pending {
  border-left: 3px solid #ffa500;
}

.trade-item.completed {
  border-left: 3px solid #00ff88;
}

.trade-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.trade-info .trader-name {
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  margin-bottom: 4px;
}

.trade-info .trade-pair {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.trade-details {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trade-type {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.trade-type.buy {
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.trade-type.sell {
  background: rgba(255, 69, 58, 0.1);
  color: #ff453a;
  border: 1px solid rgba(255, 69, 58, 0.3);
}

.trade-amount {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.trade-result {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.profit {
  font-weight: 600;
  font-size: 14px;
}

.profit.positive {
  color: #00ff88;
}

.profit.negative {
  color: #ff453a;
}

.trade-time {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
}

.trade-status {
  position: absolute;
  top: 12px;
  right: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
}

.trade-status.pending {
  color: #ffa500;
}

.trade-status.completed {
  color: #00ff88;
}

.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  animation: pulse 2s infinite;
}

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

/* Empty state */
.empty-trades {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.empty-trades h3 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  margin: 16px 0 8px 0;
}

.empty-trades p {
  font-size: 14px;
  margin: 0;
}

/* Scrollbar styling */
.trades-container::-webkit-scrollbar {
  width: 6px;
}

.trades-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.trades-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.trades-container::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}
/* 
Mobile Responsive Styles */
@media (max-width: 768px) {
  .trading-history {
    padding: 16px;
    border-radius: 12px;
  }
  
  .history-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  
  .header-left h3 {
    font-size: 18px;
  }
  
  .header-actions {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .filter-group {
    flex: 1 1;
    min-width: 120px;
  }
  
  .filter-select {
    width: 100%;
    padding: 6px 10px;
    font-size: 13px;
  }
  
  .export-btn {
    padding: 6px 12px;
    font-size: 13px;
  }
  
  .trades-container {
    max-height: 300px;
  }
  
  .trade-item {
    padding: 12px;
    border-radius: 10px;
  }
  
  .trade-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .trade-info .trader-name {
    font-size: 13px;
  }
  
  .trade-info .trade-pair {
    font-size: 11px;
  }
  
  .trade-details {
    align-items: flex-start;
    width: 100%;
  }
  
  .trade-result {
    align-items: flex-start;
    width: 100%;
  }
  
  .trade-status {
    position: static;
    align-self: flex-end;
    margin-top: -20px;
  }
  
  .profit {
    font-size: 13px;
  }
  
  .trade-time {
    font-size: 10px;
  }
}

@media (max-width: 480px) {
  .trading-history {
    padding: 12px;
  }
  
  .header-actions {
    flex-direction: column;
    gap: 8px;
  }
  
  .filter-group {
    width: 100%;
  }
  
  .export-btn {
    width: 100%;
    justify-content: center;
  }
  
  .trade-item {
    padding: 10px;
  }
  
  .trade-main {
    gap: 10px;
  }
}
.price-chart {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
}

.chart-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.chart-info h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

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

.current-price {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

.price-change {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.price-change.positive {
  background: rgba(0, 255, 136, 0.1);
  color: #00ff88;
  border: 1px solid rgba(0, 255, 136, 0.3);
}

.price-change.negative {
  background: rgba(255, 69, 58, 0.1);
  color: #ff453a;
  border: 1px solid rgba(255, 69, 58, 0.3);
}

.chart-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.timeframe-selector {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timeframe-btn {
  background: none;
  border: none;
  padding: 6px 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.timeframe-btn:hover {
  color: rgba(255, 255, 255, 0.8);
}

.timeframe-btn.active {
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.fullscreen-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.fullscreen-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.chart-container {
  position: relative;
  height: 120px;
  margin-bottom: 16px;
}

.chart-loading {
  display: flex;
  align-items: end;
  justify-content: center;
  height: 100%;
  padding: 20px;
}

.loading-bars {
  display: flex;
  align-items: end;
  gap: 3px;
  height: 80px;
}

.loading-bar {
  width: 4px;
  background: linear-gradient(to top, 
    rgba(0, 212, 255, 0.3), 
    rgba(0, 212, 255, 0.8)
  );
  border-radius: 2px;
  animation: loading-pulse 1.5s ease-in-out infinite;
}

@keyframes loading-pulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

.chart-svg-container {
  position: relative;
  height: 100%;
}

.chart-svg-container svg {
  width: 100%;
  height: 100%;
}

.price-dot {
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0%, 100% { 
    opacity: 1; 
    transform: scale(1);
  }
  50% { 
    opacity: 0.7; 
    transform: scale(1.2);
  }
}

.price-tooltip {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 4px 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 10px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.chart-stats {
  display: flex;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
}

.stat-value {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .chart-header {
    flex-direction: column;
    gap: 16px;
    align-items: flex-start;
  }
  
  .price-display {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
  
  .current-price {
    font-size: 20px;
  }
  
  .chart-controls {
    width: 100%;
    justify-content: space-between;
  }
  
  .chart-stats {
    flex-direction: column;
    gap: 12px;
  }
  
  .stat {
    flex-direction: row;
    justify-content: space-between;
  }
}
.settings-panel {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  padding: 2rem;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.settings-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.settings-header h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffd700;
  font-size: 2rem;
  font-weight: 700;
  margin: 0;
}

.save-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  border: none;
  border-radius: 12px;
  padding: 0.75rem 1.5rem;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.4);
}

.settings-sections {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.settings-section {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.settings-section:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.1);
}

.section-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  color: #ffd700;
}

.section-title h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
}

.setting-item {
  margin-bottom: 1.5rem;
}

.setting-item:last-child {
  margin-bottom: 0;
}

.setting-item label {
  display: block;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.setting-input,
.setting-select {
  width: 100%;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  color: #ffd700;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.setting-input:focus,
.setting-select:focus {
  outline: none;
  border-color: #8b5cf6;
  background: rgba(26, 26, 26, 0.9);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.setting-help {
  display: block;
  color: #888;
  font-size: 0.8rem;
  margin-top: 0.25rem;
  line-height: 1.4;
}

.toggle-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-info {
  flex: 1 1;
}

.toggle-info label {
  margin-bottom: 4px;
}

.toggle {
  position: relative;
  width: 52px;
  height: 28px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle.active {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  border-color: #8b5cf6;
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.toggle-slider {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.toggle.active .toggle-slider {
  transform: translateX(24px);
}

.risk-warning {
  display: flex;
  gap: 16px;
  background: rgba(255, 165, 0, 0.05);
  border: 1px solid rgba(255, 165, 0, 0.2);
  border-radius: 12px;
  padding: 20px;
  color: #ffa500;
}

.risk-warning h4 {
  color: #ffa500;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.risk-warning p {
  color: rgba(255, 165, 0, 0.8);
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
}

/* Desktop Responsive */
@media (min-width: 1200px) {
  .settings-panel {
    padding: 3rem;
  }
  
  .settings-sections {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  
  .settings-section {
    padding: 2rem;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .settings-sections {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .settings-panel {
    padding: 1.5rem;
    margin: 0 1rem;
    border-radius: 16px;
  }
  
  .settings-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
  }
  
  .settings-header h2 {
    font-size: 1.6rem;
  }
  
  .save-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
  }
  
  .settings-sections {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .settings-section {
    padding: 1.25rem;
  }
  
  .section-title h3 {
    font-size: 1.1rem;
  }
  
  .setting-item {
    margin-bottom: 1.25rem;
  }
  
  .toggle-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  
  .toggle {
    align-self: flex-start;
  }
  
  .risk-warning {
    flex-direction: column;
    gap: 0.75rem;
  }
}
/
* Telegram Configuration Section */
.telegram-config-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.telegram-info {
  flex: 1 1;
}

.telegram-info label {
  display: block;
  color: #fff;
  font-weight: 500;
  margin-bottom: 4px;
}

.telegram-info .setting-help {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
}

.telegram-config-btn {
  background: linear-gradient(135deg, #0088cc, #0066aa);
  border: none;
  border-radius: 10px;
  padding: 10px 16px;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
  font-size: 14px;
  flex-shrink: 0;
}

.telegram-config-btn:hover {
  background: linear-gradient(135deg, #0099dd, #0077bb);
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(0, 136, 204, 0.3);
}/* Dat
a Management Styles */
.storage-stats {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
}

.storage-stats h4 {
  margin: 0 0 12px 0;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 12px;
  gap: 12px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
}

.stat-label {
  color: #a0a0a0;
  font-size: 12px;
}

.stat-value {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
}

.data-actions {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.data-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.export-btn {
  background: #10b981;
  color: white;
}

.export-btn:hover {
  background: #059669;
}

.import-btn {
  background: #3b82f6;
  color: white;
}

.import-btn:hover {
  background: #2563eb;
}

.clear-btn {
  background: #ef4444;
  color: white;
}

.clear-btn:hover {
  background: #dc2626;
}

.data-info {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 6px;
  padding: 12px;
}

.data-info p {
  margin: 4px 0;
  color: #a0a0a0;
  font-size: 12px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .data-actions {
    flex-direction: column;
  }
  
  .data-btn {
    width: 100%;
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
}@m
edia (max-width: 480px) {
  .settings-panel {
    padding: 1rem;
    margin: 0 0.5rem;
  }
  
  .settings-header h2 {
    font-size: 1.4rem;
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .settings-section {
    padding: 1rem;
  }
  
  .section-title {
    gap: 0.5rem;
    margin-bottom: 1rem;
  }
  
  .section-title h3 {
    font-size: 1rem;
  }
  
  .setting-item {
    margin-bottom: 1rem;
  }
  
  .setting-input,
  .setting-select {
    padding: 0.75rem;
    font-size: 0.9rem;
  }
  
  .setting-help {
    font-size: 0.75rem;
  }
  
  .toggle {
    width: 48px;
    height: 26px;
  }
  
  .toggle-slider {
    width: 18px;
    height: 18px;
    top: 3px;
    left: 3px;
  }
  
  .toggle.active .toggle-slider {
    transform: translateX(22px);
  }
}

/* Touch improvements for mobile */
@media (max-width: 768px) {
  .setting-input,
  .setting-select,
  .toggle,
  .save-btn {
    min-height: 44px;
    touch-action: manipulation;
  }
  
  .setting-input,
  .setting-select {
    font-size: 16px; /* Prevents zoom on iOS */
  }
  
  .toggle-item {
    min-height: 44px;
    align-items: center;
  }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .settings-sections {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .settings-section {
    padding: 1rem;
  }
}

/* Very small screens */
@media (max-width: 320px) {
  .settings-panel {
    padding: 0.75rem;
    margin: 0 0.25rem;
  }
  
  .settings-header h2 {
    font-size: 1.2rem;
  }
  
  .section-title h3 {
    font-size: 0.9rem;
  }
  
  .setting-input,
  .setting-select {
    padding: 0.5rem;
  }
}

/* Additional visual improvements */
.settings-section {
  position: relative;
  overflow: hidden;
}

.settings-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.3), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.settings-section:hover::before {
  opacity: 1;
}

/* Better form styling */
.setting-input[type="number"] {
  -moz-appearance: textfield;
}

.setting-input[type="number"]::-webkit-outer-spin-button,
.setting-input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.setting-select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3csvg xmlns=%27http://www.w3.org/2000/svg%27 fill=%27none%27 viewBox=%270 0 20 20%27%3e%3cpath stroke=%27%23888%27 stroke-linecap=%27round%27 stroke-linejoin=%27round%27 stroke-width=%271.5%27 d=%27m6 8 4 4 4-4%27/%3e%3c/svg%3e");
  background-position: right 0.5rem center;
  background-repeat: no-repeat;
  background-size: 1.5em 1.5em;
  padding-right: 2.5rem;
}

/* Success message styling */
.success-message {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(34, 197, 94, 0.3);
  z-index: 1000;
  animation: slideInRight 0.3s ease;
}

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

@media (max-width: 768px) {
  .success-message {
    top: 1rem;
    right: 1rem;
    left: 1rem;
    text-align: center;
  }
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.copy-modal {
  background: rgba(20, 20, 30, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  width: 100%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 24px 0;
  margin-bottom: 24px;
}

.header-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-info .trader-avatar {
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.header-info h3 {
  color: #fff;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.header-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0;
}

.close-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 10px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.modal-content {
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.trader-summary {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}

.summary-stats {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.summary-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1 1;
}

.summary-stat svg {
  color: rgba(255, 255, 255, 0.5);
}

.summary-stat .stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
}

.summary-stat .stat-value {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}

.summary-stat .stat-value.positive {
  color: #00ff88;
}

.copy-settings h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 20px 0;
}

.setting-group {
  margin-bottom: 20px;
}

.setting-group:last-child {
  margin-bottom: 0;
}

.setting-group label {
  display: block;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.amount-input {
  position: relative;
}

.amount-input input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 12px 50px 12px 16px;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.amount-input .currency {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  font-weight: 500;
}

.setting-group input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
  transition: all 0.2s ease;
}

.setting-group input:focus {
  outline: none;
  border-color: #00d4ff;
  background: rgba(255, 255, 255, 0.08);
}

.setting-help {
  display: block;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  margin-top: 4px;
}

.settings-row {
  display: flex;
  gap: 16px;
}

.settings-row .setting-group {
  flex: 1 1;
}

.cost-breakdown {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
}

.cost-breakdown h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.cost-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cost-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
}

.cost-item .fee {
  color: #ffa500;
}

.cost-item.total {
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
}

.risk-warning {
  display: flex;
  gap: 12px;
  background: rgba(255, 165, 0, 0.05);
  border: 1px solid rgba(255, 165, 0, 0.2);
  border-radius: 12px;
  padding: 16px;
  color: #ffa500;
}

.risk-warning h5 {
  color: #ffa500;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 6px 0;
}

.risk-warning p {
  color: rgba(255, 165, 0, 0.8);
  font-size: 13px;
  line-height: 1.4;
  margin: 0;
}

.modal-actions {
  display: flex;
  gap: 12px;
  padding: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cancel-btn {
  flex: 1 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px 24px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cancel-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.confirm-btn {
  flex: 2 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.confirm-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.confirm-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scrollbar styling */
.copy-modal::-webkit-scrollbar {
  width: 6px;
}

.copy-modal::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

.copy-modal::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

.copy-modal::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 10px;
  }
  
  .copy-modal {
    max-height: 95vh;
  }
  
  .summary-stats {
    flex-direction: column;
    gap: 12px;
  }
  
  .settings-row {
    flex-direction: column;
    gap: 0;
  }
  
  .modal-actions {
    flex-direction: column;
  }
  
  .confirm-btn {
    flex: 1 1;
  }
}
.trader-marketplace {
  padding: 24px 0;
}

.marketplace-header {
  margin-bottom: 32px;
}

.header-info h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
  margin: 0 0 8px 0;
}

.header-info p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  margin: 0 0 24px 0;
}

.marketplace-controls {
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.search-box {
  position: relative;
  flex: 1 1;
  min-width: 300px;
}

.search-box svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.5);
}

.search-box input {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 16px 12px 48px;
  color: #fff;
  font-size: 14px;
  transition: all 0.2s ease;
}

.search-box input:focus {
  outline: none;
  border-color: #00d4ff;
  background: rgba(255, 255, 255, 0.08);
}

.search-box input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.filter-controls {
  display: flex;
  gap: 12px;
}

.sort-select,
.filter-select {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 10px 16px;
  color: #fff;
  font-size: 14px;
  cursor: pointer;
  min-width: 140px;
}

.sort-select:focus,
.filter-select:focus {
  outline: none;
  border-color: #00d4ff;
}

.traders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
  grid-gap: 24px;
  gap: 24px;
}

.trader-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.trader-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.trader-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.trader-card:hover::before {
  opacity: 1;
}

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

.trader-info {
  display: flex;
  gap: 12px;
  align-items: center;
}

.trader-avatar {
  position: relative;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.online-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 12px;
  height: 12px;
  background: #00ff88;
  border: 2px solid rgba(20, 20, 30, 1);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.trader-name {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.verified-badge {
  color: #00d4ff;
}

.trader-status {
  font-size: 12px;
}

.trader-status .online {
  color: #00ff88;
}

.trader-status .offline {
  color: rgba(255, 255, 255, 0.5);
}

.performance-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  background: rgba(0, 255, 136, 0.1);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 8px;
  padding: 6px 12px;
  color: #00ff88;
  font-size: 14px;
  font-weight: 600;
}

.trader-description {
  margin-bottom: 20px;
}

.trader-description p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  line-height: 1.5;
  margin: 0 0 12px 0;
}

.specialties {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.specialty-tag {
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.3);
  border-radius: 6px;
  padding: 4px 8px;
  color: #00d4ff;
  font-size: 11px;
  font-weight: 500;
}

.trader-stats {
  margin-bottom: 16px;
}

.stat-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.stat-row:last-child {
  margin-bottom: 0;
}

.stat {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1;
}

.stat svg {
  color: rgba(255, 255, 255, 0.5);
}

.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  margin-right: auto;
}

.stat-value {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.stat-value.risk {
  font-weight: 500;
}

.trader-metrics {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.metric {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.metric-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 10px;
  text-transform: uppercase;
  font-weight: 500;
}

.metric-value {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  font-family: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
}

.metric-value.positive {
  color: #00ff88;
}

.metric-value.negative {
  color: #ff453a;
}

.copy-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copy-info {
  display: flex;
  gap: 16px;
}

.copy-cost,
.min-amount {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cost-label,
.min-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 500;
}

.cost-value,
.min-value {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  border: none;
  border-radius: 10px;
  padding: 10px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(0, 212, 255, 0.3);
}

.stop-copy-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 69, 58, 0.1);
  border: 1px solid rgba(255, 69, 58, 0.3);
  border-radius: 10px;
  padding: 10px 20px;
  color: #ff453a;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.stop-copy-btn:hover {
  background: rgba(255, 69, 58, 0.2);
  border-color: #ff453a;
}

/* Skeleton loading */
.trader-card.skeleton {
  pointer-events: none;
}

.skeleton-header {
  height: 48px;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.05) 25%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
  margin-bottom: 16px;
}

.skeleton-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-line {
  height: 16px;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.05) 25%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

.skeleton-line.short {
  width: 60%;
}

.skeleton-stats {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.skeleton-stat {
  flex: 1 1;
  height: 40px;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.05) 25%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* No results */
.no-results {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.no-results h3 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 20px;
  margin: 16px 0 8px 0;
}

.no-results p {
  font-size: 14px;
  margin: 0;
}

/* Profit Sharing Section */
.profit-sharing-section {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.profit-sharing-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #a855f7);
  opacity: 0.8;
}

.profit-sharing-section .section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.profit-sharing-section .section-header h3 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.profit-sharing-section .section-badge {
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  padding: 6px 12px;
  color: #8b5cf6;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .trader-marketplace {
    padding: 16px 0;
  }
  
  .marketplace-header {
    margin-bottom: 24px;
  }
  
  .header-info h2 {
    font-size: 24px;
  }
  
  .header-info p {
    font-size: 14px;
    margin-bottom: 16px;
  }
  
  .marketplace-controls {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .search-box {
    min-width: auto;
  }
  
  .search-box input {
    padding: 10px 12px 10px 40px;
    font-size: 13px;
  }
  
  .filter-controls {
    justify-content: space-between;
    gap: 8px;
  }
  
  .sort-select,
  .filter-select {
    padding: 8px 12px;
    font-size: 13px;
    min-width: 120px;
    flex: 1 1;
  }
  
  .traders-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .trader-card {
    padding: 16px;
    border-radius: 12px;
  }
  
  .trader-header {
    margin-bottom: 12px;
  }
  
  .trader-avatar {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }
  
  .trader-name {
    font-size: 14px;
  }
  
  .performance-badge {
    padding: 4px 8px;
    font-size: 12px;
  }
  
  .trader-description p {
    font-size: 13px;
  }
  
  .specialty-tag {
    font-size: 10px;
    padding: 3px 6px;
  }
  
  .stat-label {
    font-size: 11px;
  }
  
  .stat-value {
    font-size: 12px;
  }
  
  .trader-metrics {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
  }
  
  .metric {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  .metric-label {
    font-size: 11px;
  }
  
  .metric-value {
    font-size: 12px;
  }
  
  .copy-section {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding-top: 12px;
  }
  
  .copy-info {
    justify-content: space-around;
  }
  
  .cost-label,
  .min-label {
    font-size: 10px;
  }
  
  .cost-value,
  .min-value {
    font-size: 12px;
  }
  
  .copy-btn,
  .stop-copy-btn {
    justify-content: center;
    padding: 8px 16px;
    font-size: 13px;
  }
  
  .profit-sharing-section {
    margin-top: 24px;
    padding: 16px;
  }
  
  .profit-sharing-section .section-header {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 16px;
  }
  
  .profit-sharing-section .section-header h3 {
    font-size: 20px;
  }
  
  .no-results {
    padding: 40px 16px;
  }
  
  .no-results h3 {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .trader-marketplace {
    padding: 12px 0;
  }
  
  .marketplace-header {
    margin-bottom: 20px;
  }
  
  .header-info h2 {
    font-size: 20px;
  }
  
  .header-info p {
    font-size: 13px;
  }
  
  .marketplace-controls {
    gap: 10px;
  }
  
  .search-box input {
    padding: 8px 10px 8px 36px;
    font-size: 12px;
  }
  
  .filter-controls {
    gap: 6px;
  }
  
  .sort-select,
  .filter-select {
    padding: 6px 8px;
    font-size: 12px;
    min-width: 100px;
  }
  
  .trader-card {
    padding: 12px;
  }
  
  .trader-avatar {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .trader-name {
    font-size: 13px;
  }
  
  .performance-badge {
    padding: 3px 6px;
    font-size: 11px;
  }
  
  .trader-description p {
    font-size: 12px;
  }
  
  .specialty-tag {
    font-size: 9px;
    padding: 2px 4px;
  }
  
  .trader-metrics {
    padding: 10px;
  }
  
  .copy-btn,
  .stop-copy-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
  
  .profit-sharing-section {
    padding: 12px;
  }
  
  .profit-sharing-section .section-header h3 {
    font-size: 18px;
  }
}
.portfolio-view {
  padding: 2rem;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  background: transparent;
}

.portfolio-header {
  margin-bottom: 2rem;
  text-align: center;
}

.portfolio-header h2 {
  color: #ffd700;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  line-height: 1.2;
}

.portfolio-header p {
  color: #888;
  font-size: 1.1rem;
  margin: 0;
  line-height: 1.5;
}

.portfolio-overview {
  margin-bottom: 3rem;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  padding: 2rem;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
}

.overview-title {
  color: #ffd700;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 1.5rem 0;
  text-align: center;
}

.overview-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 1.5rem;
  gap: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.overview-stat {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  padding: 1.5rem;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 160px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.overview-stat::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #ffd700, #22c55e);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overview-stat:hover {
  border-color: rgba(139, 92, 246, 0.5);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
}

.overview-stat:hover::before {
  opacity: 1;
}

/* Profit Stat Styling */
.profit-stat .stat-icon {
  background: rgba(0, 255, 136, 0.15);
  border: 1px solid rgba(0, 255, 136, 0.3);
  border-radius: 12px;
  padding: 12px;
  color: #00ff88;
  flex-shrink: 0;
}

.profit-value {
  color: #00ff88 !important;
  font-size: 24px;
  font-weight: 800;
  font-family: monospace;
}

.profit-change {
  color: #00ff88;
  font-size: 14px;
  font-weight: 600;
}

/* Following Stat Styling */
.following-stat .stat-icon {
  background: rgba(138, 43, 226, 0.15);
  border: 1px solid rgba(138, 43, 226, 0.3);
  border-radius: 12px;
  padding: 12px;
  color: #8a2be2;
  flex-shrink: 0;
}

.following-value {
  color: #ffd700 !important;
  font-size: 20px;
  font-weight: 700;
}

.following-change {
  color: #00ff88;
  font-size: 14px;
  font-weight: 600;
}

/* Win Rate Stat Styling */
.winrate-stat .stat-icon {
  background: rgba(255, 20, 147, 0.15);
  border: 1px solid rgba(255, 20, 147, 0.3);
  border-radius: 12px;
  padding: 12px;
  color: #ff1493;
  flex-shrink: 0;
}

.winrate-value {
  color: #00ff88 !important;
  font-size: 24px;
  font-weight: 800;
  font-family: monospace;
}

.winrate-change {
  color: #00ff88;
  font-size: 14px;
  font-weight: 600;
}

/* Risk Score Stat Styling */
.risk-stat .stat-icon {
  background: rgba(255, 165, 0, 0.15);
  border: 1px solid rgba(255, 165, 0, 0.3);
  border-radius: 12px;
  padding: 12px;
  color: #ffa500;
  flex-shrink: 0;
}

.risk-value {
  color: #ffa500 !important;
  font-size: 20px;
  font-weight: 700;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1 1;
}

.stat-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.stat-value {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  font-family: monospace;
  line-height: 1.2;
}

.stat-main {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stat-badge {
  background: rgba(138, 43, 226, 0.2);
  color: #8a2be2;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  align-self: flex-start;
  border: 1px solid rgba(138, 43, 226, 0.3);
}

.live-badge {
  background: rgba(255, 165, 0, 0.2) !important;
  color: #ffa500 !important;
  border-color: rgba(255, 165, 0, 0.3) !important;
}

.stat-change {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 500;
}

.stat-value.positive {
  color: #00ff88;
}

.stat-value.negative {
  color: #ff453a;
}

.stat-change.positive {
  color: rgba(0, 255, 136, 0.8);
}

.stat-change.negative {
  color: rgba(255, 69, 58, 0.8);
}

.active-positions {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  padding: 2rem;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
}

.positions-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.positions-header h3 {
  color: #ffd700;
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.positions-count {
  color: #888;
  font-size: 0.9rem;
}

.positions-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.position-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
}

.position-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.15);
}

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

.trader-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trader-avatar {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  border: 2px solid rgba(255, 255, 255, 0.1);
}

.trader-name {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 4px;
}

.verified-badge {
  color: #00d4ff;
}

.position-duration {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.position-actions {
  display: flex;
  gap: 8px;
}

.settings-btn,
.stop-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
}

.settings-btn:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: rgba(0, 212, 255, 0.3);
  color: #00d4ff;
}

.stop-btn:hover {
  background: rgba(255, 69, 58, 0.1);
  border-color: rgba(255, 69, 58, 0.3);
  color: #ff453a;
}

.position-metrics {
  margin-bottom: 16px;
}

.metric-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
}

.metric-row:last-child {
  margin-bottom: 0;
}

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

.metric-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 500;
}

.metric-value {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  font-family: monospace;
}

.metric-value.positive {
  color: #00ff88;
}

.metric-value.negative {
  color: #ff453a;
}

.position-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  padding: 12px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1 1;
}

.stat-item svg {
  color: rgba(255, 255, 255, 0.5);
}

.stat-item .stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  margin-right: auto;
}

.stat-item .stat-value {
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.position-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  border-radius: 2px;
  transition: width 0.3s ease;
}

.progress-fill.positive {
  background: linear-gradient(90deg, #00ff88, #00cc6a);
}

.progress-fill.negative {
  background: linear-gradient(90deg, #ff453a, #cc3629);
}

/* Skeleton loading */
.position-card.skeleton {
  pointer-events: none;
}

.skeleton-header {
  height: 40px;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.05) 25%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
  margin-bottom: 16px;
}

.skeleton-content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skeleton-line {
  height: 16px;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.05) 25%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 4px;
}

.skeleton-line.short {
  width: 60%;
}

.skeleton-stats {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.skeleton-stat {
  flex: 1 1;
  height: 30px;
  background: linear-gradient(90deg, 
    rgba(255, 255, 255, 0.05) 25%, 
    rgba(255, 255, 255, 0.1) 50%, 
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 6px;
}

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

/* No positions */
.no-positions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

.no-positions h4 {
  color: rgba(255, 255, 255, 0.7);
  font-size: 18px;
  margin: 16px 0 8px 0;
}

.no-positions p {
  font-size: 14px;
  margin: 0;
}

/* Desktop Responsive */
@media (min-width: 1200px) {
  .portfolio-view {
    padding: 3rem;
  }
  
  .overview-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
  }
  
  .positions-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

/* Touch-friendly improvements for mobile */
@media (max-width: 768px) {
  .settings-btn,
  .stop-btn {
    min-width: 32px;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .overview-stat {
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  .position-card {
    -webkit-tap-highlight-color: transparent;
  }
  
  /* Improve text readability on mobile */
  .stat-label,
  .metric-label {
    font-weight: 600;
    letter-spacing: 0.3px;
  }
  
  /* Better spacing for touch */
  .position-actions {
    min-width: 80px;
    justify-content: flex-end;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .overview-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  .positions-list {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .portfolio-view {
    padding: 0.75rem;
  }
  
  .portfolio-header {
    margin-bottom: 1.25rem;
    padding: 0 0.25rem;
  }
  
  .portfolio-header h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }
  
  .portfolio-header p {
    font-size: 0.9rem;
  }
  
  .portfolio-overview {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    border-radius: 16px;
  }
  
  .overview-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
  }
  
  .overview-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
  
  .overview-stat {
    padding: 0.875rem;
    min-height: 100px;
    border-radius: 12px;
  }
  
  .stat-icon {
    padding: 6px;
    border-radius: 8px;
  }
  
  .stat-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .stat-label {
    font-size: 10px;
  }
  
  .profit-value,
  .winrate-value {
    font-size: 1.1rem;
  }
  
  .following-value,
  .risk-value {
    font-size: 0.95rem;
  }
  
  .stat-badge {
    font-size: 8px;
    padding: 2px 4px;
    border-radius: 4px;
  }
  
  .stat-change {
    font-size: 10px;
  }
  
  .active-positions {
    padding: 1rem;
    border-radius: 16px;
  }
  
  .positions-header {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
  }
  
  .positions-header h3 {
    font-size: 1.05rem;
  }
  
  .positions-count {
    font-size: 0.8rem;
  }
  
  .positions-list {
    grid-template-columns: 1fr;
    gap: 0.875rem;
  }
  
  .position-card {
    padding: 0.875rem;
    border-radius: 10px;
  }
  
  .position-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.75rem;
  }
  
  .trader-info {
    gap: 0.625rem;
  }
  
  .trader-avatar {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
    border-radius: 8px;
  }
  
  .trader-name {
    font-size: 0.85rem;
  }
  
  .position-duration {
    font-size: 0.75rem;
  }
  
  .position-actions {
    gap: 0.375rem;
  }
  
  .settings-btn,
  .stop-btn {
    padding: 0.375rem;
    border-radius: 6px;
  }
  
  .settings-btn svg,
  .stop-btn svg {
    width: 14px;
    height: 14px;
  }
  
  .position-metrics {
    margin-bottom: 0.75rem;
  }
  
  .metric-row {
    justify-content: space-between;
    margin-bottom: 0.5rem;
  }
  
  .metric {
    flex: 0 0 48%;
  }
  
  .metric-label {
    font-size: 0.75rem;
  }
  
  .metric-value {
    font-size: 0.85rem;
  }
  
  .position-stats {
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    padding: 0.625rem 0;
  }
  
  .stat-item {
    flex: 0 0 48%;
    gap: 0.25rem;
  }
  
  .stat-item svg {
    width: 12px;
    height: 12px;
  }
  
  .stat-item .stat-label {
    font-size: 0.7rem;
  }
  
  .stat-item .stat-value {
    font-size: 0.75rem;
  }
  
  .no-positions {
    padding: 1.5rem 1rem;
  }
  
  .no-positions svg {
    width: 36px;
    height: 36px;
  }
  
  .no-positions h4 {
    font-size: 0.95rem;
    margin: 12px 0 6px 0;
  }
  
  .no-positions p {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .portfolio-view {
    padding: 0.5rem;
  }
  
  .portfolio-header {
    margin-bottom: 1rem;
    padding: 0;
  }
  
  .portfolio-header h2 {
    font-size: 1.4rem;
    margin-bottom: 0.375rem;
  }
  
  .portfolio-header p {
    font-size: 0.8rem;
  }
  
  .portfolio-overview {
    padding: 1rem;
    margin-bottom: 1rem;
  }
  
  .overview-title {
    font-size: 1rem;
    margin-bottom: 0.875rem;
  }
  
  .overview-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
  
  .overview-stat {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    min-height: 85px;
    padding: 0.625rem;
  }
  
  .stat-icon {
    padding: 5px;
    flex-shrink: 0;
  }
  
  .stat-icon svg {
    width: 14px;
    height: 14px;
  }
  
  .stat-content {
    gap: 0.25rem;
    flex: 1 1;
  }
  
  .stat-label {
    font-size: 9px;
  }
  
  .profit-value,
  .winrate-value {
    font-size: 1rem;
  }
  
  .following-value,
  .risk-value {
    font-size: 0.8rem;
  }
  
  .stat-badge {
    font-size: 7px;
    padding: 1px 3px;
  }
  
  .stat-change {
    font-size: 9px;
  }
  
  .active-positions {
    padding: 0.75rem;
  }
  
  .positions-header h3 {
    font-size: 0.95rem;
  }
  
  .positions-count {
    font-size: 0.75rem;
  }
  
  .positions-list {
    gap: 0.75rem;
  }
  
  .position-card {
    padding: 0.75rem;
  }
  
  .trader-avatar {
    width: 24px;
    height: 24px;
    font-size: 0.7rem;
  }
  
  .trader-name {
    font-size: 0.8rem;
  }
  
  .position-duration {
    font-size: 0.7rem;
  }
  
  .settings-btn,
  .stop-btn {
    padding: 0.25rem;
  }
  
  .settings-btn svg,
  .stop-btn svg {
    width: 12px;
    height: 12px;
  }
  
  .metric-label {
    font-size: 0.7rem;
  }
  
  .metric-value {
    font-size: 0.8rem;
  }
  
  .stat-item {
    flex: 0 0 100%;
    margin-bottom: 0.25rem;
  }
  
  .stat-item:last-child {
    margin-bottom: 0;
  }
  
  .stat-item svg {
    width: 10px;
    height: 10px;
  }
  
  .stat-item .stat-label {
    font-size: 0.65rem;
  }
  
  .stat-item .stat-value {
    font-size: 0.7rem;
  }
  
  .no-positions {
    padding: 1.25rem 0.75rem;
  }
  
  .no-positions svg {
    width: 32px;
    height: 32px;
  }
  
  .no-positions h4 {
    font-size: 0.9rem;
    margin: 10px 0 5px 0;
  }
  
  .no-positions p {
    font-size: 0.75rem;
  }
}

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

@keyframes countUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

.overview-stat {
  animation: fadeInUp 0.6s ease-out;
}

.overview-stat:nth-child(1) { animation-delay: 0.1s; }
.overview-stat:nth-child(2) { animation-delay: 0.2s; }
.overview-stat:nth-child(3) { animation-delay: 0.3s; }
.overview-stat:nth-child(4) { animation-delay: 0.4s; }

.stat-value {
  animation: countUp 0.8s ease-out;
}

.stat-badge {
  animation: pulse 2s infinite;
}

/* Glowing effects */
.profit-stat:hover .profit-icon {
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.following-stat:hover .following-icon {
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.4);
}

.winrate-stat:hover .winrate-icon {
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.4);
}

.risk-stat:hover .risk-icon {
  box-shadow: 0 0 20px rgba(255, 165, 0, 0.4);
}

/* Simple solid text colors - no gradients */
.profit-value {
  color: #00ff88 !important;
}

.winrate-value {
  color: #00ff88 !important;
}

.following-value {
  color: #ffd700 !important;
}

.risk-value {
  color: #ffa500 !important;
}/* Extra small screens */
@media (max-width: 360px) {
  .portfolio-view {
    padding: 0.375rem;
  }
  
  .portfolio-header h2 {
    font-size: 1.25rem;
  }
  
  .portfolio-header p {
    font-size: 0.75rem;
  }
  
  .portfolio-overview {
    padding: 0.875rem;
  }
  
  .overview-title {
    font-size: 0.9rem;
  }
  
  .overview-stat {
    min-height: 60px;
    padding: 0.5rem;
    gap: 0.5rem;
  }
  
  .stat-icon {
    padding: 4px;
  }
  
  .stat-icon svg {
    width: 12px;
    height: 12px;
  }
  
  .stat-label {
    font-size: 8px;
  }
  
  .profit-value,
  .winrate-value {
    font-size: 0.9rem;
  }
  
  .following-value,
  .risk-value {
    font-size: 0.75rem;
  }
  
  .stat-badge {
    font-size: 6px;
    padding: 1px 2px;
  }
  
  .active-positions {
    padding: 0.625rem;
  }
  
  .position-card {
    padding: 0.625rem;
  }
  
  .trader-avatar {
    width: 20px;
    height: 20px;
    font-size: 0.6rem;
  }
  
  .trader-name {
    font-size: 0.75rem;
  }
  
  .metric-value {
    font-size: 0.75rem;
  }
}
.wallet-manager-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.wallet-manager {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.wallet-manager-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wallet-manager-header h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 10px;
  padding: 8px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  margin: 0 24px;
  border-radius: 12px;
  font-weight: 500;
}

.alert.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.alert.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.wallet-tabs {
  display: flex;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0 24px;
}

.tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 2px solid transparent;
  font-weight: 500;
}

.tab:hover {
  color: rgba(255, 255, 255, 0.8);
}

.tab.active {
  color: #00d4ff;
  border-bottom-color: #00d4ff;
}

.wallet-content {
  flex: 1 1;
  overflow-y: auto;
  padding: 24px;
}

/* Create Wallet Styles */
.create-wallet {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
  text-align: center;
}

.create-steps {
  display: flex;
  gap: 24px;
  margin: 20px 0;
  max-width: 600px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  flex: 1 1;
  text-align: left;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  border-radius: 50%;
  color: #ffffff;
  font-weight: 600;
  font-size: 14px;
  flex-shrink: 0;
}

.step-content h4 {
  margin: 0 0 4px 0;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

.step-content p {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  line-height: 1.4;
}

.security-notice {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 12px;
  color: #fbbf24;
  max-width: 500px;
}

.security-notice h3 {
  margin: 0 0 8px 0;
  font-size: 16px;
  font-weight: 600;
}

.security-notice p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.create-wallet-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 200px;
  justify-content: center;
}

.create-wallet-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.create-wallet-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.spinning {
  animation: spin 1s linear infinite;
}

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

/* Import Wallet Styles */
.import-wallet {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 600px;
  margin: 0 auto;
}

.import-type-selector {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
  margin-bottom: 24px;
}

.import-type-selector label {
  display: flex;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.import-type-selector label:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.import-type-selector label.active {
  background: rgba(0, 212, 255, 0.1);
  border-color: #00d4ff;
}

.import-type-selector input[type="radio"] {
  display: none;
}

.radio-content {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
}

.radio-content > div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.radio-title {
  font-weight: 600;
  font-size: 14px;
}

.radio-desc {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

.import-section {
  margin-bottom: 24px;
}

.import-label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.import-input {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  resize: vertical;
  min-height: 120px;
  line-height: 1.5;
}

.import-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
  font-family: inherit;
}

.import-input:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.word-count {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.valid-indicator {
  color: #22c55e;
  font-weight: 500;
}

.format-detector {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 8px 12px;
  background: rgba(0, 212, 255, 0.1);
  border: 1px solid rgba(0, 212, 255, 0.2);
  border-radius: 8px;
  font-size: 12px;
}

.format-label {
  color: rgba(255, 255, 255, 0.7);
}

.format-type {
  color: #00d4ff;
  font-weight: 500;
}

.import-help {
  margin-top: 12px;
  padding: 12px;
  background: rgba(0, 212, 255, 0.05);
  border: 1px solid rgba(0, 212, 255, 0.1);
  border-radius: 8px;
  font-size: 11px;
}

.help-title {
  color: #00d4ff;
  font-weight: 600;
  margin-bottom: 8px;
}

.help-examples {
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.help-examples div {
  margin-bottom: 4px;
  word-break: break-all;
}

.base58-help {
  margin-top: 8px;
  padding: 8px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.2);
  border-radius: 6px;
}

.help-note {
  color: #fbbf24;
  font-size: 11px;
  line-height: 1.3;
  margin-bottom: 8px;
}

.conversion-options {
  color: rgba(251, 191, 36, 0.8);
  font-size: 10px;
  line-height: 1.4;
}

.conversion-options div {
  margin-bottom: 3px;
}

.conversion-options code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 4px;
  border-radius: 3px;
  font-family: 'Courier New', monospace;
  color: #fbbf24;
}

.key-preview {
  background: rgba(0, 0, 0, 0.4);
  padding: 8px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 10px;
  word-break: break-all;
  color: #00d4ff;
  margin: 4px 0 8px 0;
  border: 1px solid rgba(0, 212, 255, 0.2);
}

.conversion-note {
  margin-top: 8px;
  padding: 6px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: 4px;
  color: #fca5a5;
  font-size: 10px;
  font-weight: 500;
}

.format-label-container {
  margin-bottom: 8px;
}

.format-label {
  padding: 4px 8px;
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.format-selector {
  margin-bottom: 8px;
}

.format-select {
  width: 100%;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #ffffff;
  font-size: 12px;
  cursor: pointer;
}

.format-select:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.format-select option {
  background: #1a1a2e;
  color: #ffffff;
}

.import-wallet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.import-wallet-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.import-wallet-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* Manage Wallets Styles */
.manage-wallets {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.no-wallets {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 60px 20px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
}

.no-wallets svg {
  opacity: 0.3;
}

.no-wallets h3 {
  margin: 0;
  font-size: 20px;
  color: #ffffff;
}

.no-wallets p {
  margin: 0;
  font-size: 14px;
}

.wallets-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.wallet-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 20px;
  transition: all 0.2s ease;
}

.wallet-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

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

.wallet-info h3 {
  margin: 0 0 4px 0;
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
}

.wallet-type {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.select-wallet-btn {
  padding: 8px 16px;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  border: none;
  border-radius: 8px;
  color: #ffffff;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.select-wallet-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 212, 255, 0.3);
}

.wallet-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;
}

.detail-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.detail-row label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
}

.key-display {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.key-text {
  flex: 1 1;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  word-break: break-all;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.4;
  min-width: 0;
  max-width: 100%;
  white-space: pre-wrap;
}

.copy-btn,
.toggle-visibility-btn {
  padding: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.copy-btn:hover,
.toggle-visibility-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.wallet-actions {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.delete-wallet-btn {
  padding: 8px 16px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #fca5a5;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.delete-wallet-btn:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.5);
}

/* Responsive Design */
@media (max-width: 768px) {
  .wallet-manager-overlay {
    padding: 10px;
  }
  
  .wallet-manager {
    max-height: 95vh;
  }
  
  .wallet-manager-header {
    padding: 16px;
  }
  
  .wallet-content {
    padding: 16px;
  }
  
  .wallet-tabs {
    padding: 0 16px;
    overflow-x: auto;
  }
  
  .tab {
    white-space: nowrap;
    padding: 12px 16px;
  }
  
  .import-type-selector {
    flex-direction: column;
    gap: 12px;
  }
  
  .wallet-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  
  .key-display {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 8px;
  }
  
  .key-text {
    word-break: break-all;
    word-wrap: break-word;
    overflow-wrap: break-word;
    font-size: 11px;
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
  }
  
  .copy-btn,
  .toggle-visibility-btn {
    align-self: flex-start;
    margin-top: 8px;
  }
}

/* Seed Phrase Specific Styles */
.key-display.seed-phrase {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

.seed-words {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  grid-gap: 8px;
  gap: 8px;
  width: 100% !important;
  box-sizing: border-box;
  min-width: 0;
}

.seed-word {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 12px;
}

.word-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: rgba(0, 212, 255, 0.2);
  border-radius: 4px;
  color: #00d4ff;
  font-size: 9px;
  font-weight: 600;
  flex-shrink: 0;
}

.word-text {
  color: #ffffff;
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.seed-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #fca5a5;
  font-size: 12px;
  margin-top: 8px;
}

/* Tablet responsive for seed phrases */
@media (max-width: 1024px) and (min-width: 769px) {
  .seed-words {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Mobile responsive for seed phrases */
@media (max-width: 768px) {
  .create-steps {
    flex-direction: column;
    gap: 16px;
  }
  
  .step {
    text-align: center;
  }
  
  .import-type-selector {
    grid-template-columns: 1fr;
  }
  
  .seed-words {
    grid-template-columns: repeat(4, 1fr);
    gap: 6px;
    width: 100%;
    max-width: 100%;
  }
  
  .seed-word {
    padding: 4px 6px;
    font-size: 11px;
    gap: 4px;
    min-width: 0;
    overflow: hidden;
  }
  
  .word-number {
    width: 16px;
    height: 16px;
    font-size: 8px;
  }
  
  .copy-btn,
  .toggle-visibility-btn {
    align-self: center;
  }
}

@media (max-width: 480px) {
  .wallet-manager {
    margin: 10px;
    max-width: calc(100vw - 20px);
  }
  
  .key-display {
    padding: 8px;
    overflow: hidden;
  }
  
  .key-text {
    font-size: 10px;
    line-height: 1.2;
    word-break: break-all;
    overflow-wrap: anywhere;
    -webkit-hyphens: auto;
            hyphens: auto;
    max-width: 100%;
  }
  
  .detail-row {
    gap: 6px;
  }
  
  .detail-row label {
    font-size: 12px;
  }
  
  .seed-words {
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    width: 100%;
    max-width: 100%;
  }
  
  .seed-word {
    padding: 3px 4px;
    font-size: 10px;
    gap: 3px;
    min-width: 0;
    overflow: hidden;
  }
  
  .word-number {
    width: 14px;
    height: 14px;
    font-size: 7px;
  }
  
  .word-text {
    font-size: 10px;
  }
}
.wallet-setup {
  max-width: 600px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(26, 26, 26, 0.8);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  color: white;
}

.wallet-setup-header {
  text-align: center;
  margin-bottom: 2rem;
}

.wallet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  border-radius: 16px;
  margin: 0 auto 1rem;
  color: white;
}

.wallet-setup-header h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.wallet-setup-header p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

/* Error and Success Messages */
.error-message,
.success-message {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.error-message {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

/* Tabs */
.wallet-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 0.5rem;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 1 1;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
}

.tab-btn.active {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: white;
}

/* Wallet Content */
.wallet-content {
  min-height: 300px;
}

/* Create Wallet */
.create-section {
  text-align: center;
}

.create-info h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 1rem;
}

.create-info p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
}

.security-notes {
  text-align: left;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 2rem;
  list-style: none;
  padding-left: 1rem;
}

.security-notes li {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  position: relative;
  padding-left: 1.5rem;
}

.security-notes li::before {
  content: "•";
  color: #ffd700;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
  font-size: 1.2em;
}

.create-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin: 0 auto;
}

.create-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.3);
}

.create-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Wallet Details */
.wallet-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.generation-success {
  text-align: center;
  padding: 1.5rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 12px;
  margin-bottom: 0.5rem;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: rgba(34, 197, 94, 0.2);
  border-radius: 50%;
  margin: 0 auto 1rem;
  color: #86efac;
}

.generation-success h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #86efac;
  margin: 0 0 0.5rem 0;
}

.generation-success p {
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  font-size: 0.875rem;
}

.detail-section {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.detail-section h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffd700;
  margin: 0;
}

.toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
}

.address-display {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
}

.address-display code {
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.875rem;
  color: #86efac;
  word-break: break-all;
}

.mnemonic-display,
.private-key-display {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1rem;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mnemonic-words {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 0.5rem;
  gap: 0.5rem;
  width: 100%;
}

.mnemonic-word {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 6px;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.875rem;
  color: white;
}

.word-number {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  min-width: 20px;
}

.private-key-display code {
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.75rem;
  color: #fca5a5;
  word-break: break-all;
  line-height: 1.4;
}

.hidden-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.copy-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 6px;
  color: #86efac;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.copy-btn:hover {
  background: rgba(34, 197, 94, 0.3);
  transform: translateY(-1px);
}

/* Save Section */
.save-section {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.warning-box {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 8px;
  color: #fbbf24;
}

.warning-box h5 {
  font-size: 0.875rem;
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.warning-box p {
  font-size: 0.875rem;
  margin: 0;
  line-height: 1.4;
}

.save-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.save-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.3);
}

.save-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Import Wallet */
.import-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.import-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffd700;
  margin: 0;
}

.import-section p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.form-group textarea {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: white;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 0.875rem;
  resize: vertical;
  min-height: 80px;
  transition: all 0.3s ease;
}

.form-group textarea:focus {
  outline: none;
  border-color: #8b5cf6;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group textarea:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.import-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #3b82f6, #2563eb);
  color: white;
  border: none;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.import-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.import-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

/* Spinner Animation */
.spinner {
  animation: spin 1s linear infinite;
}

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

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .wallet-setup {
    margin: 1rem;
    padding: 1.5rem;
  }
  
  .wallet-tabs {
    flex-direction: column;
    gap: 0.25rem;
  }
  
  .tab-btn {
    justify-content: center;
  }
  
  .mnemonic-words {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.25rem;
  }
  
  .mnemonic-word {
    padding: 0.375rem;
    font-size: 0.75rem;
  }
  
  .detail-section {
    padding: 1rem;
  }
  
  .private-key-display code {
    font-size: 0.7rem;
  }
}

@media (max-width: 480px) {
  .wallet-setup {
    padding: 1rem;
  }
  
  .wallet-setup-header h2 {
    font-size: 1.5rem;
  }
  
  .mnemonic-words {
    grid-template-columns: 1fr;
  }
  
  .create-btn,
  .save-btn,
  .import-btn {
    padding: 0.875rem 1.5rem;
  }
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.send-modal {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 600;
  margin: 0;
}

.close-btn {
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 10px;
  padding: 8px;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.modal-content {
  padding: 24px;
}

.alert {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 12px;
  font-weight: 500;
  margin-bottom: 20px;
}

.alert.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.alert.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.form-input {
  width: 100%;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #ffffff;
  font-size: 16px;
  transition: all 0.2s ease;
}

.form-input:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.cancel-btn {
  flex: 1 1;
  padding: 16px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.cancel-btn:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.15);
}

.send-btn {
  flex: 1 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.send-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(245, 158, 11, 0.3);
}

.send-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.spinning {
  animation: spin 1s linear infinite;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
  .modal-overlay {
    padding: 10px;
  }
  
  .send-modal {
    max-width: 100%;
  }
  
  .modal-header {
    padding: 20px;
  }
  
  .modal-content {
    padding: 20px;
  }
  
  .form-actions {
    flex-direction: column;
  }
}
.receive-modal {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 500px;
  overflow: hidden;
}

.receive-info {
  text-align: center;
  margin-bottom: 24px;
}

.wallet-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 20px;
  margin: 0 auto 16px;
  color: #ffffff;
}

.receive-info h3 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.receive-info p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin: 0;
}

.address-section {
  margin-bottom: 24px;
}

.address-display {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 12px;
  word-break: break-all;
}

.address-text {
  color: #ffffff;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.5;
}

.copy-address-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.copy-address-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.receive-warning {
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
}

.warning-content h4 {
  color: #fbbf24;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 8px 0;
}

.warning-content ul {
  color: rgba(251, 191, 36, 0.8);
  font-size: 12px;
  margin: 0;
  padding-left: 16px;
}

.warning-content li {
  margin-bottom: 4px;
}

.modal-actions {
  display: flex;
  justify-content: center;
}

.close-modal-btn {
  padding: 12px 24px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-modal-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .receive-modal {
    max-width: 100%;
  }
  
  .address-text {
    font-size: 12px;
  }
  
  .wallet-icon {
    width: 64px;
    height: 64px;
  }
}
.wallet-dashboard {
  padding: 24px;
  max-width: 800px;
  margin: 0 auto;
}

/* Wallet Connect Section */
.wallet-connect-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.connect-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 48px 32px;
  text-align: center;
  max-width: 400px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.connect-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  border-radius: 20px;
  margin: 0 auto 24px;
  color: #ffffff;
}

.connect-card h2 {
  color: #ffffff;
  font-size: 28px;
  font-weight: 600;
  margin: 0 0 16px 0;
}

.connect-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  line-height: 1.6;
  margin: 0 0 32px 0;
}

.connect-wallet-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
  width: 100%;
}

.connect-wallet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

/* Wallet Header */
.wallet-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  margin-bottom: 24px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.wallet-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.wallet-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  border-radius: 12px;
  color: #ffffff;
}

.wallet-details h2 {
  color: #ffffff;
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 4px 0;
}

.wallet-type {
  display: inline-block;
  padding: 4px 8px;
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.wallet-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.action-btn.disconnect {
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

.action-btn.disconnect:hover {
  background: rgba(239, 68, 68, 0.3);
  border-color: rgba(239, 68, 68, 0.5);
}

/* Wallet Overview Section */
.wallet-overview {
  display: grid;
  grid-template-columns: 1fr 300px;
  grid-gap: 24px;
  gap: 24px;
  margin-bottom: 32px;
}

.balance-section {
  display: flex;
  flex-direction: column;
  gap: 0px;
}

.balance-card.main-balance {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.08) 100%);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 20px;
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.balance-card.main-balance::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #10b981, #00d4ff);
}

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

.balance-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.balance-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #10b981, #059669);
  border-radius: 12px;
  color: #ffffff;
}

.sol-logo {
  font-size: 20px;
  font-weight: bold;
}

.balance-title h3 {
  color: #10b981;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.balance-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 400;
}

.refresh-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: rgba(16, 185, 129, 0.2);
  border: none;
  border-radius: 6px;
  color: #10b981;
  cursor: pointer;
  transition: all 0.2s ease;
}

.refresh-btn:hover:not(:disabled) {
  background: rgba(16, 185, 129, 0.3);
}

.refresh-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.balance-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.balance-amount {
  font-size: 36px;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.loading-balance {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
}

.loading-spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top: 2px solid #10b981;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

.balance-usd {
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  font-weight: 500;
}

.balance-change {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}

.change-indicator {
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.change-indicator.positive {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.change-period {
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.quick-action-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: none;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 120px;
}

.quick-action-btn.send {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
}

.quick-action-btn.send:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
}

.quick-action-btn.receive {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
}

.quick-action-btn.receive:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

/* Wallet Details Section */
.wallet-details-section {
  margin-bottom: 24px;
}

.detail-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 24px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

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

.detail-header h3 {
  color: #ffffff;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  color: #22c55e;
  font-size: 12px;
  font-weight: 500;
}

.detail-row {
  margin-bottom: 20px;
}

.detail-row:last-of-type {
  margin-bottom: 24px;
}

.detail-row label {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 8px;
}

.key-display {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
}

.key-text {
  flex: 1 1;
  color: #ffffff;
  font-family: 'Courier New', monospace;
  font-size: 13px;
  word-break: break-all;
  line-height: 1.4;
}

.key-text.mnemonic {
  font-size: 14px;
  font-family: inherit;
  word-spacing: 4px;
}

.copy-btn,
.toggle-visibility-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.copy-btn:hover,
.toggle-visibility-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.security-warning {
  display: flex;
  gap: 12px;
  padding: 16px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 8px;
  color: #fbbf24;
  font-size: 14px;
  line-height: 1.5;
}

.security-warning strong {
  font-weight: 600;
}

.spinning {
  animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .wallet-dashboard {
    padding: 16px;
  }
  
  .wallet-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
  }
  
  .wallet-actions {
    width: 100%;
    justify-content: flex-end;
  }
  
  .wallet-balance-section {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  
  .quick-actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .balance-amount {
    font-size: 24px;
  }
  
  .connect-card {
    padding: 32px 24px;
    margin: 0 16px;
  }
  
  .key-display {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  
  .key-text {
    word-break: break-all;
    text-align: center;
  }
  
  .copy-btn,
  .toggle-visibility-btn {
    align-self: center;
  }
}

/* Seed Phrase Specific Styles */
.key-display.seed-phrase {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
}

.seed-words {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.seed-word {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  font-size: 13px;
}

.word-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(0, 212, 255, 0.2);
  border-radius: 4px;
  color: #00d4ff;
  font-size: 10px;
  font-weight: 600;
  flex-shrink: 0;
}

.word-text {
  color: #ffffff;
  font-weight: 500;
}

.seed-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: rgba(251, 191, 36, 0.1);
  border: 1px solid rgba(251, 191, 36, 0.3);
  border-radius: 8px;
  color: #fbbf24;
  font-size: 12px;
  margin-top: 8px;
}

/* Format selector styles */
.format-selector {
  margin-bottom: 8px;
}

.format-select {
  width: 100%;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  color: #ffffff;
  font-size: 12px;
  cursor: pointer;
}

.format-select:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 0 0 0 2px rgba(0, 212, 255, 0.2);
}

.format-select option {
  background: #1a1a2e;
  color: #ffffff;
}

/* Mobile responsive updates for seed phrases */
@media (max-width: 768px) {
  .seed-words {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 12px;
  gap: 12px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.stat-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(0, 212, 255, 0.2);
  border-radius: 8px;
  color: #00d4ff;
}

.stat-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.stat-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 12px;
  font-weight: 500;
}

.stat-value {
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
}

/* Actions Section */
.actions-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.actions-section h4 {
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.quick-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 16px;
  gap: 16px;
}

.quick-action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 12px;
  border: none;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.action-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  margin-bottom: 4px;
}

.quick-action-btn.send {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
}

.quick-action-btn.send .action-icon {
  background: rgba(255, 255, 255, 0.2);
}

.quick-action-btn.receive {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff;
}

.quick-action-btn.receive .action-icon {
  background: rgba(255, 255, 255, 0.2);
}



.quick-action-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Details Tabs */
.details-tabs {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 4px;
}

.tab-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: none;
  border: none;
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  flex: 1 1;
  justify-content: center;
}

.tab-btn:hover {
  color: rgba(255, 255, 255, 0.8);
}

.tab-btn.active {
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
}

/* Enhanced Detail Card */
.detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.security-badges {
  display: flex;
  gap: 8px;
}

.encryption-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  color: #a78bfa;
  font-size: 12px;
  font-weight: 500;
}

/* Credential Sections */
.credential-section {
  margin-bottom: 24px;
}

.credential-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 20px;
  transition: all 0.2s ease;
}

.credential-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.12);
}

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

.credential-label {
  display: flex;
  align-items: center;
  gap: 12px;
}

.label-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.label-icon.public {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.label-icon.private {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.label-icon.seed {
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
}

.credential-label span {
  color: #ffffff;
  font-weight: 600;
  font-size: 16px;
}

.danger-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(239, 68, 68, 0.2);
  border-radius: 50%;
  color: #f87171;
}

.word-count-badge {
  padding: 4px 8px;
  background: rgba(251, 191, 36, 0.2);
  color: #fbbf24;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

.credential-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.format-label {
  padding: 4px 8px;
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 500;
}

/* Enhanced Key Display */
.key-display.public-key {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.key-display.private-key {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.key-info {
  margin-top: 12px;
}

.key-description {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

.key-description.danger {
  color: #fca5a5;
}

/* Enhanced Seed Words */
.seed-words-hidden {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  grid-gap: 8px;
  gap: 8px;
}

.seed-word.hidden .word-text {
  color: rgba(255, 255, 255, 0.3);
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
  .wallet-dashboard {
    padding: 0.75rem;
  }
  
  .wallet-header {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 1rem;
  }
  
  .wallet-info {
    gap: 10px;
  }
  
  .wallet-avatar {
    width: 36px;
    height: 36px;
  }
  
  .wallet-avatar svg {
    width: 18px;
    height: 18px;
  }
  
  .wallet-details h2 {
    font-size: 1rem;
    margin-bottom: 2px;
  }
  
  .wallet-type {
    font-size: 10px;
    padding: 2px 6px;
  }
  
  .wallet-actions {
    gap: 8px;
  }
  
  .action-btn {
    padding: 6px;
    min-width: 28px;
    min-height: 28px;
  }
  
  .action-btn svg {
    width: 14px;
    height: 14px;
  }
  
  .action-btn.disconnect {
    padding: 4px 8px;
    font-size: 11px;
  }

  .wallet-overview {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .balance-card.main-balance {
    padding: 1.25rem;
  }
  
  .balance-header {
    margin-bottom: 16px;
  }
  
  .balance-title {
    gap: 10px;
  }
  
  .balance-icon {
    width: 32px;
    height: 32px;
  }
  
  .sol-logo {
    font-size: 16px;
  }
  
  .balance-title h3 {
    font-size: 1rem;
  }
  
  .balance-subtitle {
    font-size: 10px;
  }
  
  .refresh-btn {
    padding: 4px;
  }
  
  .refresh-btn svg {
    width: 14px;
    height: 14px;
  }
  
  .balance-amount {
    font-size: 1.75rem;
  }
  
  .balance-usd {
    font-size: 0.875rem;
  }
  
  .balance-debug {
    font-size: 9px !important;
  }
  
  .loading-balance {
    font-size: 1rem;
  }
  
  .loading-spinner {
    width: 16px;
    height: 16px;
  }
  
  .actions-section h4 {
    font-size: 0.9rem;
    margin-bottom: 8px;
  }
  
  .quick-actions {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  
  .quick-action-btn {
    padding: 10px 8px;
    font-size: 0.8rem;
    border-radius: 8px;
  }
  
  .action-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 2px;
  }
  
  .action-icon svg {
    width: 16px;
    height: 16px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .stat-item {
    padding: 10px;
  }
  
  .stat-icon {
    width: 24px;
    height: 24px;
  }
  
  .stat-icon svg {
    width: 12px;
    height: 12px;
  }
  
  .stat-label {
    font-size: 10px;
  }
  
  .stat-value {
    font-size: 12px;
  }
  
  .detail-card {
    padding: 1rem;
  }
  
  .detail-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  
  .detail-header h3 {
    font-size: 1rem;
  }
  
  .security-badges {
    gap: 6px;
  }
  
  .security-badge,
  .encryption-badge {
    padding: 4px 8px;
    font-size: 10px;
  }
  
  .security-badge svg,
  .encryption-badge svg {
    width: 10px;
    height: 10px;
  }
  
  .details-tabs {
    flex-direction: row;
    gap: 2px;
    margin-bottom: 16px;
  }
  
  .tab-btn {
    padding: 8px 10px;
    font-size: 12px;
  }
  
  .tab-btn svg {
    width: 14px;
    height: 14px;
  }
  
  .credential-section {
    margin-bottom: 16px;
  }
  
  .credential-item {
    padding: 12px;
  }
  
  .credential-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
  }
  
  .credential-label {
    gap: 8px;
  }
  
  .label-icon {
    width: 24px;
    height: 24px;
  }
  
  .label-icon svg {
    width: 12px;
    height: 12px;
  }
  
  .credential-label span {
    font-size: 0.875rem;
  }
  
  .danger-indicator {
    width: 16px;
    height: 16px;
  }
  
  .danger-indicator svg {
    width: 8px;
    height: 8px;
  }
  
  .word-count-badge {
    font-size: 10px;
    padding: 2px 6px;
  }
  
  .credential-actions {
    width: 100%;
    justify-content: flex-end;
    gap: 6px;
  }
  
  .format-label {
    font-size: 10px;
    padding: 2px 6px;
  }
  
  .key-display {
    padding: 10px;
  }
  
  .key-text {
    font-size: 11px;
    line-height: 1.3;
  }
  
  .copy-btn,
  .toggle-visibility-btn {
    padding: 4px;
    min-width: 24px;
    min-height: 24px;
  }
  
  .copy-btn svg,
  .toggle-visibility-btn svg {
    width: 12px;
    height: 12px;
  }
  
  .key-info {
    margin-top: 8px;
  }
  
  .key-description {
    font-size: 10px;
    gap: 6px;
  }
  
  .key-description svg {
    width: 10px;
    height: 10px;
  }
  
  .seed-words {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  
  .seed-words-hidden {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  
  .seed-word {
    padding: 6px 8px;
    font-size: 11px;
  }
  
  .word-number {
    width: 16px;
    height: 16px;
    font-size: 8px;
  }
  
  .security-warning {
    padding: 12px;
    font-size: 12px;
    gap: 8px;
  }
  
  .security-warning svg {
    width: 12px;
    height: 12px;
  }
  
  .connect-card {
    padding: 20px 16px;
    margin: 0 8px;
  }
  
  .connect-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 20px;
  }
  
  .connect-icon svg {
    width: 28px;
    height: 28px;
  }
  
  .connect-card h2 {
    font-size: 1.375rem;
    margin-bottom: 12px;
  }
  
  .connect-card p {
    font-size: 0.875rem;
    margin-bottom: 24px;
  }
  
  .connect-wallet-btn {
    padding: 12px 20px;
    font-size: 0.875rem;
    gap: 8px;
  }
  
  .connect-wallet-btn svg {
    width: 16px;
    height: 16px;
  }
}

@media (max-width: 480px) {
  .wallet-dashboard {
    padding: 0.5rem;
  }
  
  .wallet-header {
    padding: 0.75rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  
  .wallet-info {
    gap: 8px;
  }
  
  .wallet-avatar {
    width: 32px;
    height: 32px;
  }
  
  .wallet-avatar svg {
    width: 16px;
    height: 16px;
  }
  
  .wallet-details h2 {
    font-size: 0.9rem;
  }
  
  .wallet-type {
    font-size: 9px;
  }
  
  .wallet-actions {
    width: 100%;
    justify-content: flex-end;
  }
  
  .balance-card.main-balance {
    padding: 1rem;
  }
  
  .balance-header {
    margin-bottom: 12px;
  }
  
  .balance-title {
    gap: 8px;
  }
  
  .balance-icon {
    width: 28px;
    height: 28px;
  }
  
  .sol-logo {
    font-size: 14px;
  }
  
  .balance-title h3 {
    font-size: 0.9rem;
  }
  
  .balance-subtitle {
    font-size: 9px;
  }
  
  .balance-amount {
    font-size: 1.5rem;
  }
  
  .balance-usd {
    font-size: 0.8rem;
  }
  
  .balance-debug {
    font-size: 8px !important;
  }
  
  .actions-section h4 {
    font-size: 0.85rem;
  }
  
  .quick-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  
  .quick-action-btn {
    padding: 8px;
    font-size: 0.75rem;
    flex-direction: row;
    gap: 8px;
  }
  
  .action-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 0;
  }
  
  .action-icon svg {
    width: 14px;
    height: 14px;
  }
  
  .credential-item {
    padding: 10px;
  }
  
  .credential-header {
    gap: 8px;
    margin-bottom: 10px;
  }
  
  .credential-label span {
    font-size: 0.8rem;
  }
  
  .key-display {
    padding: 8px;
  }
  
  .key-text {
    font-size: 10px;
  }
  
  .seed-words,
  .seed-words-hidden {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  
  .seed-word {
    padding: 4px 6px;
    font-size: 10px;
  }
  
  .word-number {
    width: 14px;
    height: 14px;
    font-size: 7px;
  }
  
  .connect-card {
    padding: 16px 12px;
  }
  
  .connect-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
  
  .connect-icon svg {
    width: 24px;
    height: 24px;
  }
  
  .connect-card h2 {
    font-size: 1.25rem;
    margin-bottom: 10px;
  }
  
  .connect-card p {
    font-size: 0.8rem;
    margin-bottom: 20px;
  }
  
  .connect-wallet-btn {
    padding: 10px 16px;
    font-size: 0.8rem;
    gap: 6px;
  }
  
  .connect-wallet-btn svg {
    width: 14px;
    height: 14px;
  }
}

/* Extra small screens */
@media (max-width: 360px) {
  .wallet-dashboard {
    padding: 0.375rem;
  }
  
  .wallet-header {
    padding: 0.625rem;
  }
  
  .balance-card.main-balance {
    padding: 0.875rem;
  }
  
  .balance-amount {
    font-size: 1.375rem;
  }
  
  .quick-action-btn {
    padding: 6px;
    font-size: 0.7rem;
  }
  
  .action-icon {
    width: 20px;
    height: 20px;
  }
  
  .action-icon svg {
    width: 12px;
    height: 12px;
  }
  
  .connect-card {
    padding: 12px 8px;
  }
  
  .connect-card h2 {
    font-size: 1.125rem;
  }
  
  .connect-card p {
    font-size: 0.75rem;
  }
}
/* Smooth scrolling for better mobile navigation experience */
html {
  scroll-behavior: smooth;
}

/* Modern Dashboard Styles */
.dashboard {
  min-height: 100vh;
  background: radial-gradient(ellipse at top, #1a0f2e 0%, #0a0a0a 50%, #000000 100%);
  color: #ffd700;
  position: relative;
  overflow-x: hidden;
}

/* Animated Background */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.floating-shapes {
  position: relative;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(139, 92, 246, 0.1), rgba(168, 85, 247, 0.05));
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: -5%;
  animation-delay: -7s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  right: 20%;
  animation-delay: -14s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 30%;
  animation-delay: -21s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-30px) rotate(120deg); }
  66% { transform: translateY(20px) rotate(240deg); }
}

/* Modern Header */
.header {
  background: rgba(10, 10, 10, 0.8);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  min-height: 60px;
}

/* User Info */
.user-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.username {
  font-size: 0.875rem;
  font-weight: 500;
  color: #ffd700;
}

/* User Profile Dropdown */
.user-info {
  position: relative;
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 6px;
  color: #a5b4fc;
  cursor: pointer;
  transition: all 0.3s ease;
}

.user-profile-btn:hover {
  background: rgba(99, 102, 241, 0.2);
  border-color: rgba(99, 102, 241, 0.3);
  transform: translateY(-1px);
}

.dropdown-arrow {
  transition: transform 0.3s ease;
}

.dropdown-arrow.rotated {
  transform: rotate(180deg);
}

.user-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  min-width: 200px;
  background: rgba(15, 23, 42, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
  z-index: 1000;
  overflow: hidden;
}

.dropdown-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: rgba(99, 102, 241, 0.1);
  border-bottom: 1px solid rgba(99, 102, 241, 0.1);
}

.user-details {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.dropdown-username {
  font-weight: 600;
  color: #e2e8f0;
  font-size: 14px;
}

.dropdown-email {
  font-size: 12px;
  color: #94a3b8;
}

.dropdown-divider {
  height: 1px;
  background: rgba(99, 102, 241, 0.1);
  margin: 4px 0;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.dropdown-item:hover {
  background: rgba(99, 102, 241, 0.1);
  color: #a5b4fc;
}

.dropdown-item.logout-item {
  color: #fca5a5;
}

.dropdown-item.logout-item:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}

/* Legacy logout button (hidden) */
.logout-btn {
  display: none;
}

/* Responsive dropdown */
@media (max-width: 480px) {
  .user-dropdown {
    right: -8px;
    min-width: 180px;
  }
  
  .dropdown-header {
    padding: 12px;
  }
  
  .dropdown-item {
    padding: 10px 12px;
    font-size: 13px;
  }
}

/* Welcome Section */
.welcome-section {
  position: relative;
  z-index: 5;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

.welcome-content h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffd700, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-content p {
  font-size: 1.125rem;
  color: rgba(255, 215, 0, 0.8);
  margin: 0;
}

.header-content {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 60px;
  box-sizing: border-box;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo-icon-wrapper {
  position: relative;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.logo-icon {
  color: white;
  width: 24px;
  height: 24px;
  z-index: 2;
}

.logo-glow {
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  border-radius: 14px;
  filter: blur(8px);
  opacity: 0.6;
  z-index: 1;
}

.logo-text h1 {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  letter-spacing: -0.02em;
}

.logo-subtitle {
  font-size: 0.75rem;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Modern Navigation */
.nav {
  display: flex;
  gap: 0.5rem;
  background: rgba(26, 26, 26, 0.6);
  padding: 0.5rem;
  border-radius: 16px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: transparent;
  border: none;
  color: #888;
  cursor: pointer;
  border-radius: 12px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.9rem;
  font-weight: 500;
  overflow: hidden;
}

.nav-item span {
  position: relative;
  z-index: 2;
}

.nav-item:hover {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-1px);
}

.nav-item.active {
  color: #ffd700;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(168, 85, 247, 0.1));
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.nav-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #ffd700, #ffed4e);
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.nav-item.active .nav-indicator {
  width: 80%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.network-status {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 8px;
  font-size: 0.8rem;
  color: #22c55e;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2s infinite;
}

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



.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  width: 100%;
}

/* Wallet Setup Container Centering */
.wallet-setup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
}

.wallet-connect-section {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-top: 2rem;
}

.connect-card {
  max-width: 400px;
  width: 100%;
  text-align: center;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 2rem;
}

.connect-wallet {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
}

.connect-content {
  text-align: center;
  max-width: 400px;
}

.connect-icon {
  color: #8b5cf6;
  margin-bottom: 1.5rem;
}

.connect-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #ffd700;
}

.connect-content p {
  color: #888;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.connect-button {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 1rem 2rem !important;
  font-weight: 600 !important;
  color: white !important;
  font-size: 1.1rem !important;
}

.dashboard-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.stat-card {
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid #333;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.2s ease;
}

.stat-card:hover {
  border-color: #8b5cf6;
  transform: translateY(-2px);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
}

.stat-icon.profit {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.stat-content h3 {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.25rem;
}

.stat-value.profit {
  color: #22c55e;
}

.stat-change {
  font-size: 0.8rem;
  color: #888;
}

.stat-change.profit {
  color: #22c55e;
}

.section {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid #333;
  border-radius: 16px;
  padding: 2rem;
  width: 100%;
  box-sizing: border-box;
  overflow: visible;
}

.section-title {
  font-size: 1.5rem;
  color: #ffd700;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.traders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.copy-form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.copy-form {
  background: #1a1a1a;
  border: 1px solid #333;
  border-radius: 16px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
}

.copy-form h3 {
  color: #ffd700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: #888;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.amount-input {
  width: 100%;
  padding: 0.75rem;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid #333;
  border-radius: 8px;
  color: #ffd700;
  font-size: 1rem;
}

.amount-input:focus {
  outline: none;
  border-color: #8b5cf6;
}

.form-actions {
  display: flex;
  gap: 1rem;
}

.btn-primary {
  flex: 1 1;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  border: none;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-secondary {
  flex: 1 1;
  padding: 0.75rem 1.5rem;
  background: transparent;
  border: 1px solid #333;
  border-radius: 8px;
  color: #888;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-secondary:hover {
  border-color: #555;
  color: #ffd700;
}

/* Desktop centering improvements */
@media (min-width: 769px) {
  .main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  
  .dashboard-grid {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .stats-section,
  .premium-section,
  .section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Better desktop layout for stat cards */
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
  
  .stat-card.premium {
    min-height: 160px;
    max-height: 180px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.2rem;
  }
  
  .stat-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 0.3rem;
    margin-bottom: 0.75rem;
  }
  
  .stat-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 0.3rem;
  }
  
  .stat-trend,
  .stat-badge {
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    align-self: center;
    margin: 0 auto;
  }
  
  .stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1;
    width: 100%;
  }
  
  .stat-content h3 {
    font-size: 0.75rem;
    margin-bottom: 0.4rem;
    text-align: center;
  }
  
  .stat-value {
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
  }
  
  .stat-progress {
    width: 100%;
    align-self: center;
  }
}

@media (max-width: 768px) {
  .header-content {
    padding: 1rem;
    flex-direction: column;
    gap: 1rem;
  }

  .nav {
    order: -1;
  }

  .main-content {
    padding: 1rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
  }

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

.connection-banner {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

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

.banner-icon {
  color: #8b5cf6;
  flex-shrink: 0;
}

.banner-text {
  flex: 1 1;
}

.banner-text h3 {
  color: #ffd700;
  font-size: 1.1rem;
  margin: 0 0 0.5rem 0;
}

.banner-text p {
  color: #888;
  margin: 0;
  font-size: 0.9rem;
}

.banner-button {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%) !important;
  border: none !important;
  border-radius: 8px !important;
  padding: 0.75rem 1.5rem !important;
  font-weight: 600 !important;
  color: white !important;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .banner-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .banner-text {
    order: 1;
  }
  
  .banner-icon {
    order: 0;
  }
  
  .banner-button {
    order: 2;
  }
}/* H
ero Section */
.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 4rem;
  gap: 4rem;
  padding: 4rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 50px;
  color: #8b5cf6;
  font-size: 0.85rem;
  font-weight: 500;
  width: -webkit-fit-content;
  width: fit-content;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  color: #ffffff;
  margin: 0;
}

.gradient-text {
  background: linear-gradient(135deg, #ffd700, #ffed4e, #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.2rem;
  color: #888;
  line-height: 1.6;
  margin: 0;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.hero-cta {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%) !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 1rem 2rem !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  color: white !important;
  box-shadow: 0 8px 32px rgba(139, 92, 246, 0.4) !important;
  transition: all 0.3s ease !important;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.6) !important;
}

.hero-demo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  background: transparent;
  border: 2px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  color: #ffd700;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-demo:hover {
  background: rgba(255, 215, 0, 0.1);
  border-color: #ffd700;
}

.hero-stats {
  display: flex;
  gap: 2rem;
  margin-top: 1rem;
}

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffd700;
}

.stat-label {
  font-size: 0.85rem;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trading-card-preview {
  width: 300px;
  background: rgba(26, 26, 26, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  padding: 1.5rem;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
  animation: cardFloat 6s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(1deg); }
}

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

.preview-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.preview-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.preview-name {
  color: #ffd700;
  font-weight: 600;
}

.preview-performance {
  color: #22c55e;
  font-weight: 700;
  font-size: 1.1rem;
}

.preview-chart {
  height: 80px;
  position: relative;
  background: rgba(10, 10, 10, 0.5);
  border-radius: 8px;
  overflow: hidden;
}

.chart-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.1));
  -webkit-clip-path: polygon(0 100%, 0 60%, 20% 40%, 40% 45%, 60% 20%, 80% 30%, 100% 10%, 100% 100%);
          clip-path: polygon(0 100%, 0 60%, 20% 40%, 40% 45%, 60% 20%, 80% 30%, 100% 10%, 100% 100%);
  animation: chartGrow 3s ease-out infinite;
}

@keyframes chartGrow {
  0% { transform: scaleX(0); }
  100% { transform: scaleX(1); }
}

/* Main Content */
.main-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.dashboard-grid {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

/* Section Headers */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-header h2 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffd700;
  margin: 0;
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
  min-width: 0;
  flex-shrink: 0;
  width: auto;
}

.section-badge {
  padding: 0.25rem 0.75rem;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.filter-btn {
  padding: 0.5rem 1rem;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  color: #888;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.3);
}

.filter-btn.active {
  background: rgba(139, 92, 246, 0.2);
  border-color: #8b5cf6;
  color: #8b5cf6;
}

.time-filter {
  display: flex;
  gap: 0.25rem;
  background: rgba(26, 26, 26, 0.6);
  padding: 0.25rem;
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Premium Stats Grid */
.stats-section {
  background: rgba(26, 26, 26, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 24px;
  padding: 2rem;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  width: 100%;
  max-width: 1200px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.stat-card.premium {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(20, 20, 20, 0.9));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  padding: 1.2rem;
  position: relative;
  overflow: visible;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  min-height: 160px;
  justify-content: space-between;
  text-align: center;
  box-sizing: border-box;
  isolation: isolate;
}

.stat-card.premium::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #ffd700, #22c55e);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.stat-card.premium:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.2);
  border-color: rgba(139, 92, 246, 0.5);
}

.stat-card.premium:hover::before {
  opacity: 1;
}

.stat-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 0.4rem;
  margin-bottom: 0.8rem;
  flex-shrink: 0;
}

.stat-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
  position: relative;
  flex-shrink: 0;
  margin-bottom: 0.3rem;
}

.stat-icon.profit {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.stat-icon.warning {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
}

.stat-trend {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.4rem;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 4px;
  color: #22c55e;
  font-size: 0.7rem;
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
}

.stat-trend.success {
  background: rgba(34, 197, 94, 0.1);
  border-color: rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.stat-badge {
  padding: 0.2rem 0.4rem;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 4px;
  color: #22c55e;
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
}

.stat-badge.warning {
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(245, 158, 11, 0.3);
  color: #f59e0b;
}

.stat-content {
  flex: 1 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 100%;
}

.stat-content h3 {
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 0.3rem;
  font-weight: 500;
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 0.5rem;
  line-height: 1.1;
  white-space: normal;
  overflow: visible;
  text-overflow: initial;
  word-wrap: break-word;
  text-align: center;
}

.stat-value.profit {
  color: #22c55e;
}

.stat-progress {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  overflow: hidden;
  margin-top: auto;
  flex-shrink: 0;
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #8b5cf6, #a855f7);
  border-radius: 2px;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-bar.profit {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

.progress-bar.success {
  background: linear-gradient(90deg, #22c55e, #16a34a);
}

.progress-bar.warning {
  background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* Premium Section */
.premium-section {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.6), rgba(20, 20, 20, 0.8));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 24px;
  padding: 2rem;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  position: relative;
  overflow: visible;
  width: 100%;
  max-width: 1200px;
  box-sizing: border-box;
}

.premium-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #8b5cf6, transparent);
}

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

/* Premium Modal */
.copy-form-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  animation: fadeIn 0.3s ease;
}

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

.premium-modal {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(20, 20, 20, 0.98));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 24px;
  max-width: 500px;
  width: 90%;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
  animation: slideUp 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.trader-preview {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.trader-avatar-large {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.trader-details h3 {
  color: #ffd700;
  font-size: 1.3rem;
  margin: 0 0 0.5rem 0;
}

.trader-badges {
  display: flex;
  gap: 0.5rem;
}

.badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
}

.badge.elite {
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: white;
}

.badge.verified {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.close-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #888;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  color: #ffd700;
}

.modal-content {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.input-wrapper {
  position: relative;
}

.amount-input.premium {
  width: 100%;
  padding: 1rem 3rem 1rem 1rem;
  background: rgba(10, 10, 10, 0.8);
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  color: #ffd700;
  font-size: 1.2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.amount-input.premium:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
}

.input-suffix {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
  font-weight: 600;
}

.copy-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 1rem;
  gap: 1rem;
}

.setting-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.setting-item span {
  color: #888;
  font-size: 0.9rem;
  font-weight: 500;
}

.setting-select {
  padding: 0.75rem;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 8px;
  color: #ffd700;
  font-weight: 500;
}

.copy-summary {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-item span:first-child {
  color: #888;
  font-size: 0.9rem;
}

.fee-amount {
  color: #8b5cf6;
  font-weight: 600;
}

.risk-amount {
  color: #f59e0b;
  font-weight: 600;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  padding: 0 2rem 2rem;
}

.btn-primary.premium {
  flex: 1 1;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
  border: none;
  border-radius: 12px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.btn-primary.premium:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

.btn-secondary {
  flex: 1 1;
  padding: 1rem 2rem;
  background: transparent;
  border: 2px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  color: #888;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #8b5cf6;
  color: #8b5cf6;
  background: rgba(139, 92, 246, 0.05);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .hero-title {
    font-size: 2.5rem;
  }
  
  .dashboard-grid {
    padding: 1rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 768px) {
  /* Clean Mobile Header - Minimal Design */
  .header {
    background: rgba(0, 0, 0, 0.95);
    -webkit-backdrop-filter: blur(20px);
            backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-content {
    padding: 0.5rem 1rem;
    padding-left: max(1rem, env(safe-area-inset-left));
    padding-right: max(1rem, env(safe-area-inset-right));
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 50px;
    min-height: 50px;
  }

  /* Hide logo completely on mobile for ultra-minimal look */
  .logo {
    display: none;
  }

  /* Hide desktop navigation */
  .nav {
    display: none !important;
  }

  /* Simple header actions - right aligned */
  .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
    width: 100%;
  }
  
  /* Hide social links on mobile */
  .social-links {
    display: none !important;
  }

  /* Clean user info - just menu button */
  .user-info {
    display: none;
  }

  .logout-btn,
  .user-profile-btn {
    display: none;
  }


  


  /* Main Content Mobile */
  .main-content {
    padding: 0;
  }

  .dashboard-grid {
    padding: 1rem;
    gap: 1.5rem;
  }

  /* Hero Section Mobile */
  .hero-section {
    padding: 1.5rem 1rem;
    gap: 1.5rem;
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
    line-height: 1.2;
    text-align: center;
  }
  
  .hero-description {
    font-size: 1rem;
    text-align: center;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
    align-items: center;
  }
  
  .hero-cta {
    width: 100%;
    max-width: 300px;
    padding: 0.875rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .hero-demo {
    width: 100%;
    max-width: 300px;
    justify-content: center;
    padding: 0.875rem 1.5rem;
  }

  .hero-stats {
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
  }
  
  .hero-stat {
    text-align: center;
    min-width: 100px;
  }
  
  .stat-number {
    font-size: 1.3rem;
  }
  
  .hero-visual {
    order: -1;
    margin-bottom: 1rem;
  }

  /* Stats Section Mobile */
  .stats-section {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  
  .section-header h2 {
    font-size: 1.4rem;
  }
  
  .time-filter {
    align-self: stretch;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem;
  }

  .stat-card.premium {
    padding: 0.75rem;
    border-radius: 10px;
    min-height: 110px;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    isolation: isolate;
    width: 100%;
  }
  
  .stat-header {
    margin-bottom: 0.75rem;
    flex-direction: column;
    align-items: center;
    text-align: center;
    justify-content: center;
    gap: 0.25rem;
  }
  
  .stat-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 0.25rem;
  }
  
  .stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1;
    width: 100%;
  }
  
  .stat-content h3 {
    font-size: 0.65rem;
    margin-bottom: 0.2rem;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    width: 100%;
  }
  
  .stat-progress {
    width: 100%;
    align-self: center;
  }
  
  .stat-value {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
    width: 100%;
    position: relative;
  }
  
  .stat-trend,
  .stat-badge {
    font-size: 0.6rem;
    padding: 0.15rem 0.3rem;
    align-self: center;
    margin: 0 auto;
  }

  /* Sections Mobile */
  .section {
    padding: 1.5rem;
    border-radius: 16px;
  }
  
  .premium-section {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .traders-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  /* Modal Mobile */
  .copy-form-overlay {
    padding: 1rem;
    align-items: flex-end;
  }
  
  .premium-modal {
    width: 100%;
    max-width: none;
    border-radius: 20px 20px 0 0;
    max-height: 90vh;
  }
  
  .modal-header {
    padding: 1.5rem 1.5rem 1rem;
  }
  
  .trader-avatar-large {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
  }
  
  .trader-details h3 {
    font-size: 1.1rem;
  }

  .modal-content {
    padding: 1.5rem;
    gap: 1.25rem;
  }

  .copy-settings {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .modal-actions {
    flex-direction: column;
    padding: 0 1.5rem 1.5rem;
    gap: 0.75rem;
  }
  
  .btn-primary.premium,
  .btn-secondary {
    padding: 0.875rem 1.5rem;
  }

  /* Trading Card Preview Mobile */
  .trading-card-preview {
    width: 280px;
    padding: 1.25rem;
  }
  
  .preview-header {
    margin-bottom: 1.25rem;
  }
  
  .preview-avatar {
    width: 40px;
    height: 40px;
    font-size: 1.25rem;
  }
  
  .preview-performance {
    font-size: 1rem;
  }
  
  /* How It Works Section Mobile */
  .how-it-works-section {
    padding: 2rem 1rem;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .step-card {
    text-align: center;
    padding: 1.5rem;
  }
  
  /* Features Section Mobile */
  .features-section {
    padding: 2rem 1rem;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .feature-card {
    padding: 1.5rem;
    text-align: center;
  }
  
  /* FAQ Section Mobile */
  .faq-section {
    padding: 2rem 1rem;
  }
  
  .faq-item {
    margin-bottom: 0.75rem;
  }
  
  .faq-question {
    padding: 1.25rem;
    font-size: 0.9rem;
  }
  
  .faq-answer {
    padding: 1rem 1.25rem 1.5rem;
  }
  
  /* Trust Section Mobile */
  .trust-section {
    padding: 2rem 1rem;
  }
  
  .trust-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  
  .trust-item {
    padding: 0.75rem;
    font-size: 0.85rem;
  }
  
  /* CTA Section Mobile */
  .cta-section {
    padding: 2rem 1rem;
    text-align: center;
  }
  
  .cta-content h2 {
    font-size: 1.5rem;
  }
  
  .cta-button {
    width: 100%;
    max-width: 300px;
  }
}

@media (max-width: 768px) {
  /* Footer Mobile */
  .footer {
    padding: 2rem 1rem 1rem;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-section {
    text-align: center;
  }
  
  .footer-links {
    justify-content: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .footer-bottom {
    padding: 1rem;
  }
  
  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .header-content {
    padding: 0.5rem 0.75rem;
  }
  
  .logo-text h1 {
    font-size: 1.2rem;
  }
  
  .hero-title {
    font-size: 1.8rem;
  }
  
  .hero-description {
    font-size: 0.9rem;
  }
  
  .hero-stats {
    gap: 1rem;
  }
  
  .stat-number {
    font-size: 1.2rem;
  }
  
  .stat-label {
    font-size: 0.75rem;
  }
  
  .stats-section {
    padding: 1rem;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.5rem;
  }
  
  .stat-card.premium {
    padding: 0.6rem;
    min-height: 95px;
    box-sizing: border-box;
    overflow: hidden;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-radius: 8px;
  }
  
  .stat-header {
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 0.5rem;
    justify-content: center;
    gap: 0.2rem;
  }
  
  .stat-icon {
    width: 20px;
    height: 20px;
    margin-bottom: 0.25rem;
  }
  
  .stat-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1 1;
    width: 100%;
  }
  
  .stat-content h3 {
    font-size: 0.65rem;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-align: center;
  }
  
  .stat-progress {
    width: 100%;
    align-self: center;
  }
  
  .stat-value {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    line-height: 1.1;
    word-wrap: break-word;
    overflow-wrap: break-word;
  }
  
  .stat-trend,
  .stat-badge {
    font-size: 0.55rem;
    padding: 0.1rem 0.25rem;
    align-self: center;
    margin: 0 auto;
  }
  
  .section {
    padding: 1rem;
    overflow: visible;
    word-wrap: break-word;
  }
  
  .premium-section {
    padding: 1rem;
    overflow: visible;
    word-wrap: break-word;
  }
  
  .trading-card-preview {
    width: 260px;
    padding: 1rem;
  }
  
  .dashboard-grid {
    padding: 0.75rem;
  }
  
  /* Mobile sections */
  .steps-grid {
    gap: 1rem;
  }
  
  .step-card {
    padding: 1rem;
  }
  
  .features-grid {
    gap: 0.75rem;
  }
  
  .feature-card {
    padding: 1rem;
  }
  
  .trust-grid {
    grid-template-columns: 1fr;
  }
  
  .mobile-nav-btn span {
    font-size: 0.55rem;
  }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .hero-section {
    padding: 1.5rem 1rem;
  }
  
  .hero-title {
    font-size: 1.6rem;
  }
  
  .hero-actions {
    flex-direction: row;
    justify-content: center;
  }
  
  .hero-cta,
  .hero-demo {
    width: auto;
    flex: 1 1;
    max-width: 200px;
  }
}

.fee-amount.free {
  color: #22c55e;
  font-weight: 700;
}
/* Mobile Bottom Navigation */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  padding: 0.75rem 0.5rem;
  z-index: 1000;
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.3);
}

.mobile-nav-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  padding: 0.5rem 0.25rem;
  background: transparent;
  border: none;
  color: #888;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s ease;
  flex: 1 1;
  min-height: 44px;
  font-size: 0.7rem;
  font-weight: 500;
}

.mobile-nav-btn:hover {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
}

.mobile-nav-btn.active {
  color: #ffd700;
  background: rgba(139, 92, 246, 0.2);
}

.mobile-nav-btn span {
  font-size: 0.65rem;
  text-align: center;
  line-height: 1;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
  }
  
  /* Add bottom padding to main content to account for mobile nav */
  .main-content {
    padding-bottom: 80px;
  }
  
  /* Hide desktop navigation on mobile */
  .nav {
    display: none;
  }
  

  
  /* Clean welcome section for mobile */
  .welcome-section {
    padding: 1rem;
    margin-top: 0;
    text-align: center;
  }
  
  .welcome-content h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    font-weight: 600;
  }
  
  .welcome-content p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.8;
    line-height: 1.4;
    max-width: 300px;
    margin: 0 auto;
  }
}

@media (max-width: 480px) {
  /* Small screens - menu only on right */
  .header-content {
    padding: 0.375rem 0.75rem;
    padding-left: max(0.75rem, env(safe-area-inset-left));
    padding-right: max(0.75rem, env(safe-area-inset-right));
    height: 46px;
    min-height: 46px;
    justify-content: flex-end;
  }
  
  .header-actions {
    width: auto;
  }
}



/* Social Links in Header */
.social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #888;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.social-link.telegram:hover {
  background: rgba(0, 136, 204, 0.2);
  border-color: #0088cc;
  color: #0088cc;
}

.social-link.twitter:hover {
  background: rgba(29, 161, 242, 0.2);
  border-color: #1da1f2;
  color: #1da1f2;
}

/* Footer */
.footer {
  background: rgba(10, 10, 10, 0.9);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  margin-top: 4rem;
  position: relative;
  z-index: 1;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  grid-gap: 2rem;
  gap: 2rem;
}

.footer-section h4 {
  color: #ffd700;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.footer-logo .logo-text h3 {
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, #ffd700, #ffed4e);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.footer-logo .logo-text span {
  font-size: 0.75rem;
  color: #888;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer-description {
  color: #888;
  line-height: 1.6;
  margin: 0;
  max-width: 300px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links li {
  margin: 0;
}

.footer-links button,
.footer-links a {
  color: #888;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.9rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.footer-links button:hover,
.footer-links a:hover {
  color: #ffd700;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 8px;
  color: #888;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  font-weight: 500;
}

.footer-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(139, 92, 246, 0.2);
}

.footer-social-link.telegram:hover {
  background: rgba(0, 136, 204, 0.2);
  border-color: #0088cc;
  color: #0088cc;
}

.footer-social-link.twitter:hover {
  background: rgba(29, 161, 242, 0.2);
  border-color: #1da1f2;
  color: #1da1f2;
}

.footer-bottom {
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  padding: 1.5rem 2rem;
}

.footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 0.85rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #888;
}

/* Mobile Footer Styles */
@media (max-width: 768px) {
  .social-links {
    gap: 0.5rem;
    margin-right: 0.5rem;
  }

  .social-link {
    width: 32px;
    height: 32px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 2rem 1rem 1.5rem;
  }

  .footer-section:first-child {
    text-align: center;
  }

  .footer-logo {
    justify-content: center;
  }

  .footer-description {
    max-width: none;
    text-align: center;
    margin: 0 auto;
  }

  .footer-social {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .footer-social-link {
    flex: 1 1;
    justify-content: center;
    max-width: 150px;
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .footer-bottom-links {
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .social-links {
    display: none;
  }

  .footer-content {
    padding: 1.5rem 0.75rem 1rem;
  }

  .footer-social {
    flex-direction: column;
    gap: 0.75rem;
  }

  .footer-social-link {
    max-width: none;
  }

  .footer-bottom {
    padding: 1rem 0.75rem;
  }

  .footer-bottom-links {
    flex-direction: column;
    gap: 0.5rem;
  }
}
/*
 How It Works Section */
.how-it-works-section {
  padding: 4rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.how-it-works-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.how-it-works-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 1rem;
}

.how-it-works-section .section-header p {
  font-size: 1.2rem;
  color: #888;
  margin: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
  margin-top: 2rem;
}

.step-card {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.9rem;
}

.step-icon {
  width: 60px;
  height: 60px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 1.5rem;
  color: #8b5cf6;
}

.step-card h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 1rem;
}

.step-card p {
  color: #888;
  line-height: 1.6;
  margin: 0;
}

/* Features Section */
.features-section {
  padding: 4rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
  background: rgba(26, 26, 26, 0.3);
  border-radius: 24px;
  position: relative;
  z-index: 1;
}

.features-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.features-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 1rem;
}

.features-section .section-header p {
  font-size: 1.2rem;
  color: #888;
  margin: 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.feature-card {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  transition: all 0.3s ease;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.feature-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 15px 30px rgba(139, 92, 246, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: #8b5cf6;
}

.feature-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #888;
  line-height: 1.5;
  margin: 0;
  font-size: 0.9rem;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.faq-section .section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.faq-section .section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 1rem;
}

.faq-section .section-header p {
  font-size: 1.2rem;
  color: #888;
  margin: 0;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(139, 92, 246, 0.4);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: transparent;
  border: none;
  color: #ffd700;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(139, 92, 246, 0.05);
}

.faq-question.expanded {
  background: rgba(139, 92, 246, 0.1);
}

.faq-question span {
  flex: 1 1;
}

.faq-answer {
  padding: 1rem 2rem 2rem;
  animation: fadeInDown 0.3s ease;
}

.faq-answer p {
  color: #888;
  line-height: 1.8;
  margin: 0;
  font-size: 1rem;
}

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

/* Trust Section */
.trust-section {
  padding: 3rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.trust-section .section-header {
  text-align: center;
  margin-bottom: 2rem;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.trust-section .section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.5rem;
  text-align: center;
  width: 100%;
}

/* Desktop specific centering for trust section */
@media (min-width: 769px) {
  .trust-section .section-header {
    text-align: center !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    flex-direction: column !important;
    width: 100% !important;
  }
  
  .trust-section .section-header h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: block !important;
    width: 100% !important;
  }
}

.trust-section .section-header p {
  font-size: 1rem;
  color: #888;
  margin: 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(26, 26, 26, 0.4);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 12px;
  color: #22c55e;
  font-weight: 600;
  transition: all 0.3s ease;
}

.trust-item:hover {
  transform: translateY(-2px);
  border-color: rgba(34, 197, 94, 0.4);
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.1);
}

/* CTA Section */
.cta-section {
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.cta-content {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(20, 20, 20, 0.9));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 24px;
  padding: 3rem 2rem;
  -webkit-backdrop-filter: blur(20px);
          backdrop-filter: blur(20px);
}

.cta-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 1rem;
}

.cta-content p {
  font-size: 1.1rem;
  color: #888;
  margin-bottom: 2rem;
}

.cta-button {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%) !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 1.25rem 3rem !important;
  font-weight: 700 !important;
  font-size: 1.2rem !important;
  color: white !important;
  box-shadow: 0 12px 40px rgba(139, 92, 246, 0.4) !important;
  transition: all 0.3s ease !important;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(139, 92, 246, 0.6) !important;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 0.5rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  color: #888;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  color: #ffd700;
  border-color: rgba(255, 215, 0, 0.3);
  background: rgba(255, 215, 0, 0.1);
  transform: translateY(-2px);
}

.social-link.telegram:hover {
  color: #0088cc;
  border-color: rgba(0, 136, 204, 0.3);
  background: rgba(0, 136, 204, 0.1);
}

.social-link.twitter:hover {
  color: #1da1f2;
  border-color: rgba(29, 161, 242, 0.3);
  background: rgba(29, 161, 242, 0.1);
}

/* Mobile Responsive for New Sections */
@media (max-width: 768px) {
  .how-it-works-section,
  .features-section,
  .faq-section,
  .trust-section,
  .cta-section {
    padding: 2rem 1rem;
  }

  .how-it-works-section .section-header h2,
  .features-section .section-header h2,
  .faq-section .section-header h2 {
    font-size: 1.8rem;
  }

  .how-it-works-section .section-header p,
  .features-section .section-header p,
  .faq-section .section-header p {
    font-size: 1rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .step-card {
    padding: 1.5rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .feature-card {
    padding: 1.25rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .cta-content {
    padding: 2rem 1.5rem;
  }

  .cta-content h2 {
    font-size: 1.6rem;
  }

  .cta-content p {
    font-size: 1rem;
  }

  .cta-button {
    padding: 1rem 2rem !important;
    font-size: 1rem !important;
  }

  .social-links {
    gap: 0.25rem;
  }

  .social-link {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .step-card {
    padding: 1.25rem;
  }

  .step-icon {
    width: 50px;
    height: 50px;
  }

  .step-card h3 {
    font-size: 1.1rem;
  }

  .feature-card {
    padding: 1rem;
  }

  .feature-icon {
    width: 40px;
    height: 40px;
  }

  .faq-question {
    padding: 1.5rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 0.75rem 1.5rem 1.5rem;
  }

  .trust-item {
    padding: 0.75rem;
    font-size: 0.9rem;
  }

  .cta-content h2 {
    font-size: 1.4rem;
  }
}

/* Better Landscape Layout Sections */
.how-it-works-section,
.features-section,
.faq-section,
.trust-section,
.cta-section {
  padding: 3rem 2rem;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
  box-sizing: border-box;
}

.how-it-works-section .section-header,
.features-section .section-header,
.faq-section .section-header,
.trust-section .section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.how-it-works-section .section-header h2,
.features-section .section-header h2,
.faq-section .section-header h2,
.trust-section .section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.75rem;
}

.how-it-works-section .section-header p,
.features-section .section-header p,
.faq-section .section-header p,
.trust-section .section-header p {
  font-size: 1rem;
  color: #888;
  margin: 0;
}

/* Compact Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 2rem;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.step-card {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: center;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.4);
}

.step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  font-size: 0.8rem;
}

.step-icon {
  width: 48px;
  height: 48px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0.5rem auto 1rem;
  color: #8b5cf6;
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.step-card p {
  color: #888;
  line-height: 1.4;
  margin: 0;
  font-size: 0.9rem;
}

/* Compact Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 1.5rem;
  gap: 1.5rem;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-card {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.4);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: rgba(139, 92, 246, 0.1);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  color: #8b5cf6;
}

.feature-card h3 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: #888;
  line-height: 1.4;
  margin: 0;
  font-size: 0.85rem;
}

/* Compact FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: transparent;
  border: none;
  color: #ffd700;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
}

.faq-question span {
  flex: 1 1;
}

.faq-answer {
  padding: 0.75rem 1.25rem 1.25rem;
}

.faq-answer p {
  color: #888;
  line-height: 1.6;
  margin: 0;
  font-size: 0.85rem;
}

/* Compact Trust Grid */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-gap: 1rem;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: rgba(26, 26, 26, 0.4);
  border: 1px solid rgba(34, 197, 94, 0.2);
  border-radius: 10px;
  color: #22c55e;
  font-weight: 500;
  font-size: 0.9rem;
  justify-content: center;
}

/* Compact CTA */
.cta-section {
  padding: 2rem 1rem;
}

.cta-content {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(20, 20, 20, 0.9));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.75rem;
}

.cta-content p {
  font-size: 1rem;
  color: #888;
  margin-bottom: 1.5rem;
}

.cta-button {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%) !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 0.875rem 2rem !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  color: white !important;
}

/* Desktop Responsive - Better landscape usage */
@media (min-width: 1200px) {
  .how-it-works-section,
  .features-section {
    padding: 3rem 2rem;
  }
  
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    max-width: 1200px;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
  }
  
  .step-card,
  .feature-card {
    padding: 2rem;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .how-it-works-section,
  .features-section,
  .faq-section,
  .trust-section,
  .cta-section {
    padding: 2rem 1rem;
    max-width: 100%;
    margin: 0 auto;
  }

  .how-it-works-section .section-header h2,
  .features-section .section-header h2,
  .faq-section .section-header h2,
  .trust-section .section-header h2 {
    font-size: 1.6rem;
    margin-bottom: 0.5rem;
  }

  .how-it-works-section .section-header p,
  .features-section .section-header p,
  .faq-section .section-header p,
  .trust-section .section-header p {
    font-size: 0.9rem;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 100%;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
    max-width: 100%;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    max-width: 100%;
  }

  .step-card,
  .feature-card {
    padding: 1.5rem;
    text-align: center;
  }

  .step-card h3,
  .feature-card h3 {
    font-size: 1rem;
  }

  .step-card p,
  .feature-card p {
    font-size: 0.9rem;
  }

  .faq-question {
    padding: 1.25rem;
    font-size: 0.95rem;
  }

  .faq-answer {
    padding: 1rem 1.25rem 1.5rem;
  }

  .cta-content {
    padding: 2rem 1.5rem;
  }

  .cta-content h2 {
    font-size: 1.5rem;
  }

  .cta-content p {
    font-size: 0.95rem;
  }
}

@media (max-width: 480px) {
  .how-it-works-section,
  .features-section,
  .faq-section,
  .trust-section,
  .cta-section {
    padding: 1.5rem 0.75rem;
  }

  .how-it-works-section .section-header h2,
  .features-section .section-header h2,
  .faq-section .section-header h2,
  .trust-section .section-header h2 {
    font-size: 1.4rem;
  }

  .steps-grid,
  .features-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .step-card,
  .feature-card {
    padding: 1.25rem;
  }

  .step-icon,
  .feature-icon {
    width: 40px;
    height: 40px;
  }

  .step-card h3,
  .feature-card h3 {
    font-size: 0.95rem;
  }

  .step-card p,
  .feature-card p {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .faq-question {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .faq-answer {
    padding: 0.75rem 1rem 1.25rem;
  }

  .faq-answer p {
    font-size: 0.85rem;
  }

  .trust-item {
    padding: 1rem;
    font-size: 0.85rem;
    justify-content: flex-start;
  }

  .cta-content {
    padding: 1.5rem 1rem;
  }

  .cta-content h2 {
    font-size: 1.3rem;
  }

  .cta-content p {
    font-size: 0.9rem;
  }

  .cta-button {
    padding: 0.75rem 1.5rem !important;
    font-size: 0.9rem !important;
  }
}

/* Fix for Portfolio Overview text truncation */
.stats-section .section-header {
  flex-wrap: wrap;
  gap: 1rem;
}

.stats-section .section-header h2 {
  white-space: nowrap;
  overflow: visible;
  text-overflow: clip;
  min-width: 0;
  flex-shrink: 0;
}

/* Mobile fixes for section headers */
@media (max-width: 768px) {
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .section-header h2 {
    font-size: 1.5rem;
    white-space: normal;
    word-wrap: break-word;
  }
  
  .time-filter {
    align-self: stretch;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section-header h2 {
    font-size: 1.3rem;
  }
  
  .dashboard-grid {
    padding: 1rem;
  }
  
  .stats-section {
    padding: 1.5rem;
  }
}

/* Ensure text doesn't get cut off in any section headers */
.section-header h2,
.how-it-works-section .section-header h2,
.features-section .section-header h2,
.faq-section .section-header h2,
.trust-section .section-header h2 {
  overflow: visible !important;
  text-overflow: clip !important;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .section-header h2,
  .how-it-works-section .section-header h2,
  .features-section .section-header h2,
  .faq-section .section-header h2,
  .trust-section .section-header h2 {
    white-space: normal !important;
    word-wrap: break-word;
  }
}

/* Specific fix for Portfolio Overview header */
.portfolio-header {
  padding-top: 0.5rem !important;
  margin-bottom: 2rem !important;
  min-height: 60px;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.portfolio-header h2 {
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  color: #ffd700 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
  overflow: visible !important;
  text-overflow: clip !important;
  display: block !important;
}

/* Ensure stats section has proper spacing */
.stats-section {
  padding: 2rem !important;
  margin-top: 0 !important;
}

/* Fix for mobile Portfolio Overview */
@media (max-width: 768px) {
  .portfolio-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 1rem !important;
    min-height: auto !important;
    padding-top: 1rem !important;
  }
  
  .portfolio-header h2 {
    font-size: 1.5rem !important;
    white-space: normal !important;
  }
}

@media (max-width: 480px) {
  .portfolio-header h2 {
    font-size: 1.3rem !important;
  }
}

/* How It Works Section */
.how-it-works-section {
  padding: 4rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.step-card {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-4px);
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.2rem;
  margin: 0 auto 1rem;
}

.step-icon {
  color: #8b5cf6;
  margin-bottom: 1rem;
}

.step-card h3 {
  color: #ffd700;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: #888;
  line-height: 1.6;
}

/* Features Section */
.features-section {
  padding: 4rem 2rem;
  max-width: 1600px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.feature-card {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: rgba(139, 92, 246, 0.4);
  transform: translateY(-4px);
}

.feature-icon {
  color: #8b5cf6;
  margin-bottom: 1rem;
}

.feature-card h3 {
  color: #ffd700;
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
}

.feature-card p {
  color: #888;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem;
  background: transparent;
  border: none;
  color: #ffd700;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.faq-question:hover {
  background: rgba(139, 92, 246, 0.1);
}

.faq-answer {
  padding: 1rem 2rem 2rem;
  color: #888;
  line-height: 1.6;
}

/* Trust Section */
.trust-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 12px;
  color: #22c55e;
  font-weight: 500;
}

/* CTA Section */
.cta-section {
  padding: 4rem 2rem;
  text-align: center;
  background: rgba(26, 26, 26, 0.4);
  border-radius: 24px;
  margin: 2rem 0;
}

.cta-content h2 {
  color: #ffd700;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.cta-content p {
  color: #888;
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-button {
  background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%) !important;
  border: none !important;
  border-radius: 16px !important;
  padding: 1rem 2rem !important;
  font-weight: 700 !important;
  font-size: 1.1rem !important;
  color: white !important;
}

/* Footer */
.footer {
  background: rgba(10, 10, 10, 0.9);
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.footer-section h4 {
  color: #ffd700;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links li {
  list-style: none;
}

.footer-links button,
.footer-links a {
  background: none;
  border: none;
  color: #888;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links button:hover,
.footer-links a:hover {
  color: #ffd700;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: #ffd700;
}

.footer-description {
  color: #888;
  line-height: 1.6;
  margin-top: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(139, 92, 246, 0.2);
  margin-top: 2rem;
  padding-top: 2rem;
}

.footer-bottom-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #666;
  font-size: 0.9rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #666;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: #ffd700;
}

/* Very small screens - menu only on right */
@media (max-width: 360px) {
  .header-content {
    padding: 0.25rem 0.5rem;
    padding-left: max(0.5rem, env(safe-area-inset-left));
    padding-right: max(0.5rem, env(safe-area-inset-right));
    height: 42px;
    min-height: 42px;
    justify-content: flex-end;
  }
  
  .header-actions {
    width: auto;
  }

  .welcome-section {
    padding: 0.5rem;
  }

  .welcome-content h1 {
    font-size: 1.25rem;
  }

  .welcome-content p {
    font-size: 0.8rem;
  }
}
/* Wallet Setup Styles */
.wallet-setup-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  padding: 40px 20px;
}

.wallet-connect-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
}

.connect-card {
  background: rgba(20, 20, 40, 0.8);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 24px;
  padding: 48px;
  text-align: center;
  max-width: 500px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.connect-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: white;
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.connect-card h2 {
  color: white;
  font-size: 28px;
  margin-bottom: 16px;
  font-weight: 700;
}

.connect-card p {
  color: #cccccc;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.connect-wallet-btn {
  background: linear-gradient(135deg, #00bfff, #8a2be2);
  color: white;
  border: none;
  border-radius: 16px;
  padding: 16px 32px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 auto;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
}

.connect-wallet-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 191, 255, 0.4);
}

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

/* Responsive Design for Wallet Setup */
@media (max-width: 768px) {
  .wallet-setup-container {
    padding: 20px 15px;
  }
  
  .connect-card {
    padding: 32px 24px;
    margin: 0 15px;
  }
  
  .connect-card h2 {
    font-size: 24px;
  }
  
  .connect-icon {
    width: 64px;
    height: 64px;
  }
}/
* Enhanced Desktop Centering */
@media (min-width: 769px) {
  /* Center all main sections */
  .how-it-works-section,
  .features-section,
  .faq-section,
  .trust-section,
  .cta-section {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* Center section content */
  .steps-grid,
  .features-grid,
  .faq-list,
  .trust-grid {
    width: 100%;
    max-width: 1000px;
  }
  
  /* Center CTA content */
  .cta-content {
    max-width: 600px;
    width: 100%;
  }
  
  /* Ensure main dashboard content is centered */
  .dashboard-grid > * {
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Additional centering for specific elements */
.section {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.traders-grid {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
/* R
eferral Dashboard Styles */
.referral-dashboard {
  max-width: 1400px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.referral-header {
  text-align: center;
  margin-bottom: 2rem;
}

.referral-header h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.75rem;
}

.referral-header p {
  font-size: 1.1rem;
  color: #888;
  margin: 0;
}

/* Referral Link Section */
.referral-link-section {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 2rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.referral-link-section h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.referral-link-container {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.referral-link-input {
  flex: 1 1;
  padding: 1rem;
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 12px;
  color: #ffd700;
  font-size: 0.9rem;
  font-family: monospace;
}

.referral-link-input:focus {
  outline: none;
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.copy-button {
  padding: 1rem;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  border: none;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.copy-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.share-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  color: white;
}

.share-btn.twitter {
  background: linear-gradient(135deg, #1da1f2, #0d8bd9);
}

.share-btn.telegram {
  background: linear-gradient(135deg, #0088cc, #006699);
}

.share-btn.whatsapp {
  background: linear-gradient(135deg, #25d366, #1ebe57);
}

.share-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.share-message {
  text-align: center;
  padding: 0.75rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-weight: 500;
}

.share-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

/* Referral Stats Section */
.referral-stats {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 2rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.referral-stats h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.referral-stats .stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 1.5rem;
  gap: 1.5rem;
}

.referral-stats .stat-card {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
}

.referral-stats .stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.4);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.1);
}

.referral-stats .stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(139, 92, 246, 0.2);
  color: #8b5cf6;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.referral-stats .stat-content {
  flex: 1 1;
}

.referral-stats .stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 0.25rem;
}

.referral-stats .stat-label {
  font-size: 0.85rem;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Reward Structure */
.reward-structure {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(20, 20, 20, 0.9));
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 20px;
  padding: 2rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  text-align: center;
}

.reward-structure h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 1.5rem;
}

.reward-main-message h4 {
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
}

.reward-highlight {
  font-size: 1.1rem;
  color: #888;
  margin: 0;
}

.reward-highlight .amount {
  font-size: 1.8rem;
  font-weight: 800;
  color: #22c55e;
}

/* How It Works */
.how-it-works {
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  padding: 2rem;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.how-it-works h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 1.5rem;
  text-align: center;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 2rem;
  gap: 2rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.5rem;
  background: rgba(10, 10, 10, 0.4);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 16px;
  transition: all 0.3s ease;
}

.step:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.4);
}

.step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #8b5cf6, #a855f7);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #ffd700;
  margin-bottom: 0.5rem;
}

.step-content p {
  font-size: 0.9rem;
  color: #888;
  line-height: 1.5;
  margin: 0;
}

/* Connect Wallet Prompt */
.connect-wallet-prompt {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem;
  background: rgba(26, 26, 26, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: 20px;
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.connect-wallet-prompt .icon {
  width: 64px;
  height: 64px;
  color: #8b5cf6;
  margin-bottom: 1.5rem;
}

.connect-wallet-prompt h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffd700;
  margin-bottom: 1rem;
}

.connect-wallet-prompt p {
  font-size: 1rem;
  color: #888;
  line-height: 1.6;
  max-width: 400px;
  margin: 0;
}

/* Desktop Responsive */
@media (min-width: 1200px) {
  .referral-dashboard {
    padding: 3rem;
    gap: 3rem;
  }
  
  .referral-stats .stats-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

@media (min-width: 769px) and (max-width: 1199px) {
  .referral-stats .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .referral-dashboard {
    padding: 1rem;
    gap: 1.5rem;
  }
  
  .referral-link-section,
  .referral-stats,
  .reward-structure,
  .how-it-works {
    padding: 1.5rem;
  }
  
  .referral-header h2 {
    font-size: 1.8rem;
  }
  
  .referral-link-container {
    flex-direction: column;
  }
  
  .share-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .share-btn {
    width: 100%;
    max-width: 200px;
    justify-content: center;
  }
  
  .referral-stats .stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .steps {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .step {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .referral-dashboard {
    padding: 0.75rem;
  }
  
  .referral-link-section,
  .referral-stats,
  .reward-structure,
  .how-it-works {
    padding: 1rem;
  }
  
  .referral-header h2 {
    font-size: 1.5rem;
    flex-direction: column;
    gap: 0.5rem;
  }
}/* Mobile
 Viewport and Touch Improvements */
@media (max-width: 768px) {
  /* Ensure sections don't overflow on mobile */
  .how-it-works-section,
  .features-section,
  .faq-section,
  .trust-section,
  .cta-section {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  /* Better touch targets for mobile */
  .step-card,
  .feature-card,
  .faq-question,
  .trust-item {
    min-height: 44px;
    touch-action: manipulation;
  }

  /* Improve readability on mobile */
  .step-card,
  .feature-card {
    border-radius: 16px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  }

  /* Better spacing for mobile sections */
  .how-it-works-section .section-header,
  .features-section .section-header,
  .faq-section .section-header,
  .trust-section .section-header {
    margin-bottom: 1.5rem;
    text-align: center;
  }

  /* Ensure grids work properly on mobile */
  .steps-grid,
  .features-grid {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  /* Better mobile typography */
  .step-card h3,
  .feature-card h3 {
    line-height: 1.3;
    margin-bottom: 0.75rem;
  }

  .step-card p,
  .feature-card p {
    line-height: 1.6;
  }
}

/* Extra small mobile devices */
@media (max-width: 360px) {
  .how-it-works-section,
  .features-section,
  .faq-section,
  .trust-section,
  .cta-section {
    padding: 1rem 0.5rem;
  }

  .step-card,
  .feature-card {
    padding: 1rem;
  }

  .how-it-works-section .section-header h2,
  .features-section .section-header h2,
  .faq-section .section-header h2,
  .trust-section .section-header h2 {
    font-size: 1.2rem;
  }

  .step-card h3,
  .feature-card h3 {
    font-size: 0.9rem;
  }

  .step-card p,
  .feature-card p {
    font-size: 0.8rem;
  }
}

/* Landscape mobile orientation */
@media (max-width: 768px) and (orientation: landscape) {
  .how-it-works-section,
  .features-section {
    padding: 2rem 1rem;
  }

  .steps-grid,
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .step-card,
  .feature-card {
    padding: 1rem;
  }
}

/* Fix for very small screens */
@media (max-width: 320px) {
  .steps-grid,
  .features-grid,
  .trust-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .step-card,
  .feature-card,
  .trust-item {
    padding: 0.75rem;
  }
}
.wallet-adapter-button {
    background-color: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    font-family: 'DM Sans', 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    height: 48px;
    line-height: 48px;
    padding: 0 24px;
    border-radius: 4px;
}

.wallet-adapter-button-trigger {
    background-color: #512da8;
}

.wallet-adapter-button:not([disabled]):focus-visible {
    outline-color: white;
}

.wallet-adapter-button:not([disabled]):hover {
    background-color: #1a1f2e;
}

.wallet-adapter-button[disabled] {
    background: #404144;
    color: #999;
    cursor: not-allowed;
}

.wallet-adapter-button-end-icon,
.wallet-adapter-button-start-icon,
.wallet-adapter-button-end-icon img,
.wallet-adapter-button-start-icon img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

.wallet-adapter-button-end-icon {
    margin-left: 12px;
}

.wallet-adapter-button-start-icon {
    margin-right: 12px;
}

.wallet-adapter-collapse {
    width: 100%;
}

.wallet-adapter-dropdown {
    position: relative;
    display: inline-block;
}

.wallet-adapter-dropdown-list {
    position: absolute;
    z-index: 99;
    display: grid;
    grid-template-rows: 1fr;
    grid-row-gap: 10px;
    padding: 10px;
    top: 100%;
    right: 0;
    margin: 0;
    list-style: none;
    background: #2c2d30;
    border-radius: 10px;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms ease, transform 200ms ease, visibility 200ms;
    font-family: 'DM Sans', 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.wallet-adapter-dropdown-list-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
}

.wallet-adapter-dropdown-list-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    border: none;
    outline: none;
    cursor: pointer;
    white-space: nowrap;
    box-sizing: border-box;
    padding: 0 20px;
    width: 100%;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    height: 37px;
    color: #fff;
}

.wallet-adapter-dropdown-list-item:not([disabled]):hover {
    background-color: #1a1f2e;
}

.wallet-adapter-modal-collapse-button svg {
    align-self: center;
    fill: #999;
}

.wallet-adapter-modal-collapse-button.wallet-adapter-modal-collapse-button-active svg {
    transform: rotate(180deg);
    transition: transform ease-in 150ms;
}

.wallet-adapter-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    opacity: 0;
    transition: opacity linear 150ms;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    overflow-y: auto;
}

.wallet-adapter-modal.wallet-adapter-modal-fade-in {
    opacity: 1;
}

.wallet-adapter-modal-button-close {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 12px;
    cursor: pointer;
    background: #1a1f2e;
    border: none;
    border-radius: 50%;
}

.wallet-adapter-modal-button-close:focus-visible {
    outline-color: white;
}

.wallet-adapter-modal-button-close svg {
    fill: #777;
    transition: fill 200ms ease 0s;
}

.wallet-adapter-modal-button-close:hover svg {
    fill: #fff;
}

.wallet-adapter-modal-overlay {
    background: rgba(0, 0, 0, 0.5);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.wallet-adapter-modal-container {
    display: flex;
    margin: 3rem;
    min-height: calc(100vh - 6rem); /* 100vh - 2 * margin */
    align-items: center;
    justify-content: center;
}

@media (max-width: 480px) {
    .wallet-adapter-modal-container {
        margin: 1rem;
        min-height: calc(100vh - 2rem); /* 100vh - 2 * margin */
    }
}

.wallet-adapter-modal-wrapper {
    box-sizing: border-box;
    position: relative;
    display: flex;
    align-items: center;
    flex-direction: column;
    z-index: 1050;
    max-width: 400px;
    border-radius: 10px;
    background: #10141f;
    box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6);
    font-family: 'DM Sans', 'Roboto', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    flex: 1 1;
}

.wallet-adapter-modal-wrapper .wallet-adapter-button {
    width: 100%;
}

.wallet-adapter-modal-title {
    font-weight: 500;
    font-size: 24px;
    line-height: 36px;
    margin: 0;
    padding: 64px 48px 48px 48px;
    text-align: center;
    color: #fff;
}

@media (max-width: 374px) {
    .wallet-adapter-modal-title {
        font-size: 18px;
    }
}

.wallet-adapter-modal-list {
    margin: 0 0 12px 0;
    padding: 0;
    width: 100%;
    list-style: none;
}

.wallet-adapter-modal-list .wallet-adapter-button {
    font-weight: 400;
    border-radius: 0;
    font-size: 18px;
}

.wallet-adapter-modal-list .wallet-adapter-button-end-icon,
.wallet-adapter-modal-list .wallet-adapter-button-start-icon,
.wallet-adapter-modal-list .wallet-adapter-button-end-icon img,
.wallet-adapter-modal-list .wallet-adapter-button-start-icon img {
    width: 28px;
    height: 28px;
}

.wallet-adapter-modal-list .wallet-adapter-button span {
    margin-left: auto;
    font-size: 14px;
    opacity: .6;
}

.wallet-adapter-modal-list-more {
    cursor: pointer;
    border: none;
    padding: 12px 24px 24px 12px;
    align-self: flex-end;
    display: flex;
    align-items: center;
    background-color: transparent;
    color: #fff;
}

.wallet-adapter-modal-list-more svg {
    transition: all 0.1s ease;
    fill: rgba(255, 255, 255, 1);
    margin-left: 0.5rem;
}

.wallet-adapter-modal-list-more-icon-rotate {
    transform: rotate(180deg);
}

.wallet-adapter-modal-middle {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 24px 24px 24px;
    box-sizing: border-box;
}

.wallet-adapter-modal-middle-button {
    display: block;
    cursor: pointer;
    margin-top: 48px;
    width: 100%;
    background-color: #512da8;
    padding: 12px;
    font-size: 18px;
    border: none;
    border-radius: 8px;
    color: #fff;
}

/* Referral Dashboard Styles */
.referral-dashboard {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: transparent;
  color: #ffffff;
}

.referral-header {
  text-align: center;
  margin-bottom: 30px;
}

.referral-header h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #ffffff;
  margin-bottom: 10px;
}

.referral-header .icon {
  color: #9945ff;
}

.referral-header p {
  color: #b0b0b0;
  font-size: 16px;
}

/* Connect Wallet Prompt */
.connect-wallet-prompt {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
  border-radius: 12px;
  border: 2px dashed rgba(255, 255, 255, 0.2);
}

.connect-wallet-prompt .icon {
  width: 48px;
  height: 48px;
  color: #9945ff;
  margin-bottom: 20px;
}

.connect-wallet-prompt h3 {
  color: #ffffff;
  margin-bottom: 10px;
}

.connect-wallet-prompt p {
  color: #b0b0b0;
  max-width: 400px;
  margin: 0 auto;
}

/* Referral Link Section */
.referral-link-section {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.referral-link-section h3 {
  margin-bottom: 16px;
  color: #ffffff;
}

.referral-link-container {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.referral-link-input {
  flex: 1 1;
  padding: 12px 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-family: monospace;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.copy-button {
  padding: 12px 16px;
  background: #9945ff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.copy-button:hover {
  background: #7c3aed;
}

/* Share Buttons */
.share-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.share-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.2s;
}

.share-btn.twitter {
  background: #1da1f2;
  color: white;
}

.share-btn.twitter:hover {
  background: #0d8bd9;
}

.share-btn.telegram {
  background: #0088cc;
  color: white;
}

.share-btn.telegram:hover {
  background: #006699;
}

.share-btn.whatsapp {
  background: #25d366;
  color: white;
}

.share-btn.whatsapp:hover {
  background: #1da851;
}

/* Share Message */
.share-message {
  margin-top: 12px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 14px;
}

.share-message.success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Stats Section */
.referral-stats {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.referral-stats h3 {
  margin-bottom: 20px;
  color: #ffffff;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  grid-gap: 16px;
  gap: 16px;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-icon {
  width: 48px;
  height: 48px;
  background: #9945ff;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.stat-content {
  flex: 1 1;
}

.stat-number {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 14px;
  color: #b0b0b0;
}

/* Reward Structure */
.reward-structure {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.reward-structure h3 {
  margin-bottom: 20px;
  color: #ffffff;
}

.reward-simple {
  text-align: center;
  padding: 20px;
}

.reward-main-message h4 {
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 12px;
  font-weight: 600;
}

.reward-highlight {
  font-size: 18px;
  color: #b0b0b0;
  margin: 0;
}

.reward-highlight .amount {
  font-size: 24px;
  font-weight: bold;
  color: #9945ff;
  text-shadow: 0 0 10px rgba(153, 69, 255, 0.3);
}

/* How It Works */
.how-it-works {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
}

.how-it-works h3 {
  margin-bottom: 20px;
  color: #ffffff;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.step-number {
  width: 32px;
  height: 32px;
  background: #9945ff;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h4 {
  margin-bottom: 8px;
  color: #ffffff;
}

.step-content p {
  color: #b0b0b0;
  margin: 0;
}

/* Referral Banner */
.referral-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, #9945ff 0%, #7c3aed 100%);
  color: white;
  padding: 12px 20px;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(153, 69, 255, 0.3);
}

.referral-banner-content {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1 1;
}

.referral-banner-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.referral-banner-text {
  font-size: 14px;
}

.referral-banner-code {
  font-size: 12px;
  opacity: 0.9;
}

.referral-banner-code .code {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: bold;
}

.referral-banner-close {
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.2s;
}

.referral-banner-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
  .referral-dashboard {
    padding: 16px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .stat-card {
    padding: 16px;
  }
  
  .share-buttons {
    justify-content: center;
  }
  
  .referral-banner {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  
  .referral-banner-content {
    flex-direction: column;
    gap: 8px;
  }
  
  .steps {
    gap: 16px;
  }
  
  .step {
    flex-direction: column;
    text-align: center;
  }
}
