/* 🌊 Base Styling */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: radial-gradient(circle at top, #001a33 0%, #001122 100%);
  overflow: hidden;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

/* 🌐 Glass Card with 3D floating */
.glass-card {
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border-radius: 25px;
  padding: 40px;
  width: 360px;
  max-width: 90%;
  text-align: center;
  box-shadow: 0 0 40px rgba(0, 150, 255, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeIn 1s ease;
  transition: transform 0.3s ease;
}

/* 🧍 Profile Section */
.profile img {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  border: 3px solid rgba(255, 255, 255, 0.6);
  margin-bottom: 10px;
  box-shadow: 0 0 10px rgba(0, 200, 255, 0.4);
}
.profile h2 {
  margin: 10px 0 5px;
  font-weight: 600;
}
.subtitle {
  font-size: 14px;
  color: #a8d9ff;
  margin-bottom: 20px;
}

/* ✨ Buttons */
.buttons button {
  width: 100%;
  background: rgba(0, 150, 255, 0.2);
  color: white;
  border: 2px solid rgba(0, 150, 255, 0.5);
  border-radius: 20px;
  padding: 12px 0;
  margin: 8px 0;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 150, 255, 0.2);
}
.buttons button:hover {
  background: rgba(0, 150, 255, 0.7);
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 0 25px rgba(0, 200, 255, 0.6);
}

/* Footer */
footer {
  position: fixed;
  bottom: 10px;
  width: 100%;
  text-align: center;
  color: #a8d9ff;
  font-size: 14px;
  z-index: 10;
}

/* 🫧 Bubbles */
.bubbles span {
  position: absolute;
  bottom: -100px;
  width: 20px;
  height: 20px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: rise 20s infinite ease-in;
  z-index: 1;
}
@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0.8; }
  100% { transform: translateY(-120vh) scale(1.2); opacity: 0; }
}
.bubbles span:nth-child(1){left:10%;animation-duration:15s;}
.bubbles span:nth-child(2){left:20%;animation-duration:20s;}
.bubbles span:nth-child(3){left:35%;animation-duration:18s;}
.bubbles span:nth-child(4){left:50%;animation-duration:25s;}
.bubbles span:nth-child(5){left:65%;animation-duration:22s;}
.bubbles span:nth-child(6){left:75%;animation-duration:28s;}
.bubbles span:nth-child(7){left:85%;animation-duration:26s;}
.bubbles span:nth-child(8){left:95%;animation-duration:24s;}
.bubbles span:nth-child(9){left:5%;animation-duration:19s;}
.bubbles span:nth-child(10){left:40%;animation-duration:17s;}
.bubbles span:nth-child(11){left:60%;animation-duration:21s;}
.bubbles span:nth-child(12){left:30%;animation-duration:23s;}

/* 🐠 Fish Animation */
.fish-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.fish {
  position: absolute;
  width: 80px;
  opacity: 0.8;
  animation-timing-function: linear;
}
.fish1 { top: 20%; animation: swimRight 25s linear infinite; }
.fish2 { top: 60%; animation: swimLeft 30s linear infinite; width: 100px; }
.fish3 { top: 40%; animation: swimRight 35s linear infinite; width: 60px; }
.fish4 { top: 10%; animation: swimLeft 28s linear infinite; width: 90px; }
.fish5 { top: 75%; animation: swimRight 32s linear infinite; width: 70px; }

@keyframes swimRight {
  0% { left: -150px; transform: scaleX(1); }
  50% { top: calc(var(--top, 20%) + 25px); }
  100% { left: 110%; transform: scaleX(1); }
}
@keyframes swimLeft {
  0% { left: 110%; transform: scaleX(-1); }
  50% { top: calc(var(--top, 60%) - 25px); }
  100% { left: -150px; transform: scaleX(-1); }
}

/* Fade-in animation */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Mobile responsiveness */
@media (max-width: 480px) {
  .glass-card {
    padding: 25px;
    width: 90%;
  }
  .profile img {
    width: 90px;
    height: 90px;
  }
  .buttons button {
    font-size: 14px;
    padding: 10px 0;
  }
}
