/* Door 05: race-control plate over a dedicated, unobscured derby track.
   All new decoration and animation is scoped to the homepage notice. */
.bunker-notice {
  --derby-orange: #ff9a46;
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0 12px;
  box-sizing: border-box;
  width: 100%;
  max-width: 700px;
  margin: 0 0 7px;
  padding: 13px 22px 9px;
  overflow: hidden;
  border: 1px solid #9c704b;
  border-top: 4px solid var(--derby-orange);
  border-bottom: 4px solid #5b4736;
  border-radius: 3px;
  background:
    linear-gradient(110deg, #b36d2c16, transparent 60%),
    #202827;
  box-shadow: inset 0 0 0 5px #111a19;
  color: #f2ebd8;
  text-decoration: none;
}
.bunker-notice::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-right: 7px solid #48504a;
  border-left: 7px solid #48504a;
  box-shadow: inset 2px 0 0 #929280, inset -2px 0 0 #929280;
  pointer-events: none;
}
.bunker-notice::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 5px;
  bottom: 0;
  width: 4px;
  background: repeating-linear-gradient(135deg, #ff9a46 0 6px, #252c27 6px 12px);
  pointer-events: none;
}
.bunker-notice__lamp {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #ffc287;
  border-radius: 2px;
  background: var(--derby-orange);
  box-shadow: inset 0 0 0 3px #ac602b;
  color: #222a25;
  font: 900 1.15rem/1 "Orbitron", sans-serif;
}
.bunker-notice__copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.bunker-notice__title {
  color: #e6bf98;
  font: 700 .57rem/1.5 "JetBrains Mono", monospace;
  letter-spacing: .09em;
}
.bunker-notice__detail {
  color: #f2ebd8;
  font: 900 clamp(.95rem, 1.7vw, 1.25rem)/1.3 "Orbitron", sans-serif;
  letter-spacing: .06em;
}
.bunker-notice__arrow {
  color: var(--derby-orange);
  font: 700 1.6rem/1 "JetBrains Mono", monospace;
  transition: transform .18s ease;
}
.bunker-notice__track {
  display: block;
  grid-column: 1 / -1;
  margin: 10px -5px 8px;
  overflow: hidden;
  border-block: 1px solid #677061;
  background:
    repeating-linear-gradient(0deg, transparent 0 5px, #c5bf9710 5px 6px),
    #131e1d;
}
.bunker-notice__oval {
  display: block;
  width: 100%;
  height: auto;
  max-height: 132px;
}
.bunker-notice__infield {
  fill: #b8bd9e;
  font: 700 10px "JetBrains Mono", monospace;
  letter-spacing: 2px;
}
.bunker-notice__racer { color: #ff821c; }
.bunker-notice__racer--sage { color: #78e64b; }
.bunker-notice__racer--coral { color: #ff5068; }
.bunker-notice__members {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 9px;
  padding: 4px 8px;
  border: 1px solid #dd9b60;
  border-left: 3px solid var(--derby-orange);
  border-radius: 2px;
  background: #413426;
  color: #ffd1a4;
  font: 800 .62rem/1.4 "JetBrains Mono", monospace;
  letter-spacing: .07em;
}
.bunker-notice__sparks {
  pointer-events: none;
  stroke: #ffad52;
  stroke-width: 1.8;
  stroke-linecap: round;
}
.bunker-notice__status {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 5px 16px;
  color: #b9bdae;
  font: 700 .59rem/1.6 "JetBrains Mono", monospace;
  letter-spacing: .025em;
}
.bunker-notice__live { color: #ffc18b; }
.bunker-notice__live::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin: 0 6px 1px 0;
  background: var(--derby-orange);
}
.bunker-notice:hover { border-color: #ffc18b; }
.bunker-notice:hover .bunker-notice__arrow { transform: translateX(3px); }
.bunker-notice:focus-visible { outline: 3px solid #ffc18b; outline-offset: 4px; }
@media (max-width: 480px) {
  .bunker-notice { grid-template-columns: 36px minmax(0, 1fr) 18px; gap: 0 9px; padding: 11px 18px 8px; }
  .bunker-notice__lamp { width: 36px; height: 38px; font-size: 1rem; }
  .bunker-notice__title { font-size: .51rem; letter-spacing: .02em; }
  .bunker-notice__detail { font-size: clamp(.82rem, 3.8vw, 1.1rem); letter-spacing: .02em; }
  .bunker-notice__status { font-size: .55rem; gap: 4px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .bunker-notice__sparks { display: none; }
  .bunker-notice__arrow { transition: none; }
  .bunker-notice:hover .bunker-notice__arrow { transform: none; }
}
@media (forced-colors: active) {
  .bunker-notice { background: Canvas; color: LinkText; border-color: LinkText; }
  .bunker-notice__title, .bunker-notice__detail, .bunker-notice__status, .bunker-notice__live, .bunker-notice__arrow { color: LinkText; }
  .bunker-notice__lamp { background: Canvas; color: LinkText; border-color: LinkText; box-shadow: none; }
  .bunker-notice::before, .bunker-notice::after { border-color: LinkText; box-shadow: none; }
  .bunker-notice__racer { color: LinkText; }
  .bunker-notice__members { background: Canvas; color: LinkText; border-color: LinkText; }
}

/* A standalone military access plate. Intentionally scoped to this entry only. */
.bunker-entry {
  --bunker-ink: #e6e8cb;
  --bunker-olive: #bdc58c;
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  gap: 18px;
  box-sizing: border-box;
  width: 100%;
  max-width: 700px;
  min-height: 100px;
  margin: 12px 0 8px;
  padding: 21px 27px 23px;
  overflow: hidden;
  border: 1px solid #71795a;
  border-radius: 5px;
  background:
    linear-gradient(105deg, #78805224, transparent 58%),
    linear-gradient(180deg, #30382f, #1d2523);
  box-shadow: inset 0 1px 0 #d9dfb51f, inset 0 0 0 5px #121b193b;
  color: var(--bunker-ink);
  text-decoration: none;
  transition: transform .18s ease;
}
.bunker-entry::before {
  content: "";
  position: absolute;
  inset: 7px;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 3px 3px, #151e1c 1px, #939b77 1.5px, #535c48 3px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 3px) 3px, #151e1c 1px, #939b77 1.5px, #535c48 3px, transparent 3.5px),
    radial-gradient(circle at 3px calc(100% - 3px), #151e1c 1px, #939b77 1.5px, #535c48 3px, transparent 3.5px),
    radial-gradient(circle at calc(100% - 3px) calc(100% - 3px), #151e1c 1px, #939b77 1.5px, #535c48 3px, transparent 3.5px);
}
.bunker-entry::after {
  content: "";
  position: absolute;
  right: 25px;
  bottom: 0;
  left: 25px;
  height: 4px;
  background: repeating-linear-gradient(125deg, #acb37b 0 7px, #222b25 7px 14px);
  opacity: .65;
  pointer-events: none;
}
.bunker-entry__hatch {
  flex: 0 0 42px;
  width: 42px;
  height: 48px;
  color: var(--bunker-olive);
}
.bunker-entry__copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.bunker-entry__label {
  color: var(--bunker-olive);
  font: 700 .63rem/1.4 "JetBrains Mono", monospace;
  letter-spacing: .18em;
}
.bunker-entry__title {
  color: var(--bunker-ink);
  font: 900 clamp(1.1rem, 2.1vw, 1.55rem)/1.15 "Orbitron", sans-serif;
  letter-spacing: .09em;
  /* Fine breaks in the paint give the existing display face a stencil finish. */
  background: repeating-linear-gradient(90deg, var(--bunker-ink) 0 17px, #929b79 17px 18px, var(--bunker-ink) 18px 34px);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.bunker-entry__arrow {
  display: grid;
  flex: 0 0 35px;
  width: 35px;
  height: 35px;
  margin-left: auto;
  place-items: center;
  border: 1px solid #88926b;
  border-radius: 2px;
  color: var(--bunker-ink);
  background: #b0bb7e12;
  font: 500 1.3rem/1 "JetBrains Mono", monospace;
}
.bunker-entry:hover { transform: translateY(-2px); }
.bunker-entry__beacon {
  position: absolute;
  top: 9px;
  width: 62px;
  height: 8px;
  overflow: hidden;
  border: 1px solid #be941e;
  border-radius: 3px;
  background: repeating-linear-gradient(90deg, #665016 0 5px, #302b15 5px 7px);
  box-shadow: 0 0 10px #ffc40055, inset 0 0 3px #000;
  pointer-events: none;
}
.bunker-entry__beacon--left { left: 25px; }
.bunker-entry__beacon--right { right: 25px; }
.bunker-entry__beacon::after {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 24px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, #ffcf24 25%, #fff7b0 50%, #ffcf24 75%, transparent);
  box-shadow: 0 0 9px #ffd326;
  animation: bunker-hazard-scan 1.8s ease-in-out infinite alternate;
}
.bunker-entry__beacon--right::after { animation-direction: alternate-reverse; }
@keyframes bunker-hazard-scan {
  from { transform: translateX(0); }
  to { transform: translateX(38px); }
}
.bunker-entry:focus-visible { outline: 3px solid #d8dfa0; outline-offset: 4px; }
@media (max-width: 480px) {
  .bunker-entry { gap: 12px; min-height: 92px; padding: 19px 20px 21px; }
  .bunker-entry__hatch { flex-basis: 32px; width: 32px; height: 40px; }
  .bunker-entry__label { font-size: .59rem; letter-spacing: .12em; }
  .bunker-entry__title { font-size: clamp(.95rem, 4.6vw, 1.3rem); letter-spacing: .05em; }
  .bunker-entry__arrow { flex-basis: 28px; width: 28px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .bunker-entry__beacon::after { animation: none; transform: translateX(19px); }
  .bunker-entry { transition: none; }
  .bunker-entry:hover { transform: none; }
}
@media (forced-colors: active) {
  .bunker-entry__title { background: none; -webkit-text-fill-color: currentColor; }
}

/* Match the existing action stack's 14px gap across its outer siblings too. */
.hero-copy > .unlock-sign.fire-sale {
  margin-bottom: 14px;
}
.hero-copy > .bunker-entry {
  margin-top: 0;
  margin-bottom: 14px;
}
.hero-copy > .hero-cta {
  margin-top: 0;
  gap: 14px;
}
.hero-copy > .hero-cta > :is(a, button) {
  margin-top: 0;
  margin-bottom: 0;
}
