/**
 * =========================================
 * SEO QUOTE PAGE STYLES
 * =========================================
 *
 * Dark theme card design for individual quote pages
 * Optimized for SEO and user engagement
 *
 * Uses design tokens from /styles/main.css
 */

/* ============================================
 * LAYOUT - Page Wrapper
 * ============================================ */

.seo-quote-wrapper {
  width: 100%;
  max-width: var(--max-width-7xl, 80rem);
  margin: 0 auto;
  padding: var(--spacing-container-mobile, 1rem);
  padding-bottom: 6rem;
  min-height: 100vh;
}

@media (min-width: 768px) {
  .seo-quote-wrapper {
    padding: var(--spacing-container-tablet, 1.5rem);
    padding-bottom: 6rem;
  }
}

@media (min-width: 1024px) {
  .seo-quote-wrapper {
    padding: var(--spacing-container-desktop, 2rem);
    padding-bottom: 6rem;
  }
}

/* ============================================
 * MAIN CONTAINER
 * ============================================ */

.seo-quote-container {
  max-width: 800px;
  margin: 1rem auto;
  animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
 * BREADCRUMB
 * ============================================ */

.seo-quote-wrapper .breadcrumb {
  margin-bottom: 1.5rem;
}

.seo-quote-wrapper .breadcrumb-list {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
  flex-wrap: wrap;
  gap: 0.25rem;
}

.seo-quote-wrapper .breadcrumb-item a {
  color: #f59e0b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.seo-quote-wrapper .breadcrumb-item a:hover {
  color: #6c63ff;
  text-decoration: underline;
}

.seo-quote-wrapper .breadcrumb-item.active {
  color: rgba(255, 255, 255, 0.6);
}

.seo-quote-wrapper .breadcrumb-separator {
  margin: 0 0.3rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ============================================
 * QUOTE CARD - Main Component
 * ============================================ */

.quote-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.4),
    0 0 40px rgba(245, 158, 11, 0.1);
  padding: clamp(1.5rem, 5vw, 2.5rem);
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

/* Decorative gradient overlay - amber/gold for quotes */
.quote-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
  background-size: 200% 100%;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Card Header */
.quote-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.quote-label {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.quote-id {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
  font-family: monospace;
}

/* Quote Text */
.quote-text {
  font-size: clamp(1.3rem, 4vw, 1.8rem);
  font-weight: 500;
  color: #fff;
  line-height: 1;
  margin: 0 0 1.5rem 0;
  font-style: italic;
  text-align: center;
  padding: 1rem 0;
}

.quote-mark {
  color: #f59e0b;
  font-size: 2em;
  font-family: Georgia, serif;
  vertical-align: -0.2em;
  opacity: 0.7;
}

/* ============================================
 * QUOTE AUTHOR SECTION
 * ============================================ */

.quote-author-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.author-dash {
  color: #f59e0b;
  font-size: 1.2rem;
}

.quote-author {
  font-size: clamp(1.1rem, 3vw, 1.3rem);
  font-weight: 600;
  color: #f59e0b;
  font-style: normal;
}

/* ============================================
 * AI DESCRIPTION
 * ============================================ */

.seo-quote-wrapper .ai-description {
  background: rgba(245, 158, 11, 0.1);
  border-left: 3px solid #f59e0b;
  border-radius: 0 12px 12px 0;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.seo-quote-wrapper .ai-description p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0;
}

/* ============================================
 * QUOTE META - Submitter Info
 * ============================================ */

.quote-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.submitter-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.seo-quote-wrapper .meta-label {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

.submitter-name {
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
}

.seo-quote-wrapper .author-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ============================================
 * CTA SECTION
 * ============================================ */

.seo-quote-wrapper .cta-section {
  background: linear-gradient(145deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.1));
  border: 1px solid rgba(245, 158, 11, 0.3);
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  margin-bottom: 2rem;
}

.seo-quote-wrapper .cta-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 0.5rem 0;
}

.seo-quote-wrapper .cta-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1.1rem;
  margin: 0 0 2rem 0;
}

.seo-quote-wrapper .cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.seo-quote-wrapper .login-link {
  display: inline-block;
  color: #f59e0b;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.seo-quote-wrapper .login-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* ============================================
 * INFO SECTION
 * ============================================ */

.seo-quote-wrapper .info-section {
  margin-bottom: 2rem;
}

.seo-quote-wrapper .info-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 1.5rem;
}

.seo-quote-wrapper .info-card h3 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0 0 1rem 0;
}

.seo-quote-wrapper .info-card p {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin: 0 0 1rem 0;
}

.seo-quote-wrapper .feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.seo-quote-wrapper .feature-list li {
  color: #f59e0b;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.seo-quote-wrapper .feature-list li::before {
  content: '✓';
  font-weight: bold;
}

/* ============================================
 * RESPONSIVE ADJUSTMENTS
 * ============================================ */

@media (max-width: 640px) {
  .quote-card {
    padding: 1.25rem;
    border-radius: 16px;
  }

  .quote-text {
    font-size: 1.2rem;
  }

  .seo-quote-wrapper .cta-section {
    padding: 1.5rem;
  }

  .seo-quote-wrapper .cta-buttons {
    flex-direction: column;
  }

  .seo-quote-wrapper .cta-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .seo-quote-wrapper .feature-list {
    flex-direction: column;
    gap: 0.5rem;
  }
}

/* ============================================
 * DARK MODE ENHANCEMENTS
 * ============================================ */

@media (prefers-color-scheme: dark) {
  .quote-card {
    background: linear-gradient(145deg, rgba(20, 30, 48, 0.98), rgba(10, 15, 25, 0.99));
  }
}
