@import url("https://fonts.googleapis.com/css2?family=Kantumruy+Pro:ital,wght@0,100..700;1,100..700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

body {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.container {
  width: 100%;
  max-width: 450px; /* Limits width on laptops */
  text-align: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 40px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  /* font-family: "Kantumruy Pro", sans-serif; */
}

.profile-wrapper {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  margin: 0 auto 15px;
  padding: 1px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.profile-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 4px dashed rgba(255, 255, 255, 0.8);
  animation: spin 10s linear infinite;
}

.profile-pic {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  left: 7px;
  top: 6px;
  object-fit: cover;
  position: relative;
  overflow: hidden;
}

.profile-pic::after {
  content: "";
  position: absolute;
  z-index: 2;
}

.profile-pic::before {
  content: "";
  position: absolute;
  z-index: 1;
}

h1 {
  margin-bottom: 5px;
  font-family: "Kantumruy Pro", sans-serif;
  line-height: 1.3;
  background: linear-gradient(135deg, #ffffff 40%, #ffd900 50%, #ffffff 60%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: flash 4s linear infinite;
}
p {
  color: #ddd;
  margin-top: 20px;
  margin-bottom: 30px;
  font-size: 0.9rem;
  font-family: "Kantumruy Pro", sans-serif;
}

/* The Links */
.link-card {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  padding: 20px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-weight: 600;
  font-family: "Kantumruy Pro", sans-serif;
  transition:
    transform 0.2s,
    background 0.2s;
}

.link-card:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.2);
}

.link-card:active {
  transform: scale(0.95);
  background: rgba(255, 255, 255, 0.3);
}

.link-icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
}

.footer-text {
  /* margin-top: 30px; */
  margin-bottom: 0;
  font-size: 0.9rem;
  color: #ffffff;
}

.contact{
  font-size: 1.2rem;
}

.copy-right {
  color: #ccc;
}

@keyframes flash {
  0% {
    background-position: 0% 0%;
  }
  100% {
    background-position: 100% 100%;
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Background Animation */
.bg-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.bg-animation img {
  position: absolute;
  width: 60px;
  opacity: 0.15;
  top: -100px;
  animation: moveDown 20s linear infinite;
}

.bg-animation img:nth-child(1) {
  left: 10%;
  animation-duration: 15s;
  animation-delay: 0s;
}
.bg-animation img:nth-child(2) {
  left: 30%;
  animation-duration: 25s;
  animation-delay: 2s;
  width: 80px;
}
.bg-animation img:nth-child(3) {
  left: 50%;
  animation-duration: 20s;
  animation-delay: 5s;
}
.bg-animation img:nth-child(4) {
  left: 70%;
  animation-duration: 18s;
  animation-delay: 1s;
  width: 50px;
}
.bg-animation img:nth-child(5) {
  left: 85%;
  animation-duration: 30s;
  animation-delay: 3s;
}
.bg-animation img:nth-child(6) {
  left: 20%;
  animation-duration: 22s;
  animation-delay: 7s;
  width: 40px;
}

@keyframes moveDown {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.3;
  }
  90% {
    opacity: 0.3;
  }
  100% {
    transform: translateY(120vh) rotate(360deg);
    opacity: 0;
  }
}

/* Tablet/Laptop specific adjustments */
@media (min-width: 768px) {
  .container {
    max-width: 500px;
  }
}

/* Mobile specific adjustments to keep layout compact */
@media (max-width: 480px) {
  body {
    padding: 10px;
  }
  .container {
    padding: 25px 15px;
  }
  h1 {
    font-size: 1.3rem;
  }
  .profile-wrapper {
    width: 110px;
    height: 110px;
  }
}
