/* TradeTab Custom Styles */

/* Chart Header Styles */
.chart-header {
  margin-bottom: 24px;
}

.chart-header-top {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.chart-title-section {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 5px;
}

.chart-tabs {
  display: flex;
  align-items: center;
  gap: 10px;
}

.deposit-withdrawal {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 5px;
}

.indicator {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot.green {
  background-color: #22c55e;
}

.dot.red {
  background-color: #ef4444;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.badge-icon .rotating-icon {
  width: 24px;
  height: 24px;
  animation: rotate 2s linear infinite;
}

body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Withdrawal Alert Popup */
.withdrawal-alert {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
  z-index: 1000;
  transform: translateX(-400px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  max-width: 350px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.withdrawal-alert.show {
  transform: translateX(0);
}

.alert-content {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.alert-icon {
  color: #ffffff;
  font-size: 20px;
  flex-shrink: 0;
}

.alert-text {
  color: #ffffff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
}

.alert-close {
  position: absolute;
  top: -8px;
  right: -8px;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease;
}

.alert-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* Mobile responsiveness for withdrawal alert */
@media (max-width: 768px) {
  .withdrawal-alert {
    bottom: 15px;
    left: 10px;
    right: auto;
    max-width: 280px;
    width: auto;
    min-height: 70px;
    transform: translateX(-300px);
    padding: 14px 18px;
  }

  .withdrawal-alert.show {
    transform: translateX(0);
  }

  .alert-content {
    gap: 10px;
    flex-direction: column;
    align-items: flex-start;
  }

  .alert-text {
    font-size: 12px;
    line-height: 1.4;
  }

  .alert-icon {
    font-size: 16px;
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .withdrawal-alert {
    bottom: 20px;
    left: 8px;
    max-width: 250px;
    min-height: 80px;
    padding: 12px 16px;
    transform: translateX(-270px);
  }

  .alert-content {
    gap: 8px;
  }

  .alert-text {
    font-size: 11px;
    line-height: 1.3;
  }

  .alert-icon {
    font-size: 14px;
  }

  .alert-close {
    width: 18px;
    height: 18px;
    font-size: 12px;
    top: -6px;
    right: -6px;
  }
}

@media (max-width: 320px) {
  .withdrawal-alert {
    bottom: 25px;
    left: 5px;
    max-width: 220px;
    min-height: 85px;
    padding: 10px 14px;
    transform: translateX(-240px);
  }

  .alert-text {
    font-size: 10px;
  }

  .alert-icon {
    font-size: 12px;
  }
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(34, 197, 94, 0.2);
  z-index: 100;
  padding: 12px 0;
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo .logo-image {
  height: 40px;
  width: auto;
  object-fit: contain;
}

@media (max-width: 768px) {
  .nav-logo .logo-image {
    height: 32px;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  padding: 8px 0;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #22d3ee;
}

.nav-link.active {
  color: #ffffff;
}

.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  border-radius: 1px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.login-btn {
  color: rgba(255, 255, 255, 0.8);
  border-color: rgba(255, 255, 255, 0.2);
}

.login-btn:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.register-btn {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.register-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.telegram-btn {
  color: #ffffff;
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
}

.telegram-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(34, 211, 238, 0.3);
}

/* Hero Section */
.hero-section {
  padding: 140px 20px 100px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(34, 211, 238, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.sparkles-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
}

.sparkle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: #22d3ee;
  border-radius: 50%;
  animation: sparkle 3s infinite;
}

.sparkle:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.sparkle:nth-child(2) {
  top: 40%;
  right: 15%;
  animation-delay: 0.5s;
}

.sparkle:nth-child(3) {
  top: 60%;
  left: 20%;
  animation-delay: 1s;
}

.sparkle:nth-child(4) {
  top: 30%;
  right: 30%;
  animation-delay: 1.5s;
}

.sparkle:nth-child(5) {
  top: 70%;
  right: 10%;
  animation-delay: 2s;
}

.sparkle:nth-child(6) {
  top: 50%;
  left: 5%;
  animation-delay: 2.5s;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 50px;
  padding: 12px 24px;
  margin-bottom: 40px;
  transition: all 0.3s ease;
}

.hero-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(34, 211, 238, 0.2);
}

.badge-icon {
  font-size: 20px;
}

.sync-text {
  color: #22d3ee;
  font-weight: 600;
  font-size: 14px;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 48px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.button-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
}

.hero-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.hero-btn:hover::before {
  left: 100%;
}

.hero-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.journal-btn {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(34, 211, 238, 0.3);
  color: #ffffff;
}

.academy-btn {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.4);
  color: #ffffff;
}

.insights-btn {
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #ffffff;
}

.calculator-btn {
  background: rgba(168, 85, 247, 0.2);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #ffffff;
}

.start-btn {
  background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
  color: #ffffff;
  padding: 16px 32px;
  font-size: 16px;
  border: none;
}

.account-btn {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
  color: #ffffff;
  padding: 16px 32px;
  font-size: 16px;
  border: none;
}

/* Chart Section */
.chart-section {
  padding: 80px 20px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(34, 211, 238, 0.2);
}

.chart-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.chart-main {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.chart-title-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.chart-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
}

.chart-title {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.chart-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  margin: 4px 0 0 0;
  line-height: 1.4;
}

.chart-tabs {
  display: flex;
  gap: 8px;
  background: rgba(15, 23, 42, 0.8);
  border-radius: 12px;
  padding: 4px;
  border: 1px solid rgba(34, 211, 238, 0.2);
}

.tab-btn {
  flex: 1;
  padding: 10px 16px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border-radius: 8px;
  cursor: pointer;
  font-weight: 500;
  font-size: 13px;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  color: #ffffff;
}

.tab-btn:hover:not(.active) {
  background: rgba(34, 211, 238, 0.1);
  color: #22d3ee;
}

.chart-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.stat-card {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 12px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: rgba(34, 211, 238, 0.4);
  transform: translateY(-2px);
}

.stat-icon {
  width: 40px;
  height: 40px;
  background: rgba(34, 211, 238, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #22d3ee;
  font-size: 16px;
}

.stat-content {
  flex: 1;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-value {
  display: block;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
}

.stat-value.green {
  color: #22c55e;
}

.chart-visualization {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(34, 211, 238, 0.1);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}

#tradingChart {
  width: 100%;
  height: 300px;
  background: transparent;
}

.deposit-withdrawal {
  display: flex;
  gap: 60px;
  align-items: center;
}

.indicator {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: #22c55e;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot.green {
  background: #22c55e;
}

.dot.red {
  background: #ef4444;
}

.calendar-section {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Calendar Chart */
.calendar-chart {
  width: 100%;
}

.calendar-header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
  margin-bottom: 16px;
}

.calendar-header span {
  text-align: center;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  padding: 6px 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 6px;
}

.calendar-day {
  aspect-ratio: 1;
  border-radius: 8px;
  padding: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
}

.calendar-day:hover {
  transform: scale(1.05);
  border-color: rgba(34, 211, 238, 0.4);
}

.day-number {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.day-percentage {
  font-size: 10px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1px;
}

.day-trades {
  font-size: 8px;
  color: rgba(255, 255, 255, 0.7);
}

/* Performance Analytics Section */
.performance-section {
  padding: 80px 20px;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(34, 211, 238, 0.1);
}

.performance-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.monthly-performance {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.performance-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.performance-title-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.performance-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff;
}

.performance-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.live-indicator {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 20px;
  padding: 8px 16px;
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    opacity: 1;
  }
}

.live-text {
  font-size: 12px;
  font-weight: 600;
  color: #22c55e;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.monthly-chart-container {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(34, 211, 238, 0.1);
  border-radius: 12px;
  padding: 24px;
}

#monthlyChart {
  width: 100%;
  height: 300px;
  background: transparent;
}

/* Most Traded Assets */
.traded-assets {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.assets-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.assets-title-section {
  display: flex;
  align-items: center;
  gap: 12px;
}

.assets-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #ffffff;
}

.assets-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.2;
}

.assets-subtitle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin: 4px 0 0 0;
}

.filter-dropdown {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  color: #22d3ee;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  outline: none;
}

.filter-dropdown:focus {
  border-color: rgba(34, 211, 238, 0.6);
}

.assets-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.asset-stat-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.stat-number {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.stat-trades {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.5);
}

.assets-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.asset-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 0;
}

.asset-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  min-width: 80px;
  text-align: left;
}

.asset-bar {
  flex: 1;
  height: 8px;
  background: rgba(71, 85, 105, 0.3);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
  border-radius: 4px;
  transition: width 0.8s ease;
  position: relative;
}

.bar-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Trading Analytics Dashboard */
.analytics-dashboard {
  padding: 80px 20px;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(34, 211, 238, 0.1);
}

.analytics-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 60px;
}

/* Long/Short Section */
.long-short-section {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.section-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  margin: 0 0 24px 0;
}

.trade-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.stat-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.stat-dot.blue {
  background: #3b82f6;
}

.stat-dot.yellow {
  background: #eab308;
}

.stat-dot.red {
  background: #ef4444;
}

.stat-dot.green {
  background: #22c55e;
}

.donut-chart-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.chart-center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.center-label {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
}

/* Profit vs Loss Section */
.profit-loss-section {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.profit-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.profit-icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: #ffffff;
}

.percentage-badge {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 11px;
  color: #ef4444;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
}

.profit-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.metric-card {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.metric-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #ffffff;
}

.metric-icon.win-rate {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.metric-icon.best-day {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.metric-icon.worst-day {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.metric-icon.avg-day {
  background: rgba(34, 211, 238, 0.2);
  color: #22d3ee;
}

.metric-content {
  flex: 1;
}

.metric-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}

.metric-value {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
}

.metric-value.positive {
  color: #22c55e;
}

.metric-value.negative {
  color: #ef4444;
}

.profit-chart-container {
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(34, 211, 238, 0.1);
  border-radius: 12px;
  padding: 24px;
}

.chart-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

#profitChart {
  width: 100%;
  height: 150px;
}

/* Win/Loss Section */
.win-loss-section {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.trade-counters {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
}

.counter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.counter-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

/* Bottom Stats Bar */
.bottom-stats-bar {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 16px;
  padding: 32px;
  margin: 0 auto;
  max-width: 1000px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: center;
}

.stat-block {
  display: flex;
  align-items: center;
  gap: 16px;
  text-align: left;
}

.stat-icon-large {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  flex-shrink: 0;
}

.stat-info {
  flex: 1;
}

.stat-number {
  font-size: 32px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
}

/* Mobile Responsive Design */
@media (max-width: 1200px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .chart-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .performance-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .analytics-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .analytics-dashboard {
    padding: 60px 15px;
  }

  .long-short-section,
  .profit-loss-section,
  .win-loss-section {
    padding: 20px;
  }

  .section-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .profit-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .metric-card {
    padding: 12px;
  }

  .metric-value {
    font-size: 16px;
  }

  .metric-label {
    font-size: 10px;
  }

  .bottom-stats-bar {
    padding: 30px 15px;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 400px;
    margin: 0 auto;
  }

  .stat-block {
    padding: 20px;
    text-align: center;
  }

  .stat-number {
    font-size: 24px;
  }

  .stat-description {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav-container {
    padding: 0 15px;
  }

  .nav-links {
    display: none;
  }

  .nav-buttons {
    gap: 10px;
  }

  .nav-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  /* Hero Section */
  .hero-section {
    padding: 60px 15px;
  }

  .hero-title {
    font-size: 36px;
    line-height: 1.2;
  }

  .hero-subtitle {
    font-size: 16px;
    margin-bottom: 30px;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .hero-btn {
    width: 100%;
    justify-content: center;
  }

  .hero-image {
    margin-top: 40px;
  }

  /* Features Section */
  .features-section {
    padding: 60px 15px;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Chart Section - Enhanced Mobile Responsiveness */
  .chart-section {
    padding: 40px 10px;
  }

  .chart-container {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .chart-main {
    padding: 15px;
    margin: 0;
    border-radius: 12px;
  }

  .chart-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
  }

  .chart-title-section {
    width: 100%;
  }

  .chart-title {
    font-size: 20px;
    line-height: 1.3;
  }

  .chart-subtitle {
    font-size: 13px;
    margin-top: 5px;
  }

  .chart-tabs {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  .tab-btn {
    padding: 8px 12px;
    font-size: 13px;
    flex: 1;
    min-width: 70px;
    max-width: 100px;
  }

  .chart-stats-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .chart-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stat-item {
    padding: 12px;
    text-align: center;
    background: rgba(15, 23, 42, 0.8);
    border-radius: 8px;
    border: 1px solid rgba(34, 211, 238, 0.1);
  }

  .stat-value {
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    color: #22d3ee;
  }

  .stat-label {
    font-size: 11px;
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  /* Balance display improvements */
  .balance-display {
    text-align: center;
    padding: 15px;
    background: rgba(15, 23, 42, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(34, 211, 238, 0.2);
    margin-bottom: 15px;
  }

  .balance-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
  }

  .balance-amount {
    font-size: 24px;
    font-weight: 800;
    color: #22d3ee;
    line-height: 1;
  }

  .traded-assets {
    padding: 15px;
    margin: 0;
    border-radius: 12px;
  }

  .assets-title {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .assets-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .asset-item {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .asset-name {
    font-size: 12px;
    min-width: 60px;
  }

  .asset-price {
    font-size: 13px;
    font-weight: 600;
  }

  .asset-change {
    font-size: 11px;
    text-align: right;
  }

  .chart-tabs {
    width: 100%;
  }

  .chart-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 16px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .calendar-section {
    margin-top: 30px;
  }

  /* Performance Section */
  .performance-section {
    padding: 60px 15px;
  }

  .assets-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .asset-stat-card {
    padding: 12px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Analytics Dashboard */
  .analytics-dashboard {
    padding: 60px 15px;
  }

  .profit-metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .metric-card {
    padding: 12px;
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .stat-block {
    justify-content: center;
    text-align: center;
  }

  /* Statistics Section */
  .stats-section {
    padding: 60px 15px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  /* Footer */
  .footer {
    padding: 40px 15px;
  }

  .footer-container {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  /* Extra small screens */
  .hero-title {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
  }

  .chart-stats-row {
    grid-template-columns: 1fr;
  }

  .chart-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .assets-stats {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .profit-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .chart-main {
    padding: 12px;
    margin: 0 5px;
  }

  .traded-assets {
    padding: 12px;
    margin: 0 5px;
  }

  .chart-title {
    font-size: 18px;
    line-height: 1.2;
  }

  .assets-title {
    font-size: 16px;
    line-height: 1.2;
  }

  .stat-item {
    padding: 8px;
    min-height: auto;
  }

  .asset-item {
    padding: 8px;
    min-height: auto;
  }

  .tab-btn {
    padding: 6px 10px;
    font-size: 11px;
    min-width: auto;
  }

  /* Calendar chart - PROPERLY SIZED MOBILE DESIGN */
  .calendar-section {
    padding: 16px 12px !important;
    margin: 0 8px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
  }

  .calendar-chart {
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  .calendar-header {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 3px !important;
    margin-bottom: 12px !important;
    padding: 0 4px !important;
  }

  .calendar-header span {
    text-align: center !important;
    font-size: 11px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 600 !important;
    padding: 4px 2px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
  }

  .calendar-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    gap: 3px !important;
    padding: 4px !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }

  .calendar-day {
    aspect-ratio: 1 !important;
    min-height: 45px !important;
    max-height: 50px !important;
    padding: 4px !important;
    font-size: 10px !important;
    border-radius: 6px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
  }

  .calendar-day:hover {
    transform: scale(1.03) !important;
    border-color: rgba(34, 211, 238, 0.4) !important;
  }

  .day-number {
    font-size: 11px !important;
    line-height: 1.1 !important;
    margin-bottom: 2px !important;
    font-weight: 700 !important;
    color: #ffffff !important;
  }

  .day-percentage {
    font-size: 8px !important;
    line-height: 1.1 !important;
    margin-bottom: 1px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
  }

  .day-trades {
    font-size: 6px !important;
    line-height: 1 !important;
    font-weight: 500 !important;
    color: rgba(255, 255, 255, 0.8) !important;
  }

  /* Performance calendar container */
  .performance-calendar {
    padding: 12px 8px !important;
    margin: 0 4px !important;
    max-width: 100% !important;
    overflow: hidden !important;
  }

  /* Most Traded Assets mobile optimization */
  .assets-list {
    gap: 4px;
  }

  .asset-name {
    font-size: 10px;
    min-width: 45px;
    font-weight: 600;
  }

  .asset-price {
    font-size: 11px;
    font-weight: 700;
  }

  .asset-change {
    font-size: 9px;
    font-weight: 600;
  }

  /* Enhanced Most Traded Assets section for mobile */
  .traded-assets {
    padding: 10px !important;
    margin: 0 2px !important;
    border-radius: 8px;
  }

  .assets-title-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
  }

  .assets-icon {
    width: 24px;
    height: 24px;
    font-size: 12px;
  }

  .assets-title {
    font-size: 14px !important;
    line-height: 1.2;
    margin: 0;
  }

  .assets-subtitle {
    font-size: 10px;
    margin: 2px 0 0 0;
  }

  .filter-dropdown {
    font-size: 10px;
    padding: 4px 8px;
    width: 100%;
    max-width: 120px;
  }

  /* Asset statistics cards mobile */
  .asset-stat-card {
    padding: 8px;
    text-align: center;
    min-height: auto;
  }

  .stat-number {
    font-size: 16px;
    line-height: 1.1;
  }

  .stat-label {
    font-size: 9px;
    margin-top: 2px;
  }

  /* Chart container mobile fixes */
  .chart-container {
    padding: 0 5px;
    gap: 12px;
    margin: 0;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .analytics-dashboard {
    padding: 50px 15px;
  }

  .profit-metrics {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .metric-card {
    padding: 10px;
  }

  .metric-value {
    font-size: 14px;
  }

  .section-title {
    font-size: 16px;
  }

  .bottom-stats-bar {
    padding: 25px 15px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-description {
    font-size: 11px;
  }

  .calendar-grid {
    gap: 4px;
  }

  .calendar-day {
    padding: 6px;
  }

  .day-number {
    font-size: 12px;
  }

  .day-percentage {
    font-size: 9px;
  }

  .day-trades {
    font-size: 7px;
  }

  .section-title {
    font-size: 20px;
  }

  .chart-title {
    font-size: 24px;
  }

  .performance-title {
    font-size: 20px;
  }

  .assets-title {
    font-size: 20px;
  }
}

/* Mobile Menu Styles - Completely Rebuilt */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  background: rgba(34, 211, 238, 0.1);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 0;
  z-index: 1002;
  transition: all 0.3s ease;
  position: relative;
}

.mobile-menu-btn:hover {
  background: rgba(34, 211, 238, 0.2);
  border-color: rgba(34, 211, 238, 0.4);
}

.hamburger-line {
  width: 20px;
  height: 2px;
  background: #ffffff;
  margin: 2px 0;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-radius: 2px;
}

.mobile-menu-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
  background: #22d3ee;
}

.mobile-menu-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
  transform: translateX(20px);
}

.mobile-menu-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
  background: #22d3ee;
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Ensure mobile menu works on touch devices */
.mobile-menu-overlay * {
  -webkit-tap-highlight-color: transparent;
}

/* Add loading state for mobile menu */
.mobile-menu-overlay.loading {
  pointer-events: none;
}

/* Removed duplicate rules - consolidated above */

.mobile-menu-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 80px 30px 30px;
  max-width: 400px;
  margin: 0 auto;
  position: relative;
}

.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(34, 211, 238, 0.2);
  margin-bottom: 40px;
}

.mobile-menu-close {
  width: 44px;
  height: 44px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 8px;
  color: #ef4444;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: rgba(239, 68, 68, 0.5);
  transform: scale(1.05);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 50px;
  flex: 1;
}

.mobile-nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.mobile-nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, rgba(34, 211, 238, 0.1), transparent);
  transition: width 0.3s ease;
}

.mobile-nav-link:hover::before {
  width: 100%;
}

.mobile-nav-link:hover {
  color: #22d3ee;
  padding-left: 15px;
  transform: translateX(5px);
}

.mobile-nav-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.mobile-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.mobile-nav-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.5s ease;
}

.mobile-nav-btn:hover::before {
  left: 100%;
}

.mobile-nav-btn.login {
  background: rgba(34, 211, 238, 0.15);
  border-color: rgba(34, 211, 238, 0.4);
  color: #22d3ee;
}

.mobile-nav-btn.register {
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(34, 211, 238, 0.3);
}

.mobile-nav-btn.telegram {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

.mobile-nav-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

.mobile-nav-btn:active {
  transform: translateY(-1px) scale(0.98);
}

/* Mobile Navigation Responsive Breakpoints - Fixed for all screen sizes */
@media (max-width: 1024px) {
  .nav-menu {
    display: none !important;
  }

  .nav-actions {
    display: none !important;
  }

  .mobile-menu-btn {
    display: flex !important;
  }
}

/* Ensure mobile menu button shows on all mobile devices */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: flex !important;
  }

  .nav-menu {
    display: none !important;
  }

  .nav-actions {
    display: none !important;
  }
}

@media (max-width: 480px) {
  .mobile-menu-btn {
    display: flex !important;
  }

  .nav-menu {
    display: none !important;
  }

  .nav-actions {
    display: none !important;
  }
}

@media (max-width: 320px) {
  .mobile-menu-btn {
    display: flex !important;
    width: 40px;
    height: 40px;
  }

  /* Extra small screen optimizations */
  .chart-section {
    padding: 30px 5px;
  }

  .chart-main,
  .traded-assets {
    padding: 8px !important;
    margin: 0 !important;
  }

  .chart-title {
    font-size: 16px;
  }

  .assets-title {
    font-size: 12px !important;
  }

  .calendar-day {
    min-height: 30px;
    max-height: 32px;
    padding: 1px;
  }

  .day-number {
    font-size: 7px;
  }

  .day-percentage {
    font-size: 5px;
  }

  .day-trades {
    font-size: 4px;
  }

  .stat-value {
    font-size: 14px;
  }

  .stat-label {
    font-size: 9px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 20px;
  }

  .nav-logo .logo-text {
    font-size: 18px;
  }

  .logo-icon {
    width: 28px;
    height: 28px;
    font-size: 16px;
  }

  .mobile-menu-content {
    padding: 70px 25px 25px;
  }

  .mobile-nav-link {
    font-size: 17px;
    padding: 18px 0;
  }

  .mobile-nav-btn {
    padding: 16px 20px;
    font-size: 15px;
  }
}

@media (max-width: 480px) {
  .nav-container {
    padding: 0 15px;
  }

  .mobile-menu-content {
    padding: 60px 20px 20px;
  }

  .mobile-nav-link {
    font-size: 16px;
    padding: 16px 0;
  }

  .mobile-nav-btn {
    padding: 14px 18px;
    font-size: 14px;
  }

  .mobile-menu-header {
    padding-bottom: 25px;
    margin-bottom: 30px;
  }
}

/* Skills Enhancement Section */
.skills-section {
  padding: 120px 20px;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(34, 211, 238, 0.1);
  position: relative;
  overflow: hidden;
}

.skills-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(34, 211, 238, 0.05) 0%,
    transparent 50%
  );
  pointer-events: none;
}

.skills-container {
  max-width: 1400px;
  margin: 0 auto;
}

.skills-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.skills-text {
  max-width: 500px;
}

.skills-title {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
  margin-bottom: 24px;
}

.skills-description {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 40px;
}

.skills-indicators {
  display: flex;
  gap: 12px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transition: all 0.3s ease;
  cursor: pointer;
}

.indicator.active {
  background: #22d3ee;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.5);
}

.skills-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.trading-interface {
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.2);
  border-radius: 16px;
  padding: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  width: 100%;
  max-width: 400px;
  overflow: hidden;
}

.interface-header {
  background: rgba(15, 23, 42, 0.8);
  border-bottom: 1px solid rgba(34, 211, 238, 0.2);
  padding: 16px 24px;
}

.interface-tabs {
  display: flex;
}

.tab {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  padding: 8px 0;
  border-bottom: 2px solid #22d3ee;
}

.interface-content {
  padding: 24px;
}

.asset-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.asset-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

.asset-name {
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  min-width: 80px;
}

.asset-bar {
  flex: 1;
  height: 8px;
  background: rgba(71, 85, 105, 0.3);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
}

.asset-bar .bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #22c55e 0%, #16a34a 100%);
  border-radius: 4px;
  transition: width 0.8s ease;
  position: relative;
}

.asset-bar .bar-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 100%
  );
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

/* Brokers Connection Section */
.brokers-section {
  padding: 120px 20px;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.brokers-section::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(
    circle,
    rgba(34, 211, 238, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.brokers-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.brokers-title {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 16px;
}

.brokers-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 40px;
}

.brokers-rating {
  display: flex;
  justify-content: center;
}

.star-rating {
  display: flex;
  gap: 8px;
}

.star-rating i {
  font-size: 32px;
  color: #22d3ee;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.5));
  transition: all 0.3s ease;
}

.star-rating i:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 20px rgba(34, 211, 238, 0.8));
}

/* Mobile Responsive Styles for Skills and Brokers Sections */
@media (max-width: 768px) {
  .skills-section {
    padding: 80px 20px;
  }

  .skills-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .skills-title {
    font-size: 36px;
  }

  .trading-interface {
    max-width: 320px;
  }

  .brokers-section {
    padding: 60px 20px;
  }

  .brokers-container {
    max-width: 100%;
    padding: 0 15px;
  }

  .brokers-title {
    font-size: 32px;
    line-height: 1.3;
    margin-bottom: 20px;
  }

  .brokers-subtitle {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 30px;
  }

  .star-rating {
    margin-bottom: 20px;
  }

  .star-rating i {
    font-size: 24px;
    margin: 0 2px;
  }
}

@media (max-width: 480px) {
  .skills-title {
    font-size: 28px;
  }

  .trading-interface {
    max-width: 280px;
  }

  .interface-content {
    padding: 16px;
  }

  .asset-name {
    font-size: 12px;
    min-width: 60px;
  }

  .brokers-section {
    padding: 50px 15px;
  }

  .brokers-title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .brokers-subtitle {
    font-size: 14px;
    margin-bottom: 25px;
  }

  .star-rating i {
    font-size: 18px;
    margin: 0 1px;
  }
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 120px 20px;
  background: rgba(15, 23, 42, 0.98);
  backdrop-filter: blur(20px);
  border-top: 1px solid rgba(34, 211, 238, 0.1);
  position: relative;
  overflow: hidden;
  min-height: 80vh;
}

.why-choose-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(34, 211, 238, 0.05) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.why-choose-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.why-choose-title {
  font-size: 48px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.2;
}

.why-choose-subtitle {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
}

.world-map-container {
  position: relative;
  width: 100%;
  height: 500px;
  background: rgba(15, 23, 42, 0.6);
  border-radius: 20px;
  border: 1px solid rgba(34, 211, 238, 0.2);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.world-map {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.map-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  filter: brightness(0.8) contrast(1.2);
}

.location-marker {
  position: absolute;
  transform: translate(-50%, -50%);
  z-index: 10;
  cursor: pointer;
  transition: all 0.3s ease;
}

.location-marker:hover {
  transform: translate(-50%, -50%) scale(1.1);
  z-index: 20;
}

.marker-pin {
  width: 12px;
  height: 12px;
  background: #22d3ee;
  border-radius: 50%;
  position: relative;
  margin: 0 auto 8px;
  box-shadow: 0 0 20px rgba(34, 211, 238, 0.6);
  animation: pulse-marker 2s infinite;
}

.marker-pin::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 6px;
  height: 6px;
  background: #ffffff;
  border-radius: 50%;
}

@keyframes pulse-marker {
  0% {
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.6);
  }
  50% {
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.8);
  }
  100% {
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.6);
  }
}

