/* ===========================
   UPDATES SECTION BACKGROUND
=========================== */
.updates-section {
  padding: 70px 0;
  background: var(--color-light-gray);
}

/* ===========================
   ✅ OUTER WRAPPER CARD (ONE BIG CARD)
=========================== */
.updates-wrapper {
  border-radius: 34px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(139, 92, 246, 0.18);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow:
    0 24px 60px rgba(139, 92, 246, 0.18),
    0 10px 30px rgba(0, 0, 0, 0.08);
  position: relative;
}

/* Outer glow border effect */
.updates-wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 34px;
  padding: 2px;
  background: linear-gradient(
    135deg,
    rgba(139, 92, 246, 0.35),
    rgba(255, 255, 255, 0.20),
    rgba(139, 92, 246, 0.15)
  );
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ===========================
   ✅ INNER CARDS (LEFT + RIGHT)
=========================== */
.premium-inner-card {
  border-radius: 26px;
  border: 1px solid rgba(139, 92, 246, 0.14);
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 18px 50px rgba(139, 92, 246, 0.12),
    0 6px 18px rgba(0, 0, 0, 0.06);
  position: relative;
}

/* ===========================
   SCROLL SETTINGS
=========================== */
.updates-box {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 6px;
}

.updates-widget {
  max-height: 520px;
  overflow-y: auto;
  padding-right: 6px;
}

/* scrollbar same */
.updates-box::-webkit-scrollbar,
.updates-widget::-webkit-scrollbar {
  width: 6px;
}

.updates-box::-webkit-scrollbar-thumb,
.updates-widget::-webkit-scrollbar-thumb {
  background: rgba(139, 92, 246, 0.55);
  border-radius: 20px;
}

.updates-box::-webkit-scrollbar-track,
.updates-widget::-webkit-scrollbar-track {
  background: rgba(139, 92, 246, 0.08);
  border-radius: 20px;
}

/* ===========================
   HEADER INSIDE (Sticky)
=========================== */
.updates-header {
  background: rgba(255, 255, 255, 0.95);
  padding: 10px 8px;
  border-bottom: 1px solid rgba(139, 92, 246, 0.15);
  border-radius: 16px;
}

.updates-header-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.16);
  border: 1px solid rgba(139, 92, 246, 0.20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7c3aed;
}

/* ===========================
   UPDATE ITEM (Pill)
=========================== */
.premium-update-item {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  border: 1px solid rgba(139, 92, 246, 0.15);
  box-shadow: 0 10px 25px rgba(139, 92, 246, 0.12);
  padding: 16px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  transition: 0.25s ease;
}

.premium-update-item:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 92, 246, 0.35);
  box-shadow: 0 16px 35px rgba(139, 92, 246, 0.18);
}

/* Left part */
.update-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.update-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(139, 92, 246, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(139, 92, 246, 0.22);
  flex-shrink: 0;
  color: #7c3aed;
}

.premium-update-item h5 {
  font-size: 15px;
  font-weight: 800;
  margin: 0;
  color: #111827;
}

.premium-update-item p {
  font-size: 12.8px;
  color: #6b7280;
  margin: 2px 0 0 0;
}

/* Buttons group */
.update-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* View button */
.premium-update-item .btn-outline-primary {
  border-radius: 999px;
  border: 2px solid rgba(139, 92, 246, 0.55) !important;
  color: #6d28d9 !important;
  background: transparent !important;
  padding: 7px 18px;
  font-weight: 700;
}

/* Download button */
.premium-update-item .btn-primary {
  border-radius: 999px;
  background: linear-gradient(135deg, #7c3aed, #8b5cf6) !important;
  border: none !important;
  padding: 7px 18px;
  font-weight: 700;
  box-shadow: 0 10px 22px rgba(124, 58, 237, 0.28);
}

/* ===========================
   QUICK LINKS PREMIUM
=========================== */
.quick-link-item {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(139, 92, 246, 0.14);
  border-radius: 16px;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #111827;
  font-weight: 700;
  transition: 0.25s ease;
  box-shadow: 0 10px 22px rgba(139, 92, 246, 0.10);
  text-decoration: none;
}

.quick-link-item:hover {
  transform: translateX(4px);
  border-color: rgba(139, 92, 246, 0.30);
  color: #6d28d9;
}

/* Left icon circle */
.quick-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.14);
  color: #7c3aed;
  border: 1px solid rgba(139, 92, 246, 0.20);
}

/* Right question icon */
.quick-q {
  margin-left: auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.20);
  color: #7c3aed;
  font-size: 12px;
}

/* Dots like image */
.quick-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.quick-dots .dot {
  width: 8px;
  height: 8px;
  background: rgba(139, 92, 246, 0.25);
  border-radius: 50%;
}

.quick-dots .dot.active {
  width: 18px;
  border-radius: 999px;
  background: rgba(139, 92, 246, 0.70);
}

/* ===========================
   Responsive
=========================== */
@media (max-width: 768px) {
  .updates-section{
    font-size: 32px;
  }

  .updates-wrapper {
    padding: 14px;
    border-radius: 26px;
  }

  .premium-update-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .update-actions {
    width: 100%;
  }

  .premium-update-item .btn {
    width: 100%;
  }
}
