/* Landing page styles (migrated from style.css)
   Uses .tile-button / .tile-* classes. */

body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  color: #222;
  margin: 0;
  cursor: url(images/cursor/rhnormalhands.png), auto;
}

.tile-button,
a,
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="image"],
[role="button"] {
  cursor: url("images/cursor/rhlinkselect.png"), pointer;
}

body.landing-page {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  background: url("images/Landing/tablebg.jpg") center/cover no-repeat;
  font-family: Arial, sans-serif;
  color: transparent;
}

.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #040453;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne Mono', monospace;
  font-size: 1.5rem;
  text-align: center;
  padding: 0 12px;
  box-sizing: border-box;
  z-index: 10;
}

.landing-links {
  position: relative;
  width: 100vw;
  height: calc(100vh - 50px);
  margin-top: 50px;
}

.tile-button {
  position: absolute;
  display: block;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease;
  transform: none;
}

.tile-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: filter 0.3s ease, transform 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.tile-button:hover {
  transform: scale(1.06);
}

.tile-button:hover::before {
  filter: blur(4px);
  transform: scale(1.12);
}

.tile-computer {
  top: 7%;
  left: 18%;
  width: 400px;
  height: 400px;
}

.tile-guestbook {
  bottom: 8%;
  left: 32%;
  width: 350px;
  height: 350px;
}

.tile-about {
  top: 4%;
  right: 27%;
  width: 450px;
  height: 450px;
}

.tile-friends {
  bottom: 1%;
  right: 12%;
  width: 450px;
  height: 450px;
}

.tile-computer::before {
  background-image: url("images/Landing/computer-mouse.png");
}

.tile-guestbook::before {
  background-image: url("images/Landing/guestbook.png");
}

.tile-about::before {
  background-image: url("images/Landing/about-lilguy.png");
}

.tile-friends::before {
  background-image: url("images/Landing/friends-polaroid.png");
}

.tile-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'Syne Mono', monospace;
  font-size: 26px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
  z-index: 2;
  pointer-events: none;
  text-shadow: 3px 2px 6px rgba(0,0,0,0.9);
  text-transform: lowercase;
}

.tile-button:hover .tile-label {
  opacity: 1;
}

@media (max-width: 1440px) {

  .top-banner {
  height: 65px;
  font-size: 1.2rem;
}

  .tile-computer {
    top: 8%;
    left: 8%;
    width: 340px;
    height: 340px;
  }

  .tile-about {
    top: 8%;
    right: 18%;
    width: 340px;
    height: 340px;
  }

  .tile-guestbook {
    bottom: 10%;
    left: 32%;
    width: 300px;
    height: 300px;
  }

  .tile-friends {
    bottom: 10%;
    right: 8%;
    width: 320px;
    height: 320px;
  }
}

@media (max-width: 1024px) {

  .tile-computer,
  .tile-about,
  .tile-friends,
  .tile-guestbook {
    width: 280px;
    height: 280px;
  }

  .tile-guestbook {
    left: 20%;
  }
}

@media (max-width: 760px) {
  body.landing-page {
    min-height: 100vh;
    overflow-y: auto;
    background: url("images/Landing/mobile-tablebg.jpg") top center / cover no-repeat;
  }
.top-banner {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-color: #040453;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Syne Mono', monospace;
  font-size: 1.5rem;
  text-align: center;
  padding: 0 12px;
  box-sizing: border-box;
  z-index: 10;
}
.top-banner {
  height: 70px;
  font-size: 1rem;
}

  .landing-links {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 24px;
    padding: 20px 0 40px;
    height: auto;
    margin-top: 50px;
  }

  .tile-button {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    bottom: auto;
    width: min(88vw, 420px);
    height: min(88vw, 420px);
    max-height: 420px;
    margin: 0;
    background-size: contain;
  }

  .tile-label {
    opacity: 1;
    font-size: 1.35rem;
    border-radius: 14px;
    padding: 0.2rem 0.6rem;
    text-shadow: 0 1px 6px rgba(0,0,0,0.7);
  }
}

