.epg_live_earnings_hero_x8p4 {
  background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
  min-height: 100vh;
  padding: 20px;
  position: relative;
  overflow: hidden;
}

.epg_hero_container_m2k7 {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

/* Market Ticker Styles */
.epg_market_ticker_h6n9 {
  background: rgba(0, 0, 0, 0.3);
  padding: 10px 0;
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 8px;
}

.epg_ticker_wrapper_t4r2 {
  display: flex;
  animation: tickerScroll 30s linear infinite;
  gap: 30px;
}

.epg_ticker_item_r5n8 {
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
  color: #ffffff;
}

.epg_ticker_price_g3m9 {
  color: #4caf50;
}

.epg_ticker_change_k8p2.positive {
  color: #4caf50;
}

.epg_ticker_change_k8p2.negative {
  color: #f44336;
}

/* Main Stats Styles */
.epg_main_stats_l9w5 {
  text-align: center;
  margin-bottom: 50px;
}

.epg_hero_title_q7x3 {
  font-size: 42px;
  color: #ffffff;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #ffffff, #4caf50);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.epg_live_counter_b5k8 {
  background: rgba(76, 175, 80, 0.1);
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 40px;
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.epg_counter_label_y2m6 {
  display: block;
  color: #888888;
  margin-bottom: 10px;
  font-size: 16px;
}

.epg_counter_value_f8h4 {
  font-size: 48px;
  color: #4caf50;
  font-weight: 700;
}

/* Stats Grid */
.epg_stats_grid_v3n7 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.epg_stat_card_p9c4 {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease;
}

.epg_stat_card_p9c4:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.08);
}

.epg_stat_icon_k7j2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.epg_stat_value_w5r8 {
  display: block;
  font-size: 24px;
  color: #4caf50;
  font-weight: 600;
  margin-bottom: 5px;
}

.epg_stat_label_u6t9 {
  color: #888888;
  font-size: 14px;
}

/* Live Feed Styles */
.epg_live_feed_c8m5 {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 20px;
}

.epg_feed_title_x4p7 {
  color: #ffffff;
  font-size: 24px;
  margin-bottom: 20px;
}

.epg_feed_container_j2k6 {
  max-height: 300px;
  overflow-y: auto;
}

.epg_trade_item_m6p3 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  animation: fadeIn 0.5s ease;
}

.epg_trade_info_h8k4 {
  display: flex;
  align-items: center;
  gap: 10px;
}

.epg_trade_profit_b2n7 {
  font-weight: 600;
}

.epg_trade_profit_b2n7.positive {
  color: #4caf50;
}

.epg_trade_profit_b2n7.negative {
  color: #f44336;
}

/* Floating Price Cards */
.epg_price_cards_y7h4 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.epg_price_card_l4t7 {
  position: absolute;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 15px;
  animation: float 10s infinite ease-in-out;
}

/* Animations */
@keyframes tickerScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* @keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
} */

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .epg_hero_title_q7x3 {
    font-size: 32px;
  }

  .epg_counter_value_f8h4 {
    font-size: 36px;
  }

  .epg_stats_grid_v3n7 {
    grid-template-columns: 1fr;
  }

  .epg_stat_card_p9c4 {
    padding: 15px;
  }

  .epg_ticker_wrapper_t4r2 {
    animation: tickerScroll 20s linear infinite;
  }
}

/* Trading Analytics Section Styles */
.trading-analytics-xk47 {
  padding: clamp(0.75rem, 2vw, 2rem);
  background: #1a1a1f;
  border-radius: clamp(0.75rem, 2vw, 1.5rem);
  margin: 1rem 0;
  width: 100%;
  overflow-x: hidden;
}

.analytics-header-pj92 {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.section-title-vm83 {
  font-size: clamp(1.125rem, 4vw, 2rem);
  color: #e0e0e0;
  font-weight: 600;
  line-height: 1.2;
}

.time-filter-ht64 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
  background: #252529;
  padding: 0.25rem;
  border-radius: 0.75rem;
  width: 100%;
  max-width: 100%;
}

.time-btn-qw21 {
  padding: 0.5rem;
  font-size: clamp(0.75rem, 3vw, 0.875rem);
  white-space: nowrap;
}

.analytics-grid-lm36 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.chart-card-bc74 {
  padding: clamp(0.75rem, 2vw, 1.5rem);
  min-height: auto;
}

.chart-title-nw52 {
  font-size: clamp(0.875rem, 3.5vw, 1.1rem);
  margin-bottom: 0.75rem;
}

.chart-canvas-ux91 {
  height: clamp(150px, 45vw, 200px);
  margin-bottom: 0.75rem;
}

