* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --primary-color: #ff6b6b;
  --secondary-color: #4facfe;
  --accent-color: #f9d423;
  --theme-gradient: linear-gradient(45deg, #ff6b6b, #4facfe);
  --bg-gradient: linear-gradient(180deg, #6666ff 0%, #ffccff 50%, #99ccff 100%);
}
body {
  font-family: "Quicksand", sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: #2d3436;
  scroll-behavior: smooth;
  padding-top: 70px;
}
/* ============ PROFILE HEADER ============ */
.profile-header {
  background: var(--theme-gradient);
  color: white;
  padding: 50px 20px;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.profile-header h1 {
  margin: 0;
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}
.back-link {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 20px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 50px;
  margin-bottom: 20px;
  transition: 0.3s;
  background: rgba(255, 255, 255, 0.1);
}
.back-link:hover {
  background: white;
  color: var(--secondary-color);
  transform: translateY(-2px);
}
/* ============ LAYOUT ============ */
.profile-layout {
  display: flex;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 40px auto;
  gap: 25px;
  padding: 0 20px;
}
.left-column,
.right-column {
  background: rgba(255, 255, 255, 0.9);
  padding: 35px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(5px);
}
.left-column {
  flex: 2;
  min-width: 320px;
}
.right-column {
  flex: 1;
  min-width: 300px;
  text-align: center;
}
.section-title {
  font-size: 1.6rem;
  color: #444;
  border-bottom: 3px solid var(--secondary-color);
  padding-bottom: 12px;
  margin-bottom: 25px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-title i {
  color: var(--primary-color);
}
.achievements-list {
  list-style: none;
}
.achievements-list li {
  margin-bottom: 18px;
  line-height: 1.7;
  padding-left: 35px;
  position: relative;
  font-size: 1.05rem;
}
.achievements-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--secondary-color);
  font-size: 1.2rem;
}
.dong {
  color: var(--primary-color);
  font-weight: 700;
  display: block;
  margin-bottom: 6px;
  font-size: 1.1rem;
}
/* Images */
.main-profile-image img {
  width: 100%;
  max-width: 260px;
  border-radius: 50%; /* Chỉnh thành hình tròn cho hiện đại */
  border: 6px solid #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  margin-bottom: 20px;
  object-fit: cover;
  aspect-ratio: 1/1;
}
.funny-images-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 25px;
}
.funny-images-grid img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 15px;
  border: 3px solid white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: 0.3s;
}
.funny-images-grid img:hover {
  transform: scale(1.05);
}
footer {
  background: #2d3436;
  color: white;
  text-align: center;
  padding: 50px 20px;
  margin-top: 60px;
}
@media (max-width: 768px) {
  .profile-layout {
    flex-direction: column;
  }
  .profile-header h1 {
    font-size: 2rem;
  }
  .nav-menu {
    display: none;
  }
}
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9); /* Nền đen mờ */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;

  /* Ẩn mặc định */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
}

/* Khi nhấn vào ảnh (ID được kích hoạt) */
.lightbox:target {
  visibility: visible;
  opacity: 1;
}

/* Định dạng ảnh khi phóng to */
.lightbox img {
  max-width: 90%;
  max-height: 80%;
  border: 3px solid white;
  border-radius: 10px;
}

/* Nút đóng */
.close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 50px;
  text-decoration: none;
}
