body, html {
  background: radial-gradient(ellipse at 60% 80%, #eaf6ff 0%, #b3d6f7 60%, #7abaff 100%);
  font-family: 'Roboto', 'Helvetica Neue', Arial, sans-serif;
  color: #222;
  min-height: 100vh;
  width: 100vw;
  overflow: hidden; /* Prevent scrolling */
}

a {
  text-decoration: none;
  }
  
.background-overlay {
  background: radial-gradient(circle at 60% 80%, rgba(255,255,255,0.18) 0%, transparent 70%),
              linear-gradient(135deg, rgba(255,255,255,0.12) 0%, rgba(122,186,255,0.08) 100%);
  opacity: 0.95;
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  width: 100vw;
  gap: 2vw;
  position: relative;
  z-index: 3;
  pointer-events: none;
}

.word {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(1.1em, 3vw, 2em); /* Smaller on desktop */
  font-weight: 700;
  color: #0a2540;
  background: linear-gradient(180deg, rgba(255,255,255,0.65) 0%, rgba(180,220,255,0.25) 100%);
  border-radius: 2em;
  box-shadow:
    0 2px 16px 0 rgba(122,186,255,0.18),
    0 1px 0 #fff,
    0 8px 32px 0px rgba(122,186,255,0.12);
  text-shadow:
    0 1px 0 #fff,
    0 2px 8px #b3d6f7;
  border: 1.5px solid rgba(180,220,255,0.45);
  backdrop-filter: blur(8px) saturate(1.5);
  padding: 0.2em 1em;
  margin: 0.3em 0;
  pointer-events: auto;
  transition: background 0.3s, box-shadow 0.3s, color 0.3s, border 0.3s, font-size 0.3s;
}

.word:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.85) 0%, rgba(180,220,255,0.38) 100%);
  color: #007aff;
  box-shadow:
    0 4px 32px 0 rgba(122,186,255,0.25),
    0 1px 0 #fff,
    0 16px 48px 0px rgba(122,186,255,0.18);
  border: 2px solid #b3d6f7;
}

.arrows {
  display: none;
  }

@media (min-width: 700px) {
  .main {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2vw 4vw;
    min-height: 100vh;
  }
  .word {
    font-size: clamp(1.2em, 2vw, 2.2em); /* Even smaller on desktop */
    padding: 0.2em 1.2em;
    margin: 0.2em 0.7em;
  }
}

/* Corner text: smaller, true corners, pill shape */
.corner {
  position: fixed;
  font-size: 1.3em;
  font-weight: 700;
  color: #0a2540;
  background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(180,220,255,0.25) 100%);
  border-radius: 2em;
  box-shadow:
    0 2px 16px 0 rgba(122,186,255,0.18),
    0 1px 0 #fff,
    0 8px 32px 0px rgba(122,186,255,0.12);
  text-shadow: 0 2px 8px #b3d6f7;
  border: 1.5px solid rgba(180,220,255,0.45);
  padding: 0.3em 1em;
  z-index: 10;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: font-size 0.3s, background 0.3s;
  pointer-events: auto;
}
.corner.bottom-left {
  left: 1vw;
  bottom: 1vw;
  text-align: left;
}
.corner.bottom-right {
  right: 1vw;
  bottom: 1vw;
  text-align: right;
}
.corner:hover {
  background: linear-gradient(180deg, rgba(255,255,255,0.95) 0%, rgba(180,220,255,0.38) 100%);
  color: #007aff;
  font-size: 1.5em;
}
@media (min-width: 700px) {
  .corner {
    font-size: 1.7em;
    padding: 0.4em 1.5em;
  }
}

.silhouettes {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    overflow: hidden;
}

.silhouette {
    filter: blur(2.5px) drop-shadow(0 0 64px #b3d6f7cc);
    opacity: 0.18;
    width: 100vw;
    min-width: 0;
    max-width: 100vw;
    height: 100vh;
    object-fit: cover;
    object-position: top;
    transition: width 0.3s, opacity 0.3s;
    pointer-events: none;
    position: relative;
    top: 0;
    left: 0;
    margin: 0;
}

@media (min-width: 700px) {
    .silhouette {
        width: 100vw;
        min-width: 0;
        max-width: 100vw;
    }
}

.shooting-stars {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
@keyframes shootingStarMove {
  0% {
    opacity: 0;
    transform: translate(0,0) scale(1) rotate(-20deg);
  }
  10% {
    opacity: 1;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(180px, 80px) scale(1.2) rotate(10deg);
  }
}
.shooting-star {
  opacity: 0.13; /* lower opacity */
  filter: brightness(0) invert(1) drop-shadow(0 0 40px #7abaff) drop-shadow(0 0 24px #fff) blur(1px);
  background: linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(180,220,255,0.25) 100%);
  border-radius: 2em;
  box-shadow:
    0 2px 16px 0 rgba(122,186,255,0.18),
    0 1px 0 #fff,
    0 8px 32px 0px rgba(122,186,255,0.12);
  text-shadow: 0 2px 8px #b3d6f7;
  border: 1.5px solid rgba(180,220,255,0.45);
  padding: 0.3em 1em;
  width: 38px;
  height: 38px;
  z-index: 0;
  animation: shootingStarMove 3.5s linear infinite;
}
.shooting-star.star1 { top: 12%; left: 8%; animation-delay: 0s; }
.shooting-star.star2 { top: 22%; right: 12%; animation-delay: 1.2s; }
.shooting-star.star3 { bottom: 18%; left: 18%; animation-delay: 2.1s; }
.shooting-star.star4 { bottom: 10%; right: 10%; animation-delay: 0.7s; }
