/* Dynamic additions */
.brand-mark {
  background: url('/logo.svg') center/contain no-repeat !important;
  color: transparent !important;
  box-shadow: 0 12px 24px rgba(17, 29, 53, 0.18);
}

.info-ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(17,29,53,.96), rgba(36,59,103,.94));
  color: #fff;
}

.ticker-track {
  display: flex;
  width: max-content;
  animation: tickerMove 34s linear infinite;
}

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

.ticker-track span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 34px;
  color: rgba(255,255,255,.88);
  font-weight: 850;
  white-space: nowrap;
}

.ticker-track span::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(201,148,47,.16);
}

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

.dynamic-card {
  position: relative;
  overflow: hidden;
}

.dynamic-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -50% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(36,107,254,.12);
  animation: floatGlow 7s ease-in-out infinite alternate;
}

@keyframes floatGlow {
  to { transform: translate(-26px, -18px) scale(1.08); }
}

.service-hero {
  padding: 76px 0 34px;
}

.service-shell {
  padding-bottom: 90px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-panel,
.action-panel,
.portal-detail-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.88);
  box-shadow: 0 18px 50px rgba(17,29,53,.07);
  padding: 24px;
}

.service-panel h3,
.portal-detail-card h3 {
  margin-bottom: 8px;
}

.action-panel {
  margin-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(145deg, #111d35, #243b67);
  color: #fff;
}

.action-panel p { color: rgba(255,255,255,.72); margin-bottom: 0; }

.portal-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 16px;
}

.portal-detail-card ul {
  margin: 12px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.rotating-message {
  min-height: 48px;
  margin-bottom: 18px;
  padding: 14px 18px;
  border-radius: 18px;
  border: 1px solid rgba(36,107,254,.18);
  background: rgba(36,107,254,.08);
  color: var(--navy);
  font-weight: 850;
}

.pulse-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 rgba(0,168,132,.38);
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(0,168,132,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,168,132,0); }
}

@media (max-width: 900px) {
  .service-grid,
  .portal-tools-grid { grid-template-columns: 1fr; }
  .action-panel { flex-direction: column; align-items: flex-start; }
}
