body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  /* min-height: 100dvh; */
  overflow-x: hidden;
  overflow-y: auto;
  /* overscroll-behavior-y: auto; */
}

.container {
  text-align: center;
  max-width: 500px;
  padding: 2rem;
  animation: fadeInUp 1s ease-out;
}

.profile-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px);
  border: 4px solid rgba(255, 255, 255, 0.3);
  margin: 0 auto 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: 300;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-image: url("/pic.png");
  background-size: cover;
  background-position: center-top;
  background-blend-mode: overlay;
}

.profile-photo:hover {
  transform: translateY(-5px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.name {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.2s forwards;
}

.bio {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 3rem;
  font-weight: 300;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.4s forwards;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  animation: fadeInUp 1s ease-out 0.6s forwards;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #ffffff;
  text-decoration: none;
  font-size: 2rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  flex: 0 0 auto;
}

.social-link:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* Quick Links Section */
.quick-links {
  display: flex;
  gap: 0.6rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.quick-link-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: white;
  color: #667eea;
  text-decoration: none;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.quick-link-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.quick-link-btn.secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border: 2px solid white;
}

.quick-link-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

/* Alternative gradient backgrounds */
body.variant-1 {
  background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 50%, #fecfef 100%);
}

body.variant-2 {
  background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

body.variant-3 {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

body.variant-4 {
  background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

body.variant-5 {
  background: linear-gradient(135deg, #a3bded 0%, #6991c7 100%);
}

/* Twinkling Stars */
.stars-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
  animation: twinkle 3s infinite ease-in-out;
}

.star:nth-child(1) {
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}
.star:nth-child(2) {
  top: 40%;
  left: 30%;
  animation-delay: 0.5s;
}
.star:nth-child(3) {
  top: 60%;
  left: 50%;
  animation-delay: 1s;
}
.star:nth-child(4) {
  top: 80%;
  left: 70%;
  animation-delay: 1.5s;
}
.star:nth-child(5) {
  top: 15%;
  left: 80%;
  animation-delay: 2s;
}
.star:nth-child(6) {
  top: 35%;
  left: 60%;
  animation-delay: 2.5s;
}
.star:nth-child(7) {
  top: 70%;
  left: 20%;
  animation-delay: 1.2s;
}
.star:nth-child(8) {
  top: 50%;
  left: 90%;
  animation-delay: 1.8s;
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.5);
  }
}
@keyframes float {
  0%,
  100% {
    transform: translateY(100vh);
    opacity: 0;
  }
  10%,
  90% {
    opacity: 1;
  }
  50% {
    transform: translateY(-10vh);
  }
}

/* Mobile responsive */
@media (max-width: 600px) {
  .container {
    padding: 1rem;
  }

  .profile-photo {
    width: 150px;
    height: 150px;
    font-size: 3rem;
  }

  .name {
    font-size: 2rem;
  }

  .bio {
    font-size: 1rem;
    margin-bottom: 2rem;
  }

  .social-links {
    gap: 1.5rem;
  }

  .social-link {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

/* Dark mode alternative */
@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  }
}

/* Mobile-specific fixes */
@media (max-width: 600px) {
  body {
    padding: 20px 10px;
  }

  .container {
    min-height: auto;
  }

  /* Prevent zoom on input focus */
  input,
  select,
  textarea {
    font-size: 16px;
  }

  /* Better touch targets */
  .social-link {
    min-width: 50px;
    min-height: 50px;
  }
}

/* Fix for very small screens */
@media (max-width: 400px) {
  .name {
    font-size: 1.75rem;
  }

  .quick-links {
    flex-direction: column;
    width: 100%;
  }

  .quick-link-btn {
    width: 100%;
    text-align: center;
  }
}
