/* Khung ngoài */
.link-wrapper {
  background: #f0faff;
  border: 2px solid #01b7ff;
  border-radius: 15px;
  padding: 20px;
  max-width: 900px;
  margin: 30px auto;
  box-shadow: 0 6px 15px rgba(0,0,0,0.1);
  text-align: center;
}

/* Tiêu đề dạng button */
.link-title {
  display: inline-block;
  background: #0b77ef;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 8px;
  margin: 0 auto 25px auto;
  text-transform: uppercase;
  box-shadow: 0 4px 10px rgba(11, 119, 239, 0.4);
}

/* Grid responsive */
.link-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 768px) {
  .link-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .link-grid {
    grid-template-columns: repeat(2, 1fr); /* Mobile vẫn 2 ô / dòng */
  }
}

/* Box */
.link-box {
  background: linear-gradient(to bottom, #ffffff, #eaf8ff);
  border-radius: 15px;
  padding: 20px 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  color: #333;
}

/* Header */
.link-header {
  font-weight: bold;
  font-size: 16px;
  color: #fff;
  padding: 6px 0;
  border-radius: 6px;
  margin: -20px -10px 15px -10px;
  background: #2bbcff;
}

/* Ping */
.link-ping {
  font-size: 22px;
  font-weight: bold;
  margin: 15px 0 20px 0;
  color: #000;
}

/* Nút CHƠI NGAY */
.btn-glow {
  position: relative;
  display: inline-block;
  padding: 12px 26px;
  font-weight: bold;
  border-radius: 30px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #0b77ef;
  z-index: 1;
  overflow: hidden;
  transition: transform 0.25s ease-in-out;
}
.btn-glow:hover {
  transform: scale(1.08);
}

/* Vòng sáng */
.btn-glow::before {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(90deg, #0b77ef, #4dafff, #0b77ef);
  background-size: 300% 300%;
  border-radius: 40px;
  z-index: -1;
  animation: glowing 2s linear infinite;
}
@keyframes glowing {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
