/* === Real-Time Trading Section Styles === */

.real-time-trading { padding: 60px 5%;
   background-color: #0e1a1a;
   color: #fff; font-family: 'Segoe UI', sans-serif;
   border-top: 5px solid #fff; 
  }

.trading-header { text-align: center; 
  margin-bottom: 0px; 
}

.trading-header h1 { color: #00ffae; 
  font-size: 2.8rem; 
}

.trading-header p { font-size: 1.3rem; 
  color: #ccc; 
  font-weight: 600; 
}

.live-ticker { overflow: hidden; 
  white-space: nowrap; 
  margin-top: 40px; 
}

.ticker-list { 
  display: inline-flex; 
  flex-wrap: nowrap; 
  gap: 30px; 
  will-change: transform; 
}

.ticker-list li { 
  display: inline-block; 
  color: #00c2ff; 
  font-weight: 800; 
  white-space: nowrap; 
}

.trading-data { 
  display: grid; 
  grid-template-columns: repeat(3, 1fr); 
  gap: 25px; 
  margin-top: 40px; 
}

.crypto-card, .more-card { 
  background-color: #1a2e2e; 
  padding: 25px; 
  border-radius: 10px; 
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3); 
  text-decoration: none; 
  color: inherit; 
  border: 1px solid #333; 
  transition: transform 0.3s ease; 
}

.crypto-card:hover { 
  transform: translateY(-5px); 
}

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

.crypto-header h3, .more-card .crypto-header h3 { 
  font-size: 1.3rem; 
}

.price { 
  font-size: 1.2rem; 
  color: #00ffae; 
  font-weight: bold; 
}

.positive { 
  color: #00ffae; 
}

.negative { 
  color: #ff4d4d; 
}

.trade-btn { 
  margin-top: 15px; 
  padding: 10px 20px; 
  border: none; 
  background: #00c2ff; 
  color: #fff; 
  font-weight: 600; 
  border-radius: 6px; 
  cursor: pointer; 
  transition: background 0.3s; 
}

.trade-btn:hover { 
  background: #008bb5; 
}

/* === Responsive Styles === */

@media (min-width: 1025px) and (max-width: 1499px) { 
  .trading-header h1 { 
    font-size: 2.5rem; 
  } 
  
  .trading-header p { 
    font-size: 1.2rem; 
  } 
  
  .crypto-card { 
    padding: 20px; 
  } 
}


@media (min-width: 768px) and (max-width: 1024px) { 
  .trading-header h1 { 
    font-size: 2rem; 
  } 
  
  .trading-header p { 
    font-size: 1rem; 
  } 
  
  .crypto-header h3, .more-card .crypto-header h3 { 
    font-size: 1rem; 
  } 
  
  .crypto-card p, .price { 
    font-size: 0.9rem; 
  } 
  
  .trade-btn { 
    font-size: 0.8rem; 
    padding: 8px 16px;
  } 
  
  .trading-data { 
    grid-template-columns: repeat(2, 1fr); 
  } 
}


@media (min-width: 576px) and (max-width: 767px) { 
  .trading-header h1 { 
    font-size: 1.8rem; 
  } 
  
  .trading-header p { 
    font-size: 0.95rem; 
  } 
  
  .crypto-header h3, .more-card .crypto-header h3 { 
    font-size: 1rem; 
  } 
  
  .crypto-card p, .price { 
    font-size: 0.85rem; 
  } 
  
  .trade-btn { 
    font-size: 0.7rem;
    padding: 8px 16px; 
  } 
  
  .trading-data { 
    grid-template-columns: repeat(2, 1fr); 
  } 
}

@media (max-width: 575px) { 
  .trading-header h1 { 
    font-size: 1.5rem; 
  } 
  
  .trading-header p { 
    font-size: 0.9rem; 
  } 
  
  .crypto-header h3, .more-card .crypto-header h3 { 
    font-size: 1rem; 
  } 
  
  .crypto-card p, .price { 
    font-size: 0.8rem; 
  } 
  
  .trade-btn { 
    font-size: 0.7rem; 
    padding: 8px 16px; 
  } 
  
  .trading-data { 
    grid-template-columns: repeat(2, 1fr); 
  } 
}


@media (max-width: 375px) { 
  .trading-header p { 
    font-size: 0.85rem; 
  } 
  
  .trading-data { 
    grid-template-columns: repeat(1, 1fr); 
  } 
}