.crew-wrapper{
  padding:1px 16px;
}
.crew-container{
  max-width:1200px;
  margin:auto;
}
.crew-header{
  text-align:center;
  margin-bottom:40px;
}
.crew-header h1{
  font-size:clamp(28px,4vw,42px);
  margin-bottom:8px;
}

.crew-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(220px,1fr));
  gap:22px;
}

.crew-card{
  background:var(--card);
  border-radius:20px;
  overflow:hidden;
  box-shadow:0 10px 30px rgba(0,0,0,.15);
  text-align:center;
  transition:.35s cubic-bezier(.2,.8,.2,1);
  cursor:pointer;
  position:relative;
}

.crew-card::after{
  content:'';
  position:absolute;
  inset:0;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.15),transparent);
  opacity:0;
  transition:.4s;
}

.crew-card:hover{
  transform:translateY(-10px) scale(1.02);
  box-shadow:0 18px 45px rgba(0,0,0,.25);
}

.crew-card:hover::after{
  opacity:1;
}

.crew-card img{
  width:100%;
  height:260px;
  object-fit:cover;
  transition:.4s ease;
}

.crew-card:hover img{
  transform:scale(1.08);
}


.crew-info{
  padding:18px;
}
.crew-info h3{
  font-size:18px;
  margin-bottom:4px;
}
.crew-info span{
  font-size:14px;
  opacity:.8;
}

.crew-info small{
  display:block;
  font-size:13px;
  opacity:0.7;
  margin-bottom:6px;
}

.divisi-badge{
  display:inline-block;
  margin-top:10px;
  padding:6px 14px;
  border-radius:20px;
  background:#7db39a;
  color:#fff;
  font-size:13px;
}
body.dark .divisi-badge{
  background:#1f8f6b;
}


.modal{
  display:none;
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.6);
  z-index:999;
  align-items:center;
  justify-content:center;
  padding:20px;
}
.modal-content{
  background:var(--card);
  max-width:420px;
  width:100%;
  border-radius:22px;
  padding:26px;
  text-align:center;
  animation:zoom .3s ease;
  position:relative;
}
@keyframes zoom{
  from{transform:scale(.9);opacity:0}
  to{transform:scale(1);opacity:1}
}
.modal-content img{
  width:140px;
  height:140px;
  border-radius:50%;
  object-fit:cover;
  margin-bottom:16px;
}
.modal-content h2{
  margin-bottom:6px;
}
.modal-content .badge{
  display:inline-block;
  padding:6px 16px;
  border-radius:20px;
  background:#7db39a;
  color:#fff;
  margin-top:10px;
}
.close{
  position:absolute;
  right:20px;
  top:14px;
  font-size:26px;
  cursor:pointer;
}
.modal-content{
  text-align:center;
}


.modal-content img{
  margin-bottom:14px;
}


.crew-name{
  margin:6px 0 4px;
  font-size:22px;
}


.crew-jabatan{
  margin:0 0 10px;
  font-size:14px;
  opacity:.75;
}


.crew-divisi{
  margin-top:6px;
}
.ig-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-top:14px;
  padding:10px 18px;
  border-radius:30px;
  background:linear-gradient(45deg,#f58529,#dd2a7b,#8134af,#515bd4);
  color:#fff;
  text-decoration:none;
  font-size:14px;
  transition:.25s;
}

.ig-btn:hover{
  transform:translateY(-3px) scale(1.03);
  box-shadow:0 10px 25px rgba(221,42,123,.45);
}

.ig-icon{
  width:18px;
  height:18px;
  fill:#fff;
}
.crew-filter{
  display:flex;
  justify-content:center;
  margin-bottom: 20px;
  position:relative;
}

.crew-filter select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  padding:14px 55px 14px 28px;
  border-radius:60px;
  border:2px solid #1cc88a;
  background:linear-gradient(135deg,#d4f5e9,#ffffff);
  font-weight:700;
  font-size:15px;
  color:#0f5132;
  cursor:pointer;
  min-width:260px;
  outline:none;
  transition:all .3s ease;
  box-shadow:0 8px 25px rgba(28,200,138,0.15);
}

.crew-filter select:hover{
  transform:translateY(-3px);
  box-shadow:0 12px 30px rgba(28,200,138,0.25);
}

.crew-filter select:focus{
  box-shadow:0 0 0 4px rgba(28,200,138,0.25),
              0 12px 30px rgba(28,200,138,0.2);
}

.crew-filter::after{
  content:"";
  position:absolute;
  right:calc(50% - 110px);
  top:50%;
  width:10px;
  height:10px;
  border-right:3px solid #0f5132;
  border-bottom:3px solid #0f5132;
  transform:translateY(-50%) rotate(45deg);
  pointer-events:none;
  transition:.3s ease;
}

.crew-filter select:focus + .crew-filter::after{
  transform:translateY(-50%) rotate(225deg);
}

.crew-grid{
  transition:opacity .4s ease, transform .4s ease;
}

.crew-grid.fade-out{
  opacity:0;
  transform:translateY(20px);
}

.crew-grid.fade-in{
  opacity:1;
  transform:translateY(0);
}