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

body {
  background: linear-gradient(135deg, #00bcd4 0%, #009688 100%);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  min-height: 100vh;
}
.profile-card-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px;
}

.profile-card-main a {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

.icon-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.border-line {
  border-top: 1px solid white;
  margin-bottom: 50px;
}

.profile-card {
  display: flex;
  justify-content: center;
  flex-direction: column;
  margin: auto;
  width: 420px;
  background-color: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: fadeIn 0.6s ease;
  margin-bottom: 50px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-card:hover {
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.profile-header {
  height: 200px;
  /* overflow: hidden; */
}

.profile-background {
  width: 100%;
  height: 70%;
  object-fit: cover;
  transition: transform 0.5s ease;
  position: relative;
}

.profile-card:hover .profile-background {
  transform: scale(1.1);
}

.profile-background::after {
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}
.avatar-upload-label {
  position: absolute;
  top: 180px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-block;
  z-index: 10;
}

.profile-picture-container {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 6px solid white;
}
.profile-picture {
  width: 100%;
}
.avatar-edit-icon {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); */
  z-index: 11;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.3s ease;
}

.avatar-upload-label:hover .avatar-edit-icon {
  background: #333;
  color: #f5f5f5;
  transform: scale(1.1);
  cursor: pointer;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

.profile-info-container {
  padding: 0 30px 30px;
}

.profile-info {
  text-align: center;
  margin-top: 15px;
}

.profile-info h2 {
  font-size: 1.8rem;
  color: #2d3748;
  font-weight: 700;
}
.current-time {
  text-align: center;
  font-size: 0.9rem;
  color: #00bcd4;
  font-weight: 600;
  margin-top: 16px;
  margin-bottom: 24px;
  animation: pulse 2s ease-in-out infinite;
}
.user-bio {
  font-size: 0.95rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 25px;
}

.profile-info b {
  color: #009688;
  font-weight: 600;
}

.user-social-links ul {
  list-style: none;
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 30px;
}

.user-social-links li {
  transition: transform 0.3s ease;
}

.user-social-links li:hover {
  transform: translateY(-5px);
}

.user-social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: linear-gradient(135deg, #00bcd4 0%, #009688 100%);
  color: white;
  text-decoration: none;
  font-size: 1.3rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 188, 212, 0.4);
}

.user-social-links a:hover {
  box-shadow: 0 8px 25px rgba(0, 188, 212, 0.6);
  transform: scale(1.1);
}

.interests-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 20px;
}

.interest-box {
  background: linear-gradient(135deg, #f5f5f5 0%, #e9ecef 100%);
  padding: 20px;
  border-radius: 16px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.interest-box:hover {
  background: linear-gradient(135deg, #00bcd4 0%, #009688 100%);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 188, 212, 0.3);
}

.interest-box:hover h3 {
  color: white;
}

.interest-box:hover ul li {
  color: rgba(255, 255, 255, 0.95);
}

.interest-box h3 {
  font-size: 1rem;
  color: #2d3748;
  margin-bottom: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.3s ease;
}

.interest-box ul {
  list-style: none;
  padding-left: 5px;
}

.interest-box ul li {
  font-size: 0.9rem;
  color: #4a5568;
  padding: 6px 0;
  padding-left: 20px;
  position: relative;
  transition: color 0.3s ease;
}
.interest-box ul li {
  position: relative;
  padding-left: 20px;
  display: flex;
  align-items: center;
}

.interest-box ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #00bcd4;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}
.interest-box:hover ul li::before {
  color: white;
}

.page-navigation {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #e2e8f0;
}

.page-navigation a {
  padding: 12px 24px;
  background: linear-gradient(135deg, #00bcd4 0%, #009688 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-navigation a:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 188, 212, 0.4);
}

@media (max-width: 480px) {
  .profile-card {
    width: 100%;
    max-width: 380px;
  }

  .interests-section {
    grid-template-columns: 1fr;
  }
}
