/* "Cómo llegar" page: venue picker on top, registration hours, then one block per venue.
   Reuses .c3-wire, .c3-prog and .c3-blink from landing.css and .pixel-btn from diorama.css */

.ll-hero {
  background-image: url("/images/background.png");
  background-position: right top;
  background-repeat: no-repeat;
}

.ll-hero .hero-body {
  padding-bottom: 2rem;
}

.ll-cmd {
  margin: 1.4rem 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #4dff88;
  text-align: center;
}

.ll-cmd .p {
  color: #ff86c8;
}

/* ---- venue picker ---- */
.ll-pick {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 720px;
  margin: 2.6rem auto 0;
}

.ll-pick .c3-wire {
  max-width: 200px;
  opacity: 0;
  animation: ll-fade 0.4s steps(4) 0.9s forwards;
}

.ll-venue {
  --accent: #ff86c8;
  display: flex;
  flex: 0 1 230px;
  flex-direction: column;
  align-items: center;
  padding: 20px 16px 18px;
  text-align: center;
  color: #fff;
  background: rgba(10, 10, 10, 0.88);
  border: 3px solid #fff;
  box-shadow: 6px 6px 0 var(--accent);
  animation: ll-in-left 0.6s steps(6) both;
  transition: transform 0.08s, box-shadow 0.08s, border-color 0.08s;
}

.ll-venue + .c3-wire + .ll-venue {
  animation-name: ll-in-right;
  animation-delay: 0.25s;
}

.ll-venue:hover,
.ll-venue:focus-visible {
  color: #fff;
  border-color: var(--accent);
  transform: translate(-3px, -3px);
  box-shadow: 9px 9px 0 var(--accent);
}

.ll-venue:active {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--accent);
}

.ll-scene {
  position: relative;
  display: block;
  width: 128px;
  height: 148px;
}

.ll-bld {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 128px;
  height: 112px;
  shape-rendering: crispEdges;
}

.ll-bld .w {
  fill: #3a3352;
}

/* windows lighting up and going dark, like late afternoon at the venue */
.ll-bld .on {
  animation: ll-light 4s steps(1) infinite;
}

.ll-bld .door {
  fill: var(--accent);
}

.ll-pin {
  position: absolute;
  top: 0;
  left: 50%;
  width: 28px;
  height: 36px;
  margin-left: -14px;
  shape-rendering: crispEdges;
  fill: var(--accent);
  animation: ll-bob 1.2s steps(3) infinite;
}

.ll-venue:hover .ll-pin,
.ll-venue:focus-visible .ll-pin {
  fill: #fff;
  animation-duration: 0.5s;
}

.ll-city {
  display: block;
  margin-top: 16px;
  font-weight: 400;
  font-size: 13px;
  line-height: 1.4;
  text-transform: uppercase;
}

.ll-name {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: var(--accent);
}

.ll-go {
  display: block;
  margin-top: 16px;
  padding: 8px 10px 7px;
  font-size: 10px;
  line-height: 1.2;
  color: #0a0a0a;
  background: var(--accent);
}

.ll-go i {
  display: inline-block;
  font-style: normal;
  animation: ll-nudge 1s steps(2) infinite;
}

@keyframes ll-in-left {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
}

@keyframes ll-in-right {
  from {
    opacity: 0;
    transform: translateX(60px);
  }
}

@keyframes ll-fade {
  to {
    opacity: 1;
  }
}

@keyframes ll-bob {
  50% {
    transform: translateY(-8px);
  }
}

@keyframes ll-nudge {
  50% {
    transform: translateY(3px);
  }
}

@keyframes ll-light {
  0% {
    fill: #3a3352;
  }
  30% {
    fill: #ffd84a;
  }
  85% {
    fill: #3a3352;
  }
}

/* ---- registration hours ---- */
.ll-reg {
  max-width: 640px;
  margin: 0 auto;
}

.ll-reg .c3-prog {
  margin-top: 2rem;
}

/* ---- venue blocks ---- */
.ll-sede {
  --accent: #ff86c8;
}

.ll-sede .hero-body {
  padding-top: 4rem;
}

.ll-kicker {
  margin-bottom: 1rem;
  font-size: 11px;
  line-height: 1.6;
  color: var(--accent);
  text-transform: uppercase;
}

/* arriving from the picker: the kicker blinks a few times to mark the venue */
.ll-sede:target .ll-kicker {
  animation: c3-blink 0.4s steps(1) 4;
}

.ll-facts {
  margin: 0 0 1.6rem;
  padding: 0;
  list-style: none;
}

.ll-facts li {
  padding: 12px 14px;
  font-size: 12px;
  line-height: 1.8;
  background: #15111f;
  border: 3px solid #2e2742;
  border-left: 6px solid var(--accent);
}

.ll-facts li + li {
  margin-top: 10px;
}

.ll-facts span {
  display: block;
  margin-bottom: 4px;
  font-size: 10px;
  color: var(--accent);
  text-transform: uppercase;
}

.ll-text {
  font-size: 12px;
  line-height: 1.9;
  color: #e4e1ee;
}

.ll-photo {
  margin: 1.2rem 0 0;
  border: 3px solid #fff;
  box-shadow: 6px 6px 0 var(--accent);
}

.ll-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.ll-photo figcaption {
  padding: 8px 10px;
  font-size: 10px;
  line-height: 1.6;
  color: #c3bed3;
  background: #0a0a0a;
  border-top: 3px solid #fff;
}

.ll-map {
  display: block;
  width: 100%;
  height: 380px;
  border: 3px solid #fff;
}

.ll-sede .buttons {
  margin-top: 1.4rem;
}

.ll-back {
  display: inline-block;
  margin-top: 2.2rem;
  font-size: 11px;
  color: #9791ad;
}

.ll-back:hover {
  color: #fff;
}

/* narrow phones: stack the two venues with a vertical wire (as in .c3-link) */
@media screen and (max-width: 480px) {
  .ll-pick {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 280px;
  }

  .ll-venue {
    flex: 0 0 auto;
  }

  .ll-venue + .c3-wire + .ll-venue {
    animation-name: ll-in-left;
  }

  .ll-scene {
    width: 96px;
    height: 112px;
  }

  .ll-bld {
    width: 96px;
    height: 84px;
  }

  .ll-map {
    height: 300px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ll-venue,
  .ll-pick .c3-wire,
  .ll-pin,
  .ll-go i,
  .ll-bld .on,
  .ll-sede:target .ll-kicker {
    animation: none !important;
    opacity: 1;
  }

  .ll-venue {
    transition: none;
  }
}