.marker-label {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  min-width: 120px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  pointer-events: none;
}

.location-marker:hover .marker-label {
  opacity: 1;
  transform: translateY(0);
}

.city-name {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 2px;
}

.city-code {
  display: block;
  font-size: 10px;
  color: #22d3ee;
  font-weight: 500;
}

.tradetab-logo {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(34, 211, 238, 0.3);
  border-radius: 12px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.tradetab-logo .logo-icon {
  width: 24px;
  height: 24px;
  background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
}

.tradetab-logo .logo-text {
  font-size: 14px;
  font-weight: 700;
  color: #ffffff;
}

/* Why Choose Us Responsive Styles */
@media (max-width: 768px) {
  .why-choose-section {
    padding: 80px 20px;
    min-height: 60vh;
  }

  .why-choose-title {
    font-size: 32px;
  }

  .why-choose-subtitle {
    font-size: 16px;
  }

  .section-header {
    margin-bottom: 40px;
  }

  .world-map-container {
    height: 400px;
    border-radius: 16px;
  }

  .location-marker {
    transform: translate(-50%, -50%) scale(0.8);
  }

  .location-marker:hover {
    transform: translate(-50%, -50%) scale(0.9);
  }

  .marker-label {
    min-width: 100px;
    padding: 6px 10px;
    font-size: 11px;
  }

  .city-name {
    font-size: 11px;
  }

  .city-code {
    font-size: 9px;
  }

  .tradetab-logo {
    padding: 10px 12px;
    border-radius: 10px;
  }

  .tradetab-logo .logo-icon {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .tradetab-logo .logo-text {
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .why-choose-section {
    padding: 60px 15px;
  }

  .why-choose-title {
    font-size: 28px;
  }

  .world-map-container {
    height: 300px;
    border-radius: 12px;
  }

  .location-marker {
    transform: translate(-50%, -50%) scale(0.7);
  }

  .marker-label {
    min-width: 80px;
    padding: 4px 8px;
  }

  .city-name {
    font-size: 10px;
  }

  .city-code {
    font-size: 8px;
  }
}

.calendar-day {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  min-height: 60px;
}

.calendar-day.positive {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #ffffff;
}

.calendar-day.negative {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: #ffffff;
}

.calendar-day.neutral {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
}

.calendar-day:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.day-number {
  font-size: 14px;
  margin-bottom: 2px;
}

.day-percentage {
  font-size: 10px;
  opacity: 0.8;
}

.day-trades {
  font-size: 9px;
  opacity: 0.7;
}

/* Statistics Section */
.stats-section {
  padding: 80px 20px;
  text-align: center;
}

.stats-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, #10b981 0%, #06b6d4 100%);
}

.stat-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  background: rgba(255, 255, 255, 0.08);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: #10b981;
  margin-bottom: 8px;
  line-height: 1;
}

.stat-label {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Features Section */
.features-section {
  padding: 80px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.02);
}

.features-container {
  max-width: 1000px;
  margin: 0 auto;
}

.features-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: #ffffff;
}

