.premium-btn {
  background: linear-gradient(270deg, #ffd700, #ffb300, #ffd700, #fffbe6, #ffd700);
  background-size: 400% 400%;
  color: #fff;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  padding: 7px 12px;      /* Smaller padding */
  font-size: 15px;        /* Smaller text */
  cursor: pointer;
  margin: 0 0 12px 0;      /* Smaller margin */
  display: flex;
  align-items: center;
  gap: 10px;               /* Slightly smaller gap */
  box-shadow: 0 2px 8px #0002, 0 0 12px #ffd70088;
  transition: box-shadow 0.2s;
  animation: gold-bg-move 3s linear infinite;
  position: relative;
  overflow: hidden;
}
.premium-star{
  display: inline-block;
  animation: star-pulse 1.2s ease-in-out infinite;
}

/* Animated gold gradient text */
.premium-text {
  background: linear-gradient(90deg, #222, #b8860b 30%, #ffd700 60%, #222 100%);
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: #222; /* fallback for unsupported browsers */
  animation: gold-text-move 2s linear infinite;
  letter-spacing: 1px;
  /* Removed text-shadow for no glow */
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

/* Premium Modal Core Styles */
.premium-modal {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.5);
  z-index: 13000;
  display: none;
  align-items: center;
  justify-content: center;
}

.premium-modal-content {
  background: #222;
  color: #fff;
  border-radius: 12px;
  padding: 24px 40px;
  width: 280px;
  box-shadow: 0 2px 16px #000;
  border: 2px solid #ffd700;
  animation: modalSlideIn 0.4s ease-out;
}

/* Header Section */
.premium-modal-header {
  margin: -24px -40px 16px;
  padding: 16px 40px;
  border-radius: 5px 5px 0 0;
  background: linear-gradient(270deg, #ffd700, #ffb300, #ffd700, #fffbe6, #ffd700);
  background-size: 400% 400%;
  animation: gold-bg-move 3s linear infinite;
  border-bottom: 2px solid #ffd700;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
}


.premium-cancel-btn,
.premium-subscribe-btn {
  padding: 7px 20px;
  flex: 0 0 auto;
  min-width: 100px;
  border-radius: 6px;
  background: linear-gradient(90deg, #ffd700 0%, #ffb300 50%, #ffd700 100%);
  background-size: 200% 100%;
  color: #000;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  border: 2px solid #000;
  margin: 0;
  animation: shimmer 3s infinite linear;
  position: relative;
  overflow: hidden;
}

@keyframes gold-bg-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

@keyframes star-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

@keyframes gold-text-move {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.premium-star {
  font-size: 20px;
  animation: star-pulse 1.2s ease-in-out infinite;
  display: inline-block;
}

.header-title {
  background: linear-gradient(90deg, #222, #b8860b 30%, #ffd700 60%, #222 100%);
  background-size: 400% 400%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gold-text-move 2s linear infinite;
  font-size: 16px;
  margin-top: 4px;
}

/* Body Section */
.premium-modal-body {
  margin-bottom: 16px;
  font-size: 15px;
  text-align: center;
}

.premium-feature {
  font-size: 16px;
  color: #ffd700;
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.5s forwards;
  gap: 4px;
}

.premium-feature:first-child {
  margin-top: 0;
}

.premium-feature .premium-star {
  margin-right: 2px;
}
.premium-feature{
  font-size: 17px;    /* Change to your desired font size */
  width: 300px;       /* Optional: set a fixed width */
  height: 40px;       /* Optional: set a fixed height */
  /* Add more styles as needed */
}

/* Action Buttons */
.premium-modal-actions {
  text-align: center;
  margin-top: 20px;
  display: flex;
  gap: 25px;
}

/* Hover Effects */
.premium-cancel-btn:hover,
.premium-subscribe-btn:hover {
  transform: scale(0.98);
  filter: brightness(1.1);
  border-color: #000;
}
