/* ============================================
   UNIQUE STYLES - Not in shared-common.css
   ============================================ */

/* === Hero Section === */
.page-hero {
  padding: 80px 0 50px;
  background: radial-gradient(1200px 600px at 10% 10%, rgba(16,185,129,0.18), transparent 55%),
              radial-gradient(1000px 550px at 90% 15%, rgba(6,95,70,0.16), transparent 50%),
              linear-gradient(135deg, rgba(236,253,245,1) 0%, rgba(255,255,255,1) 55%, rgba(243,244,246,1) 100%);
  border-bottom: 1px solid #e5e7eb;
}

.page-hero h1 {
  font-weight: 800;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.02em;
}

.page-hero p {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* === Breadcrumb === */
.breadcrumb-custom {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.breadcrumb-custom a {
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

.breadcrumb-custom a:hover {
  color: var(--primary-green);
}

/* === Filter Section === */
.filter-section {
  background: white;
  border-bottom: 1px solid #e5e7eb;
  padding: 20px 0;
  position: sticky;
  top: 80px;
  z-index: 100;
}

.filter-bar {
  display: flex;
  gap: 15px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.filter-group label {
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0;
  font-size: 0.9rem;
}

.filter-btn {
  border: 1px solid #e5e7eb;
  background: white;
  border-radius: 999px;
  padding: 6px 14px;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-main);
  transition: var(--transition);
  cursor: pointer;
}

.filter-btn:hover {
  border-color: rgba(16,185,129,0.5);
  background: rgba(236,253,245,0.75);
}

.filter-btn.active {
  background: rgba(16,185,129,0.12);
  border-color: rgba(16,185,129,0.6);
  color: var(--dark-green);
}

/* === Question Card === */
.question-card {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 24px;
  margin-bottom: 20px;
  background: white;
  transition: var(--transition);
  box-shadow: 0 4px 12px -8px rgba(0,0,0,0.1);
}

.question-card:hover {
  border-color: rgba(16,185,129,0.4);
  box-shadow: 0 8px 20px -12px rgba(5,150,105,0.2);
}

.question-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  flex-wrap: wrap;
  gap: 10px;
}

.question-number {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary-green);
}

.question-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.topic-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  background: #dbeafe;
  color: #2563eb;
}

.difficulty-badge {
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.difficulty-easy {
  background: #dcfce7;
  color: #059669;
}

.difficulty-medium {
  background: #fef3c7;
  color: #d97706;
}

.difficulty-hard {
  background: #fecaca;
  color: #dc2626;
}

.question-text {
  font-size: 1.05rem;
  margin-bottom: 20px;
  line-height: 1.8;
}

.question-text strong {
  color: var(--text-main);
}

.question-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn-show-solution {
  background: var(--primary-green);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-size: 0.9rem;
}

.btn-show-solution:hover {
  background: var(--dark-green);
}

.btn-show-solution.showing {
  background: #6b7280;
}

.solution {
  display: none;
  margin-top: 20px;
  padding: 20px;
  background: #f9fafb;
  border-left: 4px solid var(--primary-green);
  border-radius: 8px;
}

.solution.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.solution h6 {
  font-weight: 800;
  color: var(--dark-green);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.solution ol {
  padding-left: 20px;
  margin-bottom: 12px;
}

.solution li {
  margin-bottom: 8px;
  line-height: 1.8;
}

.answer {
  background: white;
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  margin-top: 12px;
}

.answer strong {
  color: var(--primary-green);
}

/* === No Results === */
.no-results {
  text-align: center;
  padding: 60px 20px;
}

/* === Responsive Adjustments === */
@media (max-width: 768px) {
  .page-hero { 
    padding: 60px 0 40px; 
  }
  
  .question-header { 
    flex-direction: column; 
    align-items: flex-start; 
  }
}