/* Reset cơ bản */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body & font */
body, html {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: white;
  background: transparent;
  position: relative;
}

/* Video nền full màn hình */
#bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -10;
  filter: brightness(0.6);
  /* giúp video mượt hơn */
  will-change: transform;
}

/* Hiệu ứng ánh sáng bay */
.glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.3), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.15), transparent 50%);
  animation: glowMove 10s linear infinite alternate;
  z-index: -5;
}

@keyframes glowMove {
  0% {
    background-position: 20% 20%, 80% 80%;
  }
  100% {
    background-position: 25% 25%, 75% 75%;
  }
}

/* Nội dung chính căn giữa màn hình */
.content {
  position: relative;
  z-index: 10;
  max-width: 400px;
  margin: 8vh auto 0 auto;
  padding: 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 15px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

/* Avatar */
.avatar {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #fff;
  box-shadow: 0 0 10px #fff;
  margin-bottom: 15px;
}

/* Tiêu đề + tick */
h1 {
  font-size: 2.2rem;
  font-weight: 700;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.tick-icon {
  width: 28px;
  height: 28px;
}

/* Mô tả */
p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  font-style: italic;
  opacity: 0.85;
}

/* Các liên kết mạng xã hội */
.socials {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.socials a {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: white;
  font-weight: 600;
  background: rgba(255 255 255 / 0.1);
  padding: 8px 12px;
  border-radius: 12px;
  transition: background 0.3s ease, transform 0.2s ease;
  font-size: 0.9rem;
}

.socials a:hover {
  background: rgba(255 255 255 / 0.3);
  transform: scale(1.05);
}

/* Hình icon trong link xã hội */
.socials img {
  width: 24px;
  height: 24px;
  filter: drop-shadow(0 0 1px rgba(0,0,0,0.5));
}

/* Riêng link ❤️ REMEMBER - màu nổi bật */
.socials a.remember {
  background: #ff4081;
  font-weight: 700;
  color: white;
  box-shadow: 0 0 10px #ff4081;
}

.socials a.remember:hover {
  background: #e040fb;
  box-shadow: 0 0 15px #e040fb;
}

/* Popup hỏi nghe nhạc */
.music-popup {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.75);
  padding: 16px 28px;
  border-radius: 20px;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
  color: white;
  font-size: 1rem;
  text-align: center;
  z-index: 50;
  display: none;
  opacity: 1;
  transition: opacity 1s ease;
  max-width: 90vw;
}

/* Nút bấm trong popup */
.popup-buttons {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.popup-buttons button {
  background: #2196f3;
  border: none;
  color: white;
  padding: 8px 20px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
  font-size: 1rem;
  user-select: none;
}

.popup-buttons button:hover {
  background: #1976d2;
}

/* Responsive: nhỏ hơn 480px thì thu nhỏ avatar và text */
@media (max-width: 480px) {
  .content {
    max-width: 90vw;
    padding: 15px;
  }
  .avatar {
    width: 100px;
    height: 100px;
  }
  h1 {
    font-size: 1.6rem;
  }
  .socials a {
    font-size: 0.8rem;
    padding: 6px 10px;
  }
  .popup-buttons button {
    padding: 6px 14px;
    font-size: 0.9rem;
  }
}
