@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #6b7280;
}
/* Adult content warning overlay */
.adult-warning {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
  padding: 20px;
}

.adult-warning h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #ff4757;
}

.adult-warning p {
  max-width: 600px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.adult-warning button {
  background: linear-gradient(to right, #ff4d4d, #f9cb28);
  border: none;
  padding: 12px 24px;
  border-radius: 4px;
  color: white;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.adult-warning button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 77, 77, 0.4);
}

/* Animation for price changes */
@keyframes pulseGreen {
    0% { background-color: rgba(34, 197, 94, 0); }
    50% { background-color: rgba(34, 197, 94, 0.2); }
    100% { background-color: rgba(34, 197, 94, 0); }
}

@keyframes pulseRed {
    0% { background-color: rgba(239, 68, 68, 0); }
    50% { background-color: rgba(239, 68, 68, 0.2); }
    100% { background-color: rgba(239, 68, 68, 0); }
}

.price-up {
    animation: pulseGreen 1.5s ease-out;
}

.price-down {
    animation: pulseRed 1.5s ease-out;
}

/* Chart container styling */
.chart-container {
    position: relative;
    height: 400px;
    width: 100%;
}

/* Tooltip styling */
.tooltip {
    position: absolute;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    border-radius: 4px;
    pointer-events: none;
    font-size: 14px;
    z-index: 100;
}

/* News ticker animation */
@keyframes ticker {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.ticker-item {
    display: inline-block;
    padding-right: 40px;
    white-space: nowrap;
}