.resume-wrap {
  text-align: center;
  padding: 16px 0 30px;
}

.chest {
  display: inline-block;
  cursor: pointer;
  margin-bottom: 24px;
}

.chest-lid {
  width: 96px; height: 34px;
  background: linear-gradient(180deg, #a07a18, var(--wood));
  border: 5px solid var(--wood-dk);
  border-bottom: none;
  margin: 0 auto;
  transform-origin: bottom;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.chest-lid::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 7px;
  background: rgba(255, 255, 255, 0.18);
}

.chest:hover .chest-lid { transform: rotateX(-115deg); }

.chest-body {
  width: 96px; height: 64px;
  background: var(--wood);
  border: 5px solid var(--wood-dk);
  margin: 0 auto;
  position: relative;
}

.chest-body::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 18px; height: 18px;
  background: var(--gold);
  border: 3px solid var(--wood-dk);
}

.btn-download {
  display: inline-block;
  background: var(--grass);
  color: #fff;
  border: 4px solid var(--grass-hi);
  padding: 14px 28px;
  font-family: 'Press Start 2P', monospace;
  font-size: 12px;
  text-decoration: none;
  box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.4);
  transition: transform 0.1s, box-shadow 0.1s;
}

.btn-download:hover  { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.4); }
.btn-download:active { transform: translate(2px, 2px);   box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.4); }

.resume-hint {
  font-family: 'VT323', monospace;
  font-size: 17px;
  color: rgba(0, 0, 0, 0.45);
  margin-top: 12px;
}
.chest {
  position: relative;
}

.chest-flower {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.chest:hover .chest-flower {
  opacity: 1;
  transform: translateX(-50%) translateY(-8px);
}

.tulip {
  display: flex;
  flex-direction: column;
  align-items: center;
  image-rendering: pixelated;
}

.px       { width: 8px; height: 8px; }
.t-empty  { background: transparent; }
.t-dark   { background: #cc5500; }
.t-main   { background: #ff7722; }
.t-light  { background: #ffaa55; }
.t-stem   { background: #3a8c2f; }
.t-leaf   { background: #2d7024; }