.chart-stats-wy47 {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stat-item-fq28 {
  flex: 1;
  min-width: calc(50% - 0.5rem);
}

.stat-label-tp63 {
  font-size: clamp(0.75rem, 2.5vw, 0.9rem);
}

.stat-value-hm92 {
  font-size: clamp(0.875rem, 3vw, 1.1rem);
}

.trader-item-yw73 {
  padding: 0.5rem;
  gap: 0.5rem;
}

.trader-rank-vp82 {
  width: 20px;
  height: 20px;
  font-size: 0.75rem;
  margin-right: 0.5rem;
}

.trader-name-ux37 {
  font-size: clamp(0.8125rem, 3vw, 0.9375rem);
}

.trader-profit-kj28 {
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
}

.asset-legend-cx83 {
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.legend-item-tf92 {
  gap: 0.25rem;
}

.legend-color-bh47 {
  width: 10px;
  height: 10px;
}

.legend-label-mp83 {
  font-size: clamp(0.75rem, 2.5vw, 0.875rem);
}

/* Enhanced touch targets for mobile */
.trader-item-yw73,
.time-btn-qw21 {
  min-height: 44px;
}

/* Optimize for landscape orientation */
@media (max-height: 450px) and (orientation: landscape) {
  .analytics-grid-lm36 {
    grid-template-columns: repeat(2, 1fr);
  }

  .chart-canvas-ux91 {
    height: clamp(120px, 35vw, 150px);
  }
}

/* Galaxy S9 specific optimizations (360x740) */
@media screen and (max-width: 360px) {
  .trading-analytics-xk47 {
    padding: 0.75rem 0.5rem;
  }

  .time-filter-ht64 {
    padding: 0.2rem;
  }

  .time-btn-qw21 {
    padding: 0.4rem 0.25rem;
    font-size: 0.75rem;
  }

  .chart-card-bc74 {
    padding: 0.75rem 0.5rem;
  }

  .stat-item-fq28 {
    min-width: 100%;
  }

  .trader-item-yw73 {
    padding: 0.5rem 0.375rem;
  }

  .asset-legend-cx83 {
    grid-template-columns: 1fr;
  }
}

/* Improved scrollbar for mobile */
.traders-list-zq92 {
  max-height: clamp(200px, 50vh, 300px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #333338 #1a1a1f;
}

.traders-list-zq92::-webkit-scrollbar {
  width: 4px;
}

.traders-list-zq92::-webkit-scrollbar-track {
  background: #1a1a1f;
}

.traders-list-zq92::-webkit-scrollbar-thumb {
  background: #333338;
  border-radius: 2px;
}

/* Trading Analytics Section Styles */
.trading-analytics-xk47 {
  padding: 2rem;
  background: #1a1a1f;
  border-radius: 1.5rem;
  margin: 2rem 0;
}

.analytics-header-pj92 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.section-title-vm83 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: #e0e0e0;
  font-weight: 600;
}

.time-filter-ht64 {
  display: flex;
  gap: 0.5rem;
  background: #252529;
  padding: 0.5rem;
  border-radius: 1rem;
}

.time-btn-qw21 {
  padding: 0.5rem 1rem;
  border: none;
  background: transparent;
  color: #808080;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.time-btn-qw21:hover {
  color: #e0e0e0;
  background: #2a2a30;
}

.time-btn-qw21.active-yz95 {
  background: #3a3a42;
  color: #ffffff;
}

.analytics-grid-lm36 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.chart-card-bc74 {
  background: #252529;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chart-title-nw52 {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

.chart-canvas-ux91 {
  width: 100%;
  height: 200px;
  margin-bottom: 1rem;
}

.chart-stats-wy47 {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #333338;
}

.stat-item-fq28 {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.stat-label-tp63 {
  color: #808080;
  font-size: 0.9rem;
}

.stat-value-hm92 {
  color: #e0e0e0;
  font-size: 1.1rem;
  font-weight: 500;
}

.positive-yh82 {
  color: #00c853;
}

.negative-xw91 {
  color: #ff3d57;
}

.ranking-card-kp38 {
  background: #252529;
  border-radius: 1rem;
  padding: 1.5rem;
}

.ranking-title-bx74 {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin-bottom: 1rem;
}

.traders-list-zq92 {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.trader-item-yw73 {
  display: flex;
  align-items: center;
  padding: 0.75rem;
  background: #2a2a30;
  border-radius: 0.75rem;
  transition: transform 0.2s ease;
}

.trader-item-yw73:hover {
  transform: translateX(5px);
}

.trader-rank-vp82 {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #333338;
  border-radius: 50%;
  margin-right: 1rem;
  color: #e0e0e0;
  font-weight: 500;
}

.trader-info-qm94 {
  flex-grow: 1;
}

.trader-name-ux37 {
  color: #e0e0e0;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.trader-profit-kj28 {
  font-size: 0.9rem;
}

.asset-legend-cx83 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.legend-item-tf92 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-color-bh47 {
  width: 12px;
  height: 12px;
  border-radius: 3px;
}

.legend-label-mp83 {
  color: #808080;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .trading-analytics-xk47 {
    padding: 1.5rem;
  }

  .analytics-header-pj92 {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .time-filter-ht64 {
    width: 100%;
    justify-content: space-between;
  }

  .chart-card-bc74 {
    padding: 1rem;
  }
}
