:root {
  --bg-color: #121212;
  --text-color: #ffffff;
  --accent-color: #ff4500;
  --secondary-color: #f0f0f0;
  --container-bg: rgba(30, 30, 30, 0.6);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  padding: 20px;
  overflow: hidden;
  position: relative;
  background-color: var(--bg-color);
}

#starry-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.bacteria-shape {
  width: 300px;
  height: 300px;
  background: var(--accent-color);
  filter: blur(50px);
  opacity: 0.5;
  animation: morphShape 20s infinite, moveTails 10s infinite;
  position: relative;
}

.bacteria-shape::before,
.bacteria-shape::after {
  content: '';
  position: absolute;
  background: var(--accent-color);
  filter: blur(30px);
  opacity: 0.3;
}

.bacteria-shape::before {
  width: 150px;
  height: 150px;
  top: -50px;
  left: -75px;
  animation: moveTail1 15s infinite;
}

.bacteria-shape::after {
  width: 100px;
  height: 100px;
  bottom: -30px;
  right: -50px;
  animation: moveTail2 12s infinite;
}

@keyframes morphShape {
  0%, 100% {
      border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  }
  25% {
      border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
  }
  50% {
      border-radius: 70% 30% 50% 50% / 30% 30% 70% 70%;
  }
  75% {
      border-radius: 40% 60% 30% 70% / 70% 50% 50% 30%;
  }
}

@keyframes moveTails {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

@keyframes moveTail1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(20px, 20px) rotate(45deg); }
}

@keyframes moveTail2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-15px, -15px) rotate(-30deg); }
}

.container {
  max-width: 800px;
  width: 100%;
  background-color: var(--container-bg);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.container:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

header {
  text-align: center;
  margin-bottom: 30px;
}

h1 {
  font-size: 2.5rem;
  color: var(--accent-color);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.profile-content {
  text-align: center !important; /* Force center alignment */
  font-size: 1.1rem;
  color: var(--secondary-color);
  max-width: 600px;
  margin: 0 auto;
}

.domain-note {
  font-size: 0.8rem;
  color: var(--secondary-color);
  opacity: 0.7;
  margin-top: 5px;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  transition: transform 0.3s ease, background-color 0.3s ease;
  color: var(--accent-color);
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  overflow: hidden;
  position: relative;
}

.social-links a::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--accent-color);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}

.social-links a:hover {
  transform: scale(1.1) rotate(10deg);
  background-color: var(--accent-color);
}

.social-links a:hover::before {
  opacity: 0.2;
}

.social-links svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  position: relative;
  z-index: 2;
  transition: stroke 0.3s ease, transform 0.3s ease;
}

.social-links a:hover svg {
  stroke: var(--bg-color);
  transform: scale(1.2);
}

footer {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  color: var(--secondary-color);
}

@media (min-width: 768px) {
  .profile {
      flex-direction: row;
      justify-content: center;
      text-align: left;
  }

  .profile-content {
      text-align: left;
  }
}

@media (max-width: 480px) {
  .container {
      padding: 20px;
  }

  h1 {
      font-size: 2rem;
  }

  .social-links {
      flex-wrap: wrap;
  }

  .bacteria-shape {
      width: 200px;
      height: 200px;
  }
}

@keyframes fadeInUp {
  from {
      opacity: 0;
      transform: translateY(20px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

.profile-content p {
  animation: fadeInUp 1s ease-out;
}

