/* --- drops Section Layout --- */
.recent-drops {
  width: 100%;
  min-height: auto;
  position: relative;
  background-color: #0a0d1f;
  padding: 100px 0;
  overflow: hidden;
  text-align: center;
}

/* Background Glow Effect */
.recent-drops::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(0, 255, 255, 0.15) 0%,
    rgba(0, 255, 255, 0) 70%
  );
  z-index: 1;
  pointer-events: none;
}

.recent-drops h2 {
  position: relative;
  z-index: 2;
  color: #fff;
  font-size: 3rem;
  margin-bottom: 40px;
}

.recent-drops h2 span {
  color: #00c2f7;
}

/* --- Grid Container --- */
.drops-card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 2;
}

/* --- The Animated Card --- */
.drops-card {
  position: relative;
  padding: 40px;
  border-radius: 15px;
  background: #0d102a;
  overflow: hidden;
  transition:
    transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  /* শুরুতে ট্রান্সপারেন্ট বর্ডার */
  border: 2px solid transparent;
}

/* Rotating Border Light Effect */
.drops-card::after {
  content: "";
  position: absolute;
  inset: -150%;
  background: conic-gradient(
    from 0deg,
    transparent 0%,
    transparent 40%,
    #01f0ff 50%,
    #fff 55%,
    #01f0ff 60%,
    transparent 70%,
    transparent 100%
  );
  animation: rotateBorder 4s linear infinite;
  z-index: 0;
  transition: opacity 0.3s ease; /* হোভার করলে গায়েব হওয়ার জন্য */
}

/* Inner Background (আলোর ওপরে কভার) */
.drops-card::before {
  content: "";
  position: absolute;
  inset: 2px;
  background: #0d112d;
  border-radius: 13px;
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* --- Hover logic: পুরো বর্ডার সলিড হয়ে যাবে --- */
.drops-card:hover {
  border-color: #01f0ff;
  box-shadow: 0 0 25px rgba(1, 240, 255, 0.4);
}

/* হোভার করলে ঘুরন্ত স্লাইসটা লুকিয়ে ফেলবো */
.drops-card:hover::after {
  opacity: 0;
  animation-play-state: paused;
}

/* হোভার করলে ভেতরের কভারটাকেও একটু স্বচ্ছ করা যায় বা বর্ডারের সাথে মেলানো যায় */
.drops-card:hover::before {
  inset: 0; /* বর্ডারের গ্যাপ সরিয়ে দেওয়া */
}

/* --- Card Content (Icon, Text, Button) --- */
.drops-card h3,
.drops-btn {
  position: relative;
  z-index: 2;
}

.drops-card h3 {
  color: #fff;
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.drops-tags-container {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
  z-index: 2;
}

.drops-tag {
  background-color: #01eeff22;
  color: #01f0ff;
  border: 1px solid #01f0ff;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 600;
}

.drops-date {
  background-color: #00000022;
  color: #cdcdcd;
  border: 1px solid #d9d9d9;
  padding: 5px 10px;
  border-radius: 5px;
  font-size: 0.8rem;
  font-weight: 500;
}

.drops-btn {
  background-color: #fff;
  color: #000;
  border: 2px solid #fff;
  border-radius: 50px;
  padding: 10px 25px;
  margin-top: 30px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.drops-btn:hover {
  background-color: transparent;
  color: #01f0ff;
  border-color: #01f0ff;
}

/* --- Animation Keyframes --- */
@keyframes rotateBorder {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ================================= */
/* ========= TABLET VIEW =========== */
/* ================================= */

@media (max-width: 1024px) {
  .recent-drops {
    padding: 80px 20px;
  }

  .recent-drops h2 {
    font-size: 2.4rem;
  }

  /* 3 → 2 column */
  .drops-card-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .drops-card {
    padding: 30px;
  }

  .drops-card h3 {
    font-size: 1.4rem;
  }

  .recent-drops::before {
    width: 500px;
    height: 500px;
  }
}

/* ================================= */
/* ========= MOBILE VIEW =========== */
/* ================================= */

@media (max-width: 768px) {
  .recent-drops {
    padding: 70px 20px;
  }

  /* 2 → 1 column */
  .drops-card-container {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .recent-drops h2 {
    font-size: 2rem;
    margin-bottom: 30px;
  }

  .drops-card {
    padding: 25px;
  }

  .drops-card h3 {
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .drops-tags-container {
    flex-wrap: wrap;
    gap: 10px;
  }

  .drops-btn {
    width: fit-content;
    margin-top: 20px;
    font-size: 0.95rem;
  }

  .recent-drops::before {
    width: 350px;
    height: 350px;
  }
}

/* ================================= */
/* ======== SMALL MOBILE =========== */
/* ================================= */

@media (max-width: 480px) {
  .recent-drops h2 {
    font-size: 1.6rem;
  }

  .drops-card {
    padding: 22px;
  }

  .drops-card h3 {
    font-size: 1.1rem;
  }

  .drops-btn {
    width: 100%;
    text-align: center;
  }
}
