/* Sticky header */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 95%;
  margin-left: auto;
  margin-right: auto; 
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(15px);
  border-radius: 30px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
  height: 70px;
  border-bottom: 1px solid rgba(187, 134, 252, 0.1);
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
  border-radius: 30px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
  transition: transform 0.3s ease;
}

.logo-link:hover {
  transform: translateX(-3px);
}

.logo-img {
  height: 36px;
  width: 36px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 5px rgba(187, 134, 252, 0.3));
}

.header-title {
  color: #bb86fc;
  font-size: 1.4rem !important;
  font-weight: 600 !important;
  margin: 0;
  background: linear-gradient(135deg, #721afd, #9d4cff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  height: 33px;
}

.header-title a {
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.recover-link {
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.recover-link:visited {
  color: white !important;
}

.recover-link:hover {
  color: var(--purple-color) !important;
}

@media (max-width: 768px) {
    .recover-link {
        display: none;
    }
}

.create-list-button-header {
  background: linear-gradient(135deg, #bb86fc, #6a73fa);
  color: white;
  border: none;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  gap: 8px;
}

.create-list-button-header:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(187, 134, 252, 0.2);
}

.create-list-button-header:active {
  transform: translateY(0);
}

.button-text {
  display: none;
}

@media (min-width: 768px) {
  .button-text {
    display: inline;
  }
}

/* Dynamic banner */
.dev-banner {
  background: linear-gradient(90deg, #ff3333, #ff6b6b);
  color: white;
  text-align: center;
  padding: 0.5rem 0;
  font-size: 0.8rem;
  font-weight: 600;
  position: relative;
  z-index: 1001;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  border-radius: 30px;
}

.dev-banner a {
  color: white !important;
  text-decoration: underline !important;
  transition: opacity 0.2s;
}

.dev-banner a:hover {
  opacity: 0.8;
}

.dev-banner.hidden {
  display: none;
}

.hidden {
  display: none;
}

/* Different banner types */
.dev-banner.info {
  background: linear-gradient(90deg, #4a6bff, #6b8cff);
}

.dev-banner.warning {
  background: linear-gradient(90deg, #ff9500, #ffb700);
}

.dev-banner.critical {
  background: linear-gradient(90deg, #ff3333, #ff6b6b);
}

.dev-banner.success {
  background: linear-gradient(90deg, #00b894, #00d3a9);
}

/* MODERN FOOTER */
.modern-footer {
  background: linear-gradient(180deg, #8b00ff69 0%, #785cff 100%);
  backdrop-filter: blur(15px);
  color: #e0e0e0;
  padding: 2.5rem 1rem;
  margin-top: 3rem;
  border-top: 1px solid rgba(187, 134, 252, 0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

/* Link Containers */
.footer-links, .footer-navigation {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: baseline; /* Critical fix */
  gap: 0;
}

/* Links */
.footer-link, .footer-nav-link {
  font-weight: 500;
  padding: 0.5rem;
}

.divider {
  color: #ffffff;
  padding: 0 0.3rem;
  display: inline-flex;
  align-items: center;
  height: 100%;
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
}

.copyright {
  font-size: 0.85rem;
  opacity: 0.9;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin: 1rem 0;
}

.social-icon {
  color: #bb86fc;
  font-size: 1.4rem;
  transition: transform 0.2s;
}

.social-icon:hover {
  transform: translateY(-2px);
  color: #9a67ea;
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 1rem;
  }
  
  .header-title {
    font-size: 1.2rem;
  }
  
  .button-text {
    display: none;
  }
  
  .footer-links {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .footer-link {
    width: 100%;
    text-align: center;
  }

  .affiliate-disclaimer {
    margin: 1rem 0;
    line-height: 1.4;
  }

  .social-links {
    gap: 1rem;
  }
  
  .social-icon {
    font-size: 1.2rem;
  }
}

#createWishlistPopup input {
  width: 95%;
  padding: 12px;
  margin-bottom: 15px;
  border-radius: 6px;
  font-size: 16px;
}

#createWishlistPopup button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #bb86fc, #414dfa);
  color: white;
  border: none;
  border-radius: 30px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
}

#createWishlistPopup button:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

#createWishlistButton:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  background-color: #555 !important;
}

#turnstile-container {
  margin: 1rem 0;
  min-height: 65px; /* Prevent layout shift when loading */
  display: flex;
  justify-content: center;
  background-color: #ffffff00;
  border-radius: 8px;
  padding: 10px;
}

#turnstile-container iframe {
  width: 100% !important;
}

/* Social Sharing Section */
.social-sharing-section {
  text-align: center;
  margin: 1.5rem 0;
  width: 100%;
}

.share-title {
  color: #e0e0e0;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 500;
}

.social-sharing-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.share-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.share-btn i {
  position: relative;
  z-index: 2;
}

.gradient-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #bb86fc, var(--platform-color));
  z-index: 1;
  transition: opacity 0.3s ease;
}

.share-btn:hover .gradient-bg {
  opacity: 0.9;
}

/* Platform-specific colors */
.facebook { --platform-color: #3b5998; }
.whatsapp { --platform-color: #25D366; }
.email { --platform-color: #EA4335; }
.pinterest { --platform-color: #E60023; }
.twitter { --platform-color: #1DA1F2; }

/* Hover effects */
.share-btn:hover {
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 4px 12px rgba(187, 134, 252, 0.3);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .social-sharing-buttons {
    gap: 0.8rem;
  }
  
  .share-btn {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}

/* Affiliate Disclaimer Styles */
.affiliate-disclaimer {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-light);
  margin: 0.5rem 0;
  padding: 0 1rem;
  line-height: 1.5;
}

.affiliate-disclaimer .affiliate-indicator,
.affiliate-disclaimer .affiliate-asterisk {
  color: #bb86fc;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s;
}

.affiliate-disclaimer .affiliate-indicator:hover {
  color: #9a67ea;
  text-decoration: underline;
}

/* Make the asterisk slightly larger */
.affiliate-asterisk {
  color: #bb86fc;
  font-size: 1.3em;
  vertical-align: middle;
  margin: 0 2px;
}

/* Special Thanks */
.special-thanks {
  text-align: center;
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0.5rem 0;
}

.special-thanks a{
  color: rgb(141, 225, 163) !important;
}

/* Cookie Banner */ 
.cookie-banner {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--transp-background);
  backdrop-filter: var(--transp-backdrop);
  padding: 1.5rem;
  border-radius: 12px;
  max-width: 500px;
  z-index: 9999;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
  transition: transform 0.3s ease;
}

.cookie-banner:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cookie-banner button {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--text-light);
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 500;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  transition: all 0.3s ease;
}

.cookie-banner button:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(187, 134, 252, 0.3);
}

@media (max-width: 768px) {
  .cookie-banner {
    bottom: 0;
    right: 0;
    left: 0;
    border-radius: 12px 12px 0 0;
    padding: 1rem;
  }
}

/* Feedback Popup Styles */
.feedback-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0);
  backdrop-filter: blur(5px);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feedback-popup.show {
  opacity: 1;
  display: flex;
}

.feedback-popup-content {
  background: var(--transp-background);
  backdrop-filter: var(--transp-backdrop);
  padding: 2rem;
  border-radius: 30px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(187, 134, 252, 0.2);
  animation: popOutFromBottom 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@media (min-width: 1101px) {
  .feedback-popup-content {
    animation: popOutFromRight 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  }
}

.feedback-popup-content::-webkit-scrollbar {
  width: 8px;
}

.feedback-popup-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

.feedback-popup-content::-webkit-scrollbar-thumb {
  background: rgba(187, 134, 252, 0.3);
  border-radius: 4px;
}

.close-feedback-popup {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 1px solid rgba(187, 134, 252, 0.2);
}

.close-feedback-popup:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(187, 134, 252, 0.3);
}

.feedback-popup h3 {
  color: var(--purple-color);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
}

#feedbackForm {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  color: var(--text-light);
  font-weight: 500;
}

.form-group select,
.form-group textarea,
.form-group input {
  padding: 0.8rem;
  border-radius: 8px;
  border: 1px solid var(--primary-color);
  background-color: var(--transp-background);
  backdrop-filter: var(--transp-backdrop);
  color: var(--text-light);
  font-size: 1rem;
  transition: border-color 0.3s;
}

.form-group select:focus,
.form-group textarea:focus,
.form-group input:focus {
  outline: none;
  border-color: var(--purple-color);
  box-shadow: 0 0 0 3px rgba(187, 134, 252, 0.2);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.submit-feedback-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: white;
  border: none;
  padding: 0.8rem;
  border-radius: 30px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.5rem;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.submit-feedback-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(187, 134, 252, 0.3);
}

.submit-feedback-btn:disabled {
  background: var(--medium-bg);
  transform: none;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 0.7;
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .feedback-popup-content {
    padding: 1.5rem;
    width: 95%;
  }
  
  .feedback-popup h3 {
    font-size: 1.3rem;
  }
  
  .form-group select,
  .form-group textarea,
  .form-group input {
    padding: 0.7rem;
  }
}
