@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@600&display=swap');

/* background pha cyan-blue và light pink */
body {
  position: relative;
  background: url('imagezone/image.png') no-repeat center center fixed;
  background-size: cover;
  color: #222;
  font-family: 'Orbitron', sans-serif;
  margin: 0;
  padding: 20px;
  text-align: center;
  overflow-x: hidden;
}

/* overlay */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.4); /* độ mờ: 0.4 */
  z-index: -1; /* nằm dưới nội dung */
}


h1 {
  color: #00bcd4;
  text-shadow: 0 0 10px #00bcd4, 0 0 20px #00bcd4;
  font-size: 2.2rem;
  margin-bottom: 20px;
}

p {
  font-size: 1rem;
  color: #FFFFFF;
  margin-bottom: 20px;
}

a {
  display: block;
  color: #ff69b4;
  text-decoration: none;
  margin: 12px auto;
  width: 90%;
  max-width: 300px;
  padding: 12px 20px;
  border: 2px solid #ff69b4;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  font-size: 1rem;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3); /* đổ bóng */
}

a:hover {
  background-color: #ff69b4;
  color: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4); /* đổ bóng mạnh hơn khi hover */
  transform: scale(1.03);
}

a:hover {
  background-color: #ff69b4;
  color: #fff;
  box-shadow: 0 0 15px #ff69b4, 0 0 30px #ff69b4;
  transform: scale(1.03);
}

hr {
  border: none;
  height: 2px;
  background: linear-gradient(to right, #00bcd4, #ff69b4);
  margin: 20px auto;
  width: 80%;
  max-width: 400px;
}

/* responsive breakpoint cho điện thoại nhỏ */
@media screen and (max-width: 480px) {
  h1 {
    font-size: 1.6rem;
  }
  a {
    padding: 10px 15px;
    font-size: 0.95rem;
  }
  p {
    font-size: 0.9rem;
  }
}

.bio-card {
  background: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
  padding: 20px;
  margin: 0 auto 30px auto;
  max-width: 400px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

footer {
  margin-top: 30px;
  padding: 15px 10px;
  font-size: 0.9rem;
  color: #333;
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(5px);
  border-top: 2px solid #ff69b4;
  text-align: center;
}

.bio-card .avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #ff69b4;
  margin-bottom: 15px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.about-me {
  background: rgba(255,255,255,0.4);
  backdrop-filter: blur(6px);
  padding: 20px;
  margin: 0 auto 30px auto;
  max-width: 500px;
  border-radius: 15px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.about-me h2 {
  margin-top: 0;
  color: #00bcd4;
  font-size: 1.5rem;
}

.about-me p {
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
}

.about-me-card {
  font-family: 'Roboto', sans-serif;
  background: rgba(255,255,255,0.5);
  backdrop-filter: blur(4px);
  padding: 20px;
  margin: 30px auto;
  max-width: 600px;
  border-radius: 15px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  text-align: center;
}

.about-me-card h2 {
  margin-top: 0;
  color: #333;
  font-size: 1.5rem;
}

.about-me-card p {
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
  text-align: left;
}

.links a {
  display: block;
  color: #ff69b4;
  text-decoration: none;
  margin: 12px auto;
  width: 90%;
  max-width: 300px;
  padding: 12px 20px;
  border: 2px solid #ff69b4;
  border-radius: 12px;
  background-color: #fff;
  font-size: 1rem;
  box-sizing: border-box;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: all 0.3s ease, transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

/* thêm animation gradient nhẹ khi hover */
.links a::after {
  content: "";
  position: absolute;
  top: 0; left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.3);
  transition: left 0.3s ease;
  z-index: 1;
}

.links a:hover::after {
  left: 0;
}

.links a:hover {
  background-color: #ff69b4;
  color: #fff;
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 20px;
}

.back-btn {
    display: inline-block;
    margin-top: 20px;
}
