/* ========================================
   PASS 2: JURY PAGE VISUAL FINISH
   Modal polish, background visibility, visual refinement
   ======================================== */

/* ========================================
   1. JURY HERO BACKGROUND VISIBILITY
   ======================================== */

.jury-hero {
  position: relative;
  background-attachment: fixed;
}

.jury-hero > div[style*="background-image"] {
  opacity: 1;
}

.jury-hero::before {
  opacity: 0.7;
}

/* ========================================
   2. JURY CARD STYLING REFINEMENT
   ======================================== */

.juror-card {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  border: 1px solid rgba(139, 0, 0, 0.1);
  background: rgba(31, 31, 36, 0.5);
}

.juror-card:hover {
  transform: translateY(-4px);
  border-color: rgba(139, 0, 0, 0.3);
  background: rgba(31, 31, 36, 0.8);
  box-shadow: 0 8px 24px rgba(139, 0, 0, 0.15);
}

.juror-portrait {
  border-color: rgba(139, 0, 0, 0.2);
  background: linear-gradient(135deg, rgba(31, 31, 36, 0.6), rgba(13, 13, 15, 0.8));
}

.juror-name {
  color: #f5f5f5;
  font-weight: 600;
}

.juror-role {
  color: #d4d4d8;
  font-size: 0.875rem;
}

/* ========================================
   3. JURY MODAL STYLING REFINEMENT
   ======================================== */

.jury-modal {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
}

.jury-modal.active {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.jury-modal-content {
  background: linear-gradient(135deg, rgba(31, 31, 36, 0.95), rgba(25, 25, 30, 0.95));
  border: 1px solid rgba(139, 0, 0, 0.25);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  max-height: 85vh;
}

.jury-modal-title {
  color: #f5f5f5;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.jury-modal-role {
  color: #a1a1a8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.875rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(139, 0, 0, 0.1);
  padding-bottom: 1rem;
}

.jury-modal-bio {
  color: #d4d4d8;
  line-height: 1.8;
  font-size: 1rem;
}

/* ========================================
   4. MODAL CLOSE BUTTON
   ======================================== */

.jury-modal-close {
  color: #a1a1a8;
  transition: all 0.2s ease;
}

.jury-modal-close:hover {
  color: #f5f5f5;
  transform: scale(1.1);
}

.jury-modal-close:focus {
  outline: 2px solid #8B0000;
  outline-offset: 2px;
}

/* ========================================
   5. JURY GRID LAYOUT POLISH
   ======================================== */

/* Row 1: 3 columns */
.jury-grid-row-1 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Rows 2-3: 4 columns */
.jury-grid-row-2,
.jury-grid-row-3 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
  .jury-grid-row-1,
  .jury-grid-row-2,
  .jury-grid-row-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .jury-grid-row-1,
  .jury-grid-row-2,
  .jury-grid-row-3 {
    grid-template-columns: 1fr;
  }
}

/* ========================================
   6. JURY SECTION BACKGROUND
   ======================================== */

.jury-section {
  background: linear-gradient(
    to bottom,
    rgba(13, 13, 15, 0.95),
    rgba(13, 13, 15, 0.9) 50%,
    rgba(13, 13, 15, 0.95)
  );
}

/* ========================================
   7. KEYBOARD ACCESSIBILITY
   ======================================== */

.juror-card[tabindex]:focus-visible {
  outline: 2px solid #8B0000;
  outline-offset: 2px;
}

/* ========================================
   8. SCROLL INDICATOR REMOVAL
   ======================================== */

/* Scroll indicator already commented in HTML */
.scroll-indicator {
  display: none;
}

/* ========================================
   9. LABEL REMOVAL (if any exist)
   ======================================== */

.lead-label,
.supporting-label,
[class*="lead"],
[class*="supporting"] {
  display: none;
}
