
* {
  box-sizing: border-box;
}


body {
  margin: 0;
  min-height: 100vh;
  font-family: "SiteFont", sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-x: hidden;

  background:
    radial-gradient(circle at 10% 10%, #b8ffa6 0 120px, transparent 121px),
    radial-gradient(circle at 90% 20%, #ffe8d3 0 140px, transparent 141px),
    radial-gradient(circle at 20% 90%, #ffc7e9 0 160px, transparent 161px),
    linear-gradient(180deg, #b7ecff 0%, #d8fff0 60%, #fff5d6 100%);
}

.cloud {
  width: 250px;
  height: 180px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  z-index: 3
}
.back-btn {
  position: fixed;
  top: 20px;
  left: 20px;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(6px);
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
}



.c1 { background-image: url("/assets/images/cloudp1.png"); top: 70px; left: 84%; animation: float1 8s ease-in-out infinite; }
.c2 { background-image: url("/assets/images/cloudp2.png"); top: 160px; left: 8%; animation: float2 10s ease-in-out infinite; }
.c3 { background-image: url("/assets/images/cloudp3.png"); top: 260px; left: 70%; animation: float1 12s ease-in-out infinite; }

@keyframes float1 {
  0%,100% { transform: translateX(0); }
  50% { transform: translateX(-30px); }
}

@keyframes float2 {
  0%,100% { transform: translateX(0); }
  50% { transform: translateX(35px); }
}

@font-face {
  font-family: "SiteFont";
  src: url("/assets/fonts/main-font/site-font.woff2") format("woff2"),
       url("/assets/fonts/main-font/site-font.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

.eyes {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 14px;
  transition: transform 0.3s ease;
  z-index: 5;
}

.c1 .eyes-set-1 { bottom: 80px; left: 33%; gap: 12px; }
.c1 .eyes-set-2 { bottom: 80px; left: 75%; gap: 12px; }
.eyes-c2 { bottom: 75px; left: 40%; gap: 12px; }
.eyes-c3 { bottom: 80px; left: 40%; gap: 12px; }

.eye {
  width: 18px;
  height: 18px;
  background: #fff;
  border-radius: 0;
  position: relative;
  overflow: hidden;
}

.eye::before {
  content: "";
  position: absolute;
  inset: 3px;
  background: #dbdbdb00;
  border-radius: 50%;
}

.eye i {
  position: absolute;
  width: 9px;
  height: 9px;
  background: #000000;
  border-radius: 0%;
  top: 6px;
  left: 6px;
  transition: transform 0.05s linear;
  z-index: 5;
}

.eye::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 50%;
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.1s ease-in-out;
  z-index: 10;

}

.eye.blink::after {
  transform: scaleY(1);
}


.games {
  position: relative;;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-inline: auto;
  gap: 20px;
  width: auto;
  max-width: auto;
  z-index: 3;
}

a {
  text-decoration: none;
}

.game-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 40px;
  padding: 20px;
  text-align: center;
  font-size: 1.2rem;
  font-weight: bold;
  color: #33333300;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0);
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: 'Minecraft';
  
}

.game-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 25px rgba(59, 206, 216, 0.788);
}

.game-btn img {
  width: 400px;
  height: 200px;
  object-fit: contain;
  margin-bottom: 12px;
}

.smile {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) scale(0.7);
  width: 70px;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.cloud:hover .moustache {
  transform: translateX(-50%) translateY(-18px);
}

.cloud:hover .smile {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.cloud:hover .eyes {
  transform: translateX() translateY(0px);
}

footer {
  margin-top: 40px;
  font-size: 0.9rem;
  color: #555;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #ffd3e7;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: #c7f7ff;
  border-radius: 10px; 
  border: 3px solid #f0f0f0;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #fff6a6;
}

@media (max-width: 768px) {

  body {
    padding: 10px;
  }


  .cloud {
    height: 120px;
  }

  .c1 {
    width: 200px;
    top: 40px;
    left: 20%;
    transform: translateX(-50%);
  }

  .c2 {
    width: 150px;
    top: 150px;
    left: 0%;
  }

  .c3 {
    width: 180px;
    top: 230px;
    left: 55%;
  }

  .eyes {
    gap: 10px;
  }

  .eye {
    width: 14px;
    height: 14px;
  }

  .eye i {
    width: 7px;
    height: 7px;
    top: 4px;
    left: 4px;
  }

  .c1 .eyes-set-1 {
    bottom: 55px;
    left: 30%;
  }

  .c1 .eyes-set-2 {
    bottom: 55px;
    left: 70%;
  }

  .eyes-c2 {
    bottom: 50px;
    left: 42%;
  }

  .eyes-c3 {
    bottom: 55px;
    left: 42%;
  }

  .smile {
    width: 50px;
    bottom: -4px;
  }

}










