/* ============================================
   DEPRECATED FEATURE COMPONENT
   A stylish placeholder for removed functionality
   ============================================ */

.deprecated-feature {
  padding: var(--space-16) var(--gutter);
  background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-white) 100%);
  border-top: 1px solid var(--color-gray-200);
  border-bottom: 1px solid var(--color-gray-200);
}

.deprecated-feature__inner {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.deprecated-feature__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px dashed var(--color-gray-300);
  color: var(--color-gray-400);
  margin-bottom: var(--space-6);
  animation: gentle-pulse 3s ease-in-out infinite;
}

@keyframes gentle-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }
}

.deprecated-feature__icon svg {
  width: 32px;
  height: 32px;
}

.deprecated-feature__label {
  display: inline-block;
  font-family: var(--font-mono, monospace);
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  background: rgba(217, 119, 6, 0.1);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.deprecated-feature__title {
  font-family: var(--font-display, Georgia, serif);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-gray-700);
  margin: 0 0 var(--space-3);
  line-height: 1.3;
}

.deprecated-feature__text {
  font-size: var(--text-base);
  color: var(--color-gray-500);
  line-height: 1.7;
  margin: 0;
  font-style: italic;
}

.deprecated-feature__decoration {
  display: flex;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-8);
}

.deprecated-feature__decoration span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-gray-300);
  animation: dot-bounce 1.5s ease-in-out infinite;
}

.deprecated-feature__decoration span:nth-child(2) {
  animation-delay: 0.2s;
}

.deprecated-feature__decoration span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dot-bounce {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(-4px);
    opacity: 1;
  }
}

/* Dark variant for dark sections */
.deprecated-feature--dark {
  background: linear-gradient(135deg, var(--color-gray-900) 0%, var(--color-gray-800) 100%);
  border-color: var(--color-gray-700);
}

.deprecated-feature--dark .deprecated-feature__icon {
  background: var(--color-gray-800);
  border-color: var(--color-gray-600);
  color: var(--color-gray-500);
}

.deprecated-feature--dark .deprecated-feature__title {
  color: var(--color-gray-300);
}

.deprecated-feature--dark .deprecated-feature__text {
  color: var(--color-gray-500);
}

.deprecated-feature--dark .deprecated-feature__decoration span {
  background: var(--color-gray-600);
}

/* Compact variant */
.deprecated-feature--compact {
  padding: var(--space-8) var(--gutter);
}

.deprecated-feature--compact .deprecated-feature__icon {
  width: 60px;
  height: 60px;
  margin-bottom: var(--space-4);
}

.deprecated-feature--compact .deprecated-feature__icon svg {
  width: 24px;
  height: 24px;
}

.deprecated-feature--compact .deprecated-feature__title {
  font-size: var(--text-xl);
}

.deprecated-feature--compact .deprecated-feature__text {
  font-size: var(--text-sm);
}

/* Responsive */
@media (max-width: 768px) {
  .deprecated-feature {
    padding: var(--space-12) var(--gutter);
  }

  .deprecated-feature__title {
    font-size: var(--text-xl);
  }

  .deprecated-feature__icon {
    width: 64px;
    height: 64px;
  }

  .deprecated-feature__icon svg {
    width: 28px;
    height: 28px;
  }
}
