* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  width: 100%;
  overflow: hidden;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, #00246bdd 0%, #000000 100%);
  position: relative;
  overflow: hidden;
}

/* Animated background elements for depth */
body::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(
          circle,
          rgba(255, 255, 255, 0.1) 1px,
          transparent 1px
  );
  background-size: 50px 50px;
  animation: float 20s ease-in-out infinite;
}

/* New animated background pattern */
body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.05) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.05) 75%, transparent 75%, transparent);
  background-size: 20px 20px;
  animation: moveBackground 15s linear infinite;
  z-index: -1;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-20px, -20px) rotate(180deg);
  }
}

@keyframes moveBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 20px 20px;
  }
}

/* Main profile card container */
.profile-card {
  position: relative;
  width: 100%;
  max-width: 400px;
  padding: 40px 30px;
  text-align: center;
  /* Glassmorphism effect */
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
  z-index: 1;
  transition: all 0.3s ease;
}

/* Profile image container */
.profile-image {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  margin: 0 auto 25px;
  overflow: hidden;
  border: 3px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  animation: pulse 3s infinite;
  transition: transform 0.3s ease;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

/* Apply to the actual img inside the container */
.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Name styling */
.profile-name {
  font-size: 32px;
  font-weight: 600;
  color: white;
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  cursor: default;
  transition: all 0.3s ease;
}

.profile-name:hover {
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
}

.profile-title {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
  font-weight: 300;
  text-decoration: none;
  transition: all 0.3s ease;
}

.profile-title:hover {
  color: rgba(255, 255, 255, 1);
}

/* Social media icons container */
.social-icons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
}

/* Individual social icon styling */
.social-icon {
  width: 150px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.social-icon::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: all 0.5s ease;
}

.social-icon:hover::before {
  left: 100%;
}

.social-icon:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.social-icon img {
  width: 30px;
  height: 30px;
}

/* Responsive design for desktop */
@media (min-width: 1200px) {
  .profile-card {
    max-width: 500px;
    padding: 50px 40px;
  }

  .profile-image {
    width: 280px;
    height: 280px;
  }

  .profile-name {
    font-size: 36px;
  }

  .social-icons {
    gap: 20px;
  }

  .social-icon {
    width: 160px;
    height: 55px;
  }
}

/* Responsive design for tablets */
@media (max-width: 768px) {
  .profile-card {
    max-width: 350px;
    padding: 30px 25px;
  }

  .profile-image {
    width: 230px;
    height: 230px;
  }

  .profile-name {
    font-size: 24px;
  }

  .social-icons {
    gap: 12px;
  }

  .social-icon {
    width: 146px;
    height: 46px;
  }
}

/* Landscape orientation for tablets and phones */
@media (max-width: 768px) and (orientation: landscape) {
  .profile-card {
    max-width: 500px;
    padding: 20px 15px;
  }

  .profile-image {
    width: 150px;
    height: 150px;
  }

  .social-icons {
    flex-wrap: nowrap;
    justify-content: space-between;
  }

  .social-icon {
    width: 80px;
    height: 40px;
  }
}

/* Responsive design for mobile phones */
@media (max-width: 480px) {
  body {
    padding: 15px;
  }

  .profile-card {
    padding: 25px 20px;
  }

  .social-icons {
    gap: 10px;
  }

  .social-icon {
    width: 144px;
    height: 44px;
  }

  .social-icon img {
    width: 28px;
    height: 28px;
  }
}