/* Agency Arcade — retro cabinet hub for Training Division sims */
.aa-body {
  --aa-amber: #ffb84d;
  --aa-cyan: #5ee7ff;
  --aa-mag: #ff4fd8;
  --aa-pink: #ff6bb5;
  --aa-dim: #9aa8bc;
  --aa-panel: #0a0e18;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(255, 184, 77, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 80%, rgba(94, 231, 255, 0.08), transparent 50%),
    #05070e;
  color: #e8eef8;
  min-height: 100dvh;
}

.aa-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 1rem 1.1rem 3rem;
}

.aa-marquee {
  font-family: var(--mono, ui-monospace, Consolas, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--aa-amber);
  border: 2px solid rgba(255, 184, 77, 0.45);
  background: linear-gradient(180deg, #1a1208 0%, #0c0a06 100%);
  padding: 0.65rem 0.75rem;
  margin: 0.75rem 0 1.25rem;
  box-shadow: 0 0 24px rgba(255, 184, 77, 0.15), inset 0 0 20px rgba(255, 184, 77, 0.05);
  animation: aa-blink 1.6s step-end infinite;
}

@keyframes aa-blink {
  50% { opacity: 0.85; }
}

.aa-kicker {
  font-family: var(--mono, ui-monospace, Consolas, monospace);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  color: var(--aa-cyan);
  text-transform: uppercase;
  margin: 0 0 0.35rem;
}

.aa-wrap h1 {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  margin: 0 0 0.4rem;
  letter-spacing: 0.06em;
  text-shadow: 0 0 18px rgba(255, 184, 77, 0.35);
}

.aa-lede {
  color: var(--aa-dim);
  max-width: 42rem;
  line-height: 1.5;
  margin: 0 0 1.5rem;
  font-size: 0.98rem;
}

.aa-cabinets {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
  margin-bottom: 1.75rem;
}

@media (max-width: 900px) {
  .aa-cabinets { grid-template-columns: 1fr; max-width: 420px; margin-left: auto; margin-right: auto; }
}

.aa-cab {
  display: flex;
  flex-direction: column;
  background: var(--aa-panel);
  border: 3px solid rgba(255, 184, 77, 0.35);
  border-radius: 8px 8px 4px 4px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
}

.aa-cab:hover,
.aa-cab:focus-visible {
  transform: translateY(-4px);
  border-color: var(--aa-cyan);
  box-shadow: 0 0 28px rgba(94, 231, 255, 0.2), 0 16px 36px rgba(0, 0, 0, 0.5);
  outline: none;
}

.aa-cab-bezel {
  background: #12161f;
  padding: 0.55rem 0.65rem 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.aa-cab-tag {
  font-family: var(--mono, ui-monospace, Consolas, monospace);
  font-size: 0.58rem;
  letter-spacing: 0.14em;
  color: var(--aa-amber);
  margin: 0 0 0.35rem;
}

.aa-cab-screen {
  position: relative;
  aspect-ratio: 4 / 3;
  background: #000;
  overflow: hidden;
  border: 2px solid #000;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.8);
}

.aa-cab-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: contrast(1.05) saturate(1.1);
}

.aa-cab-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 2px,
    rgba(0, 0, 0, 0.12) 2px,
    rgba(0, 0, 0, 0.12) 3px
  );
  pointer-events: none;
  opacity: 0.4;
}

.aa-cab-body {
  padding: 0.85rem 0.9rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.aa-cab-body h2 {
  font-size: 1.05rem;
  margin: 0 0 0.35rem;
  letter-spacing: 0.04em;
  color: #fff;
}

.aa-cab-body p {
  font-size: 0.82rem;
  color: var(--aa-dim);
  line-height: 1.4;
  margin: 0 0 0.75rem;
  flex: 1;
}

.aa-cab-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.aa-cab-meta span {
  font-family: var(--mono, ui-monospace, Consolas, monospace);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
  padding: 0.2rem 0.4rem;
  border: 1px solid rgba(94, 231, 255, 0.35);
  color: var(--aa-cyan);
}

.aa-cab-meta .aa-warn {
  border-color: rgba(255, 107, 107, 0.5);
  color: #ff8a8a;
}

.aa-cab-play {
  font-family: var(--mono, ui-monospace, Consolas, monospace);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-align: center;
  padding: 0.55rem;
  background: linear-gradient(180deg, #2a1f0a 0%, #1a1408 100%);
  border: 1px solid rgba(255, 184, 77, 0.55);
  color: var(--aa-amber);
  border-radius: 2px;
}

.aa-cab:hover .aa-cab-play {
  background: linear-gradient(180deg, #3a2a10 0%, #241a0a 100%);
  color: #ffe0a0;
}

.aa-cab-sunburn { border-color: rgba(255, 140, 60, 0.45); }
.aa-cab-parade { border-color: rgba(255, 79, 216, 0.4); }
.aa-cab-street { border-color: rgba(94, 231, 255, 0.45); }

.aa-foot {
  font-family: var(--mono, ui-monospace, Consolas, monospace);
  font-size: 0.7rem;
  color: var(--aa-dim);
  letter-spacing: 0.04em;
  border-top: 1px dashed rgba(255, 184, 77, 0.25);
  padding-top: 1rem;
}

.aa-foot a { color: var(--aa-cyan); }

@media (prefers-reduced-motion: reduce) {
  .aa-marquee { animation: none; }
  .aa-cab { transition: none; }
}
