@import url(https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap);
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  font-family: "Poppins", sans-serif;
  color: #fff;
  background: linear-gradient(180deg, #1a191f 0%, #1c1d21 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-overlay {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at center, #1a191f 0%, #000000 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  animation: fadeIn 0.6s ease;
  padding: 20px;
}
.popup {
  background: rgb(26, 25, 31, 0.3);
  backdrop-filter: blur(10px);
  padding: 35px 30px;
  border-radius: 20px;
  width: 100%;
  max-width: 620px;
  box-shadow: 0 0 25px rgba(249, 171, 0, 0.3);
  animation: scaleIn 0.4s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.popup h2 {
  font-size: 30px;
  margin-bottom: 25px;
  color: #F9AB00;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 600;
}
.platform-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  gap: 18px;
  max-height: 250px;
  overflow-y: auto;
  padding: 8px;
  width: 100%;
  margin-bottom: 25px;
}
.platform-list::-webkit-scrollbar {
  width: 6px;
}
.platform-list::-webkit-scrollbar-thumb {
  background: #F9AB00;
  border-radius: 10px;
}
.platform-card {
  background: rgb(26, 25, 31, 0.5);
  border: 1px solid #2a2a2a;
  padding: 12px;
  border-radius: 14px;
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s ease;
  cursor: pointer;
  overflow: hidden;
}
.platform-card:hover {
  transform: scale(1.06);
  box-shadow: 0 0 14px #F9AB00aa;
  background: rgb(26, 25, 31, 0.7);
}
.platform-card img {
  max-width: 70px;
  max-height: 70px;
  object-fit: contain;
  transition: transform 0.3s;
}
.platform-card:hover img {
  transform: scale(1.1);
}
.close-btn {
  padding: 12px 24px;
  background: #F9AB00;
  border: none;
  border-radius: 8px;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  transition: 0.3s ease;
  font-weight: 500;
}
.close-btn:hover {
  background: #e50914;
}
@media (max-width: 480px) {
  .popup h2 {
    font-size: 22px;
  }
  .platform-card {
    height: 80px;
    padding: 10px;
  }
  .platform-card img {
    max-width: 55px;
    max-height: 55px;
  }
  .close-btn {
    width: 100%;
    font-size: 15px;
  }
}
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@keyframes scaleIn {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
