/* The apps list: a card per app in that app's own look, on the site's night
   sky. */

.apps {
  position: relative;
  max-width: 824px;
  margin: 0 auto;
  padding: 24px 16px 8px;
  text-align: center;
}

.app {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  overflow: hidden;
  text-align: left;
}

.app .icon { flex: none; width: 64px; height: 64px; border-radius: 14px; }

.app .words { position: relative; z-index: 2; }

.app .name {
  display: block;
  font: 400 22px/1.2 var(--heading);
  text-transform: uppercase;
}

.app .line {
  display: block;
  margin-top: 2px;
  color: var(--ink-soft);
  font: 400 18px/1.3 var(--heading);
  letter-spacing: 0.3px;
}

.app .points {
  margin: 12px 0 0;
  padding: 0 0 0 18px;
  font: 400 17px/1.55 var(--heading);
  letter-spacing: 0.3px;
}

.app .go {
  position: relative;
  z-index: 2;
  align-self: center;
  margin-left: auto;
  font-size: 26px;
}

/* Runic Order's card: black under a gold edge, and Odin's painting on the
   right, fading into the black. */
.app.runic-order {
  border: 1px solid rgba(217, 180, 91, 0.65);
  border-radius: 12px;
  background: #000;
}

.app.runic-order .icon { position: relative; z-index: 2; }
.app.runic-order .name,
.app.runic-order .go { color: var(--gold); }
.app.runic-order .points li::marker { color: var(--gold); }

.app.runic-order .painting {
  position: absolute;
  z-index: 1;
  top: -2%;
  right: 0;
  width: 46%;
  height: auto;
  -webkit-mask-image:
    linear-gradient(to right, transparent, #000 50%),
    linear-gradient(to bottom, #000 75%, transparent);
  -webkit-mask-composite: source-in;
  mask-image:
    linear-gradient(to right, transparent, #000 50%),
    linear-gradient(to bottom, #000 75%, transparent);
  mask-composite: intersect;
}

@media (max-width: 600px) {
  .app.runic-order .painting { width: 60%; opacity: 0.55; }
}