.features-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 48px;
}

.broker-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

/* Why Choose Us Section */
.why-choose-section {
  padding: 80px 20px;
}

.why-choose-container {
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 60px;
  color: #ffffff;
}

.reach-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #10b981;
}

.cities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 60px;
}

.city-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.city-item:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.city-name {
  display: block;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 4px;
}

.country-name {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card h4 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #10b981;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.02);
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.faq-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #ffffff;
}

.faq-subtitle {
  font-size: 1.2rem;
  color: #10b981;
  font-weight: 600;
  margin-bottom: 8px;
}

.faq-description {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 48px;
}

.faq-list {
  text-align: left;
}

.faq-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  background: rgba(255, 255, 255, 0.08);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question::after {
  content: "+";
  font-size: 20px;
  color: #10b981;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-answer.active {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 20px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

/* Contact Section */
.contact-section {
  padding: 80px 20px;
  background: linear-gradient(135deg, #0a0e27 0%, #1a1f3a 100%);
}

.contact-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 32px;
  color: #ffffff;
}

.contact-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: #ffffff;
}

.contact-description {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  font-size: 1.1rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  color: #ffffff;
  font-size: 16px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: #10b981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
  background: rgba(255, 255, 255, 0.15);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-submit {
  width: 100%;
  padding: 16px 24px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  border: none;
  border-radius: 12px;
  color: #ffffff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.3);
}

/* Footer */
.footer {
  background: rgba(0, 0, 0, 0.3);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 40px 20px 20px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 32px;
}

.footer-link {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #10b981;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 32px;
}

.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: #10b981;
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.scroll-top {
  background: transparent;
  border: none;
  color: #10b981;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.scroll-top:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

/* WhatsApp Button */
.whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: #ffffff;
  padding: 16px 20px;
  border-radius: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.whatsapp-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn i {
  font-size: 20px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .chart-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cities-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .button-row {
    flex-direction: column;
    align-items: center;
  }

  .hero-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .chart-stats {
    grid-template-columns: 1fr;
  }

  .stats-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .features-section {
    padding: 60px 15px;
  }

  .features-title {
    font-size: 32px;
    line-height: 1.3;
  }

  .features-subtitle {
    font-size: 16px;
    line-height: 1.5;
  }

  .broker-info {
    font-size: 16px;
    gap: 12px;
  }

  .broker-info p {
    margin: 0;
  }

  .cities-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .whatsapp-btn span {
    display: none;
  }

  .whatsapp-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    justify-content: center;
    padding: 0;
  }
}

@media (max-width: 480px) {
  .hero-section {
    padding: 100px 20px 60px;
  }

  .section-title,
  .features-title,
  .contact-title,
  .faq-title {
    font-size: 2rem;
  }

  .features-section {
    padding: 50px 15px;
  }

  .features-title {
    font-size: 24px;
    line-height: 1.2;
  }

  .features-subtitle {
    font-size: 14px;
  }

  .broker-info {
    font-size: 14px;
    gap: 8px;
  }

  .chart-title {
    font-size: 2rem;
  }

  .contact-form {
    padding: 24px;
  }

  .cities-grid {
    grid-template-columns: 1fr;
  }
}

/* Animation Classes */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback to ensure content is always visible */
section {
  opacity: 1 !important;
  transform: none !important;
}

.hero-title,
.hero-subtitle,
.hero-buttons {
  opacity: 1 !important;
  transform: none !important;
}

.slide-in-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: all 0.6s ease;
}

