:root {
    --darkred: #71040a;
}

/* Container Utama */
.news-ticker-container {
    background: var(--darkred);
}

.ticker-area {
    max-width: 1030px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 30px;
    overflow: hidden;
    position: relative;
}

/* Label Ticker */
.ticker-label {
    background: #ff0000;
    color: #ffffff;
    padding: 0 15px;
    height: 100%;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    z-index: 10;
    position: relative;
    box-shadow: 5px 0 10px rgba(0,0,0,0.1);
    white-space: nowrap;
}

/* Area Konten */
.ticker-content {
    flex: 1;
    overflow: hidden;
    display: flex; 
    align-items: center;
}

/* Gerakan Teks */
.ticker-move {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: ticker-scroll linear infinite;
    backface-visibility: hidden;
    perspective: 1000px;
    -webkit-font-smoothing: subpixel-antialiased;
}

/* Berhenti saat Hover */
.ticker-move:hover {
    animation-play-state: paused;
}

/* Item Judul Berita */
.ticker-item {
    display: flex;
    align-items: center;
    white-space: nowrap;
    font-size: 14px;
    font-weight: 600;
    color: #fff !important;
    text-shadow: none;
    padding-right: 75px; 
    line-height: 30px;
    transition: color 0.3s ease;
}

.ticker-item:hover {
    text-decoration: underline;
    color: #fff;
}

/* Animasi Keyframes */
@keyframes ticker-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}