body {
  font-family: 'Poppins', sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  height: 100vh;
  background: #3494fb;
  color: #fff;
}

.ticker-news-container {
  width: 100%;
  max-width: 900px;
  padding: 15px;
  box-sizing: border-box;
  padding-top: 100px;
}

.ticker-news {
  background:linear-gradient(135deg, #0be204, #07d270);
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  position: relative;
}

.text-ticker {
  display: flex;
  align-items: center;
  height: 100%;
  overflow: hidden;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 600;
}

.news-item {
  display: none;
  position: absolute;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink-caret {
  from, to { border-color: transparent; }
  50% { border-color: rgba(255, 255, 255, 0.75); }
}

@keyframes typing-caret {
  0% { content: "_"; }
  50% { content: ""; }
  100% { content: "_"; }
}

.text-ticker::after {
  content: "_";
  animation: typing-caret 1s steps(1, end) infinite;
}