body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;   /* horizontally center */
  align-items: center;       /* vertically center */
  background-color: #fff;    /* optional background */
}

.icon-orbit-container {
  position: relative;
  width: 1024px;
  height: 800px;
  margin: auto;
}

.center-logo {
  position: absolute;
  width: 300px;
  height: auto;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

.icon {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: auto;

  /* Arrange evenly in a circle */
  transform:
    rotate(calc(var(--i) * 30deg - 90deg))      /* orbit rotation offset by -90deg */
    translateX(250px)
    rotate(calc(-1 * (var(--i) * 30deg - 90deg))) /* counter rotate with same offset */
    translate(-50%, -50%);

  opacity: 0;
  transition: opacity 2s ease-in-out;
}

.icon img {
  width: 100%;
  height: 100%;
  box-shadow: 0 0 10px rgba(255,255,255,0.3);  /* Optional glow */
  display: block;
  object-fit: cover;               /* Ensures image fits the square */
}

/* ====== New corner text styles ====== */

.corner-text {
  position: absolute;
  padding: 10px 15px;
  background: white;             /* White background */
  color: black;                  /* Text color black for contrast */
  border: 2px solid black;       /* 2px solid black border */
  border-radius: 12px;           /* Curved corners */
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  font-size: 16px;
  font-family: monospace;
  text-align: center;
  /* box-shadow: 0 2px 5px rgba(0,0,0,0.15);  /* subtle shadow */
}

/* Position each corner */

.corner-text.top-right {
  top: 30px;
  right: 50px;
}

.corner-text.bottom-right {
  bottom: 30px;
  right: 50px;
}

.corner-text.bottom-left {
  bottom: 30px;
  left: 50px;
}

.corner-text.top-left {
  top: 30px;
  left: 50px;
}
