body {
  font-family: 'Quicksand', sans-serif;
  margin: 0;
  text-align: center;
  background: linear-gradient(to bottom, #f4f7fb, #75acff);
  color: #333;
}
  nav {
  background-color: #595959;
  padding: 15px 20px;
  position: relative;
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 25px;
  height: 18px;
  cursor: pointer;
  margin-left: auto;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background-color: white;
  border-radius: 2px;
}

.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  margin: 30px auto 20px;
  box-shadow: 0 8px 16px rgba(71, 71, 71, 0.562);
}

.icontick {
  height: 28px;
  margin-left: 5px;
  vertical-align: -3px;
}

h2 {
  font-size: 28px;
  font-weight: 700;
  margin: 5px 0;
}
h3 {
  font-weight: 500;
  margin: 5px 0;
}
.verify-icon {
  color: #3498db;
  font-size: 16px;
  vertical-align: middle;
  margin-left: 5px;
}

.headline {
  font-size: 32px;
  margin: 20px 0;
}
.headline .highlight {
  color: #a084e8;
  font-weight: bold;
}
.socials {
  display: flex;
  gap: 20px;
  justify-content: center;
  padding: 20px;
}

.social-box {
  background-color: #333;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-box:hover {
  transform: translateY(-1px);
}

.social-box img {
  width: 40px;
  height: 40px;
}

.section-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
}
.download-app {
  max-width: 800px;
  margin: auto;
  padding: 1rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
  margin-top: 2rem;
  animation: fadeInUp 0.8s ease-in-out;
}
.download-app .app-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}
.download-app .app-item:last-child {
  border-bottom: none;
}
.download-app .info {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.download-app .info img {
  width: 60px;
  border-radius: 10px;
}
.download-app .text .title {
  font-weight: bold;
}
.download-button {
  text-decoration: none;
  background: #007bff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.download-button:hover {
  background: #0056b3;
}
.skills-section {
  padding: 4rem 2rem;
  background: #fff;
}
.skill {
  margin-bottom: 1rem;
}
.skill-fill {
  height: 100%;
  transition: width 1s ease-in-out;
}
.skill-bar {
  width: 100%;
  background: #ddd;
  height: 20px;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 5px;
}
.skill-fill {
  width: 0;
  height: 100%;
  transition: width 1.5s ease-in-out;
  border-radius: 10px 0 0 10px;
}
.skill-fill.active {
  width: var(--skill-width);
  border-radius: 10px;
}
.contact-section {
  background: #f1f3f5;
  padding: 1rem;
}
.wave-container svg {
  display: block;
  width: 100%;
  height: auto;
  margin-bottom: -1px;
}
.loading-icon {
  margin-left: 10px;
  animation: spin 1s linear infinite;
  font-size: 1em;
  color: #3498db; /* bạn có thể đổi màu tùy ý */
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.link-box-section {
  display: flex;
  justify-content: center;
  padding: 30px 0;
}

.link-box {
  width: 270px;
  text-align: center;
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.link-box h3 {
  margin: 20px 0 10px;
  font-size: 18px;
  font-weight: bold;
}

.link-btn {
  display: inline-block;
  margin-bottom: 15px;
  background-color: #3daeff;
  color: black;
  font-size: 20px;
  padding: 10px;
  width: 30px;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.link-btn:hover {
  background-color: #1a8fd8;
  color: white;
}
.description {
  display: block;
  font-size: 15px;
  color: #555;
  margin-top: 4px;
}
.auto-time {
  font-size: 15px;
  color: #555;
  display: block;
  margin-top: 4px;
}
.headline {
  font-size: 2rem;
  font-weight: 600;
}

.gradient-text {
  background: linear-gradient(to right, #4a6cf7, #b983ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
}

.cursor {
  display: inline-block;
  width: 2px;
  background-color: gray;
  animation: blink 0.7s infinite;
  margin-left: 2px;
}

.alert-box {
  position: fixed;
  inset: 0; /* Thay cho top/left/right/bottom */
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  text-align: center;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 16px; /* Đệm tránh dính mép */
  overflow-y: auto;
}

/* Nội dung thông báo */
.alert-content {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  position: relative;
  text-align: left;
  font-size: 14px;
  line-height: 1.6;
  margin: auto; /* Chắc chắn luôn nằm giữa */
  text-align: center;
}

/* Tiêu đề thông báo */
.alert-content h3 {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  margin-bottom: 15px;
}

/* Nút "Tắt thông báo" */
.alert-content button {
  margin-top: 18px;
  padding: 10px 16px;
  background-color: #ef4444;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  width: 100px;
}

.alert-content button:hover {
  background-color: #dc2626;
}
.stat-number {
  font-size: 30px;
  font-weight: bold;
  color: #1f5af9;
}

.counter-icon {
  font-size: 80px;
  margin-bottom: 10px;
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
@media (max-width: 600px) {
  nav a {
    margin: 0 10px;
  }
  .headline {
    font-size: 24px;
  }
}