* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f6f9;
  color: #1c2b4a;
}

/* ---------- Ticker ---------- */
.ticker {
  width: 100%;
  height: 40px;
  background: #1e3a96;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

/* LIVE badge */
.ticker__live {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 22px 0 16px;
  background: linear-gradient(135deg, rgb(189, 91, 10) 0%, rgb(189, 91, 10) 100%);
  color: #fff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  box-shadow: 4px 0 12px rgba(0, 0, 0, 0.35);
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
  padding-right: 28px;
}

.ticker__dot {
  position: relative;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  animation: live-blink 1.2s ease-in-out infinite;
}

.ticker__dot::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #fff;
  animation: live-pulse 1.2s ease-out infinite;
}

.ticker__live-text { animation: live-text 2.4s ease-in-out infinite; }

@keyframes live-blink {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.25; }
}
@keyframes live-pulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  100% { transform: scale(3.2); opacity: 0; }
}
@keyframes live-text {
  0%, 100% { opacity: 1; }
  50%      { opacity: 0.8; }
}

.ticker__viewport {
  flex: 1;
  min-width: 0;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.ticker__track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  animation: ticker-scroll var(--duration, 40s) linear infinite;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.ticker__item {
  font-family: Arial, "Noto Sans Ethiopic", "Nyala", "Abyssinica SIL", sans-serif;
  font-size: 17px;
  font-weight: 700;
  line-height: 40px;
  color: #ffffff;
  padding-right: 70px;
}

.ticker__item.is-accent { color: #1de9f6; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation-duration: 120s; }
}

/* ---------- Page ---------- */
.page {
  max-width: 900px;
  margin: 60px auto;
  padding: 0 20px;
  text-align: center;
}
.page h1 { font-size: 28px; margin-bottom: 10px; }
.page p  { font-size: 18px; font-family: "Noto Sans Ethiopic", "Nyala", sans-serif; }
