/* Premium button styles */
.premium-btn {
  background: linear-gradient(270deg, #FFD700, #FFC300, #FFB700, #FFD700, #FFC300);
  background-size: 400% 400%;
  color: #fff;
  border: none;
  padding: 10px 15px;
  font-size: 14px;
  cursor: pointer;
  border-radius: 8px;
  margin: 0 0 10px 0;
  display: flex;
  align-items: center;
  gap: 10px;
  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;
  display: flex;
  align-items: center;
  font-size: 15px;
  justify-content: center;
  gap: 5px;
}

.premium-btn,
.premium-text {
  animation-timing-function: linear;
  animation-duration: 3s;
  animation-iteration-count: infinite;
}

/* 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 #FFA500;
  animation: modalSlideIn 0.4s ease-out;
}

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

.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: 17px;
  color: #ffc939;
  margin: 8px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeInUp 0.5s forwards;
  gap: 4px;
  width: 300px;
  height: 40px;
}

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

.premium-feature .premium-star {
  margin-right: 2px;
}

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

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

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