/* VRK GATE & ESE Academy — APPSC AEE admissions ticker.
   Distinct class names isolate this update from the existing website styling. */
.aee-banner {
  --aee-gold: #ffcf72;
  position: relative;
  z-index: 55;
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: stretch;
  background: linear-gradient(105deg, #071b34 0%, #0d2b4e 55%, #071b34 100%);
  color: #fff;
  box-shadow: inset 0 -1px rgba(255, 255, 255, .12);
  font: 600 13px/1.4 "DM Sans", sans-serif;
  letter-spacing: .005em;
}
.aee-banner-label {
  z-index: 1;
  flex: 0 0 auto;
  padding: 0 18px 0 24px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--aee-gold);
  background: #071b34;
  border-right: 1px solid rgba(255, 255, 255, .15);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .075em;
  white-space: nowrap;
}
.aee-live-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--aee-gold);
  box-shadow: 0 0 0 4px rgba(255, 207, 114, .13);
}
.aee-banner-viewport {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 14px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 14px, #000 calc(100% - 14px), transparent);
}
.aee-banner-track {
  display: flex;
  flex: 0 0 auto;
  width: max-content;
  animation: aee-marquee 54s linear infinite;
  will-change: transform;
}
.aee-banner-message {
  flex: 0 0 auto;
  padding: 0 34px;
  white-space: nowrap;
}
.aee-banner-message strong { color: #fff; font-weight: 800; }
.aee-banner-message strong.aee-highlight { color: var(--aee-gold); }
.aee-separator {
  display: inline-block;
  padding: 0 20px;
  color: #7aa9e0;
  font-size: 11px;
}
.aee-banner-cta {
  z-index: 1;
  flex: 0 0 auto;
  align-self: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--aee-gold);
  color: #071b34;
  border-radius: 8px;
  margin: 0 16px 0 10px;
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  transition: background .2s ease, transform .2s ease;
}
.aee-banner-cta:hover { background: #ffe1a2; transform: translateY(-1px); }
.aee-banner-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.aee-banner-cta .aee-cta-now { margin-left: 3px; }
.aee-banner-cta .aee-cta-arrow { margin-left: 6px; }
.aee-banner:hover .aee-banner-track,
.aee-banner:focus-within .aee-banner-track { animation-play-state: paused; }
@keyframes aee-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 600px) {
  .aee-banner { min-height: 44px; font-size: 12px; }
  .aee-banner-label { padding: 0 10px; gap: 7px; font-size: 10px; letter-spacing: 0; }
  .aee-banner-message { padding: 0 24px; }
  .aee-banner-cta { margin: 0 8px 0 5px; padding: 7px 10px; font-size: 10px; }
  .aee-cta-now { display: none; }
  .aee-separator { padding: 0 12px; }
  .aee-banner-track { animation-duration: 65s; }
}
@media (prefers-reduced-motion: reduce) {
  .aee-banner-viewport {
    overflow-x: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .aee-banner-track { animation: none !important; will-change: auto; }
  .aee-banner-cta { transition: none; }
}