.slide-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-in-right {
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s ease;
}

.slide-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Loading Animation */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.pulse {
  animation: pulse 2s infinite;
}

/* Glow Effect */
@keyframes glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
  }
  50% {
    box-shadow: 0 0 40px rgba(16, 185, 129, 0.6);
  }
}

.glow {
  animation: glow 3s infinite;
}

/* Sparkle Animation */
@keyframes sparkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

/* ========================================
   MOBILE-FIRST CHART SECTIONS REDESIGN
   Complete mobile optimization for chart sections
   ======================================== */

@media (max-width: 768px) {
  /* Chart Section Container - Mobile Optimized */
  .chart-section {
    padding: 16px 8px !important;
    background: #0f172a;
    min-height: auto;
  }

  .chart-container {
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    max-width: 100% !important;
    overflow: hidden !important;
    grid-template-columns: none !important;
  }

  /* Dynamic Trader Chart - Mobile First */
  .chart-main {
    padding: 12px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    background: rgba(15, 23, 42, 0.95) !important;
    border: 1px solid rgba(34, 211, 238, 0.15) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .chart-header {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  .chart-title-section {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .chart-icon {
    width: 24px !important;
    height: 24px !important;
    background: rgba(34, 211, 238, 0.1) !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    color: #22d3ee !important;
    flex-shrink: 0 !important;
  }

  .chart-title {
    font-size: 14px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
  }

  .chart-subtitle {
    font-size: 9px !important;
    margin: 2px 0 0 0 !important;
    color: rgba(255, 255, 255, 0.6) !important;
  }

  .chart-tabs {
    display: flex !important;
    gap: 4px !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
    width: 100% !important;
  }

  .tab-btn {
    padding: 6px 8px !important;
    font-size: 9px !important;
    border-radius: 4px !important;
    background: rgba(34, 211, 238, 0.1) !important;
    border: 1px solid rgba(34, 211, 238, 0.2) !important;
    color: #22d3ee !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    flex: 1 !important;
    min-width: 50px !important;
    max-width: 70px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  .tab-btn.active {
    background: #22d3ee !important;
    color: #0f172a !important;
    font-weight: 600 !important;
  }

  /* Chart Stats - Single Column Mobile */
  .chart-stats-row {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
  }

  .chart-stats {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 6px !important;
  }

  .stat-item {
    padding: 8px !important;
    text-align: center !important;
    background: rgba(15, 23, 42, 0.8) !important;
    border-radius: 6px !important;
    border: 1px solid rgba(34, 211, 238, 0.1) !important;
  }

  .stat-value {
    font-size: 16px !important;
    line-height: 1.1 !important;
    font-weight: 800 !important;
    color: #22d3ee !important;
    margin-bottom: 2px !important;
  }

  .stat-label {
    font-size: 8px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
  }

  /* Most Traded Assets - Mobile Redesign */
  .traded-assets {
    padding: 12px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    background: rgba(15, 23, 42, 0.95) !important;
    border: 1px solid rgba(34, 211, 238, 0.15) !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .assets-header {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  .assets-title-section {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .assets-icon {
    width: 24px !important;
    height: 24px !important;
    background: rgba(34, 211, 238, 0.1) !important;
    border-radius: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 12px !important;
    color: #22d3ee !important;
    flex-shrink: 0 !important;
  }

  .assets-title {
    font-size: 14px !important;
    line-height: 1.2 !important;
    margin: 0 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
  }

  .assets-subtitle {
    font-size: 9px !important;
    margin: 2px 0 0 0 !important;
    color: rgba(255, 255, 255, 0.6) !important;
  }

  .assets-filter {
    align-self: flex-start;
  }

  .filter-dropdown {
    padding: 4px 8px !important;
    font-size: 9px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(34, 211, 238, 0.2) !important;
    border-radius: 4px !important;
    color: #22d3ee !important;
    cursor: pointer !important;
    max-width: 100px !important;
  }

  /* Asset Statistics - Mobile Grid */
  .assets-stats {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    margin-bottom: 12px !important;
  }

  .asset-stat-card {
    padding: 8px !important;
    text-align: center !important;
    background: rgba(15, 23, 42, 0.8) !important;
    border-radius: 6px !important;
    border: 1px solid rgba(34, 211, 238, 0.1) !important;
  }

  .stat-number {
    font-size: 12px !important;
    font-weight: 800 !important;
    color: #22d3ee !important;
    line-height: 1.1 !important;
    margin-bottom: 2px !important;
  }

  .stat-label {
    font-size: 7px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
  }

  /* Asset List - Mobile Optimized */
  .assets-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 4px !important;
  }

  .asset-item {
    padding: 6px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    background: rgba(15, 23, 42, 0.6) !important;
    border-radius: 4px !important;
    border: 1px solid rgba(34, 211, 238, 0.1) !important;
  }

  .asset-name {
    font-size: 9px !important;
    min-width: 40px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
  }

  .asset-price {
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #22d3ee !important;
  }

  .asset-change {
    font-size: 8px !important;
    font-weight: 600 !important;
    text-align: right !important;
  }

  .asset-change.positive {
    color: #10b981 !important;
  }

  .asset-change.negative {
    color: #ef4444 !important;
  }

  /* Progress bars for assets */
  .asset-progress {
    width: 100% !important;
    height: 3px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 2px !important;
    margin-top: 4px !important;
    overflow: hidden !important;
  }

  .asset-progress-bar {
    height: 100% !important;
    background: linear-gradient(90deg, #22d3ee, #10b981) !important;
    border-radius: 2px !important;
    transition: width 0.3s ease !important;
  }

  /* Deposit/Withdrawal indicators - Fixed Mobile Layout */
  .deposit-withdrawal {
    display: flex !important;
    flex-direction: column !important;
    gap: 6px !important;
    align-items: center !important;
    margin-top: 8px !important;
    padding: 8px !important;
    background: rgba(15, 23, 42, 0.6) !important;
    border-radius: 6px !important;
    border: 1px solid rgba(34, 211, 238, 0.1) !important;
  }

  .indicator {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: 10px !important;
    color: rgba(255, 255, 255, 0.8) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
    background: rgba(15, 23, 42, 0.4) !important;
    min-width: 80px !important;
    justify-content: center !important;
  }

  .indicator.deposit {
    background: rgba(16, 185, 129, 0.1) !important;
    border: 1px solid rgba(16, 185, 129, 0.2) !important;
  }

  .indicator.withdrawal {
    background: rgba(239, 68, 68, 0.1) !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
  }

  .dot {
    width: 6px !important;
    height: 6px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
  }

  .dot.green {
    background: #10b981 !important;
    box-shadow: 0 0 4px rgba(16, 185, 129, 0.4) !important;
  }

  .dot.red {
    background: #ef4444 !important;
    box-shadow: 0 0 4px rgba(239, 68, 68, 0.4) !important;
  }

  /* Chart canvas mobile optimization */
  .chart-canvas-container {
    width: 100% !important;
    height: 200px !important;
    overflow: hidden !important;
    border-radius: 6px !important;
    background: rgba(15, 23, 42, 0.8) !important;
    border: 1px solid rgba(34, 211, 238, 0.1) !important;
  }

  .monthly-chart-container {
    width: 100% !important;
    height: 180px !important;
    overflow: hidden !important;
  }

  #monthlyChart {
    max-width: 100% !important;
    height: auto !important;
  }
}

/* Extra Small Mobile Devices - Ultra Compact */
@media (max-width: 480px) {
  .chart-section {
    padding: 12px 4px !important;
  }

  .chart-container {
    gap: 12px !important;
  }

  .chart-main,
  .traded-assets {
    padding: 8px !important;
    border-radius: 6px !important;
  }

  .chart-title,
  .assets-title {
    font-size: 12px !important;
  }

  .chart-subtitle,
  .assets-subtitle {
    font-size: 8px !important;
  }

  .chart-icon,
  .assets-icon {
    width: 20px !important;
    height: 20px !important;
    font-size: 10px !important;
  }

  .tab-btn {
    padding: 4px 6px !important;
    font-size: 8px !important;
    min-width: 40px !important;
    max-width: 60px !important;
  }

  .stat-value {
    font-size: 14px !important;
  }

  .stat-label {
    font-size: 7px !important;
  }

  .stat-number {
    font-size: 10px !important;
  }

  .asset-name {
    font-size: 8px !important;
    min-width: 35px !important;
  }

  .asset-price {
    font-size: 9px !important;
  }

  .asset-change {
    font-size: 7px !important;
  }

  .assets-stats {
    grid-template-columns: 1fr !important;
    gap: 4px !important;
  }

  .asset-stat-card {
    padding: 6px !important;
  }

  .chart-canvas-container {
    height: 150px !important;
  }

  .monthly-chart-container {
    height: 130px !important;
  }

  /* Enhanced Deposit/Withdrawal indicators for small mobile */
  .deposit-withdrawal {
    flex-direction: column !important;
    gap: 4px !important;
    padding: 6px !important;
    margin-top: 6px !important;
  }

  .indicator {
    font-size: 9px !important;
    padding: 3px 8px !important;
    min-width: 70px !important;
    gap: 4px !important;
  }

  .dot {
    width: 5px !important;
    height: 5px !important;
  }

  /* Calendar - Small Mobile Optimization */
  .calendar-section {
    padding: 12px 8px !important;
    margin: 0 4px !important;
  }

  .calendar-header span {
    font-size: 10px !important;
    padding: 3px 1px !important;
  }

  .calendar-grid {
    gap: 2px !important;
    padding: 3px !important;
  }

  .calendar-day {
    min-height: 40px !important;
    max-height: 42px !important;
    padding: 3px !important;
    border-radius: 4px !important;
  }

  .day-number {
    font-size: 10px !important;
    margin-bottom: 1px !important;
  }

  .day-percentage {
    font-size: 7px !important;
    margin-bottom: 1px !important;
  }

  .day-trades {
    font-size: 5px !important;
  }
}

/* Ultra Small Screens - Minimal Layout */
@media (max-width: 320px) {
  .chart-section {
    padding: 8px 2px !important;
  }

  .chart-main,
  .traded-assets {
    padding: 6px !important;
  }

  .chart-title,
  .assets-title {
    font-size: 11px !important;
  }

  .chart-subtitle,
  .assets-subtitle {
    font-size: 7px !important;
  }

  .tab-btn {
    padding: 3px 5px !important;
    font-size: 7px !important;
    min-width: 35px !important;
    max-width: 50px !important;
  }

  .stat-value {
    font-size: 12px !important;
  }

  .stat-number {
    font-size: 9px !important;
  }

  .asset-name {
    font-size: 7px !important;
    min-width: 30px !important;
  }

  .asset-price {
    font-size: 8px !important;
  }

  .asset-change {
    font-size: 6px !important;
  }

  .chart-canvas-container {
    height: 120px !important;
  }

  .monthly-chart-container {
    height: 100px !important;
  }

  /* Ultra-compact Deposit/Withdrawal indicators */
  .deposit-withdrawal {
    flex-direction: column !important;
    gap: 3px !important;
    padding: 4px !important;
    margin-top: 4px !important;
  }

  .indicator {
    font-size: 8px !important;
    padding: 2px 6px !important;
    min-width: 60px !important;
    gap: 3px !important;
  }

  .dot {
    width: 4px !important;
    height: 4px !important;
  }

  /* Calendar - Ultra Small Mobile (320px) */
  .calendar-section {
    padding: 10px 6px !important;
    margin: 0 3px !important;
  }

  .calendar-header span {
    font-size: 9px !important;
    padding: 2px 1px !important;
    letter-spacing: 0.2px !important;
  }

  .calendar-grid {
    gap: 2px !important;
    padding: 2px !important;
  }

  .calendar-day {
    min-height: 35px !important;
    max-height: 38px !important;
    padding: 2px !important;
    border-radius: 3px !important;
    border-width: 1px !important;
  }

  .calendar-day:hover {
    transform: scale(1.02) !important;
  }

  .day-number {
    font-size: 9px !important;
    margin-bottom: 1px !important;
    font-weight: 700 !important;
  }

  .day-percentage {
    font-size: 6px !important;
    margin-bottom: 1px !important;
    font-weight: 600 !important;
  }

  .day-trades {
    font-size: 4px !important;
    font-weight: 500 !important;
  }

  .performance-calendar {
    padding: 8px 4px !important;
    margin: 0 2px !important;
  }
}
