/* ==========================
   RESET & BASE STYLES
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100vh;
  font-family: "Hack", "Open Sans", sans-serif;
  background: #24283b;
  color: #e5e7eb;
  overflow-x: hidden;
}

/* Link mặc định */
a {
  text-decoration: none;
  color: inherit;
}

/* ==========================
   BACKGROUND (VANTA EFFECT)
========================== */
#vanta {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* ==========================
   MAIN CONTAINER (#APP)
========================== */
#app {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 15px;
}

/* ==========================
   HEADER SECTION
========================== */
header {
  width: 100%;
  margin-bottom: 35px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Avatar */
header img {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  margin-bottom: 20px;
  transition: transform 0.3s ease;
}

header img:hover {
  transform: scale(1.03);
}

/* Họ tên */
header h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 15px;
}

/* Chức vụ (Thay cho p:nth-of-type(1)) */
header .position {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 999px;
  background: #2563eb;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

/* Tên công ty (Thay cho p:nth-of-type(2)) */
header .company {
  font-size: 16px;
  font-weight: 600;
  color: #93c5fd;
  margin-bottom: 14px;
}

/* Mô tả ngắn (Thay cho p:nth-of-type(3)) */
header .bio {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.8;
  color: #cbd5e1;
  margin-bottom: 18px;
}

/* Hệ thống Website (Thay cho thẻ i) */
header .websites {
  font-style: normal;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 14px;
}

/* ==========================
   NAVIGATION MENU LINKS
========================== */
main {
  width: 100%;
}

main ul {
  list-style: none;
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
}

main ul li {
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

main ul li:hover {
  transform: translateY(-3px);
}

main ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 62px;
  padding: 15px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px); /* Hỗ trợ Safari */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
}

main ul li a:hover {
  background: #2563eb;
  border-color: #2563eb;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

/* ==========================
   FOOTER SECTION
========================== */
footer {
  text-align: center;
  margin-top: 35px;
  color: #94a3b8;
  font-size: 13px;
  padding-bottom: 20px;
}

/* ==========================
   CUSTOM SCROLLBAR
========================== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #24283b;
}

::-webkit-scrollbar-thumb {
  background: #4b5563;
  border-radius: 20px;
}

::-webkit-scrollbar-thumb:hover {
  background: #6b7280;
}

/* ==========================
   RESPONSIVE (MOBILE)
========================== */
@media (max-width: 768px) {
  #app {
    padding: 25px 15px;
  }

  header img {
    width: 120px;
    height: 120px;
  }

  header h1 {
    font-size: 26px;
  }

  header .position {
    font-size: 13px;
  }

  header .company {
    font-size: 15px;
  }

  header .bio {
    font-size: 14px;
    line-height: 1.7;
    padding: 0 10px;
  }

  main ul li a {
    min-height: 58px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 22px;
  }

  header .company {
    font-size: 14px;
  }

  header .bio {
    font-size: 13px;
  }

  main ul li a {
    min-height: 54px;
    padding: 12px 15px;
  }
}