* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  width: 100%;
  background-color: black;
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden;
  background-image: url("Background3.png");
  background-size: cover;
  background-position: center;
}
.robot {
  height: clamp(2rem, 2vw, 20rem);
  width: clamp(3rem, 3vw, 20rem);
  background: linear-gradient(120deg, rgb(105, 0, 0), rgb(255, 0, 0));
  border-radius: 15%;

  box-shadow: 0px 0px 15px rgb(255, 0, 0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.top {
  display: flex;
  gap: 0.7rem;
}
.robot-eye {
  background-color: rgb(255, 255, 255);
  height: 7px;
  width: 7px;
  border-radius: 50%;
  position: relative;
}
.mouth {
  height: 10px;
  width: 15px;
  border-radius: 50%;
  border-bottom: 2px solid rgb(255, 255, 255);
}
.robot-container {
  position: absolute;
  top: 3vh;
  display: flex;
  align-items: center;
  flex-direction: column;
  animation: float 4s ease infinite;
  gap: 3px;
}
.copter {
  width: 2.2rem;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.432);
  border-radius: 200px;
  animation: coperRotate 0.15s linear infinite;
}

main {
  width: clamp(22rem, 25vw, 50rem);
  height:90vh;
  margin-top: 12vh;
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 3rem;
  box-shadow:
    0px 0px 10px rgb(255, 0, 0),
    0px 0px 5px 1px white inset;
  margin-bottom: 2rem;
  background: rgba(155, 155, 155, 0.166);
  backdrop-filter: blur(2.5px); /* blur behind */
  -webkit-backdrop-filter: blur(2.5px);
  align-items: center;
}

.logo {
  background-image: url("rasel.jpg.JPEG");
  background-size: cover;
  height: clamp(5rem, 7vw, 29rem);
  width: clamp(5rem, 7vw, 29rem);
  border-radius: 50%;
  border: 0.2rem solid rgb(209, 0, 0);
  box-shadow: 0px 0px 50px 6px rgb(255, 0, 0);
  margin-bottom:0.2rem;
  flex-shrink: 0;
}

main h1 {
  color: rgb(255, 0, 0);
  text-shadow: 0px 0px 30px rgb(243, 0, 0);
  font-size: clamp(3rem, 3vw, 10rem);
  font-family: "NameFont";
}
main p {
  color: white;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bolder;
  margin-bottom:0.5rem;
}
.links {
  width: clamp(4rem, 90%, 100rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height:60%;
  justify-content: center;
  align-items: center;
  margin-top:0.4rem;
}
.links a {
  width: 100%;
  display: flex;
  justify-content: center;
}
.link {
  width: 80%;
  border-radius: 1rem;
  height:clamp(2rem,6vh,10rem);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2%;
  box-shadow: 0px 0px 3px rgb(255, 0, 0);
  cursor: pointer;
  transition: all 0.1s ease-in-out;
  background: rgba(197, 197, 197, 0.014);
  backdrop-filter: blur(5px);
  background:rgba(148, 148, 148, 0.062);
}
.link:hover {
  box-shadow: 0px 0px 20px 5px rgb(255, 0, 0);
}
.link p {
  color: white;
  font-family: Arial, Helvetica, sans-serif;
  font-family: "LinkFont";
  font-weight: 400;
  margin: 0;
  padding: 0;
}
.link img {
  width: 10%;
}
.insta {
  filter: drop-shadow(0px 0px 10px rgb(255, 0, 234));
}
.tele {
  filter: drop-shadow(0px 0px 10px rgb(47, 0, 255));
}
.Tiktok {
  filter: drop-shadow(0px 0px 10px rgb(255, 255, 255));
  width: 10% !important;
}
.youtube {
  filter: drop-shadow(0px 0px 10px rgb(255, 0, 0));
}
.Discord {
  filter: drop-shadow(0px 0px 10px rgb(0, 110, 255));
}
.shopping {
  width: 8% !important;
  filter: drop-shadow(0px 0px 10px rgb(255, 255, 255));
}
.AE {
  position: absolute;
  width: 8rem;
  left: 60vw;
  filter: drop-shadow(0px 0px 30px rgb(153, 0, 255));
  animation: float 6s ease infinite;
}
.AM {
  position: absolute;
  width: 8rem;
  right: 62vw;
  top: 70vh;
  filter: drop-shadow(0px 0px 30px rgb(0, 255, 34));
  animation: float 5s ease infinite;
}

a {
  text-decoration: none;
  color: white;
}
.robot-eye::before {
  content: "";
  position: absolute;
  background-color: rgb(125, 0, 209);
  top: 0px;
  width: 100%;
  height: 0%;
  border-radius: 50%;
  animation: blink 4s infinite;
}
/* RESPONSIVE robot + spotlight setup */

.robot-container {
  position: absolute;
  top: 3vh;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 0.3rem;
  transition: all 1.5s ease-in-out;
  z-index: 100;
}

/* spotlight scales with screen */
/* TORCH LIGHT beam from robot → right side */

.spotlight {
  position: absolute;
  top: -2vw; /* adjust beam start position */
  left: 100%; /* starts from right side of robot */

  width: clamp(120px, 18vw, 250px);
  height: clamp(80px, 10vw, 180px);

  opacity: 0;
  pointer-events: none;
  z-index: 99;

  /* torch beam shape */
  background: linear-gradient(
    to right,
    rgba(0, 183, 255, 0.55) 0%,
    rgba(0, 183, 255, 0.25) 45%,
    rgba(0, 183, 255, 0.08) 75%,
    transparent 100%
  );

  /* makes it cone/torch style */
  clip-path: polygon(0% 45%, 0% 55%, 100% 100%, 100% 0%);

  filter: blur(8px);
  transform-origin: left center;
  transition: opacity 0.4s ease;
}

/* stronger glow on telegram */
.highlight-link {
  box-shadow:
    0 0 15px rgba(0, 183, 255, 0.7),
    0 0 30px rgba(0, 183, 255, 0.5),
    0 0 50px rgba(0, 183, 255, 0.3) !important;

  border: 1px solid rgba(0, 183, 255, 0.8);
  transition: all 0.4s ease;
}
.roles{
  margin-bottom:1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap:5px;
}
.roles p{
  margin: 0;
  padding: 0;
}

span{
  color: rgb(255, 0, 0);
  text-shadow: 0px 0px 30px rgb(243, 0, 0);
  font-family: Verdana, Geneva, Tahoma, sans-serif;
  font-weight: bolder;
  margin: 0;
  padding: 0;
  border-right: 2px solid red;
  padding-right:3px;
  animation: cursorBlink 0.6s infinite;
}

@keyframes cursorBlink {
  0%{
    border-right: 2px solid red;
  }50%{
    border-right: 2px solid transparent;
  }100%{
    border-right: 2px solid red;
  }
}
/* mobile optimization */
@media (max-width: 768px) {
  .spotlight {
    width: 140px;
    height: 90px;
  }
  .AM{
    right:75vw;
  }
}

@media (max-width: 480px) {
  .spotlight {
    width: 110px;
    height: 70px;
    top: -7px;
  }
  
}

/* mobile fixes */
@media (max-width: 768px) {
  .robot-container {
    top: 2vh;
  }
}

@media (max-width: 480px) {
  .robot-container {
    top: 1.5vh;
  }

  .spotlight {
    width: 120px;
    height: 120px;
  }
}
@keyframes blink {
  0%,
  90%,
  100% {
    height: 0%;
  }

  95% {
    height: 100%;
  }
}
@keyframes float {
  0% {
    transform: translateY(0rem);
  }
  50% {
    transform: translateY(1.3rem);
  }
  100% {
    transform: translateY(0rem);
  }
}
@keyframes coperRotate {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

@font-face {
  font-family: "NameFont";
  src: url("./fonts/Arsenica.ttf") format("truetype");
}
@font-face {
  font-family: "LinkFont";
  src: url("./fonts/LEMONMILK-LightItalic.otf") format("truetype");
}
