/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  margin: 0;
  background: url("images.wallpapershrine.jpg")
  no-repeat center center fixed;
  background-size: cover;
  color: #ccc;
  font-family: "Georgia", serif;
  text-align: center;
}

.menu {
  padding-top: 100px;
}

#subtitle-logo {
  width: 100px;           /* smaller than main logo */
  height: auto;
  margin-top: 10px;       /* space below main logo */
  opacity: 0.9;           /* slightly faded for style */
}

.games {
  display: flex;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 50px;
  padding-right: 80px;
}

.game {
  display: flex;
  flex-direction: column; /* ensures image is on top, text below */
  align-items: center;
  gap: 5px;
  color: #bbb;
  text-decoration: none;
  font-size: 18px;
  transition: 0.3s ease;
}

.game img {
  width: 100px;
  height: auto;
  border-radius: 8px;
  opacity: 0.85;
  transition: 0.4s ease;
  box-shadow: 0 0 1px rgba(255,255,255,0.1);
}

.game:hover img {
  opacity: 1;
  box-shadow: 0 0 20px rgba(255,255,255,0.3);
}

.game:hover span {
  color: #fff;
  letter-spacing: 1px;
}


#hover-preview {
  position: absolute;
  left: 0;
  top: 0;
  width: 60vw;
  height: 100vh;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease, transform 1s ease;
  pointer-events: none;
  transform: scale(1.05);

  /* left fully visible, right side fades */
  mask-image: linear-gradient(to right, black 0%, black 70%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black 0%, black 70%, transparent 100%);
}