/* Scoped styles specifically for the Hall of Fame section */
.vinh-quang-page {
  font-family: 'Be Vietnam Pro', sans-serif;
}

.grid-container { 
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  gap: 35px; 
  max-width: 1200px; 
  margin: 0 auto; 
  padding: 20px 0; 
}

.honor-card { 
  flex: 1 1 280px; 
  max-width: 360px; 
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  text-decoration: none; 
  border-radius: 20px; 
  padding: 40px 20px 30px; 
  text-align: center; 
  box-shadow: 0 15px 35px rgba(0,0,0,0.15); 
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1); 
  position: relative; 
  overflow: hidden; 
  min-height: 260px; 
  border: 2px solid rgba(255, 215, 0, 0.4); 
  cursor: pointer; 
}

.honor-card::before { 
  content: ''; 
  position: absolute; 
  top: 0; left: -100%; 
  width: 50%; height: 100%; 
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%); 
  transform: skewX(-25deg); 
  transition: all 0.7s ease; z-index: 10; 
}

.honor-card:hover { 
  transform: translateY(-12px); 
  box-shadow: 0 25px 50px rgba(0,0,0,0.3); 
  border-color: rgba(255, 215, 0, 1); 
}

.honor-card:hover::before { left: 200%; }
.honor-card:hover .card-logo { transform: scale(1.1) rotate(5deg); }

.card-bac { background: linear-gradient(135deg, #b71c1c 0%, #e53935 100%); box-shadow: 0 15px 30px rgba(183, 28, 28, 0.4); }
.card-doan { background: linear-gradient(135deg, #0d47a1 0%, #1976d2 100%); box-shadow: 0 15px 30px rgba(13, 71, 161, 0.4); }
.card-hoi { background: linear-gradient(135deg, #00838f 0%, #00acc1 100%); box-shadow: 0 15px 30px rgba(0, 131, 143, 0.4); }
.card-giaovien { background: linear-gradient(135deg, #4a148c 0%, #9c27b0 100%); box-shadow: 0 15px 30px rgba(74, 20, 140, 0.4); }

.sunburst { 
  position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; 
  background: repeating-conic-gradient(rgba(255, 255, 255, 0.08) 0deg 15deg, transparent 15deg 30deg); 
  animation: rotateRay 30s linear infinite; z-index: 1; 
}

@keyframes rotateRay { 100% { transform: rotate(360deg); } }

.card-logo { width: 85px; height: 85px; margin-bottom: 20px; position: relative; z-index: 2; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.4)); transition: transform 0.4s ease; }
.card-title { font-size: 1.35rem; font-weight: 800; margin: 0; position: relative; z-index: 2; text-transform: uppercase; line-height: 1.4; background: linear-gradient(to bottom, #fffde7 0%, #ffd700 50%, #ff8f00 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; filter: drop-shadow(1px 2px 3px rgba(0,0,0,0.6)); }
.card-action { display: inline-block; margin-top: 15px; padding: 6px 20px; background: rgba(255, 255, 255, 0.15); border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 30px; color: #fff; font-size: 0.85rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1px; position: relative; z-index: 2; }
.honor-card:hover .card-action { background: #ffd700; color: #b71c1c; border-color: #ffd700; }

.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.7); backdrop-filter: blur(5px); z-index: 1001; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
.modal-content { background-color: #fff; border-radius: 20px; width: 100%; max-width: 1000px; max-height: 90vh; padding: 30px; position: relative; box-shadow: 0 15px 40px rgba(0,0,0,0.5); overflow-y: auto; animation: zoomIn 0.3s ease-out; }
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.close-btn { position: absolute; top: 15px; right: 20px; font-size: 30px; font-weight: bold; color: #aaa; cursor: pointer; }
.close-btn:hover { color: #d32f2f; }
.modal-header { text-align: center; color: #b71c1c; font-size: 1.5rem; font-weight: 800; text-transform: uppercase; margin-bottom: 20px; border-bottom: 2px solid #eee; padding-bottom: 15px; }
 
.image-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; }
.image-gallery img { width: 100%; height: auto; border-radius: 10px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); transition: transform 0.3s; cursor: zoom-in; }
.image-gallery img:hover { transform: scale(1.05); }

.lightbox-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.9); z-index: 9999; align-items: center; justify-content: center; padding: 20px; box-sizing: border-box; }
.lightbox-overlay img { max-width: 100%; max-height: 90vh; border-radius: 10px; box-shadow: 0 0 30px rgba(255,255,255,0.2); animation: zoomIn 0.3s ease; }
.lightbox-close { position: absolute; top: 20px; right: 30px; font-size: 40px; color: white; font-weight: bold; cursor: pointer; transition: 0.2s; }
.lightbox-close:hover { color: #ffd700; transform: scale(1.1); }